TICKIT_GET_ROOTWIN(3)

πŸ’– TICKIT_GET_ROOTWIN πŸ’–

okay bestie, welcome to the manual page for tickit_get_rootwin, straight out of the Library Functions Manual. grab a boba, we're doing windows ✨


✨ NAME ✨

tickit_get_rootwin β€” obtain the root window from the toplevel instance πŸͺŸ


🌸 SYNOPSIS 🌸

#include <tickit.h>

TickitWindow *tickit_get_rootwin(Tickit *t);

Link with -ltickit.


πŸ¦‹ DESCRIPTION πŸ¦‹

so tickit_get_rootwin() gets you the root window instance that belongs to the toplevel instance, and if it doesn't exist yet it goes ahead and creates it first. no big deal, it just handles that for you πŸ’…

and once it's been created? every call after that hands you back the same window. like, same pointer, same window, every time. it's giving loyal. it's giving consistent. we love that for you 🫢


πŸŽ€ RETURN VALUE πŸŽ€

tickit_get_rootwin() returns a window instance pointer πŸ‘‘


⭐ SEE ALSO ⭐


and that's the whole page, bestie πŸ’œ no cap, that's genuinely everything on it β€” just this one little function doing its one little job. this was filed under TICKIT_GET_ROOTWIN(3) in the Library Functions Manual (no date stamp on this one, so don't come for me πŸ™ˆ). go make some windows, main character πŸ§šπŸ’–