tickit_window_children - Man Page

obtain child windows from a window


#include <tickit.h>

size_t tickit_window_children(const TickitWindow *win);
size_t tickit_window_get_children(const TickitWindow *win,
    TickitWindow *children[], size_t n);

Link with -ltickit.


tickit_window_children() returns the number of immediate child windows the given window has.

tickit_window_get_children() copies at most n child window pointers into the array given by children, and returns the number of pointers it copied (which may be fewer than the total stored, if the array was of insufficient size).

Return Value

tickit_window_children() and tickit_window_get_children() return integers giving the number of entries operated on.

See Also

tickit_window_new(3), tickit_window_parent(3), tickit_window(7), tickit(7)

Referenced By


The man page tickit_window_get_children(3) is an alias of tickit_window_children(3).