Struct xcb_dl::XcbXtest [−][src]
pub struct XcbXtest { /* fields omitted */ }
Expand description
A dynamically loaded libxcb-xtest
.
Implementations
The libxcb identifier of the Test
extension.
Returns true
iff the symbol xcb_test_id
could be loaded.
pub unsafe fn xcb_test_get_version(
&self,
c: *mut xcb_connection_t,
major_version: u8,
minor_version: u16
) -> xcb_test_get_version_cookie_t
pub unsafe fn xcb_test_get_version(
&self,
c: *mut xcb_connection_t,
major_version: u8,
minor_version: u16
) -> xcb_test_get_version_cookie_t
Sends a Test::GetVersion
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_test_get_version_reply
.
Returns true
iff the symbol xcb_test_get_version
could be loaded.
pub unsafe fn xcb_test_get_version_unchecked(
&self,
c: *mut xcb_connection_t,
major_version: u8,
minor_version: u16
) -> xcb_test_get_version_cookie_t
pub unsafe fn xcb_test_get_version_unchecked(
&self,
c: *mut xcb_connection_t,
major_version: u8,
minor_version: u16
) -> xcb_test_get_version_cookie_t
Sends a Test::GetVersion
request (unchecked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_test_get_version_reply
.
Returns true
iff the symbol xcb_test_get_version_unchecked
could be loaded.
pub unsafe fn xcb_test_get_version_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_test_get_version_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_test_get_version_reply_t
pub unsafe fn xcb_test_get_version_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_test_get_version_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_test_get_version_reply_t
Waits for the reply to a Test::GetVersion
request.
Returns true
iff the symbol xcb_test_get_version_reply
could be loaded.
pub unsafe fn xcb_test_compare_cursor(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
cursor: xcb_cursor_t
) -> xcb_test_compare_cursor_cookie_t
pub unsafe fn xcb_test_compare_cursor(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
cursor: xcb_cursor_t
) -> xcb_test_compare_cursor_cookie_t
Sends a Test::CompareCursor
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_test_compare_cursor_reply
.
Returns true
iff the symbol xcb_test_compare_cursor
could be loaded.
pub unsafe fn xcb_test_compare_cursor_unchecked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
cursor: xcb_cursor_t
) -> xcb_test_compare_cursor_cookie_t
pub unsafe fn xcb_test_compare_cursor_unchecked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
cursor: xcb_cursor_t
) -> xcb_test_compare_cursor_cookie_t
Sends a Test::CompareCursor
request (unchecked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_test_compare_cursor_reply
.
Returns true
iff the symbol xcb_test_compare_cursor_unchecked
could be loaded.
pub unsafe fn xcb_test_compare_cursor_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_test_compare_cursor_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_test_compare_cursor_reply_t
pub unsafe fn xcb_test_compare_cursor_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_test_compare_cursor_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_test_compare_cursor_reply_t
Waits for the reply to a Test::CompareCursor
request.
Returns true
iff the symbol xcb_test_compare_cursor_reply
could be loaded.
pub unsafe fn xcb_test_fake_input_checked(
&self,
c: *mut xcb_connection_t,
type_: u8,
detail: u8,
time: u32,
root: xcb_window_t,
root_x: i16,
root_y: i16,
deviceid: u8
) -> xcb_void_cookie_t
pub unsafe fn xcb_test_fake_input_checked(
&self,
c: *mut xcb_connection_t,
type_: u8,
detail: u8,
time: u32,
root: xcb_window_t,
root_x: i16,
root_y: i16,
deviceid: u8
) -> xcb_void_cookie_t
Sends a Test::FakeInput
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_request_check
.
Returns true
iff the symbol xcb_test_fake_input_checked
could be loaded.
pub unsafe fn xcb_test_fake_input(
&self,
c: *mut xcb_connection_t,
type_: u8,
detail: u8,
time: u32,
root: xcb_window_t,
root_x: i16,
root_y: i16,
deviceid: u8
) -> xcb_void_cookie_t
pub unsafe fn xcb_test_fake_input(
&self,
c: *mut xcb_connection_t,
type_: u8,
detail: u8,
time: u32,
root: xcb_window_t,
root_x: i16,
root_y: i16,
deviceid: u8
) -> xcb_void_cookie_t
Sends a Test::FakeInput
request (unchecked).
Returns true
iff the symbol xcb_test_fake_input
could be loaded.
pub unsafe fn xcb_test_grab_control_checked(
&self,
c: *mut xcb_connection_t,
impervious: u8
) -> xcb_void_cookie_t
pub unsafe fn xcb_test_grab_control_checked(
&self,
c: *mut xcb_connection_t,
impervious: u8
) -> xcb_void_cookie_t
Sends a Test::GrabControl
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_request_check
.
Returns true
iff the symbol xcb_test_grab_control_checked
could be loaded.
pub unsafe fn xcb_test_grab_control(
&self,
c: *mut xcb_connection_t,
impervious: u8
) -> xcb_void_cookie_t
pub unsafe fn xcb_test_grab_control(
&self,
c: *mut xcb_connection_t,
impervious: u8
) -> xcb_void_cookie_t
Sends a Test::GrabControl
request (unchecked).
Returns true
iff the symbol xcb_test_grab_control
could be loaded.
Loads the library from the default location, potentially loading an incompatible SO version.
For example, this function first tries to load libxcb.so.1
. If this fails, it tries
to load libxcb.so
.