Jeffrey Finkelstein wrote: > from gtk import Window, HBox, WINDOW_TOPLEVEL, main > > class FooBox(HBox): > def __init__(self): pass > > window = Window(WINDOW_TOPLEVEL) > window.add(FooBox()) > window.show_all() > main() >
You need to init the HBox in the __init__ method: HBox.__init__(self) -- Jeffrey Barish _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/