Re: gtk_toggle_button_get_active() error in clicked event?





On Mon, May 10, 2010 at 10:38 AM, Tadej Borovšak <tadeboro gmail com> wrote:

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.

true, and terrible, terrible design :)

still, the same basic issue exists even if you use the correct signal, "toggled".  one button will have that signal emitted because its now become active, and another will have it emitted because its now become inactive.

--p



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