1 // This file was generated by gir (https://github.com/gtk-rs/gir)
2 // from gir-files (https://github.com/gtk-rs/gir-files)
3 // DO NOT EDIT
4 
5 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
6 #![allow(
7     clippy::approx_constant,
8     clippy::type_complexity,
9     clippy::unreadable_literal,
10     clippy::upper_case_acronyms
11 )]
12 #![cfg_attr(feature = "dox", feature(doc_cfg))]
13 
14 use glib_sys as glib;
15 use gobject_sys as gobject;
16 
17 #[allow(unused_imports)]
18 use libc::{
19     c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
20     intptr_t, size_t, ssize_t, time_t, uintptr_t, FILE,
21 };
22 
23 #[allow(unused_imports)]
24 use glib::{gboolean, gconstpointer, gpointer, GType};
25 
26 // Aliases
27 pub type AtkAttributeSet = glib::GSList;
28 pub type AtkState = u64;
29 
30 // Enums
31 pub type AtkCoordType = c_int;
32 pub const ATK_XY_SCREEN: AtkCoordType = 0;
33 pub const ATK_XY_WINDOW: AtkCoordType = 1;
34 pub const ATK_XY_PARENT: AtkCoordType = 2;
35 
36 pub type AtkKeyEventType = c_int;
37 pub const ATK_KEY_EVENT_PRESS: AtkKeyEventType = 0;
38 pub const ATK_KEY_EVENT_RELEASE: AtkKeyEventType = 1;
39 pub const ATK_KEY_EVENT_LAST_DEFINED: AtkKeyEventType = 2;
40 
41 pub type AtkLayer = c_int;
42 pub const ATK_LAYER_INVALID: AtkLayer = 0;
43 pub const ATK_LAYER_BACKGROUND: AtkLayer = 1;
44 pub const ATK_LAYER_CANVAS: AtkLayer = 2;
45 pub const ATK_LAYER_WIDGET: AtkLayer = 3;
46 pub const ATK_LAYER_MDI: AtkLayer = 4;
47 pub const ATK_LAYER_POPUP: AtkLayer = 5;
48 pub const ATK_LAYER_OVERLAY: AtkLayer = 6;
49 pub const ATK_LAYER_WINDOW: AtkLayer = 7;
50 
51 pub type AtkRelationType = c_int;
52 pub const ATK_RELATION_NULL: AtkRelationType = 0;
53 pub const ATK_RELATION_CONTROLLED_BY: AtkRelationType = 1;
54 pub const ATK_RELATION_CONTROLLER_FOR: AtkRelationType = 2;
55 pub const ATK_RELATION_LABEL_FOR: AtkRelationType = 3;
56 pub const ATK_RELATION_LABELLED_BY: AtkRelationType = 4;
57 pub const ATK_RELATION_MEMBER_OF: AtkRelationType = 5;
58 pub const ATK_RELATION_NODE_CHILD_OF: AtkRelationType = 6;
59 pub const ATK_RELATION_FLOWS_TO: AtkRelationType = 7;
60 pub const ATK_RELATION_FLOWS_FROM: AtkRelationType = 8;
61 pub const ATK_RELATION_SUBWINDOW_OF: AtkRelationType = 9;
62 pub const ATK_RELATION_EMBEDS: AtkRelationType = 10;
63 pub const ATK_RELATION_EMBEDDED_BY: AtkRelationType = 11;
64 pub const ATK_RELATION_POPUP_FOR: AtkRelationType = 12;
65 pub const ATK_RELATION_PARENT_WINDOW_OF: AtkRelationType = 13;
66 pub const ATK_RELATION_DESCRIBED_BY: AtkRelationType = 14;
67 pub const ATK_RELATION_DESCRIPTION_FOR: AtkRelationType = 15;
68 pub const ATK_RELATION_NODE_PARENT_OF: AtkRelationType = 16;
69 pub const ATK_RELATION_DETAILS: AtkRelationType = 17;
70 pub const ATK_RELATION_DETAILS_FOR: AtkRelationType = 18;
71 pub const ATK_RELATION_ERROR_MESSAGE: AtkRelationType = 19;
72 pub const ATK_RELATION_ERROR_FOR: AtkRelationType = 20;
73 pub const ATK_RELATION_LAST_DEFINED: AtkRelationType = 21;
74 
75 pub type AtkRole = c_int;
76 pub const ATK_ROLE_INVALID: AtkRole = 0;
77 pub const ATK_ROLE_ACCEL_LABEL: AtkRole = 1;
78 pub const ATK_ROLE_ALERT: AtkRole = 2;
79 pub const ATK_ROLE_ANIMATION: AtkRole = 3;
80 pub const ATK_ROLE_ARROW: AtkRole = 4;
81 pub const ATK_ROLE_CALENDAR: AtkRole = 5;
82 pub const ATK_ROLE_CANVAS: AtkRole = 6;
83 pub const ATK_ROLE_CHECK_BOX: AtkRole = 7;
84 pub const ATK_ROLE_CHECK_MENU_ITEM: AtkRole = 8;
85 pub const ATK_ROLE_COLOR_CHOOSER: AtkRole = 9;
86 pub const ATK_ROLE_COLUMN_HEADER: AtkRole = 10;
87 pub const ATK_ROLE_COMBO_BOX: AtkRole = 11;
88 pub const ATK_ROLE_DATE_EDITOR: AtkRole = 12;
89 pub const ATK_ROLE_DESKTOP_ICON: AtkRole = 13;
90 pub const ATK_ROLE_DESKTOP_FRAME: AtkRole = 14;
91 pub const ATK_ROLE_DIAL: AtkRole = 15;
92 pub const ATK_ROLE_DIALOG: AtkRole = 16;
93 pub const ATK_ROLE_DIRECTORY_PANE: AtkRole = 17;
94 pub const ATK_ROLE_DRAWING_AREA: AtkRole = 18;
95 pub const ATK_ROLE_FILE_CHOOSER: AtkRole = 19;
96 pub const ATK_ROLE_FILLER: AtkRole = 20;
97 pub const ATK_ROLE_FONT_CHOOSER: AtkRole = 21;
98 pub const ATK_ROLE_FRAME: AtkRole = 22;
99 pub const ATK_ROLE_GLASS_PANE: AtkRole = 23;
100 pub const ATK_ROLE_HTML_CONTAINER: AtkRole = 24;
101 pub const ATK_ROLE_ICON: AtkRole = 25;
102 pub const ATK_ROLE_IMAGE: AtkRole = 26;
103 pub const ATK_ROLE_INTERNAL_FRAME: AtkRole = 27;
104 pub const ATK_ROLE_LABEL: AtkRole = 28;
105 pub const ATK_ROLE_LAYERED_PANE: AtkRole = 29;
106 pub const ATK_ROLE_LIST: AtkRole = 30;
107 pub const ATK_ROLE_LIST_ITEM: AtkRole = 31;
108 pub const ATK_ROLE_MENU: AtkRole = 32;
109 pub const ATK_ROLE_MENU_BAR: AtkRole = 33;
110 pub const ATK_ROLE_MENU_ITEM: AtkRole = 34;
111 pub const ATK_ROLE_OPTION_PANE: AtkRole = 35;
112 pub const ATK_ROLE_PAGE_TAB: AtkRole = 36;
113 pub const ATK_ROLE_PAGE_TAB_LIST: AtkRole = 37;
114 pub const ATK_ROLE_PANEL: AtkRole = 38;
115 pub const ATK_ROLE_PASSWORD_TEXT: AtkRole = 39;
116 pub const ATK_ROLE_POPUP_MENU: AtkRole = 40;
117 pub const ATK_ROLE_PROGRESS_BAR: AtkRole = 41;
118 pub const ATK_ROLE_PUSH_BUTTON: AtkRole = 42;
119 pub const ATK_ROLE_RADIO_BUTTON: AtkRole = 43;
120 pub const ATK_ROLE_RADIO_MENU_ITEM: AtkRole = 44;
121 pub const ATK_ROLE_ROOT_PANE: AtkRole = 45;
122 pub const ATK_ROLE_ROW_HEADER: AtkRole = 46;
123 pub const ATK_ROLE_SCROLL_BAR: AtkRole = 47;
124 pub const ATK_ROLE_SCROLL_PANE: AtkRole = 48;
125 pub const ATK_ROLE_SEPARATOR: AtkRole = 49;
126 pub const ATK_ROLE_SLIDER: AtkRole = 50;
127 pub const ATK_ROLE_SPLIT_PANE: AtkRole = 51;
128 pub const ATK_ROLE_SPIN_BUTTON: AtkRole = 52;
129 pub const ATK_ROLE_STATUSBAR: AtkRole = 53;
130 pub const ATK_ROLE_TABLE: AtkRole = 54;
131 pub const ATK_ROLE_TABLE_CELL: AtkRole = 55;
132 pub const ATK_ROLE_TABLE_COLUMN_HEADER: AtkRole = 56;
133 pub const ATK_ROLE_TABLE_ROW_HEADER: AtkRole = 57;
134 pub const ATK_ROLE_TEAR_OFF_MENU_ITEM: AtkRole = 58;
135 pub const ATK_ROLE_TERMINAL: AtkRole = 59;
136 pub const ATK_ROLE_TEXT: AtkRole = 60;
137 pub const ATK_ROLE_TOGGLE_BUTTON: AtkRole = 61;
138 pub const ATK_ROLE_TOOL_BAR: AtkRole = 62;
139 pub const ATK_ROLE_TOOL_TIP: AtkRole = 63;
140 pub const ATK_ROLE_TREE: AtkRole = 64;
141 pub const ATK_ROLE_TREE_TABLE: AtkRole = 65;
142 pub const ATK_ROLE_UNKNOWN: AtkRole = 66;
143 pub const ATK_ROLE_VIEWPORT: AtkRole = 67;
144 pub const ATK_ROLE_WINDOW: AtkRole = 68;
145 pub const ATK_ROLE_HEADER: AtkRole = 69;
146 pub const ATK_ROLE_FOOTER: AtkRole = 70;
147 pub const ATK_ROLE_PARAGRAPH: AtkRole = 71;
148 pub const ATK_ROLE_RULER: AtkRole = 72;
149 pub const ATK_ROLE_APPLICATION: AtkRole = 73;
150 pub const ATK_ROLE_AUTOCOMPLETE: AtkRole = 74;
151 pub const ATK_ROLE_EDITBAR: AtkRole = 75;
152 pub const ATK_ROLE_EMBEDDED: AtkRole = 76;
153 pub const ATK_ROLE_ENTRY: AtkRole = 77;
154 pub const ATK_ROLE_CHART: AtkRole = 78;
155 pub const ATK_ROLE_CAPTION: AtkRole = 79;
156 pub const ATK_ROLE_DOCUMENT_FRAME: AtkRole = 80;
157 pub const ATK_ROLE_HEADING: AtkRole = 81;
158 pub const ATK_ROLE_PAGE: AtkRole = 82;
159 pub const ATK_ROLE_SECTION: AtkRole = 83;
160 pub const ATK_ROLE_REDUNDANT_OBJECT: AtkRole = 84;
161 pub const ATK_ROLE_FORM: AtkRole = 85;
162 pub const ATK_ROLE_LINK: AtkRole = 86;
163 pub const ATK_ROLE_INPUT_METHOD_WINDOW: AtkRole = 87;
164 pub const ATK_ROLE_TABLE_ROW: AtkRole = 88;
165 pub const ATK_ROLE_TREE_ITEM: AtkRole = 89;
166 pub const ATK_ROLE_DOCUMENT_SPREADSHEET: AtkRole = 90;
167 pub const ATK_ROLE_DOCUMENT_PRESENTATION: AtkRole = 91;
168 pub const ATK_ROLE_DOCUMENT_TEXT: AtkRole = 92;
169 pub const ATK_ROLE_DOCUMENT_WEB: AtkRole = 93;
170 pub const ATK_ROLE_DOCUMENT_EMAIL: AtkRole = 94;
171 pub const ATK_ROLE_COMMENT: AtkRole = 95;
172 pub const ATK_ROLE_LIST_BOX: AtkRole = 96;
173 pub const ATK_ROLE_GROUPING: AtkRole = 97;
174 pub const ATK_ROLE_IMAGE_MAP: AtkRole = 98;
175 pub const ATK_ROLE_NOTIFICATION: AtkRole = 99;
176 pub const ATK_ROLE_INFO_BAR: AtkRole = 100;
177 pub const ATK_ROLE_LEVEL_BAR: AtkRole = 101;
178 pub const ATK_ROLE_TITLE_BAR: AtkRole = 102;
179 pub const ATK_ROLE_BLOCK_QUOTE: AtkRole = 103;
180 pub const ATK_ROLE_AUDIO: AtkRole = 104;
181 pub const ATK_ROLE_VIDEO: AtkRole = 105;
182 pub const ATK_ROLE_DEFINITION: AtkRole = 106;
183 pub const ATK_ROLE_ARTICLE: AtkRole = 107;
184 pub const ATK_ROLE_LANDMARK: AtkRole = 108;
185 pub const ATK_ROLE_LOG: AtkRole = 109;
186 pub const ATK_ROLE_MARQUEE: AtkRole = 110;
187 pub const ATK_ROLE_MATH: AtkRole = 111;
188 pub const ATK_ROLE_RATING: AtkRole = 112;
189 pub const ATK_ROLE_TIMER: AtkRole = 113;
190 pub const ATK_ROLE_DESCRIPTION_LIST: AtkRole = 114;
191 pub const ATK_ROLE_DESCRIPTION_TERM: AtkRole = 115;
192 pub const ATK_ROLE_DESCRIPTION_VALUE: AtkRole = 116;
193 pub const ATK_ROLE_STATIC: AtkRole = 117;
194 pub const ATK_ROLE_MATH_FRACTION: AtkRole = 118;
195 pub const ATK_ROLE_MATH_ROOT: AtkRole = 119;
196 pub const ATK_ROLE_SUBSCRIPT: AtkRole = 120;
197 pub const ATK_ROLE_SUPERSCRIPT: AtkRole = 121;
198 pub const ATK_ROLE_FOOTNOTE: AtkRole = 122;
199 pub const ATK_ROLE_CONTENT_DELETION: AtkRole = 123;
200 pub const ATK_ROLE_CONTENT_INSERTION: AtkRole = 124;
201 pub const ATK_ROLE_MARK: AtkRole = 125;
202 pub const ATK_ROLE_SUGGESTION: AtkRole = 126;
203 pub const ATK_ROLE_LAST_DEFINED: AtkRole = 127;
204 
205 pub type AtkScrollType = c_int;
206 pub const ATK_SCROLL_TOP_LEFT: AtkScrollType = 0;
207 pub const ATK_SCROLL_BOTTOM_RIGHT: AtkScrollType = 1;
208 pub const ATK_SCROLL_TOP_EDGE: AtkScrollType = 2;
209 pub const ATK_SCROLL_BOTTOM_EDGE: AtkScrollType = 3;
210 pub const ATK_SCROLL_LEFT_EDGE: AtkScrollType = 4;
211 pub const ATK_SCROLL_RIGHT_EDGE: AtkScrollType = 5;
212 pub const ATK_SCROLL_ANYWHERE: AtkScrollType = 6;
213 
214 pub type AtkStateType = c_int;
215 pub const ATK_STATE_INVALID: AtkStateType = 0;
216 pub const ATK_STATE_ACTIVE: AtkStateType = 1;
217 pub const ATK_STATE_ARMED: AtkStateType = 2;
218 pub const ATK_STATE_BUSY: AtkStateType = 3;
219 pub const ATK_STATE_CHECKED: AtkStateType = 4;
220 pub const ATK_STATE_DEFUNCT: AtkStateType = 5;
221 pub const ATK_STATE_EDITABLE: AtkStateType = 6;
222 pub const ATK_STATE_ENABLED: AtkStateType = 7;
223 pub const ATK_STATE_EXPANDABLE: AtkStateType = 8;
224 pub const ATK_STATE_EXPANDED: AtkStateType = 9;
225 pub const ATK_STATE_FOCUSABLE: AtkStateType = 10;
226 pub const ATK_STATE_FOCUSED: AtkStateType = 11;
227 pub const ATK_STATE_HORIZONTAL: AtkStateType = 12;
228 pub const ATK_STATE_ICONIFIED: AtkStateType = 13;
229 pub const ATK_STATE_MODAL: AtkStateType = 14;
230 pub const ATK_STATE_MULTI_LINE: AtkStateType = 15;
231 pub const ATK_STATE_MULTISELECTABLE: AtkStateType = 16;
232 pub const ATK_STATE_OPAQUE: AtkStateType = 17;
233 pub const ATK_STATE_PRESSED: AtkStateType = 18;
234 pub const ATK_STATE_RESIZABLE: AtkStateType = 19;
235 pub const ATK_STATE_SELECTABLE: AtkStateType = 20;
236 pub const ATK_STATE_SELECTED: AtkStateType = 21;
237 pub const ATK_STATE_SENSITIVE: AtkStateType = 22;
238 pub const ATK_STATE_SHOWING: AtkStateType = 23;
239 pub const ATK_STATE_SINGLE_LINE: AtkStateType = 24;
240 pub const ATK_STATE_STALE: AtkStateType = 25;
241 pub const ATK_STATE_TRANSIENT: AtkStateType = 26;
242 pub const ATK_STATE_VERTICAL: AtkStateType = 27;
243 pub const ATK_STATE_VISIBLE: AtkStateType = 28;
244 pub const ATK_STATE_MANAGES_DESCENDANTS: AtkStateType = 29;
245 pub const ATK_STATE_INDETERMINATE: AtkStateType = 30;
246 pub const ATK_STATE_TRUNCATED: AtkStateType = 31;
247 pub const ATK_STATE_REQUIRED: AtkStateType = 32;
248 pub const ATK_STATE_INVALID_ENTRY: AtkStateType = 33;
249 pub const ATK_STATE_SUPPORTS_AUTOCOMPLETION: AtkStateType = 34;
250 pub const ATK_STATE_SELECTABLE_TEXT: AtkStateType = 35;
251 pub const ATK_STATE_DEFAULT: AtkStateType = 36;
252 pub const ATK_STATE_ANIMATED: AtkStateType = 37;
253 pub const ATK_STATE_VISITED: AtkStateType = 38;
254 pub const ATK_STATE_CHECKABLE: AtkStateType = 39;
255 pub const ATK_STATE_HAS_POPUP: AtkStateType = 40;
256 pub const ATK_STATE_HAS_TOOLTIP: AtkStateType = 41;
257 pub const ATK_STATE_READ_ONLY: AtkStateType = 42;
258 pub const ATK_STATE_LAST_DEFINED: AtkStateType = 43;
259 
260 pub type AtkTextAttribute = c_int;
261 pub const ATK_TEXT_ATTR_INVALID: AtkTextAttribute = 0;
262 pub const ATK_TEXT_ATTR_LEFT_MARGIN: AtkTextAttribute = 1;
263 pub const ATK_TEXT_ATTR_RIGHT_MARGIN: AtkTextAttribute = 2;
264 pub const ATK_TEXT_ATTR_INDENT: AtkTextAttribute = 3;
265 pub const ATK_TEXT_ATTR_INVISIBLE: AtkTextAttribute = 4;
266 pub const ATK_TEXT_ATTR_EDITABLE: AtkTextAttribute = 5;
267 pub const ATK_TEXT_ATTR_PIXELS_ABOVE_LINES: AtkTextAttribute = 6;
268 pub const ATK_TEXT_ATTR_PIXELS_BELOW_LINES: AtkTextAttribute = 7;
269 pub const ATK_TEXT_ATTR_PIXELS_INSIDE_WRAP: AtkTextAttribute = 8;
270 pub const ATK_TEXT_ATTR_BG_FULL_HEIGHT: AtkTextAttribute = 9;
271 pub const ATK_TEXT_ATTR_RISE: AtkTextAttribute = 10;
272 pub const ATK_TEXT_ATTR_UNDERLINE: AtkTextAttribute = 11;
273 pub const ATK_TEXT_ATTR_STRIKETHROUGH: AtkTextAttribute = 12;
274 pub const ATK_TEXT_ATTR_SIZE: AtkTextAttribute = 13;
275 pub const ATK_TEXT_ATTR_SCALE: AtkTextAttribute = 14;
276 pub const ATK_TEXT_ATTR_WEIGHT: AtkTextAttribute = 15;
277 pub const ATK_TEXT_ATTR_LANGUAGE: AtkTextAttribute = 16;
278 pub const ATK_TEXT_ATTR_FAMILY_NAME: AtkTextAttribute = 17;
279 pub const ATK_TEXT_ATTR_BG_COLOR: AtkTextAttribute = 18;
280 pub const ATK_TEXT_ATTR_FG_COLOR: AtkTextAttribute = 19;
281 pub const ATK_TEXT_ATTR_BG_STIPPLE: AtkTextAttribute = 20;
282 pub const ATK_TEXT_ATTR_FG_STIPPLE: AtkTextAttribute = 21;
283 pub const ATK_TEXT_ATTR_WRAP_MODE: AtkTextAttribute = 22;
284 pub const ATK_TEXT_ATTR_DIRECTION: AtkTextAttribute = 23;
285 pub const ATK_TEXT_ATTR_JUSTIFICATION: AtkTextAttribute = 24;
286 pub const ATK_TEXT_ATTR_STRETCH: AtkTextAttribute = 25;
287 pub const ATK_TEXT_ATTR_VARIANT: AtkTextAttribute = 26;
288 pub const ATK_TEXT_ATTR_STYLE: AtkTextAttribute = 27;
289 pub const ATK_TEXT_ATTR_TEXT_POSITION: AtkTextAttribute = 28;
290 pub const ATK_TEXT_ATTR_LAST_DEFINED: AtkTextAttribute = 29;
291 
292 pub type AtkTextBoundary = c_int;
293 pub const ATK_TEXT_BOUNDARY_CHAR: AtkTextBoundary = 0;
294 pub const ATK_TEXT_BOUNDARY_WORD_START: AtkTextBoundary = 1;
295 pub const ATK_TEXT_BOUNDARY_WORD_END: AtkTextBoundary = 2;
296 pub const ATK_TEXT_BOUNDARY_SENTENCE_START: AtkTextBoundary = 3;
297 pub const ATK_TEXT_BOUNDARY_SENTENCE_END: AtkTextBoundary = 4;
298 pub const ATK_TEXT_BOUNDARY_LINE_START: AtkTextBoundary = 5;
299 pub const ATK_TEXT_BOUNDARY_LINE_END: AtkTextBoundary = 6;
300 
301 pub type AtkTextClipType = c_int;
302 pub const ATK_TEXT_CLIP_NONE: AtkTextClipType = 0;
303 pub const ATK_TEXT_CLIP_MIN: AtkTextClipType = 1;
304 pub const ATK_TEXT_CLIP_MAX: AtkTextClipType = 2;
305 pub const ATK_TEXT_CLIP_BOTH: AtkTextClipType = 3;
306 
307 pub type AtkTextGranularity = c_int;
308 pub const ATK_TEXT_GRANULARITY_CHAR: AtkTextGranularity = 0;
309 pub const ATK_TEXT_GRANULARITY_WORD: AtkTextGranularity = 1;
310 pub const ATK_TEXT_GRANULARITY_SENTENCE: AtkTextGranularity = 2;
311 pub const ATK_TEXT_GRANULARITY_LINE: AtkTextGranularity = 3;
312 pub const ATK_TEXT_GRANULARITY_PARAGRAPH: AtkTextGranularity = 4;
313 
314 pub type AtkValueType = c_int;
315 pub const ATK_VALUE_VERY_WEAK: AtkValueType = 0;
316 pub const ATK_VALUE_WEAK: AtkValueType = 1;
317 pub const ATK_VALUE_ACCEPTABLE: AtkValueType = 2;
318 pub const ATK_VALUE_STRONG: AtkValueType = 3;
319 pub const ATK_VALUE_VERY_STRONG: AtkValueType = 4;
320 pub const ATK_VALUE_VERY_LOW: AtkValueType = 5;
321 pub const ATK_VALUE_LOW: AtkValueType = 6;
322 pub const ATK_VALUE_MEDIUM: AtkValueType = 7;
323 pub const ATK_VALUE_HIGH: AtkValueType = 8;
324 pub const ATK_VALUE_VERY_HIGH: AtkValueType = 9;
325 pub const ATK_VALUE_VERY_BAD: AtkValueType = 10;
326 pub const ATK_VALUE_BAD: AtkValueType = 11;
327 pub const ATK_VALUE_GOOD: AtkValueType = 12;
328 pub const ATK_VALUE_VERY_GOOD: AtkValueType = 13;
329 pub const ATK_VALUE_BEST: AtkValueType = 14;
330 pub const ATK_VALUE_LAST_DEFINED: AtkValueType = 15;
331 
332 // Constants
333 
334 // Flags
335 pub type AtkHyperlinkStateFlags = c_uint;
336 pub const ATK_HYPERLINK_IS_INLINE: AtkHyperlinkStateFlags = 1;
337 
338 // Callbacks
339 pub type AtkEventListener = Option<unsafe extern "C" fn(*mut AtkObject)>;
340 pub type AtkEventListenerInit = Option<unsafe extern "C" fn()>;
341 pub type AtkFocusHandler = Option<unsafe extern "C" fn(*mut AtkObject, gboolean)>;
342 pub type AtkFunction = Option<unsafe extern "C" fn(gpointer) -> gboolean>;
343 pub type AtkKeySnoopFunc = Option<unsafe extern "C" fn(*mut AtkKeyEventStruct, gpointer) -> c_int>;
344 pub type AtkPropertyChangeHandler =
345     Option<unsafe extern "C" fn(*mut AtkObject, *mut AtkPropertyValues)>;
346 
347 // Records
348 #[repr(C)]
349 #[derive(Copy, Clone)]
350 pub struct AtkActionIface {
351     pub parent: gobject::GTypeInterface,
352     pub do_action: Option<unsafe extern "C" fn(*mut AtkAction, c_int) -> gboolean>,
353     pub get_n_actions: Option<unsafe extern "C" fn(*mut AtkAction) -> c_int>,
354     pub get_description: Option<unsafe extern "C" fn(*mut AtkAction, c_int) -> *const c_char>,
355     pub get_name: Option<unsafe extern "C" fn(*mut AtkAction, c_int) -> *const c_char>,
356     pub get_keybinding: Option<unsafe extern "C" fn(*mut AtkAction, c_int) -> *const c_char>,
357     pub set_description:
358         Option<unsafe extern "C" fn(*mut AtkAction, c_int, *const c_char) -> gboolean>,
359     pub get_localized_name: Option<unsafe extern "C" fn(*mut AtkAction, c_int) -> *const c_char>,
360 }
361 
362 impl ::std::fmt::Debug for AtkActionIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result363     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
364         f.debug_struct(&format!("AtkActionIface @ {:p}", self))
365             .field("do_action", &self.do_action)
366             .field("get_n_actions", &self.get_n_actions)
367             .field("get_description", &self.get_description)
368             .field("get_name", &self.get_name)
369             .field("get_keybinding", &self.get_keybinding)
370             .field("set_description", &self.set_description)
371             .field("get_localized_name", &self.get_localized_name)
372             .finish()
373     }
374 }
375 
376 #[repr(C)]
377 #[derive(Copy, Clone)]
378 pub struct AtkAttribute {
379     pub name: *mut c_char,
380     pub value: *mut c_char,
381 }
382 
383 impl ::std::fmt::Debug for AtkAttribute {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result384     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
385         f.debug_struct(&format!("AtkAttribute @ {:p}", self))
386             .field("name", &self.name)
387             .field("value", &self.value)
388             .finish()
389     }
390 }
391 
392 #[repr(C)]
393 #[derive(Copy, Clone)]
394 pub struct AtkComponentIface {
395     pub parent: gobject::GTypeInterface,
396     pub add_focus_handler:
397         Option<unsafe extern "C" fn(*mut AtkComponent, AtkFocusHandler) -> c_uint>,
398     pub contains:
399         Option<unsafe extern "C" fn(*mut AtkComponent, c_int, c_int, AtkCoordType) -> gboolean>,
400     pub ref_accessible_at_point: Option<
401         unsafe extern "C" fn(*mut AtkComponent, c_int, c_int, AtkCoordType) -> *mut AtkObject,
402     >,
403     pub get_extents: Option<
404         unsafe extern "C" fn(
405             *mut AtkComponent,
406             *mut c_int,
407             *mut c_int,
408             *mut c_int,
409             *mut c_int,
410             AtkCoordType,
411         ),
412     >,
413     pub get_position:
414         Option<unsafe extern "C" fn(*mut AtkComponent, *mut c_int, *mut c_int, AtkCoordType)>,
415     pub get_size: Option<unsafe extern "C" fn(*mut AtkComponent, *mut c_int, *mut c_int)>,
416     pub grab_focus: Option<unsafe extern "C" fn(*mut AtkComponent) -> gboolean>,
417     pub remove_focus_handler: Option<unsafe extern "C" fn(*mut AtkComponent, c_uint)>,
418     pub set_extents: Option<
419         unsafe extern "C" fn(
420             *mut AtkComponent,
421             c_int,
422             c_int,
423             c_int,
424             c_int,
425             AtkCoordType,
426         ) -> gboolean,
427     >,
428     pub set_position:
429         Option<unsafe extern "C" fn(*mut AtkComponent, c_int, c_int, AtkCoordType) -> gboolean>,
430     pub set_size: Option<unsafe extern "C" fn(*mut AtkComponent, c_int, c_int) -> gboolean>,
431     pub get_layer: Option<unsafe extern "C" fn(*mut AtkComponent) -> AtkLayer>,
432     pub get_mdi_zorder: Option<unsafe extern "C" fn(*mut AtkComponent) -> c_int>,
433     pub bounds_changed: Option<unsafe extern "C" fn(*mut AtkComponent, *mut AtkRectangle)>,
434     pub get_alpha: Option<unsafe extern "C" fn(*mut AtkComponent) -> c_double>,
435     pub scroll_to: Option<unsafe extern "C" fn(*mut AtkComponent, AtkScrollType) -> gboolean>,
436     pub scroll_to_point:
437         Option<unsafe extern "C" fn(*mut AtkComponent, AtkCoordType, c_int, c_int) -> gboolean>,
438 }
439 
440 impl ::std::fmt::Debug for AtkComponentIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result441     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
442         f.debug_struct(&format!("AtkComponentIface @ {:p}", self))
443             .field("add_focus_handler", &self.add_focus_handler)
444             .field("contains", &self.contains)
445             .field("ref_accessible_at_point", &self.ref_accessible_at_point)
446             .field("get_extents", &self.get_extents)
447             .field("get_position", &self.get_position)
448             .field("get_size", &self.get_size)
449             .field("grab_focus", &self.grab_focus)
450             .field("remove_focus_handler", &self.remove_focus_handler)
451             .field("set_extents", &self.set_extents)
452             .field("set_position", &self.set_position)
453             .field("set_size", &self.set_size)
454             .field("get_layer", &self.get_layer)
455             .field("get_mdi_zorder", &self.get_mdi_zorder)
456             .field("bounds_changed", &self.bounds_changed)
457             .field("get_alpha", &self.get_alpha)
458             .field("scroll_to", &self.scroll_to)
459             .field("scroll_to_point", &self.scroll_to_point)
460             .finish()
461     }
462 }
463 
464 #[repr(C)]
465 #[derive(Copy, Clone)]
466 pub struct AtkDocumentIface {
467     pub parent: gobject::GTypeInterface,
468     pub get_document_type: Option<unsafe extern "C" fn(*mut AtkDocument) -> *const c_char>,
469     pub get_document: Option<unsafe extern "C" fn(*mut AtkDocument) -> gpointer>,
470     pub get_document_locale: Option<unsafe extern "C" fn(*mut AtkDocument) -> *const c_char>,
471     pub get_document_attributes:
472         Option<unsafe extern "C" fn(*mut AtkDocument) -> *mut AtkAttributeSet>,
473     pub get_document_attribute_value:
474         Option<unsafe extern "C" fn(*mut AtkDocument, *const c_char) -> *const c_char>,
475     pub set_document_attribute:
476         Option<unsafe extern "C" fn(*mut AtkDocument, *const c_char, *const c_char) -> gboolean>,
477     pub get_current_page_number: Option<unsafe extern "C" fn(*mut AtkDocument) -> c_int>,
478     pub get_page_count: Option<unsafe extern "C" fn(*mut AtkDocument) -> c_int>,
479 }
480 
481 impl ::std::fmt::Debug for AtkDocumentIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result482     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
483         f.debug_struct(&format!("AtkDocumentIface @ {:p}", self))
484             .field("parent", &self.parent)
485             .field("get_document_type", &self.get_document_type)
486             .field("get_document", &self.get_document)
487             .field("get_document_locale", &self.get_document_locale)
488             .field("get_document_attributes", &self.get_document_attributes)
489             .field(
490                 "get_document_attribute_value",
491                 &self.get_document_attribute_value,
492             )
493             .field("set_document_attribute", &self.set_document_attribute)
494             .field("get_current_page_number", &self.get_current_page_number)
495             .field("get_page_count", &self.get_page_count)
496             .finish()
497     }
498 }
499 
500 #[repr(C)]
501 #[derive(Copy, Clone)]
502 pub struct AtkEditableTextIface {
503     pub parent_interface: gobject::GTypeInterface,
504     pub set_run_attributes: Option<
505         unsafe extern "C" fn(*mut AtkEditableText, *mut AtkAttributeSet, c_int, c_int) -> gboolean,
506     >,
507     pub set_text_contents: Option<unsafe extern "C" fn(*mut AtkEditableText, *const c_char)>,
508     pub insert_text:
509         Option<unsafe extern "C" fn(*mut AtkEditableText, *const c_char, c_int, *mut c_int)>,
510     pub copy_text: Option<unsafe extern "C" fn(*mut AtkEditableText, c_int, c_int)>,
511     pub cut_text: Option<unsafe extern "C" fn(*mut AtkEditableText, c_int, c_int)>,
512     pub delete_text: Option<unsafe extern "C" fn(*mut AtkEditableText, c_int, c_int)>,
513     pub paste_text: Option<unsafe extern "C" fn(*mut AtkEditableText, c_int)>,
514 }
515 
516 impl ::std::fmt::Debug for AtkEditableTextIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result517     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
518         f.debug_struct(&format!("AtkEditableTextIface @ {:p}", self))
519             .field("parent_interface", &self.parent_interface)
520             .field("set_run_attributes", &self.set_run_attributes)
521             .field("set_text_contents", &self.set_text_contents)
522             .field("insert_text", &self.insert_text)
523             .field("copy_text", &self.copy_text)
524             .field("cut_text", &self.cut_text)
525             .field("delete_text", &self.delete_text)
526             .field("paste_text", &self.paste_text)
527             .finish()
528     }
529 }
530 
531 #[repr(C)]
532 #[derive(Copy, Clone)]
533 pub struct AtkGObjectAccessibleClass {
534     pub parent_class: AtkObjectClass,
535     pub pad1: AtkFunction,
536     pub pad2: AtkFunction,
537 }
538 
539 impl ::std::fmt::Debug for AtkGObjectAccessibleClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result540     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
541         f.debug_struct(&format!("AtkGObjectAccessibleClass @ {:p}", self))
542             .field("parent_class", &self.parent_class)
543             .field("pad1", &self.pad1)
544             .field("pad2", &self.pad2)
545             .finish()
546     }
547 }
548 
549 #[repr(C)]
550 #[derive(Copy, Clone)]
551 pub struct AtkHyperlinkClass {
552     pub parent: gobject::GObjectClass,
553     pub get_uri: Option<unsafe extern "C" fn(*mut AtkHyperlink, c_int) -> *mut c_char>,
554     pub get_object: Option<unsafe extern "C" fn(*mut AtkHyperlink, c_int) -> *mut AtkObject>,
555     pub get_end_index: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> c_int>,
556     pub get_start_index: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> c_int>,
557     pub is_valid: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> gboolean>,
558     pub get_n_anchors: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> c_int>,
559     pub link_state: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> c_uint>,
560     pub is_selected_link: Option<unsafe extern "C" fn(*mut AtkHyperlink) -> gboolean>,
561     pub link_activated: Option<unsafe extern "C" fn(*mut AtkHyperlink)>,
562     pub pad1: AtkFunction,
563 }
564 
565 impl ::std::fmt::Debug for AtkHyperlinkClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result566     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
567         f.debug_struct(&format!("AtkHyperlinkClass @ {:p}", self))
568             .field("parent", &self.parent)
569             .field("get_uri", &self.get_uri)
570             .field("get_object", &self.get_object)
571             .field("get_end_index", &self.get_end_index)
572             .field("get_start_index", &self.get_start_index)
573             .field("is_valid", &self.is_valid)
574             .field("get_n_anchors", &self.get_n_anchors)
575             .field("link_state", &self.link_state)
576             .field("is_selected_link", &self.is_selected_link)
577             .field("link_activated", &self.link_activated)
578             .field("pad1", &self.pad1)
579             .finish()
580     }
581 }
582 
583 #[repr(C)]
584 #[derive(Copy, Clone)]
585 pub struct AtkHyperlinkImplIface {
586     pub parent: gobject::GTypeInterface,
587     pub get_hyperlink: Option<unsafe extern "C" fn(*mut AtkHyperlinkImpl) -> *mut AtkHyperlink>,
588 }
589 
590 impl ::std::fmt::Debug for AtkHyperlinkImplIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result591     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
592         f.debug_struct(&format!("AtkHyperlinkImplIface @ {:p}", self))
593             .field("parent", &self.parent)
594             .field("get_hyperlink", &self.get_hyperlink)
595             .finish()
596     }
597 }
598 
599 #[repr(C)]
600 #[derive(Copy, Clone)]
601 pub struct AtkHypertextIface {
602     pub parent: gobject::GTypeInterface,
603     pub get_link: Option<unsafe extern "C" fn(*mut AtkHypertext, c_int) -> *mut AtkHyperlink>,
604     pub get_n_links: Option<unsafe extern "C" fn(*mut AtkHypertext) -> c_int>,
605     pub get_link_index: Option<unsafe extern "C" fn(*mut AtkHypertext, c_int) -> c_int>,
606     pub link_selected: Option<unsafe extern "C" fn(*mut AtkHypertext, c_int)>,
607 }
608 
609 impl ::std::fmt::Debug for AtkHypertextIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result610     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
611         f.debug_struct(&format!("AtkHypertextIface @ {:p}", self))
612             .field("parent", &self.parent)
613             .field("get_link", &self.get_link)
614             .field("get_n_links", &self.get_n_links)
615             .field("get_link_index", &self.get_link_index)
616             .field("link_selected", &self.link_selected)
617             .finish()
618     }
619 }
620 
621 #[repr(C)]
622 #[derive(Copy, Clone)]
623 pub struct AtkImageIface {
624     pub parent: gobject::GTypeInterface,
625     pub get_image_position:
626         Option<unsafe extern "C" fn(*mut AtkImage, *mut c_int, *mut c_int, AtkCoordType)>,
627     pub get_image_description: Option<unsafe extern "C" fn(*mut AtkImage) -> *const c_char>,
628     pub get_image_size: Option<unsafe extern "C" fn(*mut AtkImage, *mut c_int, *mut c_int)>,
629     pub set_image_description:
630         Option<unsafe extern "C" fn(*mut AtkImage, *const c_char) -> gboolean>,
631     pub get_image_locale: Option<unsafe extern "C" fn(*mut AtkImage) -> *const c_char>,
632 }
633 
634 impl ::std::fmt::Debug for AtkImageIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result635     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
636         f.debug_struct(&format!("AtkImageIface @ {:p}", self))
637             .field("parent", &self.parent)
638             .field("get_image_position", &self.get_image_position)
639             .field("get_image_description", &self.get_image_description)
640             .field("get_image_size", &self.get_image_size)
641             .field("set_image_description", &self.set_image_description)
642             .field("get_image_locale", &self.get_image_locale)
643             .finish()
644     }
645 }
646 
647 #[repr(C)]
648 pub struct _AtkImplementor(c_void);
649 
650 pub type AtkImplementor = *mut _AtkImplementor;
651 
652 #[repr(C)]
653 #[derive(Copy, Clone)]
654 pub struct AtkKeyEventStruct {
655     pub type_: c_int,
656     pub state: c_uint,
657     pub keyval: c_uint,
658     pub length: c_int,
659     pub string: *mut c_char,
660     pub keycode: u16,
661     pub timestamp: u32,
662 }
663 
664 impl ::std::fmt::Debug for AtkKeyEventStruct {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result665     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
666         f.debug_struct(&format!("AtkKeyEventStruct @ {:p}", self))
667             .field("type_", &self.type_)
668             .field("state", &self.state)
669             .field("keyval", &self.keyval)
670             .field("length", &self.length)
671             .field("string", &self.string)
672             .field("keycode", &self.keycode)
673             .field("timestamp", &self.timestamp)
674             .finish()
675     }
676 }
677 
678 #[repr(C)]
679 #[derive(Copy, Clone)]
680 pub struct AtkMiscClass {
681     pub parent: gobject::GObjectClass,
682     pub threads_enter: Option<unsafe extern "C" fn(*mut AtkMisc)>,
683     pub threads_leave: Option<unsafe extern "C" fn(*mut AtkMisc)>,
684     pub vfuncs: [gpointer; 32],
685 }
686 
687 impl ::std::fmt::Debug for AtkMiscClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result688     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
689         f.debug_struct(&format!("AtkMiscClass @ {:p}", self))
690             .field("parent", &self.parent)
691             .field("threads_enter", &self.threads_enter)
692             .field("threads_leave", &self.threads_leave)
693             .field("vfuncs", &self.vfuncs)
694             .finish()
695     }
696 }
697 
698 #[repr(C)]
699 #[derive(Copy, Clone)]
700 pub struct AtkNoOpObjectClass {
701     pub parent_class: AtkObjectClass,
702 }
703 
704 impl ::std::fmt::Debug for AtkNoOpObjectClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result705     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
706         f.debug_struct(&format!("AtkNoOpObjectClass @ {:p}", self))
707             .field("parent_class", &self.parent_class)
708             .finish()
709     }
710 }
711 
712 #[repr(C)]
713 #[derive(Copy, Clone)]
714 pub struct AtkNoOpObjectFactoryClass {
715     pub parent_class: AtkObjectFactoryClass,
716 }
717 
718 impl ::std::fmt::Debug for AtkNoOpObjectFactoryClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result719     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
720         f.debug_struct(&format!("AtkNoOpObjectFactoryClass @ {:p}", self))
721             .field("parent_class", &self.parent_class)
722             .finish()
723     }
724 }
725 
726 #[repr(C)]
727 #[derive(Copy, Clone)]
728 pub struct AtkObjectClass {
729     pub parent: gobject::GObjectClass,
730     pub get_name: Option<unsafe extern "C" fn(*mut AtkObject) -> *const c_char>,
731     pub get_description: Option<unsafe extern "C" fn(*mut AtkObject) -> *const c_char>,
732     pub get_parent: Option<unsafe extern "C" fn(*mut AtkObject) -> *mut AtkObject>,
733     pub get_n_children: Option<unsafe extern "C" fn(*mut AtkObject) -> c_int>,
734     pub ref_child: Option<unsafe extern "C" fn(*mut AtkObject, c_int) -> *mut AtkObject>,
735     pub get_index_in_parent: Option<unsafe extern "C" fn(*mut AtkObject) -> c_int>,
736     pub ref_relation_set: Option<unsafe extern "C" fn(*mut AtkObject) -> *mut AtkRelationSet>,
737     pub get_role: Option<unsafe extern "C" fn(*mut AtkObject) -> AtkRole>,
738     pub get_layer: Option<unsafe extern "C" fn(*mut AtkObject) -> AtkLayer>,
739     pub get_mdi_zorder: Option<unsafe extern "C" fn(*mut AtkObject) -> c_int>,
740     pub ref_state_set: Option<unsafe extern "C" fn(*mut AtkObject) -> *mut AtkStateSet>,
741     pub set_name: Option<unsafe extern "C" fn(*mut AtkObject, *const c_char)>,
742     pub set_description: Option<unsafe extern "C" fn(*mut AtkObject, *const c_char)>,
743     pub set_parent: Option<unsafe extern "C" fn(*mut AtkObject, *mut AtkObject)>,
744     pub set_role: Option<unsafe extern "C" fn(*mut AtkObject, AtkRole)>,
745     pub connect_property_change_handler:
746         Option<unsafe extern "C" fn(*mut AtkObject, *mut AtkPropertyChangeHandler) -> c_uint>,
747     pub remove_property_change_handler: Option<unsafe extern "C" fn(*mut AtkObject, c_uint)>,
748     pub initialize: Option<unsafe extern "C" fn(*mut AtkObject, *mut gpointer)>,
749     pub children_changed: Option<unsafe extern "C" fn(*mut AtkObject, c_uint, gpointer)>,
750     pub focus_event: Option<unsafe extern "C" fn(*mut AtkObject, gboolean)>,
751     pub property_change: Option<unsafe extern "C" fn(*mut AtkObject, *mut AtkPropertyValues)>,
752     pub state_change: Option<unsafe extern "C" fn(*mut AtkObject, *const c_char, gboolean)>,
753     pub visible_data_changed: Option<unsafe extern "C" fn(*mut AtkObject)>,
754     pub active_descendant_changed: Option<unsafe extern "C" fn(*mut AtkObject, *mut gpointer)>,
755     pub get_attributes: Option<unsafe extern "C" fn(*mut AtkObject) -> *mut AtkAttributeSet>,
756     pub get_object_locale: Option<unsafe extern "C" fn(*mut AtkObject) -> *const c_char>,
757     pub pad1: AtkFunction,
758 }
759 
760 impl ::std::fmt::Debug for AtkObjectClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result761     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
762         f.debug_struct(&format!("AtkObjectClass @ {:p}", self))
763             .field("parent", &self.parent)
764             .field("get_name", &self.get_name)
765             .field("get_description", &self.get_description)
766             .field("get_parent", &self.get_parent)
767             .field("get_n_children", &self.get_n_children)
768             .field("ref_child", &self.ref_child)
769             .field("get_index_in_parent", &self.get_index_in_parent)
770             .field("ref_relation_set", &self.ref_relation_set)
771             .field("get_role", &self.get_role)
772             .field("get_layer", &self.get_layer)
773             .field("get_mdi_zorder", &self.get_mdi_zorder)
774             .field("ref_state_set", &self.ref_state_set)
775             .field("set_name", &self.set_name)
776             .field("set_description", &self.set_description)
777             .field("set_parent", &self.set_parent)
778             .field("set_role", &self.set_role)
779             .field(
780                 "connect_property_change_handler",
781                 &self.connect_property_change_handler,
782             )
783             .field(
784                 "remove_property_change_handler",
785                 &self.remove_property_change_handler,
786             )
787             .field("initialize", &self.initialize)
788             .field("children_changed", &self.children_changed)
789             .field("focus_event", &self.focus_event)
790             .field("property_change", &self.property_change)
791             .field("state_change", &self.state_change)
792             .field("visible_data_changed", &self.visible_data_changed)
793             .field("active_descendant_changed", &self.active_descendant_changed)
794             .field("get_attributes", &self.get_attributes)
795             .field("get_object_locale", &self.get_object_locale)
796             .field("pad1", &self.pad1)
797             .finish()
798     }
799 }
800 
801 #[repr(C)]
802 #[derive(Copy, Clone)]
803 pub struct AtkObjectFactoryClass {
804     pub parent_class: gobject::GObjectClass,
805     pub create_accessible: Option<unsafe extern "C" fn(*mut gobject::GObject) -> *mut AtkObject>,
806     pub invalidate: Option<unsafe extern "C" fn(*mut AtkObjectFactory)>,
807     pub get_accessible_type: Option<unsafe extern "C" fn() -> GType>,
808     pub pad1: AtkFunction,
809     pub pad2: AtkFunction,
810 }
811 
812 impl ::std::fmt::Debug for AtkObjectFactoryClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result813     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
814         f.debug_struct(&format!("AtkObjectFactoryClass @ {:p}", self))
815             .field("parent_class", &self.parent_class)
816             .field("create_accessible", &self.create_accessible)
817             .field("invalidate", &self.invalidate)
818             .field("get_accessible_type", &self.get_accessible_type)
819             .field("pad1", &self.pad1)
820             .field("pad2", &self.pad2)
821             .finish()
822     }
823 }
824 
825 #[repr(C)]
826 #[derive(Copy, Clone)]
827 pub struct AtkPlugClass {
828     pub parent_class: AtkObjectClass,
829     pub get_object_id: Option<unsafe extern "C" fn(*mut AtkPlug) -> *mut c_char>,
830 }
831 
832 impl ::std::fmt::Debug for AtkPlugClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result833     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
834         f.debug_struct(&format!("AtkPlugClass @ {:p}", self))
835             .field("parent_class", &self.parent_class)
836             .field("get_object_id", &self.get_object_id)
837             .finish()
838     }
839 }
840 
841 #[repr(C)]
842 #[derive(Copy, Clone)]
843 pub struct AtkPropertyValues {
844     pub property_name: *const c_char,
845     pub old_value: gobject::GValue,
846     pub new_value: gobject::GValue,
847 }
848 
849 impl ::std::fmt::Debug for AtkPropertyValues {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result850     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
851         f.debug_struct(&format!("AtkPropertyValues @ {:p}", self))
852             .field("property_name", &self.property_name)
853             .field("old_value", &self.old_value)
854             .field("new_value", &self.new_value)
855             .finish()
856     }
857 }
858 
859 #[repr(C)]
860 pub struct AtkRange(c_void);
861 
862 impl ::std::fmt::Debug for AtkRange {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result863     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
864         f.debug_struct(&format!("AtkRange @ {:p}", self)).finish()
865     }
866 }
867 
868 #[repr(C)]
869 #[derive(Copy, Clone)]
870 pub struct AtkRectangle {
871     pub x: c_int,
872     pub y: c_int,
873     pub width: c_int,
874     pub height: c_int,
875 }
876 
877 impl ::std::fmt::Debug for AtkRectangle {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result878     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
879         f.debug_struct(&format!("AtkRectangle @ {:p}", self))
880             .field("x", &self.x)
881             .field("y", &self.y)
882             .field("width", &self.width)
883             .field("height", &self.height)
884             .finish()
885     }
886 }
887 
888 #[repr(C)]
889 #[derive(Copy, Clone)]
890 pub struct AtkRegistryClass {
891     pub parent_class: gobject::GObjectClass,
892 }
893 
894 impl ::std::fmt::Debug for AtkRegistryClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result895     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
896         f.debug_struct(&format!("AtkRegistryClass @ {:p}", self))
897             .field("parent_class", &self.parent_class)
898             .finish()
899     }
900 }
901 
902 #[repr(C)]
903 #[derive(Copy, Clone)]
904 pub struct AtkRelationClass {
905     pub parent: gobject::GObjectClass,
906 }
907 
908 impl ::std::fmt::Debug for AtkRelationClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result909     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
910         f.debug_struct(&format!("AtkRelationClass @ {:p}", self))
911             .field("parent", &self.parent)
912             .finish()
913     }
914 }
915 
916 #[repr(C)]
917 #[derive(Copy, Clone)]
918 pub struct AtkRelationSetClass {
919     pub parent: gobject::GObjectClass,
920     pub pad1: AtkFunction,
921     pub pad2: AtkFunction,
922 }
923 
924 impl ::std::fmt::Debug for AtkRelationSetClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result925     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
926         f.debug_struct(&format!("AtkRelationSetClass @ {:p}", self))
927             .field("parent", &self.parent)
928             .field("pad1", &self.pad1)
929             .field("pad2", &self.pad2)
930             .finish()
931     }
932 }
933 
934 #[repr(C)]
935 #[derive(Copy, Clone)]
936 pub struct AtkSelectionIface {
937     pub parent: gobject::GTypeInterface,
938     pub add_selection: Option<unsafe extern "C" fn(*mut AtkSelection, c_int) -> gboolean>,
939     pub clear_selection: Option<unsafe extern "C" fn(*mut AtkSelection) -> gboolean>,
940     pub ref_selection: Option<unsafe extern "C" fn(*mut AtkSelection, c_int) -> *mut AtkObject>,
941     pub get_selection_count: Option<unsafe extern "C" fn(*mut AtkSelection) -> c_int>,
942     pub is_child_selected: Option<unsafe extern "C" fn(*mut AtkSelection, c_int) -> gboolean>,
943     pub remove_selection: Option<unsafe extern "C" fn(*mut AtkSelection, c_int) -> gboolean>,
944     pub select_all_selection: Option<unsafe extern "C" fn(*mut AtkSelection) -> gboolean>,
945     pub selection_changed: Option<unsafe extern "C" fn(*mut AtkSelection)>,
946 }
947 
948 impl ::std::fmt::Debug for AtkSelectionIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result949     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
950         f.debug_struct(&format!("AtkSelectionIface @ {:p}", self))
951             .field("parent", &self.parent)
952             .field("add_selection", &self.add_selection)
953             .field("clear_selection", &self.clear_selection)
954             .field("ref_selection", &self.ref_selection)
955             .field("get_selection_count", &self.get_selection_count)
956             .field("is_child_selected", &self.is_child_selected)
957             .field("remove_selection", &self.remove_selection)
958             .field("select_all_selection", &self.select_all_selection)
959             .field("selection_changed", &self.selection_changed)
960             .finish()
961     }
962 }
963 
964 #[repr(C)]
965 #[derive(Copy, Clone)]
966 pub struct AtkSocketClass {
967     pub parent_class: AtkObjectClass,
968     pub embed: Option<unsafe extern "C" fn(*mut AtkSocket, *const c_char)>,
969 }
970 
971 impl ::std::fmt::Debug for AtkSocketClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result972     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
973         f.debug_struct(&format!("AtkSocketClass @ {:p}", self))
974             .field("parent_class", &self.parent_class)
975             .field("embed", &self.embed)
976             .finish()
977     }
978 }
979 
980 #[repr(C)]
981 #[derive(Copy, Clone)]
982 pub struct AtkStateSetClass {
983     pub parent: gobject::GObjectClass,
984 }
985 
986 impl ::std::fmt::Debug for AtkStateSetClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result987     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
988         f.debug_struct(&format!("AtkStateSetClass @ {:p}", self))
989             .field("parent", &self.parent)
990             .finish()
991     }
992 }
993 
994 #[repr(C)]
995 #[derive(Copy, Clone)]
996 pub struct AtkStreamableContentIface {
997     pub parent: gobject::GTypeInterface,
998     pub get_n_mime_types: Option<unsafe extern "C" fn(*mut AtkStreamableContent) -> c_int>,
999     pub get_mime_type:
1000         Option<unsafe extern "C" fn(*mut AtkStreamableContent, c_int) -> *const c_char>,
1001     pub get_stream: Option<
1002         unsafe extern "C" fn(*mut AtkStreamableContent, *const c_char) -> *mut glib::GIOChannel,
1003     >,
1004     pub get_uri:
1005         Option<unsafe extern "C" fn(*mut AtkStreamableContent, *const c_char) -> *const c_char>,
1006     pub pad1: AtkFunction,
1007     pub pad2: AtkFunction,
1008     pub pad3: AtkFunction,
1009 }
1010 
1011 impl ::std::fmt::Debug for AtkStreamableContentIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1012     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1013         f.debug_struct(&format!("AtkStreamableContentIface @ {:p}", self))
1014             .field("parent", &self.parent)
1015             .field("get_n_mime_types", &self.get_n_mime_types)
1016             .field("get_mime_type", &self.get_mime_type)
1017             .field("get_stream", &self.get_stream)
1018             .field("get_uri", &self.get_uri)
1019             .field("pad1", &self.pad1)
1020             .field("pad2", &self.pad2)
1021             .field("pad3", &self.pad3)
1022             .finish()
1023     }
1024 }
1025 
1026 #[repr(C)]
1027 #[derive(Copy, Clone)]
1028 pub struct AtkTableCellIface {
1029     pub parent: gobject::GTypeInterface,
1030     pub get_column_span: Option<unsafe extern "C" fn(*mut AtkTableCell) -> c_int>,
1031     pub get_column_header_cells:
1032         Option<unsafe extern "C" fn(*mut AtkTableCell) -> *mut glib::GPtrArray>,
1033     pub get_position:
1034         Option<unsafe extern "C" fn(*mut AtkTableCell, *mut c_int, *mut c_int) -> gboolean>,
1035     pub get_row_span: Option<unsafe extern "C" fn(*mut AtkTableCell) -> c_int>,
1036     pub get_row_header_cells:
1037         Option<unsafe extern "C" fn(*mut AtkTableCell) -> *mut glib::GPtrArray>,
1038     pub get_row_column_span: Option<
1039         unsafe extern "C" fn(
1040             *mut AtkTableCell,
1041             *mut c_int,
1042             *mut c_int,
1043             *mut c_int,
1044             *mut c_int,
1045         ) -> gboolean,
1046     >,
1047     pub get_table: Option<unsafe extern "C" fn(*mut AtkTableCell) -> *mut AtkObject>,
1048 }
1049 
1050 impl ::std::fmt::Debug for AtkTableCellIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1051     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1052         f.debug_struct(&format!("AtkTableCellIface @ {:p}", self))
1053             .field("get_column_span", &self.get_column_span)
1054             .field("get_column_header_cells", &self.get_column_header_cells)
1055             .field("get_position", &self.get_position)
1056             .field("get_row_span", &self.get_row_span)
1057             .field("get_row_header_cells", &self.get_row_header_cells)
1058             .field("get_row_column_span", &self.get_row_column_span)
1059             .field("get_table", &self.get_table)
1060             .finish()
1061     }
1062 }
1063 
1064 #[repr(C)]
1065 #[derive(Copy, Clone)]
1066 pub struct AtkTableIface {
1067     pub parent: gobject::GTypeInterface,
1068     pub ref_at: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int) -> *mut AtkObject>,
1069     pub get_index_at: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int) -> c_int>,
1070     pub get_column_at_index: Option<unsafe extern "C" fn(*mut AtkTable, *mut *mut c_int) -> c_int>,
1071     pub get_row_at_index: Option<unsafe extern "C" fn(*mut AtkTable, *mut *mut c_int) -> c_int>,
1072     pub get_n_columns: Option<unsafe extern "C" fn(*mut AtkTable) -> c_int>,
1073     pub get_n_rows: Option<unsafe extern "C" fn(*mut AtkTable) -> c_int>,
1074     pub get_column_extent_at: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int) -> c_int>,
1075     pub get_row_extent_at: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int) -> c_int>,
1076     pub get_caption: Option<unsafe extern "C" fn(*mut AtkTable) -> *mut AtkObject>,
1077     pub get_column_description: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> *const c_char>,
1078     pub get_column_header: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> *mut AtkObject>,
1079     pub get_row_description: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> *const c_char>,
1080     pub get_row_header: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> *mut AtkObject>,
1081     pub get_summary: Option<unsafe extern "C" fn(*mut AtkTable) -> *mut AtkObject>,
1082     pub set_caption: Option<unsafe extern "C" fn(*mut AtkTable, *mut AtkObject)>,
1083     pub set_column_description: Option<unsafe extern "C" fn(*mut AtkTable, c_int, *const c_char)>,
1084     pub set_column_header: Option<unsafe extern "C" fn(*mut AtkTable, c_int, *mut AtkObject)>,
1085     pub set_row_description: Option<unsafe extern "C" fn(*mut AtkTable, c_int, *const c_char)>,
1086     pub set_row_header: Option<unsafe extern "C" fn(*mut AtkTable, c_int, *mut AtkObject)>,
1087     pub set_summary: Option<unsafe extern "C" fn(*mut AtkTable, *mut AtkObject)>,
1088     pub get_selected_columns: Option<unsafe extern "C" fn(*mut AtkTable, *mut *mut c_int) -> c_int>,
1089     pub get_selected_rows: Option<unsafe extern "C" fn(*mut AtkTable, *mut *mut c_int) -> c_int>,
1090     pub is_column_selected: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
1091     pub is_row_selected: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
1092     pub is_selected: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int) -> gboolean>,
1093     pub add_row_selection: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
1094     pub remove_row_selection: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
1095     pub add_column_selection: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
1096     pub remove_column_selection: Option<unsafe extern "C" fn(*mut AtkTable, c_int) -> gboolean>,
1097     pub row_inserted: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int)>,
1098     pub column_inserted: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int)>,
1099     pub row_deleted: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int)>,
1100     pub column_deleted: Option<unsafe extern "C" fn(*mut AtkTable, c_int, c_int)>,
1101     pub row_reordered: Option<unsafe extern "C" fn(*mut AtkTable)>,
1102     pub column_reordered: Option<unsafe extern "C" fn(*mut AtkTable)>,
1103     pub model_changed: Option<unsafe extern "C" fn(*mut AtkTable)>,
1104 }
1105 
1106 impl ::std::fmt::Debug for AtkTableIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1107     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1108         f.debug_struct(&format!("AtkTableIface @ {:p}", self))
1109             .field("parent", &self.parent)
1110             .field("ref_at", &self.ref_at)
1111             .field("get_index_at", &self.get_index_at)
1112             .field("get_column_at_index", &self.get_column_at_index)
1113             .field("get_row_at_index", &self.get_row_at_index)
1114             .field("get_n_columns", &self.get_n_columns)
1115             .field("get_n_rows", &self.get_n_rows)
1116             .field("get_column_extent_at", &self.get_column_extent_at)
1117             .field("get_row_extent_at", &self.get_row_extent_at)
1118             .field("get_caption", &self.get_caption)
1119             .field("get_column_description", &self.get_column_description)
1120             .field("get_column_header", &self.get_column_header)
1121             .field("get_row_description", &self.get_row_description)
1122             .field("get_row_header", &self.get_row_header)
1123             .field("get_summary", &self.get_summary)
1124             .field("set_caption", &self.set_caption)
1125             .field("set_column_description", &self.set_column_description)
1126             .field("set_column_header", &self.set_column_header)
1127             .field("set_row_description", &self.set_row_description)
1128             .field("set_row_header", &self.set_row_header)
1129             .field("set_summary", &self.set_summary)
1130             .field("get_selected_columns", &self.get_selected_columns)
1131             .field("get_selected_rows", &self.get_selected_rows)
1132             .field("is_column_selected", &self.is_column_selected)
1133             .field("is_row_selected", &self.is_row_selected)
1134             .field("is_selected", &self.is_selected)
1135             .field("add_row_selection", &self.add_row_selection)
1136             .field("remove_row_selection", &self.remove_row_selection)
1137             .field("add_column_selection", &self.add_column_selection)
1138             .field("remove_column_selection", &self.remove_column_selection)
1139             .field("row_inserted", &self.row_inserted)
1140             .field("column_inserted", &self.column_inserted)
1141             .field("row_deleted", &self.row_deleted)
1142             .field("column_deleted", &self.column_deleted)
1143             .field("row_reordered", &self.row_reordered)
1144             .field("column_reordered", &self.column_reordered)
1145             .field("model_changed", &self.model_changed)
1146             .finish()
1147     }
1148 }
1149 
1150 #[repr(C)]
1151 #[derive(Copy, Clone)]
1152 pub struct AtkTextIface {
1153     pub parent: gobject::GTypeInterface,
1154     pub get_text: Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int) -> *mut c_char>,
1155     pub get_text_after_offset: Option<
1156         unsafe extern "C" fn(
1157             *mut AtkText,
1158             c_int,
1159             AtkTextBoundary,
1160             *mut c_int,
1161             *mut c_int,
1162         ) -> *mut c_char,
1163     >,
1164     pub get_text_at_offset: Option<
1165         unsafe extern "C" fn(
1166             *mut AtkText,
1167             c_int,
1168             AtkTextBoundary,
1169             *mut c_int,
1170             *mut c_int,
1171         ) -> *mut c_char,
1172     >,
1173     pub get_character_at_offset: Option<unsafe extern "C" fn(*mut AtkText, c_int) -> u32>,
1174     pub get_text_before_offset: Option<
1175         unsafe extern "C" fn(
1176             *mut AtkText,
1177             c_int,
1178             AtkTextBoundary,
1179             *mut c_int,
1180             *mut c_int,
1181         ) -> *mut c_char,
1182     >,
1183     pub get_caret_offset: Option<unsafe extern "C" fn(*mut AtkText) -> c_int>,
1184     pub get_run_attributes: Option<
1185         unsafe extern "C" fn(*mut AtkText, c_int, *mut c_int, *mut c_int) -> *mut AtkAttributeSet,
1186     >,
1187     pub get_default_attributes: Option<unsafe extern "C" fn(*mut AtkText) -> *mut AtkAttributeSet>,
1188     pub get_character_extents: Option<
1189         unsafe extern "C" fn(
1190             *mut AtkText,
1191             c_int,
1192             *mut c_int,
1193             *mut c_int,
1194             *mut c_int,
1195             *mut c_int,
1196             AtkCoordType,
1197         ),
1198     >,
1199     pub get_character_count: Option<unsafe extern "C" fn(*mut AtkText) -> c_int>,
1200     pub get_offset_at_point:
1201         Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int, AtkCoordType) -> c_int>,
1202     pub get_n_selections: Option<unsafe extern "C" fn(*mut AtkText) -> c_int>,
1203     pub get_selection:
1204         Option<unsafe extern "C" fn(*mut AtkText, c_int, *mut c_int, *mut c_int) -> *mut c_char>,
1205     pub add_selection: Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int) -> gboolean>,
1206     pub remove_selection: Option<unsafe extern "C" fn(*mut AtkText, c_int) -> gboolean>,
1207     pub set_selection: Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int, c_int) -> gboolean>,
1208     pub set_caret_offset: Option<unsafe extern "C" fn(*mut AtkText, c_int) -> gboolean>,
1209     pub text_changed: Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int)>,
1210     pub text_caret_moved: Option<unsafe extern "C" fn(*mut AtkText, c_int)>,
1211     pub text_selection_changed: Option<unsafe extern "C" fn(*mut AtkText)>,
1212     pub text_attributes_changed: Option<unsafe extern "C" fn(*mut AtkText)>,
1213     pub get_range_extents: Option<
1214         unsafe extern "C" fn(*mut AtkText, c_int, c_int, AtkCoordType, *mut AtkTextRectangle),
1215     >,
1216     pub get_bounded_ranges: Option<
1217         unsafe extern "C" fn(
1218             *mut AtkText,
1219             *mut AtkTextRectangle,
1220             AtkCoordType,
1221             AtkTextClipType,
1222             AtkTextClipType,
1223         ) -> *mut *mut AtkTextRange,
1224     >,
1225     pub get_string_at_offset: Option<
1226         unsafe extern "C" fn(
1227             *mut AtkText,
1228             c_int,
1229             AtkTextGranularity,
1230             *mut c_int,
1231             *mut c_int,
1232         ) -> *mut c_char,
1233     >,
1234     pub scroll_substring_to:
1235         Option<unsafe extern "C" fn(*mut AtkText, c_int, c_int, AtkScrollType) -> gboolean>,
1236     pub scroll_substring_to_point: Option<
1237         unsafe extern "C" fn(*mut AtkText, c_int, c_int, AtkCoordType, c_int, c_int) -> gboolean,
1238     >,
1239 }
1240 
1241 impl ::std::fmt::Debug for AtkTextIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1242     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1243         f.debug_struct(&format!("AtkTextIface @ {:p}", self))
1244             .field("parent", &self.parent)
1245             .field("get_text", &self.get_text)
1246             .field("get_text_after_offset", &self.get_text_after_offset)
1247             .field("get_text_at_offset", &self.get_text_at_offset)
1248             .field("get_character_at_offset", &self.get_character_at_offset)
1249             .field("get_text_before_offset", &self.get_text_before_offset)
1250             .field("get_caret_offset", &self.get_caret_offset)
1251             .field("get_run_attributes", &self.get_run_attributes)
1252             .field("get_default_attributes", &self.get_default_attributes)
1253             .field("get_character_extents", &self.get_character_extents)
1254             .field("get_character_count", &self.get_character_count)
1255             .field("get_offset_at_point", &self.get_offset_at_point)
1256             .field("get_n_selections", &self.get_n_selections)
1257             .field("get_selection", &self.get_selection)
1258             .field("add_selection", &self.add_selection)
1259             .field("remove_selection", &self.remove_selection)
1260             .field("set_selection", &self.set_selection)
1261             .field("set_caret_offset", &self.set_caret_offset)
1262             .field("text_changed", &self.text_changed)
1263             .field("text_caret_moved", &self.text_caret_moved)
1264             .field("text_selection_changed", &self.text_selection_changed)
1265             .field("text_attributes_changed", &self.text_attributes_changed)
1266             .field("get_range_extents", &self.get_range_extents)
1267             .field("get_bounded_ranges", &self.get_bounded_ranges)
1268             .field("get_string_at_offset", &self.get_string_at_offset)
1269             .field("scroll_substring_to", &self.scroll_substring_to)
1270             .field("scroll_substring_to_point", &self.scroll_substring_to_point)
1271             .finish()
1272     }
1273 }
1274 
1275 #[repr(C)]
1276 #[derive(Copy, Clone)]
1277 pub struct AtkTextRange {
1278     pub bounds: AtkTextRectangle,
1279     pub start_offset: c_int,
1280     pub end_offset: c_int,
1281     pub content: *mut c_char,
1282 }
1283 
1284 impl ::std::fmt::Debug for AtkTextRange {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1285     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1286         f.debug_struct(&format!("AtkTextRange @ {:p}", self))
1287             .field("bounds", &self.bounds)
1288             .field("start_offset", &self.start_offset)
1289             .field("end_offset", &self.end_offset)
1290             .field("content", &self.content)
1291             .finish()
1292     }
1293 }
1294 
1295 #[repr(C)]
1296 #[derive(Copy, Clone)]
1297 pub struct AtkTextRectangle {
1298     pub x: c_int,
1299     pub y: c_int,
1300     pub width: c_int,
1301     pub height: c_int,
1302 }
1303 
1304 impl ::std::fmt::Debug for AtkTextRectangle {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1305     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1306         f.debug_struct(&format!("AtkTextRectangle @ {:p}", self))
1307             .field("x", &self.x)
1308             .field("y", &self.y)
1309             .field("width", &self.width)
1310             .field("height", &self.height)
1311             .finish()
1312     }
1313 }
1314 
1315 #[repr(C)]
1316 #[derive(Copy, Clone)]
1317 pub struct AtkUtilClass {
1318     pub parent: gobject::GObjectClass,
1319     pub add_global_event_listener:
1320         Option<unsafe extern "C" fn(gobject::GSignalEmissionHook, *const c_char) -> c_uint>,
1321     pub remove_global_event_listener: Option<unsafe extern "C" fn(c_uint)>,
1322     pub add_key_event_listener: Option<unsafe extern "C" fn(AtkKeySnoopFunc, gpointer) -> c_uint>,
1323     pub remove_key_event_listener: Option<unsafe extern "C" fn(c_uint)>,
1324     pub get_root: Option<unsafe extern "C" fn() -> *mut AtkObject>,
1325     pub get_toolkit_name: Option<unsafe extern "C" fn() -> *const c_char>,
1326     pub get_toolkit_version: Option<unsafe extern "C" fn() -> *const c_char>,
1327 }
1328 
1329 impl ::std::fmt::Debug for AtkUtilClass {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1330     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1331         f.debug_struct(&format!("AtkUtilClass @ {:p}", self))
1332             .field("parent", &self.parent)
1333             .field("add_global_event_listener", &self.add_global_event_listener)
1334             .field(
1335                 "remove_global_event_listener",
1336                 &self.remove_global_event_listener,
1337             )
1338             .field("add_key_event_listener", &self.add_key_event_listener)
1339             .field("remove_key_event_listener", &self.remove_key_event_listener)
1340             .field("get_root", &self.get_root)
1341             .field("get_toolkit_name", &self.get_toolkit_name)
1342             .field("get_toolkit_version", &self.get_toolkit_version)
1343             .finish()
1344     }
1345 }
1346 
1347 #[repr(C)]
1348 #[derive(Copy, Clone)]
1349 pub struct AtkValueIface {
1350     pub parent: gobject::GTypeInterface,
1351     pub get_current_value: Option<unsafe extern "C" fn(*mut AtkValue, *mut gobject::GValue)>,
1352     pub get_maximum_value: Option<unsafe extern "C" fn(*mut AtkValue, *mut gobject::GValue)>,
1353     pub get_minimum_value: Option<unsafe extern "C" fn(*mut AtkValue, *mut gobject::GValue)>,
1354     pub set_current_value:
1355         Option<unsafe extern "C" fn(*mut AtkValue, *const gobject::GValue) -> gboolean>,
1356     pub get_minimum_increment: Option<unsafe extern "C" fn(*mut AtkValue, *mut gobject::GValue)>,
1357     pub get_value_and_text:
1358         Option<unsafe extern "C" fn(*mut AtkValue, *mut c_double, *mut *mut c_char)>,
1359     pub get_range: Option<unsafe extern "C" fn(*mut AtkValue) -> *mut AtkRange>,
1360     pub get_increment: Option<unsafe extern "C" fn(*mut AtkValue) -> c_double>,
1361     pub get_sub_ranges: Option<unsafe extern "C" fn(*mut AtkValue) -> *mut glib::GSList>,
1362     pub set_value: Option<unsafe extern "C" fn(*mut AtkValue, c_double)>,
1363 }
1364 
1365 impl ::std::fmt::Debug for AtkValueIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1366     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1367         f.debug_struct(&format!("AtkValueIface @ {:p}", self))
1368             .field("parent", &self.parent)
1369             .field("get_current_value", &self.get_current_value)
1370             .field("get_maximum_value", &self.get_maximum_value)
1371             .field("get_minimum_value", &self.get_minimum_value)
1372             .field("set_current_value", &self.set_current_value)
1373             .field("get_minimum_increment", &self.get_minimum_increment)
1374             .field("get_value_and_text", &self.get_value_and_text)
1375             .field("get_range", &self.get_range)
1376             .field("get_increment", &self.get_increment)
1377             .field("get_sub_ranges", &self.get_sub_ranges)
1378             .field("set_value", &self.set_value)
1379             .finish()
1380     }
1381 }
1382 
1383 #[repr(C)]
1384 #[derive(Copy, Clone)]
1385 pub struct AtkWindowIface {
1386     pub parent: gobject::GTypeInterface,
1387 }
1388 
1389 impl ::std::fmt::Debug for AtkWindowIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1390     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1391         f.debug_struct(&format!("AtkWindowIface @ {:p}", self))
1392             .field("parent", &self.parent)
1393             .finish()
1394     }
1395 }
1396 
1397 // Classes
1398 #[repr(C)]
1399 #[derive(Copy, Clone)]
1400 pub struct AtkGObjectAccessible {
1401     pub parent: AtkObject,
1402 }
1403 
1404 impl ::std::fmt::Debug for AtkGObjectAccessible {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1405     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1406         f.debug_struct(&format!("AtkGObjectAccessible @ {:p}", self))
1407             .field("parent", &self.parent)
1408             .finish()
1409     }
1410 }
1411 
1412 #[repr(C)]
1413 #[derive(Copy, Clone)]
1414 pub struct AtkHyperlink {
1415     pub parent: gobject::GObject,
1416 }
1417 
1418 impl ::std::fmt::Debug for AtkHyperlink {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1419     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1420         f.debug_struct(&format!("AtkHyperlink @ {:p}", self))
1421             .field("parent", &self.parent)
1422             .finish()
1423     }
1424 }
1425 
1426 #[repr(C)]
1427 #[derive(Copy, Clone)]
1428 pub struct AtkMisc {
1429     pub parent: gobject::GObject,
1430 }
1431 
1432 impl ::std::fmt::Debug for AtkMisc {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1433     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1434         f.debug_struct(&format!("AtkMisc @ {:p}", self))
1435             .field("parent", &self.parent)
1436             .finish()
1437     }
1438 }
1439 
1440 #[repr(C)]
1441 #[derive(Copy, Clone)]
1442 pub struct AtkNoOpObject {
1443     pub parent: AtkObject,
1444 }
1445 
1446 impl ::std::fmt::Debug for AtkNoOpObject {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1447     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1448         f.debug_struct(&format!("AtkNoOpObject @ {:p}", self))
1449             .field("parent", &self.parent)
1450             .finish()
1451     }
1452 }
1453 
1454 #[repr(C)]
1455 #[derive(Copy, Clone)]
1456 pub struct AtkNoOpObjectFactory {
1457     pub parent: AtkObjectFactory,
1458 }
1459 
1460 impl ::std::fmt::Debug for AtkNoOpObjectFactory {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1461     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1462         f.debug_struct(&format!("AtkNoOpObjectFactory @ {:p}", self))
1463             .field("parent", &self.parent)
1464             .finish()
1465     }
1466 }
1467 
1468 #[repr(C)]
1469 #[derive(Copy, Clone)]
1470 pub struct AtkObject {
1471     pub parent: gobject::GObject,
1472     pub description: *mut c_char,
1473     pub name: *mut c_char,
1474     pub accessible_parent: *mut AtkObject,
1475     pub role: AtkRole,
1476     pub relation_set: *mut AtkRelationSet,
1477     pub layer: AtkLayer,
1478 }
1479 
1480 impl ::std::fmt::Debug for AtkObject {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1481     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1482         f.debug_struct(&format!("AtkObject @ {:p}", self))
1483             .field("parent", &self.parent)
1484             .field("description", &self.description)
1485             .field("name", &self.name)
1486             .field("accessible_parent", &self.accessible_parent)
1487             .field("role", &self.role)
1488             .field("relation_set", &self.relation_set)
1489             .field("layer", &self.layer)
1490             .finish()
1491     }
1492 }
1493 
1494 #[repr(C)]
1495 #[derive(Copy, Clone)]
1496 pub struct AtkObjectFactory {
1497     pub parent: gobject::GObject,
1498 }
1499 
1500 impl ::std::fmt::Debug for AtkObjectFactory {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1501     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1502         f.debug_struct(&format!("AtkObjectFactory @ {:p}", self))
1503             .field("parent", &self.parent)
1504             .finish()
1505     }
1506 }
1507 
1508 #[repr(C)]
1509 #[derive(Copy, Clone)]
1510 pub struct AtkPlug {
1511     pub parent: AtkObject,
1512 }
1513 
1514 impl ::std::fmt::Debug for AtkPlug {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1515     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1516         f.debug_struct(&format!("AtkPlug @ {:p}", self))
1517             .field("parent", &self.parent)
1518             .finish()
1519     }
1520 }
1521 
1522 #[repr(C)]
1523 #[derive(Copy, Clone)]
1524 pub struct AtkRegistry {
1525     pub parent: gobject::GObject,
1526     pub factory_type_registry: *mut glib::GHashTable,
1527     pub factory_singleton_cache: *mut glib::GHashTable,
1528 }
1529 
1530 impl ::std::fmt::Debug for AtkRegistry {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1531     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1532         f.debug_struct(&format!("AtkRegistry @ {:p}", self))
1533             .field("parent", &self.parent)
1534             .field("factory_type_registry", &self.factory_type_registry)
1535             .field("factory_singleton_cache", &self.factory_singleton_cache)
1536             .finish()
1537     }
1538 }
1539 
1540 #[repr(C)]
1541 #[derive(Copy, Clone)]
1542 pub struct AtkRelation {
1543     pub parent: gobject::GObject,
1544     pub target: *mut glib::GPtrArray,
1545     pub relationship: AtkRelationType,
1546 }
1547 
1548 impl ::std::fmt::Debug for AtkRelation {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1549     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1550         f.debug_struct(&format!("AtkRelation @ {:p}", self))
1551             .field("parent", &self.parent)
1552             .field("target", &self.target)
1553             .field("relationship", &self.relationship)
1554             .finish()
1555     }
1556 }
1557 
1558 #[repr(C)]
1559 #[derive(Copy, Clone)]
1560 pub struct AtkRelationSet {
1561     pub parent: gobject::GObject,
1562     pub relations: *mut glib::GPtrArray,
1563 }
1564 
1565 impl ::std::fmt::Debug for AtkRelationSet {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1566     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1567         f.debug_struct(&format!("AtkRelationSet @ {:p}", self))
1568             .field("parent", &self.parent)
1569             .field("relations", &self.relations)
1570             .finish()
1571     }
1572 }
1573 
1574 #[repr(C)]
1575 #[derive(Copy, Clone)]
1576 pub struct AtkSocket {
1577     pub parent: AtkObject,
1578     pub embedded_plug_id: *mut c_char,
1579 }
1580 
1581 impl ::std::fmt::Debug for AtkSocket {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1582     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1583         f.debug_struct(&format!("AtkSocket @ {:p}", self))
1584             .field("parent", &self.parent)
1585             .finish()
1586     }
1587 }
1588 
1589 #[repr(C)]
1590 #[derive(Copy, Clone)]
1591 pub struct AtkStateSet {
1592     pub parent: gobject::GObject,
1593 }
1594 
1595 impl ::std::fmt::Debug for AtkStateSet {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1596     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1597         f.debug_struct(&format!("AtkStateSet @ {:p}", self))
1598             .field("parent", &self.parent)
1599             .finish()
1600     }
1601 }
1602 
1603 #[repr(C)]
1604 #[derive(Copy, Clone)]
1605 pub struct AtkUtil {
1606     pub parent: gobject::GObject,
1607 }
1608 
1609 impl ::std::fmt::Debug for AtkUtil {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1610     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1611         f.debug_struct(&format!("AtkUtil @ {:p}", self))
1612             .field("parent", &self.parent)
1613             .finish()
1614     }
1615 }
1616 
1617 // Interfaces
1618 #[repr(C)]
1619 pub struct AtkAction(c_void);
1620 
1621 impl ::std::fmt::Debug for AtkAction {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1622     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1623         write!(f, "AtkAction @ {:p}", self)
1624     }
1625 }
1626 
1627 #[repr(C)]
1628 pub struct AtkComponent(c_void);
1629 
1630 impl ::std::fmt::Debug for AtkComponent {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1631     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1632         write!(f, "AtkComponent @ {:p}", self)
1633     }
1634 }
1635 
1636 #[repr(C)]
1637 pub struct AtkDocument(c_void);
1638 
1639 impl ::std::fmt::Debug for AtkDocument {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1640     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1641         write!(f, "AtkDocument @ {:p}", self)
1642     }
1643 }
1644 
1645 #[repr(C)]
1646 pub struct AtkEditableText(c_void);
1647 
1648 impl ::std::fmt::Debug for AtkEditableText {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1649     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1650         write!(f, "AtkEditableText @ {:p}", self)
1651     }
1652 }
1653 
1654 #[repr(C)]
1655 pub struct AtkHyperlinkImpl(c_void);
1656 
1657 impl ::std::fmt::Debug for AtkHyperlinkImpl {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1658     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1659         write!(f, "AtkHyperlinkImpl @ {:p}", self)
1660     }
1661 }
1662 
1663 #[repr(C)]
1664 pub struct AtkHypertext(c_void);
1665 
1666 impl ::std::fmt::Debug for AtkHypertext {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1667     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1668         write!(f, "AtkHypertext @ {:p}", self)
1669     }
1670 }
1671 
1672 #[repr(C)]
1673 pub struct AtkImage(c_void);
1674 
1675 impl ::std::fmt::Debug for AtkImage {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1676     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1677         write!(f, "AtkImage @ {:p}", self)
1678     }
1679 }
1680 
1681 #[repr(C)]
1682 pub struct AtkImplementorIface(c_void);
1683 
1684 impl ::std::fmt::Debug for AtkImplementorIface {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1685     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1686         write!(f, "AtkImplementorIface @ {:p}", self)
1687     }
1688 }
1689 
1690 #[repr(C)]
1691 pub struct AtkSelection(c_void);
1692 
1693 impl ::std::fmt::Debug for AtkSelection {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1694     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1695         write!(f, "AtkSelection @ {:p}", self)
1696     }
1697 }
1698 
1699 #[repr(C)]
1700 pub struct AtkStreamableContent(c_void);
1701 
1702 impl ::std::fmt::Debug for AtkStreamableContent {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1703     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1704         write!(f, "AtkStreamableContent @ {:p}", self)
1705     }
1706 }
1707 
1708 #[repr(C)]
1709 pub struct AtkTable(c_void);
1710 
1711 impl ::std::fmt::Debug for AtkTable {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1712     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1713         write!(f, "AtkTable @ {:p}", self)
1714     }
1715 }
1716 
1717 #[repr(C)]
1718 pub struct AtkTableCell(c_void);
1719 
1720 impl ::std::fmt::Debug for AtkTableCell {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1721     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1722         write!(f, "AtkTableCell @ {:p}", self)
1723     }
1724 }
1725 
1726 #[repr(C)]
1727 pub struct AtkText(c_void);
1728 
1729 impl ::std::fmt::Debug for AtkText {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1730     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1731         write!(f, "AtkText @ {:p}", self)
1732     }
1733 }
1734 
1735 #[repr(C)]
1736 pub struct AtkValue(c_void);
1737 
1738 impl ::std::fmt::Debug for AtkValue {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1739     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1740         write!(f, "AtkValue @ {:p}", self)
1741     }
1742 }
1743 
1744 #[repr(C)]
1745 pub struct AtkWindow(c_void);
1746 
1747 impl ::std::fmt::Debug for AtkWindow {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1748     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1749         write!(f, "AtkWindow @ {:p}", self)
1750     }
1751 }
1752 
1753 #[link(name = "atk-1.0")]
1754 extern "C" {
1755 
1756     //=========================================================================
1757     // AtkCoordType
1758     //=========================================================================
atk_coord_type_get_type() -> GType1759     pub fn atk_coord_type_get_type() -> GType;
1760 
1761     //=========================================================================
1762     // AtkKeyEventType
1763     //=========================================================================
atk_key_event_type_get_type() -> GType1764     pub fn atk_key_event_type_get_type() -> GType;
1765 
1766     //=========================================================================
1767     // AtkLayer
1768     //=========================================================================
atk_layer_get_type() -> GType1769     pub fn atk_layer_get_type() -> GType;
1770 
1771     //=========================================================================
1772     // AtkRelationType
1773     //=========================================================================
atk_relation_type_get_type() -> GType1774     pub fn atk_relation_type_get_type() -> GType;
atk_relation_type_for_name(name: *const c_char) -> AtkRelationType1775     pub fn atk_relation_type_for_name(name: *const c_char) -> AtkRelationType;
atk_relation_type_get_name(type_: AtkRelationType) -> *const c_char1776     pub fn atk_relation_type_get_name(type_: AtkRelationType) -> *const c_char;
atk_relation_type_register(name: *const c_char) -> AtkRelationType1777     pub fn atk_relation_type_register(name: *const c_char) -> AtkRelationType;
1778 
1779     //=========================================================================
1780     // AtkRole
1781     //=========================================================================
atk_role_get_type() -> GType1782     pub fn atk_role_get_type() -> GType;
atk_role_for_name(name: *const c_char) -> AtkRole1783     pub fn atk_role_for_name(name: *const c_char) -> AtkRole;
atk_role_get_localized_name(role: AtkRole) -> *const c_char1784     pub fn atk_role_get_localized_name(role: AtkRole) -> *const c_char;
atk_role_get_name(role: AtkRole) -> *const c_char1785     pub fn atk_role_get_name(role: AtkRole) -> *const c_char;
atk_role_register(name: *const c_char) -> AtkRole1786     pub fn atk_role_register(name: *const c_char) -> AtkRole;
1787 
1788     //=========================================================================
1789     // AtkScrollType
1790     //=========================================================================
1791     #[cfg(any(feature = "v2_30", feature = "dox"))]
1792     #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_30")))]
atk_scroll_type_get_type() -> GType1793     pub fn atk_scroll_type_get_type() -> GType;
1794 
1795     //=========================================================================
1796     // AtkStateType
1797     //=========================================================================
atk_state_type_get_type() -> GType1798     pub fn atk_state_type_get_type() -> GType;
atk_state_type_for_name(name: *const c_char) -> AtkStateType1799     pub fn atk_state_type_for_name(name: *const c_char) -> AtkStateType;
atk_state_type_get_name(type_: AtkStateType) -> *const c_char1800     pub fn atk_state_type_get_name(type_: AtkStateType) -> *const c_char;
atk_state_type_register(name: *const c_char) -> AtkStateType1801     pub fn atk_state_type_register(name: *const c_char) -> AtkStateType;
1802 
1803     //=========================================================================
1804     // AtkTextAttribute
1805     //=========================================================================
atk_text_attribute_get_type() -> GType1806     pub fn atk_text_attribute_get_type() -> GType;
atk_text_attribute_for_name(name: *const c_char) -> AtkTextAttribute1807     pub fn atk_text_attribute_for_name(name: *const c_char) -> AtkTextAttribute;
atk_text_attribute_get_name(attr: AtkTextAttribute) -> *const c_char1808     pub fn atk_text_attribute_get_name(attr: AtkTextAttribute) -> *const c_char;
atk_text_attribute_get_value(attr: AtkTextAttribute, index_: c_int) -> *const c_char1809     pub fn atk_text_attribute_get_value(attr: AtkTextAttribute, index_: c_int) -> *const c_char;
atk_text_attribute_register(name: *const c_char) -> AtkTextAttribute1810     pub fn atk_text_attribute_register(name: *const c_char) -> AtkTextAttribute;
1811 
1812     //=========================================================================
1813     // AtkTextBoundary
1814     //=========================================================================
atk_text_boundary_get_type() -> GType1815     pub fn atk_text_boundary_get_type() -> GType;
1816 
1817     //=========================================================================
1818     // AtkTextClipType
1819     //=========================================================================
atk_text_clip_type_get_type() -> GType1820     pub fn atk_text_clip_type_get_type() -> GType;
1821 
1822     //=========================================================================
1823     // AtkTextGranularity
1824     //=========================================================================
atk_text_granularity_get_type() -> GType1825     pub fn atk_text_granularity_get_type() -> GType;
1826 
1827     //=========================================================================
1828     // AtkValueType
1829     //=========================================================================
atk_value_type_get_type() -> GType1830     pub fn atk_value_type_get_type() -> GType;
atk_value_type_get_localized_name(value_type: AtkValueType) -> *const c_char1831     pub fn atk_value_type_get_localized_name(value_type: AtkValueType) -> *const c_char;
atk_value_type_get_name(value_type: AtkValueType) -> *const c_char1832     pub fn atk_value_type_get_name(value_type: AtkValueType) -> *const c_char;
1833 
1834     //=========================================================================
1835     // AtkHyperlinkStateFlags
1836     //=========================================================================
atk_hyperlink_state_flags_get_type() -> GType1837     pub fn atk_hyperlink_state_flags_get_type() -> GType;
1838 
1839     //=========================================================================
1840     // AtkAttribute
1841     //=========================================================================
atk_attribute_set_free(attrib_set: *mut AtkAttributeSet)1842     pub fn atk_attribute_set_free(attrib_set: *mut AtkAttributeSet);
1843 
1844     //=========================================================================
1845     // AtkImplementor
1846     //=========================================================================
atk_implementor_ref_accessible(implementor: *mut AtkImplementor) -> *mut AtkObject1847     pub fn atk_implementor_ref_accessible(implementor: *mut AtkImplementor) -> *mut AtkObject;
1848 
1849     //=========================================================================
1850     // AtkRange
1851     //=========================================================================
atk_range_get_type() -> GType1852     pub fn atk_range_get_type() -> GType;
atk_range_new( lower_limit: c_double, upper_limit: c_double, description: *const c_char, ) -> *mut AtkRange1853     pub fn atk_range_new(
1854         lower_limit: c_double,
1855         upper_limit: c_double,
1856         description: *const c_char,
1857     ) -> *mut AtkRange;
atk_range_copy(src: *mut AtkRange) -> *mut AtkRange1858     pub fn atk_range_copy(src: *mut AtkRange) -> *mut AtkRange;
atk_range_free(range: *mut AtkRange)1859     pub fn atk_range_free(range: *mut AtkRange);
atk_range_get_description(range: *mut AtkRange) -> *const c_char1860     pub fn atk_range_get_description(range: *mut AtkRange) -> *const c_char;
atk_range_get_lower_limit(range: *mut AtkRange) -> c_double1861     pub fn atk_range_get_lower_limit(range: *mut AtkRange) -> c_double;
atk_range_get_upper_limit(range: *mut AtkRange) -> c_double1862     pub fn atk_range_get_upper_limit(range: *mut AtkRange) -> c_double;
1863 
1864     //=========================================================================
1865     // AtkRectangle
1866     //=========================================================================
atk_rectangle_get_type() -> GType1867     pub fn atk_rectangle_get_type() -> GType;
1868 
1869     //=========================================================================
1870     // AtkTextRange
1871     //=========================================================================
atk_text_range_get_type() -> GType1872     pub fn atk_text_range_get_type() -> GType;
1873 
1874     //=========================================================================
1875     // AtkGObjectAccessible
1876     //=========================================================================
atk_gobject_accessible_get_type() -> GType1877     pub fn atk_gobject_accessible_get_type() -> GType;
atk_gobject_accessible_for_object(obj: *mut gobject::GObject) -> *mut AtkObject1878     pub fn atk_gobject_accessible_for_object(obj: *mut gobject::GObject) -> *mut AtkObject;
atk_gobject_accessible_get_object( obj: *mut AtkGObjectAccessible, ) -> *mut gobject::GObject1879     pub fn atk_gobject_accessible_get_object(
1880         obj: *mut AtkGObjectAccessible,
1881     ) -> *mut gobject::GObject;
1882 
1883     //=========================================================================
1884     // AtkHyperlink
1885     //=========================================================================
atk_hyperlink_get_type() -> GType1886     pub fn atk_hyperlink_get_type() -> GType;
atk_hyperlink_get_end_index(link_: *mut AtkHyperlink) -> c_int1887     pub fn atk_hyperlink_get_end_index(link_: *mut AtkHyperlink) -> c_int;
atk_hyperlink_get_n_anchors(link_: *mut AtkHyperlink) -> c_int1888     pub fn atk_hyperlink_get_n_anchors(link_: *mut AtkHyperlink) -> c_int;
atk_hyperlink_get_object(link_: *mut AtkHyperlink, i: c_int) -> *mut AtkObject1889     pub fn atk_hyperlink_get_object(link_: *mut AtkHyperlink, i: c_int) -> *mut AtkObject;
atk_hyperlink_get_start_index(link_: *mut AtkHyperlink) -> c_int1890     pub fn atk_hyperlink_get_start_index(link_: *mut AtkHyperlink) -> c_int;
atk_hyperlink_get_uri(link_: *mut AtkHyperlink, i: c_int) -> *mut c_char1891     pub fn atk_hyperlink_get_uri(link_: *mut AtkHyperlink, i: c_int) -> *mut c_char;
atk_hyperlink_is_inline(link_: *mut AtkHyperlink) -> gboolean1892     pub fn atk_hyperlink_is_inline(link_: *mut AtkHyperlink) -> gboolean;
atk_hyperlink_is_selected_link(link_: *mut AtkHyperlink) -> gboolean1893     pub fn atk_hyperlink_is_selected_link(link_: *mut AtkHyperlink) -> gboolean;
atk_hyperlink_is_valid(link_: *mut AtkHyperlink) -> gboolean1894     pub fn atk_hyperlink_is_valid(link_: *mut AtkHyperlink) -> gboolean;
1895 
1896     //=========================================================================
1897     // AtkMisc
1898     //=========================================================================
atk_misc_get_type() -> GType1899     pub fn atk_misc_get_type() -> GType;
atk_misc_get_instance() -> *const AtkMisc1900     pub fn atk_misc_get_instance() -> *const AtkMisc;
atk_misc_threads_enter(misc: *mut AtkMisc)1901     pub fn atk_misc_threads_enter(misc: *mut AtkMisc);
atk_misc_threads_leave(misc: *mut AtkMisc)1902     pub fn atk_misc_threads_leave(misc: *mut AtkMisc);
1903 
1904     //=========================================================================
1905     // AtkNoOpObject
1906     //=========================================================================
atk_no_op_object_get_type() -> GType1907     pub fn atk_no_op_object_get_type() -> GType;
atk_no_op_object_new(obj: *mut gobject::GObject) -> *mut AtkObject1908     pub fn atk_no_op_object_new(obj: *mut gobject::GObject) -> *mut AtkObject;
1909 
1910     //=========================================================================
1911     // AtkNoOpObjectFactory
1912     //=========================================================================
atk_no_op_object_factory_get_type() -> GType1913     pub fn atk_no_op_object_factory_get_type() -> GType;
atk_no_op_object_factory_new() -> *mut AtkObjectFactory1914     pub fn atk_no_op_object_factory_new() -> *mut AtkObjectFactory;
1915 
1916     //=========================================================================
1917     // AtkObject
1918     //=========================================================================
atk_object_get_type() -> GType1919     pub fn atk_object_get_type() -> GType;
atk_object_add_relationship( object: *mut AtkObject, relationship: AtkRelationType, target: *mut AtkObject, ) -> gboolean1920     pub fn atk_object_add_relationship(
1921         object: *mut AtkObject,
1922         relationship: AtkRelationType,
1923         target: *mut AtkObject,
1924     ) -> gboolean;
atk_object_connect_property_change_handler( accessible: *mut AtkObject, handler: *mut AtkPropertyChangeHandler, ) -> c_uint1925     pub fn atk_object_connect_property_change_handler(
1926         accessible: *mut AtkObject,
1927         handler: *mut AtkPropertyChangeHandler,
1928     ) -> c_uint;
1929     #[cfg(any(feature = "v2_34", feature = "dox"))]
1930     #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_34")))]
atk_object_get_accessible_id(accessible: *mut AtkObject) -> *const c_char1931     pub fn atk_object_get_accessible_id(accessible: *mut AtkObject) -> *const c_char;
atk_object_get_attributes(accessible: *mut AtkObject) -> *mut AtkAttributeSet1932     pub fn atk_object_get_attributes(accessible: *mut AtkObject) -> *mut AtkAttributeSet;
atk_object_get_description(accessible: *mut AtkObject) -> *const c_char1933     pub fn atk_object_get_description(accessible: *mut AtkObject) -> *const c_char;
atk_object_get_index_in_parent(accessible: *mut AtkObject) -> c_int1934     pub fn atk_object_get_index_in_parent(accessible: *mut AtkObject) -> c_int;
atk_object_get_layer(accessible: *mut AtkObject) -> AtkLayer1935     pub fn atk_object_get_layer(accessible: *mut AtkObject) -> AtkLayer;
atk_object_get_mdi_zorder(accessible: *mut AtkObject) -> c_int1936     pub fn atk_object_get_mdi_zorder(accessible: *mut AtkObject) -> c_int;
atk_object_get_n_accessible_children(accessible: *mut AtkObject) -> c_int1937     pub fn atk_object_get_n_accessible_children(accessible: *mut AtkObject) -> c_int;
atk_object_get_name(accessible: *mut AtkObject) -> *const c_char1938     pub fn atk_object_get_name(accessible: *mut AtkObject) -> *const c_char;
atk_object_get_object_locale(accessible: *mut AtkObject) -> *const c_char1939     pub fn atk_object_get_object_locale(accessible: *mut AtkObject) -> *const c_char;
atk_object_get_parent(accessible: *mut AtkObject) -> *mut AtkObject1940     pub fn atk_object_get_parent(accessible: *mut AtkObject) -> *mut AtkObject;
atk_object_get_role(accessible: *mut AtkObject) -> AtkRole1941     pub fn atk_object_get_role(accessible: *mut AtkObject) -> AtkRole;
atk_object_initialize(accessible: *mut AtkObject, data: gpointer)1942     pub fn atk_object_initialize(accessible: *mut AtkObject, data: gpointer);
atk_object_notify_state_change( accessible: *mut AtkObject, state: AtkState, value: gboolean, )1943     pub fn atk_object_notify_state_change(
1944         accessible: *mut AtkObject,
1945         state: AtkState,
1946         value: gboolean,
1947     );
atk_object_peek_parent(accessible: *mut AtkObject) -> *mut AtkObject1948     pub fn atk_object_peek_parent(accessible: *mut AtkObject) -> *mut AtkObject;
atk_object_ref_accessible_child(accessible: *mut AtkObject, i: c_int) -> *mut AtkObject1949     pub fn atk_object_ref_accessible_child(accessible: *mut AtkObject, i: c_int) -> *mut AtkObject;
atk_object_ref_relation_set(accessible: *mut AtkObject) -> *mut AtkRelationSet1950     pub fn atk_object_ref_relation_set(accessible: *mut AtkObject) -> *mut AtkRelationSet;
atk_object_ref_state_set(accessible: *mut AtkObject) -> *mut AtkStateSet1951     pub fn atk_object_ref_state_set(accessible: *mut AtkObject) -> *mut AtkStateSet;
atk_object_remove_property_change_handler( accessible: *mut AtkObject, handler_id: c_uint, )1952     pub fn atk_object_remove_property_change_handler(
1953         accessible: *mut AtkObject,
1954         handler_id: c_uint,
1955     );
atk_object_remove_relationship( object: *mut AtkObject, relationship: AtkRelationType, target: *mut AtkObject, ) -> gboolean1956     pub fn atk_object_remove_relationship(
1957         object: *mut AtkObject,
1958         relationship: AtkRelationType,
1959         target: *mut AtkObject,
1960     ) -> gboolean;
1961     #[cfg(any(feature = "v2_34", feature = "dox"))]
1962     #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_34")))]
atk_object_set_accessible_id(accessible: *mut AtkObject, name: *const c_char)1963     pub fn atk_object_set_accessible_id(accessible: *mut AtkObject, name: *const c_char);
atk_object_set_description(accessible: *mut AtkObject, description: *const c_char)1964     pub fn atk_object_set_description(accessible: *mut AtkObject, description: *const c_char);
atk_object_set_name(accessible: *mut AtkObject, name: *const c_char)1965     pub fn atk_object_set_name(accessible: *mut AtkObject, name: *const c_char);
atk_object_set_parent(accessible: *mut AtkObject, parent: *mut AtkObject)1966     pub fn atk_object_set_parent(accessible: *mut AtkObject, parent: *mut AtkObject);
atk_object_set_role(accessible: *mut AtkObject, role: AtkRole)1967     pub fn atk_object_set_role(accessible: *mut AtkObject, role: AtkRole);
1968 
1969     //=========================================================================
1970     // AtkObjectFactory
1971     //=========================================================================
atk_object_factory_get_type() -> GType1972     pub fn atk_object_factory_get_type() -> GType;
atk_object_factory_create_accessible( factory: *mut AtkObjectFactory, obj: *mut gobject::GObject, ) -> *mut AtkObject1973     pub fn atk_object_factory_create_accessible(
1974         factory: *mut AtkObjectFactory,
1975         obj: *mut gobject::GObject,
1976     ) -> *mut AtkObject;
atk_object_factory_get_accessible_type(factory: *mut AtkObjectFactory) -> GType1977     pub fn atk_object_factory_get_accessible_type(factory: *mut AtkObjectFactory) -> GType;
atk_object_factory_invalidate(factory: *mut AtkObjectFactory)1978     pub fn atk_object_factory_invalidate(factory: *mut AtkObjectFactory);
1979 
1980     //=========================================================================
1981     // AtkPlug
1982     //=========================================================================
atk_plug_get_type() -> GType1983     pub fn atk_plug_get_type() -> GType;
atk_plug_new() -> *mut AtkObject1984     pub fn atk_plug_new() -> *mut AtkObject;
atk_plug_get_id(plug: *mut AtkPlug) -> *mut c_char1985     pub fn atk_plug_get_id(plug: *mut AtkPlug) -> *mut c_char;
1986 
1987     //=========================================================================
1988     // AtkRegistry
1989     //=========================================================================
atk_registry_get_type() -> GType1990     pub fn atk_registry_get_type() -> GType;
atk_registry_get_factory( registry: *mut AtkRegistry, type_: GType, ) -> *mut AtkObjectFactory1991     pub fn atk_registry_get_factory(
1992         registry: *mut AtkRegistry,
1993         type_: GType,
1994     ) -> *mut AtkObjectFactory;
atk_registry_get_factory_type(registry: *mut AtkRegistry, type_: GType) -> GType1995     pub fn atk_registry_get_factory_type(registry: *mut AtkRegistry, type_: GType) -> GType;
atk_registry_set_factory_type( registry: *mut AtkRegistry, type_: GType, factory_type: GType, )1996     pub fn atk_registry_set_factory_type(
1997         registry: *mut AtkRegistry,
1998         type_: GType,
1999         factory_type: GType,
2000     );
2001 
2002     //=========================================================================
2003     // AtkRelation
2004     //=========================================================================
atk_relation_get_type() -> GType2005     pub fn atk_relation_get_type() -> GType;
atk_relation_new( targets: *mut *mut AtkObject, n_targets: c_int, relationship: AtkRelationType, ) -> *mut AtkRelation2006     pub fn atk_relation_new(
2007         targets: *mut *mut AtkObject,
2008         n_targets: c_int,
2009         relationship: AtkRelationType,
2010     ) -> *mut AtkRelation;
atk_relation_add_target(relation: *mut AtkRelation, target: *mut AtkObject)2011     pub fn atk_relation_add_target(relation: *mut AtkRelation, target: *mut AtkObject);
atk_relation_get_relation_type(relation: *mut AtkRelation) -> AtkRelationType2012     pub fn atk_relation_get_relation_type(relation: *mut AtkRelation) -> AtkRelationType;
atk_relation_get_target(relation: *mut AtkRelation) -> *mut glib::GPtrArray2013     pub fn atk_relation_get_target(relation: *mut AtkRelation) -> *mut glib::GPtrArray;
atk_relation_remove_target( relation: *mut AtkRelation, target: *mut AtkObject, ) -> gboolean2014     pub fn atk_relation_remove_target(
2015         relation: *mut AtkRelation,
2016         target: *mut AtkObject,
2017     ) -> gboolean;
2018 
2019     //=========================================================================
2020     // AtkRelationSet
2021     //=========================================================================
atk_relation_set_get_type() -> GType2022     pub fn atk_relation_set_get_type() -> GType;
atk_relation_set_new() -> *mut AtkRelationSet2023     pub fn atk_relation_set_new() -> *mut AtkRelationSet;
atk_relation_set_add(set: *mut AtkRelationSet, relation: *mut AtkRelation)2024     pub fn atk_relation_set_add(set: *mut AtkRelationSet, relation: *mut AtkRelation);
atk_relation_set_add_relation_by_type( set: *mut AtkRelationSet, relationship: AtkRelationType, target: *mut AtkObject, )2025     pub fn atk_relation_set_add_relation_by_type(
2026         set: *mut AtkRelationSet,
2027         relationship: AtkRelationType,
2028         target: *mut AtkObject,
2029     );
atk_relation_set_contains( set: *mut AtkRelationSet, relationship: AtkRelationType, ) -> gboolean2030     pub fn atk_relation_set_contains(
2031         set: *mut AtkRelationSet,
2032         relationship: AtkRelationType,
2033     ) -> gboolean;
atk_relation_set_contains_target( set: *mut AtkRelationSet, relationship: AtkRelationType, target: *mut AtkObject, ) -> gboolean2034     pub fn atk_relation_set_contains_target(
2035         set: *mut AtkRelationSet,
2036         relationship: AtkRelationType,
2037         target: *mut AtkObject,
2038     ) -> gboolean;
atk_relation_set_get_n_relations(set: *mut AtkRelationSet) -> c_int2039     pub fn atk_relation_set_get_n_relations(set: *mut AtkRelationSet) -> c_int;
atk_relation_set_get_relation(set: *mut AtkRelationSet, i: c_int) -> *mut AtkRelation2040     pub fn atk_relation_set_get_relation(set: *mut AtkRelationSet, i: c_int) -> *mut AtkRelation;
atk_relation_set_get_relation_by_type( set: *mut AtkRelationSet, relationship: AtkRelationType, ) -> *mut AtkRelation2041     pub fn atk_relation_set_get_relation_by_type(
2042         set: *mut AtkRelationSet,
2043         relationship: AtkRelationType,
2044     ) -> *mut AtkRelation;
atk_relation_set_remove(set: *mut AtkRelationSet, relation: *mut AtkRelation)2045     pub fn atk_relation_set_remove(set: *mut AtkRelationSet, relation: *mut AtkRelation);
2046 
2047     //=========================================================================
2048     // AtkSocket
2049     //=========================================================================
atk_socket_get_type() -> GType2050     pub fn atk_socket_get_type() -> GType;
atk_socket_new() -> *mut AtkObject2051     pub fn atk_socket_new() -> *mut AtkObject;
atk_socket_embed(obj: *mut AtkSocket, plug_id: *const c_char)2052     pub fn atk_socket_embed(obj: *mut AtkSocket, plug_id: *const c_char);
atk_socket_is_occupied(obj: *mut AtkSocket) -> gboolean2053     pub fn atk_socket_is_occupied(obj: *mut AtkSocket) -> gboolean;
2054 
2055     //=========================================================================
2056     // AtkStateSet
2057     //=========================================================================
atk_state_set_get_type() -> GType2058     pub fn atk_state_set_get_type() -> GType;
atk_state_set_new() -> *mut AtkStateSet2059     pub fn atk_state_set_new() -> *mut AtkStateSet;
atk_state_set_add_state(set: *mut AtkStateSet, type_: AtkStateType) -> gboolean2060     pub fn atk_state_set_add_state(set: *mut AtkStateSet, type_: AtkStateType) -> gboolean;
atk_state_set_add_states( set: *mut AtkStateSet, types: *mut AtkStateType, n_types: c_int, )2061     pub fn atk_state_set_add_states(
2062         set: *mut AtkStateSet,
2063         types: *mut AtkStateType,
2064         n_types: c_int,
2065     );
atk_state_set_and_sets( set: *mut AtkStateSet, compare_set: *mut AtkStateSet, ) -> *mut AtkStateSet2066     pub fn atk_state_set_and_sets(
2067         set: *mut AtkStateSet,
2068         compare_set: *mut AtkStateSet,
2069     ) -> *mut AtkStateSet;
atk_state_set_clear_states(set: *mut AtkStateSet)2070     pub fn atk_state_set_clear_states(set: *mut AtkStateSet);
atk_state_set_contains_state(set: *mut AtkStateSet, type_: AtkStateType) -> gboolean2071     pub fn atk_state_set_contains_state(set: *mut AtkStateSet, type_: AtkStateType) -> gboolean;
atk_state_set_contains_states( set: *mut AtkStateSet, types: *mut AtkStateType, n_types: c_int, ) -> gboolean2072     pub fn atk_state_set_contains_states(
2073         set: *mut AtkStateSet,
2074         types: *mut AtkStateType,
2075         n_types: c_int,
2076     ) -> gboolean;
atk_state_set_is_empty(set: *mut AtkStateSet) -> gboolean2077     pub fn atk_state_set_is_empty(set: *mut AtkStateSet) -> gboolean;
atk_state_set_or_sets( set: *mut AtkStateSet, compare_set: *mut AtkStateSet, ) -> *mut AtkStateSet2078     pub fn atk_state_set_or_sets(
2079         set: *mut AtkStateSet,
2080         compare_set: *mut AtkStateSet,
2081     ) -> *mut AtkStateSet;
atk_state_set_remove_state(set: *mut AtkStateSet, type_: AtkStateType) -> gboolean2082     pub fn atk_state_set_remove_state(set: *mut AtkStateSet, type_: AtkStateType) -> gboolean;
atk_state_set_xor_sets( set: *mut AtkStateSet, compare_set: *mut AtkStateSet, ) -> *mut AtkStateSet2083     pub fn atk_state_set_xor_sets(
2084         set: *mut AtkStateSet,
2085         compare_set: *mut AtkStateSet,
2086     ) -> *mut AtkStateSet;
2087 
2088     //=========================================================================
2089     // AtkUtil
2090     //=========================================================================
atk_util_get_type() -> GType2091     pub fn atk_util_get_type() -> GType;
2092 
2093     //=========================================================================
2094     // AtkAction
2095     //=========================================================================
atk_action_get_type() -> GType2096     pub fn atk_action_get_type() -> GType;
atk_action_do_action(action: *mut AtkAction, i: c_int) -> gboolean2097     pub fn atk_action_do_action(action: *mut AtkAction, i: c_int) -> gboolean;
atk_action_get_description(action: *mut AtkAction, i: c_int) -> *const c_char2098     pub fn atk_action_get_description(action: *mut AtkAction, i: c_int) -> *const c_char;
atk_action_get_keybinding(action: *mut AtkAction, i: c_int) -> *const c_char2099     pub fn atk_action_get_keybinding(action: *mut AtkAction, i: c_int) -> *const c_char;
atk_action_get_localized_name(action: *mut AtkAction, i: c_int) -> *const c_char2100     pub fn atk_action_get_localized_name(action: *mut AtkAction, i: c_int) -> *const c_char;
atk_action_get_n_actions(action: *mut AtkAction) -> c_int2101     pub fn atk_action_get_n_actions(action: *mut AtkAction) -> c_int;
atk_action_get_name(action: *mut AtkAction, i: c_int) -> *const c_char2102     pub fn atk_action_get_name(action: *mut AtkAction, i: c_int) -> *const c_char;
atk_action_set_description( action: *mut AtkAction, i: c_int, desc: *const c_char, ) -> gboolean2103     pub fn atk_action_set_description(
2104         action: *mut AtkAction,
2105         i: c_int,
2106         desc: *const c_char,
2107     ) -> gboolean;
2108 
2109     //=========================================================================
2110     // AtkComponent
2111     //=========================================================================
atk_component_get_type() -> GType2112     pub fn atk_component_get_type() -> GType;
atk_component_add_focus_handler( component: *mut AtkComponent, handler: AtkFocusHandler, ) -> c_uint2113     pub fn atk_component_add_focus_handler(
2114         component: *mut AtkComponent,
2115         handler: AtkFocusHandler,
2116     ) -> c_uint;
atk_component_contains( component: *mut AtkComponent, x: c_int, y: c_int, coord_type: AtkCoordType, ) -> gboolean2117     pub fn atk_component_contains(
2118         component: *mut AtkComponent,
2119         x: c_int,
2120         y: c_int,
2121         coord_type: AtkCoordType,
2122     ) -> gboolean;
atk_component_get_alpha(component: *mut AtkComponent) -> c_double2123     pub fn atk_component_get_alpha(component: *mut AtkComponent) -> c_double;
atk_component_get_extents( component: *mut AtkComponent, x: *mut c_int, y: *mut c_int, width: *mut c_int, height: *mut c_int, coord_type: AtkCoordType, )2124     pub fn atk_component_get_extents(
2125         component: *mut AtkComponent,
2126         x: *mut c_int,
2127         y: *mut c_int,
2128         width: *mut c_int,
2129         height: *mut c_int,
2130         coord_type: AtkCoordType,
2131     );
atk_component_get_layer(component: *mut AtkComponent) -> AtkLayer2132     pub fn atk_component_get_layer(component: *mut AtkComponent) -> AtkLayer;
atk_component_get_mdi_zorder(component: *mut AtkComponent) -> c_int2133     pub fn atk_component_get_mdi_zorder(component: *mut AtkComponent) -> c_int;
atk_component_get_position( component: *mut AtkComponent, x: *mut c_int, y: *mut c_int, coord_type: AtkCoordType, )2134     pub fn atk_component_get_position(
2135         component: *mut AtkComponent,
2136         x: *mut c_int,
2137         y: *mut c_int,
2138         coord_type: AtkCoordType,
2139     );
atk_component_get_size( component: *mut AtkComponent, width: *mut c_int, height: *mut c_int, )2140     pub fn atk_component_get_size(
2141         component: *mut AtkComponent,
2142         width: *mut c_int,
2143         height: *mut c_int,
2144     );
atk_component_grab_focus(component: *mut AtkComponent) -> gboolean2145     pub fn atk_component_grab_focus(component: *mut AtkComponent) -> gboolean;
atk_component_ref_accessible_at_point( component: *mut AtkComponent, x: c_int, y: c_int, coord_type: AtkCoordType, ) -> *mut AtkObject2146     pub fn atk_component_ref_accessible_at_point(
2147         component: *mut AtkComponent,
2148         x: c_int,
2149         y: c_int,
2150         coord_type: AtkCoordType,
2151     ) -> *mut AtkObject;
atk_component_remove_focus_handler(component: *mut AtkComponent, handler_id: c_uint)2152     pub fn atk_component_remove_focus_handler(component: *mut AtkComponent, handler_id: c_uint);
2153     #[cfg(any(feature = "v2_30", feature = "dox"))]
2154     #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_30")))]
atk_component_scroll_to(component: *mut AtkComponent, type_: AtkScrollType) -> gboolean2155     pub fn atk_component_scroll_to(component: *mut AtkComponent, type_: AtkScrollType) -> gboolean;
2156     #[cfg(any(feature = "v2_30", feature = "dox"))]
2157     #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_30")))]
atk_component_scroll_to_point( component: *mut AtkComponent, coords: AtkCoordType, x: c_int, y: c_int, ) -> gboolean2158     pub fn atk_component_scroll_to_point(
2159         component: *mut AtkComponent,
2160         coords: AtkCoordType,
2161         x: c_int,
2162         y: c_int,
2163     ) -> gboolean;
atk_component_set_extents( component: *mut AtkComponent, x: c_int, y: c_int, width: c_int, height: c_int, coord_type: AtkCoordType, ) -> gboolean2164     pub fn atk_component_set_extents(
2165         component: *mut AtkComponent,
2166         x: c_int,
2167         y: c_int,
2168         width: c_int,
2169         height: c_int,
2170         coord_type: AtkCoordType,
2171     ) -> gboolean;
atk_component_set_position( component: *mut AtkComponent, x: c_int, y: c_int, coord_type: AtkCoordType, ) -> gboolean2172     pub fn atk_component_set_position(
2173         component: *mut AtkComponent,
2174         x: c_int,
2175         y: c_int,
2176         coord_type: AtkCoordType,
2177     ) -> gboolean;
atk_component_set_size( component: *mut AtkComponent, width: c_int, height: c_int, ) -> gboolean2178     pub fn atk_component_set_size(
2179         component: *mut AtkComponent,
2180         width: c_int,
2181         height: c_int,
2182     ) -> gboolean;
2183 
2184     //=========================================================================
2185     // AtkDocument
2186     //=========================================================================
atk_document_get_type() -> GType2187     pub fn atk_document_get_type() -> GType;
atk_document_get_attribute_value( document: *mut AtkDocument, attribute_name: *const c_char, ) -> *const c_char2188     pub fn atk_document_get_attribute_value(
2189         document: *mut AtkDocument,
2190         attribute_name: *const c_char,
2191     ) -> *const c_char;
atk_document_get_attributes(document: *mut AtkDocument) -> *mut AtkAttributeSet2192     pub fn atk_document_get_attributes(document: *mut AtkDocument) -> *mut AtkAttributeSet;
atk_document_get_current_page_number(document: *mut AtkDocument) -> c_int2193     pub fn atk_document_get_current_page_number(document: *mut AtkDocument) -> c_int;
atk_document_get_document(document: *mut AtkDocument) -> gpointer2194     pub fn atk_document_get_document(document: *mut AtkDocument) -> gpointer;
atk_document_get_document_type(document: *mut AtkDocument) -> *const c_char2195     pub fn atk_document_get_document_type(document: *mut AtkDocument) -> *const c_char;
atk_document_get_locale(document: *mut AtkDocument) -> *const c_char2196     pub fn atk_document_get_locale(document: *mut AtkDocument) -> *const c_char;
atk_document_get_page_count(document: *mut AtkDocument) -> c_int2197     pub fn atk_document_get_page_count(document: *mut AtkDocument) -> c_int;
atk_document_set_attribute_value( document: *mut AtkDocument, attribute_name: *const c_char, attribute_value: *const c_char, ) -> gboolean2198     pub fn atk_document_set_attribute_value(
2199         document: *mut AtkDocument,
2200         attribute_name: *const c_char,
2201         attribute_value: *const c_char,
2202     ) -> gboolean;
2203 
2204     //=========================================================================
2205     // AtkEditableText
2206     //=========================================================================
atk_editable_text_get_type() -> GType2207     pub fn atk_editable_text_get_type() -> GType;
atk_editable_text_copy_text( text: *mut AtkEditableText, start_pos: c_int, end_pos: c_int, )2208     pub fn atk_editable_text_copy_text(
2209         text: *mut AtkEditableText,
2210         start_pos: c_int,
2211         end_pos: c_int,
2212     );
atk_editable_text_cut_text(text: *mut AtkEditableText, start_pos: c_int, end_pos: c_int)2213     pub fn atk_editable_text_cut_text(text: *mut AtkEditableText, start_pos: c_int, end_pos: c_int);
atk_editable_text_delete_text( text: *mut AtkEditableText, start_pos: c_int, end_pos: c_int, )2214     pub fn atk_editable_text_delete_text(
2215         text: *mut AtkEditableText,
2216         start_pos: c_int,
2217         end_pos: c_int,
2218     );
atk_editable_text_insert_text( text: *mut AtkEditableText, string: *const c_char, length: c_int, position: *mut c_int, )2219     pub fn atk_editable_text_insert_text(
2220         text: *mut AtkEditableText,
2221         string: *const c_char,
2222         length: c_int,
2223         position: *mut c_int,
2224     );
atk_editable_text_paste_text(text: *mut AtkEditableText, position: c_int)2225     pub fn atk_editable_text_paste_text(text: *mut AtkEditableText, position: c_int);
atk_editable_text_set_run_attributes( text: *mut AtkEditableText, attrib_set: *mut AtkAttributeSet, start_offset: c_int, end_offset: c_int, ) -> gboolean2226     pub fn atk_editable_text_set_run_attributes(
2227         text: *mut AtkEditableText,
2228         attrib_set: *mut AtkAttributeSet,
2229         start_offset: c_int,
2230         end_offset: c_int,
2231     ) -> gboolean;
atk_editable_text_set_text_contents(text: *mut AtkEditableText, string: *const c_char)2232     pub fn atk_editable_text_set_text_contents(text: *mut AtkEditableText, string: *const c_char);
2233 
2234     //=========================================================================
2235     // AtkHyperlinkImpl
2236     //=========================================================================
atk_hyperlink_impl_get_type() -> GType2237     pub fn atk_hyperlink_impl_get_type() -> GType;
atk_hyperlink_impl_get_hyperlink(impl_: *mut AtkHyperlinkImpl) -> *mut AtkHyperlink2238     pub fn atk_hyperlink_impl_get_hyperlink(impl_: *mut AtkHyperlinkImpl) -> *mut AtkHyperlink;
2239 
2240     //=========================================================================
2241     // AtkHypertext
2242     //=========================================================================
atk_hypertext_get_type() -> GType2243     pub fn atk_hypertext_get_type() -> GType;
atk_hypertext_get_link( hypertext: *mut AtkHypertext, link_index: c_int, ) -> *mut AtkHyperlink2244     pub fn atk_hypertext_get_link(
2245         hypertext: *mut AtkHypertext,
2246         link_index: c_int,
2247     ) -> *mut AtkHyperlink;
atk_hypertext_get_link_index(hypertext: *mut AtkHypertext, char_index: c_int) -> c_int2248     pub fn atk_hypertext_get_link_index(hypertext: *mut AtkHypertext, char_index: c_int) -> c_int;
atk_hypertext_get_n_links(hypertext: *mut AtkHypertext) -> c_int2249     pub fn atk_hypertext_get_n_links(hypertext: *mut AtkHypertext) -> c_int;
2250 
2251     //=========================================================================
2252     // AtkImage
2253     //=========================================================================
atk_image_get_type() -> GType2254     pub fn atk_image_get_type() -> GType;
atk_image_get_image_description(image: *mut AtkImage) -> *const c_char2255     pub fn atk_image_get_image_description(image: *mut AtkImage) -> *const c_char;
atk_image_get_image_locale(image: *mut AtkImage) -> *const c_char2256     pub fn atk_image_get_image_locale(image: *mut AtkImage) -> *const c_char;
atk_image_get_image_position( image: *mut AtkImage, x: *mut c_int, y: *mut c_int, coord_type: AtkCoordType, )2257     pub fn atk_image_get_image_position(
2258         image: *mut AtkImage,
2259         x: *mut c_int,
2260         y: *mut c_int,
2261         coord_type: AtkCoordType,
2262     );
atk_image_get_image_size(image: *mut AtkImage, width: *mut c_int, height: *mut c_int)2263     pub fn atk_image_get_image_size(image: *mut AtkImage, width: *mut c_int, height: *mut c_int);
atk_image_set_image_description( image: *mut AtkImage, description: *const c_char, ) -> gboolean2264     pub fn atk_image_set_image_description(
2265         image: *mut AtkImage,
2266         description: *const c_char,
2267     ) -> gboolean;
2268 
2269     //=========================================================================
2270     // AtkImplementorIface
2271     //=========================================================================
atk_implementor_get_type() -> GType2272     pub fn atk_implementor_get_type() -> GType;
2273 
2274     //=========================================================================
2275     // AtkSelection
2276     //=========================================================================
atk_selection_get_type() -> GType2277     pub fn atk_selection_get_type() -> GType;
atk_selection_add_selection(selection: *mut AtkSelection, i: c_int) -> gboolean2278     pub fn atk_selection_add_selection(selection: *mut AtkSelection, i: c_int) -> gboolean;
atk_selection_clear_selection(selection: *mut AtkSelection) -> gboolean2279     pub fn atk_selection_clear_selection(selection: *mut AtkSelection) -> gboolean;
atk_selection_get_selection_count(selection: *mut AtkSelection) -> c_int2280     pub fn atk_selection_get_selection_count(selection: *mut AtkSelection) -> c_int;
atk_selection_is_child_selected(selection: *mut AtkSelection, i: c_int) -> gboolean2281     pub fn atk_selection_is_child_selected(selection: *mut AtkSelection, i: c_int) -> gboolean;
atk_selection_ref_selection(selection: *mut AtkSelection, i: c_int) -> *mut AtkObject2282     pub fn atk_selection_ref_selection(selection: *mut AtkSelection, i: c_int) -> *mut AtkObject;
atk_selection_remove_selection(selection: *mut AtkSelection, i: c_int) -> gboolean2283     pub fn atk_selection_remove_selection(selection: *mut AtkSelection, i: c_int) -> gboolean;
atk_selection_select_all_selection(selection: *mut AtkSelection) -> gboolean2284     pub fn atk_selection_select_all_selection(selection: *mut AtkSelection) -> gboolean;
2285 
2286     //=========================================================================
2287     // AtkStreamableContent
2288     //=========================================================================
atk_streamable_content_get_type() -> GType2289     pub fn atk_streamable_content_get_type() -> GType;
atk_streamable_content_get_mime_type( streamable: *mut AtkStreamableContent, i: c_int, ) -> *const c_char2290     pub fn atk_streamable_content_get_mime_type(
2291         streamable: *mut AtkStreamableContent,
2292         i: c_int,
2293     ) -> *const c_char;
atk_streamable_content_get_n_mime_types(streamable: *mut AtkStreamableContent) -> c_int2294     pub fn atk_streamable_content_get_n_mime_types(streamable: *mut AtkStreamableContent) -> c_int;
atk_streamable_content_get_stream( streamable: *mut AtkStreamableContent, mime_type: *const c_char, ) -> *mut glib::GIOChannel2295     pub fn atk_streamable_content_get_stream(
2296         streamable: *mut AtkStreamableContent,
2297         mime_type: *const c_char,
2298     ) -> *mut glib::GIOChannel;
atk_streamable_content_get_uri( streamable: *mut AtkStreamableContent, mime_type: *const c_char, ) -> *const c_char2299     pub fn atk_streamable_content_get_uri(
2300         streamable: *mut AtkStreamableContent,
2301         mime_type: *const c_char,
2302     ) -> *const c_char;
2303 
2304     //=========================================================================
2305     // AtkTable
2306     //=========================================================================
atk_table_get_type() -> GType2307     pub fn atk_table_get_type() -> GType;
atk_table_add_column_selection(table: *mut AtkTable, column: c_int) -> gboolean2308     pub fn atk_table_add_column_selection(table: *mut AtkTable, column: c_int) -> gboolean;
atk_table_add_row_selection(table: *mut AtkTable, row: c_int) -> gboolean2309     pub fn atk_table_add_row_selection(table: *mut AtkTable, row: c_int) -> gboolean;
atk_table_get_caption(table: *mut AtkTable) -> *mut AtkObject2310     pub fn atk_table_get_caption(table: *mut AtkTable) -> *mut AtkObject;
atk_table_get_column_at_index(table: *mut AtkTable, index_: c_int) -> c_int2311     pub fn atk_table_get_column_at_index(table: *mut AtkTable, index_: c_int) -> c_int;
atk_table_get_column_description(table: *mut AtkTable, column: c_int) -> *const c_char2312     pub fn atk_table_get_column_description(table: *mut AtkTable, column: c_int) -> *const c_char;
atk_table_get_column_extent_at(table: *mut AtkTable, row: c_int, column: c_int) -> c_int2313     pub fn atk_table_get_column_extent_at(table: *mut AtkTable, row: c_int, column: c_int)
2314         -> c_int;
atk_table_get_column_header(table: *mut AtkTable, column: c_int) -> *mut AtkObject2315     pub fn atk_table_get_column_header(table: *mut AtkTable, column: c_int) -> *mut AtkObject;
atk_table_get_index_at(table: *mut AtkTable, row: c_int, column: c_int) -> c_int2316     pub fn atk_table_get_index_at(table: *mut AtkTable, row: c_int, column: c_int) -> c_int;
atk_table_get_n_columns(table: *mut AtkTable) -> c_int2317     pub fn atk_table_get_n_columns(table: *mut AtkTable) -> c_int;
atk_table_get_n_rows(table: *mut AtkTable) -> c_int2318     pub fn atk_table_get_n_rows(table: *mut AtkTable) -> c_int;
atk_table_get_row_at_index(table: *mut AtkTable, index_: c_int) -> c_int2319     pub fn atk_table_get_row_at_index(table: *mut AtkTable, index_: c_int) -> c_int;
atk_table_get_row_description(table: *mut AtkTable, row: c_int) -> *const c_char2320     pub fn atk_table_get_row_description(table: *mut AtkTable, row: c_int) -> *const c_char;
atk_table_get_row_extent_at(table: *mut AtkTable, row: c_int, column: c_int) -> c_int2321     pub fn atk_table_get_row_extent_at(table: *mut AtkTable, row: c_int, column: c_int) -> c_int;
atk_table_get_row_header(table: *mut AtkTable, row: c_int) -> *mut AtkObject2322     pub fn atk_table_get_row_header(table: *mut AtkTable, row: c_int) -> *mut AtkObject;
atk_table_get_selected_columns(table: *mut AtkTable, selected: *mut *mut c_int) -> c_int2323     pub fn atk_table_get_selected_columns(table: *mut AtkTable, selected: *mut *mut c_int)
2324         -> c_int;
atk_table_get_selected_rows(table: *mut AtkTable, selected: *mut *mut c_int) -> c_int2325     pub fn atk_table_get_selected_rows(table: *mut AtkTable, selected: *mut *mut c_int) -> c_int;
atk_table_get_summary(table: *mut AtkTable) -> *mut AtkObject2326     pub fn atk_table_get_summary(table: *mut AtkTable) -> *mut AtkObject;
atk_table_is_column_selected(table: *mut AtkTable, column: c_int) -> gboolean2327     pub fn atk_table_is_column_selected(table: *mut AtkTable, column: c_int) -> gboolean;
atk_table_is_row_selected(table: *mut AtkTable, row: c_int) -> gboolean2328     pub fn atk_table_is_row_selected(table: *mut AtkTable, row: c_int) -> gboolean;
atk_table_is_selected(table: *mut AtkTable, row: c_int, column: c_int) -> gboolean2329     pub fn atk_table_is_selected(table: *mut AtkTable, row: c_int, column: c_int) -> gboolean;
atk_table_ref_at(table: *mut AtkTable, row: c_int, column: c_int) -> *mut AtkObject2330     pub fn atk_table_ref_at(table: *mut AtkTable, row: c_int, column: c_int) -> *mut AtkObject;
atk_table_remove_column_selection(table: *mut AtkTable, column: c_int) -> gboolean2331     pub fn atk_table_remove_column_selection(table: *mut AtkTable, column: c_int) -> gboolean;
atk_table_remove_row_selection(table: *mut AtkTable, row: c_int) -> gboolean2332     pub fn atk_table_remove_row_selection(table: *mut AtkTable, row: c_int) -> gboolean;
atk_table_set_caption(table: *mut AtkTable, caption: *mut AtkObject)2333     pub fn atk_table_set_caption(table: *mut AtkTable, caption: *mut AtkObject);
atk_table_set_column_description( table: *mut AtkTable, column: c_int, description: *const c_char, )2334     pub fn atk_table_set_column_description(
2335         table: *mut AtkTable,
2336         column: c_int,
2337         description: *const c_char,
2338     );
atk_table_set_column_header(table: *mut AtkTable, column: c_int, header: *mut AtkObject)2339     pub fn atk_table_set_column_header(table: *mut AtkTable, column: c_int, header: *mut AtkObject);
atk_table_set_row_description( table: *mut AtkTable, row: c_int, description: *const c_char, )2340     pub fn atk_table_set_row_description(
2341         table: *mut AtkTable,
2342         row: c_int,
2343         description: *const c_char,
2344     );
atk_table_set_row_header(table: *mut AtkTable, row: c_int, header: *mut AtkObject)2345     pub fn atk_table_set_row_header(table: *mut AtkTable, row: c_int, header: *mut AtkObject);
atk_table_set_summary(table: *mut AtkTable, accessible: *mut AtkObject)2346     pub fn atk_table_set_summary(table: *mut AtkTable, accessible: *mut AtkObject);
2347 
2348     //=========================================================================
2349     // AtkTableCell
2350     //=========================================================================
atk_table_cell_get_type() -> GType2351     pub fn atk_table_cell_get_type() -> GType;
atk_table_cell_get_column_header_cells(cell: *mut AtkTableCell) -> *mut glib::GPtrArray2352     pub fn atk_table_cell_get_column_header_cells(cell: *mut AtkTableCell) -> *mut glib::GPtrArray;
atk_table_cell_get_column_span(cell: *mut AtkTableCell) -> c_int2353     pub fn atk_table_cell_get_column_span(cell: *mut AtkTableCell) -> c_int;
atk_table_cell_get_position( cell: *mut AtkTableCell, row: *mut c_int, column: *mut c_int, ) -> gboolean2354     pub fn atk_table_cell_get_position(
2355         cell: *mut AtkTableCell,
2356         row: *mut c_int,
2357         column: *mut c_int,
2358     ) -> gboolean;
atk_table_cell_get_row_column_span( cell: *mut AtkTableCell, row: *mut c_int, column: *mut c_int, row_span: *mut c_int, column_span: *mut c_int, ) -> gboolean2359     pub fn atk_table_cell_get_row_column_span(
2360         cell: *mut AtkTableCell,
2361         row: *mut c_int,
2362         column: *mut c_int,
2363         row_span: *mut c_int,
2364         column_span: *mut c_int,
2365     ) -> gboolean;
atk_table_cell_get_row_header_cells(cell: *mut AtkTableCell) -> *mut glib::GPtrArray2366     pub fn atk_table_cell_get_row_header_cells(cell: *mut AtkTableCell) -> *mut glib::GPtrArray;
atk_table_cell_get_row_span(cell: *mut AtkTableCell) -> c_int2367     pub fn atk_table_cell_get_row_span(cell: *mut AtkTableCell) -> c_int;
atk_table_cell_get_table(cell: *mut AtkTableCell) -> *mut AtkObject2368     pub fn atk_table_cell_get_table(cell: *mut AtkTableCell) -> *mut AtkObject;
2369 
2370     //=========================================================================
2371     // AtkText
2372     //=========================================================================
atk_text_get_type() -> GType2373     pub fn atk_text_get_type() -> GType;
atk_text_free_ranges(ranges: *mut *mut AtkTextRange)2374     pub fn atk_text_free_ranges(ranges: *mut *mut AtkTextRange);
atk_text_add_selection( text: *mut AtkText, start_offset: c_int, end_offset: c_int, ) -> gboolean2375     pub fn atk_text_add_selection(
2376         text: *mut AtkText,
2377         start_offset: c_int,
2378         end_offset: c_int,
2379     ) -> gboolean;
atk_text_get_bounded_ranges( text: *mut AtkText, rect: *mut AtkTextRectangle, coord_type: AtkCoordType, x_clip_type: AtkTextClipType, y_clip_type: AtkTextClipType, ) -> *mut *mut AtkTextRange2380     pub fn atk_text_get_bounded_ranges(
2381         text: *mut AtkText,
2382         rect: *mut AtkTextRectangle,
2383         coord_type: AtkCoordType,
2384         x_clip_type: AtkTextClipType,
2385         y_clip_type: AtkTextClipType,
2386     ) -> *mut *mut AtkTextRange;
atk_text_get_caret_offset(text: *mut AtkText) -> c_int2387     pub fn atk_text_get_caret_offset(text: *mut AtkText) -> c_int;
atk_text_get_character_at_offset(text: *mut AtkText, offset: c_int) -> u322388     pub fn atk_text_get_character_at_offset(text: *mut AtkText, offset: c_int) -> u32;
atk_text_get_character_count(text: *mut AtkText) -> c_int2389     pub fn atk_text_get_character_count(text: *mut AtkText) -> c_int;
atk_text_get_character_extents( text: *mut AtkText, offset: c_int, x: *mut c_int, y: *mut c_int, width: *mut c_int, height: *mut c_int, coords: AtkCoordType, )2390     pub fn atk_text_get_character_extents(
2391         text: *mut AtkText,
2392         offset: c_int,
2393         x: *mut c_int,
2394         y: *mut c_int,
2395         width: *mut c_int,
2396         height: *mut c_int,
2397         coords: AtkCoordType,
2398     );
atk_text_get_default_attributes(text: *mut AtkText) -> *mut AtkAttributeSet2399     pub fn atk_text_get_default_attributes(text: *mut AtkText) -> *mut AtkAttributeSet;
atk_text_get_n_selections(text: *mut AtkText) -> c_int2400     pub fn atk_text_get_n_selections(text: *mut AtkText) -> c_int;
atk_text_get_offset_at_point( text: *mut AtkText, x: c_int, y: c_int, coords: AtkCoordType, ) -> c_int2401     pub fn atk_text_get_offset_at_point(
2402         text: *mut AtkText,
2403         x: c_int,
2404         y: c_int,
2405         coords: AtkCoordType,
2406     ) -> c_int;
atk_text_get_range_extents( text: *mut AtkText, start_offset: c_int, end_offset: c_int, coord_type: AtkCoordType, rect: *mut AtkTextRectangle, )2407     pub fn atk_text_get_range_extents(
2408         text: *mut AtkText,
2409         start_offset: c_int,
2410         end_offset: c_int,
2411         coord_type: AtkCoordType,
2412         rect: *mut AtkTextRectangle,
2413     );
atk_text_get_run_attributes( text: *mut AtkText, offset: c_int, start_offset: *mut c_int, end_offset: *mut c_int, ) -> *mut AtkAttributeSet2414     pub fn atk_text_get_run_attributes(
2415         text: *mut AtkText,
2416         offset: c_int,
2417         start_offset: *mut c_int,
2418         end_offset: *mut c_int,
2419     ) -> *mut AtkAttributeSet;
atk_text_get_selection( text: *mut AtkText, selection_num: c_int, start_offset: *mut c_int, end_offset: *mut c_int, ) -> *mut c_char2420     pub fn atk_text_get_selection(
2421         text: *mut AtkText,
2422         selection_num: c_int,
2423         start_offset: *mut c_int,
2424         end_offset: *mut c_int,
2425     ) -> *mut c_char;
atk_text_get_string_at_offset( text: *mut AtkText, offset: c_int, granularity: AtkTextGranularity, start_offset: *mut c_int, end_offset: *mut c_int, ) -> *mut c_char2426     pub fn atk_text_get_string_at_offset(
2427         text: *mut AtkText,
2428         offset: c_int,
2429         granularity: AtkTextGranularity,
2430         start_offset: *mut c_int,
2431         end_offset: *mut c_int,
2432     ) -> *mut c_char;
atk_text_get_text( text: *mut AtkText, start_offset: c_int, end_offset: c_int, ) -> *mut c_char2433     pub fn atk_text_get_text(
2434         text: *mut AtkText,
2435         start_offset: c_int,
2436         end_offset: c_int,
2437     ) -> *mut c_char;
atk_text_get_text_after_offset( text: *mut AtkText, offset: c_int, boundary_type: AtkTextBoundary, start_offset: *mut c_int, end_offset: *mut c_int, ) -> *mut c_char2438     pub fn atk_text_get_text_after_offset(
2439         text: *mut AtkText,
2440         offset: c_int,
2441         boundary_type: AtkTextBoundary,
2442         start_offset: *mut c_int,
2443         end_offset: *mut c_int,
2444     ) -> *mut c_char;
atk_text_get_text_at_offset( text: *mut AtkText, offset: c_int, boundary_type: AtkTextBoundary, start_offset: *mut c_int, end_offset: *mut c_int, ) -> *mut c_char2445     pub fn atk_text_get_text_at_offset(
2446         text: *mut AtkText,
2447         offset: c_int,
2448         boundary_type: AtkTextBoundary,
2449         start_offset: *mut c_int,
2450         end_offset: *mut c_int,
2451     ) -> *mut c_char;
atk_text_get_text_before_offset( text: *mut AtkText, offset: c_int, boundary_type: AtkTextBoundary, start_offset: *mut c_int, end_offset: *mut c_int, ) -> *mut c_char2452     pub fn atk_text_get_text_before_offset(
2453         text: *mut AtkText,
2454         offset: c_int,
2455         boundary_type: AtkTextBoundary,
2456         start_offset: *mut c_int,
2457         end_offset: *mut c_int,
2458     ) -> *mut c_char;
atk_text_remove_selection(text: *mut AtkText, selection_num: c_int) -> gboolean2459     pub fn atk_text_remove_selection(text: *mut AtkText, selection_num: c_int) -> gboolean;
2460     #[cfg(any(feature = "v2_32", feature = "dox"))]
2461     #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_32")))]
atk_text_scroll_substring_to( text: *mut AtkText, start_offset: c_int, end_offset: c_int, type_: AtkScrollType, ) -> gboolean2462     pub fn atk_text_scroll_substring_to(
2463         text: *mut AtkText,
2464         start_offset: c_int,
2465         end_offset: c_int,
2466         type_: AtkScrollType,
2467     ) -> gboolean;
2468     #[cfg(any(feature = "v2_32", feature = "dox"))]
2469     #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_32")))]
atk_text_scroll_substring_to_point( text: *mut AtkText, start_offset: c_int, end_offset: c_int, coords: AtkCoordType, x: c_int, y: c_int, ) -> gboolean2470     pub fn atk_text_scroll_substring_to_point(
2471         text: *mut AtkText,
2472         start_offset: c_int,
2473         end_offset: c_int,
2474         coords: AtkCoordType,
2475         x: c_int,
2476         y: c_int,
2477     ) -> gboolean;
atk_text_set_caret_offset(text: *mut AtkText, offset: c_int) -> gboolean2478     pub fn atk_text_set_caret_offset(text: *mut AtkText, offset: c_int) -> gboolean;
atk_text_set_selection( text: *mut AtkText, selection_num: c_int, start_offset: c_int, end_offset: c_int, ) -> gboolean2479     pub fn atk_text_set_selection(
2480         text: *mut AtkText,
2481         selection_num: c_int,
2482         start_offset: c_int,
2483         end_offset: c_int,
2484     ) -> gboolean;
2485 
2486     //=========================================================================
2487     // AtkValue
2488     //=========================================================================
atk_value_get_type() -> GType2489     pub fn atk_value_get_type() -> GType;
atk_value_get_current_value(obj: *mut AtkValue, value: *mut gobject::GValue)2490     pub fn atk_value_get_current_value(obj: *mut AtkValue, value: *mut gobject::GValue);
atk_value_get_increment(obj: *mut AtkValue) -> c_double2491     pub fn atk_value_get_increment(obj: *mut AtkValue) -> c_double;
atk_value_get_maximum_value(obj: *mut AtkValue, value: *mut gobject::GValue)2492     pub fn atk_value_get_maximum_value(obj: *mut AtkValue, value: *mut gobject::GValue);
atk_value_get_minimum_increment(obj: *mut AtkValue, value: *mut gobject::GValue)2493     pub fn atk_value_get_minimum_increment(obj: *mut AtkValue, value: *mut gobject::GValue);
atk_value_get_minimum_value(obj: *mut AtkValue, value: *mut gobject::GValue)2494     pub fn atk_value_get_minimum_value(obj: *mut AtkValue, value: *mut gobject::GValue);
atk_value_get_range(obj: *mut AtkValue) -> *mut AtkRange2495     pub fn atk_value_get_range(obj: *mut AtkValue) -> *mut AtkRange;
atk_value_get_sub_ranges(obj: *mut AtkValue) -> *mut glib::GSList2496     pub fn atk_value_get_sub_ranges(obj: *mut AtkValue) -> *mut glib::GSList;
atk_value_get_value_and_text( obj: *mut AtkValue, value: *mut c_double, text: *mut *mut c_char, )2497     pub fn atk_value_get_value_and_text(
2498         obj: *mut AtkValue,
2499         value: *mut c_double,
2500         text: *mut *mut c_char,
2501     );
atk_value_set_current_value( obj: *mut AtkValue, value: *const gobject::GValue, ) -> gboolean2502     pub fn atk_value_set_current_value(
2503         obj: *mut AtkValue,
2504         value: *const gobject::GValue,
2505     ) -> gboolean;
atk_value_set_value(obj: *mut AtkValue, new_value: c_double)2506     pub fn atk_value_set_value(obj: *mut AtkValue, new_value: c_double);
2507 
2508     //=========================================================================
2509     // AtkWindow
2510     //=========================================================================
atk_window_get_type() -> GType2511     pub fn atk_window_get_type() -> GType;
2512 
2513     //=========================================================================
2514     // Other functions
2515     //=========================================================================
atk_add_focus_tracker(focus_tracker: AtkEventListener) -> c_uint2516     pub fn atk_add_focus_tracker(focus_tracker: AtkEventListener) -> c_uint;
atk_add_global_event_listener( listener: gobject::GSignalEmissionHook, event_type: *const c_char, ) -> c_uint2517     pub fn atk_add_global_event_listener(
2518         listener: gobject::GSignalEmissionHook,
2519         event_type: *const c_char,
2520     ) -> c_uint;
atk_add_key_event_listener(listener: AtkKeySnoopFunc, data: gpointer) -> c_uint2521     pub fn atk_add_key_event_listener(listener: AtkKeySnoopFunc, data: gpointer) -> c_uint;
atk_focus_tracker_init(init: AtkEventListenerInit)2522     pub fn atk_focus_tracker_init(init: AtkEventListenerInit);
atk_focus_tracker_notify(object: *mut AtkObject)2523     pub fn atk_focus_tracker_notify(object: *mut AtkObject);
atk_get_binary_age() -> c_uint2524     pub fn atk_get_binary_age() -> c_uint;
atk_get_default_registry() -> *mut AtkRegistry2525     pub fn atk_get_default_registry() -> *mut AtkRegistry;
atk_get_focus_object() -> *mut AtkObject2526     pub fn atk_get_focus_object() -> *mut AtkObject;
atk_get_interface_age() -> c_uint2527     pub fn atk_get_interface_age() -> c_uint;
atk_get_major_version() -> c_uint2528     pub fn atk_get_major_version() -> c_uint;
atk_get_micro_version() -> c_uint2529     pub fn atk_get_micro_version() -> c_uint;
atk_get_minor_version() -> c_uint2530     pub fn atk_get_minor_version() -> c_uint;
atk_get_root() -> *mut AtkObject2531     pub fn atk_get_root() -> *mut AtkObject;
atk_get_toolkit_name() -> *const c_char2532     pub fn atk_get_toolkit_name() -> *const c_char;
atk_get_toolkit_version() -> *const c_char2533     pub fn atk_get_toolkit_version() -> *const c_char;
atk_get_version() -> *const c_char2534     pub fn atk_get_version() -> *const c_char;
atk_remove_focus_tracker(tracker_id: c_uint)2535     pub fn atk_remove_focus_tracker(tracker_id: c_uint);
atk_remove_global_event_listener(listener_id: c_uint)2536     pub fn atk_remove_global_event_listener(listener_id: c_uint);
atk_remove_key_event_listener(listener_id: c_uint)2537     pub fn atk_remove_key_event_listener(listener_id: c_uint);
2538 
2539 }
2540