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

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to