Function xcb::xproto::create_gc_checked [−][src]
pub fn create_gc_checked<'a>(
c: &'a Connection,
cid: Gcontext,
drawable: Drawable,
value_list: &[(u32, u32)]
) -> VoidCookie<'a>
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.
parameters:
-
c: The connection object to the server
-
cid: The ID with which you will refer to the graphics context, created by
xcb_generate_id
. -
drawable: Drawable to get the root/depth from.
-
value_list: