TICKIT_WINDOW_PARENT(3)
π TICKIT_WINDOW_PARENT(3) π
okay bestie, welcome to the Library Functions Manual β section 3 ofc, this is a C library situation, not a shell command situation. we're talking about tickit_window_parent and tickit_window_root from the Tickit windowing library. it's giving β¨family tree energyβ¨ but for terminal windows. let's get into it π
πΈ NAME πΈ
tickit_window_parent, tickit_window_root β query the ancestry of a window
likeβ¦ who's your mom, and who's your ultimate ancestor. window genealogy fr fr π¦
β¨ SYNOPSIS β¨
#include <tickit.h>
TickitWindow *tickit_window_parent(const TickitWindow *win);
TickitWindow *tickit_window_root(const TickitWindow *win);
Link with -ltickit.
no cap, you have to actually link with -ltickit or none of this works. periodt π
π DESCRIPTION π
tickit_window_parent() returns a pointer to the given window's immediate parent instance β meaning the exact window it was created from. if you call it on a root window instance, it hands you back NULL, because a root window literally has no parent. it's an orphan by design, main character energy π
tickit_window_root() returns a pointer to the given window's ultimate root window instance β the top of the whole family tree. and lowkey cute detail: if you call it on a root window instance, it may just return the window itself. self-love, honestly π
π«Ά RETURN VALUE π«Ά
tickit_window_parent() and tickit_window_root() return pointers to window instances.
that's it. that's the return value. pointers. to windows. slay β¨
π¦ SEE ALSO π¦
that's the whole page bestie, you ate it π go query some ancestry and stay iconic. this was TICKIT_WINDOW_PARENT(3) from the Library Functions Manual β mwah, no notes, bye ππ
πΈ
π¦ where this page comes from
- alpine 3.24: libtickit-doc 0.4.6-r0 Β· MIT
- debian bookworm: libtickit-dev 0.4.3-1 Β· MIT
- debian trixie: libtickit-dev 0.4.3-2 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- nixos 26.05: libtickit 0.4.5
- nixpkgs unstable: libtickit 0.4.6
- ubuntu jammy: libtickit-dev 0.4.1-1 Β· MIT
- ubuntu noble: libtickit-dev 0.4.3-1.1build1 Β· MIT
- ubuntu questing: libtickit-dev 0.4.3-2
- ubuntu resolute: libtickit-dev 0.4.3-2build1 Β· MIT
- ubuntu stonking: libtickit-dev 0.4.3-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms