Struct xcb_dl::XcbXinerama [−][src]
pub struct XcbXinerama { /* fields omitted */ }
Expand description
A dynamically loaded libxcb-xinerama
.
Implementations
The libxcb identifier of the Xinerama
extension.
Returns true
iff the symbol xcb_xinerama_id
could be loaded.
pub unsafe fn xcb_xinerama_screen_info_next(
&self,
i: *mut xcb_xinerama_screen_info_iterator_t
)
pub unsafe fn xcb_xinerama_screen_info_next(
&self,
i: *mut xcb_xinerama_screen_info_iterator_t
)
Advances a xcb_xinerama_screen_info_iterator_t
iterator by 1 element.
Returns true
iff the symbol xcb_xinerama_screen_info_next
could be loaded.
pub unsafe fn xcb_xinerama_screen_info_end(
&self,
i: xcb_xinerama_screen_info_iterator_t
) -> xcb_generic_iterator_t
pub unsafe fn xcb_xinerama_screen_info_end(
&self,
i: xcb_xinerama_screen_info_iterator_t
) -> xcb_generic_iterator_t
Returns a xcb_generic_iterator_t
pointing just past the end of a xcb_xinerama_screen_info_iterator_t
.
Returns true
iff the symbol xcb_xinerama_screen_info_end
could be loaded.
pub unsafe fn xcb_xinerama_query_version(
&self,
c: *mut xcb_connection_t,
major: u8,
minor: u8
) -> xcb_xinerama_query_version_cookie_t
pub unsafe fn xcb_xinerama_query_version(
&self,
c: *mut xcb_connection_t,
major: u8,
minor: u8
) -> xcb_xinerama_query_version_cookie_t
Sends a Xinerama::QueryVersion
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_query_version_reply
.
Returns true
iff the symbol xcb_xinerama_query_version
could be loaded.
pub unsafe fn xcb_xinerama_query_version_unchecked(
&self,
c: *mut xcb_connection_t,
major: u8,
minor: u8
) -> xcb_xinerama_query_version_cookie_t
pub unsafe fn xcb_xinerama_query_version_unchecked(
&self,
c: *mut xcb_connection_t,
major: u8,
minor: u8
) -> xcb_xinerama_query_version_cookie_t
Sends a Xinerama::QueryVersion
request (unchecked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_query_version_reply
.
Returns true
iff the symbol xcb_xinerama_query_version_unchecked
could be loaded.
pub unsafe fn xcb_xinerama_query_version_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_query_version_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_query_version_reply_t
pub unsafe fn xcb_xinerama_query_version_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_query_version_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_query_version_reply_t
Waits for the reply to a Xinerama::QueryVersion
request.
Returns true
iff the symbol xcb_xinerama_query_version_reply
could be loaded.
pub unsafe fn xcb_xinerama_get_state(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t
) -> xcb_xinerama_get_state_cookie_t
pub unsafe fn xcb_xinerama_get_state(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t
) -> xcb_xinerama_get_state_cookie_t
Sends a Xinerama::GetState
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_get_state_reply
.
Returns true
iff the symbol xcb_xinerama_get_state
could be loaded.
pub unsafe fn xcb_xinerama_get_state_unchecked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t
) -> xcb_xinerama_get_state_cookie_t
pub unsafe fn xcb_xinerama_get_state_unchecked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t
) -> xcb_xinerama_get_state_cookie_t
Sends a Xinerama::GetState
request (unchecked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_get_state_reply
.
Returns true
iff the symbol xcb_xinerama_get_state_unchecked
could be loaded.
pub unsafe fn xcb_xinerama_get_state_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_get_state_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_get_state_reply_t
pub unsafe fn xcb_xinerama_get_state_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_get_state_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_get_state_reply_t
Waits for the reply to a Xinerama::GetState
request.
Returns true
iff the symbol xcb_xinerama_get_state_reply
could be loaded.
pub unsafe fn xcb_xinerama_get_screen_count(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t
) -> xcb_xinerama_get_screen_count_cookie_t
pub unsafe fn xcb_xinerama_get_screen_count(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t
) -> xcb_xinerama_get_screen_count_cookie_t
Sends a Xinerama::GetScreenCount
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_get_screen_count_reply
.
Returns true
iff the symbol xcb_xinerama_get_screen_count
could be loaded.
pub unsafe fn xcb_xinerama_get_screen_count_unchecked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t
) -> xcb_xinerama_get_screen_count_cookie_t
pub unsafe fn xcb_xinerama_get_screen_count_unchecked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t
) -> xcb_xinerama_get_screen_count_cookie_t
Sends a Xinerama::GetScreenCount
request (unchecked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_get_screen_count_reply
.
Returns true
iff the symbol xcb_xinerama_get_screen_count_unchecked
could be loaded.
pub unsafe fn xcb_xinerama_get_screen_count_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_get_screen_count_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_get_screen_count_reply_t
pub unsafe fn xcb_xinerama_get_screen_count_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_get_screen_count_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_get_screen_count_reply_t
Waits for the reply to a Xinerama::GetScreenCount
request.
Returns true
iff the symbol xcb_xinerama_get_screen_count_reply
could be loaded.
pub unsafe fn xcb_xinerama_get_screen_size(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
screen: u32
) -> xcb_xinerama_get_screen_size_cookie_t
pub unsafe fn xcb_xinerama_get_screen_size(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
screen: u32
) -> xcb_xinerama_get_screen_size_cookie_t
Sends a Xinerama::GetScreenSize
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_get_screen_size_reply
.
Returns true
iff the symbol xcb_xinerama_get_screen_size
could be loaded.
pub unsafe fn xcb_xinerama_get_screen_size_unchecked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
screen: u32
) -> xcb_xinerama_get_screen_size_cookie_t
pub unsafe fn xcb_xinerama_get_screen_size_unchecked(
&self,
c: *mut xcb_connection_t,
window: xcb_window_t,
screen: u32
) -> xcb_xinerama_get_screen_size_cookie_t
Sends a Xinerama::GetScreenSize
request (unchecked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_get_screen_size_reply
.
Returns true
iff the symbol xcb_xinerama_get_screen_size_unchecked
could be loaded.
pub unsafe fn xcb_xinerama_get_screen_size_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_get_screen_size_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_get_screen_size_reply_t
pub unsafe fn xcb_xinerama_get_screen_size_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_get_screen_size_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_get_screen_size_reply_t
Waits for the reply to a Xinerama::GetScreenSize
request.
Returns true
iff the symbol xcb_xinerama_get_screen_size_reply
could be loaded.
pub unsafe fn xcb_xinerama_is_active(
&self,
c: *mut xcb_connection_t
) -> xcb_xinerama_is_active_cookie_t
pub unsafe fn xcb_xinerama_is_active(
&self,
c: *mut xcb_connection_t
) -> xcb_xinerama_is_active_cookie_t
Sends a Xinerama::IsActive
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_is_active_reply
.
Returns true
iff the symbol xcb_xinerama_is_active
could be loaded.
pub unsafe fn xcb_xinerama_is_active_unchecked(
&self,
c: *mut xcb_connection_t
) -> xcb_xinerama_is_active_cookie_t
pub unsafe fn xcb_xinerama_is_active_unchecked(
&self,
c: *mut xcb_connection_t
) -> xcb_xinerama_is_active_cookie_t
Sends a Xinerama::IsActive
request (unchecked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_is_active_reply
.
Returns true
iff the symbol xcb_xinerama_is_active_unchecked
could be loaded.
pub unsafe fn xcb_xinerama_is_active_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_is_active_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_is_active_reply_t
pub unsafe fn xcb_xinerama_is_active_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_is_active_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_is_active_reply_t
Waits for the reply to a Xinerama::IsActive
request.
Returns true
iff the symbol xcb_xinerama_is_active_reply
could be loaded.
Computes the size of a xcb_xinerama_query_screens_reply_t
object.
Returns true
iff the symbol xcb_xinerama_query_screens_sizeof
could be loaded.
pub unsafe fn xcb_xinerama_query_screens(
&self,
c: *mut xcb_connection_t
) -> xcb_xinerama_query_screens_cookie_t
pub unsafe fn xcb_xinerama_query_screens(
&self,
c: *mut xcb_connection_t
) -> xcb_xinerama_query_screens_cookie_t
Sends a Xinerama::QueryScreens
request (checked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_query_screens_reply
.
Returns true
iff the symbol xcb_xinerama_query_screens
could be loaded.
pub unsafe fn xcb_xinerama_query_screens_unchecked(
&self,
c: *mut xcb_connection_t
) -> xcb_xinerama_query_screens_cookie_t
pub unsafe fn xcb_xinerama_query_screens_unchecked(
&self,
c: *mut xcb_connection_t
) -> xcb_xinerama_query_screens_cookie_t
Sends a Xinerama::QueryScreens
request (unchecked).
This request generates a reply. You must either discard it with
discard_reply
or retrieve it with xcb_xinerama_query_screens_reply
.
Returns true
iff the symbol xcb_xinerama_query_screens_unchecked
could be loaded.
pub unsafe fn xcb_xinerama_query_screens_screen_info(
&self,
r: *const xcb_xinerama_query_screens_reply_t
) -> *mut xcb_xinerama_screen_info_t
pub unsafe fn xcb_xinerama_query_screens_screen_info(
&self,
r: *const xcb_xinerama_query_screens_reply_t
) -> *mut xcb_xinerama_screen_info_t
Returns a pointer to the screen_info
field of a xcb_xinerama_query_screens_reply_t
struct.
Returns true
iff the symbol xcb_xinerama_query_screens_screen_info
could be loaded.
pub unsafe fn xcb_xinerama_query_screens_screen_info_length(
&self,
r: *const xcb_xinerama_query_screens_reply_t
) -> c_int
pub unsafe fn xcb_xinerama_query_screens_screen_info_length(
&self,
r: *const xcb_xinerama_query_screens_reply_t
) -> c_int
Returns the number of elements of the screen_info
field of a xcb_xinerama_query_screens_reply_t
struct.
Returns true
iff the symbol xcb_xinerama_query_screens_screen_info_length
could be loaded.
pub unsafe fn xcb_xinerama_query_screens_screen_info_iterator(
&self,
r: *const xcb_xinerama_query_screens_reply_t
) -> xcb_xinerama_screen_info_iterator_t
pub unsafe fn xcb_xinerama_query_screens_screen_info_iterator(
&self,
r: *const xcb_xinerama_query_screens_reply_t
) -> xcb_xinerama_screen_info_iterator_t
Returns an iterator over the elements of the
screen_info
field of a xcb_xinerama_query_screens_reply_t
struct.
Returns true
iff the symbol xcb_xinerama_query_screens_screen_info_iterator
could be loaded.
pub unsafe fn xcb_xinerama_query_screens_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_query_screens_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_query_screens_reply_t
pub unsafe fn xcb_xinerama_query_screens_reply(
&self,
c: *mut xcb_connection_t,
cookie: xcb_xinerama_query_screens_cookie_t,
e: *mut *mut xcb_generic_error_t
) -> *mut xcb_xinerama_query_screens_reply_t
Waits for the reply to a Xinerama::QueryScreens
request.
Returns true
iff the symbol xcb_xinerama_query_screens_reply
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
.