1TICKIT_WINDOW_PARENT(3) Library Functions Manual TICKIT_WINDOW_PARENT(3)
2
3
4
6 tickit_window_parent, tickit_window_root - query the ancestry of a win‐
7 dow
8
10 #include <tickit.h>
11
12 TickitWindow *tickit_window_parent(const TickitWindow *win);
13 TickitWindow *tickit_window_root(const TickitWindow *win);
14
15 Link with -ltickit.
16
18 tickit_window_parent() returns a pointer to the given window's immedi‐
19 ate parent instance (i.e. the one it was created from), or NULL if
20 called on a root window instance.
21
22 tickit_window_root() returns a pointer to the given window's ultimate
23 root window instance. This may be the window itself, if called on a
24 root window instance.
25
27 tickit_window_parent() and tickit_window_root() return pointers to win‐
28 dow instances.
29
31 tickit_window_new(3), tickit_window(7), tickit(7)
32
33
34
35 TICKIT_WINDOW_PARENT(3)