View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Slaven Rezić > Tk-804.029 > Tk_RestackWindow


Annotate this POD


New  36
Open  67
Stalled  17
View/Report Bugs
Source   Latest Release: Tk-804.034


Tk_RestackWindow - Change a window's position in the stacking order


#include <tk.h>

int Tk_RestackWindow(tkwin, aboveBelow, other)


Tk_Window tkwin (in)

Token for window to restack.

int aboveBelow (in)

Indicates new position of tkwin relative to other; must be Above or Below.

Tk_Window other (in)

Tkwin will be repositioned just above or below this window. Must be a sibling of tkwin or a descendant of a sibling. If NULL then tkwin is restacked above or below all siblings.


Tk_RestackWindow changes the stacking order of $widget relative to its siblings. If other is specified as NULL then $widget is repositioned at the top or bottom of its stacking order, depending on whether aboveBelow is Above or Below. If other has a non-NULL value then $widget is repositioned just above or below other.

The aboveBelow argument must have one of the symbolic values Above or Below. Both of these values are defined by the include file <X11/Xlib.h>.


above, below, obscure, stacking order

syntax highlighting: