XCB
1.13.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_SET_SESSION_CONTEXT 1 |
#define | XCB_XPARSEC_GET_SESSION_CONTEXT 2 |
#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.
#define XCB_XPARSEC_GET_PROPERTY_CONTEXT 12 |
Opcode for xcb_xparsec_get_property_context.
#define XCB_XPARSEC_GET_SELECTION_CONTEXT 19 |
Opcode for xcb_xparsec_get_selection_context.
#define XCB_XPARSEC_GET_SESSION_CONTEXT 2 |
Opcode for xcb_xparsec_get_session_context.
#define XCB_XPARSEC_QUERY_VERSION 0 |
Opcode for xcb_xparsec_query_version.
#define XCB_XPARSEC_SET_SESSION_CONTEXT 1 |
Opcode for xcb_xparsec_set_session_context.
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.
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.
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.
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.
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.
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.
xcb_xparsec_get_session_context_cookie_t xcb_xparsec_get_session_context | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
xcb_xparsec_get_session_context_reply_t* xcb_xparsec_get_session_context_reply | ( | xcb_connection_t * | c, |
xcb_xparsec_get_session_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_session_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_session_context_cookie_t xcb_xparsec_get_session_context_unchecked | ( | xcb_connection_t * | c | ) |
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.
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.
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.
xcb_void_cookie_t xcb_xparsec_set_session_context | ( | xcb_connection_t * | c, |
uint32_t | context_len, | ||
const char * | context | ||
) |
c | The connection |
Delivers a request to the X server.
xcb_void_cookie_t xcb_xparsec_set_session_context_checked | ( | xcb_connection_t * | c, |
uint32_t | context_len, | ||
const char * | context | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().