TICKIT_SETCTL_INT(3)
π TICKIT_SETCTL_INT(3) π
okay bestie, so this is a page from the Library Functions Manual, and it's all about poking at the integer control knobs on a Tickit toplevel instance. yes, that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
tickit_setctl_int β set an integer toplevel instance control
πΈ SYNOPSIS πΈ
#include <tickit.h>
bool tickit_getctl_int(Tickit *tt, TickitCtl ctl, int *value);
bool tickit_setctl_int(Tickit *tt, TickitCtl ctl, int value);
Link with -ltickit.
not the two functions showing up in that order in the synopsis, when the page is named after the setter π she contains multitudes, we love her for it
π¦ DESCRIPTION π¦
ok so. tickit_setctl_int() does a toplevel instance control operation β it sets the value of a numeric instance control option. that's it, that's the job, and it does it slayfully π
tickit_getctl_int() is the other half of the duo: it obtains the value of an instance control setting. like, it gets it. reading is fundamental, bestie π
and if you wanna know the full list of possible TickitCtl values and what each one actually means?? go read tickit(7). that's where the lore lives, iykyk β¨
π₯ RETURN VALUE π₯
tickit_getctl_int()returns a true value if it recognised the requested control and managed to return the current value of it. and false if not. so like... if it doesn't recognise the control, no value for you, sorry babe πtickit_setctl_int()returns a true value if it recognised the requested control and managed to request the instance to change it. and false if not. same energy, different verb π
fr fr: read these. a false here is not a crash, it's just the function being like "girl idk what control that is" π
π SEE ALSO π
and that's the whole page, bestie!! you ate it up, no crumbs left π
kisses from the TICKIT_SETCTL_INT(3) page itself, living in the Library Functions Manual, no date on the tin but she's iconic regardless** π
π¦ 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