Red Hat 9, Python and Glade - a mixure not working?

David M. Cook davecook at
Sat Jul 5 23:03:05 CEST 2003

In article <c7427279.0307050724.147536d1 at>, Hans Deragon

> def on_button4_clicked(source=None, event=None):

You should exit the mainloop here:


>   sys.exit();

Should be

xml ='')

> xml.autoconnect({
>   'on_button4_clicked': on_button4_clicked
> })

Or you can just use


See in the /usr/share/doc/pygtk2-1.99.14/examples/glade/.

For more info on pygtk see

Dave Cook

More information about the Python-list mailing list