xcb_xkb_get_named_indicator(3)
π xcb_xkb_get_named_indicator π
okay bestie so this is a page from the XCB Requests manual β the xcb_xkb_get_named_indicator(3) page, to be exact β and it's all about asking the X server "hey girl, what's up with this named indicator?" π
β¨ NAME β¨
xcb_xkb_get_named_indicator β and that's... literally it. The description line is empty. The manpage said nothing. It's giving mysterious. π
πΈ SYNOPSIS πΈ
First things first, you gotta pull in the header:
#include <xcb/xkb.h>
π¦ Request function
xcb_xkb_get_named_indicator_cookie_t
xcb_xkb_get_named_indicator(xcb_connection_t *conn,
xcb_xkb_device_spec_t deviceSpec,
xcb_xkb_led_class_spec_t ledClass, xcb_xkb_id_spec_t ledID,
xcb_atom_t indicator);
π¦ Reply datastructure
this is the lil glow-up container that holds everything the server sends back:
typedef struct xcb_xkb_get_named_indicator_reply_t {
uint8_t response_type;
uint8_t deviceID;
uint16_t sequence;
uint32_t length;
xcb_atom_t indicator;
uint8_t found;
uint8_t on;
uint8_t realIndicator;
uint8_t ndx;
uint8_t map_flags;
uint8_t map_whichGroups;
uint8_t map_groups;
uint8_t map_whichMods;
uint8_t map_mods;
uint8_t map_realMods;
uint16_t map_vmod;
uint32_t map_ctrls;
uint8_t supported;
uint8_t pad0[3];
} xcb_xkb_get_named_indicator_reply_t;
π¦ Reply function
xcb_xkb_get_named_indicator_reply_t
*xcb_xkb_get_named_indicator_reply(xcb_connection_t *conn,
xcb_xkb_get_named_indicator_cookie_t cookie,
xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
the way you gotta hand these over when you fire off the request:
connβ your XCB connection to X11. it's the whole link to the server, no cap. πdeviceSpecβTODO: NOT YET DOCUMENTED.bestie, the docs just straight-up ghosted us on this one πledClassβTODO: NOT YET DOCUMENTED.also a mystery β¨ledIDβTODO: NOT YET DOCUMENTED.still nothing π«ΆindicatorβTODO: NOT YET DOCUMENTED.the void is voiding π
π₯ REPLY FIELDS π₯
here's everything the reply struct hands back to you:
response_typeβ the type of this reply, and in this case it'sXCB_XKB_GET_NAMED_INDICATOR. this field also lives in thexcb_generic_reply_t, and it's literally how you tell your replies apart from each other. iconic. πsequenceβ the sequence number of the last request that got processed by the X11 server. the receipts, basically. π§Ύlengthβ how long the reply is, in words. and a word is4bytes, iykyk. πdeviceIDβTODO: NOT YET DOCUMENTED.πindicatorβTODO: NOT YET DOCUMENTED.πfoundβTODO: NOT YET DOCUMENTED.πonβTODO: NOT YET DOCUMENTED.πrealIndicatorβTODO: NOT YET DOCUMENTED.πndxβTODO: NOT YET DOCUMENTED.πmap_flagsβTODO: NOT YET DOCUMENTED.πmap_whichGroupsβTODO: NOT YET DOCUMENTED.πmap_groupsβTODO: NOT YET DOCUMENTED.πmap_whichModsβTODO: NOT YET DOCUMENTED.πmap_modsβTODO: NOT YET DOCUMENTED.πmap_realModsβTODO: NOT YET DOCUMENTED.πmap_vmodβTODO: NOT YET DOCUMENTED.πmap_ctrlsβTODO: NOT YET DOCUMENTED.πsupportedβTODO: NOT YET DOCUMENTED.π
π DESCRIPTION π
...and that's it. the DESCRIPTION section is empty. no prose, no lore, nothing. it's giving minimalism, bestie. πβ¨
β RETURN VALUE β
you get back an xcb_xkb_get_named_indicator_cookie_t. πͺ and here's the tea β errors have to be handled over on the reply function, xcb_xkb_get_named_indicator_reply.
but wait, if you'd rather catch your errors in the event loop instead? use xcb_xkb_get_named_indicator_unchecked. slay. and peep xcb-requests(3) for all the deets on that. π«Ά
π ERRORS π
this request never generates any errors. zero. none. not a single one. we love a low-drama request. π
π¦ SEE ALSO π¦
nothing here either bestie β the SEE ALSO section is empty, so you're on your own (but fr fr, you've got this). π
π AUTHOR π
generated from xkb.xml. and if you spot something wrong or wanna make it better, hit up xcb@lists.freedesktop.org for corrections and improvements. π«Ά
okay that's the whole page, bestie β stay iconic, and remember: the docs may be empty but your potential is not β¨π πΈ
this cutie came to you from X Version 11, running libxcb 1.17.0, filed under xcb_xkb_get_named_indicator(3). mwah, love u, bye! πππ¦
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms