hello:
for creating a colorful button,I do a testing code,however,that not working?
why and how to do?anyone could help me?
#include
#include
GdkColor cyan = {0,0x,0x,0x};
int main(int argc,char *argv[])
{
GtkWidget *window;
GttkWidget *button1;
GtkWidget *button2;
GtkWidget
Hi,
¶À¼y Kason Huang <[EMAIL PROTECTED]> writes:
> hello:
> for creating a colorful button,I do a testing code,however,that not working?
> why and how to do?anyone could help me?
>
> #include
> #include
>
> GdkColor cyan = {0,0x,0x,0x};
you can't allocate a color like this. I'd su
Hi all,
I have this program which monitors incoming connections and updates some
fields in the GUI. The problem is that several threads can access the GUI at
once. I have tried it out and the GUI seems to corrupt itself most of the
time (it can't draw properly). Any ideas on how I can solve
how to set a button's background?Hello,
I'm using this method to paint the background of a CList cell in a different
color, maybe you can apply that to your case :
GdkColor xColor;
GdkColormap *pxColorMap;
/* Get the colormap from the GtkCList object */
pxColorMap = gtk_widget_get_col
Hello :-)
This is not working because "&cyan" means that you give the address of the
variable "cyan" which then should be declare somewhere.
gdk_windows_set_background require as a second argument a pointer to a
GdkColor structure. To allocate this structure you need to declare a
GdkColor object.
Hellenthal wrote:
> I'm using wxGTK-2.2.9 and gtk+-1.2.10 in a project over here and have a
logging
> window for which wxWindows uses the GtkText widget. Unfortunatly it has no
> horizontal scrollbar. I can adapt the wxWindows code to show a horizontal
> scrollbar but it doesn't work.
GtkText
Chip Rodden wrote:
> I'm trying to modify a gtk program which uses a file selection
> widget.(gtk_file_selection_new) I have maybe 3 hours of experience
> looking at gtk code so I'm fairly clueless. What I am trying to do is
> to limit the user to just one directory where he can open from or
Hi all!
> I know what is gtk,but my means
> what is library for play MP3 in
> Linux or C programming!
Why don't you try mpg123 or something similar. You might start it in another process.
There is also libmpeg and liblame but I dont know whether they play mp3 files.
> Thanks,but i don
Owen Taylor <[EMAIL PROTECTED]> writes:
> Mike Fabian <[EMAIL PROTECTED]> writes:
>
>> with recent CVS versions of gtk-1.2.10, programs linked against
>> gtk didn't work in zh_TW.Big5 locale anymore.
>
> There are no CVS versions of GTK+-1.2.10 :-). There is a CVS branch
> that we'll use when we d
On Sun, 20 Jan 2002 23:58:23 -0500 (EST)
Jamie Guinan <[EMAIL PROTECTED]> wrote:
>
> Here's my take,
>
> This creates a *new* GtkButton object. The previous value of "button" is
> lost now, but you must have attached the "first" button to a vbox or
> something when you said "...", so Gtk sti
Hi!
I tried gtk-demo from the RedHat rawhide's gtk2-1.3.12.90.
I found it quite nice and stable for most things.
However, the "Editable Cells" demo crashes when I do the
following: select one of the cells is the last row and
press the "remove item" button.
The selected cell remains on the screen
unsubscribe
-Message d'origine-
De?: Jean-Christophe Berthon [mailto:[EMAIL PROTECTED]]
Envoye?: lundi 21 janvier 2002 12:01
A?: 6@base[GTK_STATE_NORMAL] = xColor;
pxUndetStyle->base[GTK_STATE_ACTIVE] = xColor;
pxUndetStyle->base[GTK_STATE_PRELIGHT] = xColor;
pxUndetStyle->base[GTK_STA
Hi,
Read http://pobox.com/~hp/gtk-colors.html
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Boszormenyi Zoltan <[EMAIL PROTECTED]> writes:
>
> I tried gtk-demo from the RedHat rawhide's gtk2-1.3.12.90.
> I found it quite nice and stable for most things.
> However, the "Editable Cells" demo crashes when I do the
> following: select one of the cells is the last row and
> press the "remov
I would like to have a pop up menu appear when one right clicks on a
GtrTreeView item. I am using gtk+-1.3.12. Does someone have some sample
code that implements this task, or could someone point me in the right
direction of implementing this feature.
Thank you very much.
--
Thomas Amsler
[E
Either I'm doing something wrong, or there is a memory leak within
pango_layout_set_markup. I have a PangoLayout that I am reusing to
render text to a drawable. I'm just calling pango_layout_set_markup to
change the text. It gets called quite a bit, and I noticed my program
growing. I've isola
Hi Olaf
Thanks for your help.
But if i want, when user clicked on button
play a Little sound like or ...,(not Beep)
how can do this?
Is it possible play .wav file?
Thanks
Vahid Zahiri
__
Do You Yahoo!?
Send FREE video email
> Thanks for your help.
> But if i want, when user clicked on button
> play a Little sound like or ...,(not Beep)
> how can do this?
>
> Is it possible play .wav file?
this is not the correct list to ask these questions. GTK is a toolkit
for constructing the visual portions of graphical user in
Jason Tackaberry <[EMAIL PROTECTED]> writes:
> If this is a genuine bug, please let me know and I will file it in
> bugzilla. If something does need to be freed, the API documentation
> should be updated. :)
>
I just fixed it in CVS, thanks for the nice test case. (Simple
compilable test
Hi Sir :)
then i will ask ONLY & ONLY GTK Questions!
Sorry for my last Question.
Thanks
Vahid Zahiri
Isfahan University of Technology Linux Lab.
--- Paul Davis <[EMAIL PROTECTED]> wrote:
> > Thanks for your help.
> > But if i want, when user clicked on button
> > play a Little sound l
Hi
When i make a application,
how can set icon for my window?
Thanks
Vahid Zahiri
__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
___
gtk-list mailing
A conceptual misunderstanding here is that the queue of GdkEvents
makes up the entire GTK+ main loop. The main loop is much more general
than that, it represents any kind of task, including tasks done at
certain intervals (timeouts) and tasks done when there are no other
tasks
hi,hello:
Thanks for your helps.
now i want to do:my condition is being no mouse,the only terminal controlling tool
is the keyboard.(i am doing a STB project.). when a button get focus(with keyboard) ,
setting the button's background to be a color. then when the button lost
focus,setting t
Richard Stallman <[EMAIL PROTECTED]> writes:
>
> It might be important to explain this more explicitly in the
> documentation. If there are already solutions to some of the
> problems Jan encountered, I think they should be documented too.
> Can you do that?
>
Sure, I do my best to work on GTK
24 matches
Mail list logo