简体   繁体   中英

How to place a panedWindow behind another panedWindow tkinter

The title basically says it. Right now I have the two panedWindows attached to the root window. I would like the windows to either lift() or lower() one panedWindow on top of the other when a button is pressed rather than the panedWindows being stacked on top of each other in the same window.

I also understand there may be a better way of implementing this sort of menu feature. If you know a better way, that would be great too.

I used .grid(row = 0) on both panedWindows. Then I called lift on the window I wanted to raise up and it worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM