Re: GtkSwitch =?UTF-8?B?4oCUIGxhY2sgb2Ygc3BlY2lmaWMgc2lnbmFs?=



Le 05/03/2011 16:36, Tadej BorovÅak a Ãcrit :
Hello.

I checked.   notify::active is not mentioned anywhere in any of those!     (I used my browser's find  -  
can you find it mentioned somewhere?)
Cheers,   John Lumby                                           

Those two links were just examples that demonstrate how signal handler's
prototype can be obtained. Notify signal is part of GObject.

When searching for a signals that are relevant to particula widget, you
start by examining signals listed in widget's API docs, after those
signals you inspect signals of it's parent, ... (API docs for each
widget have a section named "Object Hierarchy" that lists relationships
of objects).
And the syntax of signals is "signal-name::detail" [1], with the
"::detail" part being optional (and rarely used, the only common use is
with GObjet's notify signal [2]).


Cheers,
Colomban

[1] http://library.gnome.org/devel/gobject/stable/signal.html#signal-detail
[2]
http://library.gnome.org/devel/gobject/stable/gobject-The-Base-Object-Type.html#GObject-notify



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