I'm using Python 2.2.2, PyGTK 1.99.16, GLADE 1.1.3, and libglade 2.0.1 on Linux.

This question appears a couple of times in the archives with no satisfactory answer: how do I use a GLADE custom widget?

I have a two-element gtk.HBox in a gtk.Window. On the left I've put a custom widget with a creation function make_vte that returns a vte.Terminal (really cool widget, by the way). On the right I've put a custom widget with a creation function make_scroll that returns a gtk.VScrollBar. When I run the script, I get the following error:

libglade-WARNING **: could not find widget creation function

The signal_autoconnect() method works with locals(), but it seems I need to do something else to hook up the custom widget creation function.

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to