xcb_uninstall_colormap(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ xcb_uninstall_colormap ✨

okay so bestie, welcome to the xcb_uninstall_colormap page πŸ’– this is a lil page from the XCB Requests chapter of the XCB manual, and ngl it's a short one. but we're gonna give it the main character treatment anyway, because every function deserves love 🫢


🌸 NAME 🌸

xcb_uninstall_colormap β€” that's it. that's the name. the description slot is literally empty in the original, so we're not gonna make anything up. no cap, that's just how it is πŸ’€


πŸŽ€ SYNOPSIS πŸŽ€

first things first, you gotta pull in the header:

#include <xcb/xproto.h>

Request function

xcb_void_cookie_t xcb_uninstall_colormap(xcb_connection_t *conn,
       xcb_colormap_t cmap);

that's the whole vibe. one function, two args, returns a void cookie. slay ✨


πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” the XCB connection to X11. she's your link to the X server, your ride-or-die, your whole entire pipeline to the display πŸ’«
  • cmap β€” okay so the original literally says TODO: NOT YET DOCUMENTED. and like... we're not gonna invent lore, so here it is verbatim. the docs are doing a little mystery arc on us πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

this section is empty in the original. no text, no explanation, nothing. the void is voiding. we respect that πŸ’…


⭐ RETURN VALUE ⭐

she hands you back an xcb_void_cookie_t. and here's the important part, bestie: if there are any errors, you have to deal with them in the event loop. that's the whole deal, no shortcuts πŸ”₯

but wait, there's another way πŸ‘€ if you wanna handle errors directly with xcb_request_check instead, use xcb_uninstall_colormap_checked. that's the checked version, she's right there waiting for you.

for the full tea on how this works, go read xcb-requests(3). it's giving essential reading πŸ“š

πŸ’€ ERRORS πŸ’€

okay so good news: this request does never generate any errors.

literally never. zero. none. she is unbothered, moisturized, in her lane, focusing on herself 🌈 no error handling arc for this one, periodt.


🌈 SEE ALSO 🌈

this section is empty in the original. nothing to link, nothing to point at. we stan a minimalist queen πŸŽ€


πŸ‘‘ AUTHOR πŸ‘‘

this page was generated from xproto.xml. if you spot something wrong and wanna send corrections and improvements, hit up xcb@lists.freedesktop.org. they're the ones who actually maintain this, so be nice and be specific πŸ’–


and that's the whole page, bestie!! short and sweet, just like a good group chat message. now go uninstall that colormap (or whatever you're doing with it) and live your best life πŸ¦‹πŸ’…

X Version 11 Β· libxcb 1.17.0 Β· xcb_uninstall_colormap(3) β€” k bye, ily, see you in the next manpage πŸ’œβœ¨