tickit_window_parent, tickit_window_root - query the ancestry of a window
Contents
Description
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.
Name
tickit_window_parent, tickit_window_root - query the ancestry of a window
Return Value
tickit_window_parent() and tickit_window_root() return pointers to window instances.
See Also
tickit_window_new(3), tickit_window(7), tickit(7) TICKIT_WINDOW_PARENT(3)
Synopsis
#include<tickit.h>TickitWindow*tickit_window_parent(constTickitWindow*win);TickitWindow*tickit_window_root(constTickitWindow*win);
Link with -ltickit.
