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
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...
[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
[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
hi..
i did like it..but i got undefined reference of gtk_button_set_label
then what should i do
thanx...
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
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,
[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:
---
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
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
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
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
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.
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...
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
hi ..
yeah exactly i want it
can u help me..
thanx..
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
17 matches
Mail list logo