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 in TICKIT_EV_EXPOSE events when tickit_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 in TICKIT_EV_EXPOSE events when tickit_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 🌈


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 πŸ‘‘