Re: gtk_toggle_button_get_active() error in clicked event?





On Mon, May 10, 2010 at 1:24 PM, Kurucz István <kurucz istvan gmail com> wrote:
Hello

On Mon, May 10, 2010 at 4:38 PM, 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.

I found a good signal: "button-press-event"
http://library.gnome.org/devel/gtk/stable/GtkWidget.html#GtkWidget-button-press-event

keep in mind that "do something on press" and "do something on release" can have entirely different feelings for the user.


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