TICKIT_WINDOW_CLOSE(3)
π TICKIT_WINDOW_CLOSE π
okay bestie, gather round, we're talking about tickit_window_close from the Library Functions Manual β page 3 of the tickit saga, section 3, and yes this one is a certified banger π
β¨ NAME β¨
tickit_window_close β remove a window from the tree π³βοΈ
π¦ SYNOPSIS π¦
#include <tickit.h>
void tickit_window_close(TickitWindow *win);
Link with -ltickit. π
πΈ DESCRIPTION πΈ
so like. tickit_window_close() removes a window from its parent, fr fr. after that it literally stops mattering β it no longer affects rendering, and it does NOT receive input events in any way. it's giving "you are off the team, we wish you well" π
and here's the part where you gotta pay attention, bestie:
After this is done, the only operation that is defined any more is tickit_window_unref(3). The window may not be used for further drawing. π«π¨
so like, once you close it, tickit_window_unref(3) is the one (1) move left on the board. do not come for that window with a draw call afterwards, it is not defined behaviour and it will not slay. periodt. π
β RETURN VALUE β
tickit_window_close() returns no value. that's it. void. nothing to check, nothing to catch, no drama. it's giving main character who doesn't need a receipt π«Ά
π SEE ALSO π
and that's the whole vibe check, babes π this was TICKIT_WINDOW_CLOSE(3) straight outta the Library Functions Manual β same page name, same section, no notes. go forth and unref responsibly, iykyk πβ¨
π¦ 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