Re: GtkSwitch =?utf-8?B?4oCUIGxhYw==?= =?utf-8?Q?k?= of specific signal
- From: David NeÄas <yeti physics muni cz>
- To: John Lumby <johnlumby hotmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkSwitch â lack of specific signal
- Date: Fri, 4 Mar 2011 19:44:04 +0100
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]