summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Demo/tkinter/guido/newmenubardemo.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Demo/tkinter/guido/newmenubardemo.py b/Demo/tkinter/guido/newmenubardemo.py
index 7e2d13a..cafbf63 100644
--- a/Demo/tkinter/guido/newmenubardemo.py
+++ b/Demo/tkinter/guido/newmenubardemo.py
@@ -25,8 +25,13 @@ class App:
self.editmenu.add_command(label="Copy")
self.editmenu.add_command(label="Paste")
+ self.helpmenu = Menu(self.menubar, name='help')
+
+ self.helpmenu.add_command(label="About...")
+
self.menubar.add_cascade(label="File", menu=self.filemenu)
self.menubar.add_cascade(label="Edit", menu=self.editmenu)
+ self.menubar.add_cascade(label="Help", menu=self.helpmenu)
self.top = Toplevel(menu=self.menubar)