Re: GtkSwitch =?utf-8?B?4oCUIGxhYw==?= =?utf-8?Q?k?= of specific signal



On 2011-03-04 at 12:45, John Lumby wrote:
 
I have been playing with a small application using the new (in gtk3)
GtkSwitch ("light switch" style) widget. The reference manual does not
mention any signal specific to this widget, and I think it would be
nice to have one. I want a signal for when the state is toggled, e.g.
"switched".

you can use "notify::active".

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi



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