1raise(n) Tk Built-In Commands raise(n)
2
3
4
5______________________________________________________________________________
6
8 raise - Change a window's position in the stacking order
9
11 raise window ?aboveThis?
12______________________________________________________________________________
13
15 If the aboveThis argument is omitted then the command raises window so
16 that it is above all of its siblings in the stacking order (it will not
17 be obscured by any siblings and will obscure any siblings that overlap
18 it). If aboveThis is specified then it must be the path name of a win‐
19 dow that is either a sibling of window or the descendant of a sibling
20 of window. In this case the raise command will insert window into the
21 stacking order just above aboveThis (or the ancestor of aboveThis that
22 is a sibling of window); this could end up either raising or lowering
23 window.
24
25 All toplevel windows may be restacked with respect to each other, what‐
26 ever their relative path names, but the window manager is not obligated
27 to strictly honor requests to restack.
28
29 On macOS raising an iconified toplevel window causes it to be deiconi‐
30 fied.
31
33 Make a button appear to be in a sibling frame that was created after
34 it. This is is often necessary when building GUIs in the style where
35 you create your activity widgets first before laying them out on the
36 display:
37 button .b -text "Hi there!"
38 pack [frame .f -background blue]
39 pack [label .f.l1 -text "This is above"]
40 pack .b -in .f
41 pack [label .f.l2 -text "This is below"]
42 raise .b
43
45 lower(n)
46
48 obscure, raise, stacking order
49
50
51
52Tk 3.3 raise(n)