Struct xcb::ffi::xproto::xcb_create_gc_request_t
[−]
[src]
#[repr(C)]pub struct xcb_create_gc_request_t { pub major_opcode: u8, pub pad0: u8, pub length: u16, pub cid: xcb_gcontext_t, pub drawable: xcb_drawable_t, pub value_mask: u32, }
Creates a graphics context
Creates a graphics context. The graphics context can be used with any drawable that has the same root and depth as the specified drawable.
Fields
major_opcode: u8
pad0: u8
length: u16
cid: xcb_gcontext_t
The ID with which you will refer to the graphics context, created by
xcb_generate_id
.
drawable: xcb_drawable_t
Drawable to get the root/depth from.
value_mask: u32