TICKIT_WINDOW_RAISE(3)
β¨ TICKIT_WINDOW_RAISE(3) β¨
okay bestie, so this is a page from the Library Functions Manual and it's literally all about moving windows around in the z-stack, like rearranging your phone apps but for terminal windows π
π NAME π
tickit_window_raise, tickit_window_lower β change window stacking order
πΈ SYNOPSIS πΈ
#include <tickit.h>
void tickit_window_raise(TickitWindow *win);
void tickit_window_raise_to_front(TickitWindow *win);
void tickit_window_lower(TickitWindow *win);
void tickit_window_lower_to_back(TickitWindow *win);
Link with -ltickit.
π¦ DESCRIPTION π¦
okay so picture this: your windows are stacked up like a lil pile of cards, right? and these four functions are how you shuffle them around π
tickit_window_raise() brings the given window one level higher up in the stacking order in its parent. just one lil step up, no drama.
tickit_window_raise_to_front() brings the given window to the front of the stacking order in its parent. like, all the way to the top, main character energy, nobody's blocking you now π
heads up: these functions may cause new areas of the given window or children of it to become exposed, and may result inTICKIT_EV_EXPOSEevents whentickit_window_flush(3)is next called. so like, don't be surprised when the expose events come knocking, it's expected fr fr
tickit_window_lower() brings the given window one level lower down in the stacking order in its parent. just a lil scootch down.
tickit_window_lower_to_back() brings the given window to the back of the stacking order in its parent. going ghost mode, tucked all the way behind everything else π«Ά
same deal here: these functions may cause new areas of other sibling windows or their children to become exposed, and may result inTICKIT_EV_EXPOSEevents whentickit_window_flush(3)is next called. the expose events are coming for your siblings this time, not you, no cap
π RETURN VALUE π
These functions return no value. like, void. nothing. they just do the thing and dip β¨
π SEE ALSO π
tickit_window_new(3)tickit_window_show(3)tickit_window_bind_event(3)tickit_window_flush(3)tickit_window(7)tickit(7)
k that's the whole page bestie, you're officially a z-order expert now π
sign-off moment: this was TICKIT_WINDOW_RAISE(3) from the Library Functions Manual β go forth and stack responsibly, ily, 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