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



On Fri, Mar 04, 2011 at 12:45:18PM -0500, 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".

I've never used GtkSwitch but from a quick glance at the docs I suppose
you have to connect to "notify::active", i.e. watch changes of the
property "active".

Yeti




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