1xcb_xkb_list_components(3) XCB Requests xcb_xkb_list_components(3)
2
3
4
6 xcb_xkb_list_components -
7
9 #include <xcb/xkb.h>
10
11 Request function
12 xcb_xkb_list_components_cookie_t
13 xcb_xkb_list_components(xcb_connection_t *conn,
14 xcb_xkb_device_spec_t deviceSpec, uint16_t maxNames);
15
16 Reply datastructure
17 typedef struct xcb_xkb_list_components_reply_t {
18 uint8_t response_type;
19 uint8_t deviceID;
20 uint16_t sequence;
21 uint32_t length;
22 uint16_t nKeymaps;
23 uint16_t nKeycodes;
24 uint16_t nTypes;
25 uint16_t nCompatMaps;
26 uint16_t nSymbols;
27 uint16_t nGeometries;
28 uint16_t extra;
29 uint8_t pad0[10];
30 } xcb_xkb_list_components_reply_t;
31
32 Reply function
33 xcb_xkb_list_components_reply_t
34 *xcb_xkb_list_components_reply(xcb_connection_t *conn,
35 xcb_xkb_list_components_cookie_t cookie,
36 xcb_generic_error_t **e);
37
38 Reply accessors
39 int xcb_xkb_list_components_keymaps_length(const
40 xcb_xkb_list_components_reply_t *reply);
41
42 xcb_xkb_listing_iterator_t
43 xcb_xkb_list_components_keymaps_iterator(const
44 xcb_xkb_list_components_reply_t *reply);
45
46 int xcb_xkb_list_components_keycodes_length(const
47 xcb_xkb_list_components_reply_t *reply);
48
49 xcb_xkb_listing_iterator_t
50 xcb_xkb_list_components_keycodes_iterator(const
51 xcb_xkb_list_components_reply_t *reply);
52
53 int xcb_xkb_list_components_types_length(const
54 xcb_xkb_list_components_reply_t *reply);
55
56 xcb_xkb_listing_iterator_t xcb_xkb_list_components_types_iterator(const
57 xcb_xkb_list_components_reply_t *reply);
58
59 int xcb_xkb_list_components_compat_maps_length(const
60 xcb_xkb_list_components_reply_t *reply);
61
62 xcb_xkb_listing_iterator_t
63 xcb_xkb_list_components_compat_maps_iterator(const
64 xcb_xkb_list_components_reply_t *reply);
65
66 int xcb_xkb_list_components_symbols_length(const
67 xcb_xkb_list_components_reply_t *reply);
68
69 xcb_xkb_listing_iterator_t
70 xcb_xkb_list_components_symbols_iterator(const
71 xcb_xkb_list_components_reply_t *reply);
72
73 int xcb_xkb_list_components_geometries_length(const
74 xcb_xkb_list_components_reply_t *reply);
75
76 xcb_xkb_listing_iterator_t
77 xcb_xkb_list_components_geometries_iterator(const
78 xcb_xkb_list_components_reply_t *reply);
79
81 conn The XCB connection to X11.
82
83 deviceSpec
84 TODO: NOT YET DOCUMENTED.
85
86 maxNames TODO: NOT YET DOCUMENTED.
87
89 response_type
90 The type of this reply, in this case XCB_XKB_LIST_COMPONENTS.
91 This field is also present in the xcb_generic_reply_t and can
92 be used to tell replies apart from each other.
93
94 sequence The sequence number of the last request processed by the X11
95 server.
96
97 length The length of the reply, in words (a word is 4 bytes).
98
99 deviceID TODO: NOT YET DOCUMENTED.
100
101 nKeymaps TODO: NOT YET DOCUMENTED.
102
103 nKeycodes TODO: NOT YET DOCUMENTED.
104
105 nTypes TODO: NOT YET DOCUMENTED.
106
107 nCompatMaps
108 TODO: NOT YET DOCUMENTED.
109
110 nSymbols TODO: NOT YET DOCUMENTED.
111
112 nGeometries
113 TODO: NOT YET DOCUMENTED.
114
115 extra TODO: NOT YET DOCUMENTED.
116
119 Returns an xcb_xkb_list_components_cookie_t. Errors have to be handled
120 when calling the reply function xcb_xkb_list_components_reply.
121
122 If you want to handle errors in the event loop instead, use
123 xcb_xkb_list_components_unchecked. See xcb-requests(3) for details.
124
126 This request does never generate any errors.
127
130 Generated from xkb.xml. Contact xcb@lists.freedesktop.org for correcā
131 tions and improvements.
132
133
134
135X Version 11 libxcb 1.12 xcb_xkb_list_components(3)