xcb_create_colormap3
Usage
#include <xcb/xproto.h>
Request function
xcb_void_cookie_t xcb_create_colormap(xcb_connection_t *conn, uint8_t alloc, xcb_colormap_t mid, xcb_window_t window, xcb_visualid_t visual);
Request arguments
- conn
-
The XCB connection to X11.
- alloc
-
One of the following values:
- XCB_COLORMAP_ALLOC_NONE
-
TODO: NOT YET DOCUMENTED.
- XCB_COLORMAP_ALLOC_ALL
-
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.
- mid
-
TODO: NOT YET DOCUMENTED.
- window
-
TODO: NOT YET DOCUMENTED.
- visual
-
TODO: NOT YET DOCUMENTED.
Overview
Return value
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.
If you want to handle errors directly with xcb_request_check instead, use xcb_create_colormap_checked. See xcb-requests(3) for details.
Errors
This request does never generate any errors.
Releases
6 releases since Debian 9 (Stretch); the text changed 4 times.