Re: [Vala] Problem using Glade and Vala



Hi,

you must connect to the "clicked" signal, not to the "activate"
signal. From the documentation:

"The ::activate signal on GtkButton is an action signal and emitting
it causes the button to animate press then release. Applications
should never connect to this signal, but use the "clicked" signal."

http://library.gnome.org/devel/gtk/stable/GtkButton.html#GtkButton-activate


Best regards,

Frederik



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