[pygtk] Can you get signal_autoconnect to warn about missing handlers?
skip at pobox.com
skip at pobox.com
Tue Oct 7 04:26:29 WST 2008
>> Or is it possible to get a list of all the handlers defined for the
>> object in the Glade file? With that information I can poke around
>> myself.
Christian> If you switch to GtkBuilder and latest pygtk (you need a svn
Christian> snapshot >= revision 3012), you should get warnings about
Christian> missing handlers.
Thanks. I'll check it out. Looks like we need to upgrade our Gtk
installation a bit.
Christian> To extract handler names from glade files, you could use
Christian> e.g. sed: sed -n -e 's/^.*<signal.*handler="\(.*\)".*\/>.*$/\1/pg' my-ui.glade
That won't help me because I actually store multiple objects in one glade
file and call wtree.get_widget() multiple times.
Skip
More information about the pygtk
mailing list