glade additions; quit button

This commit is contained in:
Jon Dowland 2008-01-29 21:31:19 +00:00
parent 888de4866e
commit 3f2adfa7ed
2 changed files with 168 additions and 5 deletions

View file

@ -71,6 +71,7 @@ class HellowWorldGTK:
))
self.wTree.get_widget("window1").connect("destroy", gtk.main_quit)
self.wTree.get_widget("quit_menu_item").connect("activate", gtk.main_quit)
if __name__ == "__main__":
hwg = HellowWorldGTK()