Function xcb::ffi::base::xcb_generate_id[][src]

pub unsafe extern "C" fn xcb_generate_id(c: *mut xcb_connection_t) -> u32

Allocates an XID for a new object. Returns A newly allocated XID.

Allocates an XID for a new object. Typically used just prior to various object creation functions, such as xcb_create_window.