TICKIT_WINDOW_CTLNAME(3)
π TICKIT_WINDOW_CTLNAME π
okay bestie, you found the tickit_window_ctlname(3) page, from the Library Functions Manual β¨ β it's literally the little lookup desk for window controls. names in, names out, types decoded. no cap.
πΈ NAME πΈ
tickit_window_ctlname β return the name of a window control π
β¨ SYNOPSIS β¨
#include <tickit.h>
const char * tickit_window_ctlname(TickitWindowCtl ctl);
TickitWindowCtl tickit_window_lookup_ctl(const char * name);
TickitType tickit_window_ctltype(TickitWindowCtl ctl);
Link with -ltickit.
π«Ά yes you have to actually link -ltickit, it's giving "the library does not link itself", periodt.
π DESCRIPTION π
tickit_window_ctlname() hands you back the name of the window control you pass in. and likeβ¦ these names are exactly the lowercase strings listed over in tickit_window(7). lowercase. iconic behaviour honestly π
tickit_window_lookup_ctl() goes the other way β you give it a name, it gives you the control constant. but if the name is not recognised? -1 comes back at you. it's giving "unknown, bestie" π
tickit_window_ctltype() tells you the type of a given window control, as one of these constants:
TICKIT_TYPE_BOOLβ the value is an integer representing a simple boolean choice, where any nonzero value is true. usetickit_window_setctl_int(3)andtickit_window_getctl_int(3). πTICKIT_TYPE_INTβ the value is an integer representing a quantity, or a value in some particular enumeration. usetickit_window_setctl_int(3)andtickit_window_getctl_int(3). π
and for unrecognised control types? the function returns 0. that's the vibe check failing, lowkey π
β RETURN VALUE β
tickit_window_ctlname()returns a constant string pointer.tickit_window_lookup_ctl()returns a control constant or-1.tickit_window_ctltype()returns a control type constant or0.
π¦ SEE ALSO π¦
and that's the whole page, main character energy from start to finish π go forth and look up your controls, bestie. this was TICKIT_WINDOW_CTLNAME(3) from the Library Functions Manual β mwah, slay, bye πβ¨
π¦ where this page comes from
- ubuntu jammy: libtickit-dev 0.4.1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms