tickit_window_parent - Man Page

query the ancestry of a window

Synopsis

#include <tickit.h>

TickitWindow *tickit_window_parent(const TickitWindow *win);
TickitWindow *tickit_window_root(const TickitWindow *win);

Link with -ltickit.

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.

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)

Referenced By

tickit_window(7), tickit_window_children(3), tickit_window_get_term(3).

The man page tickit_window_root(3) is an alias of tickit_window_parent(3).