tk/wm stackorder

(tk/wm 'stackorder #<widget> ?isabove|isbelow #<widget>?)
The stackorder command returns a list of toplevel windows in stacking order, from lowest to highest. When a single toplevel #<widget> is passed, the returned list recursively includes all of the #<widget>'s children that are toplevels. Only those toplevels that are currently mapped to the screen are returned. The stackorder command can also be used to determine if one toplevel is positioned above or below a second toplevel. When two window arguments separated by either isabove or isbelow are passed, a boolean result indicates whether or not the first window is currently above or below the second window in the stacking order.

© Author | Home | Sitemap