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

tickit_get_term - obtain the terminal from the toplevel instance

#include <tickit.h>

TickitTerm *tickit_get_term(Tickit *t);

Link with -ltickit.

tickit_get_term() obtains the terminal instance associated with the toplevel instance, creating it first if necessary. Once created, repeated calls to this function will return the same terminal.

tickit_get_term() returns a terminal instance pointer.

tickit_new_stdio(3), tickit_term(7), tickit(7)