--- a/example.py Thu Feb 17 23:35:05 2011 +0100
+++ b/example.py Tue Mar 15 17:27:09 2011 +0100
@@ -15,11 +15,15 @@
menubar = MenuBar()
self.top.add(menubar)
- win = Window()
- self.top.add(win)
- win.x = 10
- win.y = 5
- win.allowlayout = False
+ helpwin = Window()
+ self.top.add(helpwin)
+ helpwin.x = 10
+ helpwin.y = 5
+ helpwin.allowlayout = False
+ helpwin.hidden = True
+ helpwin.title = 'About'
+ #helpwin.closebutton = False
+ #helpwin.resizable = False
filemenu = Menu([
@@ -33,7 +37,7 @@
self.top.add(filemenu)
editmenu = Menu([('Copy', None), ('Paste', None)])
- helpmenu = Menu([('About', None)])
+ helpmenu = Menu([('About', helpwin)])
self.top.add(editmenu)
self.top.add(helpmenu)