xcb_create_colormap - Man Page

Synopsis

#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.

Description

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.

See Also

Author

Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.

Referenced By

The man page xcb_create_colormap_checked(3) is an alias of xcb_create_colormap(3).

libxcb 1.17.0 X Version 11 XCB Requests