TICKIT_PENATTR_NAME(3)
π NAME π
okay so bestie, this page is all about tickit_penattr_name β it hands you back the name of a pen attribute. that's it. that's the whole job. iconic honestly.
β¨ SYNOPSIS β¨
#include <tickit.h>
const char * tickit_penattr_name(TickitPenAttr attr);
TickitPenAttr tickit_penattr_lookup(const char * name);
and like, don't forget β you gotta link with -ltickit. no cap. π«Ά
πΈ DESCRIPTION πΈ
so tickit_penattr_name() gives you the name of whatever pen attribute you pass it. and the names? they're the lowercase strings that show up in tickit_pen(7). lowercase is the vibe, periodt.
then there's tickit_penattr_lookup(), which is the glow-up in reverse β you give it a name, and it gives you back the attribute constant for it. π¦
β οΈ but listen β if the name isn't recognised, you get-1back. not a match, not a constant, just-1. it's giving "sorry bestie, never heard of her" π
π RETURN VALUE π
tickit_penattr_name()returns a constant string pointer. π«tickit_penattr_lookup()returns an attribute constant β or-1if it doesn't know that name.
π SEE ALSO π
okay that's the whole page, you ate that fr fr π this little manual came from the Library Functions Manual and it's filed under TICKIT_PENATTR_NAME(3) β mwah, go read the other ones, ily, bye πβ¨π
π¦ 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 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