menubar = Menu(self) # create a pulldown menu, and add it to the menu bar filemenu = Menu(menubar, tearoff=0) filemenu.add_separator() filemenu.add_command(label="Exit", command=root.quit) menubar.add_cascade(label="File", menu=filemenu) # create more pulldown menus editmenu = Menu(menubar, tearoff=1) editmenu.add_command(label="Menu style options", command=lambda: showitem(menu_options)) editmenu.add_command(label="Thumb style options", command=lambda: showitem(thumb_options)) #editmenu.add_command(label="Thumb style options", command="") editmenu.add_command(label="Font options", command=lambda: showitem(font_options)) editmenu.add_command(label="Audio options", command=lambda: showitem(audio_options)) editmenu.add_command(label="Dvdauthor options", command=lambda: showitem(author_options)) menubar.add_cascade(label="Advanced Options", menu=editmenu) helpmenu = Menu(menubar, tearoff=0) helpmenu.add_command(label="Run todisc now !", command=self.runCommand) menubar.add_cascade(label="Run", menu=helpmenu) root.config(menu=menubar) def showitem(widget_list): """set vars for each menu item command to open AdvandcedFrame""" self.fraAdvanced = AdvancedFrame(self, widget_list) self.showAdvanced()