1raise(n)                     Tk Built-In Commands                     raise(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       raise - Change a window's position in the stacking order
9

SYNOPSIS

11       raise window ?aboveThis?
12_________________________________________________________________
13
14

DESCRIPTION

16       If  the aboveThis argument is omitted then the command raises window so
17       that it is above all of its siblings in the stacking order (it will not
18       be  obscured by any siblings and will obscure any siblings that overlap
19       it).  If aboveThis is specified then it must be the path name of a win‐
20       dow  that  is either a sibling of window or the descendant of a sibling
21       of window.  In this case the raise command will insert window into  the
22       stacking  order just above aboveThis (or the ancestor of aboveThis that
23       is a sibling of window); this could end up either raising  or  lowering
24       window.
25

EXAMPLE

27       Make  a  button  appear to be in a sibling frame that was created after
28       it. This is is often necessary when building GUIs in  the  style  where
29       you  create  your  activity widgets first before laying them out on the
30       display:
31              button .b -text "Hi there!"
32              pack [frame .f -background blue]
33              pack [label .f.l1 -text "This is above"]
34              pack .b -in .f
35              pack [label .f.l2 -text "This is below"]
36              raise .b
37
38

SEE ALSO

40       lower(n)
41
42

KEYWORDS

44       obscure, raise, stacking order
45
46
47
48Tk                                    3.3                             raise(n)
Impressum