TICKIT_WINDOW_SHOW(3)
π TICKIT_WINDOW_SHOW π
okay bestie, so this is a page from the Library Functions Manual β the tickit_window_show(3) one β and it's literally all about making windows β¨appearβ¨ and β¨disappearβ¨. no cap.
πΈ NAME πΈ
tickit_window_show, tickit_window_hide β controlling whether a window is visible or not π
β¨ SYNOPSIS β¨
void tickit_window_show(TickitWindow *win);
void tickit_window_hide(TickitWindow *win);
bool tickit_window_is_visible(TickitWindow *win);
and like, don't forget to link with -ltickit π«Ά
π¦ DESCRIPTION π¦
tickit_window_show() β bestie, this one makes the window you pass in visible. the way that works is it can now receive events and it can obscure its lower sibling windows. and yes, this may cause it to receive TICKIT_EV_EXPOSE events the next time tickit_window_flush(3) gets called. iconic behavior honestly π
tickit_window_hide() β this one does the opposite, it makes the window non-visible. so no more events for it, and it becomes transparent to its lower sibling windows, which means their content is now the visible one. this may cause those lower siblings to receive TICKIT_EV_EXPOSE events when tickit_window_flush(3) is next called. slay π
tickit_window_is_visible() β this tests whether the window is visible within its immediate parent. but hear me out: that does not mean it's actually visible to the terminal, because it might still have a hidden parent. so like, it's visible in its own little world, but its world might be hidden π
π RETURN VALUE π
tickit_window_show() and tickit_window_hide() return no value. periodt, they give you nothing back.
tickit_window_is_visible() returns a boolean β so true or false, that's the vibe check π
π SEE ALSO π
tickit_window_new(3)tickit_window_raise(3)tickit_window_bind_event(3)tickit_window_flush(3)tickit_window(7)tickit(7)
and that's the whole page fr fr π this one came from the TICKIT_WINDOW_SHOW(3) manual, footer said TICKIT_WINDOW_SHOW(3) down at the bottom too β same name, same date-vibe energy, we love a matching set π β¨ go make some windows appear and disappear, you got this bestie π¦πΈ
π¦ 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