XCB
1.11.1
|
XPARSEC XCB Protocol Implementation. More...
Macros | |
#define | XCB_XPARSEC_MAJOR_VERSION 1 |
#define | XCB_XPARSEC_MINOR_VERSION 0 |
#define | XCB_XPARSEC_QUERY_VERSION 0 |
#define | XCB_XPARSEC_GET_DRAWABLE_CONTEXT 7 |
#define | XCB_XPARSEC_GET_PROPERTY_CONTEXT 12 |
#define | XCB_XPARSEC_GET_SELECTION_CONTEXT 19 |
Variables | |
xcb_extension_t | xcb_xparsec_id |
XPARSEC XCB Protocol Implementation.
#define XCB_XPARSEC_GET_DRAWABLE_CONTEXT 7 |
Opcode for xcb_xparsec_get_drawable_context.
Referenced by xcb_xparsec_get_drawable_context(), and xcb_xparsec_get_drawable_context_unchecked().
#define XCB_XPARSEC_GET_PROPERTY_CONTEXT 12 |
Opcode for xcb_xparsec_get_property_context.
Referenced by xcb_xparsec_get_property_context(), and xcb_xparsec_get_property_context_unchecked().
#define XCB_XPARSEC_GET_SELECTION_CONTEXT 19 |
Opcode for xcb_xparsec_get_selection_context.
Referenced by xcb_xparsec_get_selection_context(), and xcb_xparsec_get_selection_context_unchecked().
#define XCB_XPARSEC_QUERY_VERSION 0 |
Opcode for xcb_xparsec_query_version.
Referenced by xcb_xparsec_query_version(), and xcb_xparsec_query_version_unchecked().
xcb_xparsec_get_drawable_context_cookie_t xcb_xparsec_get_drawable_context | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XPARSEC_GET_DRAWABLE_CONTEXT.
xcb_xparsec_get_drawable_context_reply_t* xcb_xparsec_get_drawable_context_reply | ( | xcb_connection_t * | c, |
xcb_xparsec_get_drawable_context_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_xparsec_get_drawable_context_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_xparsec_get_drawable_context_cookie_t xcb_xparsec_get_drawable_context_unchecked | ( | xcb_connection_t * | c, |
xcb_drawable_t | drawable | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_XPARSEC_GET_DRAWABLE_CONTEXT.
xcb_xparsec_get_property_context_cookie_t xcb_xparsec_get_property_context | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
xcb_atom_t | property | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XPARSEC_GET_PROPERTY_CONTEXT.
xcb_xparsec_get_property_context_reply_t* xcb_xparsec_get_property_context_reply | ( | xcb_connection_t * | c, |
xcb_xparsec_get_property_context_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_xparsec_get_property_context_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_xparsec_get_property_context_cookie_t xcb_xparsec_get_property_context_unchecked | ( | xcb_connection_t * | c, |
xcb_window_t | window, | ||
xcb_atom_t | property | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_XPARSEC_GET_PROPERTY_CONTEXT.
xcb_xparsec_get_selection_context_cookie_t xcb_xparsec_get_selection_context | ( | xcb_connection_t * | c, |
xcb_atom_t | selection | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XPARSEC_GET_SELECTION_CONTEXT.
xcb_xparsec_get_selection_context_reply_t* xcb_xparsec_get_selection_context_reply | ( | xcb_connection_t * | c, |
xcb_xparsec_get_selection_context_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_xparsec_get_selection_context_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_xparsec_get_selection_context_cookie_t xcb_xparsec_get_selection_context_unchecked | ( | xcb_connection_t * | c, |
xcb_atom_t | selection | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_XPARSEC_GET_SELECTION_CONTEXT.
xcb_xparsec_query_version_cookie_t xcb_xparsec_query_version | ( | xcb_connection_t * | c, |
uint8_t | client_major, | ||
uint8_t | client_minor | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XPARSEC_QUERY_VERSION.
xcb_xparsec_query_version_reply_t* xcb_xparsec_query_version_reply | ( | xcb_connection_t * | c, |
xcb_xparsec_query_version_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_xparsec_query_version_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_xparsec_query_version_cookie_t xcb_xparsec_query_version_unchecked | ( | xcb_connection_t * | c, |
uint8_t | client_major, | ||
uint8_t | client_minor | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_XPARSEC_QUERY_VERSION.