简体   繁体   中英

What parameters can I pass in the tkraise() function?

I am curious as to what parameters I can pass into tkraise() but I can't find any reference to it in the official documentation as seen in pic provided.

没结果

Just some code to show you what I mean:

#Define Frames
loginFrame=tk.Frame(root)
registerFrame=tk.Frame(root)
frameList=[loginFrame,registerFrame]
#Configure all Frames
for frame in frameList:
    frame.grid(row=0,column=0, sticky='news')
    frame.configure(bg='white')
#Frame Raise Function
def raiseframe(frame):
    frame.tkraise()

Perhaps their are some transition effects etc? Just curious.

tkraise()

Raise this widget in the stacking order.

Used to stack the frames on top of each other

syntax:

tkraise(aboveThis=None)

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