and so on in tkinterthere are two kinds of menus you can add to your scriptstoplevel window menus and frame-based menus the former option is better suited to whole windowsbut the latter also works as nested component top-level window menus in all recent python releases (using tk and later)you can associate horizontal menu bar with top-level window object ( tk or toplevelon windows and unix ( windows)this menu bar is displayed along the top of the windowon some macintosh machinesthis menu replaces the one shown at the top of the screen when the window is selected in other wordswindow menus look like you would expect on whatever underlying platform your script runs upon this scheme is based on building trees of menu widget objects simply associate one toplevel menu with the windowadd other pull-down menu objects as cascades of the toplevel menuand add entries to each of the pull-down objects menus are cross-linked with the next higher levelby using parent widget arguments and the menu widget' add_cascade method it works like this create topmost menu as the child of the window widget and configure the window' menu attribute to be the new menu for each pull-down objectmake new menu as the child of the topmost menu and add the child as cascade of the topmost menu using add_cascade add menu selections to each pull-down menu from step using the command options of add_command to register selection callback handlers add cascading submenu by making new menu as the child of the menu the cascade extends and using add_cascade to link the parent to the child the end result is tree of menu widgets with associated command callback handlers this is probably simpler in code than in wordsthough example - makes main menu with two pull downsfile and editthe edit pull down in turn has nested submenu of its own example - pp \gui\tour\menu_win py tk style top-level window menus from tkinter import from tkinter messagebox import get widget classes get standard dialogs def notdone()showerror('not implemented''not yet available'def makemenu(win)top menu(winwin config(menu=top tkinter tourpart win=top-level window set its menu option