Does anybody know how to access the object attribute in a .glade file, i have tried googling and spent hours reading the manual, without much success. I would like to access the attribute to make my application dynamically load a class at the time the signal is sent, rather than have it all sitting in memory.
An extract from my glade file:
<signal name="clicked" handler="on_toolbarNew_clicked" object="myobject" last_modification_time="Sat, 12 May 2007 02:45:00 GMT"/>
How I envision its usage:
Button clicked -> signal caught by handler -> handler dynamically instanciates "myobject" -> "myobject" clicked method called -> handler destroys "myobject" instance
At the moment it seems from my research that only the name, and handler attributes are passed along when the button is clicked even though the object is a standard attribute from the glade file, and can be found in the signals panel of the glade "properties" window.
Thanks in advance for any help.