Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Tk_RestackWindow (3tk)

Name

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

Synopsis

#include <tk.h>

int
Tk_RestackWindow(tkwin, aboveBelow, other)

Description

Tk_RestackWindow(3tk)        Tk Library Procedures       Tk_RestackWindow(3tk)



______________________________________________________________________________

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

SYNOPSIS
       #include <tk.h>

       int
       Tk_RestackWindow(tkwin, aboveBelow, other)

ARGUMENTS
       Tk_Window tkwin (in)               Token for window to restack.

       int aboveBelow (in)                Indicates new position of tkwin rel-
                                          ative 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 sib-
                                          lings.
______________________________________________________________________________

DESCRIPTION
       Tk_RestackWindow changes the stacking order of window relative  to  its
       siblings.  If other is specified as NULL then window is repositioned at
       the top or bottom of its stacking order, depending on whether  aboveBe-
       low  is  Above  or Below.  If other has a non-NULL value then window 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>.

KEYWORDS
       above, below, obscure, stacking order



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | runtime/tk-8     |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source        was        downloaded        from         https://source-
       forge.net/projects/tcl/files/Tcl/8.6.7/tk8.6.7-src.tar.gz/download.

       Further information about this software can be found on the open source
       community website at https://www.tcl.tk/.



Tk                                                       Tk_RestackWindow(3tk)