Module xcb::base[][src]

Structs

xcb::Connection handles communication with the X server. It wraps an xcb_connection_t object and will call xcb_disconnect when the Connection goes out of scope

wraps a cookie as returned by a request function. Instantiations of Cookie that are not VoidCookie should provide a get_reply method to return a Reply

Error wraps a pointer to xcb_*_error_t this pointer will be freed when the Error goes out of scope

Event wraps a pointer to xcb_*_event_t this pointer will be freed when the Event goes out of scope

Wraps a pointer to a xcb_*_reply_t the pointer is freed when the Reply goes out of scope

StructPtr is a wrapper for pointer to struct owned by XCB that must not be freed it is instead bound to the lifetime of its parent that it borrows immutably

Enums

Error type that is returned by Connection::has_error

Constants

xcb::COPY_FROM_PARENT can be used for many xcb::create_window parameters

xcb::CURRENT_TIME can be used in most requests that take an xcb::Timestamp

xcb::NONE is the universal null resource or null atom parameter value for many core X requests

xcb::NO_SYMBOL fills in unused entries in xcb::Keysym tables

Current protocol version

Current minor version

X_TCP_PORT + display number = server port for TCP transport

Traits

Functions

Casts the generic error to the right error. Assumes that the given error is really the correct type.

Casts the generic event to the right event. Assumes that the given event is really the correct type.

pack bitfields tuples into vector usable for FFI requests

Type Definitions

Opaque type used as key for Connection::get_extension_data