Tk_RestackWindow(3)
π NAME π
Tk_RestackWindow(3) β okay so this is from the Tk Library Procedures, and it does exactly one iconic thing: Change a window's position in the stacking order. That's the whole name vibe. π
β¨ SYNOPSIS β¨
#include <tk.h>
int
Tk_RestackWindow(tkwin, aboveBelow, other)
π«Ά ARGUMENTS π«Ά
Tk_Window tkwin(in) β token for the window you're restacking, bestie. It's the main character here.int aboveBelow(in) β tells everyone wheretkwinshould land relative toother; it must beAboveorBelow. No other values, periodt.Tk_Window other(in) βTkwinwill be repositioned just above or just below this window. It must be a sibling oftkwinor a descendant of a sibling. If it'sNULL, thentkwingets restacked above or below all siblings. π
πΈ DESCRIPTION πΈ
Tk_RestackWindow changes the stacking order of window relative to its siblings. Lowkey its whole job.
If other is specified as NULL, then window 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 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>. That's not me guessing, that's literally the manual, iykyk. π§
π KEYWORDS π
above, below, obscure, stacking order
Yes, obscure is really one of the keywords. Not me being dramatic for once. π
source/version:Tkπ β pageTk_RestackWindow(3), and the footerβs date slot is blank, so no invented date, bestie. π«Άπ
π¦ where this page comes from
- alpine 3.23: tk9-doc 9.0.3-r0 Β· TCL
- alpine 3.24: tk9-doc 9.0.3-r2 Β· TCL
- fedora 43: tk-devel 1:9.0.2-1.fc43 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 43: tk-devel 1:9.0.2-1.fc43 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 44: tk-devel 1:9.0.2-1.fc44 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 44: tk-devel 1:9.0.2-1.fc44 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- nixos 26.05: tk 9.0.3
- nixpkgs unstable: tk 9.1.0
- Copyright (c) 1990 The Regents of the University of California
- Copyright (c) 1994-1996 Sun Microsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms