xcb_list_installed_colormaps(3)
π xcb_list_installed_colormaps π
okay bestie, so this is a page from XCB Requests, the xcb_list_installed_colormaps(3) one, and it's giving "short but iconic". Let me tell you everything, no cap, every single detail intact. π
β¨ NAME β¨
xcb_list_installed_colormaps β literally just that. The NAME section is serving empty-plate energy, no description attached. We move. π
π¦ SYNOPSIS π¦
First thing, you gotta include the header:
#include <xcb/xproto.h>
πΈ Request function πΈ
xcb_list_installed_colormaps_cookie_t
xcb_list_installed_colormaps(xcb_connection_t *conn,
xcb_window_t window);
π Reply datastructure π
typedef struct xcb_list_installed_colormaps_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint16_t cmaps_len;
uint8_t pad1[22];
} xcb_list_installed_colormaps_reply_t;
β¨ Reply function β¨
xcb_list_installed_colormaps_reply_t
*xcb_list_installed_colormaps_reply(xcb_connection_t *conn,
xcb_list_installed_colormaps_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors π
xcb_colormap_t *xcb_list_installed_colormaps_cmaps(const
xcb_list_installed_colormaps_request_t *reply);
int xcb_list_installed_colormaps_cmaps_length(const
xcb_list_installed_colormaps_reply_t *reply);
xcb_generic_iterator_t xcb_list_installed_colormaps_cmaps_end(const
xcb_list_installed_colormaps_reply_t *reply);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your little hotline to the server, periodt. π«Άwindowβ TODO: NOT YET DOCUMENTED. bestie the docs simply did not show up. no further info, and I'm not about to make any up. π
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_LIST_INSTALLED_COLORMAPS. This field is also chilling inside thexcb_generic_reply_t, so you can use it to tell replies apart from each other. it's the name tag at the party. πsequenceβ the sequence number of the last request processed by the X11 server. the receipts, basically. π§Ύlengthβ the length of the reply, in words (and a word is 4 bytes, iykyk). βcmaps_lenβ TODO: NOT YET DOCUMENTED. again, the docs ghosted us. no invented lore here. π
π DESCRIPTION π
this section is empty in the original. like, completely. nothing to see, nothing to report, we're not filling it in with fanfic. π
π₯ RETURN VALUE π₯
Returns an xcb_list_installed_colormaps_cookie_t. Errors have to be handled when you call the reply function, xcb_list_installed_colormaps_reply. That's the deal, bestie. β¨
If you'd rather handle errors in the event loop instead, use xcb_list_installed_colormaps_unchecked. See xcb-requests(3) for details. π«Ά
π ERRORS π
This request does never generate any errors. not one. zero. the calmest request in the group chat. π
π¦ SEE ALSO π¦
nothing listed here in the original β just vibes and an empty section. π
πΈ AUTHOR πΈ
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. they're literally so sweet for that. π
and that's the whole page, bestie β brought to you by X Version 11, libxcb 1.17.0, and the date stamped on the original footer. slay, go install some colormaps, ily. π β¨π
π¦ 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