Re: gtk_toggle_button_get_active() error in clicked event?

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

 



Hi.

I quickly glimpsed at your code and now I see where you're having
troubles. When you click unselected radio button, your
GtkButton::clicked signal handler is called twice: first time signal
is emitted in order to deselect currently active radio button and
second time signal is emitted to select new radio button.

You need to keep in mind that GtkButton::clicked signal is an action
signal, which means that it can be emitted by application without
button being actually pressed.

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro@xxxxxxxxx
tadej.borovsak@xxxxxxxxx
_______________________________________________
gtk-list mailing list
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