TICKIT_WINDOW_EXPOSE(3)
π tickit_window_expose β bestie edition π
ok so this is a page from the Library Functions Manual, section 3, and it's all about tickit_window_expose. yes the man page name is literally the title, we love a self-titled icon π
β¨ NAME β¨
tickit_window_expose β mark an area of a window for re-rendering π¨
πΈ SYNOPSIS πΈ
#include <tickit.h>
void tickit_window_expose(TickitWindow *win, const TickitRect *exposed);
Link with -ltickit.
π¦ DESCRIPTION π¦
ok so tickit_window_expose() takes the given area of the given window and marks it as needing to be re-rendered. the way that works is it makes the window receive a TICKIT_EV_EXPOSE event the next time tickit_window_flush(3) gets called. and listen β exposed can be NULL, which means "the whole entire window, bestie", no cap.
π«Ά if the window, or any of its parents, are hidden, then this function has no effect. like, nothing. zero. nada. it's giving invisible π
otherwise? okay so otherwise it enqueues the corresponding area on the root window as being damaged, which causes a TICKIT_EV_EXPOSE event to propagate upwards from the root the next time tickit_window_flush(3) is called. and here's the plot twist: this will propagate up to any window occupying that area, meaning that this window or others may receive it π so like, don't assume it's only your window getting the event, ok?
π RETURN VALUE π
tickit_window_expose() returns no value. it's a void function, it simply does the thing and leaves. main character energy, no receipts π
π SEE ALSO π
and that's the whole page, bestie!! π this was TICKIT_WINDOW_EXPOSE(3) from the Library Functions Manual β go forth and expose those windows, you absolute icon πβ¨π
π¦ 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