tkinter - Change menubar location

后端 未结 1 785
南方客
南方客 2021-01-29 02:02

I have a program thats like a desktop enviroment with educational games and I was wondering how to put the menubar on the bottom of the window.

Thanks In Advance!

相关标签:
1条回答
  • 2021-01-29 02:38

    You can't, if you're talking about the native menubar you get when you set the menu attribute of the root window.

    You can create your own menubar that behaves a little bit like a menubar by using a frame and one or more menubuttons, and place that at the bottom.

    0 讨论(0)
提交回复
热议问题