DOKK / manpages / debian 12 / libtickit-dev / tickit_window_get_term.3.en
TICKIT_WINDOW_GET_TERM(3) Library Functions Manual TICKIT_WINDOW_GET_TERM(3)

tickit_window_get_term - query the backing terminal of a window

#include <tickit.h>

TickitTerm *tickit_window_get_term(const TickitWindow *win);

Link with -ltickit.

tickit_window_get_term() returns the backing terminal underlying a given window. This is the terminal instance that the window's root window was originally created using.

tickit_window_get_term() returns a pointer to a terminal instance.

tickit_window_new_root(3), tickit_window_root(3), tickit_window(7), tickit(7)