Re: GtkWindow popup signal

2002-08-13 Thread Sven Neumann
Hi, John Skiff [EMAIL PROTECTED] writes: I'm very new to GTK+. I've been searching for a signal that a toplevel window has just been displayed. Is there any way to be notified when a window is popped up? you are looking for map_event. Salut, Sven

button label problem

2002-08-13 Thread vyadav
hi all . how can we change the label of button after clicking it ... i mean..i have set one label for the buttton..and i want to change it when i click on the button... plz help... thanx...

Re: button label problem

2002-08-13 Thread John . Cupitt
[EMAIL PROTECTED] wrote: how can we change the label of button after clicking it ... i mean..i have set one label for the buttton..and i want to change it when i click on the button... http://developer.gnome.org/doc/API/2.0/gtk/gtklabel.html#gtk-label-set-text

Re: button label problem

2002-08-13 Thread Olexiy Avramchenko
[EMAIL PROTECTED] wrote: hi all . how can we change the label of button after clicking it ... i mean..i have set one label for the buttton..and i want to change it when i click on the button... plz help... thanx... just do smth like this: --- void

Re: button label problem

2002-08-13 Thread vyadav
hi.. i did like it..but i got undefined reference of gtk_button_set_label then what should i do thanx...

New to gtk theme engine development

2002-08-13 Thread Rosczak, Jan
I'm having trouble testing my theme engine for gtk 2.0. I thought I could install my engine, start gnome-theme-properties and check what happens. This worked fine, but then I changed something in my code, installed the engine again and fired up gnome-theme-properties. The changes I had made

Re: GtkWindow popup signal

2002-08-13 Thread John Skiff
Sven Neumann wrote: you are looking for map_event. Salut, Sven Daniel Carrera wrote: Try expose_event and visibility_notify_event. I've never used them, but the names sound about right. You might also be interested in focus_in_event and focus_out_event. I hope this helps,

Re: button label problem

2002-08-13 Thread Olexiy Avramchenko
[EMAIL PROTECTED] wrote: hi.. i did like it..but i got undefined reference of gtk_button_set_label then what should i do thanx... Oops, you're using gtk+-1.2, the gtk_button_set_label function is from gtk+-2.0 library. Try this: ---

gdk_pixbuf_copy_area alpha channel

2002-08-13 Thread Kenneth Cheung
Hi, Does gdk_pixbuf_copy_area support alpha channel? I am seeing alpha pixels being copied to final image as well. Any pointers are much appreciated =) Kenneth __ Post your ad for free now! http://personals.yahoo.ca

Re: Crashing g_string_sprintf when printing invalid floats. gtk+-1.2.9 on Linux

2002-08-13 Thread Eric M. Monsler
Allin Cottrell wrote: Isn't that undefined behavior, trying to access the wrong member of a union? Yes. I am using that to force a bad floating point value. Here (gtk 2.0.6) it prints 0.00, but I don't see that it's obliged to. I feel it should not crash on any input. I have a

gtk 1.2.10 install problem

2002-08-13 Thread Shrisha Rao
When I try to install gtk 1.2.10 on Mandrake-Linux 8.0 (kernel 2.4.3); this happens during ./configure: [...] checking for X... no configure: error: *** X libraries or include files not found. Check 'config.log' for *** more details. `config.log' has the following rather un-enlightening

Re: gtk 1.2.10 install problem

2002-08-13 Thread Lars Clausen
On Tue, 13 Aug 2002, Shrisha Rao wrote: When I try to install gtk 1.2.10 on Mandrake-Linux 8.0 (kernel 2.4.3); this happens during ./configure: [...] checking for X... no configure: error: *** X libraries or include files not found. Check 'config.log' for *** more details. You're

Re: gtk 1.2.10 install problem

2002-08-13 Thread Shrisha Rao
On Tue, 13 Aug 2002, Lars Clausen wrote: When I try to install gtk 1.2.10 on Mandrake-Linux 8.0 (kernel 2.4.3); this happens during ./configure: [...] checking for X... no configure: error: *** X libraries or include files not found. Check 'config.log' for *** more details.

Re: button label problem

2002-08-13 Thread vyadav
hi... thanx for ur help i want to ask one more thing..if i changed the label by clicking once..how can i change it again on next click... thanx..in advance...

Re: button label problem

2002-08-13 Thread Daniel Carrera
I'm not sure what you want. Do you want the button to change back and forth between two labels each time you click? Daniel On Wed, 14 Aug 2002 [EMAIL PROTECTED] wrote: hi... thanx for ur help i want to ask one more thing..if i changed the label by clicking

Re: button label problem

2002-08-13 Thread vyadav
hi .. yeah exactly i want it can u help me.. thanx..

Re: button label problem

2002-08-13 Thread Daniel Carrera
Here is one idea. Use a global variable to keep track of which label you have on, and keep the label global as well so you can change it. 1.- gtk_signal_connect to connect the clicked signal to a callback. 2.- The callback receives the button widget as an argument. 3.- gtk_label_set_text I