raise(1T) Tk Built-In Commands raise(1T)__________________________________________________________________________________________________________________________________________________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(1T)KEYWORDS
obscure, raise, stacking order
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTk |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tk is available on http://opensolaris.org.
Tk 3.3 raise(1T)
Check Out this Related Man Page
tk_focusNext(n) Tk Built-In Commands tk_focusNext(n)
__________________________________________________________________________________________________________________________________________________NAME
tk_focusNext, tk_focusPrev, tk_focusFollowsMouse - Utility procedures for managing the input focus.
SYNOPSIS
tk_focusNext window
tk_focusPrev window
tk_focusFollowsMouse
_________________________________________________________________DESCRIPTION
tk_focusNext is a utility procedure used for keyboard traversal. It returns the "next" window after window in focus order. The focus order
is determined by the stacking order of windows and the structure of the window hierarchy. Among siblings, the focus order is the same as
the stacking order, with the lowest window being first. If a window has children, the window is visited first, followed by its children
(recursively), followed by its next sibling. Top-level windows other than window are skipped, so that tk_focusNext never returns a window
in a different top-level from window.
After computing the next window, tk_focusNext examines the window's -takefocus option to see whether it should be skipped. If so,
tk_focusNext continues on to the next window in the focus order, until it eventually finds a window that will accept the focus or returns
back to window.
tk_focusPrev is similar to tk_focusNext except that it returns the window just before window in the focus order.
tk_focusFollowsMouse changes the focus model for the application to an implicit one where the window under the mouse gets the focus. After
this procedure is called, whenever the mouse enters a window Tk will automatically give it the input focus. The focus command may be used
to move the focus to a window other than the one under the mouse, but as soon as the mouse moves into a new window the focus will jump to
that window. Note: at present there is no built-in support for returning the application to an explicit focus model; to do this you will
have to write a script that deletes the bindings created by tk_focusFollowsMouse.
KEYWORDS
focus, keyboard traversal, top-level
Tk 4.0 tk_focusNext(n)