Re: gtk_toggle_button_set_active()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



riboaz@xxxxxxxxx wrote:
Yesterday I wrote about how I was suspecting problems related to hiding
and unhiding widgets and trying to use gtk_toggle_button_set_active(). Today, I have a deeper understanding.

What exactly is the problem ?

If you call gtk_toggle_button_set_active(button ,TRUE) twice then only
the first call should work, if OTOH you call once with TRUE and another
time with FALSE then it should respond both times.

Is there a problem with only one button or is the radio group not responding
properly ? (i.e. becomming deactivated when another one becomes active)

Also, a typical problem when dealing with toggle buttons is feedback, always
be sure to be carefull when calling gtk_toggle_button_set_active() from a
"clicked" callback on a radio button.

Cheers,
                               -Tristan
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux