tickit_window_children3
Obtain child windows from a window
Usage
#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.
Overview
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.
Releases
Unchanged in 4 releases since Debian 10 (Buster).