TICKIT_WINDOW_GET_TERM(3)

πŸ’– TICKIT_WINDOW_GET_TERM πŸ’– (section 3 of the Library Functions Manual, bestie)

okay so. this is a page from the Library Functions Manual, and it's literally just one lil function that hands you back your terminal. one function. tiny. iconic. let's go ✨


✨ NAME ✨

tickit_window_get_term β€” query the backing terminal of a window 🫢


🌸 SYNOPSIS 🌸

#include <tickit.h>

TickitTerm *tickit_window_get_term(const TickitWindow *win);

Link with -ltickit.

bestie do NOT forget the -ltickit link flag, she will not build without it 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

tickit_window_get_term() returns the backing terminal that's underlying a given window. that's the whole vibe.

and like, specifically? it's the terminal instance that the window's root window was originally created using. so no matter how deep down the window tree you've wandered, this one climbs all the way back up to the original terminal that started it all. main character origin story fr fr πŸ’…


⭐ RETURN VALUE ⭐

tickit_window_get_term() returns a pointer to a terminal instance. that's it. that's the whole return. a pointer. slay. πŸŽ€


🌈 SEE ALSO 🌈


and that's the page!! written for TICKIT_WINDOW_GET_TERM(3) in the Library Functions Manual, no cap. the footer didn't even give us a date to gossip about, it just stamped the same name back at us like a mirror selfie πŸ™ˆ so consider this your official sign-off: TICKIT_WINDOW_GET_TERM(3), that's the one, go query ur terminal bestie πŸ’œβœ¨