[pygtk] gtk.glade missing a get_custom_handler function

Yaakov Nemoy loupgaroublond at gmail.com
Fri Jun 16 17:06:49 WST 2006


Hello list,

I have a number of objects each with their own GladeXML data member.
They generate each other recursively, so it's possible that when
libglade is not done processing one GladeXML object, it already has to
start processing another one.  Each object has their own set of
callbacks, and a custom handler that knows where to find them.  Each
set of callbacks is instance specific, and really needs to be set per
GladeXML object, per instance.

Problem is, as best I can figure out, the gtk.glade.set_custom_handler
is global, and since there is no gtk.glade.get_custom_handler, there
is no way I can change it per object, and then set it back.  Are there
any workarounds to this?  Should this be a bug report?

Yaakov


More information about the pygtk mailing list