Re: Glade-2's "Object" field
- From: Tristan Van Berkom <tvb gnome org>
- To: Jim George <jimgeorge gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Glade-2's "Object" field
- Date: Sun, 12 Nov 2006 14:44:50 -0500
Jim George wrote:
What is the function of Glade-2's "Object" field in the signals tab in
the properties browser? I initially thought if you put in a variable
name here, it's used in the user parameter passed to the signal
handler. I'm not sure, though, if I need some other magic incantation
on gcc's command line (like -export-dynamic) to get libglade to
recognize the variable.
Object is the name of the object in the glade file (i.e. every
widget in glade has a 'name' property).
The really confusing thing, is that using the 'object' field automatically
swaps the signal (i.e. 'object' now becomes the first paramater and
the original emitter comes last in the 'user_data' argument slot).
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]