1xcb_free_gc(3) XCB Requests xcb_free_gc(3)
2
3
4
6 xcb_free_gc - Destroys a graphics context
7
9 #include <xcb/xproto.h>
10
11 Request function
12 xcb_void_cookie_t xcb_free_gc(xcb_connection_t *conn,
13 xcb_gcontext_t gc);
14
16 conn The XCB connection to X11.
17
18 gc The graphics context to destroy.
19
21 Destroys the specified gc and all associated storage.
22
24 Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the
25 event loop.
26
27 If you want to handle errors directly with xcb_request_check instead,
28 use xcb_free_gc_checked. See xcb-requests(3) for details.
29
31 xcb_g_context_error_t
32 The specified graphics context does not exist.
33
35 xcb-requests(3)
36
38 Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
39 rections and improvements.
40
41
42
43X Version 11 libxcb 1.13 xcb_free_gc(3)