tickit_window_root3
Query the ancestry of a window
Part of tickit_window_parent(3).
Usage
#include <tickit.h> TickitWindow *tickit_window_parent(const TickitWindow *win); TickitWindow *tickit_window_root(const TickitWindow *win);
Link with -ltickit.
Overview
tickit_window_parent() returns a pointer to the given window's immediate parent instance (i.e. the one it was created from), or NULL if called on a root window instance.
tickit_window_root() returns a pointer to the given window's ultimate root window instance. This may be the window itself, if called on a root window instance.
Return value
tickit_window_parent() and tickit_window_root() return pointers to window instances.
Releases
Unchanged in 4 releases since Debian 10 (Buster).