making multiple menu's in tkinter
问题 Tried searching for this and could not find a suitable answer. I know we can do the following to create a menu to the root window in tkinter menu = Menu(root) some_menu = Menu(menu, ....) some_menu.add_command(label = some text, command = some command) .... menu.add_cascade(label = some title, menu = some_menu) root.config(menu = menu) now let's say that we passed some_menu to the root config instead then it would display the cascade menu's options / children horizontally across the top bar