TICKIT_WINDOW_CHILDREN(3)
π TICKIT_WINDOW_CHILDREN π
okay bestie, welcome to TICKIT_WINDOW_CHILDREN(3) β straight out of the Library Functions Manual, and yes she's here to help you find out who a window's kids are. no cap. π«Ά
β¨ NAME β¨
tickit_window_children, tickit_window_get_children β obtain child windows from a window πΈ
β¨ SYNOPSIS β¨
#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);
and bestie, don't forget:
Link with -ltickit.
β¨ DESCRIPTION β¨
so tickit_window_children() is the how many kids do you have function π
β it returns the number of immediate child windows the given window has. immediate only, we're not doing the whole family tree here, that's giving genealogy energy and nobody asked.
then tickit_window_get_children() is the one that actually collects them. it copies at most n child window pointers into the array you handed it, the one called children, and it returns the number of pointers it copied. and lowkey important: that number may be fewer than the total stored, if your array was too small. so like, bring a big enough bag or you're leaving some of the children behind π
β¨ RETURN VALUE β¨
both tickit_window_children() and tickit_window_get_children() return integers giving the number of entries operated on. that's it, that's the tea β
β¨ SEE ALSO β¨
and that's the whole page, bestie! π this iconic little number lives in the TICKIT_WINDOW_CHILDREN(3) slot of the Library Functions Manual β she's serving library-functions-manual realness and honestly? obsessed. go read her siblings, go build something cute, and remember: count your children, don't lose your children. periodt. ππ
π¦ where this page comes from
- alpine 3.24: libtickit-doc 0.4.6-r0 Β· MIT
- debian bookworm: libtickit-dev 0.4.3-1 Β· MIT
- debian trixie: libtickit-dev 0.4.3-2 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 43: libtickit-devel 0.4.5-2.fc43 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- fedora 44: libtickit-devel 0.4.5-3.fc44 Β· MIT
- nixos 26.05: libtickit 0.4.5
- nixpkgs unstable: libtickit 0.4.6
- ubuntu jammy: libtickit-dev 0.4.1-1 Β· MIT
- ubuntu noble: libtickit-dev 0.4.3-1.1build1 Β· MIT
- ubuntu questing: libtickit-dev 0.4.3-2
- ubuntu resolute: libtickit-dev 0.4.3-2build1 Β· MIT
- ubuntu stonking: libtickit-dev 0.4.3-2build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms