[Gtk-sharp-list] glade autoconnect strangeness
Fri, 14 Jan 2005 03:16:49 -0800
I noticed some strange behavior with Glade# (libglade-cil , version
If I wire up widget references with .Autoconnect from more than one
top-level widget to a single class, the second instance seems to clobber
the mappings of the previous one. (eg: the old references are set to
"null" before the first .Autoconnect and after the second, but not after
Am I imagining things? Or is this how it is supposed to work?
A snippit of my broken code follows:
//my [Glade.Widget] instanceVar is null here.
Glade.XML gxml =
new Glade.XML (null, "cashflow.glade", "winMain", null);
//my [Glade.Widget] instanceVar is NOT null here.
//FIXME: glade clobbers old autoconnected entries on the 2nd pass...
//load winDateRange (a popup window on winMain)
//gxml = new Glade.XML (null, "cashflow.glade", "winDateRange", null);
//my [Glade.Widget] instanceVar is null here, if not used by
Adam Lydick <firstname.lastname@example.org>