xcb_xkb_set_named_indicator(3)
π xcb_xkb_set_named_indicator π
okay so bestie, welcome to the manual page for xcb_xkb_set_named_indicator, a lil request function from XCB Requests (that's the X protocol binding situation, iykyk). it lives in the XKB corner of libxcb and it's here to set a named indicator, bestie. that's the whole vibe. let's get into it π¦
β¨ NAME β¨
xcb_xkb_set_named_indicator β and honestly? the description slot is justβ¦ empty. blank. the void. not a single word was typed there in the original, so i'm not gonna make one up for you either. we respect the silence π
πΈ SYNOPSIS πΈ
first up, you gotta pull in the header, like:
#include <xcb/xkb.h>
π Request function π
and here's the actual function signature, copy it exactly, don't you dare get creative:
xcb_void_cookie_t xcb_xkb_set_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, uint8_t setState, uint8_t on,
uint8_t setMap, uint8_t createMap, uint8_t map_flags,
uint8_t map_whichGroups, uint8_t map_groups,
uint8_t map_whichMods, uint8_t map_realMods, uint16_t map_vmods,
uint32_t map_ctrls);
that's a lot of arguments, and yes, that's the point. she's thorough. π
π«Ά REQUEST ARGUMENTS π«Ά
every single one of these, no skips:
connβ the XCB connection to X11. your link to the mothership, basically. πdeviceSpecβ TODO: NOT YET DOCUMENTED. yeah bestie, they left it blank. iconic of them honestly πledClassβ TODO: NOT YET DOCUMENTED. πledIDβ TODO: NOT YET DOCUMENTED. πindicatorβ TODO: NOT YET DOCUMENTED. β¨setStateβ TODO: NOT YET DOCUMENTED. π§onβ TODO: NOT YET DOCUMENTED. πsetMapβ TODO: NOT YET DOCUMENTED. πcreateMapβ 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_realModsβ TODO: NOT YET DOCUMENTED. πmap_vmodsβ TODO: NOT YET DOCUMENTED. π₯map_ctrlsβ TODO: NOT YET DOCUMENTED. π
not me documenting a manpage where the entire argument list says NOT YET DOCUMENTED π that's just how the original is, bestie, i'm keeping it 100% as-is. no cap.
π« DESCRIPTION π«
β¦and the DESCRIPTION section? empty. literally nothing under it in the original. she said "no thoughts, head empty" and honestly, slay. π«Ά
π₯ RETURN VALUE π₯
so what do you get back? an xcb_void_cookie_t. that's it. that's the whole return value.
and here's the important part, bestie: errors (if any) have to be handled in the event loop. you don't get them handed to you right here, you gotta go catch them later like a lil detective π΅οΈβοΈ
but WAIT β if you'd rather handle errors directly, there's another way:
usexcb_xkb_set_named_indicator_checkedinstead, together withxcb_request_check. the full deets live over inxcb-requests(3). go read it, i'll wait π
π ERRORS π
okay this one's easy:
This request does never generate any errors.
that's it. that's the whole section. no errors, no drama, no stress. she's low maintenance fr fr β¨
π¦ SEE ALSO π¦
β¦nothing. the SEE ALSO section is empty in the original, so there's nothing to see and nothing to also. a moment of silence for the cross-references that never were π
π AUTHOR π
Generated from xkb.xml. Contact xcb@lists.freedesktop.org for corrections and improvements β like, if something's wrong, tell them, don't just suffer in silence bestie, they literally asked π«Ά
and that's the whole page!! π this one came from X Version 11, libxcb 1.17.0, and it's the xcb_xkb_set_named_indicator(3) page itself. thanks for reading with me, bestie β go forth and set those named indicators, you absolute main character πβ¨π¦π
π¦ 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