raise(n) Tk Built-In Commands raise(n)
__________________________________________________________________________________________________________________________________________________NAME
raise - Change a window's position in the stacking order
SYNOPSIS
raise window ?aboveThis?
_________________________________________________________________DESCRIPTION
If the aboveThis argument is omitted then the command raises window so that it is above all of its siblings in the stacking order (it will
not be obscured by any siblings and will obscure any siblings that overlap it). If aboveThis is specified then it must be the path name of
a window that is either a sibling of window or the descendant of a sibling of window. In this case the raise command will insert window
into the stacking order just above aboveThis (or the ancestor of aboveThis that is a sibling of window); this could end up either raising
or lowering window.
EXAMPLE
Make a button appear to be in a sibling frame that was created after it. This is is often necessary when building GUIs in the style where
you create your activity widgets first before laying them out on the display:
button .b -text "Hi there!"
pack [frame .f -background blue]
pack [label .f.l1 -text "This is above"]
pack .b -in .f
pack [label .f.l2 -text "This is below"]
raise .b
SEE ALSO
lower(n)
KEYWORDS
obscure, raise, stacking order
Tk 3.3 raise(n)
Check Out this Related Man Page
raise(n) Tk Built-In Commands raise(n)
__________________________________________________________________________________________________________________________________________________NAME
raise - Change a window's position in the stacking order
SYNOPSIS
raise window ?aboveThis?
_________________________________________________________________DESCRIPTION
If the aboveThis argument is omitted then the command raises window so that it is above all of its siblings in the stacking order (it will
not be obscured by any siblings and will obscure any siblings that overlap it). If aboveThis is specified then it must be the path name of
a window that is either a sibling of window or the descendant of a sibling of window. In this case the raise command will insert window
into the stacking order just above aboveThis (or the ancestor of aboveThis that is a sibling of window); this could end up either raising
or lowering window.
EXAMPLE
Make a button appear to be in a sibling frame that was created after it. This is is often necessary when building GUIs in the style where
you create your activity widgets first before laying them out on the display:
button .b -text "Hi there!"
pack [frame .f -background blue]
pack [label .f.l1 -text "This is above"]
pack .b -in .f
pack [label .f.l2 -text "This is below"]
raise .b
SEE ALSO
lower(n)
KEYWORDS
obscure, raise, stacking order
Tk 3.3 raise(n)
Hi everyone,
I am just wondering, is there any way to do something like put text on line 1 of the terminal window and then set the window's display to start at line 2, so that the text in line 1 is always on the screen?
-patrick (1 Reply)
Hello, I am looking to make a text based game, that runs in the command window, or a window similar. I will only need to use 1 window.
I read somewhere that there is libraries for this kind of thing? But I can't remember the name of them.. Can anyone point me in a direction?
I will be... (2 Replies)