Re: Extending PyGTK widgets with Glade

2012-01-20 Thread Adam Tauno Williams
Quoting Richard Carlson : I'm working on a program using PyGTK and Glade. I create a glade XML file using Glade Designer and then load widgets like this: class MyDialog: def __init__(self): self.dialog = gtk.glade.XML(self.GLADEFILE).get_widget ("dialog.xml") I think it would be bett

Extending PyGTK widgets with Glade

2012-01-20 Thread Richard Carlson
I'm working on a program using PyGTK and Glade. I create a glade XML file using Glade Designer and then load widgets like this: class MyDialog: def __init__(self): self.dialog = gtk.glade.XML(self.GLADEFILE).get_widget ("dialog.xml") I think it would be better if I extended the Dialo