[−][src]Function clipboard_x11::create_gc_checked
pub fn create_gc_checked(
c: &'a Connection,
cid: u32,
drawable: u32,
value_list: &[(u32, u32)]
) -> Cookie<'a, xcb_void_cookie_t>
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: