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

tickit_get_rootwin - obtain the root window from the toplevel instance

#include <tickit.h>

TickitWindow *tickit_get_rootwin(Tickit *t);

Link with -ltickit.

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

tickit_get_rootwin() returns a window instance pointer.

tickit_new_stdio(3), tickit_window(7), tickit(7)