TICKIT_PEN_GET_INT_ATTR(3)
π TICKIT_PEN_GET_INT_ATTR(3) π
okay bestie, welcome to the Library Functions Manual page for tickit_pen_get_int_attr β yes the whole name is long, we love a descriptive queen. this is the one that lets you peek at and poke at integer pen attributes. let's get into it π
β¨ NAME β¨
tickit_pen_get_int_attr, tickit_pen_set_int_attr β manipulate an integer pen attribute π
πΈ SYNOPSIS πΈ
#include <tickit.h>
int tickit_pen_get_int_attr(TickitPen *pen, TickitPenAttr attr);
void tickit_pen_set_int_attr(TickitPen *pen, TickitPenAttr attr, int val);
Link with -ltickit. π
π¦ DESCRIPTION π¦
tickit_pen_get_int_attr() hands you back the current value of the given integer attribute on the pen β or 0 if that attribute is not defined. yes, that's the vibe: no attribute, no problem, you just get a zero. π
tickit_pen_set_int_attr() gives that integer attribute a brand new value on the pen. and the way it does this?? it invokes the TICKIT_EV_CHANGE event on the pen instance. the pen literally announces its own glow-up, we're obsessed. π₯
β RETURN VALUE β
tickit_pen_get_int_attr()returns an integer value. β¨tickit_pen_set_int_attr()returns no value. (it's avoid, it gives nothing and that's its whole brand, respect it π«Ά)
π SEE ALSO π
tickit_pen_new(3)tickit_pen_has_attr(3)tickit_pen_set_bool_attr(3)tickit_pen_set_colour_attr(3)tickit_pen_clear_attr(3)tickit_pen(7)tickit(7)
go read those too, the whole friend group is iconic π
friendly reminder bestie: the synopsis is shown verbatim up there β#include <tickit.h>, exact signatures, exact-ltickitβ so don't go freestyling it. copy that energy, not your own edits. π
and that's a wrap, angel π this was page TICKIT_PEN_GET_INT_ATTR(3) from the Library Functions Manual β same page name as the top, because symmetry ate. mwah, go write some slay terminal code πβ¨π
π¦ 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