gtk_sys/
lib.rs

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)]
11
12extern crate atk_sys as atk;
13extern crate cairo_sys as cairo;
14extern crate gdk_pixbuf_sys as gdk_pixbuf;
15extern crate gdk_sys as gdk;
16extern crate gio_sys as gio;
17extern crate glib_sys as glib;
18extern crate gobject_sys as gobject;
19extern crate libc;
20extern crate pango_sys as pango;
21
22mod manual;
23
24pub use manual::*;
25
26#[allow(unused_imports)]
27use libc::{
28    c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
29    intptr_t, size_t, ssize_t, time_t, uintptr_t, FILE,
30};
31
32#[allow(unused_imports)]
33use glib::{gboolean, gconstpointer, gpointer, GType};
34
35pub const GTK_ENTRY_BUFFER_MAX_SIZE: u16 = ::std::u16::MAX;
36
37// Aliases
38pub type GtkAllocation = gdk::GdkRectangle;
39pub type GtkStock = *mut c_char;
40
41// Enums
42pub type GtkAlign = c_int;
43pub const GTK_ALIGN_FILL: GtkAlign = 0;
44pub const GTK_ALIGN_START: GtkAlign = 1;
45pub const GTK_ALIGN_END: GtkAlign = 2;
46pub const GTK_ALIGN_CENTER: GtkAlign = 3;
47pub const GTK_ALIGN_BASELINE: GtkAlign = 4;
48
49pub type GtkArrowPlacement = c_int;
50pub const GTK_ARROWS_BOTH: GtkArrowPlacement = 0;
51pub const GTK_ARROWS_START: GtkArrowPlacement = 1;
52pub const GTK_ARROWS_END: GtkArrowPlacement = 2;
53
54pub type GtkArrowType = c_int;
55pub const GTK_ARROW_UP: GtkArrowType = 0;
56pub const GTK_ARROW_DOWN: GtkArrowType = 1;
57pub const GTK_ARROW_LEFT: GtkArrowType = 2;
58pub const GTK_ARROW_RIGHT: GtkArrowType = 3;
59pub const GTK_ARROW_NONE: GtkArrowType = 4;
60
61pub type GtkAssistantPageType = c_int;
62pub const GTK_ASSISTANT_PAGE_CONTENT: GtkAssistantPageType = 0;
63pub const GTK_ASSISTANT_PAGE_INTRO: GtkAssistantPageType = 1;
64pub const GTK_ASSISTANT_PAGE_CONFIRM: GtkAssistantPageType = 2;
65pub const GTK_ASSISTANT_PAGE_SUMMARY: GtkAssistantPageType = 3;
66pub const GTK_ASSISTANT_PAGE_PROGRESS: GtkAssistantPageType = 4;
67pub const GTK_ASSISTANT_PAGE_CUSTOM: GtkAssistantPageType = 5;
68
69pub type GtkBaselinePosition = c_int;
70pub const GTK_BASELINE_POSITION_TOP: GtkBaselinePosition = 0;
71pub const GTK_BASELINE_POSITION_CENTER: GtkBaselinePosition = 1;
72pub const GTK_BASELINE_POSITION_BOTTOM: GtkBaselinePosition = 2;
73
74pub type GtkBorderStyle = c_int;
75pub const GTK_BORDER_STYLE_NONE: GtkBorderStyle = 0;
76pub const GTK_BORDER_STYLE_SOLID: GtkBorderStyle = 1;
77pub const GTK_BORDER_STYLE_INSET: GtkBorderStyle = 2;
78pub const GTK_BORDER_STYLE_OUTSET: GtkBorderStyle = 3;
79pub const GTK_BORDER_STYLE_HIDDEN: GtkBorderStyle = 4;
80pub const GTK_BORDER_STYLE_DOTTED: GtkBorderStyle = 5;
81pub const GTK_BORDER_STYLE_DASHED: GtkBorderStyle = 6;
82pub const GTK_BORDER_STYLE_DOUBLE: GtkBorderStyle = 7;
83pub const GTK_BORDER_STYLE_GROOVE: GtkBorderStyle = 8;
84pub const GTK_BORDER_STYLE_RIDGE: GtkBorderStyle = 9;
85
86pub type GtkBuilderError = c_int;
87pub const GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION: GtkBuilderError = 0;
88pub const GTK_BUILDER_ERROR_UNHANDLED_TAG: GtkBuilderError = 1;
89pub const GTK_BUILDER_ERROR_MISSING_ATTRIBUTE: GtkBuilderError = 2;
90pub const GTK_BUILDER_ERROR_INVALID_ATTRIBUTE: GtkBuilderError = 3;
91pub const GTK_BUILDER_ERROR_INVALID_TAG: GtkBuilderError = 4;
92pub const GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE: GtkBuilderError = 5;
93pub const GTK_BUILDER_ERROR_INVALID_VALUE: GtkBuilderError = 6;
94pub const GTK_BUILDER_ERROR_VERSION_MISMATCH: GtkBuilderError = 7;
95pub const GTK_BUILDER_ERROR_DUPLICATE_ID: GtkBuilderError = 8;
96pub const GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED: GtkBuilderError = 9;
97pub const GTK_BUILDER_ERROR_TEMPLATE_MISMATCH: GtkBuilderError = 10;
98pub const GTK_BUILDER_ERROR_INVALID_PROPERTY: GtkBuilderError = 11;
99pub const GTK_BUILDER_ERROR_INVALID_SIGNAL: GtkBuilderError = 12;
100pub const GTK_BUILDER_ERROR_INVALID_ID: GtkBuilderError = 13;
101
102pub type GtkButtonBoxStyle = c_int;
103pub const GTK_BUTTONBOX_SPREAD: GtkButtonBoxStyle = 1;
104pub const GTK_BUTTONBOX_EDGE: GtkButtonBoxStyle = 2;
105pub const GTK_BUTTONBOX_START: GtkButtonBoxStyle = 3;
106pub const GTK_BUTTONBOX_END: GtkButtonBoxStyle = 4;
107pub const GTK_BUTTONBOX_CENTER: GtkButtonBoxStyle = 5;
108pub const GTK_BUTTONBOX_EXPAND: GtkButtonBoxStyle = 6;
109
110pub type GtkButtonRole = c_int;
111pub const GTK_BUTTON_ROLE_NORMAL: GtkButtonRole = 0;
112pub const GTK_BUTTON_ROLE_CHECK: GtkButtonRole = 1;
113pub const GTK_BUTTON_ROLE_RADIO: GtkButtonRole = 2;
114
115pub type GtkButtonsType = c_int;
116pub const GTK_BUTTONS_NONE: GtkButtonsType = 0;
117pub const GTK_BUTTONS_OK: GtkButtonsType = 1;
118pub const GTK_BUTTONS_CLOSE: GtkButtonsType = 2;
119pub const GTK_BUTTONS_CANCEL: GtkButtonsType = 3;
120pub const GTK_BUTTONS_YES_NO: GtkButtonsType = 4;
121pub const GTK_BUTTONS_OK_CANCEL: GtkButtonsType = 5;
122
123pub type GtkCellRendererAccelMode = c_int;
124pub const GTK_CELL_RENDERER_ACCEL_MODE_GTK: GtkCellRendererAccelMode = 0;
125pub const GTK_CELL_RENDERER_ACCEL_MODE_OTHER: GtkCellRendererAccelMode = 1;
126pub const GTK_CELL_RENDERER_ACCEL_MODE_MODIFIER_TAP: GtkCellRendererAccelMode = 2;
127
128pub type GtkCellRendererMode = c_int;
129pub const GTK_CELL_RENDERER_MODE_INERT: GtkCellRendererMode = 0;
130pub const GTK_CELL_RENDERER_MODE_ACTIVATABLE: GtkCellRendererMode = 1;
131pub const GTK_CELL_RENDERER_MODE_EDITABLE: GtkCellRendererMode = 2;
132
133pub type GtkCornerType = c_int;
134pub const GTK_CORNER_TOP_LEFT: GtkCornerType = 0;
135pub const GTK_CORNER_BOTTOM_LEFT: GtkCornerType = 1;
136pub const GTK_CORNER_TOP_RIGHT: GtkCornerType = 2;
137pub const GTK_CORNER_BOTTOM_RIGHT: GtkCornerType = 3;
138
139pub type GtkCssProviderError = c_int;
140pub const GTK_CSS_PROVIDER_ERROR_FAILED: GtkCssProviderError = 0;
141pub const GTK_CSS_PROVIDER_ERROR_SYNTAX: GtkCssProviderError = 1;
142pub const GTK_CSS_PROVIDER_ERROR_IMPORT: GtkCssProviderError = 2;
143pub const GTK_CSS_PROVIDER_ERROR_NAME: GtkCssProviderError = 3;
144pub const GTK_CSS_PROVIDER_ERROR_DEPRECATED: GtkCssProviderError = 4;
145pub const GTK_CSS_PROVIDER_ERROR_UNKNOWN_VALUE: GtkCssProviderError = 5;
146
147pub type GtkCssSectionType = c_int;
148pub const GTK_CSS_SECTION_DOCUMENT: GtkCssSectionType = 0;
149pub const GTK_CSS_SECTION_IMPORT: GtkCssSectionType = 1;
150pub const GTK_CSS_SECTION_COLOR_DEFINITION: GtkCssSectionType = 2;
151pub const GTK_CSS_SECTION_BINDING_SET: GtkCssSectionType = 3;
152pub const GTK_CSS_SECTION_RULESET: GtkCssSectionType = 4;
153pub const GTK_CSS_SECTION_SELECTOR: GtkCssSectionType = 5;
154pub const GTK_CSS_SECTION_DECLARATION: GtkCssSectionType = 6;
155pub const GTK_CSS_SECTION_VALUE: GtkCssSectionType = 7;
156pub const GTK_CSS_SECTION_KEYFRAMES: GtkCssSectionType = 8;
157
158pub type GtkDeleteType = c_int;
159pub const GTK_DELETE_CHARS: GtkDeleteType = 0;
160pub const GTK_DELETE_WORD_ENDS: GtkDeleteType = 1;
161pub const GTK_DELETE_WORDS: GtkDeleteType = 2;
162pub const GTK_DELETE_DISPLAY_LINES: GtkDeleteType = 3;
163pub const GTK_DELETE_DISPLAY_LINE_ENDS: GtkDeleteType = 4;
164pub const GTK_DELETE_PARAGRAPH_ENDS: GtkDeleteType = 5;
165pub const GTK_DELETE_PARAGRAPHS: GtkDeleteType = 6;
166pub const GTK_DELETE_WHITESPACE: GtkDeleteType = 7;
167
168pub type GtkDirectionType = c_int;
169pub const GTK_DIR_TAB_FORWARD: GtkDirectionType = 0;
170pub const GTK_DIR_TAB_BACKWARD: GtkDirectionType = 1;
171pub const GTK_DIR_UP: GtkDirectionType = 2;
172pub const GTK_DIR_DOWN: GtkDirectionType = 3;
173pub const GTK_DIR_LEFT: GtkDirectionType = 4;
174pub const GTK_DIR_RIGHT: GtkDirectionType = 5;
175
176pub type GtkDragResult = c_int;
177pub const GTK_DRAG_RESULT_SUCCESS: GtkDragResult = 0;
178pub const GTK_DRAG_RESULT_NO_TARGET: GtkDragResult = 1;
179pub const GTK_DRAG_RESULT_USER_CANCELLED: GtkDragResult = 2;
180pub const GTK_DRAG_RESULT_TIMEOUT_EXPIRED: GtkDragResult = 3;
181pub const GTK_DRAG_RESULT_GRAB_BROKEN: GtkDragResult = 4;
182pub const GTK_DRAG_RESULT_ERROR: GtkDragResult = 5;
183
184pub type GtkEntryIconPosition = c_int;
185pub const GTK_ENTRY_ICON_PRIMARY: GtkEntryIconPosition = 0;
186pub const GTK_ENTRY_ICON_SECONDARY: GtkEntryIconPosition = 1;
187
188pub type GtkEventSequenceState = c_int;
189pub const GTK_EVENT_SEQUENCE_NONE: GtkEventSequenceState = 0;
190pub const GTK_EVENT_SEQUENCE_CLAIMED: GtkEventSequenceState = 1;
191pub const GTK_EVENT_SEQUENCE_DENIED: GtkEventSequenceState = 2;
192
193pub type GtkExpanderStyle = c_int;
194pub const GTK_EXPANDER_COLLAPSED: GtkExpanderStyle = 0;
195pub const GTK_EXPANDER_SEMI_COLLAPSED: GtkExpanderStyle = 1;
196pub const GTK_EXPANDER_SEMI_EXPANDED: GtkExpanderStyle = 2;
197pub const GTK_EXPANDER_EXPANDED: GtkExpanderStyle = 3;
198
199pub type GtkFileChooserAction = c_int;
200pub const GTK_FILE_CHOOSER_ACTION_OPEN: GtkFileChooserAction = 0;
201pub const GTK_FILE_CHOOSER_ACTION_SAVE: GtkFileChooserAction = 1;
202pub const GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER: GtkFileChooserAction = 2;
203pub const GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER: GtkFileChooserAction = 3;
204
205pub type GtkFileChooserConfirmation = c_int;
206pub const GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM: GtkFileChooserConfirmation = 0;
207pub const GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME: GtkFileChooserConfirmation = 1;
208pub const GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN: GtkFileChooserConfirmation = 2;
209
210pub type GtkFileChooserError = c_int;
211pub const GTK_FILE_CHOOSER_ERROR_NONEXISTENT: GtkFileChooserError = 0;
212pub const GTK_FILE_CHOOSER_ERROR_BAD_FILENAME: GtkFileChooserError = 1;
213pub const GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS: GtkFileChooserError = 2;
214pub const GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME: GtkFileChooserError = 3;
215
216pub type GtkIMPreeditStyle = c_int;
217pub const GTK_IM_PREEDIT_NOTHING: GtkIMPreeditStyle = 0;
218pub const GTK_IM_PREEDIT_CALLBACK: GtkIMPreeditStyle = 1;
219pub const GTK_IM_PREEDIT_NONE: GtkIMPreeditStyle = 2;
220
221pub type GtkIMStatusStyle = c_int;
222pub const GTK_IM_STATUS_NOTHING: GtkIMStatusStyle = 0;
223pub const GTK_IM_STATUS_CALLBACK: GtkIMStatusStyle = 1;
224pub const GTK_IM_STATUS_NONE: GtkIMStatusStyle = 2;
225
226pub type GtkIconSize = c_int;
227pub const GTK_ICON_SIZE_INVALID: GtkIconSize = 0;
228pub const GTK_ICON_SIZE_MENU: GtkIconSize = 1;
229pub const GTK_ICON_SIZE_SMALL_TOOLBAR: GtkIconSize = 2;
230pub const GTK_ICON_SIZE_LARGE_TOOLBAR: GtkIconSize = 3;
231pub const GTK_ICON_SIZE_BUTTON: GtkIconSize = 4;
232pub const GTK_ICON_SIZE_DND: GtkIconSize = 5;
233pub const GTK_ICON_SIZE_DIALOG: GtkIconSize = 6;
234
235pub type GtkIconThemeError = c_int;
236pub const GTK_ICON_THEME_NOT_FOUND: GtkIconThemeError = 0;
237pub const GTK_ICON_THEME_FAILED: GtkIconThemeError = 1;
238
239pub type GtkIconViewDropPosition = c_int;
240pub const GTK_ICON_VIEW_NO_DROP: GtkIconViewDropPosition = 0;
241pub const GTK_ICON_VIEW_DROP_INTO: GtkIconViewDropPosition = 1;
242pub const GTK_ICON_VIEW_DROP_LEFT: GtkIconViewDropPosition = 2;
243pub const GTK_ICON_VIEW_DROP_RIGHT: GtkIconViewDropPosition = 3;
244pub const GTK_ICON_VIEW_DROP_ABOVE: GtkIconViewDropPosition = 4;
245pub const GTK_ICON_VIEW_DROP_BELOW: GtkIconViewDropPosition = 5;
246
247pub type GtkImageType = c_int;
248pub const GTK_IMAGE_EMPTY: GtkImageType = 0;
249pub const GTK_IMAGE_PIXBUF: GtkImageType = 1;
250pub const GTK_IMAGE_STOCK: GtkImageType = 2;
251pub const GTK_IMAGE_ICON_SET: GtkImageType = 3;
252pub const GTK_IMAGE_ANIMATION: GtkImageType = 4;
253pub const GTK_IMAGE_ICON_NAME: GtkImageType = 5;
254pub const GTK_IMAGE_GICON: GtkImageType = 6;
255pub const GTK_IMAGE_SURFACE: GtkImageType = 7;
256
257pub type GtkInputPurpose = c_int;
258pub const GTK_INPUT_PURPOSE_FREE_FORM: GtkInputPurpose = 0;
259pub const GTK_INPUT_PURPOSE_ALPHA: GtkInputPurpose = 1;
260pub const GTK_INPUT_PURPOSE_DIGITS: GtkInputPurpose = 2;
261pub const GTK_INPUT_PURPOSE_NUMBER: GtkInputPurpose = 3;
262pub const GTK_INPUT_PURPOSE_PHONE: GtkInputPurpose = 4;
263pub const GTK_INPUT_PURPOSE_URL: GtkInputPurpose = 5;
264pub const GTK_INPUT_PURPOSE_EMAIL: GtkInputPurpose = 6;
265pub const GTK_INPUT_PURPOSE_NAME: GtkInputPurpose = 7;
266pub const GTK_INPUT_PURPOSE_PASSWORD: GtkInputPurpose = 8;
267pub const GTK_INPUT_PURPOSE_PIN: GtkInputPurpose = 9;
268
269pub type GtkJustification = c_int;
270pub const GTK_JUSTIFY_LEFT: GtkJustification = 0;
271pub const GTK_JUSTIFY_RIGHT: GtkJustification = 1;
272pub const GTK_JUSTIFY_CENTER: GtkJustification = 2;
273pub const GTK_JUSTIFY_FILL: GtkJustification = 3;
274
275pub type GtkLevelBarMode = c_int;
276pub const GTK_LEVEL_BAR_MODE_CONTINUOUS: GtkLevelBarMode = 0;
277pub const GTK_LEVEL_BAR_MODE_DISCRETE: GtkLevelBarMode = 1;
278
279pub type GtkLicense = c_int;
280pub const GTK_LICENSE_UNKNOWN: GtkLicense = 0;
281pub const GTK_LICENSE_CUSTOM: GtkLicense = 1;
282pub const GTK_LICENSE_GPL_2_0: GtkLicense = 2;
283pub const GTK_LICENSE_GPL_3_0: GtkLicense = 3;
284pub const GTK_LICENSE_LGPL_2_1: GtkLicense = 4;
285pub const GTK_LICENSE_LGPL_3_0: GtkLicense = 5;
286pub const GTK_LICENSE_BSD: GtkLicense = 6;
287pub const GTK_LICENSE_MIT_X11: GtkLicense = 7;
288pub const GTK_LICENSE_ARTISTIC: GtkLicense = 8;
289pub const GTK_LICENSE_GPL_2_0_ONLY: GtkLicense = 9;
290pub const GTK_LICENSE_GPL_3_0_ONLY: GtkLicense = 10;
291pub const GTK_LICENSE_LGPL_2_1_ONLY: GtkLicense = 11;
292pub const GTK_LICENSE_LGPL_3_0_ONLY: GtkLicense = 12;
293pub const GTK_LICENSE_AGPL_3_0: GtkLicense = 13;
294pub const GTK_LICENSE_AGPL_3_0_ONLY: GtkLicense = 14;
295
296pub type GtkMenuDirectionType = c_int;
297pub const GTK_MENU_DIR_PARENT: GtkMenuDirectionType = 0;
298pub const GTK_MENU_DIR_CHILD: GtkMenuDirectionType = 1;
299pub const GTK_MENU_DIR_NEXT: GtkMenuDirectionType = 2;
300pub const GTK_MENU_DIR_PREV: GtkMenuDirectionType = 3;
301
302pub type GtkMessageType = c_int;
303pub const GTK_MESSAGE_INFO: GtkMessageType = 0;
304pub const GTK_MESSAGE_WARNING: GtkMessageType = 1;
305pub const GTK_MESSAGE_QUESTION: GtkMessageType = 2;
306pub const GTK_MESSAGE_ERROR: GtkMessageType = 3;
307pub const GTK_MESSAGE_OTHER: GtkMessageType = 4;
308
309pub type GtkMovementStep = c_int;
310pub const GTK_MOVEMENT_LOGICAL_POSITIONS: GtkMovementStep = 0;
311pub const GTK_MOVEMENT_VISUAL_POSITIONS: GtkMovementStep = 1;
312pub const GTK_MOVEMENT_WORDS: GtkMovementStep = 2;
313pub const GTK_MOVEMENT_DISPLAY_LINES: GtkMovementStep = 3;
314pub const GTK_MOVEMENT_DISPLAY_LINE_ENDS: GtkMovementStep = 4;
315pub const GTK_MOVEMENT_PARAGRAPHS: GtkMovementStep = 5;
316pub const GTK_MOVEMENT_PARAGRAPH_ENDS: GtkMovementStep = 6;
317pub const GTK_MOVEMENT_PAGES: GtkMovementStep = 7;
318pub const GTK_MOVEMENT_BUFFER_ENDS: GtkMovementStep = 8;
319pub const GTK_MOVEMENT_HORIZONTAL_PAGES: GtkMovementStep = 9;
320
321pub type GtkNotebookTab = c_int;
322pub const GTK_NOTEBOOK_TAB_FIRST: GtkNotebookTab = 0;
323pub const GTK_NOTEBOOK_TAB_LAST: GtkNotebookTab = 1;
324
325pub type GtkNumberUpLayout = c_int;
326pub const GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM: GtkNumberUpLayout = 0;
327pub const GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP: GtkNumberUpLayout = 1;
328pub const GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM: GtkNumberUpLayout = 2;
329pub const GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP: GtkNumberUpLayout = 3;
330pub const GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT: GtkNumberUpLayout = 4;
331pub const GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT: GtkNumberUpLayout = 5;
332pub const GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT: GtkNumberUpLayout = 6;
333pub const GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT: GtkNumberUpLayout = 7;
334
335pub type GtkOrientation = c_int;
336pub const GTK_ORIENTATION_HORIZONTAL: GtkOrientation = 0;
337pub const GTK_ORIENTATION_VERTICAL: GtkOrientation = 1;
338
339pub type GtkPackDirection = c_int;
340pub const GTK_PACK_DIRECTION_LTR: GtkPackDirection = 0;
341pub const GTK_PACK_DIRECTION_RTL: GtkPackDirection = 1;
342pub const GTK_PACK_DIRECTION_TTB: GtkPackDirection = 2;
343pub const GTK_PACK_DIRECTION_BTT: GtkPackDirection = 3;
344
345pub type GtkPackType = c_int;
346pub const GTK_PACK_START: GtkPackType = 0;
347pub const GTK_PACK_END: GtkPackType = 1;
348
349pub type GtkPadActionType = c_int;
350pub const GTK_PAD_ACTION_BUTTON: GtkPadActionType = 0;
351pub const GTK_PAD_ACTION_RING: GtkPadActionType = 1;
352pub const GTK_PAD_ACTION_STRIP: GtkPadActionType = 2;
353
354pub type GtkPageOrientation = c_int;
355pub const GTK_PAGE_ORIENTATION_PORTRAIT: GtkPageOrientation = 0;
356pub const GTK_PAGE_ORIENTATION_LANDSCAPE: GtkPageOrientation = 1;
357pub const GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT: GtkPageOrientation = 2;
358pub const GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE: GtkPageOrientation = 3;
359
360pub type GtkPageSet = c_int;
361pub const GTK_PAGE_SET_ALL: GtkPageSet = 0;
362pub const GTK_PAGE_SET_EVEN: GtkPageSet = 1;
363pub const GTK_PAGE_SET_ODD: GtkPageSet = 2;
364
365pub type GtkPanDirection = c_int;
366pub const GTK_PAN_DIRECTION_LEFT: GtkPanDirection = 0;
367pub const GTK_PAN_DIRECTION_RIGHT: GtkPanDirection = 1;
368pub const GTK_PAN_DIRECTION_UP: GtkPanDirection = 2;
369pub const GTK_PAN_DIRECTION_DOWN: GtkPanDirection = 3;
370
371pub type GtkPathPriorityType = c_int;
372pub const GTK_PATH_PRIO_LOWEST: GtkPathPriorityType = 0;
373pub const GTK_PATH_PRIO_GTK: GtkPathPriorityType = 4;
374pub const GTK_PATH_PRIO_APPLICATION: GtkPathPriorityType = 8;
375pub const GTK_PATH_PRIO_THEME: GtkPathPriorityType = 10;
376pub const GTK_PATH_PRIO_RC: GtkPathPriorityType = 12;
377pub const GTK_PATH_PRIO_HIGHEST: GtkPathPriorityType = 15;
378
379pub type GtkPathType = c_int;
380pub const GTK_PATH_WIDGET: GtkPathType = 0;
381pub const GTK_PATH_WIDGET_CLASS: GtkPathType = 1;
382pub const GTK_PATH_CLASS: GtkPathType = 2;
383
384pub type GtkPolicyType = c_int;
385pub const GTK_POLICY_ALWAYS: GtkPolicyType = 0;
386pub const GTK_POLICY_AUTOMATIC: GtkPolicyType = 1;
387pub const GTK_POLICY_NEVER: GtkPolicyType = 2;
388pub const GTK_POLICY_EXTERNAL: GtkPolicyType = 3;
389
390pub type GtkPopoverConstraint = c_int;
391pub const GTK_POPOVER_CONSTRAINT_NONE: GtkPopoverConstraint = 0;
392pub const GTK_POPOVER_CONSTRAINT_WINDOW: GtkPopoverConstraint = 1;
393
394pub type GtkPositionType = c_int;
395pub const GTK_POS_LEFT: GtkPositionType = 0;
396pub const GTK_POS_RIGHT: GtkPositionType = 1;
397pub const GTK_POS_TOP: GtkPositionType = 2;
398pub const GTK_POS_BOTTOM: GtkPositionType = 3;
399
400pub type GtkPrintDuplex = c_int;
401pub const GTK_PRINT_DUPLEX_SIMPLEX: GtkPrintDuplex = 0;
402pub const GTK_PRINT_DUPLEX_HORIZONTAL: GtkPrintDuplex = 1;
403pub const GTK_PRINT_DUPLEX_VERTICAL: GtkPrintDuplex = 2;
404
405pub type GtkPrintError = c_int;
406pub const GTK_PRINT_ERROR_GENERAL: GtkPrintError = 0;
407pub const GTK_PRINT_ERROR_INTERNAL_ERROR: GtkPrintError = 1;
408pub const GTK_PRINT_ERROR_NOMEM: GtkPrintError = 2;
409pub const GTK_PRINT_ERROR_INVALID_FILE: GtkPrintError = 3;
410
411pub type GtkPrintOperationAction = c_int;
412pub const GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG: GtkPrintOperationAction = 0;
413pub const GTK_PRINT_OPERATION_ACTION_PRINT: GtkPrintOperationAction = 1;
414pub const GTK_PRINT_OPERATION_ACTION_PREVIEW: GtkPrintOperationAction = 2;
415pub const GTK_PRINT_OPERATION_ACTION_EXPORT: GtkPrintOperationAction = 3;
416
417pub type GtkPrintOperationResult = c_int;
418pub const GTK_PRINT_OPERATION_RESULT_ERROR: GtkPrintOperationResult = 0;
419pub const GTK_PRINT_OPERATION_RESULT_APPLY: GtkPrintOperationResult = 1;
420pub const GTK_PRINT_OPERATION_RESULT_CANCEL: GtkPrintOperationResult = 2;
421pub const GTK_PRINT_OPERATION_RESULT_IN_PROGRESS: GtkPrintOperationResult = 3;
422
423pub type GtkPrintPages = c_int;
424pub const GTK_PRINT_PAGES_ALL: GtkPrintPages = 0;
425pub const GTK_PRINT_PAGES_CURRENT: GtkPrintPages = 1;
426pub const GTK_PRINT_PAGES_RANGES: GtkPrintPages = 2;
427pub const GTK_PRINT_PAGES_SELECTION: GtkPrintPages = 3;
428
429pub type GtkPrintQuality = c_int;
430pub const GTK_PRINT_QUALITY_LOW: GtkPrintQuality = 0;
431pub const GTK_PRINT_QUALITY_NORMAL: GtkPrintQuality = 1;
432pub const GTK_PRINT_QUALITY_HIGH: GtkPrintQuality = 2;
433pub const GTK_PRINT_QUALITY_DRAFT: GtkPrintQuality = 3;
434
435pub type GtkPrintStatus = c_int;
436pub const GTK_PRINT_STATUS_INITIAL: GtkPrintStatus = 0;
437pub const GTK_PRINT_STATUS_PREPARING: GtkPrintStatus = 1;
438pub const GTK_PRINT_STATUS_GENERATING_DATA: GtkPrintStatus = 2;
439pub const GTK_PRINT_STATUS_SENDING_DATA: GtkPrintStatus = 3;
440pub const GTK_PRINT_STATUS_PENDING: GtkPrintStatus = 4;
441pub const GTK_PRINT_STATUS_PENDING_ISSUE: GtkPrintStatus = 5;
442pub const GTK_PRINT_STATUS_PRINTING: GtkPrintStatus = 6;
443pub const GTK_PRINT_STATUS_FINISHED: GtkPrintStatus = 7;
444pub const GTK_PRINT_STATUS_FINISHED_ABORTED: GtkPrintStatus = 8;
445
446pub type GtkPropagationPhase = c_int;
447pub const GTK_PHASE_NONE: GtkPropagationPhase = 0;
448pub const GTK_PHASE_CAPTURE: GtkPropagationPhase = 1;
449pub const GTK_PHASE_BUBBLE: GtkPropagationPhase = 2;
450pub const GTK_PHASE_TARGET: GtkPropagationPhase = 3;
451
452pub type GtkRcTokenType = c_int;
453pub const GTK_RC_TOKEN_INVALID: GtkRcTokenType = 270;
454pub const GTK_RC_TOKEN_INCLUDE: GtkRcTokenType = 271;
455pub const GTK_RC_TOKEN_NORMAL: GtkRcTokenType = 272;
456pub const GTK_RC_TOKEN_ACTIVE: GtkRcTokenType = 273;
457pub const GTK_RC_TOKEN_PRELIGHT: GtkRcTokenType = 274;
458pub const GTK_RC_TOKEN_SELECTED: GtkRcTokenType = 275;
459pub const GTK_RC_TOKEN_INSENSITIVE: GtkRcTokenType = 276;
460pub const GTK_RC_TOKEN_FG: GtkRcTokenType = 277;
461pub const GTK_RC_TOKEN_BG: GtkRcTokenType = 278;
462pub const GTK_RC_TOKEN_TEXT: GtkRcTokenType = 279;
463pub const GTK_RC_TOKEN_BASE: GtkRcTokenType = 280;
464pub const GTK_RC_TOKEN_XTHICKNESS: GtkRcTokenType = 281;
465pub const GTK_RC_TOKEN_YTHICKNESS: GtkRcTokenType = 282;
466pub const GTK_RC_TOKEN_FONT: GtkRcTokenType = 283;
467pub const GTK_RC_TOKEN_FONTSET: GtkRcTokenType = 284;
468pub const GTK_RC_TOKEN_FONT_NAME: GtkRcTokenType = 285;
469pub const GTK_RC_TOKEN_BG_PIXMAP: GtkRcTokenType = 286;
470pub const GTK_RC_TOKEN_PIXMAP_PATH: GtkRcTokenType = 287;
471pub const GTK_RC_TOKEN_STYLE: GtkRcTokenType = 288;
472pub const GTK_RC_TOKEN_BINDING: GtkRcTokenType = 289;
473pub const GTK_RC_TOKEN_BIND: GtkRcTokenType = 290;
474pub const GTK_RC_TOKEN_WIDGET: GtkRcTokenType = 291;
475pub const GTK_RC_TOKEN_WIDGET_CLASS: GtkRcTokenType = 292;
476pub const GTK_RC_TOKEN_CLASS: GtkRcTokenType = 293;
477pub const GTK_RC_TOKEN_LOWEST: GtkRcTokenType = 294;
478pub const GTK_RC_TOKEN_GTK: GtkRcTokenType = 295;
479pub const GTK_RC_TOKEN_APPLICATION: GtkRcTokenType = 296;
480pub const GTK_RC_TOKEN_THEME: GtkRcTokenType = 297;
481pub const GTK_RC_TOKEN_RC: GtkRcTokenType = 298;
482pub const GTK_RC_TOKEN_HIGHEST: GtkRcTokenType = 299;
483pub const GTK_RC_TOKEN_ENGINE: GtkRcTokenType = 300;
484pub const GTK_RC_TOKEN_MODULE_PATH: GtkRcTokenType = 301;
485pub const GTK_RC_TOKEN_IM_MODULE_PATH: GtkRcTokenType = 302;
486pub const GTK_RC_TOKEN_IM_MODULE_FILE: GtkRcTokenType = 303;
487pub const GTK_RC_TOKEN_STOCK: GtkRcTokenType = 304;
488pub const GTK_RC_TOKEN_LTR: GtkRcTokenType = 305;
489pub const GTK_RC_TOKEN_RTL: GtkRcTokenType = 306;
490pub const GTK_RC_TOKEN_COLOR: GtkRcTokenType = 307;
491pub const GTK_RC_TOKEN_UNBIND: GtkRcTokenType = 308;
492pub const GTK_RC_TOKEN_LAST: GtkRcTokenType = 309;
493
494pub type GtkRecentChooserError = c_int;
495pub const GTK_RECENT_CHOOSER_ERROR_NOT_FOUND: GtkRecentChooserError = 0;
496pub const GTK_RECENT_CHOOSER_ERROR_INVALID_URI: GtkRecentChooserError = 1;
497
498pub type GtkRecentManagerError = c_int;
499pub const GTK_RECENT_MANAGER_ERROR_NOT_FOUND: GtkRecentManagerError = 0;
500pub const GTK_RECENT_MANAGER_ERROR_INVALID_URI: GtkRecentManagerError = 1;
501pub const GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING: GtkRecentManagerError = 2;
502pub const GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED: GtkRecentManagerError = 3;
503pub const GTK_RECENT_MANAGER_ERROR_READ: GtkRecentManagerError = 4;
504pub const GTK_RECENT_MANAGER_ERROR_WRITE: GtkRecentManagerError = 5;
505pub const GTK_RECENT_MANAGER_ERROR_UNKNOWN: GtkRecentManagerError = 6;
506
507pub type GtkRecentSortType = c_int;
508pub const GTK_RECENT_SORT_NONE: GtkRecentSortType = 0;
509pub const GTK_RECENT_SORT_MRU: GtkRecentSortType = 1;
510pub const GTK_RECENT_SORT_LRU: GtkRecentSortType = 2;
511pub const GTK_RECENT_SORT_CUSTOM: GtkRecentSortType = 3;
512
513pub type GtkReliefStyle = c_int;
514pub const GTK_RELIEF_NORMAL: GtkReliefStyle = 0;
515pub const GTK_RELIEF_HALF: GtkReliefStyle = 1;
516pub const GTK_RELIEF_NONE: GtkReliefStyle = 2;
517
518pub type GtkResizeMode = c_int;
519pub const GTK_RESIZE_PARENT: GtkResizeMode = 0;
520pub const GTK_RESIZE_QUEUE: GtkResizeMode = 1;
521pub const GTK_RESIZE_IMMEDIATE: GtkResizeMode = 2;
522
523pub type GtkResponseType = c_int;
524pub const GTK_RESPONSE_NONE: GtkResponseType = -1;
525pub const GTK_RESPONSE_REJECT: GtkResponseType = -2;
526pub const GTK_RESPONSE_ACCEPT: GtkResponseType = -3;
527pub const GTK_RESPONSE_DELETE_EVENT: GtkResponseType = -4;
528pub const GTK_RESPONSE_OK: GtkResponseType = -5;
529pub const GTK_RESPONSE_CANCEL: GtkResponseType = -6;
530pub const GTK_RESPONSE_CLOSE: GtkResponseType = -7;
531pub const GTK_RESPONSE_YES: GtkResponseType = -8;
532pub const GTK_RESPONSE_NO: GtkResponseType = -9;
533pub const GTK_RESPONSE_APPLY: GtkResponseType = -10;
534pub const GTK_RESPONSE_HELP: GtkResponseType = -11;
535
536pub type GtkRevealerTransitionType = c_int;
537pub const GTK_REVEALER_TRANSITION_TYPE_NONE: GtkRevealerTransitionType = 0;
538pub const GTK_REVEALER_TRANSITION_TYPE_CROSSFADE: GtkRevealerTransitionType = 1;
539pub const GTK_REVEALER_TRANSITION_TYPE_SLIDE_RIGHT: GtkRevealerTransitionType = 2;
540pub const GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT: GtkRevealerTransitionType = 3;
541pub const GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP: GtkRevealerTransitionType = 4;
542pub const GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN: GtkRevealerTransitionType = 5;
543
544pub type GtkScrollStep = c_int;
545pub const GTK_SCROLL_STEPS: GtkScrollStep = 0;
546pub const GTK_SCROLL_PAGES: GtkScrollStep = 1;
547pub const GTK_SCROLL_ENDS: GtkScrollStep = 2;
548pub const GTK_SCROLL_HORIZONTAL_STEPS: GtkScrollStep = 3;
549pub const GTK_SCROLL_HORIZONTAL_PAGES: GtkScrollStep = 4;
550pub const GTK_SCROLL_HORIZONTAL_ENDS: GtkScrollStep = 5;
551
552pub type GtkScrollType = c_int;
553pub const GTK_SCROLL_NONE: GtkScrollType = 0;
554pub const GTK_SCROLL_JUMP: GtkScrollType = 1;
555pub const GTK_SCROLL_STEP_BACKWARD: GtkScrollType = 2;
556pub const GTK_SCROLL_STEP_FORWARD: GtkScrollType = 3;
557pub const GTK_SCROLL_PAGE_BACKWARD: GtkScrollType = 4;
558pub const GTK_SCROLL_PAGE_FORWARD: GtkScrollType = 5;
559pub const GTK_SCROLL_STEP_UP: GtkScrollType = 6;
560pub const GTK_SCROLL_STEP_DOWN: GtkScrollType = 7;
561pub const GTK_SCROLL_PAGE_UP: GtkScrollType = 8;
562pub const GTK_SCROLL_PAGE_DOWN: GtkScrollType = 9;
563pub const GTK_SCROLL_STEP_LEFT: GtkScrollType = 10;
564pub const GTK_SCROLL_STEP_RIGHT: GtkScrollType = 11;
565pub const GTK_SCROLL_PAGE_LEFT: GtkScrollType = 12;
566pub const GTK_SCROLL_PAGE_RIGHT: GtkScrollType = 13;
567pub const GTK_SCROLL_START: GtkScrollType = 14;
568pub const GTK_SCROLL_END: GtkScrollType = 15;
569
570pub type GtkScrollablePolicy = c_int;
571pub const GTK_SCROLL_MINIMUM: GtkScrollablePolicy = 0;
572pub const GTK_SCROLL_NATURAL: GtkScrollablePolicy = 1;
573
574pub type GtkSelectionMode = c_int;
575pub const GTK_SELECTION_NONE: GtkSelectionMode = 0;
576pub const GTK_SELECTION_SINGLE: GtkSelectionMode = 1;
577pub const GTK_SELECTION_BROWSE: GtkSelectionMode = 2;
578pub const GTK_SELECTION_MULTIPLE: GtkSelectionMode = 3;
579
580pub type GtkSensitivityType = c_int;
581pub const GTK_SENSITIVITY_AUTO: GtkSensitivityType = 0;
582pub const GTK_SENSITIVITY_ON: GtkSensitivityType = 1;
583pub const GTK_SENSITIVITY_OFF: GtkSensitivityType = 2;
584
585pub type GtkShadowType = c_int;
586pub const GTK_SHADOW_NONE: GtkShadowType = 0;
587pub const GTK_SHADOW_IN: GtkShadowType = 1;
588pub const GTK_SHADOW_OUT: GtkShadowType = 2;
589pub const GTK_SHADOW_ETCHED_IN: GtkShadowType = 3;
590pub const GTK_SHADOW_ETCHED_OUT: GtkShadowType = 4;
591
592pub type GtkShortcutType = c_int;
593pub const GTK_SHORTCUT_ACCELERATOR: GtkShortcutType = 0;
594pub const GTK_SHORTCUT_GESTURE_PINCH: GtkShortcutType = 1;
595pub const GTK_SHORTCUT_GESTURE_STRETCH: GtkShortcutType = 2;
596pub const GTK_SHORTCUT_GESTURE_ROTATE_CLOCKWISE: GtkShortcutType = 3;
597pub const GTK_SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE: GtkShortcutType = 4;
598pub const GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT: GtkShortcutType = 5;
599pub const GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT: GtkShortcutType = 6;
600pub const GTK_SHORTCUT_GESTURE: GtkShortcutType = 7;
601
602pub type GtkSizeGroupMode = c_int;
603pub const GTK_SIZE_GROUP_NONE: GtkSizeGroupMode = 0;
604pub const GTK_SIZE_GROUP_HORIZONTAL: GtkSizeGroupMode = 1;
605pub const GTK_SIZE_GROUP_VERTICAL: GtkSizeGroupMode = 2;
606pub const GTK_SIZE_GROUP_BOTH: GtkSizeGroupMode = 3;
607
608pub type GtkSizeRequestMode = c_int;
609pub const GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH: GtkSizeRequestMode = 0;
610pub const GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT: GtkSizeRequestMode = 1;
611pub const GTK_SIZE_REQUEST_CONSTANT_SIZE: GtkSizeRequestMode = 2;
612
613pub type GtkSortType = c_int;
614pub const GTK_SORT_ASCENDING: GtkSortType = 0;
615pub const GTK_SORT_DESCENDING: GtkSortType = 1;
616
617pub type GtkSpinButtonUpdatePolicy = c_int;
618pub const GTK_UPDATE_ALWAYS: GtkSpinButtonUpdatePolicy = 0;
619pub const GTK_UPDATE_IF_VALID: GtkSpinButtonUpdatePolicy = 1;
620
621pub type GtkSpinType = c_int;
622pub const GTK_SPIN_STEP_FORWARD: GtkSpinType = 0;
623pub const GTK_SPIN_STEP_BACKWARD: GtkSpinType = 1;
624pub const GTK_SPIN_PAGE_FORWARD: GtkSpinType = 2;
625pub const GTK_SPIN_PAGE_BACKWARD: GtkSpinType = 3;
626pub const GTK_SPIN_HOME: GtkSpinType = 4;
627pub const GTK_SPIN_END: GtkSpinType = 5;
628pub const GTK_SPIN_USER_DEFINED: GtkSpinType = 6;
629
630pub type GtkStackTransitionType = c_int;
631pub const GTK_STACK_TRANSITION_TYPE_NONE: GtkStackTransitionType = 0;
632pub const GTK_STACK_TRANSITION_TYPE_CROSSFADE: GtkStackTransitionType = 1;
633pub const GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT: GtkStackTransitionType = 2;
634pub const GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT: GtkStackTransitionType = 3;
635pub const GTK_STACK_TRANSITION_TYPE_SLIDE_UP: GtkStackTransitionType = 4;
636pub const GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN: GtkStackTransitionType = 5;
637pub const GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT: GtkStackTransitionType = 6;
638pub const GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN: GtkStackTransitionType = 7;
639pub const GTK_STACK_TRANSITION_TYPE_OVER_UP: GtkStackTransitionType = 8;
640pub const GTK_STACK_TRANSITION_TYPE_OVER_DOWN: GtkStackTransitionType = 9;
641pub const GTK_STACK_TRANSITION_TYPE_OVER_LEFT: GtkStackTransitionType = 10;
642pub const GTK_STACK_TRANSITION_TYPE_OVER_RIGHT: GtkStackTransitionType = 11;
643pub const GTK_STACK_TRANSITION_TYPE_UNDER_UP: GtkStackTransitionType = 12;
644pub const GTK_STACK_TRANSITION_TYPE_UNDER_DOWN: GtkStackTransitionType = 13;
645pub const GTK_STACK_TRANSITION_TYPE_UNDER_LEFT: GtkStackTransitionType = 14;
646pub const GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT: GtkStackTransitionType = 15;
647pub const GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN: GtkStackTransitionType = 16;
648pub const GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP: GtkStackTransitionType = 17;
649pub const GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT: GtkStackTransitionType = 18;
650pub const GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT: GtkStackTransitionType = 19;
651
652pub type GtkStateType = c_int;
653pub const GTK_STATE_NORMAL: GtkStateType = 0;
654pub const GTK_STATE_ACTIVE: GtkStateType = 1;
655pub const GTK_STATE_PRELIGHT: GtkStateType = 2;
656pub const GTK_STATE_SELECTED: GtkStateType = 3;
657pub const GTK_STATE_INSENSITIVE: GtkStateType = 4;
658pub const GTK_STATE_INCONSISTENT: GtkStateType = 5;
659pub const GTK_STATE_FOCUSED: GtkStateType = 6;
660
661pub type GtkTextBufferTargetInfo = c_int;
662pub const GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS: GtkTextBufferTargetInfo = -1;
663pub const GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT: GtkTextBufferTargetInfo = -2;
664pub const GTK_TEXT_BUFFER_TARGET_INFO_TEXT: GtkTextBufferTargetInfo = -3;
665
666pub type GtkTextDirection = c_int;
667pub const GTK_TEXT_DIR_NONE: GtkTextDirection = 0;
668pub const GTK_TEXT_DIR_LTR: GtkTextDirection = 1;
669pub const GTK_TEXT_DIR_RTL: GtkTextDirection = 2;
670
671pub type GtkTextExtendSelection = c_int;
672pub const GTK_TEXT_EXTEND_SELECTION_WORD: GtkTextExtendSelection = 0;
673pub const GTK_TEXT_EXTEND_SELECTION_LINE: GtkTextExtendSelection = 1;
674
675pub type GtkTextViewLayer = c_int;
676pub const GTK_TEXT_VIEW_LAYER_BELOW: GtkTextViewLayer = 0;
677pub const GTK_TEXT_VIEW_LAYER_ABOVE: GtkTextViewLayer = 1;
678pub const GTK_TEXT_VIEW_LAYER_BELOW_TEXT: GtkTextViewLayer = 2;
679pub const GTK_TEXT_VIEW_LAYER_ABOVE_TEXT: GtkTextViewLayer = 3;
680
681pub type GtkTextWindowType = c_int;
682pub const GTK_TEXT_WINDOW_PRIVATE: GtkTextWindowType = 0;
683pub const GTK_TEXT_WINDOW_WIDGET: GtkTextWindowType = 1;
684pub const GTK_TEXT_WINDOW_TEXT: GtkTextWindowType = 2;
685pub const GTK_TEXT_WINDOW_LEFT: GtkTextWindowType = 3;
686pub const GTK_TEXT_WINDOW_RIGHT: GtkTextWindowType = 4;
687pub const GTK_TEXT_WINDOW_TOP: GtkTextWindowType = 5;
688pub const GTK_TEXT_WINDOW_BOTTOM: GtkTextWindowType = 6;
689
690pub type GtkToolbarSpaceStyle = c_int;
691pub const GTK_TOOLBAR_SPACE_EMPTY: GtkToolbarSpaceStyle = 0;
692pub const GTK_TOOLBAR_SPACE_LINE: GtkToolbarSpaceStyle = 1;
693
694pub type GtkToolbarStyle = c_int;
695pub const GTK_TOOLBAR_ICONS: GtkToolbarStyle = 0;
696pub const GTK_TOOLBAR_TEXT: GtkToolbarStyle = 1;
697pub const GTK_TOOLBAR_BOTH: GtkToolbarStyle = 2;
698pub const GTK_TOOLBAR_BOTH_HORIZ: GtkToolbarStyle = 3;
699
700pub type GtkTreeViewColumnSizing = c_int;
701pub const GTK_TREE_VIEW_COLUMN_GROW_ONLY: GtkTreeViewColumnSizing = 0;
702pub const GTK_TREE_VIEW_COLUMN_AUTOSIZE: GtkTreeViewColumnSizing = 1;
703pub const GTK_TREE_VIEW_COLUMN_FIXED: GtkTreeViewColumnSizing = 2;
704
705pub type GtkTreeViewDropPosition = c_int;
706pub const GTK_TREE_VIEW_DROP_BEFORE: GtkTreeViewDropPosition = 0;
707pub const GTK_TREE_VIEW_DROP_AFTER: GtkTreeViewDropPosition = 1;
708pub const GTK_TREE_VIEW_DROP_INTO_OR_BEFORE: GtkTreeViewDropPosition = 2;
709pub const GTK_TREE_VIEW_DROP_INTO_OR_AFTER: GtkTreeViewDropPosition = 3;
710
711pub type GtkTreeViewGridLines = c_int;
712pub const GTK_TREE_VIEW_GRID_LINES_NONE: GtkTreeViewGridLines = 0;
713pub const GTK_TREE_VIEW_GRID_LINES_HORIZONTAL: GtkTreeViewGridLines = 1;
714pub const GTK_TREE_VIEW_GRID_LINES_VERTICAL: GtkTreeViewGridLines = 2;
715pub const GTK_TREE_VIEW_GRID_LINES_BOTH: GtkTreeViewGridLines = 3;
716
717pub type GtkUnit = c_int;
718pub const GTK_UNIT_NONE: GtkUnit = 0;
719pub const GTK_UNIT_POINTS: GtkUnit = 1;
720pub const GTK_UNIT_INCH: GtkUnit = 2;
721pub const GTK_UNIT_MM: GtkUnit = 3;
722
723pub type GtkWidgetHelpType = c_int;
724pub const GTK_WIDGET_HELP_TOOLTIP: GtkWidgetHelpType = 0;
725pub const GTK_WIDGET_HELP_WHATS_THIS: GtkWidgetHelpType = 1;
726
727pub type GtkWindowPosition = c_int;
728pub const GTK_WIN_POS_NONE: GtkWindowPosition = 0;
729pub const GTK_WIN_POS_CENTER: GtkWindowPosition = 1;
730pub const GTK_WIN_POS_MOUSE: GtkWindowPosition = 2;
731pub const GTK_WIN_POS_CENTER_ALWAYS: GtkWindowPosition = 3;
732pub const GTK_WIN_POS_CENTER_ON_PARENT: GtkWindowPosition = 4;
733
734pub type GtkWindowType = c_int;
735pub const GTK_WINDOW_TOPLEVEL: GtkWindowType = 0;
736pub const GTK_WINDOW_POPUP: GtkWindowType = 1;
737
738pub type GtkWrapMode = c_int;
739pub const GTK_WRAP_NONE: GtkWrapMode = 0;
740pub const GTK_WRAP_CHAR: GtkWrapMode = 1;
741pub const GTK_WRAP_WORD: GtkWrapMode = 2;
742pub const GTK_WRAP_WORD_CHAR: GtkWrapMode = 3;
743
744// Constants
745pub const GTK_INPUT_ERROR: c_int = -1;
746pub const GTK_LEVEL_BAR_OFFSET_FULL: *const c_char = b"full\0" as *const u8 as *const c_char;
747pub const GTK_LEVEL_BAR_OFFSET_HIGH: *const c_char = b"high\0" as *const u8 as *const c_char;
748pub const GTK_LEVEL_BAR_OFFSET_LOW: *const c_char = b"low\0" as *const u8 as *const c_char;
749pub const GTK_MAX_COMPOSE_LEN: c_int = 7;
750pub const GTK_PAPER_NAME_A3: *const c_char = b"iso_a3\0" as *const u8 as *const c_char;
751pub const GTK_PAPER_NAME_A4: *const c_char = b"iso_a4\0" as *const u8 as *const c_char;
752pub const GTK_PAPER_NAME_A5: *const c_char = b"iso_a5\0" as *const u8 as *const c_char;
753pub const GTK_PAPER_NAME_B5: *const c_char = b"iso_b5\0" as *const u8 as *const c_char;
754pub const GTK_PAPER_NAME_EXECUTIVE: *const c_char = b"na_executive\0" as *const u8 as *const c_char;
755pub const GTK_PAPER_NAME_LEGAL: *const c_char = b"na_legal\0" as *const u8 as *const c_char;
756pub const GTK_PAPER_NAME_LETTER: *const c_char = b"na_letter\0" as *const u8 as *const c_char;
757pub const GTK_PATH_PRIO_MASK: c_int = 15;
758pub const GTK_PRINT_SETTINGS_COLLATE: *const c_char = b"collate\0" as *const u8 as *const c_char;
759pub const GTK_PRINT_SETTINGS_DEFAULT_SOURCE: *const c_char =
760    b"default-source\0" as *const u8 as *const c_char;
761pub const GTK_PRINT_SETTINGS_DITHER: *const c_char = b"dither\0" as *const u8 as *const c_char;
762pub const GTK_PRINT_SETTINGS_DUPLEX: *const c_char = b"duplex\0" as *const u8 as *const c_char;
763pub const GTK_PRINT_SETTINGS_FINISHINGS: *const c_char =
764    b"finishings\0" as *const u8 as *const c_char;
765pub const GTK_PRINT_SETTINGS_MEDIA_TYPE: *const c_char =
766    b"media-type\0" as *const u8 as *const c_char;
767pub const GTK_PRINT_SETTINGS_NUMBER_UP: *const c_char =
768    b"number-up\0" as *const u8 as *const c_char;
769pub const GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT: *const c_char =
770    b"number-up-layout\0" as *const u8 as *const c_char;
771pub const GTK_PRINT_SETTINGS_N_COPIES: *const c_char = b"n-copies\0" as *const u8 as *const c_char;
772pub const GTK_PRINT_SETTINGS_ORIENTATION: *const c_char =
773    b"orientation\0" as *const u8 as *const c_char;
774pub const GTK_PRINT_SETTINGS_OUTPUT_BASENAME: *const c_char =
775    b"output-basename\0" as *const u8 as *const c_char;
776pub const GTK_PRINT_SETTINGS_OUTPUT_BIN: *const c_char =
777    b"output-bin\0" as *const u8 as *const c_char;
778pub const GTK_PRINT_SETTINGS_OUTPUT_DIR: *const c_char =
779    b"output-dir\0" as *const u8 as *const c_char;
780pub const GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT: *const c_char =
781    b"output-file-format\0" as *const u8 as *const c_char;
782pub const GTK_PRINT_SETTINGS_OUTPUT_URI: *const c_char =
783    b"output-uri\0" as *const u8 as *const c_char;
784pub const GTK_PRINT_SETTINGS_PAGE_RANGES: *const c_char =
785    b"page-ranges\0" as *const u8 as *const c_char;
786pub const GTK_PRINT_SETTINGS_PAGE_SET: *const c_char = b"page-set\0" as *const u8 as *const c_char;
787pub const GTK_PRINT_SETTINGS_PAPER_FORMAT: *const c_char =
788    b"paper-format\0" as *const u8 as *const c_char;
789pub const GTK_PRINT_SETTINGS_PAPER_HEIGHT: *const c_char =
790    b"paper-height\0" as *const u8 as *const c_char;
791pub const GTK_PRINT_SETTINGS_PAPER_WIDTH: *const c_char =
792    b"paper-width\0" as *const u8 as *const c_char;
793pub const GTK_PRINT_SETTINGS_PRINTER: *const c_char = b"printer\0" as *const u8 as *const c_char;
794pub const GTK_PRINT_SETTINGS_PRINTER_LPI: *const c_char =
795    b"printer-lpi\0" as *const u8 as *const c_char;
796pub const GTK_PRINT_SETTINGS_PRINT_PAGES: *const c_char =
797    b"print-pages\0" as *const u8 as *const c_char;
798pub const GTK_PRINT_SETTINGS_QUALITY: *const c_char = b"quality\0" as *const u8 as *const c_char;
799pub const GTK_PRINT_SETTINGS_RESOLUTION: *const c_char =
800    b"resolution\0" as *const u8 as *const c_char;
801pub const GTK_PRINT_SETTINGS_RESOLUTION_X: *const c_char =
802    b"resolution-x\0" as *const u8 as *const c_char;
803pub const GTK_PRINT_SETTINGS_RESOLUTION_Y: *const c_char =
804    b"resolution-y\0" as *const u8 as *const c_char;
805pub const GTK_PRINT_SETTINGS_REVERSE: *const c_char = b"reverse\0" as *const u8 as *const c_char;
806pub const GTK_PRINT_SETTINGS_SCALE: *const c_char = b"scale\0" as *const u8 as *const c_char;
807pub const GTK_PRINT_SETTINGS_USE_COLOR: *const c_char =
808    b"use-color\0" as *const u8 as *const c_char;
809pub const GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA: *const c_char =
810    b"win32-driver-extra\0" as *const u8 as *const c_char;
811pub const GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION: *const c_char =
812    b"win32-driver-version\0" as *const u8 as *const c_char;
813pub const GTK_PRIORITY_RESIZE: c_int = 10;
814pub const GTK_STOCK_ABOUT: *const c_char = b"gtk-about\0" as *const u8 as *const c_char;
815pub const GTK_STOCK_ADD: *const c_char = b"gtk-add\0" as *const u8 as *const c_char;
816pub const GTK_STOCK_APPLY: *const c_char = b"gtk-apply\0" as *const u8 as *const c_char;
817pub const GTK_STOCK_BOLD: *const c_char = b"gtk-bold\0" as *const u8 as *const c_char;
818pub const GTK_STOCK_CANCEL: *const c_char = b"gtk-cancel\0" as *const u8 as *const c_char;
819pub const GTK_STOCK_CAPS_LOCK_WARNING: *const c_char =
820    b"gtk-caps-lock-warning\0" as *const u8 as *const c_char;
821pub const GTK_STOCK_CDROM: *const c_char = b"gtk-cdrom\0" as *const u8 as *const c_char;
822pub const GTK_STOCK_CLEAR: *const c_char = b"gtk-clear\0" as *const u8 as *const c_char;
823pub const GTK_STOCK_CLOSE: *const c_char = b"gtk-close\0" as *const u8 as *const c_char;
824pub const GTK_STOCK_COLOR_PICKER: *const c_char =
825    b"gtk-color-picker\0" as *const u8 as *const c_char;
826pub const GTK_STOCK_CONNECT: *const c_char = b"gtk-connect\0" as *const u8 as *const c_char;
827pub const GTK_STOCK_CONVERT: *const c_char = b"gtk-convert\0" as *const u8 as *const c_char;
828pub const GTK_STOCK_COPY: *const c_char = b"gtk-copy\0" as *const u8 as *const c_char;
829pub const GTK_STOCK_CUT: *const c_char = b"gtk-cut\0" as *const u8 as *const c_char;
830pub const GTK_STOCK_DELETE: *const c_char = b"gtk-delete\0" as *const u8 as *const c_char;
831pub const GTK_STOCK_DIALOG_AUTHENTICATION: *const c_char =
832    b"gtk-dialog-authentication\0" as *const u8 as *const c_char;
833pub const GTK_STOCK_DIALOG_ERROR: *const c_char =
834    b"gtk-dialog-error\0" as *const u8 as *const c_char;
835pub const GTK_STOCK_DIALOG_INFO: *const c_char = b"gtk-dialog-info\0" as *const u8 as *const c_char;
836pub const GTK_STOCK_DIALOG_QUESTION: *const c_char =
837    b"gtk-dialog-question\0" as *const u8 as *const c_char;
838pub const GTK_STOCK_DIALOG_WARNING: *const c_char =
839    b"gtk-dialog-warning\0" as *const u8 as *const c_char;
840pub const GTK_STOCK_DIRECTORY: *const c_char = b"gtk-directory\0" as *const u8 as *const c_char;
841pub const GTK_STOCK_DISCARD: *const c_char = b"gtk-discard\0" as *const u8 as *const c_char;
842pub const GTK_STOCK_DISCONNECT: *const c_char = b"gtk-disconnect\0" as *const u8 as *const c_char;
843pub const GTK_STOCK_DND: *const c_char = b"gtk-dnd\0" as *const u8 as *const c_char;
844pub const GTK_STOCK_DND_MULTIPLE: *const c_char =
845    b"gtk-dnd-multiple\0" as *const u8 as *const c_char;
846pub const GTK_STOCK_EDIT: *const c_char = b"gtk-edit\0" as *const u8 as *const c_char;
847pub const GTK_STOCK_EXECUTE: *const c_char = b"gtk-execute\0" as *const u8 as *const c_char;
848pub const GTK_STOCK_FILE: *const c_char = b"gtk-file\0" as *const u8 as *const c_char;
849pub const GTK_STOCK_FIND: *const c_char = b"gtk-find\0" as *const u8 as *const c_char;
850pub const GTK_STOCK_FIND_AND_REPLACE: *const c_char =
851    b"gtk-find-and-replace\0" as *const u8 as *const c_char;
852pub const GTK_STOCK_FLOPPY: *const c_char = b"gtk-floppy\0" as *const u8 as *const c_char;
853pub const GTK_STOCK_FULLSCREEN: *const c_char = b"gtk-fullscreen\0" as *const u8 as *const c_char;
854pub const GTK_STOCK_GOTO_BOTTOM: *const c_char = b"gtk-goto-bottom\0" as *const u8 as *const c_char;
855pub const GTK_STOCK_GOTO_FIRST: *const c_char = b"gtk-goto-first\0" as *const u8 as *const c_char;
856pub const GTK_STOCK_GOTO_LAST: *const c_char = b"gtk-goto-last\0" as *const u8 as *const c_char;
857pub const GTK_STOCK_GOTO_TOP: *const c_char = b"gtk-goto-top\0" as *const u8 as *const c_char;
858pub const GTK_STOCK_GO_BACK: *const c_char = b"gtk-go-back\0" as *const u8 as *const c_char;
859pub const GTK_STOCK_GO_DOWN: *const c_char = b"gtk-go-down\0" as *const u8 as *const c_char;
860pub const GTK_STOCK_GO_FORWARD: *const c_char = b"gtk-go-forward\0" as *const u8 as *const c_char;
861pub const GTK_STOCK_GO_UP: *const c_char = b"gtk-go-up\0" as *const u8 as *const c_char;
862pub const GTK_STOCK_HARDDISK: *const c_char = b"gtk-harddisk\0" as *const u8 as *const c_char;
863pub const GTK_STOCK_HELP: *const c_char = b"gtk-help\0" as *const u8 as *const c_char;
864pub const GTK_STOCK_HOME: *const c_char = b"gtk-home\0" as *const u8 as *const c_char;
865pub const GTK_STOCK_INDENT: *const c_char = b"gtk-indent\0" as *const u8 as *const c_char;
866pub const GTK_STOCK_INDEX: *const c_char = b"gtk-index\0" as *const u8 as *const c_char;
867pub const GTK_STOCK_INFO: *const c_char = b"gtk-info\0" as *const u8 as *const c_char;
868pub const GTK_STOCK_ITALIC: *const c_char = b"gtk-italic\0" as *const u8 as *const c_char;
869pub const GTK_STOCK_JUMP_TO: *const c_char = b"gtk-jump-to\0" as *const u8 as *const c_char;
870pub const GTK_STOCK_JUSTIFY_CENTER: *const c_char =
871    b"gtk-justify-center\0" as *const u8 as *const c_char;
872pub const GTK_STOCK_JUSTIFY_FILL: *const c_char =
873    b"gtk-justify-fill\0" as *const u8 as *const c_char;
874pub const GTK_STOCK_JUSTIFY_LEFT: *const c_char =
875    b"gtk-justify-left\0" as *const u8 as *const c_char;
876pub const GTK_STOCK_JUSTIFY_RIGHT: *const c_char =
877    b"gtk-justify-right\0" as *const u8 as *const c_char;
878pub const GTK_STOCK_LEAVE_FULLSCREEN: *const c_char =
879    b"gtk-leave-fullscreen\0" as *const u8 as *const c_char;
880pub const GTK_STOCK_MEDIA_FORWARD: *const c_char =
881    b"gtk-media-forward\0" as *const u8 as *const c_char;
882pub const GTK_STOCK_MEDIA_NEXT: *const c_char = b"gtk-media-next\0" as *const u8 as *const c_char;
883pub const GTK_STOCK_MEDIA_PAUSE: *const c_char = b"gtk-media-pause\0" as *const u8 as *const c_char;
884pub const GTK_STOCK_MEDIA_PLAY: *const c_char = b"gtk-media-play\0" as *const u8 as *const c_char;
885pub const GTK_STOCK_MEDIA_PREVIOUS: *const c_char =
886    b"gtk-media-previous\0" as *const u8 as *const c_char;
887pub const GTK_STOCK_MEDIA_RECORD: *const c_char =
888    b"gtk-media-record\0" as *const u8 as *const c_char;
889pub const GTK_STOCK_MEDIA_REWIND: *const c_char =
890    b"gtk-media-rewind\0" as *const u8 as *const c_char;
891pub const GTK_STOCK_MEDIA_STOP: *const c_char = b"gtk-media-stop\0" as *const u8 as *const c_char;
892pub const GTK_STOCK_MISSING_IMAGE: *const c_char =
893    b"gtk-missing-image\0" as *const u8 as *const c_char;
894pub const GTK_STOCK_NETWORK: *const c_char = b"gtk-network\0" as *const u8 as *const c_char;
895pub const GTK_STOCK_NEW: *const c_char = b"gtk-new\0" as *const u8 as *const c_char;
896pub const GTK_STOCK_NO: *const c_char = b"gtk-no\0" as *const u8 as *const c_char;
897pub const GTK_STOCK_OK: *const c_char = b"gtk-ok\0" as *const u8 as *const c_char;
898pub const GTK_STOCK_OPEN: *const c_char = b"gtk-open\0" as *const u8 as *const c_char;
899pub const GTK_STOCK_ORIENTATION_LANDSCAPE: *const c_char =
900    b"gtk-orientation-landscape\0" as *const u8 as *const c_char;
901pub const GTK_STOCK_ORIENTATION_PORTRAIT: *const c_char =
902    b"gtk-orientation-portrait\0" as *const u8 as *const c_char;
903pub const GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE: *const c_char =
904    b"gtk-orientation-reverse-landscape\0" as *const u8 as *const c_char;
905pub const GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT: *const c_char =
906    b"gtk-orientation-reverse-portrait\0" as *const u8 as *const c_char;
907pub const GTK_STOCK_PAGE_SETUP: *const c_char = b"gtk-page-setup\0" as *const u8 as *const c_char;
908pub const GTK_STOCK_PASTE: *const c_char = b"gtk-paste\0" as *const u8 as *const c_char;
909pub const GTK_STOCK_PREFERENCES: *const c_char = b"gtk-preferences\0" as *const u8 as *const c_char;
910pub const GTK_STOCK_PRINT: *const c_char = b"gtk-print\0" as *const u8 as *const c_char;
911pub const GTK_STOCK_PRINT_ERROR: *const c_char = b"gtk-print-error\0" as *const u8 as *const c_char;
912pub const GTK_STOCK_PRINT_PAUSED: *const c_char =
913    b"gtk-print-paused\0" as *const u8 as *const c_char;
914pub const GTK_STOCK_PRINT_PREVIEW: *const c_char =
915    b"gtk-print-preview\0" as *const u8 as *const c_char;
916pub const GTK_STOCK_PRINT_REPORT: *const c_char =
917    b"gtk-print-report\0" as *const u8 as *const c_char;
918pub const GTK_STOCK_PRINT_WARNING: *const c_char =
919    b"gtk-print-warning\0" as *const u8 as *const c_char;
920pub const GTK_STOCK_PROPERTIES: *const c_char = b"gtk-properties\0" as *const u8 as *const c_char;
921pub const GTK_STOCK_QUIT: *const c_char = b"gtk-quit\0" as *const u8 as *const c_char;
922pub const GTK_STOCK_REDO: *const c_char = b"gtk-redo\0" as *const u8 as *const c_char;
923pub const GTK_STOCK_REFRESH: *const c_char = b"gtk-refresh\0" as *const u8 as *const c_char;
924pub const GTK_STOCK_REMOVE: *const c_char = b"gtk-remove\0" as *const u8 as *const c_char;
925pub const GTK_STOCK_REVERT_TO_SAVED: *const c_char =
926    b"gtk-revert-to-saved\0" as *const u8 as *const c_char;
927pub const GTK_STOCK_SAVE: *const c_char = b"gtk-save\0" as *const u8 as *const c_char;
928pub const GTK_STOCK_SAVE_AS: *const c_char = b"gtk-save-as\0" as *const u8 as *const c_char;
929pub const GTK_STOCK_SELECT_ALL: *const c_char = b"gtk-select-all\0" as *const u8 as *const c_char;
930pub const GTK_STOCK_SELECT_COLOR: *const c_char =
931    b"gtk-select-color\0" as *const u8 as *const c_char;
932pub const GTK_STOCK_SELECT_FONT: *const c_char = b"gtk-select-font\0" as *const u8 as *const c_char;
933pub const GTK_STOCK_SORT_ASCENDING: *const c_char =
934    b"gtk-sort-ascending\0" as *const u8 as *const c_char;
935pub const GTK_STOCK_SORT_DESCENDING: *const c_char =
936    b"gtk-sort-descending\0" as *const u8 as *const c_char;
937pub const GTK_STOCK_SPELL_CHECK: *const c_char = b"gtk-spell-check\0" as *const u8 as *const c_char;
938pub const GTK_STOCK_STOP: *const c_char = b"gtk-stop\0" as *const u8 as *const c_char;
939pub const GTK_STOCK_STRIKETHROUGH: *const c_char =
940    b"gtk-strikethrough\0" as *const u8 as *const c_char;
941pub const GTK_STOCK_UNDELETE: *const c_char = b"gtk-undelete\0" as *const u8 as *const c_char;
942pub const GTK_STOCK_UNDERLINE: *const c_char = b"gtk-underline\0" as *const u8 as *const c_char;
943pub const GTK_STOCK_UNDO: *const c_char = b"gtk-undo\0" as *const u8 as *const c_char;
944pub const GTK_STOCK_UNINDENT: *const c_char = b"gtk-unindent\0" as *const u8 as *const c_char;
945pub const GTK_STOCK_YES: *const c_char = b"gtk-yes\0" as *const u8 as *const c_char;
946pub const GTK_STOCK_ZOOM_100: *const c_char = b"gtk-zoom-100\0" as *const u8 as *const c_char;
947pub const GTK_STOCK_ZOOM_FIT: *const c_char = b"gtk-zoom-fit\0" as *const u8 as *const c_char;
948pub const GTK_STOCK_ZOOM_IN: *const c_char = b"gtk-zoom-in\0" as *const u8 as *const c_char;
949pub const GTK_STOCK_ZOOM_OUT: *const c_char = b"gtk-zoom-out\0" as *const u8 as *const c_char;
950pub const GTK_STYLE_CLASS_ACCELERATOR: *const c_char =
951    b"accelerator\0" as *const u8 as *const c_char;
952pub const GTK_STYLE_CLASS_ARROW: *const c_char = b"arrow\0" as *const u8 as *const c_char;
953pub const GTK_STYLE_CLASS_BACKGROUND: *const c_char = b"background\0" as *const u8 as *const c_char;
954pub const GTK_STYLE_CLASS_BOTTOM: *const c_char = b"bottom\0" as *const u8 as *const c_char;
955pub const GTK_STYLE_CLASS_BUTTON: *const c_char = b"button\0" as *const u8 as *const c_char;
956pub const GTK_STYLE_CLASS_CALENDAR: *const c_char = b"calendar\0" as *const u8 as *const c_char;
957pub const GTK_STYLE_CLASS_CELL: *const c_char = b"cell\0" as *const u8 as *const c_char;
958pub const GTK_STYLE_CLASS_CHECK: *const c_char = b"check\0" as *const u8 as *const c_char;
959pub const GTK_STYLE_CLASS_COMBOBOX_ENTRY: *const c_char =
960    b"combobox-entry\0" as *const u8 as *const c_char;
961pub const GTK_STYLE_CLASS_CONTEXT_MENU: *const c_char =
962    b"context-menu\0" as *const u8 as *const c_char;
963pub const GTK_STYLE_CLASS_CSD: *const c_char = b"csd\0" as *const u8 as *const c_char;
964pub const GTK_STYLE_CLASS_CURSOR_HANDLE: *const c_char =
965    b"cursor-handle\0" as *const u8 as *const c_char;
966pub const GTK_STYLE_CLASS_DEFAULT: *const c_char = b"default\0" as *const u8 as *const c_char;
967pub const GTK_STYLE_CLASS_DESTRUCTIVE_ACTION: *const c_char =
968    b"destructive-action\0" as *const u8 as *const c_char;
969pub const GTK_STYLE_CLASS_DIM_LABEL: *const c_char = b"dim-label\0" as *const u8 as *const c_char;
970pub const GTK_STYLE_CLASS_DND: *const c_char = b"dnd\0" as *const u8 as *const c_char;
971pub const GTK_STYLE_CLASS_DOCK: *const c_char = b"dock\0" as *const u8 as *const c_char;
972pub const GTK_STYLE_CLASS_ENTRY: *const c_char = b"entry\0" as *const u8 as *const c_char;
973pub const GTK_STYLE_CLASS_ERROR: *const c_char = b"error\0" as *const u8 as *const c_char;
974pub const GTK_STYLE_CLASS_EXPANDER: *const c_char = b"expander\0" as *const u8 as *const c_char;
975pub const GTK_STYLE_CLASS_FLAT: *const c_char = b"flat\0" as *const u8 as *const c_char;
976pub const GTK_STYLE_CLASS_FRAME: *const c_char = b"frame\0" as *const u8 as *const c_char;
977pub const GTK_STYLE_CLASS_GRIP: *const c_char = b"grip\0" as *const u8 as *const c_char;
978pub const GTK_STYLE_CLASS_HEADER: *const c_char = b"header\0" as *const u8 as *const c_char;
979pub const GTK_STYLE_CLASS_HIGHLIGHT: *const c_char = b"highlight\0" as *const u8 as *const c_char;
980pub const GTK_STYLE_CLASS_HORIZONTAL: *const c_char = b"horizontal\0" as *const u8 as *const c_char;
981pub const GTK_STYLE_CLASS_IMAGE: *const c_char = b"image\0" as *const u8 as *const c_char;
982pub const GTK_STYLE_CLASS_INFO: *const c_char = b"info\0" as *const u8 as *const c_char;
983pub const GTK_STYLE_CLASS_INLINE_TOOLBAR: *const c_char =
984    b"inline-toolbar\0" as *const u8 as *const c_char;
985pub const GTK_STYLE_CLASS_INSERTION_CURSOR: *const c_char =
986    b"insertion-cursor\0" as *const u8 as *const c_char;
987pub const GTK_STYLE_CLASS_LABEL: *const c_char = b"label\0" as *const u8 as *const c_char;
988pub const GTK_STYLE_CLASS_LEFT: *const c_char = b"left\0" as *const u8 as *const c_char;
989pub const GTK_STYLE_CLASS_LEVEL_BAR: *const c_char = b"level-bar\0" as *const u8 as *const c_char;
990pub const GTK_STYLE_CLASS_LINKED: *const c_char = b"linked\0" as *const u8 as *const c_char;
991pub const GTK_STYLE_CLASS_LIST: *const c_char = b"list\0" as *const u8 as *const c_char;
992pub const GTK_STYLE_CLASS_LIST_ROW: *const c_char = b"list-row\0" as *const u8 as *const c_char;
993pub const GTK_STYLE_CLASS_MARK: *const c_char = b"mark\0" as *const u8 as *const c_char;
994pub const GTK_STYLE_CLASS_MENU: *const c_char = b"menu\0" as *const u8 as *const c_char;
995pub const GTK_STYLE_CLASS_MENUBAR: *const c_char = b"menubar\0" as *const u8 as *const c_char;
996pub const GTK_STYLE_CLASS_MENUITEM: *const c_char = b"menuitem\0" as *const u8 as *const c_char;
997pub const GTK_STYLE_CLASS_MESSAGE_DIALOG: *const c_char =
998    b"message-dialog\0" as *const u8 as *const c_char;
999pub const GTK_STYLE_CLASS_MONOSPACE: *const c_char = b"monospace\0" as *const u8 as *const c_char;
1000pub const GTK_STYLE_CLASS_NEEDS_ATTENTION: *const c_char =
1001    b"needs-attention\0" as *const u8 as *const c_char;
1002pub const GTK_STYLE_CLASS_NOTEBOOK: *const c_char = b"notebook\0" as *const u8 as *const c_char;
1003pub const GTK_STYLE_CLASS_OSD: *const c_char = b"osd\0" as *const u8 as *const c_char;
1004pub const GTK_STYLE_CLASS_OVERSHOOT: *const c_char = b"overshoot\0" as *const u8 as *const c_char;
1005pub const GTK_STYLE_CLASS_PANE_SEPARATOR: *const c_char =
1006    b"pane-separator\0" as *const u8 as *const c_char;
1007pub const GTK_STYLE_CLASS_PAPER: *const c_char = b"paper\0" as *const u8 as *const c_char;
1008pub const GTK_STYLE_CLASS_POPOVER: *const c_char = b"popover\0" as *const u8 as *const c_char;
1009pub const GTK_STYLE_CLASS_POPUP: *const c_char = b"popup\0" as *const u8 as *const c_char;
1010pub const GTK_STYLE_CLASS_PRIMARY_TOOLBAR: *const c_char =
1011    b"primary-toolbar\0" as *const u8 as *const c_char;
1012pub const GTK_STYLE_CLASS_PROGRESSBAR: *const c_char =
1013    b"progressbar\0" as *const u8 as *const c_char;
1014pub const GTK_STYLE_CLASS_PULSE: *const c_char = b"pulse\0" as *const u8 as *const c_char;
1015pub const GTK_STYLE_CLASS_QUESTION: *const c_char = b"question\0" as *const u8 as *const c_char;
1016pub const GTK_STYLE_CLASS_RADIO: *const c_char = b"radio\0" as *const u8 as *const c_char;
1017pub const GTK_STYLE_CLASS_RAISED: *const c_char = b"raised\0" as *const u8 as *const c_char;
1018pub const GTK_STYLE_CLASS_READ_ONLY: *const c_char = b"read-only\0" as *const u8 as *const c_char;
1019pub const GTK_STYLE_CLASS_RIGHT: *const c_char = b"right\0" as *const u8 as *const c_char;
1020pub const GTK_STYLE_CLASS_RUBBERBAND: *const c_char = b"rubberband\0" as *const u8 as *const c_char;
1021pub const GTK_STYLE_CLASS_SCALE: *const c_char = b"scale\0" as *const u8 as *const c_char;
1022pub const GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE: *const c_char =
1023    b"scale-has-marks-above\0" as *const u8 as *const c_char;
1024pub const GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW: *const c_char =
1025    b"scale-has-marks-below\0" as *const u8 as *const c_char;
1026pub const GTK_STYLE_CLASS_SCROLLBAR: *const c_char = b"scrollbar\0" as *const u8 as *const c_char;
1027pub const GTK_STYLE_CLASS_SCROLLBARS_JUNCTION: *const c_char =
1028    b"scrollbars-junction\0" as *const u8 as *const c_char;
1029pub const GTK_STYLE_CLASS_SEPARATOR: *const c_char = b"separator\0" as *const u8 as *const c_char;
1030pub const GTK_STYLE_CLASS_SIDEBAR: *const c_char = b"sidebar\0" as *const u8 as *const c_char;
1031pub const GTK_STYLE_CLASS_SLIDER: *const c_char = b"slider\0" as *const u8 as *const c_char;
1032pub const GTK_STYLE_CLASS_SPINBUTTON: *const c_char = b"spinbutton\0" as *const u8 as *const c_char;
1033pub const GTK_STYLE_CLASS_SPINNER: *const c_char = b"spinner\0" as *const u8 as *const c_char;
1034pub const GTK_STYLE_CLASS_STATUSBAR: *const c_char = b"statusbar\0" as *const u8 as *const c_char;
1035pub const GTK_STYLE_CLASS_SUBTITLE: *const c_char = b"subtitle\0" as *const u8 as *const c_char;
1036pub const GTK_STYLE_CLASS_SUGGESTED_ACTION: *const c_char =
1037    b"suggested-action\0" as *const u8 as *const c_char;
1038pub const GTK_STYLE_CLASS_TITLE: *const c_char = b"title\0" as *const u8 as *const c_char;
1039pub const GTK_STYLE_CLASS_TITLEBAR: *const c_char = b"titlebar\0" as *const u8 as *const c_char;
1040pub const GTK_STYLE_CLASS_TOOLBAR: *const c_char = b"toolbar\0" as *const u8 as *const c_char;
1041pub const GTK_STYLE_CLASS_TOOLTIP: *const c_char = b"tooltip\0" as *const u8 as *const c_char;
1042pub const GTK_STYLE_CLASS_TOP: *const c_char = b"top\0" as *const u8 as *const c_char;
1043pub const GTK_STYLE_CLASS_TOUCH_SELECTION: *const c_char =
1044    b"touch-selection\0" as *const u8 as *const c_char;
1045pub const GTK_STYLE_CLASS_TROUGH: *const c_char = b"trough\0" as *const u8 as *const c_char;
1046pub const GTK_STYLE_CLASS_UNDERSHOOT: *const c_char = b"undershoot\0" as *const u8 as *const c_char;
1047pub const GTK_STYLE_CLASS_VERTICAL: *const c_char = b"vertical\0" as *const u8 as *const c_char;
1048pub const GTK_STYLE_CLASS_VIEW: *const c_char = b"view\0" as *const u8 as *const c_char;
1049pub const GTK_STYLE_CLASS_WARNING: *const c_char = b"warning\0" as *const u8 as *const c_char;
1050pub const GTK_STYLE_CLASS_WIDE: *const c_char = b"wide\0" as *const u8 as *const c_char;
1051pub const GTK_STYLE_PROPERTY_BACKGROUND_COLOR: *const c_char =
1052    b"background-color\0" as *const u8 as *const c_char;
1053pub const GTK_STYLE_PROPERTY_BACKGROUND_IMAGE: *const c_char =
1054    b"background-image\0" as *const u8 as *const c_char;
1055pub const GTK_STYLE_PROPERTY_BORDER_COLOR: *const c_char =
1056    b"border-color\0" as *const u8 as *const c_char;
1057pub const GTK_STYLE_PROPERTY_BORDER_RADIUS: *const c_char =
1058    b"border-radius\0" as *const u8 as *const c_char;
1059pub const GTK_STYLE_PROPERTY_BORDER_STYLE: *const c_char =
1060    b"border-style\0" as *const u8 as *const c_char;
1061pub const GTK_STYLE_PROPERTY_BORDER_WIDTH: *const c_char =
1062    b"border-width\0" as *const u8 as *const c_char;
1063pub const GTK_STYLE_PROPERTY_COLOR: *const c_char = b"color\0" as *const u8 as *const c_char;
1064pub const GTK_STYLE_PROPERTY_FONT: *const c_char = b"font\0" as *const u8 as *const c_char;
1065pub const GTK_STYLE_PROPERTY_MARGIN: *const c_char = b"margin\0" as *const u8 as *const c_char;
1066pub const GTK_STYLE_PROPERTY_PADDING: *const c_char = b"padding\0" as *const u8 as *const c_char;
1067pub const GTK_STYLE_PROVIDER_PRIORITY_APPLICATION: c_int = 600;
1068pub const GTK_STYLE_PROVIDER_PRIORITY_FALLBACK: c_int = 1;
1069pub const GTK_STYLE_PROVIDER_PRIORITY_SETTINGS: c_int = 400;
1070pub const GTK_STYLE_PROVIDER_PRIORITY_THEME: c_int = 200;
1071pub const GTK_STYLE_PROVIDER_PRIORITY_USER: c_int = 800;
1072pub const GTK_STYLE_REGION_COLUMN: *const c_char = b"column\0" as *const u8 as *const c_char;
1073pub const GTK_STYLE_REGION_COLUMN_HEADER: *const c_char =
1074    b"column-header\0" as *const u8 as *const c_char;
1075pub const GTK_STYLE_REGION_ROW: *const c_char = b"row\0" as *const u8 as *const c_char;
1076pub const GTK_STYLE_REGION_TAB: *const c_char = b"tab\0" as *const u8 as *const c_char;
1077pub const GTK_TEXT_VIEW_PRIORITY_VALIDATE: c_int = 5;
1078pub const GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID: c_int = -1;
1079pub const GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID: c_int = -2;
1080
1081// Flags
1082pub type GtkAccelFlags = c_uint;
1083pub const GTK_ACCEL_VISIBLE: GtkAccelFlags = 1;
1084pub const GTK_ACCEL_LOCKED: GtkAccelFlags = 2;
1085pub const GTK_ACCEL_MASK: GtkAccelFlags = 7;
1086
1087pub type GtkApplicationInhibitFlags = c_uint;
1088pub const GTK_APPLICATION_INHIBIT_LOGOUT: GtkApplicationInhibitFlags = 1;
1089pub const GTK_APPLICATION_INHIBIT_SWITCH: GtkApplicationInhibitFlags = 2;
1090pub const GTK_APPLICATION_INHIBIT_SUSPEND: GtkApplicationInhibitFlags = 4;
1091pub const GTK_APPLICATION_INHIBIT_IDLE: GtkApplicationInhibitFlags = 8;
1092
1093pub type GtkAttachOptions = c_uint;
1094pub const GTK_EXPAND: GtkAttachOptions = 1;
1095pub const GTK_SHRINK: GtkAttachOptions = 2;
1096pub const GTK_FILL: GtkAttachOptions = 4;
1097
1098pub type GtkCalendarDisplayOptions = c_uint;
1099pub const GTK_CALENDAR_SHOW_HEADING: GtkCalendarDisplayOptions = 1;
1100pub const GTK_CALENDAR_SHOW_DAY_NAMES: GtkCalendarDisplayOptions = 2;
1101pub const GTK_CALENDAR_NO_MONTH_CHANGE: GtkCalendarDisplayOptions = 4;
1102pub const GTK_CALENDAR_SHOW_WEEK_NUMBERS: GtkCalendarDisplayOptions = 8;
1103pub const GTK_CALENDAR_SHOW_DETAILS: GtkCalendarDisplayOptions = 32;
1104
1105pub type GtkCellRendererState = c_uint;
1106pub const GTK_CELL_RENDERER_SELECTED: GtkCellRendererState = 1;
1107pub const GTK_CELL_RENDERER_PRELIT: GtkCellRendererState = 2;
1108pub const GTK_CELL_RENDERER_INSENSITIVE: GtkCellRendererState = 4;
1109pub const GTK_CELL_RENDERER_SORTED: GtkCellRendererState = 8;
1110pub const GTK_CELL_RENDERER_FOCUSED: GtkCellRendererState = 16;
1111pub const GTK_CELL_RENDERER_EXPANDABLE: GtkCellRendererState = 32;
1112pub const GTK_CELL_RENDERER_EXPANDED: GtkCellRendererState = 64;
1113
1114pub type GtkDebugFlag = c_uint;
1115pub const GTK_DEBUG_MISC: GtkDebugFlag = 1;
1116pub const GTK_DEBUG_PLUGSOCKET: GtkDebugFlag = 2;
1117pub const GTK_DEBUG_TEXT: GtkDebugFlag = 4;
1118pub const GTK_DEBUG_TREE: GtkDebugFlag = 8;
1119pub const GTK_DEBUG_UPDATES: GtkDebugFlag = 16;
1120pub const GTK_DEBUG_KEYBINDINGS: GtkDebugFlag = 32;
1121pub const GTK_DEBUG_MULTIHEAD: GtkDebugFlag = 64;
1122pub const GTK_DEBUG_MODULES: GtkDebugFlag = 128;
1123pub const GTK_DEBUG_GEOMETRY: GtkDebugFlag = 256;
1124pub const GTK_DEBUG_ICONTHEME: GtkDebugFlag = 512;
1125pub const GTK_DEBUG_PRINTING: GtkDebugFlag = 1024;
1126pub const GTK_DEBUG_BUILDER: GtkDebugFlag = 2048;
1127pub const GTK_DEBUG_SIZE_REQUEST: GtkDebugFlag = 4096;
1128pub const GTK_DEBUG_NO_CSS_CACHE: GtkDebugFlag = 8192;
1129pub const GTK_DEBUG_BASELINES: GtkDebugFlag = 16384;
1130pub const GTK_DEBUG_PIXEL_CACHE: GtkDebugFlag = 32768;
1131pub const GTK_DEBUG_NO_PIXEL_CACHE: GtkDebugFlag = 65536;
1132pub const GTK_DEBUG_INTERACTIVE: GtkDebugFlag = 131072;
1133pub const GTK_DEBUG_TOUCHSCREEN: GtkDebugFlag = 262144;
1134pub const GTK_DEBUG_ACTIONS: GtkDebugFlag = 524288;
1135pub const GTK_DEBUG_RESIZE: GtkDebugFlag = 1048576;
1136pub const GTK_DEBUG_LAYOUT: GtkDebugFlag = 2097152;
1137
1138pub type GtkDestDefaults = c_uint;
1139pub const GTK_DEST_DEFAULT_MOTION: GtkDestDefaults = 1;
1140pub const GTK_DEST_DEFAULT_HIGHLIGHT: GtkDestDefaults = 2;
1141pub const GTK_DEST_DEFAULT_DROP: GtkDestDefaults = 4;
1142pub const GTK_DEST_DEFAULT_ALL: GtkDestDefaults = 7;
1143
1144pub type GtkDialogFlags = c_uint;
1145pub const GTK_DIALOG_MODAL: GtkDialogFlags = 1;
1146pub const GTK_DIALOG_DESTROY_WITH_PARENT: GtkDialogFlags = 2;
1147pub const GTK_DIALOG_USE_HEADER_BAR: GtkDialogFlags = 4;
1148
1149pub type GtkEventControllerScrollFlags = c_uint;
1150pub const GTK_EVENT_CONTROLLER_SCROLL_NONE: GtkEventControllerScrollFlags = 0;
1151pub const GTK_EVENT_CONTROLLER_SCROLL_VERTICAL: GtkEventControllerScrollFlags = 1;
1152pub const GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL: GtkEventControllerScrollFlags = 2;
1153pub const GTK_EVENT_CONTROLLER_SCROLL_DISCRETE: GtkEventControllerScrollFlags = 4;
1154pub const GTK_EVENT_CONTROLLER_SCROLL_KINETIC: GtkEventControllerScrollFlags = 8;
1155pub const GTK_EVENT_CONTROLLER_SCROLL_BOTH_AXES: GtkEventControllerScrollFlags = 3;
1156
1157pub type GtkFileFilterFlags = c_uint;
1158pub const GTK_FILE_FILTER_FILENAME: GtkFileFilterFlags = 1;
1159pub const GTK_FILE_FILTER_URI: GtkFileFilterFlags = 2;
1160pub const GTK_FILE_FILTER_DISPLAY_NAME: GtkFileFilterFlags = 4;
1161pub const GTK_FILE_FILTER_MIME_TYPE: GtkFileFilterFlags = 8;
1162
1163pub type GtkFontChooserLevel = c_uint;
1164pub const GTK_FONT_CHOOSER_LEVEL_FAMILY: GtkFontChooserLevel = 0;
1165pub const GTK_FONT_CHOOSER_LEVEL_STYLE: GtkFontChooserLevel = 1;
1166pub const GTK_FONT_CHOOSER_LEVEL_SIZE: GtkFontChooserLevel = 2;
1167pub const GTK_FONT_CHOOSER_LEVEL_VARIATIONS: GtkFontChooserLevel = 4;
1168pub const GTK_FONT_CHOOSER_LEVEL_FEATURES: GtkFontChooserLevel = 8;
1169
1170pub type GtkIconLookupFlags = c_uint;
1171pub const GTK_ICON_LOOKUP_NO_SVG: GtkIconLookupFlags = 1;
1172pub const GTK_ICON_LOOKUP_FORCE_SVG: GtkIconLookupFlags = 2;
1173pub const GTK_ICON_LOOKUP_USE_BUILTIN: GtkIconLookupFlags = 4;
1174pub const GTK_ICON_LOOKUP_GENERIC_FALLBACK: GtkIconLookupFlags = 8;
1175pub const GTK_ICON_LOOKUP_FORCE_SIZE: GtkIconLookupFlags = 16;
1176pub const GTK_ICON_LOOKUP_FORCE_REGULAR: GtkIconLookupFlags = 32;
1177pub const GTK_ICON_LOOKUP_FORCE_SYMBOLIC: GtkIconLookupFlags = 64;
1178pub const GTK_ICON_LOOKUP_DIR_LTR: GtkIconLookupFlags = 128;
1179pub const GTK_ICON_LOOKUP_DIR_RTL: GtkIconLookupFlags = 256;
1180
1181pub type GtkInputHints = c_uint;
1182pub const GTK_INPUT_HINT_NONE: GtkInputHints = 0;
1183pub const GTK_INPUT_HINT_SPELLCHECK: GtkInputHints = 1;
1184pub const GTK_INPUT_HINT_NO_SPELLCHECK: GtkInputHints = 2;
1185pub const GTK_INPUT_HINT_WORD_COMPLETION: GtkInputHints = 4;
1186pub const GTK_INPUT_HINT_LOWERCASE: GtkInputHints = 8;
1187pub const GTK_INPUT_HINT_UPPERCASE_CHARS: GtkInputHints = 16;
1188pub const GTK_INPUT_HINT_UPPERCASE_WORDS: GtkInputHints = 32;
1189pub const GTK_INPUT_HINT_UPPERCASE_SENTENCES: GtkInputHints = 64;
1190pub const GTK_INPUT_HINT_INHIBIT_OSK: GtkInputHints = 128;
1191pub const GTK_INPUT_HINT_VERTICAL_WRITING: GtkInputHints = 256;
1192pub const GTK_INPUT_HINT_EMOJI: GtkInputHints = 512;
1193pub const GTK_INPUT_HINT_NO_EMOJI: GtkInputHints = 1024;
1194
1195pub type GtkJunctionSides = c_uint;
1196pub const GTK_JUNCTION_NONE: GtkJunctionSides = 0;
1197pub const GTK_JUNCTION_CORNER_TOPLEFT: GtkJunctionSides = 1;
1198pub const GTK_JUNCTION_CORNER_TOPRIGHT: GtkJunctionSides = 2;
1199pub const GTK_JUNCTION_CORNER_BOTTOMLEFT: GtkJunctionSides = 4;
1200pub const GTK_JUNCTION_CORNER_BOTTOMRIGHT: GtkJunctionSides = 8;
1201pub const GTK_JUNCTION_TOP: GtkJunctionSides = 3;
1202pub const GTK_JUNCTION_BOTTOM: GtkJunctionSides = 12;
1203pub const GTK_JUNCTION_LEFT: GtkJunctionSides = 5;
1204pub const GTK_JUNCTION_RIGHT: GtkJunctionSides = 10;
1205
1206pub type GtkPlacesOpenFlags = c_uint;
1207pub const GTK_PLACES_OPEN_NORMAL: GtkPlacesOpenFlags = 1;
1208pub const GTK_PLACES_OPEN_NEW_TAB: GtkPlacesOpenFlags = 2;
1209pub const GTK_PLACES_OPEN_NEW_WINDOW: GtkPlacesOpenFlags = 4;
1210
1211pub type GtkRcFlags = c_uint;
1212pub const GTK_RC_FG: GtkRcFlags = 1;
1213pub const GTK_RC_BG: GtkRcFlags = 2;
1214pub const GTK_RC_TEXT: GtkRcFlags = 4;
1215pub const GTK_RC_BASE: GtkRcFlags = 8;
1216
1217pub type GtkRecentFilterFlags = c_uint;
1218pub const GTK_RECENT_FILTER_URI: GtkRecentFilterFlags = 1;
1219pub const GTK_RECENT_FILTER_DISPLAY_NAME: GtkRecentFilterFlags = 2;
1220pub const GTK_RECENT_FILTER_MIME_TYPE: GtkRecentFilterFlags = 4;
1221pub const GTK_RECENT_FILTER_APPLICATION: GtkRecentFilterFlags = 8;
1222pub const GTK_RECENT_FILTER_GROUP: GtkRecentFilterFlags = 16;
1223pub const GTK_RECENT_FILTER_AGE: GtkRecentFilterFlags = 32;
1224
1225pub type GtkRegionFlags = c_uint;
1226pub const GTK_REGION_EVEN: GtkRegionFlags = 1;
1227pub const GTK_REGION_ODD: GtkRegionFlags = 2;
1228pub const GTK_REGION_FIRST: GtkRegionFlags = 4;
1229pub const GTK_REGION_LAST: GtkRegionFlags = 8;
1230pub const GTK_REGION_ONLY: GtkRegionFlags = 16;
1231pub const GTK_REGION_SORTED: GtkRegionFlags = 32;
1232
1233pub type GtkStateFlags = c_uint;
1234pub const GTK_STATE_FLAG_NORMAL: GtkStateFlags = 0;
1235pub const GTK_STATE_FLAG_ACTIVE: GtkStateFlags = 1;
1236pub const GTK_STATE_FLAG_PRELIGHT: GtkStateFlags = 2;
1237pub const GTK_STATE_FLAG_SELECTED: GtkStateFlags = 4;
1238pub const GTK_STATE_FLAG_INSENSITIVE: GtkStateFlags = 8;
1239pub const GTK_STATE_FLAG_INCONSISTENT: GtkStateFlags = 16;
1240pub const GTK_STATE_FLAG_FOCUSED: GtkStateFlags = 32;
1241pub const GTK_STATE_FLAG_BACKDROP: GtkStateFlags = 64;
1242pub const GTK_STATE_FLAG_DIR_LTR: GtkStateFlags = 128;
1243pub const GTK_STATE_FLAG_DIR_RTL: GtkStateFlags = 256;
1244pub const GTK_STATE_FLAG_LINK: GtkStateFlags = 512;
1245pub const GTK_STATE_FLAG_VISITED: GtkStateFlags = 1024;
1246pub const GTK_STATE_FLAG_CHECKED: GtkStateFlags = 2048;
1247pub const GTK_STATE_FLAG_DROP_ACTIVE: GtkStateFlags = 4096;
1248
1249pub type GtkStyleContextPrintFlags = c_uint;
1250pub const GTK_STYLE_CONTEXT_PRINT_NONE: GtkStyleContextPrintFlags = 0;
1251pub const GTK_STYLE_CONTEXT_PRINT_RECURSE: GtkStyleContextPrintFlags = 1;
1252pub const GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE: GtkStyleContextPrintFlags = 2;
1253
1254pub type GtkTargetFlags = c_uint;
1255pub const GTK_TARGET_SAME_APP: GtkTargetFlags = 1;
1256pub const GTK_TARGET_SAME_WIDGET: GtkTargetFlags = 2;
1257pub const GTK_TARGET_OTHER_APP: GtkTargetFlags = 4;
1258pub const GTK_TARGET_OTHER_WIDGET: GtkTargetFlags = 8;
1259
1260pub type GtkTextSearchFlags = c_uint;
1261pub const GTK_TEXT_SEARCH_VISIBLE_ONLY: GtkTextSearchFlags = 1;
1262pub const GTK_TEXT_SEARCH_TEXT_ONLY: GtkTextSearchFlags = 2;
1263pub const GTK_TEXT_SEARCH_CASE_INSENSITIVE: GtkTextSearchFlags = 4;
1264
1265pub type GtkToolPaletteDragTargets = c_uint;
1266pub const GTK_TOOL_PALETTE_DRAG_ITEMS: GtkToolPaletteDragTargets = 1;
1267pub const GTK_TOOL_PALETTE_DRAG_GROUPS: GtkToolPaletteDragTargets = 2;
1268
1269pub type GtkTreeModelFlags = c_uint;
1270pub const GTK_TREE_MODEL_ITERS_PERSIST: GtkTreeModelFlags = 1;
1271pub const GTK_TREE_MODEL_LIST_ONLY: GtkTreeModelFlags = 2;
1272
1273pub type GtkUIManagerItemType = c_uint;
1274pub const GTK_UI_MANAGER_AUTO: GtkUIManagerItemType = 0;
1275pub const GTK_UI_MANAGER_MENUBAR: GtkUIManagerItemType = 1;
1276pub const GTK_UI_MANAGER_MENU: GtkUIManagerItemType = 2;
1277pub const GTK_UI_MANAGER_TOOLBAR: GtkUIManagerItemType = 4;
1278pub const GTK_UI_MANAGER_PLACEHOLDER: GtkUIManagerItemType = 8;
1279pub const GTK_UI_MANAGER_POPUP: GtkUIManagerItemType = 16;
1280pub const GTK_UI_MANAGER_MENUITEM: GtkUIManagerItemType = 32;
1281pub const GTK_UI_MANAGER_TOOLITEM: GtkUIManagerItemType = 64;
1282pub const GTK_UI_MANAGER_SEPARATOR: GtkUIManagerItemType = 128;
1283pub const GTK_UI_MANAGER_ACCELERATOR: GtkUIManagerItemType = 256;
1284pub const GTK_UI_MANAGER_POPUP_WITH_ACCELS: GtkUIManagerItemType = 512;
1285
1286// Unions
1287#[repr(C)]
1288#[derive(Copy, Clone)]
1289pub union GtkBindingArg_d {
1290    pub long_data: c_long,
1291    pub double_data: c_double,
1292    pub string_data: *mut c_char,
1293}
1294
1295impl ::std::fmt::Debug for GtkBindingArg_d {
1296    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1297        f.debug_struct(&format!("GtkBindingArg_d @ {:?}", self as *const _))
1298            .field("long_data", unsafe { &self.long_data })
1299            .field("double_data", unsafe { &self.double_data })
1300            .field("string_data", unsafe { &self.string_data })
1301            .finish()
1302    }
1303}
1304
1305#[repr(C)]
1306#[derive(Copy, Clone)]
1307pub union GtkTextAppearance_u1 {
1308    pub rgba: [*mut gdk::GdkRGBA; 2],
1309    pub padding: [c_uint; 4],
1310}
1311
1312impl ::std::fmt::Debug for GtkTextAppearance_u1 {
1313    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1314        f.debug_struct(&format!("GtkTextAppearance_u1 @ {:?}", self as *const _))
1315            .field("rgba", unsafe { &self.rgba })
1316            .finish()
1317    }
1318}
1319
1320#[repr(C)]
1321#[derive(Copy, Clone)]
1322pub union GtkTextAttributes_u1 {
1323    pub font_features: *mut c_char,
1324    pub padding: [c_uint; 2],
1325}
1326
1327impl ::std::fmt::Debug for GtkTextAttributes_u1 {
1328    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1329        f.debug_struct(&format!("GtkTextAttributes_u1 @ {:?}", self as *const _))
1330            .field("font_features", unsafe { &self.font_features })
1331            .finish()
1332    }
1333}
1334
1335// Callbacks
1336pub type GtkAccelGroupActivate = Option<
1337    unsafe extern "C" fn(
1338        *mut GtkAccelGroup,
1339        *mut gobject::GObject,
1340        c_uint,
1341        gdk::GdkModifierType,
1342    ) -> gboolean,
1343>;
1344pub type GtkAccelGroupFindFunc =
1345    Option<unsafe extern "C" fn(*mut GtkAccelKey, *mut gobject::GClosure, gpointer) -> gboolean>;
1346pub type GtkAccelMapForeach =
1347    Option<unsafe extern "C" fn(gpointer, *const c_char, c_uint, gdk::GdkModifierType, gboolean)>;
1348pub type GtkAssistantPageFunc = Option<unsafe extern "C" fn(c_int, gpointer) -> c_int>;
1349pub type GtkBuilderConnectFunc = Option<
1350    unsafe extern "C" fn(
1351        *mut GtkBuilder,
1352        *mut gobject::GObject,
1353        *const c_char,
1354        *const c_char,
1355        *mut gobject::GObject,
1356        gobject::GConnectFlags,
1357        gpointer,
1358    ),
1359>;
1360pub type GtkCalendarDetailFunc =
1361    Option<unsafe extern "C" fn(*mut GtkCalendar, c_uint, c_uint, c_uint, gpointer) -> *mut c_char>;
1362pub type GtkCallback = Option<unsafe extern "C" fn(*mut GtkWidget, gpointer)>;
1363pub type GtkCellAllocCallback = Option<
1364    unsafe extern "C" fn(
1365        *mut GtkCellRenderer,
1366        *const gdk::GdkRectangle,
1367        *const gdk::GdkRectangle,
1368        gpointer,
1369    ) -> gboolean,
1370>;
1371pub type GtkCellCallback = Option<unsafe extern "C" fn(*mut GtkCellRenderer, gpointer) -> gboolean>;
1372pub type GtkCellLayoutDataFunc = Option<
1373    unsafe extern "C" fn(
1374        *mut GtkCellLayout,
1375        *mut GtkCellRenderer,
1376        *mut GtkTreeModel,
1377        *mut GtkTreeIter,
1378        gpointer,
1379    ),
1380>;
1381pub type GtkClipboardClearFunc = Option<unsafe extern "C" fn(*mut GtkClipboard, gpointer)>;
1382pub type GtkClipboardGetFunc =
1383    Option<unsafe extern "C" fn(*mut GtkClipboard, *mut GtkSelectionData, c_uint, gpointer)>;
1384pub type GtkClipboardImageReceivedFunc =
1385    Option<unsafe extern "C" fn(*mut GtkClipboard, *mut gdk_pixbuf::GdkPixbuf, gpointer)>;
1386pub type GtkClipboardReceivedFunc =
1387    Option<unsafe extern "C" fn(*mut GtkClipboard, *mut GtkSelectionData, gpointer)>;
1388pub type GtkClipboardRichTextReceivedFunc =
1389    Option<unsafe extern "C" fn(*mut GtkClipboard, gdk::GdkAtom, *const c_char, size_t, gpointer)>;
1390pub type GtkClipboardTargetsReceivedFunc =
1391    Option<unsafe extern "C" fn(*mut GtkClipboard, *mut gdk::GdkAtom, c_int, gpointer)>;
1392pub type GtkClipboardTextReceivedFunc =
1393    Option<unsafe extern "C" fn(*mut GtkClipboard, *const c_char, gpointer)>;
1394pub type GtkClipboardURIReceivedFunc =
1395    Option<unsafe extern "C" fn(*mut GtkClipboard, *mut *mut c_char, gpointer)>;
1396pub type GtkColorSelectionChangePaletteFunc =
1397    Option<unsafe extern "C" fn(*const gdk::GdkColor, c_int)>;
1398pub type GtkColorSelectionChangePaletteWithScreenFunc =
1399    Option<unsafe extern "C" fn(*mut gdk::GdkScreen, *const gdk::GdkColor, c_int)>;
1400pub type GtkEntryCompletionMatchFunc = Option<
1401    unsafe extern "C" fn(
1402        *mut GtkEntryCompletion,
1403        *const c_char,
1404        *mut GtkTreeIter,
1405        gpointer,
1406    ) -> gboolean,
1407>;
1408pub type GtkFileFilterFunc =
1409    Option<unsafe extern "C" fn(*const GtkFileFilterInfo, gpointer) -> gboolean>;
1410pub type GtkFlowBoxCreateWidgetFunc =
1411    Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> *mut GtkWidget>;
1412pub type GtkFlowBoxFilterFunc =
1413    Option<unsafe extern "C" fn(*mut GtkFlowBoxChild, gpointer) -> gboolean>;
1414pub type GtkFlowBoxForeachFunc =
1415    Option<unsafe extern "C" fn(*mut GtkFlowBox, *mut GtkFlowBoxChild, gpointer)>;
1416pub type GtkFlowBoxSortFunc =
1417    Option<unsafe extern "C" fn(*mut GtkFlowBoxChild, *mut GtkFlowBoxChild, gpointer) -> c_int>;
1418pub type GtkFontFilterFunc = Option<
1419    unsafe extern "C" fn(
1420        *const pango::PangoFontFamily,
1421        *const pango::PangoFontFace,
1422        gpointer,
1423    ) -> gboolean,
1424>;
1425pub type GtkIconViewForeachFunc =
1426    Option<unsafe extern "C" fn(*mut GtkIconView, *mut GtkTreePath, gpointer)>;
1427pub type GtkKeySnoopFunc =
1428    Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventKey, gpointer) -> c_int>;
1429pub type GtkListBoxCreateWidgetFunc =
1430    Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> *mut GtkWidget>;
1431pub type GtkListBoxFilterFunc =
1432    Option<unsafe extern "C" fn(*mut GtkListBoxRow, gpointer) -> gboolean>;
1433pub type GtkListBoxForeachFunc =
1434    Option<unsafe extern "C" fn(*mut GtkListBox, *mut GtkListBoxRow, gpointer)>;
1435pub type GtkListBoxSortFunc =
1436    Option<unsafe extern "C" fn(*mut GtkListBoxRow, *mut GtkListBoxRow, gpointer) -> c_int>;
1437pub type GtkListBoxUpdateHeaderFunc =
1438    Option<unsafe extern "C" fn(*mut GtkListBoxRow, *mut GtkListBoxRow, gpointer)>;
1439pub type GtkMenuDetachFunc = Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkMenu)>;
1440pub type GtkMenuPositionFunc =
1441    Option<unsafe extern "C" fn(*mut GtkMenu, *mut c_int, *mut c_int, *mut gboolean, gpointer)>;
1442pub type GtkModuleDisplayInitFunc = Option<unsafe extern "C" fn(*mut gdk::GdkDisplay)>;
1443pub type GtkModuleInitFunc = Option<unsafe extern "C" fn(*mut c_int, *mut *mut *mut c_char)>;
1444pub type GtkPageSetupDoneFunc = Option<unsafe extern "C" fn(*mut GtkPageSetup, gpointer)>;
1445pub type GtkPrintSettingsFunc =
1446    Option<unsafe extern "C" fn(*const c_char, *const c_char, gpointer)>;
1447pub type GtkRcPropertyParser = Option<
1448    unsafe extern "C" fn(
1449        *const gobject::GParamSpec,
1450        *const glib::GString,
1451        *mut gobject::GValue,
1452    ) -> gboolean,
1453>;
1454pub type GtkRecentFilterFunc =
1455    Option<unsafe extern "C" fn(*const GtkRecentFilterInfo, gpointer) -> gboolean>;
1456pub type GtkRecentSortFunc =
1457    Option<unsafe extern "C" fn(*mut GtkRecentInfo, *mut GtkRecentInfo, gpointer) -> c_int>;
1458pub type GtkStylePropertyParser = Option<
1459    unsafe extern "C" fn(*const c_char, *mut gobject::GValue, *mut *mut glib::GError) -> gboolean,
1460>;
1461pub type GtkTextBufferDeserializeFunc = Option<
1462    unsafe extern "C" fn(
1463        *mut GtkTextBuffer,
1464        *mut GtkTextBuffer,
1465        *mut GtkTextIter,
1466        *const u8,
1467        size_t,
1468        gboolean,
1469        gpointer,
1470        *mut *mut glib::GError,
1471    ) -> gboolean,
1472>;
1473pub type GtkTextBufferSerializeFunc = Option<
1474    unsafe extern "C" fn(
1475        *mut GtkTextBuffer,
1476        *mut GtkTextBuffer,
1477        *const GtkTextIter,
1478        *const GtkTextIter,
1479        *mut size_t,
1480        gpointer,
1481    ) -> *mut u8,
1482>;
1483pub type GtkTextCharPredicate = Option<unsafe extern "C" fn(u32, gpointer) -> gboolean>;
1484pub type GtkTextTagTableForeach = Option<unsafe extern "C" fn(*mut GtkTextTag, gpointer)>;
1485pub type GtkTickCallback =
1486    Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkFrameClock, gpointer) -> gboolean>;
1487pub type GtkTranslateFunc = Option<unsafe extern "C" fn(*const c_char, gpointer) -> *mut c_char>;
1488pub type GtkTreeCellDataFunc = Option<
1489    unsafe extern "C" fn(
1490        *mut GtkTreeViewColumn,
1491        *mut GtkCellRenderer,
1492        *mut GtkTreeModel,
1493        *mut GtkTreeIter,
1494        gpointer,
1495    ),
1496>;
1497pub type GtkTreeDestroyCountFunc =
1498    Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreePath, c_int, gpointer)>;
1499pub type GtkTreeIterCompareFunc = Option<
1500    unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, *mut GtkTreeIter, gpointer) -> c_int,
1501>;
1502pub type GtkTreeModelFilterModifyFunc = Option<
1503    unsafe extern "C" fn(
1504        *mut GtkTreeModel,
1505        *mut GtkTreeIter,
1506        *mut gobject::GValue,
1507        c_int,
1508        gpointer,
1509    ),
1510>;
1511pub type GtkTreeModelFilterVisibleFunc =
1512    Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, gpointer) -> gboolean>;
1513pub type GtkTreeModelForeachFunc = Option<
1514    unsafe extern "C" fn(
1515        *mut GtkTreeModel,
1516        *mut GtkTreePath,
1517        *mut GtkTreeIter,
1518        gpointer,
1519    ) -> gboolean,
1520>;
1521pub type GtkTreeSelectionForeachFunc =
1522    Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath, *mut GtkTreeIter, gpointer)>;
1523pub type GtkTreeSelectionFunc = Option<
1524    unsafe extern "C" fn(
1525        *mut GtkTreeSelection,
1526        *mut GtkTreeModel,
1527        *mut GtkTreePath,
1528        gboolean,
1529        gpointer,
1530    ) -> gboolean,
1531>;
1532pub type GtkTreeViewColumnDropFunc = Option<
1533    unsafe extern "C" fn(
1534        *mut GtkTreeView,
1535        *mut GtkTreeViewColumn,
1536        *mut GtkTreeViewColumn,
1537        *mut GtkTreeViewColumn,
1538        gpointer,
1539    ) -> gboolean,
1540>;
1541pub type GtkTreeViewMappingFunc =
1542    Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreePath, gpointer)>;
1543pub type GtkTreeViewRowSeparatorFunc =
1544    Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, gpointer) -> gboolean>;
1545pub type GtkTreeViewSearchEqualFunc = Option<
1546    unsafe extern "C" fn(
1547        *mut GtkTreeModel,
1548        c_int,
1549        *const c_char,
1550        *mut GtkTreeIter,
1551        gpointer,
1552    ) -> gboolean,
1553>;
1554pub type GtkTreeViewSearchPositionFunc =
1555    Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkWidget, gpointer)>;
1556
1557// Records
1558#[repr(C)]
1559#[derive(Copy, Clone)]
1560pub struct GtkAboutDialogClass {
1561    pub parent_class: GtkDialogClass,
1562    pub activate_link: Option<unsafe extern "C" fn(*mut GtkAboutDialog, *const c_char) -> gboolean>,
1563    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
1564    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
1565    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
1566    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
1567}
1568
1569impl ::std::fmt::Debug for GtkAboutDialogClass {
1570    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1571        f.debug_struct(&format!("GtkAboutDialogClass @ {:?}", self as *const _))
1572            .field("parent_class", &self.parent_class)
1573            .field("activate_link", &self.activate_link)
1574            .field("_gtk_reserved1", &self._gtk_reserved1)
1575            .field("_gtk_reserved2", &self._gtk_reserved2)
1576            .field("_gtk_reserved3", &self._gtk_reserved3)
1577            .field("_gtk_reserved4", &self._gtk_reserved4)
1578            .finish()
1579    }
1580}
1581
1582#[repr(C)]
1583pub struct _GtkAboutDialogPrivate(c_void);
1584
1585pub type GtkAboutDialogPrivate = *mut _GtkAboutDialogPrivate;
1586
1587#[repr(C)]
1588#[derive(Copy, Clone)]
1589pub struct GtkAccelGroupClass {
1590    pub parent_class: gobject::GObjectClass,
1591    pub accel_changed: Option<
1592        unsafe extern "C" fn(
1593            *mut GtkAccelGroup,
1594            c_uint,
1595            gdk::GdkModifierType,
1596            *mut gobject::GClosure,
1597        ),
1598    >,
1599    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
1600    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
1601    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
1602    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
1603}
1604
1605impl ::std::fmt::Debug for GtkAccelGroupClass {
1606    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1607        f.debug_struct(&format!("GtkAccelGroupClass @ {:?}", self as *const _))
1608            .field("parent_class", &self.parent_class)
1609            .field("accel_changed", &self.accel_changed)
1610            .field("_gtk_reserved1", &self._gtk_reserved1)
1611            .field("_gtk_reserved2", &self._gtk_reserved2)
1612            .field("_gtk_reserved3", &self._gtk_reserved3)
1613            .field("_gtk_reserved4", &self._gtk_reserved4)
1614            .finish()
1615    }
1616}
1617
1618#[repr(C)]
1619#[derive(Copy, Clone)]
1620pub struct GtkAccelGroupEntry {
1621    pub key: GtkAccelKey,
1622    pub closure: *mut gobject::GClosure,
1623    pub accel_path_quark: glib::GQuark,
1624}
1625
1626impl ::std::fmt::Debug for GtkAccelGroupEntry {
1627    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1628        f.debug_struct(&format!("GtkAccelGroupEntry @ {:?}", self as *const _))
1629            .field("key", &self.key)
1630            .field("closure", &self.closure)
1631            .field("accel_path_quark", &self.accel_path_quark)
1632            .finish()
1633    }
1634}
1635
1636#[repr(C)]
1637pub struct _GtkAccelGroupPrivate(c_void);
1638
1639pub type GtkAccelGroupPrivate = *mut _GtkAccelGroupPrivate;
1640
1641#[repr(C)]
1642#[derive(Copy, Clone)]
1643pub struct GtkAccelKey {
1644    pub accel_key: c_uint,
1645    pub accel_mods: gdk::GdkModifierType,
1646    pub accel_flags: c_uint,
1647}
1648
1649impl ::std::fmt::Debug for GtkAccelKey {
1650    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1651        f.debug_struct(&format!("GtkAccelKey @ {:?}", self as *const _))
1652            .field("accel_key", &self.accel_key)
1653            .field("accel_mods", &self.accel_mods)
1654            .field("accel_flags", &self.accel_flags)
1655            .finish()
1656    }
1657}
1658
1659#[repr(C)]
1660#[derive(Copy, Clone)]
1661pub struct GtkAccelLabelClass {
1662    pub parent_class: GtkLabelClass,
1663    pub signal_quote1: *mut c_char,
1664    pub signal_quote2: *mut c_char,
1665    pub mod_name_shift: *mut c_char,
1666    pub mod_name_control: *mut c_char,
1667    pub mod_name_alt: *mut c_char,
1668    pub mod_separator: *mut c_char,
1669    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
1670    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
1671    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
1672    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
1673}
1674
1675impl ::std::fmt::Debug for GtkAccelLabelClass {
1676    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1677        f.debug_struct(&format!("GtkAccelLabelClass @ {:?}", self as *const _))
1678            .field("parent_class", &self.parent_class)
1679            .field("signal_quote1", &self.signal_quote1)
1680            .field("signal_quote2", &self.signal_quote2)
1681            .field("mod_name_shift", &self.mod_name_shift)
1682            .field("mod_name_control", &self.mod_name_control)
1683            .field("mod_name_alt", &self.mod_name_alt)
1684            .field("mod_separator", &self.mod_separator)
1685            .field("_gtk_reserved1", &self._gtk_reserved1)
1686            .field("_gtk_reserved2", &self._gtk_reserved2)
1687            .field("_gtk_reserved3", &self._gtk_reserved3)
1688            .field("_gtk_reserved4", &self._gtk_reserved4)
1689            .finish()
1690    }
1691}
1692
1693#[repr(C)]
1694pub struct _GtkAccelLabelPrivate(c_void);
1695
1696pub type GtkAccelLabelPrivate = *mut _GtkAccelLabelPrivate;
1697
1698#[repr(C)]
1699pub struct _GtkAccelMapClass(c_void);
1700
1701pub type GtkAccelMapClass = *mut _GtkAccelMapClass;
1702
1703#[repr(C)]
1704#[derive(Copy, Clone)]
1705pub struct GtkAccessibleClass {
1706    pub parent_class: atk::AtkObjectClass,
1707    pub connect_widget_destroyed: Option<unsafe extern "C" fn(*mut GtkAccessible)>,
1708    pub widget_set: Option<unsafe extern "C" fn(*mut GtkAccessible)>,
1709    pub widget_unset: Option<unsafe extern "C" fn(*mut GtkAccessible)>,
1710    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
1711    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
1712}
1713
1714impl ::std::fmt::Debug for GtkAccessibleClass {
1715    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1716        f.debug_struct(&format!("GtkAccessibleClass @ {:?}", self as *const _))
1717            .field("parent_class", &self.parent_class)
1718            .field("connect_widget_destroyed", &self.connect_widget_destroyed)
1719            .field("widget_set", &self.widget_set)
1720            .field("widget_unset", &self.widget_unset)
1721            .field("_gtk_reserved3", &self._gtk_reserved3)
1722            .field("_gtk_reserved4", &self._gtk_reserved4)
1723            .finish()
1724    }
1725}
1726
1727#[repr(C)]
1728pub struct _GtkAccessiblePrivate(c_void);
1729
1730pub type GtkAccessiblePrivate = *mut _GtkAccessiblePrivate;
1731
1732#[repr(C)]
1733#[derive(Copy, Clone)]
1734pub struct GtkActionBarClass {
1735    pub parent_class: GtkBinClass,
1736    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
1737    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
1738    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
1739    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
1740}
1741
1742impl ::std::fmt::Debug for GtkActionBarClass {
1743    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1744        f.debug_struct(&format!("GtkActionBarClass @ {:?}", self as *const _))
1745            .field("_gtk_reserved1", &self._gtk_reserved1)
1746            .field("_gtk_reserved2", &self._gtk_reserved2)
1747            .field("_gtk_reserved3", &self._gtk_reserved3)
1748            .field("_gtk_reserved4", &self._gtk_reserved4)
1749            .finish()
1750    }
1751}
1752
1753#[repr(C)]
1754pub struct _GtkActionBarPrivate(c_void);
1755
1756pub type GtkActionBarPrivate = *mut _GtkActionBarPrivate;
1757
1758#[repr(C)]
1759#[derive(Copy, Clone)]
1760pub struct GtkActionClass {
1761    pub parent_class: gobject::GObjectClass,
1762    pub activate: Option<unsafe extern "C" fn(*mut GtkAction)>,
1763    pub menu_item_type: GType,
1764    pub toolbar_item_type: GType,
1765    pub create_menu_item: Option<unsafe extern "C" fn(*mut GtkAction) -> *mut GtkWidget>,
1766    pub create_tool_item: Option<unsafe extern "C" fn(*mut GtkAction) -> *mut GtkWidget>,
1767    pub connect_proxy: Option<unsafe extern "C" fn(*mut GtkAction, *mut GtkWidget)>,
1768    pub disconnect_proxy: Option<unsafe extern "C" fn(*mut GtkAction, *mut GtkWidget)>,
1769    pub create_menu: Option<unsafe extern "C" fn(*mut GtkAction) -> *mut GtkWidget>,
1770    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
1771    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
1772    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
1773    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
1774}
1775
1776impl ::std::fmt::Debug for GtkActionClass {
1777    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1778        f.debug_struct(&format!("GtkActionClass @ {:?}", self as *const _))
1779            .field("parent_class", &self.parent_class)
1780            .field("activate", &self.activate)
1781            .field("create_menu_item", &self.create_menu_item)
1782            .field("create_tool_item", &self.create_tool_item)
1783            .field("connect_proxy", &self.connect_proxy)
1784            .field("disconnect_proxy", &self.disconnect_proxy)
1785            .field("create_menu", &self.create_menu)
1786            .field("_gtk_reserved1", &self._gtk_reserved1)
1787            .field("_gtk_reserved2", &self._gtk_reserved2)
1788            .field("_gtk_reserved3", &self._gtk_reserved3)
1789            .field("_gtk_reserved4", &self._gtk_reserved4)
1790            .finish()
1791    }
1792}
1793
1794#[repr(C)]
1795#[derive(Copy, Clone)]
1796pub struct GtkActionEntry {
1797    pub name: *const c_char,
1798    pub stock_id: *const c_char,
1799    pub label: *const c_char,
1800    pub accelerator: *const c_char,
1801    pub tooltip: *const c_char,
1802    pub callback: gobject::GCallback,
1803}
1804
1805impl ::std::fmt::Debug for GtkActionEntry {
1806    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1807        f.debug_struct(&format!("GtkActionEntry @ {:?}", self as *const _))
1808            .field("name", &self.name)
1809            .field("stock_id", &self.stock_id)
1810            .field("label", &self.label)
1811            .field("accelerator", &self.accelerator)
1812            .field("tooltip", &self.tooltip)
1813            .field("callback", &self.callback)
1814            .finish()
1815    }
1816}
1817
1818#[repr(C)]
1819#[derive(Copy, Clone)]
1820pub struct GtkActionGroupClass {
1821    pub parent_class: gobject::GObjectClass,
1822    pub get_action:
1823        Option<unsafe extern "C" fn(*mut GtkActionGroup, *const c_char) -> *mut GtkAction>,
1824    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
1825    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
1826    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
1827    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
1828}
1829
1830impl ::std::fmt::Debug for GtkActionGroupClass {
1831    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1832        f.debug_struct(&format!("GtkActionGroupClass @ {:?}", self as *const _))
1833            .field("parent_class", &self.parent_class)
1834            .field("get_action", &self.get_action)
1835            .field("_gtk_reserved1", &self._gtk_reserved1)
1836            .field("_gtk_reserved2", &self._gtk_reserved2)
1837            .field("_gtk_reserved3", &self._gtk_reserved3)
1838            .field("_gtk_reserved4", &self._gtk_reserved4)
1839            .finish()
1840    }
1841}
1842
1843#[repr(C)]
1844pub struct _GtkActionGroupPrivate(c_void);
1845
1846pub type GtkActionGroupPrivate = *mut _GtkActionGroupPrivate;
1847
1848#[repr(C)]
1849pub struct _GtkActionPrivate(c_void);
1850
1851pub type GtkActionPrivate = *mut _GtkActionPrivate;
1852
1853#[repr(C)]
1854#[derive(Copy, Clone)]
1855pub struct GtkActionableInterface {
1856    pub g_iface: gobject::GTypeInterface,
1857    pub get_action_name: Option<unsafe extern "C" fn(*mut GtkActionable) -> *const c_char>,
1858    pub set_action_name: Option<unsafe extern "C" fn(*mut GtkActionable, *const c_char)>,
1859    pub get_action_target_value:
1860        Option<unsafe extern "C" fn(*mut GtkActionable) -> *mut glib::GVariant>,
1861    pub set_action_target_value:
1862        Option<unsafe extern "C" fn(*mut GtkActionable, *mut glib::GVariant)>,
1863}
1864
1865impl ::std::fmt::Debug for GtkActionableInterface {
1866    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1867        f.debug_struct(&format!("GtkActionableInterface @ {:?}", self as *const _))
1868            .field("get_action_name", &self.get_action_name)
1869            .field("set_action_name", &self.set_action_name)
1870            .field("get_action_target_value", &self.get_action_target_value)
1871            .field("set_action_target_value", &self.set_action_target_value)
1872            .finish()
1873    }
1874}
1875
1876#[repr(C)]
1877#[derive(Copy, Clone)]
1878pub struct GtkActivatableIface {
1879    pub g_iface: gobject::GTypeInterface,
1880    pub update: Option<unsafe extern "C" fn(*mut GtkActivatable, *mut GtkAction, *const c_char)>,
1881    pub sync_action_properties: Option<unsafe extern "C" fn(*mut GtkActivatable, *mut GtkAction)>,
1882}
1883
1884impl ::std::fmt::Debug for GtkActivatableIface {
1885    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1886        f.debug_struct(&format!("GtkActivatableIface @ {:?}", self as *const _))
1887            .field("update", &self.update)
1888            .field("sync_action_properties", &self.sync_action_properties)
1889            .finish()
1890    }
1891}
1892
1893#[repr(C)]
1894#[derive(Copy, Clone)]
1895pub struct GtkAdjustmentClass {
1896    pub parent_class: gobject::GInitiallyUnownedClass,
1897    pub changed: Option<unsafe extern "C" fn(*mut GtkAdjustment)>,
1898    pub value_changed: Option<unsafe extern "C" fn(*mut GtkAdjustment)>,
1899    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
1900    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
1901    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
1902    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
1903}
1904
1905impl ::std::fmt::Debug for GtkAdjustmentClass {
1906    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1907        f.debug_struct(&format!("GtkAdjustmentClass @ {:?}", self as *const _))
1908            .field("parent_class", &self.parent_class)
1909            .field("changed", &self.changed)
1910            .field("value_changed", &self.value_changed)
1911            .field("_gtk_reserved1", &self._gtk_reserved1)
1912            .field("_gtk_reserved2", &self._gtk_reserved2)
1913            .field("_gtk_reserved3", &self._gtk_reserved3)
1914            .field("_gtk_reserved4", &self._gtk_reserved4)
1915            .finish()
1916    }
1917}
1918
1919#[repr(C)]
1920pub struct _GtkAdjustmentPrivate(c_void);
1921
1922pub type GtkAdjustmentPrivate = *mut _GtkAdjustmentPrivate;
1923
1924#[repr(C)]
1925#[derive(Copy, Clone)]
1926pub struct GtkAlignmentClass {
1927    pub parent_class: GtkBinClass,
1928    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
1929    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
1930    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
1931    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
1932}
1933
1934impl ::std::fmt::Debug for GtkAlignmentClass {
1935    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1936        f.debug_struct(&format!("GtkAlignmentClass @ {:?}", self as *const _))
1937            .field("parent_class", &self.parent_class)
1938            .field("_gtk_reserved1", &self._gtk_reserved1)
1939            .field("_gtk_reserved2", &self._gtk_reserved2)
1940            .field("_gtk_reserved3", &self._gtk_reserved3)
1941            .field("_gtk_reserved4", &self._gtk_reserved4)
1942            .finish()
1943    }
1944}
1945
1946#[repr(C)]
1947pub struct _GtkAlignmentPrivate(c_void);
1948
1949pub type GtkAlignmentPrivate = *mut _GtkAlignmentPrivate;
1950
1951#[repr(C)]
1952#[derive(Copy, Clone)]
1953pub struct GtkAppChooserButtonClass {
1954    pub parent_class: GtkComboBoxClass,
1955    pub custom_item_activated:
1956        Option<unsafe extern "C" fn(*mut GtkAppChooserButton, *const c_char)>,
1957    pub padding: [gpointer; 16],
1958}
1959
1960impl ::std::fmt::Debug for GtkAppChooserButtonClass {
1961    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1962        f.debug_struct(&format!(
1963            "GtkAppChooserButtonClass @ {:?}",
1964            self as *const _
1965        ))
1966        .field("parent_class", &self.parent_class)
1967        .field("custom_item_activated", &self.custom_item_activated)
1968        .finish()
1969    }
1970}
1971
1972#[repr(C)]
1973pub struct _GtkAppChooserButtonPrivate(c_void);
1974
1975pub type GtkAppChooserButtonPrivate = *mut _GtkAppChooserButtonPrivate;
1976
1977#[repr(C)]
1978#[derive(Copy, Clone)]
1979pub struct GtkAppChooserDialogClass {
1980    pub parent_class: GtkDialogClass,
1981    pub padding: [gpointer; 16],
1982}
1983
1984impl ::std::fmt::Debug for GtkAppChooserDialogClass {
1985    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1986        f.debug_struct(&format!(
1987            "GtkAppChooserDialogClass @ {:?}",
1988            self as *const _
1989        ))
1990        .field("parent_class", &self.parent_class)
1991        .finish()
1992    }
1993}
1994
1995#[repr(C)]
1996pub struct _GtkAppChooserDialogPrivate(c_void);
1997
1998pub type GtkAppChooserDialogPrivate = *mut _GtkAppChooserDialogPrivate;
1999
2000#[repr(C)]
2001#[derive(Copy, Clone)]
2002pub struct GtkAppChooserWidgetClass {
2003    pub parent_class: GtkBoxClass,
2004    pub application_selected:
2005        Option<unsafe extern "C" fn(*mut GtkAppChooserWidget, *mut gio::GAppInfo)>,
2006    pub application_activated:
2007        Option<unsafe extern "C" fn(*mut GtkAppChooserWidget, *mut gio::GAppInfo)>,
2008    pub populate_popup:
2009        Option<unsafe extern "C" fn(*mut GtkAppChooserWidget, *mut GtkMenu, *mut gio::GAppInfo)>,
2010    pub padding: [gpointer; 16],
2011}
2012
2013impl ::std::fmt::Debug for GtkAppChooserWidgetClass {
2014    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2015        f.debug_struct(&format!(
2016            "GtkAppChooserWidgetClass @ {:?}",
2017            self as *const _
2018        ))
2019        .field("parent_class", &self.parent_class)
2020        .field("application_selected", &self.application_selected)
2021        .field("application_activated", &self.application_activated)
2022        .field("populate_popup", &self.populate_popup)
2023        .finish()
2024    }
2025}
2026
2027#[repr(C)]
2028pub struct _GtkAppChooserWidgetPrivate(c_void);
2029
2030pub type GtkAppChooserWidgetPrivate = *mut _GtkAppChooserWidgetPrivate;
2031
2032#[repr(C)]
2033#[derive(Copy, Clone)]
2034pub struct GtkApplicationClass {
2035    pub parent_class: gio::GApplicationClass,
2036    pub window_added: Option<unsafe extern "C" fn(*mut GtkApplication, *mut GtkWindow)>,
2037    pub window_removed: Option<unsafe extern "C" fn(*mut GtkApplication, *mut GtkWindow)>,
2038    pub padding: [gpointer; 12],
2039}
2040
2041impl ::std::fmt::Debug for GtkApplicationClass {
2042    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2043        f.debug_struct(&format!("GtkApplicationClass @ {:?}", self as *const _))
2044            .field("parent_class", &self.parent_class)
2045            .field("window_added", &self.window_added)
2046            .field("window_removed", &self.window_removed)
2047            .finish()
2048    }
2049}
2050
2051#[repr(C)]
2052pub struct _GtkApplicationPrivate(c_void);
2053
2054pub type GtkApplicationPrivate = *mut _GtkApplicationPrivate;
2055
2056#[repr(C)]
2057#[derive(Copy, Clone)]
2058pub struct GtkApplicationWindowClass {
2059    pub parent_class: GtkWindowClass,
2060    pub padding: [gpointer; 14],
2061}
2062
2063impl ::std::fmt::Debug for GtkApplicationWindowClass {
2064    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2065        f.debug_struct(&format!(
2066            "GtkApplicationWindowClass @ {:?}",
2067            self as *const _
2068        ))
2069        .field("parent_class", &self.parent_class)
2070        .finish()
2071    }
2072}
2073
2074#[repr(C)]
2075pub struct _GtkApplicationWindowPrivate(c_void);
2076
2077pub type GtkApplicationWindowPrivate = *mut _GtkApplicationWindowPrivate;
2078
2079#[repr(C)]
2080#[derive(Copy, Clone)]
2081pub struct GtkArrowAccessibleClass {
2082    pub parent_class: GtkWidgetAccessibleClass,
2083}
2084
2085impl ::std::fmt::Debug for GtkArrowAccessibleClass {
2086    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2087        f.debug_struct(&format!("GtkArrowAccessibleClass @ {:?}", self as *const _))
2088            .field("parent_class", &self.parent_class)
2089            .finish()
2090    }
2091}
2092
2093#[repr(C)]
2094pub struct _GtkArrowAccessiblePrivate(c_void);
2095
2096pub type GtkArrowAccessiblePrivate = *mut _GtkArrowAccessiblePrivate;
2097
2098#[repr(C)]
2099#[derive(Copy, Clone)]
2100pub struct GtkArrowClass {
2101    pub parent_class: GtkMiscClass,
2102    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2103    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2104    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2105    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2106}
2107
2108impl ::std::fmt::Debug for GtkArrowClass {
2109    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2110        f.debug_struct(&format!("GtkArrowClass @ {:?}", self as *const _))
2111            .field("parent_class", &self.parent_class)
2112            .field("_gtk_reserved1", &self._gtk_reserved1)
2113            .field("_gtk_reserved2", &self._gtk_reserved2)
2114            .field("_gtk_reserved3", &self._gtk_reserved3)
2115            .field("_gtk_reserved4", &self._gtk_reserved4)
2116            .finish()
2117    }
2118}
2119
2120#[repr(C)]
2121pub struct _GtkArrowPrivate(c_void);
2122
2123pub type GtkArrowPrivate = *mut _GtkArrowPrivate;
2124
2125#[repr(C)]
2126#[derive(Copy, Clone)]
2127pub struct GtkAspectFrameClass {
2128    pub parent_class: GtkFrameClass,
2129    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2130    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2131    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2132    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2133}
2134
2135impl ::std::fmt::Debug for GtkAspectFrameClass {
2136    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2137        f.debug_struct(&format!("GtkAspectFrameClass @ {:?}", self as *const _))
2138            .field("parent_class", &self.parent_class)
2139            .field("_gtk_reserved1", &self._gtk_reserved1)
2140            .field("_gtk_reserved2", &self._gtk_reserved2)
2141            .field("_gtk_reserved3", &self._gtk_reserved3)
2142            .field("_gtk_reserved4", &self._gtk_reserved4)
2143            .finish()
2144    }
2145}
2146
2147#[repr(C)]
2148pub struct _GtkAspectFramePrivate(c_void);
2149
2150pub type GtkAspectFramePrivate = *mut _GtkAspectFramePrivate;
2151
2152#[repr(C)]
2153#[derive(Copy, Clone)]
2154pub struct GtkAssistantClass {
2155    pub parent_class: GtkWindowClass,
2156    pub prepare: Option<unsafe extern "C" fn(*mut GtkAssistant, *mut GtkWidget)>,
2157    pub apply: Option<unsafe extern "C" fn(*mut GtkAssistant)>,
2158    pub close: Option<unsafe extern "C" fn(*mut GtkAssistant)>,
2159    pub cancel: Option<unsafe extern "C" fn(*mut GtkAssistant)>,
2160    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2161    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2162    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2163    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2164    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
2165}
2166
2167impl ::std::fmt::Debug for GtkAssistantClass {
2168    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2169        f.debug_struct(&format!("GtkAssistantClass @ {:?}", self as *const _))
2170            .field("parent_class", &self.parent_class)
2171            .field("prepare", &self.prepare)
2172            .field("apply", &self.apply)
2173            .field("close", &self.close)
2174            .field("cancel", &self.cancel)
2175            .field("_gtk_reserved1", &self._gtk_reserved1)
2176            .field("_gtk_reserved2", &self._gtk_reserved2)
2177            .field("_gtk_reserved3", &self._gtk_reserved3)
2178            .field("_gtk_reserved4", &self._gtk_reserved4)
2179            .field("_gtk_reserved5", &self._gtk_reserved5)
2180            .finish()
2181    }
2182}
2183
2184#[repr(C)]
2185pub struct _GtkAssistantPrivate(c_void);
2186
2187pub type GtkAssistantPrivate = *mut _GtkAssistantPrivate;
2188
2189#[repr(C)]
2190#[derive(Copy, Clone)]
2191pub struct GtkBinClass {
2192    pub parent_class: GtkContainerClass,
2193    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2194    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2195    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2196    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2197}
2198
2199impl ::std::fmt::Debug for GtkBinClass {
2200    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2201        f.debug_struct(&format!("GtkBinClass @ {:?}", self as *const _))
2202            .field("parent_class", &self.parent_class)
2203            .field("_gtk_reserved1", &self._gtk_reserved1)
2204            .field("_gtk_reserved2", &self._gtk_reserved2)
2205            .field("_gtk_reserved3", &self._gtk_reserved3)
2206            .field("_gtk_reserved4", &self._gtk_reserved4)
2207            .finish()
2208    }
2209}
2210
2211#[repr(C)]
2212pub struct _GtkBinPrivate(c_void);
2213
2214pub type GtkBinPrivate = *mut _GtkBinPrivate;
2215
2216#[repr(C)]
2217#[derive(Copy, Clone)]
2218pub struct GtkBindingArg {
2219    pub arg_type: GType,
2220    pub d: GtkBindingArg_d,
2221}
2222
2223impl ::std::fmt::Debug for GtkBindingArg {
2224    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2225        f.debug_struct(&format!("GtkBindingArg @ {:?}", self as *const _))
2226            .field("arg_type", &self.arg_type)
2227            .field("d", &self.d)
2228            .finish()
2229    }
2230}
2231
2232#[repr(C)]
2233pub struct GtkBindingEntry {
2234    pub keyval: c_uint,
2235    pub modifiers: gdk::GdkModifierType,
2236    pub binding_set: *mut GtkBindingSet,
2237    pub destroyed: c_uint,
2238    _truncated_record_marker: c_void,
2239    // field in_emission has incomplete type
2240}
2241
2242impl ::std::fmt::Debug for GtkBindingEntry {
2243    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2244        f.debug_struct(&format!("GtkBindingEntry @ {:?}", self as *const _))
2245            .field("keyval", &self.keyval)
2246            .field("modifiers", &self.modifiers)
2247            .field("binding_set", &self.binding_set)
2248            .field("destroyed", &self.destroyed)
2249            .finish()
2250    }
2251}
2252
2253#[repr(C)]
2254#[derive(Copy, Clone)]
2255pub struct GtkBindingSet {
2256    pub set_name: *mut c_char,
2257    pub priority: c_int,
2258    pub widget_path_pspecs: *mut glib::GSList,
2259    pub widget_class_pspecs: *mut glib::GSList,
2260    pub class_branch_pspecs: *mut glib::GSList,
2261    pub entries: *mut GtkBindingEntry,
2262    pub current: *mut GtkBindingEntry,
2263    pub parsed: c_uint,
2264}
2265
2266impl ::std::fmt::Debug for GtkBindingSet {
2267    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2268        f.debug_struct(&format!("GtkBindingSet @ {:?}", self as *const _))
2269            .field("set_name", &self.set_name)
2270            .field("priority", &self.priority)
2271            .field("widget_path_pspecs", &self.widget_path_pspecs)
2272            .field("widget_class_pspecs", &self.widget_class_pspecs)
2273            .field("class_branch_pspecs", &self.class_branch_pspecs)
2274            .field("entries", &self.entries)
2275            .field("current", &self.current)
2276            .field("parsed", &self.parsed)
2277            .finish()
2278    }
2279}
2280
2281#[repr(C)]
2282#[derive(Copy, Clone)]
2283pub struct GtkBindingSignal {
2284    pub next: *mut GtkBindingSignal,
2285    pub signal_name: *mut c_char,
2286    pub n_args: c_uint,
2287    pub args: *mut GtkBindingArg,
2288}
2289
2290impl ::std::fmt::Debug for GtkBindingSignal {
2291    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2292        f.debug_struct(&format!("GtkBindingSignal @ {:?}", self as *const _))
2293            .field("next", &self.next)
2294            .field("signal_name", &self.signal_name)
2295            .field("n_args", &self.n_args)
2296            .field("args", &self.args)
2297            .finish()
2298    }
2299}
2300
2301#[repr(C)]
2302#[derive(Copy, Clone)]
2303pub struct GtkBooleanCellAccessibleClass {
2304    pub parent_class: GtkRendererCellAccessibleClass,
2305}
2306
2307impl ::std::fmt::Debug for GtkBooleanCellAccessibleClass {
2308    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2309        f.debug_struct(&format!(
2310            "GtkBooleanCellAccessibleClass @ {:?}",
2311            self as *const _
2312        ))
2313        .field("parent_class", &self.parent_class)
2314        .finish()
2315    }
2316}
2317
2318#[repr(C)]
2319pub struct _GtkBooleanCellAccessiblePrivate(c_void);
2320
2321pub type GtkBooleanCellAccessiblePrivate = *mut _GtkBooleanCellAccessiblePrivate;
2322
2323#[repr(C)]
2324#[derive(Copy, Clone)]
2325pub struct GtkBorder {
2326    pub left: i16,
2327    pub right: i16,
2328    pub top: i16,
2329    pub bottom: i16,
2330}
2331
2332impl ::std::fmt::Debug for GtkBorder {
2333    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2334        f.debug_struct(&format!("GtkBorder @ {:?}", self as *const _))
2335            .field("left", &self.left)
2336            .field("right", &self.right)
2337            .field("top", &self.top)
2338            .field("bottom", &self.bottom)
2339            .finish()
2340    }
2341}
2342
2343#[repr(C)]
2344#[derive(Copy, Clone)]
2345pub struct GtkBoxClass {
2346    pub parent_class: GtkContainerClass,
2347    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2348    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2349    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2350    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2351}
2352
2353impl ::std::fmt::Debug for GtkBoxClass {
2354    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2355        f.debug_struct(&format!("GtkBoxClass @ {:?}", self as *const _))
2356            .field("parent_class", &self.parent_class)
2357            .field("_gtk_reserved1", &self._gtk_reserved1)
2358            .field("_gtk_reserved2", &self._gtk_reserved2)
2359            .field("_gtk_reserved3", &self._gtk_reserved3)
2360            .field("_gtk_reserved4", &self._gtk_reserved4)
2361            .finish()
2362    }
2363}
2364
2365#[repr(C)]
2366pub struct _GtkBoxPrivate(c_void);
2367
2368pub type GtkBoxPrivate = *mut _GtkBoxPrivate;
2369
2370#[repr(C)]
2371#[derive(Copy, Clone)]
2372pub struct GtkBuildableIface {
2373    pub g_iface: gobject::GTypeInterface,
2374    pub set_name: Option<unsafe extern "C" fn(*mut GtkBuildable, *const c_char)>,
2375    pub get_name: Option<unsafe extern "C" fn(*mut GtkBuildable) -> *const c_char>,
2376    pub add_child: Option<
2377        unsafe extern "C" fn(
2378            *mut GtkBuildable,
2379            *mut GtkBuilder,
2380            *mut gobject::GObject,
2381            *const c_char,
2382        ),
2383    >,
2384    pub set_buildable_property: Option<
2385        unsafe extern "C" fn(
2386            *mut GtkBuildable,
2387            *mut GtkBuilder,
2388            *const c_char,
2389            *const gobject::GValue,
2390        ),
2391    >,
2392    pub construct_child: Option<
2393        unsafe extern "C" fn(
2394            *mut GtkBuildable,
2395            *mut GtkBuilder,
2396            *const c_char,
2397        ) -> *mut gobject::GObject,
2398    >,
2399    pub custom_tag_start: Option<
2400        unsafe extern "C" fn(
2401            *mut GtkBuildable,
2402            *mut GtkBuilder,
2403            *mut gobject::GObject,
2404            *const c_char,
2405            *mut glib::GMarkupParser,
2406            *mut gpointer,
2407        ) -> gboolean,
2408    >,
2409    pub custom_tag_end: Option<
2410        unsafe extern "C" fn(
2411            *mut GtkBuildable,
2412            *mut GtkBuilder,
2413            *mut gobject::GObject,
2414            *const c_char,
2415            gpointer,
2416        ),
2417    >,
2418    pub custom_finished: Option<
2419        unsafe extern "C" fn(
2420            *mut GtkBuildable,
2421            *mut GtkBuilder,
2422            *mut gobject::GObject,
2423            *const c_char,
2424            gpointer,
2425        ),
2426    >,
2427    pub parser_finished: Option<unsafe extern "C" fn(*mut GtkBuildable, *mut GtkBuilder)>,
2428    pub get_internal_child: Option<
2429        unsafe extern "C" fn(
2430            *mut GtkBuildable,
2431            *mut GtkBuilder,
2432            *const c_char,
2433        ) -> *mut gobject::GObject,
2434    >,
2435}
2436
2437impl ::std::fmt::Debug for GtkBuildableIface {
2438    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2439        f.debug_struct(&format!("GtkBuildableIface @ {:?}", self as *const _))
2440            .field("g_iface", &self.g_iface)
2441            .field("set_name", &self.set_name)
2442            .field("get_name", &self.get_name)
2443            .field("add_child", &self.add_child)
2444            .field("set_buildable_property", &self.set_buildable_property)
2445            .field("construct_child", &self.construct_child)
2446            .field("custom_tag_start", &self.custom_tag_start)
2447            .field("custom_tag_end", &self.custom_tag_end)
2448            .field("custom_finished", &self.custom_finished)
2449            .field("parser_finished", &self.parser_finished)
2450            .field("get_internal_child", &self.get_internal_child)
2451            .finish()
2452    }
2453}
2454
2455#[repr(C)]
2456#[derive(Copy, Clone)]
2457pub struct GtkBuilderClass {
2458    pub parent_class: gobject::GObjectClass,
2459    pub get_type_from_name: Option<unsafe extern "C" fn(*mut GtkBuilder, *const c_char) -> GType>,
2460    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2461    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2462    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2463    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2464    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
2465    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
2466    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
2467    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
2468}
2469
2470impl ::std::fmt::Debug for GtkBuilderClass {
2471    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2472        f.debug_struct(&format!("GtkBuilderClass @ {:?}", self as *const _))
2473            .field("parent_class", &self.parent_class)
2474            .field("get_type_from_name", &self.get_type_from_name)
2475            .field("_gtk_reserved1", &self._gtk_reserved1)
2476            .field("_gtk_reserved2", &self._gtk_reserved2)
2477            .field("_gtk_reserved3", &self._gtk_reserved3)
2478            .field("_gtk_reserved4", &self._gtk_reserved4)
2479            .field("_gtk_reserved5", &self._gtk_reserved5)
2480            .field("_gtk_reserved6", &self._gtk_reserved6)
2481            .field("_gtk_reserved7", &self._gtk_reserved7)
2482            .field("_gtk_reserved8", &self._gtk_reserved8)
2483            .finish()
2484    }
2485}
2486
2487#[repr(C)]
2488pub struct _GtkBuilderPrivate(c_void);
2489
2490pub type GtkBuilderPrivate = *mut _GtkBuilderPrivate;
2491
2492#[repr(C)]
2493#[derive(Copy, Clone)]
2494pub struct GtkButtonAccessibleClass {
2495    pub parent_class: GtkContainerAccessibleClass,
2496}
2497
2498impl ::std::fmt::Debug for GtkButtonAccessibleClass {
2499    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2500        f.debug_struct(&format!(
2501            "GtkButtonAccessibleClass @ {:?}",
2502            self as *const _
2503        ))
2504        .field("parent_class", &self.parent_class)
2505        .finish()
2506    }
2507}
2508
2509#[repr(C)]
2510pub struct _GtkButtonAccessiblePrivate(c_void);
2511
2512pub type GtkButtonAccessiblePrivate = *mut _GtkButtonAccessiblePrivate;
2513
2514#[repr(C)]
2515#[derive(Copy, Clone)]
2516pub struct GtkButtonBoxClass {
2517    pub parent_class: GtkBoxClass,
2518    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2519    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2520    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2521    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2522}
2523
2524impl ::std::fmt::Debug for GtkButtonBoxClass {
2525    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2526        f.debug_struct(&format!("GtkButtonBoxClass @ {:?}", self as *const _))
2527            .field("parent_class", &self.parent_class)
2528            .field("_gtk_reserved1", &self._gtk_reserved1)
2529            .field("_gtk_reserved2", &self._gtk_reserved2)
2530            .field("_gtk_reserved3", &self._gtk_reserved3)
2531            .field("_gtk_reserved4", &self._gtk_reserved4)
2532            .finish()
2533    }
2534}
2535
2536#[repr(C)]
2537pub struct _GtkButtonBoxPrivate(c_void);
2538
2539pub type GtkButtonBoxPrivate = *mut _GtkButtonBoxPrivate;
2540
2541#[repr(C)]
2542#[derive(Copy, Clone)]
2543pub struct GtkButtonClass {
2544    pub parent_class: GtkBinClass,
2545    pub pressed: Option<unsafe extern "C" fn(*mut GtkButton)>,
2546    pub released: Option<unsafe extern "C" fn(*mut GtkButton)>,
2547    pub clicked: Option<unsafe extern "C" fn(*mut GtkButton)>,
2548    pub enter: Option<unsafe extern "C" fn(*mut GtkButton)>,
2549    pub leave: Option<unsafe extern "C" fn(*mut GtkButton)>,
2550    pub activate: Option<unsafe extern "C" fn(*mut GtkButton)>,
2551    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2552    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2553    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2554    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2555}
2556
2557impl ::std::fmt::Debug for GtkButtonClass {
2558    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2559        f.debug_struct(&format!("GtkButtonClass @ {:?}", self as *const _))
2560            .field("parent_class", &self.parent_class)
2561            .field("pressed", &self.pressed)
2562            .field("released", &self.released)
2563            .field("clicked", &self.clicked)
2564            .field("enter", &self.enter)
2565            .field("leave", &self.leave)
2566            .field("activate", &self.activate)
2567            .field("_gtk_reserved1", &self._gtk_reserved1)
2568            .field("_gtk_reserved2", &self._gtk_reserved2)
2569            .field("_gtk_reserved3", &self._gtk_reserved3)
2570            .field("_gtk_reserved4", &self._gtk_reserved4)
2571            .finish()
2572    }
2573}
2574
2575#[repr(C)]
2576pub struct _GtkButtonPrivate(c_void);
2577
2578pub type GtkButtonPrivate = *mut _GtkButtonPrivate;
2579
2580#[repr(C)]
2581#[derive(Copy, Clone)]
2582pub struct GtkCalendarClass {
2583    pub parent_class: GtkWidgetClass,
2584    pub month_changed: Option<unsafe extern "C" fn(*mut GtkCalendar)>,
2585    pub day_selected: Option<unsafe extern "C" fn(*mut GtkCalendar)>,
2586    pub day_selected_double_click: Option<unsafe extern "C" fn(*mut GtkCalendar)>,
2587    pub prev_month: Option<unsafe extern "C" fn(*mut GtkCalendar)>,
2588    pub next_month: Option<unsafe extern "C" fn(*mut GtkCalendar)>,
2589    pub prev_year: Option<unsafe extern "C" fn(*mut GtkCalendar)>,
2590    pub next_year: Option<unsafe extern "C" fn(*mut GtkCalendar)>,
2591    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2592    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2593    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2594    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2595}
2596
2597impl ::std::fmt::Debug for GtkCalendarClass {
2598    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2599        f.debug_struct(&format!("GtkCalendarClass @ {:?}", self as *const _))
2600            .field("parent_class", &self.parent_class)
2601            .field("month_changed", &self.month_changed)
2602            .field("day_selected", &self.day_selected)
2603            .field("day_selected_double_click", &self.day_selected_double_click)
2604            .field("prev_month", &self.prev_month)
2605            .field("next_month", &self.next_month)
2606            .field("prev_year", &self.prev_year)
2607            .field("next_year", &self.next_year)
2608            .field("_gtk_reserved1", &self._gtk_reserved1)
2609            .field("_gtk_reserved2", &self._gtk_reserved2)
2610            .field("_gtk_reserved3", &self._gtk_reserved3)
2611            .field("_gtk_reserved4", &self._gtk_reserved4)
2612            .finish()
2613    }
2614}
2615
2616#[repr(C)]
2617pub struct _GtkCalendarPrivate(c_void);
2618
2619pub type GtkCalendarPrivate = *mut _GtkCalendarPrivate;
2620
2621#[repr(C)]
2622#[derive(Copy, Clone)]
2623pub struct GtkCellAccessibleClass {
2624    pub parent_class: GtkAccessibleClass,
2625    pub update_cache: Option<unsafe extern "C" fn(*mut GtkCellAccessible, gboolean)>,
2626}
2627
2628impl ::std::fmt::Debug for GtkCellAccessibleClass {
2629    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2630        f.debug_struct(&format!("GtkCellAccessibleClass @ {:?}", self as *const _))
2631            .field("parent_class", &self.parent_class)
2632            .field("update_cache", &self.update_cache)
2633            .finish()
2634    }
2635}
2636
2637#[repr(C)]
2638#[derive(Copy, Clone)]
2639pub struct GtkCellAccessibleParentIface {
2640    pub parent: gobject::GTypeInterface,
2641    pub get_cell_extents: Option<
2642        unsafe extern "C" fn(
2643            *mut GtkCellAccessibleParent,
2644            *mut GtkCellAccessible,
2645            *mut c_int,
2646            *mut c_int,
2647            *mut c_int,
2648            *mut c_int,
2649            atk::AtkCoordType,
2650        ),
2651    >,
2652    pub get_cell_area: Option<
2653        unsafe extern "C" fn(
2654            *mut GtkCellAccessibleParent,
2655            *mut GtkCellAccessible,
2656            *mut gdk::GdkRectangle,
2657        ),
2658    >,
2659    pub grab_focus: Option<
2660        unsafe extern "C" fn(*mut GtkCellAccessibleParent, *mut GtkCellAccessible) -> gboolean,
2661    >,
2662    pub get_child_index:
2663        Option<unsafe extern "C" fn(*mut GtkCellAccessibleParent, *mut GtkCellAccessible) -> c_int>,
2664    pub get_renderer_state: Option<
2665        unsafe extern "C" fn(
2666            *mut GtkCellAccessibleParent,
2667            *mut GtkCellAccessible,
2668        ) -> GtkCellRendererState,
2669    >,
2670    pub expand_collapse:
2671        Option<unsafe extern "C" fn(*mut GtkCellAccessibleParent, *mut GtkCellAccessible)>,
2672    pub activate:
2673        Option<unsafe extern "C" fn(*mut GtkCellAccessibleParent, *mut GtkCellAccessible)>,
2674    pub edit: Option<unsafe extern "C" fn(*mut GtkCellAccessibleParent, *mut GtkCellAccessible)>,
2675    pub update_relationset: Option<
2676        unsafe extern "C" fn(
2677            *mut GtkCellAccessibleParent,
2678            *mut GtkCellAccessible,
2679            *mut atk::AtkRelationSet,
2680        ),
2681    >,
2682}
2683
2684impl ::std::fmt::Debug for GtkCellAccessibleParentIface {
2685    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2686        f.debug_struct(&format!(
2687            "GtkCellAccessibleParentIface @ {:?}",
2688            self as *const _
2689        ))
2690        .field("parent", &self.parent)
2691        .field("get_cell_extents", &self.get_cell_extents)
2692        .field("get_cell_area", &self.get_cell_area)
2693        .field("grab_focus", &self.grab_focus)
2694        .field("get_child_index", &self.get_child_index)
2695        .field("get_renderer_state", &self.get_renderer_state)
2696        .field("expand_collapse", &self.expand_collapse)
2697        .field("activate", &self.activate)
2698        .field("edit", &self.edit)
2699        .field("update_relationset", &self.update_relationset)
2700        .finish()
2701    }
2702}
2703
2704#[repr(C)]
2705pub struct _GtkCellAccessiblePrivate(c_void);
2706
2707pub type GtkCellAccessiblePrivate = *mut _GtkCellAccessiblePrivate;
2708
2709#[repr(C)]
2710#[derive(Copy, Clone)]
2711pub struct GtkCellAreaBoxClass {
2712    pub parent_class: GtkCellAreaClass,
2713    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2714    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2715    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2716    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2717}
2718
2719impl ::std::fmt::Debug for GtkCellAreaBoxClass {
2720    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2721        f.debug_struct(&format!("GtkCellAreaBoxClass @ {:?}", self as *const _))
2722            .field("_gtk_reserved1", &self._gtk_reserved1)
2723            .field("_gtk_reserved2", &self._gtk_reserved2)
2724            .field("_gtk_reserved3", &self._gtk_reserved3)
2725            .field("_gtk_reserved4", &self._gtk_reserved4)
2726            .finish()
2727    }
2728}
2729
2730#[repr(C)]
2731pub struct _GtkCellAreaBoxPrivate(c_void);
2732
2733pub type GtkCellAreaBoxPrivate = *mut _GtkCellAreaBoxPrivate;
2734
2735#[repr(C)]
2736#[derive(Copy, Clone)]
2737pub struct GtkCellAreaClass {
2738    pub parent_class: gobject::GInitiallyUnownedClass,
2739    pub add: Option<unsafe extern "C" fn(*mut GtkCellArea, *mut GtkCellRenderer)>,
2740    pub remove: Option<unsafe extern "C" fn(*mut GtkCellArea, *mut GtkCellRenderer)>,
2741    pub foreach: Option<unsafe extern "C" fn(*mut GtkCellArea, GtkCellCallback, gpointer)>,
2742    pub foreach_alloc: Option<
2743        unsafe extern "C" fn(
2744            *mut GtkCellArea,
2745            *mut GtkCellAreaContext,
2746            *mut GtkWidget,
2747            *const gdk::GdkRectangle,
2748            *const gdk::GdkRectangle,
2749            GtkCellAllocCallback,
2750            gpointer,
2751        ),
2752    >,
2753    pub event: Option<
2754        unsafe extern "C" fn(
2755            *mut GtkCellArea,
2756            *mut GtkCellAreaContext,
2757            *mut GtkWidget,
2758            *mut gdk::GdkEvent,
2759            *const gdk::GdkRectangle,
2760            GtkCellRendererState,
2761        ) -> c_int,
2762    >,
2763    pub render: Option<
2764        unsafe extern "C" fn(
2765            *mut GtkCellArea,
2766            *mut GtkCellAreaContext,
2767            *mut GtkWidget,
2768            *mut cairo::cairo_t,
2769            *const gdk::GdkRectangle,
2770            *const gdk::GdkRectangle,
2771            GtkCellRendererState,
2772            gboolean,
2773        ),
2774    >,
2775    pub apply_attributes: Option<
2776        unsafe extern "C" fn(
2777            *mut GtkCellArea,
2778            *mut GtkTreeModel,
2779            *mut GtkTreeIter,
2780            gboolean,
2781            gboolean,
2782        ),
2783    >,
2784    pub create_context: Option<unsafe extern "C" fn(*mut GtkCellArea) -> *mut GtkCellAreaContext>,
2785    pub copy_context: Option<
2786        unsafe extern "C" fn(*mut GtkCellArea, *mut GtkCellAreaContext) -> *mut GtkCellAreaContext,
2787    >,
2788    pub get_request_mode: Option<unsafe extern "C" fn(*mut GtkCellArea) -> GtkSizeRequestMode>,
2789    pub get_preferred_width: Option<
2790        unsafe extern "C" fn(
2791            *mut GtkCellArea,
2792            *mut GtkCellAreaContext,
2793            *mut GtkWidget,
2794            *mut c_int,
2795            *mut c_int,
2796        ),
2797    >,
2798    pub get_preferred_height_for_width: Option<
2799        unsafe extern "C" fn(
2800            *mut GtkCellArea,
2801            *mut GtkCellAreaContext,
2802            *mut GtkWidget,
2803            c_int,
2804            *mut c_int,
2805            *mut c_int,
2806        ),
2807    >,
2808    pub get_preferred_height: Option<
2809        unsafe extern "C" fn(
2810            *mut GtkCellArea,
2811            *mut GtkCellAreaContext,
2812            *mut GtkWidget,
2813            *mut c_int,
2814            *mut c_int,
2815        ),
2816    >,
2817    pub get_preferred_width_for_height: Option<
2818        unsafe extern "C" fn(
2819            *mut GtkCellArea,
2820            *mut GtkCellAreaContext,
2821            *mut GtkWidget,
2822            c_int,
2823            *mut c_int,
2824            *mut c_int,
2825        ),
2826    >,
2827    pub set_cell_property: Option<
2828        unsafe extern "C" fn(
2829            *mut GtkCellArea,
2830            *mut GtkCellRenderer,
2831            c_uint,
2832            *mut gobject::GValue,
2833            *mut gobject::GParamSpec,
2834        ),
2835    >,
2836    pub get_cell_property: Option<
2837        unsafe extern "C" fn(
2838            *mut GtkCellArea,
2839            *mut GtkCellRenderer,
2840            c_uint,
2841            *mut gobject::GValue,
2842            *mut gobject::GParamSpec,
2843        ),
2844    >,
2845    pub focus: Option<unsafe extern "C" fn(*mut GtkCellArea, GtkDirectionType) -> gboolean>,
2846    pub is_activatable: Option<unsafe extern "C" fn(*mut GtkCellArea) -> gboolean>,
2847    pub activate: Option<
2848        unsafe extern "C" fn(
2849            *mut GtkCellArea,
2850            *mut GtkCellAreaContext,
2851            *mut GtkWidget,
2852            *const gdk::GdkRectangle,
2853            GtkCellRendererState,
2854            gboolean,
2855        ) -> gboolean,
2856    >,
2857    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2858    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2859    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2860    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2861    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
2862    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
2863    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
2864    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
2865}
2866
2867impl ::std::fmt::Debug for GtkCellAreaClass {
2868    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2869        f.debug_struct(&format!("GtkCellAreaClass @ {:?}", self as *const _))
2870            .field("add", &self.add)
2871            .field("remove", &self.remove)
2872            .field("foreach", &self.foreach)
2873            .field("foreach_alloc", &self.foreach_alloc)
2874            .field("event", &self.event)
2875            .field("render", &self.render)
2876            .field("apply_attributes", &self.apply_attributes)
2877            .field("create_context", &self.create_context)
2878            .field("copy_context", &self.copy_context)
2879            .field("get_request_mode", &self.get_request_mode)
2880            .field("get_preferred_width", &self.get_preferred_width)
2881            .field(
2882                "get_preferred_height_for_width",
2883                &self.get_preferred_height_for_width,
2884            )
2885            .field("get_preferred_height", &self.get_preferred_height)
2886            .field(
2887                "get_preferred_width_for_height",
2888                &self.get_preferred_width_for_height,
2889            )
2890            .field("set_cell_property", &self.set_cell_property)
2891            .field("get_cell_property", &self.get_cell_property)
2892            .field("focus", &self.focus)
2893            .field("is_activatable", &self.is_activatable)
2894            .field("activate", &self.activate)
2895            .field("_gtk_reserved1", &self._gtk_reserved1)
2896            .field("_gtk_reserved2", &self._gtk_reserved2)
2897            .field("_gtk_reserved3", &self._gtk_reserved3)
2898            .field("_gtk_reserved4", &self._gtk_reserved4)
2899            .field("_gtk_reserved5", &self._gtk_reserved5)
2900            .field("_gtk_reserved6", &self._gtk_reserved6)
2901            .field("_gtk_reserved7", &self._gtk_reserved7)
2902            .field("_gtk_reserved8", &self._gtk_reserved8)
2903            .finish()
2904    }
2905}
2906
2907#[repr(C)]
2908#[derive(Copy, Clone)]
2909pub struct GtkCellAreaContextClass {
2910    pub parent_class: gobject::GObjectClass,
2911    pub allocate: Option<unsafe extern "C" fn(*mut GtkCellAreaContext, c_int, c_int)>,
2912    pub reset: Option<unsafe extern "C" fn(*mut GtkCellAreaContext)>,
2913    pub get_preferred_height_for_width:
2914        Option<unsafe extern "C" fn(*mut GtkCellAreaContext, c_int, *mut c_int, *mut c_int)>,
2915    pub get_preferred_width_for_height:
2916        Option<unsafe extern "C" fn(*mut GtkCellAreaContext, c_int, *mut c_int, *mut c_int)>,
2917    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
2918    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
2919    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
2920    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
2921    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
2922    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
2923}
2924
2925impl ::std::fmt::Debug for GtkCellAreaContextClass {
2926    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2927        f.debug_struct(&format!("GtkCellAreaContextClass @ {:?}", self as *const _))
2928            .field("allocate", &self.allocate)
2929            .field("reset", &self.reset)
2930            .field(
2931                "get_preferred_height_for_width",
2932                &self.get_preferred_height_for_width,
2933            )
2934            .field(
2935                "get_preferred_width_for_height",
2936                &self.get_preferred_width_for_height,
2937            )
2938            .field("_gtk_reserved1", &self._gtk_reserved1)
2939            .field("_gtk_reserved2", &self._gtk_reserved2)
2940            .field("_gtk_reserved3", &self._gtk_reserved3)
2941            .field("_gtk_reserved4", &self._gtk_reserved4)
2942            .field("_gtk_reserved5", &self._gtk_reserved5)
2943            .field("_gtk_reserved6", &self._gtk_reserved6)
2944            .finish()
2945    }
2946}
2947
2948#[repr(C)]
2949pub struct _GtkCellAreaContextPrivate(c_void);
2950
2951pub type GtkCellAreaContextPrivate = *mut _GtkCellAreaContextPrivate;
2952
2953#[repr(C)]
2954pub struct _GtkCellAreaPrivate(c_void);
2955
2956pub type GtkCellAreaPrivate = *mut _GtkCellAreaPrivate;
2957
2958#[repr(C)]
2959#[derive(Copy, Clone)]
2960pub struct GtkCellEditableIface {
2961    pub g_iface: gobject::GTypeInterface,
2962    pub editing_done: Option<unsafe extern "C" fn(*mut GtkCellEditable)>,
2963    pub remove_widget: Option<unsafe extern "C" fn(*mut GtkCellEditable)>,
2964    pub start_editing: Option<unsafe extern "C" fn(*mut GtkCellEditable, *mut gdk::GdkEvent)>,
2965}
2966
2967impl ::std::fmt::Debug for GtkCellEditableIface {
2968    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2969        f.debug_struct(&format!("GtkCellEditableIface @ {:?}", self as *const _))
2970            .field("editing_done", &self.editing_done)
2971            .field("remove_widget", &self.remove_widget)
2972            .field("start_editing", &self.start_editing)
2973            .finish()
2974    }
2975}
2976
2977#[repr(C)]
2978#[derive(Copy, Clone)]
2979pub struct GtkCellLayoutIface {
2980    pub g_iface: gobject::GTypeInterface,
2981    pub pack_start:
2982        Option<unsafe extern "C" fn(*mut GtkCellLayout, *mut GtkCellRenderer, gboolean)>,
2983    pub pack_end: Option<unsafe extern "C" fn(*mut GtkCellLayout, *mut GtkCellRenderer, gboolean)>,
2984    pub clear: Option<unsafe extern "C" fn(*mut GtkCellLayout)>,
2985    pub add_attribute: Option<
2986        unsafe extern "C" fn(*mut GtkCellLayout, *mut GtkCellRenderer, *const c_char, c_int),
2987    >,
2988    pub set_cell_data_func: Option<
2989        unsafe extern "C" fn(
2990            *mut GtkCellLayout,
2991            *mut GtkCellRenderer,
2992            GtkCellLayoutDataFunc,
2993            gpointer,
2994            glib::GDestroyNotify,
2995        ),
2996    >,
2997    pub clear_attributes: Option<unsafe extern "C" fn(*mut GtkCellLayout, *mut GtkCellRenderer)>,
2998    pub reorder: Option<unsafe extern "C" fn(*mut GtkCellLayout, *mut GtkCellRenderer, c_int)>,
2999    pub get_cells: Option<unsafe extern "C" fn(*mut GtkCellLayout) -> *mut glib::GList>,
3000    pub get_area: Option<unsafe extern "C" fn(*mut GtkCellLayout) -> *mut GtkCellArea>,
3001}
3002
3003impl ::std::fmt::Debug for GtkCellLayoutIface {
3004    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3005        f.debug_struct(&format!("GtkCellLayoutIface @ {:?}", self as *const _))
3006            .field("pack_start", &self.pack_start)
3007            .field("pack_end", &self.pack_end)
3008            .field("clear", &self.clear)
3009            .field("add_attribute", &self.add_attribute)
3010            .field("set_cell_data_func", &self.set_cell_data_func)
3011            .field("clear_attributes", &self.clear_attributes)
3012            .field("reorder", &self.reorder)
3013            .field("get_cells", &self.get_cells)
3014            .field("get_area", &self.get_area)
3015            .finish()
3016    }
3017}
3018
3019#[repr(C)]
3020#[derive(Copy, Clone)]
3021pub struct GtkCellRendererAccelClass {
3022    pub parent_class: GtkCellRendererTextClass,
3023    pub accel_edited: Option<
3024        unsafe extern "C" fn(
3025            *mut GtkCellRendererAccel,
3026            *const c_char,
3027            c_uint,
3028            gdk::GdkModifierType,
3029            c_uint,
3030        ),
3031    >,
3032    pub accel_cleared: Option<unsafe extern "C" fn(*mut GtkCellRendererAccel, *const c_char)>,
3033    pub _gtk_reserved0: Option<unsafe extern "C" fn()>,
3034    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3035    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3036    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3037    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3038}
3039
3040impl ::std::fmt::Debug for GtkCellRendererAccelClass {
3041    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3042        f.debug_struct(&format!(
3043            "GtkCellRendererAccelClass @ {:?}",
3044            self as *const _
3045        ))
3046        .field("parent_class", &self.parent_class)
3047        .field("accel_edited", &self.accel_edited)
3048        .field("accel_cleared", &self.accel_cleared)
3049        .field("_gtk_reserved0", &self._gtk_reserved0)
3050        .field("_gtk_reserved1", &self._gtk_reserved1)
3051        .field("_gtk_reserved2", &self._gtk_reserved2)
3052        .field("_gtk_reserved3", &self._gtk_reserved3)
3053        .field("_gtk_reserved4", &self._gtk_reserved4)
3054        .finish()
3055    }
3056}
3057
3058#[repr(C)]
3059pub struct _GtkCellRendererAccelPrivate(c_void);
3060
3061pub type GtkCellRendererAccelPrivate = *mut _GtkCellRendererAccelPrivate;
3062
3063#[repr(C)]
3064#[derive(Copy, Clone)]
3065pub struct GtkCellRendererClass {
3066    pub parent_class: gobject::GInitiallyUnownedClass,
3067    pub get_request_mode: Option<unsafe extern "C" fn(*mut GtkCellRenderer) -> GtkSizeRequestMode>,
3068    pub get_preferred_width:
3069        Option<unsafe extern "C" fn(*mut GtkCellRenderer, *mut GtkWidget, *mut c_int, *mut c_int)>,
3070    pub get_preferred_height_for_width: Option<
3071        unsafe extern "C" fn(*mut GtkCellRenderer, *mut GtkWidget, c_int, *mut c_int, *mut c_int),
3072    >,
3073    pub get_preferred_height:
3074        Option<unsafe extern "C" fn(*mut GtkCellRenderer, *mut GtkWidget, *mut c_int, *mut c_int)>,
3075    pub get_preferred_width_for_height: Option<
3076        unsafe extern "C" fn(*mut GtkCellRenderer, *mut GtkWidget, c_int, *mut c_int, *mut c_int),
3077    >,
3078    pub get_aligned_area: Option<
3079        unsafe extern "C" fn(
3080            *mut GtkCellRenderer,
3081            *mut GtkWidget,
3082            GtkCellRendererState,
3083            *const gdk::GdkRectangle,
3084            *mut gdk::GdkRectangle,
3085        ),
3086    >,
3087    pub get_size: Option<
3088        unsafe extern "C" fn(
3089            *mut GtkCellRenderer,
3090            *mut GtkWidget,
3091            *const gdk::GdkRectangle,
3092            *mut c_int,
3093            *mut c_int,
3094            *mut c_int,
3095            *mut c_int,
3096        ),
3097    >,
3098    pub render: Option<
3099        unsafe extern "C" fn(
3100            *mut GtkCellRenderer,
3101            *mut cairo::cairo_t,
3102            *mut GtkWidget,
3103            *const gdk::GdkRectangle,
3104            *const gdk::GdkRectangle,
3105            GtkCellRendererState,
3106        ),
3107    >,
3108    pub activate: Option<
3109        unsafe extern "C" fn(
3110            *mut GtkCellRenderer,
3111            *mut gdk::GdkEvent,
3112            *mut GtkWidget,
3113            *const c_char,
3114            *const gdk::GdkRectangle,
3115            *const gdk::GdkRectangle,
3116            GtkCellRendererState,
3117        ) -> gboolean,
3118    >,
3119    pub start_editing: Option<
3120        unsafe extern "C" fn(
3121            *mut GtkCellRenderer,
3122            *mut gdk::GdkEvent,
3123            *mut GtkWidget,
3124            *const c_char,
3125            *const gdk::GdkRectangle,
3126            *const gdk::GdkRectangle,
3127            GtkCellRendererState,
3128        ) -> *mut GtkCellEditable,
3129    >,
3130    pub editing_canceled: Option<unsafe extern "C" fn(*mut GtkCellRenderer)>,
3131    pub editing_started:
3132        Option<unsafe extern "C" fn(*mut GtkCellRenderer, *mut GtkCellEditable, *const c_char)>,
3133    pub priv_: *mut GtkCellRendererClassPrivate,
3134    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3135    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3136    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3137}
3138
3139impl ::std::fmt::Debug for GtkCellRendererClass {
3140    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3141        f.debug_struct(&format!("GtkCellRendererClass @ {:?}", self as *const _))
3142            .field("get_request_mode", &self.get_request_mode)
3143            .field("get_preferred_width", &self.get_preferred_width)
3144            .field(
3145                "get_preferred_height_for_width",
3146                &self.get_preferred_height_for_width,
3147            )
3148            .field("get_preferred_height", &self.get_preferred_height)
3149            .field(
3150                "get_preferred_width_for_height",
3151                &self.get_preferred_width_for_height,
3152            )
3153            .field("get_aligned_area", &self.get_aligned_area)
3154            .field("get_size", &self.get_size)
3155            .field("render", &self.render)
3156            .field("activate", &self.activate)
3157            .field("start_editing", &self.start_editing)
3158            .field("editing_canceled", &self.editing_canceled)
3159            .field("editing_started", &self.editing_started)
3160            .field("_gtk_reserved2", &self._gtk_reserved2)
3161            .field("_gtk_reserved3", &self._gtk_reserved3)
3162            .field("_gtk_reserved4", &self._gtk_reserved4)
3163            .finish()
3164    }
3165}
3166
3167#[repr(C)]
3168pub struct _GtkCellRendererClassPrivate(c_void);
3169
3170pub type GtkCellRendererClassPrivate = *mut _GtkCellRendererClassPrivate;
3171
3172#[repr(C)]
3173#[derive(Copy, Clone)]
3174pub struct GtkCellRendererComboClass {
3175    pub parent: GtkCellRendererTextClass,
3176    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3177    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3178    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3179    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3180}
3181
3182impl ::std::fmt::Debug for GtkCellRendererComboClass {
3183    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3184        f.debug_struct(&format!(
3185            "GtkCellRendererComboClass @ {:?}",
3186            self as *const _
3187        ))
3188        .field("parent", &self.parent)
3189        .field("_gtk_reserved1", &self._gtk_reserved1)
3190        .field("_gtk_reserved2", &self._gtk_reserved2)
3191        .field("_gtk_reserved3", &self._gtk_reserved3)
3192        .field("_gtk_reserved4", &self._gtk_reserved4)
3193        .finish()
3194    }
3195}
3196
3197#[repr(C)]
3198pub struct _GtkCellRendererComboPrivate(c_void);
3199
3200pub type GtkCellRendererComboPrivate = *mut _GtkCellRendererComboPrivate;
3201
3202#[repr(C)]
3203#[derive(Copy, Clone)]
3204pub struct GtkCellRendererPixbufClass {
3205    pub parent_class: GtkCellRendererClass,
3206    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3207    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3208    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3209    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3210}
3211
3212impl ::std::fmt::Debug for GtkCellRendererPixbufClass {
3213    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3214        f.debug_struct(&format!(
3215            "GtkCellRendererPixbufClass @ {:?}",
3216            self as *const _
3217        ))
3218        .field("parent_class", &self.parent_class)
3219        .field("_gtk_reserved1", &self._gtk_reserved1)
3220        .field("_gtk_reserved2", &self._gtk_reserved2)
3221        .field("_gtk_reserved3", &self._gtk_reserved3)
3222        .field("_gtk_reserved4", &self._gtk_reserved4)
3223        .finish()
3224    }
3225}
3226
3227#[repr(C)]
3228pub struct _GtkCellRendererPixbufPrivate(c_void);
3229
3230pub type GtkCellRendererPixbufPrivate = *mut _GtkCellRendererPixbufPrivate;
3231
3232#[repr(C)]
3233pub struct _GtkCellRendererPrivate(c_void);
3234
3235pub type GtkCellRendererPrivate = *mut _GtkCellRendererPrivate;
3236
3237#[repr(C)]
3238#[derive(Copy, Clone)]
3239pub struct GtkCellRendererProgressClass {
3240    pub parent_class: GtkCellRendererClass,
3241    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3242    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3243    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3244    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3245}
3246
3247impl ::std::fmt::Debug for GtkCellRendererProgressClass {
3248    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3249        f.debug_struct(&format!(
3250            "GtkCellRendererProgressClass @ {:?}",
3251            self as *const _
3252        ))
3253        .field("parent_class", &self.parent_class)
3254        .field("_gtk_reserved1", &self._gtk_reserved1)
3255        .field("_gtk_reserved2", &self._gtk_reserved2)
3256        .field("_gtk_reserved3", &self._gtk_reserved3)
3257        .field("_gtk_reserved4", &self._gtk_reserved4)
3258        .finish()
3259    }
3260}
3261
3262#[repr(C)]
3263pub struct _GtkCellRendererProgressPrivate(c_void);
3264
3265pub type GtkCellRendererProgressPrivate = *mut _GtkCellRendererProgressPrivate;
3266
3267#[repr(C)]
3268#[derive(Copy, Clone)]
3269pub struct GtkCellRendererSpinClass {
3270    pub parent: GtkCellRendererTextClass,
3271    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3272    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3273    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3274    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3275}
3276
3277impl ::std::fmt::Debug for GtkCellRendererSpinClass {
3278    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3279        f.debug_struct(&format!(
3280            "GtkCellRendererSpinClass @ {:?}",
3281            self as *const _
3282        ))
3283        .field("parent", &self.parent)
3284        .field("_gtk_reserved1", &self._gtk_reserved1)
3285        .field("_gtk_reserved2", &self._gtk_reserved2)
3286        .field("_gtk_reserved3", &self._gtk_reserved3)
3287        .field("_gtk_reserved4", &self._gtk_reserved4)
3288        .finish()
3289    }
3290}
3291
3292#[repr(C)]
3293pub struct _GtkCellRendererSpinPrivate(c_void);
3294
3295pub type GtkCellRendererSpinPrivate = *mut _GtkCellRendererSpinPrivate;
3296
3297#[repr(C)]
3298#[derive(Copy, Clone)]
3299pub struct GtkCellRendererSpinnerClass {
3300    pub parent_class: GtkCellRendererClass,
3301    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3302    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3303    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3304    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3305}
3306
3307impl ::std::fmt::Debug for GtkCellRendererSpinnerClass {
3308    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3309        f.debug_struct(&format!(
3310            "GtkCellRendererSpinnerClass @ {:?}",
3311            self as *const _
3312        ))
3313        .field("parent_class", &self.parent_class)
3314        .field("_gtk_reserved1", &self._gtk_reserved1)
3315        .field("_gtk_reserved2", &self._gtk_reserved2)
3316        .field("_gtk_reserved3", &self._gtk_reserved3)
3317        .field("_gtk_reserved4", &self._gtk_reserved4)
3318        .finish()
3319    }
3320}
3321
3322#[repr(C)]
3323pub struct _GtkCellRendererSpinnerPrivate(c_void);
3324
3325pub type GtkCellRendererSpinnerPrivate = *mut _GtkCellRendererSpinnerPrivate;
3326
3327#[repr(C)]
3328#[derive(Copy, Clone)]
3329pub struct GtkCellRendererTextClass {
3330    pub parent_class: GtkCellRendererClass,
3331    pub edited:
3332        Option<unsafe extern "C" fn(*mut GtkCellRendererText, *const c_char, *const c_char)>,
3333    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3334    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3335    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3336    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3337}
3338
3339impl ::std::fmt::Debug for GtkCellRendererTextClass {
3340    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3341        f.debug_struct(&format!(
3342            "GtkCellRendererTextClass @ {:?}",
3343            self as *const _
3344        ))
3345        .field("parent_class", &self.parent_class)
3346        .field("edited", &self.edited)
3347        .field("_gtk_reserved1", &self._gtk_reserved1)
3348        .field("_gtk_reserved2", &self._gtk_reserved2)
3349        .field("_gtk_reserved3", &self._gtk_reserved3)
3350        .field("_gtk_reserved4", &self._gtk_reserved4)
3351        .finish()
3352    }
3353}
3354
3355#[repr(C)]
3356pub struct _GtkCellRendererTextPrivate(c_void);
3357
3358pub type GtkCellRendererTextPrivate = *mut _GtkCellRendererTextPrivate;
3359
3360#[repr(C)]
3361#[derive(Copy, Clone)]
3362pub struct GtkCellRendererToggleClass {
3363    pub parent_class: GtkCellRendererClass,
3364    pub toggled: Option<unsafe extern "C" fn(*mut GtkCellRendererToggle, *const c_char)>,
3365    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3366    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3367    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3368    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3369}
3370
3371impl ::std::fmt::Debug for GtkCellRendererToggleClass {
3372    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3373        f.debug_struct(&format!(
3374            "GtkCellRendererToggleClass @ {:?}",
3375            self as *const _
3376        ))
3377        .field("parent_class", &self.parent_class)
3378        .field("toggled", &self.toggled)
3379        .field("_gtk_reserved1", &self._gtk_reserved1)
3380        .field("_gtk_reserved2", &self._gtk_reserved2)
3381        .field("_gtk_reserved3", &self._gtk_reserved3)
3382        .field("_gtk_reserved4", &self._gtk_reserved4)
3383        .finish()
3384    }
3385}
3386
3387#[repr(C)]
3388pub struct _GtkCellRendererTogglePrivate(c_void);
3389
3390pub type GtkCellRendererTogglePrivate = *mut _GtkCellRendererTogglePrivate;
3391
3392#[repr(C)]
3393#[derive(Copy, Clone)]
3394pub struct GtkCellViewClass {
3395    pub parent_class: GtkWidgetClass,
3396    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3397    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3398    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3399    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3400}
3401
3402impl ::std::fmt::Debug for GtkCellViewClass {
3403    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3404        f.debug_struct(&format!("GtkCellViewClass @ {:?}", self as *const _))
3405            .field("parent_class", &self.parent_class)
3406            .field("_gtk_reserved1", &self._gtk_reserved1)
3407            .field("_gtk_reserved2", &self._gtk_reserved2)
3408            .field("_gtk_reserved3", &self._gtk_reserved3)
3409            .field("_gtk_reserved4", &self._gtk_reserved4)
3410            .finish()
3411    }
3412}
3413
3414#[repr(C)]
3415pub struct _GtkCellViewPrivate(c_void);
3416
3417pub type GtkCellViewPrivate = *mut _GtkCellViewPrivate;
3418
3419#[repr(C)]
3420#[derive(Copy, Clone)]
3421pub struct GtkCheckButtonClass {
3422    pub parent_class: GtkToggleButtonClass,
3423    pub draw_indicator: Option<unsafe extern "C" fn(*mut GtkCheckButton, *mut cairo::cairo_t)>,
3424    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3425    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3426    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3427    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3428}
3429
3430impl ::std::fmt::Debug for GtkCheckButtonClass {
3431    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3432        f.debug_struct(&format!("GtkCheckButtonClass @ {:?}", self as *const _))
3433            .field("parent_class", &self.parent_class)
3434            .field("draw_indicator", &self.draw_indicator)
3435            .field("_gtk_reserved1", &self._gtk_reserved1)
3436            .field("_gtk_reserved2", &self._gtk_reserved2)
3437            .field("_gtk_reserved3", &self._gtk_reserved3)
3438            .field("_gtk_reserved4", &self._gtk_reserved4)
3439            .finish()
3440    }
3441}
3442
3443#[repr(C)]
3444#[derive(Copy, Clone)]
3445pub struct GtkCheckMenuItemAccessibleClass {
3446    pub parent_class: GtkMenuItemAccessibleClass,
3447}
3448
3449impl ::std::fmt::Debug for GtkCheckMenuItemAccessibleClass {
3450    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3451        f.debug_struct(&format!(
3452            "GtkCheckMenuItemAccessibleClass @ {:?}",
3453            self as *const _
3454        ))
3455        .field("parent_class", &self.parent_class)
3456        .finish()
3457    }
3458}
3459
3460#[repr(C)]
3461pub struct _GtkCheckMenuItemAccessiblePrivate(c_void);
3462
3463pub type GtkCheckMenuItemAccessiblePrivate = *mut _GtkCheckMenuItemAccessiblePrivate;
3464
3465#[repr(C)]
3466#[derive(Copy, Clone)]
3467pub struct GtkCheckMenuItemClass {
3468    pub parent_class: GtkMenuItemClass,
3469    pub toggled: Option<unsafe extern "C" fn(*mut GtkCheckMenuItem)>,
3470    pub draw_indicator: Option<unsafe extern "C" fn(*mut GtkCheckMenuItem, *mut cairo::cairo_t)>,
3471    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3472    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3473    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3474    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3475}
3476
3477impl ::std::fmt::Debug for GtkCheckMenuItemClass {
3478    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3479        f.debug_struct(&format!("GtkCheckMenuItemClass @ {:?}", self as *const _))
3480            .field("parent_class", &self.parent_class)
3481            .field("toggled", &self.toggled)
3482            .field("draw_indicator", &self.draw_indicator)
3483            .field("_gtk_reserved1", &self._gtk_reserved1)
3484            .field("_gtk_reserved2", &self._gtk_reserved2)
3485            .field("_gtk_reserved3", &self._gtk_reserved3)
3486            .field("_gtk_reserved4", &self._gtk_reserved4)
3487            .finish()
3488    }
3489}
3490
3491#[repr(C)]
3492pub struct _GtkCheckMenuItemPrivate(c_void);
3493
3494pub type GtkCheckMenuItemPrivate = *mut _GtkCheckMenuItemPrivate;
3495
3496#[repr(C)]
3497#[derive(Copy, Clone)]
3498pub struct GtkColorButtonClass {
3499    pub parent_class: GtkButtonClass,
3500    pub color_set: Option<unsafe extern "C" fn(*mut GtkColorButton)>,
3501    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3502    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3503    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3504    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3505}
3506
3507impl ::std::fmt::Debug for GtkColorButtonClass {
3508    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3509        f.debug_struct(&format!("GtkColorButtonClass @ {:?}", self as *const _))
3510            .field("parent_class", &self.parent_class)
3511            .field("color_set", &self.color_set)
3512            .field("_gtk_reserved1", &self._gtk_reserved1)
3513            .field("_gtk_reserved2", &self._gtk_reserved2)
3514            .field("_gtk_reserved3", &self._gtk_reserved3)
3515            .field("_gtk_reserved4", &self._gtk_reserved4)
3516            .finish()
3517    }
3518}
3519
3520#[repr(C)]
3521pub struct _GtkColorButtonPrivate(c_void);
3522
3523pub type GtkColorButtonPrivate = *mut _GtkColorButtonPrivate;
3524
3525#[repr(C)]
3526#[derive(Copy, Clone)]
3527pub struct GtkColorChooserDialogClass {
3528    pub parent_class: GtkDialogClass,
3529    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3530    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3531    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3532    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3533}
3534
3535impl ::std::fmt::Debug for GtkColorChooserDialogClass {
3536    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3537        f.debug_struct(&format!(
3538            "GtkColorChooserDialogClass @ {:?}",
3539            self as *const _
3540        ))
3541        .field("parent_class", &self.parent_class)
3542        .field("_gtk_reserved1", &self._gtk_reserved1)
3543        .field("_gtk_reserved2", &self._gtk_reserved2)
3544        .field("_gtk_reserved3", &self._gtk_reserved3)
3545        .field("_gtk_reserved4", &self._gtk_reserved4)
3546        .finish()
3547    }
3548}
3549
3550#[repr(C)]
3551pub struct _GtkColorChooserDialogPrivate(c_void);
3552
3553pub type GtkColorChooserDialogPrivate = *mut _GtkColorChooserDialogPrivate;
3554
3555#[repr(C)]
3556#[derive(Copy, Clone)]
3557pub struct GtkColorChooserInterface {
3558    pub base_interface: gobject::GTypeInterface,
3559    pub get_rgba: Option<unsafe extern "C" fn(*mut GtkColorChooser, *const gdk::GdkRGBA)>,
3560    pub set_rgba: Option<unsafe extern "C" fn(*mut GtkColorChooser, *const gdk::GdkRGBA)>,
3561    pub add_palette: Option<
3562        unsafe extern "C" fn(*mut GtkColorChooser, GtkOrientation, c_int, c_int, *mut gdk::GdkRGBA),
3563    >,
3564    pub color_activated: Option<unsafe extern "C" fn(*mut GtkColorChooser, *const gdk::GdkRGBA)>,
3565    pub padding: [gpointer; 12],
3566}
3567
3568impl ::std::fmt::Debug for GtkColorChooserInterface {
3569    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3570        f.debug_struct(&format!(
3571            "GtkColorChooserInterface @ {:?}",
3572            self as *const _
3573        ))
3574        .field("base_interface", &self.base_interface)
3575        .field("get_rgba", &self.get_rgba)
3576        .field("set_rgba", &self.set_rgba)
3577        .field("add_palette", &self.add_palette)
3578        .field("color_activated", &self.color_activated)
3579        .field("padding", &self.padding)
3580        .finish()
3581    }
3582}
3583
3584#[repr(C)]
3585#[derive(Copy, Clone)]
3586pub struct GtkColorChooserWidgetClass {
3587    pub parent_class: GtkBoxClass,
3588    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3589    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3590    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3591    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3592    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
3593    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
3594    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
3595    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
3596}
3597
3598impl ::std::fmt::Debug for GtkColorChooserWidgetClass {
3599    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3600        f.debug_struct(&format!(
3601            "GtkColorChooserWidgetClass @ {:?}",
3602            self as *const _
3603        ))
3604        .field("parent_class", &self.parent_class)
3605        .field("_gtk_reserved1", &self._gtk_reserved1)
3606        .field("_gtk_reserved2", &self._gtk_reserved2)
3607        .field("_gtk_reserved3", &self._gtk_reserved3)
3608        .field("_gtk_reserved4", &self._gtk_reserved4)
3609        .field("_gtk_reserved5", &self._gtk_reserved5)
3610        .field("_gtk_reserved6", &self._gtk_reserved6)
3611        .field("_gtk_reserved7", &self._gtk_reserved7)
3612        .field("_gtk_reserved8", &self._gtk_reserved8)
3613        .finish()
3614    }
3615}
3616
3617#[repr(C)]
3618pub struct _GtkColorChooserWidgetPrivate(c_void);
3619
3620pub type GtkColorChooserWidgetPrivate = *mut _GtkColorChooserWidgetPrivate;
3621
3622#[repr(C)]
3623#[derive(Copy, Clone)]
3624pub struct GtkColorSelectionClass {
3625    pub parent_class: GtkBoxClass,
3626    pub color_changed: Option<unsafe extern "C" fn(*mut GtkColorSelection)>,
3627    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3628    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3629    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3630    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3631}
3632
3633impl ::std::fmt::Debug for GtkColorSelectionClass {
3634    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3635        f.debug_struct(&format!("GtkColorSelectionClass @ {:?}", self as *const _))
3636            .field("parent_class", &self.parent_class)
3637            .field("color_changed", &self.color_changed)
3638            .field("_gtk_reserved1", &self._gtk_reserved1)
3639            .field("_gtk_reserved2", &self._gtk_reserved2)
3640            .field("_gtk_reserved3", &self._gtk_reserved3)
3641            .field("_gtk_reserved4", &self._gtk_reserved4)
3642            .finish()
3643    }
3644}
3645
3646#[repr(C)]
3647#[derive(Copy, Clone)]
3648pub struct GtkColorSelectionDialogClass {
3649    pub parent_class: GtkDialogClass,
3650    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3651    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3652    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3653    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3654}
3655
3656impl ::std::fmt::Debug for GtkColorSelectionDialogClass {
3657    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3658        f.debug_struct(&format!(
3659            "GtkColorSelectionDialogClass @ {:?}",
3660            self as *const _
3661        ))
3662        .field("parent_class", &self.parent_class)
3663        .field("_gtk_reserved1", &self._gtk_reserved1)
3664        .field("_gtk_reserved2", &self._gtk_reserved2)
3665        .field("_gtk_reserved3", &self._gtk_reserved3)
3666        .field("_gtk_reserved4", &self._gtk_reserved4)
3667        .finish()
3668    }
3669}
3670
3671#[repr(C)]
3672pub struct _GtkColorSelectionDialogPrivate(c_void);
3673
3674pub type GtkColorSelectionDialogPrivate = *mut _GtkColorSelectionDialogPrivate;
3675
3676#[repr(C)]
3677pub struct _GtkColorSelectionPrivate(c_void);
3678
3679pub type GtkColorSelectionPrivate = *mut _GtkColorSelectionPrivate;
3680
3681#[repr(C)]
3682#[derive(Copy, Clone)]
3683pub struct GtkComboBoxAccessibleClass {
3684    pub parent_class: GtkContainerAccessibleClass,
3685}
3686
3687impl ::std::fmt::Debug for GtkComboBoxAccessibleClass {
3688    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3689        f.debug_struct(&format!(
3690            "GtkComboBoxAccessibleClass @ {:?}",
3691            self as *const _
3692        ))
3693        .field("parent_class", &self.parent_class)
3694        .finish()
3695    }
3696}
3697
3698#[repr(C)]
3699pub struct _GtkComboBoxAccessiblePrivate(c_void);
3700
3701pub type GtkComboBoxAccessiblePrivate = *mut _GtkComboBoxAccessiblePrivate;
3702
3703#[repr(C)]
3704#[derive(Copy, Clone)]
3705pub struct GtkComboBoxClass {
3706    pub parent_class: GtkBinClass,
3707    pub changed: Option<unsafe extern "C" fn(*mut GtkComboBox)>,
3708    pub format_entry_text:
3709        Option<unsafe extern "C" fn(*mut GtkComboBox, *const c_char) -> *mut c_char>,
3710    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3711    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3712    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3713}
3714
3715impl ::std::fmt::Debug for GtkComboBoxClass {
3716    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3717        f.debug_struct(&format!("GtkComboBoxClass @ {:?}", self as *const _))
3718            .field("parent_class", &self.parent_class)
3719            .field("changed", &self.changed)
3720            .field("format_entry_text", &self.format_entry_text)
3721            .field("_gtk_reserved1", &self._gtk_reserved1)
3722            .field("_gtk_reserved2", &self._gtk_reserved2)
3723            .field("_gtk_reserved3", &self._gtk_reserved3)
3724            .finish()
3725    }
3726}
3727
3728#[repr(C)]
3729pub struct _GtkComboBoxPrivate(c_void);
3730
3731pub type GtkComboBoxPrivate = *mut _GtkComboBoxPrivate;
3732
3733#[repr(C)]
3734#[derive(Copy, Clone)]
3735pub struct GtkComboBoxTextClass {
3736    pub parent_class: GtkComboBoxClass,
3737    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3738    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3739    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3740    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3741}
3742
3743impl ::std::fmt::Debug for GtkComboBoxTextClass {
3744    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3745        f.debug_struct(&format!("GtkComboBoxTextClass @ {:?}", self as *const _))
3746            .field("parent_class", &self.parent_class)
3747            .field("_gtk_reserved1", &self._gtk_reserved1)
3748            .field("_gtk_reserved2", &self._gtk_reserved2)
3749            .field("_gtk_reserved3", &self._gtk_reserved3)
3750            .field("_gtk_reserved4", &self._gtk_reserved4)
3751            .finish()
3752    }
3753}
3754
3755#[repr(C)]
3756pub struct _GtkComboBoxTextPrivate(c_void);
3757
3758pub type GtkComboBoxTextPrivate = *mut _GtkComboBoxTextPrivate;
3759
3760#[repr(C)]
3761#[derive(Copy, Clone)]
3762pub struct GtkContainerAccessibleClass {
3763    pub parent_class: GtkWidgetAccessibleClass,
3764    pub add_gtk: Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget, gpointer) -> c_int>,
3765    pub remove_gtk:
3766        Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget, gpointer) -> c_int>,
3767}
3768
3769impl ::std::fmt::Debug for GtkContainerAccessibleClass {
3770    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3771        f.debug_struct(&format!(
3772            "GtkContainerAccessibleClass @ {:?}",
3773            self as *const _
3774        ))
3775        .field("parent_class", &self.parent_class)
3776        .field("add_gtk", &self.add_gtk)
3777        .field("remove_gtk", &self.remove_gtk)
3778        .finish()
3779    }
3780}
3781
3782#[repr(C)]
3783pub struct _GtkContainerAccessiblePrivate(c_void);
3784
3785pub type GtkContainerAccessiblePrivate = *mut _GtkContainerAccessiblePrivate;
3786
3787#[repr(C)]
3788#[derive(Copy, Clone)]
3789pub struct GtkContainerCellAccessibleClass {
3790    pub parent_class: GtkCellAccessibleClass,
3791}
3792
3793impl ::std::fmt::Debug for GtkContainerCellAccessibleClass {
3794    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3795        f.debug_struct(&format!(
3796            "GtkContainerCellAccessibleClass @ {:?}",
3797            self as *const _
3798        ))
3799        .field("parent_class", &self.parent_class)
3800        .finish()
3801    }
3802}
3803
3804#[repr(C)]
3805pub struct _GtkContainerCellAccessiblePrivate(c_void);
3806
3807pub type GtkContainerCellAccessiblePrivate = *mut _GtkContainerCellAccessiblePrivate;
3808
3809#[repr(C)]
3810#[derive(Copy, Clone)]
3811pub struct GtkContainerClass {
3812    pub parent_class: GtkWidgetClass,
3813    pub add: Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget)>,
3814    pub remove: Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget)>,
3815    pub check_resize: Option<unsafe extern "C" fn(*mut GtkContainer)>,
3816    pub forall: Option<unsafe extern "C" fn(*mut GtkContainer, gboolean, GtkCallback, gpointer)>,
3817    pub set_focus_child: Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget)>,
3818    pub child_type: Option<unsafe extern "C" fn(*mut GtkContainer) -> GType>,
3819    pub composite_name:
3820        Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget) -> *mut c_char>,
3821    pub set_child_property: Option<
3822        unsafe extern "C" fn(
3823            *mut GtkContainer,
3824            *mut GtkWidget,
3825            c_uint,
3826            *mut gobject::GValue,
3827            *mut gobject::GParamSpec,
3828        ),
3829    >,
3830    pub get_child_property: Option<
3831        unsafe extern "C" fn(
3832            *mut GtkContainer,
3833            *mut GtkWidget,
3834            c_uint,
3835            *mut gobject::GValue,
3836            *mut gobject::GParamSpec,
3837        ),
3838    >,
3839    pub get_path_for_child:
3840        Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget) -> *mut GtkWidgetPath>,
3841    pub _handle_border_width: c_uint,
3842    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3843    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3844    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3845    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3846    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
3847    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
3848    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
3849    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
3850}
3851
3852impl ::std::fmt::Debug for GtkContainerClass {
3853    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3854        f.debug_struct(&format!("GtkContainerClass @ {:?}", self as *const _))
3855            .field("parent_class", &self.parent_class)
3856            .field("add", &self.add)
3857            .field("remove", &self.remove)
3858            .field("check_resize", &self.check_resize)
3859            .field("forall", &self.forall)
3860            .field("set_focus_child", &self.set_focus_child)
3861            .field("child_type", &self.child_type)
3862            .field("composite_name", &self.composite_name)
3863            .field("set_child_property", &self.set_child_property)
3864            .field("get_child_property", &self.get_child_property)
3865            .field("get_path_for_child", &self.get_path_for_child)
3866            .field("_gtk_reserved1", &self._gtk_reserved1)
3867            .field("_gtk_reserved2", &self._gtk_reserved2)
3868            .field("_gtk_reserved3", &self._gtk_reserved3)
3869            .field("_gtk_reserved4", &self._gtk_reserved4)
3870            .field("_gtk_reserved5", &self._gtk_reserved5)
3871            .field("_gtk_reserved6", &self._gtk_reserved6)
3872            .field("_gtk_reserved7", &self._gtk_reserved7)
3873            .field("_gtk_reserved8", &self._gtk_reserved8)
3874            .finish()
3875    }
3876}
3877
3878#[repr(C)]
3879pub struct _GtkContainerPrivate(c_void);
3880
3881pub type GtkContainerPrivate = *mut _GtkContainerPrivate;
3882
3883#[repr(C)]
3884#[derive(Copy, Clone)]
3885pub struct GtkCssProviderClass {
3886    pub parent_class: gobject::GObjectClass,
3887    pub parsing_error:
3888        Option<unsafe extern "C" fn(*mut GtkCssProvider, *mut GtkCssSection, *const glib::GError)>,
3889    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3890    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3891    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3892}
3893
3894impl ::std::fmt::Debug for GtkCssProviderClass {
3895    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3896        f.debug_struct(&format!("GtkCssProviderClass @ {:?}", self as *const _))
3897            .field("parent_class", &self.parent_class)
3898            .field("parsing_error", &self.parsing_error)
3899            .field("_gtk_reserved2", &self._gtk_reserved2)
3900            .field("_gtk_reserved3", &self._gtk_reserved3)
3901            .field("_gtk_reserved4", &self._gtk_reserved4)
3902            .finish()
3903    }
3904}
3905
3906#[repr(C)]
3907pub struct _GtkCssProviderPrivate(c_void);
3908
3909pub type GtkCssProviderPrivate = *mut _GtkCssProviderPrivate;
3910
3911#[repr(C)]
3912pub struct GtkCssSection(c_void);
3913
3914impl ::std::fmt::Debug for GtkCssSection {
3915    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3916        f.debug_struct(&format!("GtkCssSection @ {:?}", self as *const _))
3917            .finish()
3918    }
3919}
3920
3921#[repr(C)]
3922#[derive(Copy, Clone)]
3923pub struct GtkDialogClass {
3924    pub parent_class: GtkWindowClass,
3925    pub response: Option<unsafe extern "C" fn(*mut GtkDialog, GtkResponseType)>,
3926    pub close: Option<unsafe extern "C" fn(*mut GtkDialog)>,
3927    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3928    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3929    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3930    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3931}
3932
3933impl ::std::fmt::Debug for GtkDialogClass {
3934    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3935        f.debug_struct(&format!("GtkDialogClass @ {:?}", self as *const _))
3936            .field("parent_class", &self.parent_class)
3937            .field("response", &self.response)
3938            .field("close", &self.close)
3939            .field("_gtk_reserved1", &self._gtk_reserved1)
3940            .field("_gtk_reserved2", &self._gtk_reserved2)
3941            .field("_gtk_reserved3", &self._gtk_reserved3)
3942            .field("_gtk_reserved4", &self._gtk_reserved4)
3943            .finish()
3944    }
3945}
3946
3947#[repr(C)]
3948pub struct _GtkDialogPrivate(c_void);
3949
3950pub type GtkDialogPrivate = *mut _GtkDialogPrivate;
3951
3952#[repr(C)]
3953#[derive(Copy, Clone)]
3954pub struct GtkDrawingAreaClass {
3955    pub parent_class: GtkWidgetClass,
3956    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
3957    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
3958    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
3959    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
3960}
3961
3962impl ::std::fmt::Debug for GtkDrawingAreaClass {
3963    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3964        f.debug_struct(&format!("GtkDrawingAreaClass @ {:?}", self as *const _))
3965            .field("parent_class", &self.parent_class)
3966            .field("_gtk_reserved1", &self._gtk_reserved1)
3967            .field("_gtk_reserved2", &self._gtk_reserved2)
3968            .field("_gtk_reserved3", &self._gtk_reserved3)
3969            .field("_gtk_reserved4", &self._gtk_reserved4)
3970            .finish()
3971    }
3972}
3973
3974#[repr(C)]
3975#[derive(Copy, Clone)]
3976pub struct GtkEditableInterface {
3977    pub base_iface: gobject::GTypeInterface,
3978    pub insert_text:
3979        Option<unsafe extern "C" fn(*mut GtkEditable, *const c_char, c_int, *mut c_int)>,
3980    pub delete_text: Option<unsafe extern "C" fn(*mut GtkEditable, c_int, c_int)>,
3981    pub changed: Option<unsafe extern "C" fn(*mut GtkEditable)>,
3982    pub do_insert_text:
3983        Option<unsafe extern "C" fn(*mut GtkEditable, *const c_char, c_int, *mut c_int)>,
3984    pub do_delete_text: Option<unsafe extern "C" fn(*mut GtkEditable, c_int, c_int)>,
3985    pub get_chars: Option<unsafe extern "C" fn(*mut GtkEditable, c_int, c_int) -> *mut c_char>,
3986    pub set_selection_bounds: Option<unsafe extern "C" fn(*mut GtkEditable, c_int, c_int)>,
3987    pub get_selection_bounds:
3988        Option<unsafe extern "C" fn(*mut GtkEditable, *mut c_int, *mut c_int) -> gboolean>,
3989    pub set_position: Option<unsafe extern "C" fn(*mut GtkEditable, c_int)>,
3990    pub get_position: Option<unsafe extern "C" fn(*mut GtkEditable) -> c_int>,
3991}
3992
3993impl ::std::fmt::Debug for GtkEditableInterface {
3994    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3995        f.debug_struct(&format!("GtkEditableInterface @ {:?}", self as *const _))
3996            .field("base_iface", &self.base_iface)
3997            .field("insert_text", &self.insert_text)
3998            .field("delete_text", &self.delete_text)
3999            .field("changed", &self.changed)
4000            .field("do_insert_text", &self.do_insert_text)
4001            .field("do_delete_text", &self.do_delete_text)
4002            .field("get_chars", &self.get_chars)
4003            .field("set_selection_bounds", &self.set_selection_bounds)
4004            .field("get_selection_bounds", &self.get_selection_bounds)
4005            .field("set_position", &self.set_position)
4006            .field("get_position", &self.get_position)
4007            .finish()
4008    }
4009}
4010
4011#[repr(C)]
4012#[derive(Copy, Clone)]
4013pub struct GtkEntryAccessibleClass {
4014    pub parent_class: GtkWidgetAccessibleClass,
4015}
4016
4017impl ::std::fmt::Debug for GtkEntryAccessibleClass {
4018    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4019        f.debug_struct(&format!("GtkEntryAccessibleClass @ {:?}", self as *const _))
4020            .field("parent_class", &self.parent_class)
4021            .finish()
4022    }
4023}
4024
4025#[repr(C)]
4026pub struct _GtkEntryAccessiblePrivate(c_void);
4027
4028pub type GtkEntryAccessiblePrivate = *mut _GtkEntryAccessiblePrivate;
4029
4030#[repr(C)]
4031#[derive(Copy, Clone)]
4032pub struct GtkEntryBufferClass {
4033    pub parent_class: gobject::GObjectClass,
4034    pub inserted_text:
4035        Option<unsafe extern "C" fn(*mut GtkEntryBuffer, c_uint, *const c_char, c_uint)>,
4036    pub deleted_text: Option<unsafe extern "C" fn(*mut GtkEntryBuffer, c_uint, c_uint)>,
4037    pub get_text: Option<unsafe extern "C" fn(*mut GtkEntryBuffer, *mut size_t) -> *const c_char>,
4038    pub get_length: Option<unsafe extern "C" fn(*mut GtkEntryBuffer) -> c_uint>,
4039    pub insert_text:
4040        Option<unsafe extern "C" fn(*mut GtkEntryBuffer, c_uint, *const c_char, c_uint) -> c_uint>,
4041    pub delete_text: Option<unsafe extern "C" fn(*mut GtkEntryBuffer, c_uint, c_uint) -> c_uint>,
4042    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4043    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4044    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4045    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4046    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
4047    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
4048    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
4049    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
4050}
4051
4052impl ::std::fmt::Debug for GtkEntryBufferClass {
4053    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4054        f.debug_struct(&format!("GtkEntryBufferClass @ {:?}", self as *const _))
4055            .field("parent_class", &self.parent_class)
4056            .field("inserted_text", &self.inserted_text)
4057            .field("deleted_text", &self.deleted_text)
4058            .field("get_text", &self.get_text)
4059            .field("get_length", &self.get_length)
4060            .field("insert_text", &self.insert_text)
4061            .field("delete_text", &self.delete_text)
4062            .field("_gtk_reserved1", &self._gtk_reserved1)
4063            .field("_gtk_reserved2", &self._gtk_reserved2)
4064            .field("_gtk_reserved3", &self._gtk_reserved3)
4065            .field("_gtk_reserved4", &self._gtk_reserved4)
4066            .field("_gtk_reserved5", &self._gtk_reserved5)
4067            .field("_gtk_reserved6", &self._gtk_reserved6)
4068            .field("_gtk_reserved7", &self._gtk_reserved7)
4069            .field("_gtk_reserved8", &self._gtk_reserved8)
4070            .finish()
4071    }
4072}
4073
4074#[repr(C)]
4075pub struct _GtkEntryBufferPrivate(c_void);
4076
4077pub type GtkEntryBufferPrivate = *mut _GtkEntryBufferPrivate;
4078
4079#[repr(C)]
4080#[derive(Copy, Clone)]
4081pub struct GtkEntryClass {
4082    pub parent_class: GtkWidgetClass,
4083    pub populate_popup: Option<unsafe extern "C" fn(*mut GtkEntry, *mut GtkWidget)>,
4084    pub activate: Option<unsafe extern "C" fn(*mut GtkEntry)>,
4085    pub move_cursor: Option<unsafe extern "C" fn(*mut GtkEntry, GtkMovementStep, c_int, gboolean)>,
4086    pub insert_at_cursor: Option<unsafe extern "C" fn(*mut GtkEntry, *const c_char)>,
4087    pub delete_from_cursor: Option<unsafe extern "C" fn(*mut GtkEntry, GtkDeleteType, c_int)>,
4088    pub backspace: Option<unsafe extern "C" fn(*mut GtkEntry)>,
4089    pub cut_clipboard: Option<unsafe extern "C" fn(*mut GtkEntry)>,
4090    pub copy_clipboard: Option<unsafe extern "C" fn(*mut GtkEntry)>,
4091    pub paste_clipboard: Option<unsafe extern "C" fn(*mut GtkEntry)>,
4092    pub toggle_overwrite: Option<unsafe extern "C" fn(*mut GtkEntry)>,
4093    pub get_text_area_size:
4094        Option<unsafe extern "C" fn(*mut GtkEntry, *mut c_int, *mut c_int, *mut c_int, *mut c_int)>,
4095    pub get_frame_size:
4096        Option<unsafe extern "C" fn(*mut GtkEntry, *mut c_int, *mut c_int, *mut c_int, *mut c_int)>,
4097    pub insert_emoji: Option<unsafe extern "C" fn(*mut GtkEntry)>,
4098    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4099    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4100    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4101    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4102    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
4103    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
4104}
4105
4106impl ::std::fmt::Debug for GtkEntryClass {
4107    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4108        f.debug_struct(&format!("GtkEntryClass @ {:?}", self as *const _))
4109            .field("parent_class", &self.parent_class)
4110            .field("populate_popup", &self.populate_popup)
4111            .field("activate", &self.activate)
4112            .field("move_cursor", &self.move_cursor)
4113            .field("insert_at_cursor", &self.insert_at_cursor)
4114            .field("delete_from_cursor", &self.delete_from_cursor)
4115            .field("backspace", &self.backspace)
4116            .field("cut_clipboard", &self.cut_clipboard)
4117            .field("copy_clipboard", &self.copy_clipboard)
4118            .field("paste_clipboard", &self.paste_clipboard)
4119            .field("toggle_overwrite", &self.toggle_overwrite)
4120            .field("get_text_area_size", &self.get_text_area_size)
4121            .field("get_frame_size", &self.get_frame_size)
4122            .field("insert_emoji", &self.insert_emoji)
4123            .field("_gtk_reserved1", &self._gtk_reserved1)
4124            .field("_gtk_reserved2", &self._gtk_reserved2)
4125            .field("_gtk_reserved3", &self._gtk_reserved3)
4126            .field("_gtk_reserved4", &self._gtk_reserved4)
4127            .field("_gtk_reserved5", &self._gtk_reserved5)
4128            .field("_gtk_reserved6", &self._gtk_reserved6)
4129            .finish()
4130    }
4131}
4132
4133#[repr(C)]
4134#[derive(Copy, Clone)]
4135pub struct GtkEntryCompletionClass {
4136    pub parent_class: gobject::GObjectClass,
4137    pub match_selected: Option<
4138        unsafe extern "C" fn(
4139            *mut GtkEntryCompletion,
4140            *mut GtkTreeModel,
4141            *mut GtkTreeIter,
4142        ) -> gboolean,
4143    >,
4144    pub action_activated: Option<unsafe extern "C" fn(*mut GtkEntryCompletion, c_int)>,
4145    pub insert_prefix:
4146        Option<unsafe extern "C" fn(*mut GtkEntryCompletion, *const c_char) -> gboolean>,
4147    pub cursor_on_match: Option<
4148        unsafe extern "C" fn(
4149            *mut GtkEntryCompletion,
4150            *mut GtkTreeModel,
4151            *mut GtkTreeIter,
4152        ) -> gboolean,
4153    >,
4154    pub no_matches: Option<unsafe extern "C" fn(*mut GtkEntryCompletion)>,
4155    pub _gtk_reserved0: Option<unsafe extern "C" fn()>,
4156    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4157    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4158}
4159
4160impl ::std::fmt::Debug for GtkEntryCompletionClass {
4161    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4162        f.debug_struct(&format!("GtkEntryCompletionClass @ {:?}", self as *const _))
4163            .field("parent_class", &self.parent_class)
4164            .field("match_selected", &self.match_selected)
4165            .field("action_activated", &self.action_activated)
4166            .field("insert_prefix", &self.insert_prefix)
4167            .field("cursor_on_match", &self.cursor_on_match)
4168            .field("no_matches", &self.no_matches)
4169            .field("_gtk_reserved0", &self._gtk_reserved0)
4170            .field("_gtk_reserved1", &self._gtk_reserved1)
4171            .field("_gtk_reserved2", &self._gtk_reserved2)
4172            .finish()
4173    }
4174}
4175
4176#[repr(C)]
4177pub struct _GtkEntryCompletionPrivate(c_void);
4178
4179pub type GtkEntryCompletionPrivate = *mut _GtkEntryCompletionPrivate;
4180
4181#[repr(C)]
4182pub struct _GtkEntryPrivate(c_void);
4183
4184pub type GtkEntryPrivate = *mut _GtkEntryPrivate;
4185
4186#[repr(C)]
4187#[derive(Copy, Clone)]
4188pub struct GtkEventBoxClass {
4189    pub parent_class: GtkBinClass,
4190    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4191    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4192    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4193    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4194}
4195
4196impl ::std::fmt::Debug for GtkEventBoxClass {
4197    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4198        f.debug_struct(&format!("GtkEventBoxClass @ {:?}", self as *const _))
4199            .field("parent_class", &self.parent_class)
4200            .field("_gtk_reserved1", &self._gtk_reserved1)
4201            .field("_gtk_reserved2", &self._gtk_reserved2)
4202            .field("_gtk_reserved3", &self._gtk_reserved3)
4203            .field("_gtk_reserved4", &self._gtk_reserved4)
4204            .finish()
4205    }
4206}
4207
4208#[repr(C)]
4209pub struct _GtkEventBoxPrivate(c_void);
4210
4211pub type GtkEventBoxPrivate = *mut _GtkEventBoxPrivate;
4212
4213#[repr(C)]
4214pub struct _GtkEventControllerClass(c_void);
4215
4216pub type GtkEventControllerClass = *mut _GtkEventControllerClass;
4217
4218#[repr(C)]
4219pub struct _GtkEventControllerKeyClass(c_void);
4220
4221pub type GtkEventControllerKeyClass = *mut _GtkEventControllerKeyClass;
4222
4223#[repr(C)]
4224pub struct _GtkEventControllerMotionClass(c_void);
4225
4226pub type GtkEventControllerMotionClass = *mut _GtkEventControllerMotionClass;
4227
4228#[repr(C)]
4229pub struct _GtkEventControllerScrollClass(c_void);
4230
4231pub type GtkEventControllerScrollClass = *mut _GtkEventControllerScrollClass;
4232
4233#[repr(C)]
4234#[derive(Copy, Clone)]
4235pub struct GtkExpanderAccessibleClass {
4236    pub parent_class: GtkContainerAccessibleClass,
4237}
4238
4239impl ::std::fmt::Debug for GtkExpanderAccessibleClass {
4240    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4241        f.debug_struct(&format!(
4242            "GtkExpanderAccessibleClass @ {:?}",
4243            self as *const _
4244        ))
4245        .field("parent_class", &self.parent_class)
4246        .finish()
4247    }
4248}
4249
4250#[repr(C)]
4251pub struct _GtkExpanderAccessiblePrivate(c_void);
4252
4253pub type GtkExpanderAccessiblePrivate = *mut _GtkExpanderAccessiblePrivate;
4254
4255#[repr(C)]
4256#[derive(Copy, Clone)]
4257pub struct GtkExpanderClass {
4258    pub parent_class: GtkBinClass,
4259    pub activate: Option<unsafe extern "C" fn(*mut GtkExpander)>,
4260    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4261    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4262    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4263    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4264}
4265
4266impl ::std::fmt::Debug for GtkExpanderClass {
4267    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4268        f.debug_struct(&format!("GtkExpanderClass @ {:?}", self as *const _))
4269            .field("parent_class", &self.parent_class)
4270            .field("activate", &self.activate)
4271            .field("_gtk_reserved1", &self._gtk_reserved1)
4272            .field("_gtk_reserved2", &self._gtk_reserved2)
4273            .field("_gtk_reserved3", &self._gtk_reserved3)
4274            .field("_gtk_reserved4", &self._gtk_reserved4)
4275            .finish()
4276    }
4277}
4278
4279#[repr(C)]
4280pub struct _GtkExpanderPrivate(c_void);
4281
4282pub type GtkExpanderPrivate = *mut _GtkExpanderPrivate;
4283
4284#[repr(C)]
4285#[derive(Copy, Clone)]
4286pub struct GtkFileChooserButtonClass {
4287    pub parent_class: GtkBoxClass,
4288    pub file_set: Option<unsafe extern "C" fn(*mut GtkFileChooserButton)>,
4289    pub __gtk_reserved1: Option<unsafe extern "C" fn()>,
4290    pub __gtk_reserved2: Option<unsafe extern "C" fn()>,
4291    pub __gtk_reserved3: Option<unsafe extern "C" fn()>,
4292    pub __gtk_reserved4: Option<unsafe extern "C" fn()>,
4293}
4294
4295impl ::std::fmt::Debug for GtkFileChooserButtonClass {
4296    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4297        f.debug_struct(&format!(
4298            "GtkFileChooserButtonClass @ {:?}",
4299            self as *const _
4300        ))
4301        .field("parent_class", &self.parent_class)
4302        .field("file_set", &self.file_set)
4303        .field("__gtk_reserved1", &self.__gtk_reserved1)
4304        .field("__gtk_reserved2", &self.__gtk_reserved2)
4305        .field("__gtk_reserved3", &self.__gtk_reserved3)
4306        .field("__gtk_reserved4", &self.__gtk_reserved4)
4307        .finish()
4308    }
4309}
4310
4311#[repr(C)]
4312pub struct _GtkFileChooserButtonPrivate(c_void);
4313
4314pub type GtkFileChooserButtonPrivate = *mut _GtkFileChooserButtonPrivate;
4315
4316#[repr(C)]
4317#[derive(Copy, Clone)]
4318pub struct GtkFileChooserDialogClass {
4319    pub parent_class: GtkDialogClass,
4320    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4321    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4322    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4323    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4324}
4325
4326impl ::std::fmt::Debug for GtkFileChooserDialogClass {
4327    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4328        f.debug_struct(&format!(
4329            "GtkFileChooserDialogClass @ {:?}",
4330            self as *const _
4331        ))
4332        .field("parent_class", &self.parent_class)
4333        .field("_gtk_reserved1", &self._gtk_reserved1)
4334        .field("_gtk_reserved2", &self._gtk_reserved2)
4335        .field("_gtk_reserved3", &self._gtk_reserved3)
4336        .field("_gtk_reserved4", &self._gtk_reserved4)
4337        .finish()
4338    }
4339}
4340
4341#[repr(C)]
4342pub struct _GtkFileChooserDialogPrivate(c_void);
4343
4344pub type GtkFileChooserDialogPrivate = *mut _GtkFileChooserDialogPrivate;
4345
4346#[repr(C)]
4347#[derive(Copy, Clone)]
4348pub struct GtkFileChooserNativeClass {
4349    pub parent_class: GtkNativeDialogClass,
4350}
4351
4352impl ::std::fmt::Debug for GtkFileChooserNativeClass {
4353    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4354        f.debug_struct(&format!(
4355            "GtkFileChooserNativeClass @ {:?}",
4356            self as *const _
4357        ))
4358        .field("parent_class", &self.parent_class)
4359        .finish()
4360    }
4361}
4362
4363#[repr(C)]
4364#[derive(Copy, Clone)]
4365pub struct GtkFileChooserWidgetClass {
4366    pub parent_class: GtkBoxClass,
4367    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4368    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4369    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4370    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4371}
4372
4373impl ::std::fmt::Debug for GtkFileChooserWidgetClass {
4374    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4375        f.debug_struct(&format!(
4376            "GtkFileChooserWidgetClass @ {:?}",
4377            self as *const _
4378        ))
4379        .field("parent_class", &self.parent_class)
4380        .field("_gtk_reserved1", &self._gtk_reserved1)
4381        .field("_gtk_reserved2", &self._gtk_reserved2)
4382        .field("_gtk_reserved3", &self._gtk_reserved3)
4383        .field("_gtk_reserved4", &self._gtk_reserved4)
4384        .finish()
4385    }
4386}
4387
4388#[repr(C)]
4389pub struct _GtkFileChooserWidgetPrivate(c_void);
4390
4391pub type GtkFileChooserWidgetPrivate = *mut _GtkFileChooserWidgetPrivate;
4392
4393#[repr(C)]
4394#[derive(Copy, Clone)]
4395pub struct GtkFileFilterInfo {
4396    pub contains: GtkFileFilterFlags,
4397    pub filename: *const c_char,
4398    pub uri: *const c_char,
4399    pub display_name: *const c_char,
4400    pub mime_type: *const c_char,
4401}
4402
4403impl ::std::fmt::Debug for GtkFileFilterInfo {
4404    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4405        f.debug_struct(&format!("GtkFileFilterInfo @ {:?}", self as *const _))
4406            .field("contains", &self.contains)
4407            .field("filename", &self.filename)
4408            .field("uri", &self.uri)
4409            .field("display_name", &self.display_name)
4410            .field("mime_type", &self.mime_type)
4411            .finish()
4412    }
4413}
4414
4415#[repr(C)]
4416#[derive(Copy, Clone)]
4417pub struct GtkFixedChild {
4418    pub widget: *mut GtkWidget,
4419    pub x: c_int,
4420    pub y: c_int,
4421}
4422
4423impl ::std::fmt::Debug for GtkFixedChild {
4424    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4425        f.debug_struct(&format!("GtkFixedChild @ {:?}", self as *const _))
4426            .field("widget", &self.widget)
4427            .field("x", &self.x)
4428            .field("y", &self.y)
4429            .finish()
4430    }
4431}
4432
4433#[repr(C)]
4434#[derive(Copy, Clone)]
4435pub struct GtkFixedClass {
4436    pub parent_class: GtkContainerClass,
4437    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4438    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4439    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4440    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4441}
4442
4443impl ::std::fmt::Debug for GtkFixedClass {
4444    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4445        f.debug_struct(&format!("GtkFixedClass @ {:?}", self as *const _))
4446            .field("parent_class", &self.parent_class)
4447            .field("_gtk_reserved1", &self._gtk_reserved1)
4448            .field("_gtk_reserved2", &self._gtk_reserved2)
4449            .field("_gtk_reserved3", &self._gtk_reserved3)
4450            .field("_gtk_reserved4", &self._gtk_reserved4)
4451            .finish()
4452    }
4453}
4454
4455#[repr(C)]
4456pub struct _GtkFixedPrivate(c_void);
4457
4458pub type GtkFixedPrivate = *mut _GtkFixedPrivate;
4459
4460#[repr(C)]
4461#[derive(Copy, Clone)]
4462pub struct GtkFlowBoxAccessibleClass {
4463    pub parent_class: GtkContainerAccessibleClass,
4464}
4465
4466impl ::std::fmt::Debug for GtkFlowBoxAccessibleClass {
4467    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4468        f.debug_struct(&format!(
4469            "GtkFlowBoxAccessibleClass @ {:?}",
4470            self as *const _
4471        ))
4472        .field("parent_class", &self.parent_class)
4473        .finish()
4474    }
4475}
4476
4477#[repr(C)]
4478pub struct _GtkFlowBoxAccessiblePrivate(c_void);
4479
4480pub type GtkFlowBoxAccessiblePrivate = *mut _GtkFlowBoxAccessiblePrivate;
4481
4482#[repr(C)]
4483#[derive(Copy, Clone)]
4484pub struct GtkFlowBoxChildAccessibleClass {
4485    pub parent_class: GtkContainerAccessibleClass,
4486}
4487
4488impl ::std::fmt::Debug for GtkFlowBoxChildAccessibleClass {
4489    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4490        f.debug_struct(&format!(
4491            "GtkFlowBoxChildAccessibleClass @ {:?}",
4492            self as *const _
4493        ))
4494        .field("parent_class", &self.parent_class)
4495        .finish()
4496    }
4497}
4498
4499#[repr(C)]
4500#[derive(Copy, Clone)]
4501pub struct GtkFlowBoxChildClass {
4502    pub parent_class: GtkBinClass,
4503    pub activate: Option<unsafe extern "C" fn(*mut GtkFlowBoxChild)>,
4504    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4505    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4506}
4507
4508impl ::std::fmt::Debug for GtkFlowBoxChildClass {
4509    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4510        f.debug_struct(&format!("GtkFlowBoxChildClass @ {:?}", self as *const _))
4511            .field("parent_class", &self.parent_class)
4512            .field("activate", &self.activate)
4513            .field("_gtk_reserved1", &self._gtk_reserved1)
4514            .field("_gtk_reserved2", &self._gtk_reserved2)
4515            .finish()
4516    }
4517}
4518
4519#[repr(C)]
4520#[derive(Copy, Clone)]
4521pub struct GtkFlowBoxClass {
4522    pub parent_class: GtkContainerClass,
4523    pub child_activated: Option<unsafe extern "C" fn(*mut GtkFlowBox, *mut GtkFlowBoxChild)>,
4524    pub selected_children_changed: Option<unsafe extern "C" fn(*mut GtkFlowBox)>,
4525    pub activate_cursor_child: Option<unsafe extern "C" fn(*mut GtkFlowBox)>,
4526    pub toggle_cursor_child: Option<unsafe extern "C" fn(*mut GtkFlowBox)>,
4527    pub move_cursor:
4528        Option<unsafe extern "C" fn(*mut GtkFlowBox, GtkMovementStep, c_int) -> gboolean>,
4529    pub select_all: Option<unsafe extern "C" fn(*mut GtkFlowBox)>,
4530    pub unselect_all: Option<unsafe extern "C" fn(*mut GtkFlowBox)>,
4531    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4532    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4533    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4534    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4535    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
4536    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
4537}
4538
4539impl ::std::fmt::Debug for GtkFlowBoxClass {
4540    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4541        f.debug_struct(&format!("GtkFlowBoxClass @ {:?}", self as *const _))
4542            .field("parent_class", &self.parent_class)
4543            .field("child_activated", &self.child_activated)
4544            .field("selected_children_changed", &self.selected_children_changed)
4545            .field("activate_cursor_child", &self.activate_cursor_child)
4546            .field("toggle_cursor_child", &self.toggle_cursor_child)
4547            .field("move_cursor", &self.move_cursor)
4548            .field("select_all", &self.select_all)
4549            .field("unselect_all", &self.unselect_all)
4550            .field("_gtk_reserved1", &self._gtk_reserved1)
4551            .field("_gtk_reserved2", &self._gtk_reserved2)
4552            .field("_gtk_reserved3", &self._gtk_reserved3)
4553            .field("_gtk_reserved4", &self._gtk_reserved4)
4554            .field("_gtk_reserved5", &self._gtk_reserved5)
4555            .field("_gtk_reserved6", &self._gtk_reserved6)
4556            .finish()
4557    }
4558}
4559
4560#[repr(C)]
4561#[derive(Copy, Clone)]
4562pub struct GtkFontButtonClass {
4563    pub parent_class: GtkButtonClass,
4564    pub font_set: Option<unsafe extern "C" fn(*mut GtkFontButton)>,
4565    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4566    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4567    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4568    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4569}
4570
4571impl ::std::fmt::Debug for GtkFontButtonClass {
4572    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4573        f.debug_struct(&format!("GtkFontButtonClass @ {:?}", self as *const _))
4574            .field("parent_class", &self.parent_class)
4575            .field("font_set", &self.font_set)
4576            .field("_gtk_reserved1", &self._gtk_reserved1)
4577            .field("_gtk_reserved2", &self._gtk_reserved2)
4578            .field("_gtk_reserved3", &self._gtk_reserved3)
4579            .field("_gtk_reserved4", &self._gtk_reserved4)
4580            .finish()
4581    }
4582}
4583
4584#[repr(C)]
4585pub struct _GtkFontButtonPrivate(c_void);
4586
4587pub type GtkFontButtonPrivate = *mut _GtkFontButtonPrivate;
4588
4589#[repr(C)]
4590#[derive(Copy, Clone)]
4591pub struct GtkFontChooserDialogClass {
4592    pub parent_class: GtkDialogClass,
4593    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4594    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4595    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4596    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4597}
4598
4599impl ::std::fmt::Debug for GtkFontChooserDialogClass {
4600    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4601        f.debug_struct(&format!(
4602            "GtkFontChooserDialogClass @ {:?}",
4603            self as *const _
4604        ))
4605        .field("parent_class", &self.parent_class)
4606        .field("_gtk_reserved1", &self._gtk_reserved1)
4607        .field("_gtk_reserved2", &self._gtk_reserved2)
4608        .field("_gtk_reserved3", &self._gtk_reserved3)
4609        .field("_gtk_reserved4", &self._gtk_reserved4)
4610        .finish()
4611    }
4612}
4613
4614#[repr(C)]
4615pub struct _GtkFontChooserDialogPrivate(c_void);
4616
4617pub type GtkFontChooserDialogPrivate = *mut _GtkFontChooserDialogPrivate;
4618
4619#[repr(C)]
4620#[derive(Copy, Clone)]
4621pub struct GtkFontChooserIface {
4622    pub base_iface: gobject::GTypeInterface,
4623    pub get_font_family:
4624        Option<unsafe extern "C" fn(*mut GtkFontChooser) -> *mut pango::PangoFontFamily>,
4625    pub get_font_face:
4626        Option<unsafe extern "C" fn(*mut GtkFontChooser) -> *mut pango::PangoFontFace>,
4627    pub get_font_size: Option<unsafe extern "C" fn(*mut GtkFontChooser) -> c_int>,
4628    pub set_filter_func: Option<
4629        unsafe extern "C" fn(
4630            *mut GtkFontChooser,
4631            GtkFontFilterFunc,
4632            gpointer,
4633            glib::GDestroyNotify,
4634        ),
4635    >,
4636    pub font_activated: Option<unsafe extern "C" fn(*mut GtkFontChooser, *const c_char)>,
4637    pub set_font_map: Option<unsafe extern "C" fn(*mut GtkFontChooser, *mut pango::PangoFontMap)>,
4638    pub get_font_map: Option<unsafe extern "C" fn(*mut GtkFontChooser) -> *mut pango::PangoFontMap>,
4639    pub padding: [gpointer; 10],
4640}
4641
4642impl ::std::fmt::Debug for GtkFontChooserIface {
4643    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4644        f.debug_struct(&format!("GtkFontChooserIface @ {:?}", self as *const _))
4645            .field("base_iface", &self.base_iface)
4646            .field("get_font_family", &self.get_font_family)
4647            .field("get_font_face", &self.get_font_face)
4648            .field("get_font_size", &self.get_font_size)
4649            .field("set_filter_func", &self.set_filter_func)
4650            .field("font_activated", &self.font_activated)
4651            .field("set_font_map", &self.set_font_map)
4652            .field("get_font_map", &self.get_font_map)
4653            .field("padding", &self.padding)
4654            .finish()
4655    }
4656}
4657
4658#[repr(C)]
4659#[derive(Copy, Clone)]
4660pub struct GtkFontChooserWidgetClass {
4661    pub parent_class: GtkBoxClass,
4662    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4663    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4664    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4665    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4666    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
4667    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
4668    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
4669    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
4670}
4671
4672impl ::std::fmt::Debug for GtkFontChooserWidgetClass {
4673    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4674        f.debug_struct(&format!(
4675            "GtkFontChooserWidgetClass @ {:?}",
4676            self as *const _
4677        ))
4678        .field("parent_class", &self.parent_class)
4679        .field("_gtk_reserved1", &self._gtk_reserved1)
4680        .field("_gtk_reserved2", &self._gtk_reserved2)
4681        .field("_gtk_reserved3", &self._gtk_reserved3)
4682        .field("_gtk_reserved4", &self._gtk_reserved4)
4683        .field("_gtk_reserved5", &self._gtk_reserved5)
4684        .field("_gtk_reserved6", &self._gtk_reserved6)
4685        .field("_gtk_reserved7", &self._gtk_reserved7)
4686        .field("_gtk_reserved8", &self._gtk_reserved8)
4687        .finish()
4688    }
4689}
4690
4691#[repr(C)]
4692pub struct _GtkFontChooserWidgetPrivate(c_void);
4693
4694pub type GtkFontChooserWidgetPrivate = *mut _GtkFontChooserWidgetPrivate;
4695
4696#[repr(C)]
4697#[derive(Copy, Clone)]
4698pub struct GtkFontSelectionClass {
4699    pub parent_class: GtkBoxClass,
4700    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4701    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4702    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4703    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4704}
4705
4706impl ::std::fmt::Debug for GtkFontSelectionClass {
4707    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4708        f.debug_struct(&format!("GtkFontSelectionClass @ {:?}", self as *const _))
4709            .field("parent_class", &self.parent_class)
4710            .field("_gtk_reserved1", &self._gtk_reserved1)
4711            .field("_gtk_reserved2", &self._gtk_reserved2)
4712            .field("_gtk_reserved3", &self._gtk_reserved3)
4713            .field("_gtk_reserved4", &self._gtk_reserved4)
4714            .finish()
4715    }
4716}
4717
4718#[repr(C)]
4719#[derive(Copy, Clone)]
4720pub struct GtkFontSelectionDialogClass {
4721    pub parent_class: GtkDialogClass,
4722    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4723    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4724    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4725    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4726}
4727
4728impl ::std::fmt::Debug for GtkFontSelectionDialogClass {
4729    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4730        f.debug_struct(&format!(
4731            "GtkFontSelectionDialogClass @ {:?}",
4732            self as *const _
4733        ))
4734        .field("parent_class", &self.parent_class)
4735        .field("_gtk_reserved1", &self._gtk_reserved1)
4736        .field("_gtk_reserved2", &self._gtk_reserved2)
4737        .field("_gtk_reserved3", &self._gtk_reserved3)
4738        .field("_gtk_reserved4", &self._gtk_reserved4)
4739        .finish()
4740    }
4741}
4742
4743#[repr(C)]
4744pub struct _GtkFontSelectionDialogPrivate(c_void);
4745
4746pub type GtkFontSelectionDialogPrivate = *mut _GtkFontSelectionDialogPrivate;
4747
4748#[repr(C)]
4749pub struct _GtkFontSelectionPrivate(c_void);
4750
4751pub type GtkFontSelectionPrivate = *mut _GtkFontSelectionPrivate;
4752
4753#[repr(C)]
4754#[derive(Copy, Clone)]
4755pub struct GtkFrameAccessibleClass {
4756    pub parent_class: GtkContainerAccessibleClass,
4757}
4758
4759impl ::std::fmt::Debug for GtkFrameAccessibleClass {
4760    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4761        f.debug_struct(&format!("GtkFrameAccessibleClass @ {:?}", self as *const _))
4762            .field("parent_class", &self.parent_class)
4763            .finish()
4764    }
4765}
4766
4767#[repr(C)]
4768pub struct _GtkFrameAccessiblePrivate(c_void);
4769
4770pub type GtkFrameAccessiblePrivate = *mut _GtkFrameAccessiblePrivate;
4771
4772#[repr(C)]
4773#[derive(Copy, Clone)]
4774pub struct GtkFrameClass {
4775    pub parent_class: GtkBinClass,
4776    pub compute_child_allocation: Option<unsafe extern "C" fn(*mut GtkFrame, *mut GtkAllocation)>,
4777    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4778    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4779    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4780    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4781}
4782
4783impl ::std::fmt::Debug for GtkFrameClass {
4784    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4785        f.debug_struct(&format!("GtkFrameClass @ {:?}", self as *const _))
4786            .field("parent_class", &self.parent_class)
4787            .field("compute_child_allocation", &self.compute_child_allocation)
4788            .field("_gtk_reserved1", &self._gtk_reserved1)
4789            .field("_gtk_reserved2", &self._gtk_reserved2)
4790            .field("_gtk_reserved3", &self._gtk_reserved3)
4791            .field("_gtk_reserved4", &self._gtk_reserved4)
4792            .finish()
4793    }
4794}
4795
4796#[repr(C)]
4797pub struct _GtkFramePrivate(c_void);
4798
4799pub type GtkFramePrivate = *mut _GtkFramePrivate;
4800
4801#[repr(C)]
4802#[derive(Copy, Clone)]
4803pub struct GtkGLAreaClass {
4804    pub parent_class: GtkWidgetClass,
4805    pub render: Option<unsafe extern "C" fn(*mut GtkGLArea, *mut gdk::GdkGLContext) -> gboolean>,
4806    pub resize: Option<unsafe extern "C" fn(*mut GtkGLArea, c_int, c_int)>,
4807    pub create_context: Option<unsafe extern "C" fn(*mut GtkGLArea) -> *mut gdk::GdkGLContext>,
4808    pub _padding: [gpointer; 6],
4809}
4810
4811impl ::std::fmt::Debug for GtkGLAreaClass {
4812    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4813        f.debug_struct(&format!("GtkGLAreaClass @ {:?}", self as *const _))
4814            .field("render", &self.render)
4815            .field("resize", &self.resize)
4816            .field("create_context", &self.create_context)
4817            .finish()
4818    }
4819}
4820
4821#[repr(C)]
4822pub struct _GtkGestureClass(c_void);
4823
4824pub type GtkGestureClass = *mut _GtkGestureClass;
4825
4826#[repr(C)]
4827pub struct _GtkGestureDragClass(c_void);
4828
4829pub type GtkGestureDragClass = *mut _GtkGestureDragClass;
4830
4831#[repr(C)]
4832pub struct _GtkGestureLongPressClass(c_void);
4833
4834pub type GtkGestureLongPressClass = *mut _GtkGestureLongPressClass;
4835
4836#[repr(C)]
4837pub struct _GtkGestureMultiPressClass(c_void);
4838
4839pub type GtkGestureMultiPressClass = *mut _GtkGestureMultiPressClass;
4840
4841#[repr(C)]
4842pub struct _GtkGesturePanClass(c_void);
4843
4844pub type GtkGesturePanClass = *mut _GtkGesturePanClass;
4845
4846#[repr(C)]
4847pub struct _GtkGestureRotateClass(c_void);
4848
4849pub type GtkGestureRotateClass = *mut _GtkGestureRotateClass;
4850
4851#[repr(C)]
4852pub struct _GtkGestureSingleClass(c_void);
4853
4854pub type GtkGestureSingleClass = *mut _GtkGestureSingleClass;
4855
4856#[repr(C)]
4857pub struct _GtkGestureStylusClass(c_void);
4858
4859pub type GtkGestureStylusClass = *mut _GtkGestureStylusClass;
4860
4861#[repr(C)]
4862pub struct _GtkGestureSwipeClass(c_void);
4863
4864pub type GtkGestureSwipeClass = *mut _GtkGestureSwipeClass;
4865
4866#[repr(C)]
4867pub struct _GtkGestureZoomClass(c_void);
4868
4869pub type GtkGestureZoomClass = *mut _GtkGestureZoomClass;
4870
4871#[repr(C)]
4872pub struct GtkGradient(c_void);
4873
4874impl ::std::fmt::Debug for GtkGradient {
4875    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4876        f.debug_struct(&format!("GtkGradient @ {:?}", self as *const _))
4877            .finish()
4878    }
4879}
4880
4881#[repr(C)]
4882#[derive(Copy, Clone)]
4883pub struct GtkGridClass {
4884    pub parent_class: GtkContainerClass,
4885    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4886    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4887    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4888    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4889    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
4890    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
4891    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
4892    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
4893}
4894
4895impl ::std::fmt::Debug for GtkGridClass {
4896    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4897        f.debug_struct(&format!("GtkGridClass @ {:?}", self as *const _))
4898            .field("parent_class", &self.parent_class)
4899            .field("_gtk_reserved1", &self._gtk_reserved1)
4900            .field("_gtk_reserved2", &self._gtk_reserved2)
4901            .field("_gtk_reserved3", &self._gtk_reserved3)
4902            .field("_gtk_reserved4", &self._gtk_reserved4)
4903            .field("_gtk_reserved5", &self._gtk_reserved5)
4904            .field("_gtk_reserved6", &self._gtk_reserved6)
4905            .field("_gtk_reserved7", &self._gtk_reserved7)
4906            .field("_gtk_reserved8", &self._gtk_reserved8)
4907            .finish()
4908    }
4909}
4910
4911#[repr(C)]
4912pub struct _GtkGridPrivate(c_void);
4913
4914pub type GtkGridPrivate = *mut _GtkGridPrivate;
4915
4916#[repr(C)]
4917#[derive(Copy, Clone)]
4918pub struct GtkHBoxClass {
4919    pub parent_class: GtkBoxClass,
4920}
4921
4922impl ::std::fmt::Debug for GtkHBoxClass {
4923    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4924        f.debug_struct(&format!("GtkHBoxClass @ {:?}", self as *const _))
4925            .field("parent_class", &self.parent_class)
4926            .finish()
4927    }
4928}
4929
4930#[repr(C)]
4931#[derive(Copy, Clone)]
4932pub struct GtkHButtonBoxClass {
4933    pub parent_class: GtkButtonBoxClass,
4934}
4935
4936impl ::std::fmt::Debug for GtkHButtonBoxClass {
4937    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4938        f.debug_struct(&format!("GtkHButtonBoxClass @ {:?}", self as *const _))
4939            .field("parent_class", &self.parent_class)
4940            .finish()
4941    }
4942}
4943
4944#[repr(C)]
4945#[derive(Copy, Clone)]
4946pub struct GtkHPanedClass {
4947    pub parent_class: GtkPanedClass,
4948}
4949
4950impl ::std::fmt::Debug for GtkHPanedClass {
4951    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4952        f.debug_struct(&format!("GtkHPanedClass @ {:?}", self as *const _))
4953            .field("parent_class", &self.parent_class)
4954            .finish()
4955    }
4956}
4957
4958#[repr(C)]
4959#[derive(Copy, Clone)]
4960pub struct GtkHSVClass {
4961    pub parent_class: GtkWidgetClass,
4962    pub changed: Option<unsafe extern "C" fn(*mut GtkHSV)>,
4963    pub move_: Option<unsafe extern "C" fn(*mut GtkHSV, GtkDirectionType)>,
4964    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
4965    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
4966    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
4967    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
4968}
4969
4970impl ::std::fmt::Debug for GtkHSVClass {
4971    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4972        f.debug_struct(&format!("GtkHSVClass @ {:?}", self as *const _))
4973            .field("parent_class", &self.parent_class)
4974            .field("changed", &self.changed)
4975            .field("move_", &self.move_)
4976            .field("_gtk_reserved1", &self._gtk_reserved1)
4977            .field("_gtk_reserved2", &self._gtk_reserved2)
4978            .field("_gtk_reserved3", &self._gtk_reserved3)
4979            .field("_gtk_reserved4", &self._gtk_reserved4)
4980            .finish()
4981    }
4982}
4983
4984#[repr(C)]
4985pub struct _GtkHSVPrivate(c_void);
4986
4987pub type GtkHSVPrivate = *mut _GtkHSVPrivate;
4988
4989#[repr(C)]
4990#[derive(Copy, Clone)]
4991pub struct GtkHScaleClass {
4992    pub parent_class: GtkScaleClass,
4993}
4994
4995impl ::std::fmt::Debug for GtkHScaleClass {
4996    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4997        f.debug_struct(&format!("GtkHScaleClass @ {:?}", self as *const _))
4998            .field("parent_class", &self.parent_class)
4999            .finish()
5000    }
5001}
5002
5003#[repr(C)]
5004#[derive(Copy, Clone)]
5005pub struct GtkHScrollbarClass {
5006    pub parent_class: GtkScrollbarClass,
5007}
5008
5009impl ::std::fmt::Debug for GtkHScrollbarClass {
5010    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5011        f.debug_struct(&format!("GtkHScrollbarClass @ {:?}", self as *const _))
5012            .field("parent_class", &self.parent_class)
5013            .finish()
5014    }
5015}
5016
5017#[repr(C)]
5018#[derive(Copy, Clone)]
5019pub struct GtkHSeparatorClass {
5020    pub parent_class: GtkSeparatorClass,
5021}
5022
5023impl ::std::fmt::Debug for GtkHSeparatorClass {
5024    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5025        f.debug_struct(&format!("GtkHSeparatorClass @ {:?}", self as *const _))
5026            .field("parent_class", &self.parent_class)
5027            .finish()
5028    }
5029}
5030
5031#[repr(C)]
5032#[derive(Copy, Clone)]
5033pub struct GtkHandleBoxClass {
5034    pub parent_class: GtkBinClass,
5035    pub child_attached: Option<unsafe extern "C" fn(*mut GtkHandleBox, *mut GtkWidget)>,
5036    pub child_detached: Option<unsafe extern "C" fn(*mut GtkHandleBox, *mut GtkWidget)>,
5037    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5038    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5039    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5040    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5041}
5042
5043impl ::std::fmt::Debug for GtkHandleBoxClass {
5044    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5045        f.debug_struct(&format!("GtkHandleBoxClass @ {:?}", self as *const _))
5046            .field("parent_class", &self.parent_class)
5047            .field("child_attached", &self.child_attached)
5048            .field("child_detached", &self.child_detached)
5049            .field("_gtk_reserved1", &self._gtk_reserved1)
5050            .field("_gtk_reserved2", &self._gtk_reserved2)
5051            .field("_gtk_reserved3", &self._gtk_reserved3)
5052            .field("_gtk_reserved4", &self._gtk_reserved4)
5053            .finish()
5054    }
5055}
5056
5057#[repr(C)]
5058pub struct _GtkHandleBoxPrivate(c_void);
5059
5060pub type GtkHandleBoxPrivate = *mut _GtkHandleBoxPrivate;
5061
5062#[repr(C)]
5063#[derive(Copy, Clone)]
5064pub struct GtkHeaderBarClass {
5065    pub parent_class: GtkContainerClass,
5066    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5067    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5068    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5069    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5070}
5071
5072impl ::std::fmt::Debug for GtkHeaderBarClass {
5073    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5074        f.debug_struct(&format!("GtkHeaderBarClass @ {:?}", self as *const _))
5075            .field("parent_class", &self.parent_class)
5076            .field("_gtk_reserved1", &self._gtk_reserved1)
5077            .field("_gtk_reserved2", &self._gtk_reserved2)
5078            .field("_gtk_reserved3", &self._gtk_reserved3)
5079            .field("_gtk_reserved4", &self._gtk_reserved4)
5080            .finish()
5081    }
5082}
5083
5084#[repr(C)]
5085pub struct _GtkHeaderBarPrivate(c_void);
5086
5087pub type GtkHeaderBarPrivate = *mut _GtkHeaderBarPrivate;
5088
5089#[repr(C)]
5090#[derive(Copy, Clone)]
5091pub struct GtkIMContextClass {
5092    pub parent_class: gobject::GObjectClass,
5093    pub preedit_start: Option<unsafe extern "C" fn(*mut GtkIMContext)>,
5094    pub preedit_end: Option<unsafe extern "C" fn(*mut GtkIMContext)>,
5095    pub preedit_changed: Option<unsafe extern "C" fn(*mut GtkIMContext)>,
5096    pub commit: Option<unsafe extern "C" fn(*mut GtkIMContext, *const c_char)>,
5097    pub retrieve_surrounding: Option<unsafe extern "C" fn(*mut GtkIMContext) -> gboolean>,
5098    pub delete_surrounding:
5099        Option<unsafe extern "C" fn(*mut GtkIMContext, c_int, c_int) -> gboolean>,
5100    pub set_client_window: Option<unsafe extern "C" fn(*mut GtkIMContext, *mut gdk::GdkWindow)>,
5101    pub get_preedit_string: Option<
5102        unsafe extern "C" fn(
5103            *mut GtkIMContext,
5104            *mut *mut c_char,
5105            *mut *mut pango::PangoAttrList,
5106            *mut c_int,
5107        ),
5108    >,
5109    pub filter_keypress:
5110        Option<unsafe extern "C" fn(*mut GtkIMContext, *mut gdk::GdkEventKey) -> gboolean>,
5111    pub focus_in: Option<unsafe extern "C" fn(*mut GtkIMContext)>,
5112    pub focus_out: Option<unsafe extern "C" fn(*mut GtkIMContext)>,
5113    pub reset: Option<unsafe extern "C" fn(*mut GtkIMContext)>,
5114    pub set_cursor_location:
5115        Option<unsafe extern "C" fn(*mut GtkIMContext, *mut gdk::GdkRectangle)>,
5116    pub set_use_preedit: Option<unsafe extern "C" fn(*mut GtkIMContext, gboolean)>,
5117    pub set_surrounding:
5118        Option<unsafe extern "C" fn(*mut GtkIMContext, *const c_char, c_int, c_int)>,
5119    pub get_surrounding:
5120        Option<unsafe extern "C" fn(*mut GtkIMContext, *mut *mut c_char, *mut c_int) -> gboolean>,
5121    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5122    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5123    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5124    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5125    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
5126    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
5127}
5128
5129impl ::std::fmt::Debug for GtkIMContextClass {
5130    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5131        f.debug_struct(&format!("GtkIMContextClass @ {:?}", self as *const _))
5132            .field("preedit_start", &self.preedit_start)
5133            .field("preedit_end", &self.preedit_end)
5134            .field("preedit_changed", &self.preedit_changed)
5135            .field("commit", &self.commit)
5136            .field("retrieve_surrounding", &self.retrieve_surrounding)
5137            .field("delete_surrounding", &self.delete_surrounding)
5138            .field("set_client_window", &self.set_client_window)
5139            .field("get_preedit_string", &self.get_preedit_string)
5140            .field("filter_keypress", &self.filter_keypress)
5141            .field("focus_in", &self.focus_in)
5142            .field("focus_out", &self.focus_out)
5143            .field("reset", &self.reset)
5144            .field("set_cursor_location", &self.set_cursor_location)
5145            .field("set_use_preedit", &self.set_use_preedit)
5146            .field("set_surrounding", &self.set_surrounding)
5147            .field("get_surrounding", &self.get_surrounding)
5148            .field("_gtk_reserved1", &self._gtk_reserved1)
5149            .field("_gtk_reserved2", &self._gtk_reserved2)
5150            .field("_gtk_reserved3", &self._gtk_reserved3)
5151            .field("_gtk_reserved4", &self._gtk_reserved4)
5152            .field("_gtk_reserved5", &self._gtk_reserved5)
5153            .field("_gtk_reserved6", &self._gtk_reserved6)
5154            .finish()
5155    }
5156}
5157
5158#[repr(C)]
5159#[derive(Copy, Clone)]
5160pub struct GtkIMContextInfo {
5161    pub context_id: *const c_char,
5162    pub context_name: *const c_char,
5163    pub domain: *const c_char,
5164    pub domain_dirname: *const c_char,
5165    pub default_locales: *const c_char,
5166}
5167
5168impl ::std::fmt::Debug for GtkIMContextInfo {
5169    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5170        f.debug_struct(&format!("GtkIMContextInfo @ {:?}", self as *const _))
5171            .field("context_id", &self.context_id)
5172            .field("context_name", &self.context_name)
5173            .field("domain", &self.domain)
5174            .field("domain_dirname", &self.domain_dirname)
5175            .field("default_locales", &self.default_locales)
5176            .finish()
5177    }
5178}
5179
5180#[repr(C)]
5181#[derive(Copy, Clone)]
5182pub struct GtkIMContextSimpleClass {
5183    pub parent_class: GtkIMContextClass,
5184}
5185
5186impl ::std::fmt::Debug for GtkIMContextSimpleClass {
5187    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5188        f.debug_struct(&format!("GtkIMContextSimpleClass @ {:?}", self as *const _))
5189            .field("parent_class", &self.parent_class)
5190            .finish()
5191    }
5192}
5193
5194#[repr(C)]
5195pub struct _GtkIMContextSimplePrivate(c_void);
5196
5197pub type GtkIMContextSimplePrivate = *mut _GtkIMContextSimplePrivate;
5198
5199#[repr(C)]
5200#[derive(Copy, Clone)]
5201pub struct GtkIMMulticontextClass {
5202    pub parent_class: GtkIMContextClass,
5203    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5204    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5205    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5206    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5207}
5208
5209impl ::std::fmt::Debug for GtkIMMulticontextClass {
5210    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5211        f.debug_struct(&format!("GtkIMMulticontextClass @ {:?}", self as *const _))
5212            .field("parent_class", &self.parent_class)
5213            .field("_gtk_reserved1", &self._gtk_reserved1)
5214            .field("_gtk_reserved2", &self._gtk_reserved2)
5215            .field("_gtk_reserved3", &self._gtk_reserved3)
5216            .field("_gtk_reserved4", &self._gtk_reserved4)
5217            .finish()
5218    }
5219}
5220
5221#[repr(C)]
5222pub struct _GtkIMMulticontextPrivate(c_void);
5223
5224pub type GtkIMMulticontextPrivate = *mut _GtkIMMulticontextPrivate;
5225
5226#[repr(C)]
5227#[derive(Copy, Clone)]
5228pub struct GtkIconFactoryClass {
5229    pub parent_class: gobject::GObjectClass,
5230    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5231    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5232    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5233    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5234}
5235
5236impl ::std::fmt::Debug for GtkIconFactoryClass {
5237    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5238        f.debug_struct(&format!("GtkIconFactoryClass @ {:?}", self as *const _))
5239            .field("parent_class", &self.parent_class)
5240            .field("_gtk_reserved1", &self._gtk_reserved1)
5241            .field("_gtk_reserved2", &self._gtk_reserved2)
5242            .field("_gtk_reserved3", &self._gtk_reserved3)
5243            .field("_gtk_reserved4", &self._gtk_reserved4)
5244            .finish()
5245    }
5246}
5247
5248#[repr(C)]
5249pub struct _GtkIconFactoryPrivate(c_void);
5250
5251pub type GtkIconFactoryPrivate = *mut _GtkIconFactoryPrivate;
5252
5253#[repr(C)]
5254pub struct _GtkIconInfoClass(c_void);
5255
5256pub type GtkIconInfoClass = *mut _GtkIconInfoClass;
5257
5258#[repr(C)]
5259pub struct GtkIconSet(c_void);
5260
5261impl ::std::fmt::Debug for GtkIconSet {
5262    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5263        f.debug_struct(&format!("GtkIconSet @ {:?}", self as *const _))
5264            .finish()
5265    }
5266}
5267
5268#[repr(C)]
5269pub struct GtkIconSource(c_void);
5270
5271impl ::std::fmt::Debug for GtkIconSource {
5272    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5273        f.debug_struct(&format!("GtkIconSource @ {:?}", self as *const _))
5274            .finish()
5275    }
5276}
5277
5278#[repr(C)]
5279#[derive(Copy, Clone)]
5280pub struct GtkIconThemeClass {
5281    pub parent_class: gobject::GObjectClass,
5282    pub changed: Option<unsafe extern "C" fn(*mut GtkIconTheme)>,
5283    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5284    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5285    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5286    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5287}
5288
5289impl ::std::fmt::Debug for GtkIconThemeClass {
5290    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5291        f.debug_struct(&format!("GtkIconThemeClass @ {:?}", self as *const _))
5292            .field("parent_class", &self.parent_class)
5293            .field("changed", &self.changed)
5294            .field("_gtk_reserved1", &self._gtk_reserved1)
5295            .field("_gtk_reserved2", &self._gtk_reserved2)
5296            .field("_gtk_reserved3", &self._gtk_reserved3)
5297            .field("_gtk_reserved4", &self._gtk_reserved4)
5298            .finish()
5299    }
5300}
5301
5302#[repr(C)]
5303pub struct _GtkIconThemePrivate(c_void);
5304
5305pub type GtkIconThemePrivate = *mut _GtkIconThemePrivate;
5306
5307#[repr(C)]
5308#[derive(Copy, Clone)]
5309pub struct GtkIconViewAccessibleClass {
5310    pub parent_class: GtkContainerAccessibleClass,
5311}
5312
5313impl ::std::fmt::Debug for GtkIconViewAccessibleClass {
5314    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5315        f.debug_struct(&format!(
5316            "GtkIconViewAccessibleClass @ {:?}",
5317            self as *const _
5318        ))
5319        .field("parent_class", &self.parent_class)
5320        .finish()
5321    }
5322}
5323
5324#[repr(C)]
5325pub struct _GtkIconViewAccessiblePrivate(c_void);
5326
5327pub type GtkIconViewAccessiblePrivate = *mut _GtkIconViewAccessiblePrivate;
5328
5329#[repr(C)]
5330#[derive(Copy, Clone)]
5331pub struct GtkIconViewClass {
5332    pub parent_class: GtkContainerClass,
5333    pub item_activated: Option<unsafe extern "C" fn(*mut GtkIconView, *mut GtkTreePath)>,
5334    pub selection_changed: Option<unsafe extern "C" fn(*mut GtkIconView)>,
5335    pub select_all: Option<unsafe extern "C" fn(*mut GtkIconView)>,
5336    pub unselect_all: Option<unsafe extern "C" fn(*mut GtkIconView)>,
5337    pub select_cursor_item: Option<unsafe extern "C" fn(*mut GtkIconView)>,
5338    pub toggle_cursor_item: Option<unsafe extern "C" fn(*mut GtkIconView)>,
5339    pub move_cursor:
5340        Option<unsafe extern "C" fn(*mut GtkIconView, GtkMovementStep, c_int) -> gboolean>,
5341    pub activate_cursor_item: Option<unsafe extern "C" fn(*mut GtkIconView) -> gboolean>,
5342    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5343    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5344    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5345    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5346}
5347
5348impl ::std::fmt::Debug for GtkIconViewClass {
5349    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5350        f.debug_struct(&format!("GtkIconViewClass @ {:?}", self as *const _))
5351            .field("parent_class", &self.parent_class)
5352            .field("item_activated", &self.item_activated)
5353            .field("selection_changed", &self.selection_changed)
5354            .field("select_all", &self.select_all)
5355            .field("unselect_all", &self.unselect_all)
5356            .field("select_cursor_item", &self.select_cursor_item)
5357            .field("toggle_cursor_item", &self.toggle_cursor_item)
5358            .field("move_cursor", &self.move_cursor)
5359            .field("activate_cursor_item", &self.activate_cursor_item)
5360            .field("_gtk_reserved1", &self._gtk_reserved1)
5361            .field("_gtk_reserved2", &self._gtk_reserved2)
5362            .field("_gtk_reserved3", &self._gtk_reserved3)
5363            .field("_gtk_reserved4", &self._gtk_reserved4)
5364            .finish()
5365    }
5366}
5367
5368#[repr(C)]
5369pub struct _GtkIconViewPrivate(c_void);
5370
5371pub type GtkIconViewPrivate = *mut _GtkIconViewPrivate;
5372
5373#[repr(C)]
5374#[derive(Copy, Clone)]
5375pub struct GtkImageAccessibleClass {
5376    pub parent_class: GtkWidgetAccessibleClass,
5377}
5378
5379impl ::std::fmt::Debug for GtkImageAccessibleClass {
5380    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5381        f.debug_struct(&format!("GtkImageAccessibleClass @ {:?}", self as *const _))
5382            .field("parent_class", &self.parent_class)
5383            .finish()
5384    }
5385}
5386
5387#[repr(C)]
5388pub struct _GtkImageAccessiblePrivate(c_void);
5389
5390pub type GtkImageAccessiblePrivate = *mut _GtkImageAccessiblePrivate;
5391
5392#[repr(C)]
5393#[derive(Copy, Clone)]
5394pub struct GtkImageCellAccessibleClass {
5395    pub parent_class: GtkRendererCellAccessibleClass,
5396}
5397
5398impl ::std::fmt::Debug for GtkImageCellAccessibleClass {
5399    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5400        f.debug_struct(&format!(
5401            "GtkImageCellAccessibleClass @ {:?}",
5402            self as *const _
5403        ))
5404        .field("parent_class", &self.parent_class)
5405        .finish()
5406    }
5407}
5408
5409#[repr(C)]
5410pub struct _GtkImageCellAccessiblePrivate(c_void);
5411
5412pub type GtkImageCellAccessiblePrivate = *mut _GtkImageCellAccessiblePrivate;
5413
5414#[repr(C)]
5415#[derive(Copy, Clone)]
5416pub struct GtkImageClass {
5417    pub parent_class: GtkMiscClass,
5418    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5419    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5420    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5421    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5422}
5423
5424impl ::std::fmt::Debug for GtkImageClass {
5425    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5426        f.debug_struct(&format!("GtkImageClass @ {:?}", self as *const _))
5427            .field("parent_class", &self.parent_class)
5428            .field("_gtk_reserved1", &self._gtk_reserved1)
5429            .field("_gtk_reserved2", &self._gtk_reserved2)
5430            .field("_gtk_reserved3", &self._gtk_reserved3)
5431            .field("_gtk_reserved4", &self._gtk_reserved4)
5432            .finish()
5433    }
5434}
5435
5436#[repr(C)]
5437#[derive(Copy, Clone)]
5438pub struct GtkImageMenuItemClass {
5439    pub parent_class: GtkMenuItemClass,
5440    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5441    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5442    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5443    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5444}
5445
5446impl ::std::fmt::Debug for GtkImageMenuItemClass {
5447    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5448        f.debug_struct(&format!("GtkImageMenuItemClass @ {:?}", self as *const _))
5449            .field("parent_class", &self.parent_class)
5450            .field("_gtk_reserved1", &self._gtk_reserved1)
5451            .field("_gtk_reserved2", &self._gtk_reserved2)
5452            .field("_gtk_reserved3", &self._gtk_reserved3)
5453            .field("_gtk_reserved4", &self._gtk_reserved4)
5454            .finish()
5455    }
5456}
5457
5458#[repr(C)]
5459pub struct _GtkImageMenuItemPrivate(c_void);
5460
5461pub type GtkImageMenuItemPrivate = *mut _GtkImageMenuItemPrivate;
5462
5463#[repr(C)]
5464pub struct _GtkImagePrivate(c_void);
5465
5466pub type GtkImagePrivate = *mut _GtkImagePrivate;
5467
5468#[repr(C)]
5469#[derive(Copy, Clone)]
5470pub struct GtkInfoBarClass {
5471    pub parent_class: GtkBoxClass,
5472    pub response: Option<unsafe extern "C" fn(*mut GtkInfoBar, GtkResponseType)>,
5473    pub close: Option<unsafe extern "C" fn(*mut GtkInfoBar)>,
5474    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5475    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5476    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5477    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5478}
5479
5480impl ::std::fmt::Debug for GtkInfoBarClass {
5481    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5482        f.debug_struct(&format!("GtkInfoBarClass @ {:?}", self as *const _))
5483            .field("parent_class", &self.parent_class)
5484            .field("response", &self.response)
5485            .field("close", &self.close)
5486            .field("_gtk_reserved1", &self._gtk_reserved1)
5487            .field("_gtk_reserved2", &self._gtk_reserved2)
5488            .field("_gtk_reserved3", &self._gtk_reserved3)
5489            .field("_gtk_reserved4", &self._gtk_reserved4)
5490            .finish()
5491    }
5492}
5493
5494#[repr(C)]
5495pub struct _GtkInfoBarPrivate(c_void);
5496
5497pub type GtkInfoBarPrivate = *mut _GtkInfoBarPrivate;
5498
5499#[repr(C)]
5500#[derive(Copy, Clone)]
5501pub struct GtkInvisibleClass {
5502    pub parent_class: GtkWidgetClass,
5503    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5504    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5505    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5506    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5507}
5508
5509impl ::std::fmt::Debug for GtkInvisibleClass {
5510    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5511        f.debug_struct(&format!("GtkInvisibleClass @ {:?}", self as *const _))
5512            .field("parent_class", &self.parent_class)
5513            .field("_gtk_reserved1", &self._gtk_reserved1)
5514            .field("_gtk_reserved2", &self._gtk_reserved2)
5515            .field("_gtk_reserved3", &self._gtk_reserved3)
5516            .field("_gtk_reserved4", &self._gtk_reserved4)
5517            .finish()
5518    }
5519}
5520
5521#[repr(C)]
5522pub struct _GtkInvisiblePrivate(c_void);
5523
5524pub type GtkInvisiblePrivate = *mut _GtkInvisiblePrivate;
5525
5526#[repr(C)]
5527#[derive(Copy, Clone)]
5528pub struct GtkLabelAccessibleClass {
5529    pub parent_class: GtkWidgetAccessibleClass,
5530}
5531
5532impl ::std::fmt::Debug for GtkLabelAccessibleClass {
5533    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5534        f.debug_struct(&format!("GtkLabelAccessibleClass @ {:?}", self as *const _))
5535            .field("parent_class", &self.parent_class)
5536            .finish()
5537    }
5538}
5539
5540#[repr(C)]
5541pub struct _GtkLabelAccessiblePrivate(c_void);
5542
5543pub type GtkLabelAccessiblePrivate = *mut _GtkLabelAccessiblePrivate;
5544
5545#[repr(C)]
5546#[derive(Copy, Clone)]
5547pub struct GtkLabelClass {
5548    pub parent_class: GtkMiscClass,
5549    pub move_cursor: Option<unsafe extern "C" fn(*mut GtkLabel, GtkMovementStep, c_int, gboolean)>,
5550    pub copy_clipboard: Option<unsafe extern "C" fn(*mut GtkLabel)>,
5551    pub populate_popup: Option<unsafe extern "C" fn(*mut GtkLabel, *mut GtkMenu)>,
5552    pub activate_link: Option<unsafe extern "C" fn(*mut GtkLabel, *const c_char) -> gboolean>,
5553    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5554    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5555    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5556    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5557    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
5558    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
5559    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
5560    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
5561}
5562
5563impl ::std::fmt::Debug for GtkLabelClass {
5564    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5565        f.debug_struct(&format!("GtkLabelClass @ {:?}", self as *const _))
5566            .field("parent_class", &self.parent_class)
5567            .field("move_cursor", &self.move_cursor)
5568            .field("copy_clipboard", &self.copy_clipboard)
5569            .field("populate_popup", &self.populate_popup)
5570            .field("activate_link", &self.activate_link)
5571            .field("_gtk_reserved1", &self._gtk_reserved1)
5572            .field("_gtk_reserved2", &self._gtk_reserved2)
5573            .field("_gtk_reserved3", &self._gtk_reserved3)
5574            .field("_gtk_reserved4", &self._gtk_reserved4)
5575            .field("_gtk_reserved5", &self._gtk_reserved5)
5576            .field("_gtk_reserved6", &self._gtk_reserved6)
5577            .field("_gtk_reserved7", &self._gtk_reserved7)
5578            .field("_gtk_reserved8", &self._gtk_reserved8)
5579            .finish()
5580    }
5581}
5582
5583#[repr(C)]
5584pub struct _GtkLabelPrivate(c_void);
5585
5586pub type GtkLabelPrivate = *mut _GtkLabelPrivate;
5587
5588#[repr(C)]
5589pub struct _GtkLabelSelectionInfo(c_void);
5590
5591pub type GtkLabelSelectionInfo = *mut _GtkLabelSelectionInfo;
5592
5593#[repr(C)]
5594#[derive(Copy, Clone)]
5595pub struct GtkLayoutClass {
5596    pub parent_class: GtkContainerClass,
5597    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5598    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5599    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5600    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5601}
5602
5603impl ::std::fmt::Debug for GtkLayoutClass {
5604    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5605        f.debug_struct(&format!("GtkLayoutClass @ {:?}", self as *const _))
5606            .field("parent_class", &self.parent_class)
5607            .field("_gtk_reserved1", &self._gtk_reserved1)
5608            .field("_gtk_reserved2", &self._gtk_reserved2)
5609            .field("_gtk_reserved3", &self._gtk_reserved3)
5610            .field("_gtk_reserved4", &self._gtk_reserved4)
5611            .finish()
5612    }
5613}
5614
5615#[repr(C)]
5616pub struct _GtkLayoutPrivate(c_void);
5617
5618pub type GtkLayoutPrivate = *mut _GtkLayoutPrivate;
5619
5620#[repr(C)]
5621#[derive(Copy, Clone)]
5622pub struct GtkLevelBarAccessibleClass {
5623    pub parent_class: GtkWidgetAccessibleClass,
5624}
5625
5626impl ::std::fmt::Debug for GtkLevelBarAccessibleClass {
5627    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5628        f.debug_struct(&format!(
5629            "GtkLevelBarAccessibleClass @ {:?}",
5630            self as *const _
5631        ))
5632        .field("parent_class", &self.parent_class)
5633        .finish()
5634    }
5635}
5636
5637#[repr(C)]
5638pub struct _GtkLevelBarAccessiblePrivate(c_void);
5639
5640pub type GtkLevelBarAccessiblePrivate = *mut _GtkLevelBarAccessiblePrivate;
5641
5642#[repr(C)]
5643#[derive(Copy, Clone)]
5644pub struct GtkLevelBarClass {
5645    pub parent_class: GtkWidgetClass,
5646    pub offset_changed: Option<unsafe extern "C" fn(*mut GtkLevelBar, *const c_char)>,
5647    pub padding: [gpointer; 16],
5648}
5649
5650impl ::std::fmt::Debug for GtkLevelBarClass {
5651    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5652        f.debug_struct(&format!("GtkLevelBarClass @ {:?}", self as *const _))
5653            .field("offset_changed", &self.offset_changed)
5654            .finish()
5655    }
5656}
5657
5658#[repr(C)]
5659pub struct _GtkLevelBarPrivate(c_void);
5660
5661pub type GtkLevelBarPrivate = *mut _GtkLevelBarPrivate;
5662
5663#[repr(C)]
5664#[derive(Copy, Clone)]
5665pub struct GtkLinkButtonAccessibleClass {
5666    pub parent_class: GtkButtonAccessibleClass,
5667}
5668
5669impl ::std::fmt::Debug for GtkLinkButtonAccessibleClass {
5670    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5671        f.debug_struct(&format!(
5672            "GtkLinkButtonAccessibleClass @ {:?}",
5673            self as *const _
5674        ))
5675        .field("parent_class", &self.parent_class)
5676        .finish()
5677    }
5678}
5679
5680#[repr(C)]
5681pub struct _GtkLinkButtonAccessiblePrivate(c_void);
5682
5683pub type GtkLinkButtonAccessiblePrivate = *mut _GtkLinkButtonAccessiblePrivate;
5684
5685#[repr(C)]
5686#[derive(Copy, Clone)]
5687pub struct GtkLinkButtonClass {
5688    pub parent_class: GtkButtonClass,
5689    pub activate_link: Option<unsafe extern "C" fn(*mut GtkLinkButton) -> gboolean>,
5690    pub _gtk_padding1: Option<unsafe extern "C" fn()>,
5691    pub _gtk_padding2: Option<unsafe extern "C" fn()>,
5692    pub _gtk_padding3: Option<unsafe extern "C" fn()>,
5693    pub _gtk_padding4: Option<unsafe extern "C" fn()>,
5694}
5695
5696impl ::std::fmt::Debug for GtkLinkButtonClass {
5697    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5698        f.debug_struct(&format!("GtkLinkButtonClass @ {:?}", self as *const _))
5699            .field("activate_link", &self.activate_link)
5700            .field("_gtk_padding1", &self._gtk_padding1)
5701            .field("_gtk_padding2", &self._gtk_padding2)
5702            .field("_gtk_padding3", &self._gtk_padding3)
5703            .field("_gtk_padding4", &self._gtk_padding4)
5704            .finish()
5705    }
5706}
5707
5708#[repr(C)]
5709pub struct _GtkLinkButtonPrivate(c_void);
5710
5711pub type GtkLinkButtonPrivate = *mut _GtkLinkButtonPrivate;
5712
5713#[repr(C)]
5714#[derive(Copy, Clone)]
5715pub struct GtkListBoxAccessibleClass {
5716    pub parent_class: GtkContainerAccessibleClass,
5717}
5718
5719impl ::std::fmt::Debug for GtkListBoxAccessibleClass {
5720    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5721        f.debug_struct(&format!(
5722            "GtkListBoxAccessibleClass @ {:?}",
5723            self as *const _
5724        ))
5725        .field("parent_class", &self.parent_class)
5726        .finish()
5727    }
5728}
5729
5730#[repr(C)]
5731pub struct _GtkListBoxAccessiblePrivate(c_void);
5732
5733pub type GtkListBoxAccessiblePrivate = *mut _GtkListBoxAccessiblePrivate;
5734
5735#[repr(C)]
5736#[derive(Copy, Clone)]
5737pub struct GtkListBoxClass {
5738    pub parent_class: GtkContainerClass,
5739    pub row_selected: Option<unsafe extern "C" fn(*mut GtkListBox, *mut GtkListBoxRow)>,
5740    pub row_activated: Option<unsafe extern "C" fn(*mut GtkListBox, *mut GtkListBoxRow)>,
5741    pub activate_cursor_row: Option<unsafe extern "C" fn(*mut GtkListBox)>,
5742    pub toggle_cursor_row: Option<unsafe extern "C" fn(*mut GtkListBox)>,
5743    pub move_cursor: Option<unsafe extern "C" fn(*mut GtkListBox, GtkMovementStep, c_int)>,
5744    pub selected_rows_changed: Option<unsafe extern "C" fn(*mut GtkListBox)>,
5745    pub select_all: Option<unsafe extern "C" fn(*mut GtkListBox)>,
5746    pub unselect_all: Option<unsafe extern "C" fn(*mut GtkListBox)>,
5747    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5748    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5749    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5750}
5751
5752impl ::std::fmt::Debug for GtkListBoxClass {
5753    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5754        f.debug_struct(&format!("GtkListBoxClass @ {:?}", self as *const _))
5755            .field("parent_class", &self.parent_class)
5756            .field("row_selected", &self.row_selected)
5757            .field("row_activated", &self.row_activated)
5758            .field("activate_cursor_row", &self.activate_cursor_row)
5759            .field("toggle_cursor_row", &self.toggle_cursor_row)
5760            .field("move_cursor", &self.move_cursor)
5761            .field("selected_rows_changed", &self.selected_rows_changed)
5762            .field("select_all", &self.select_all)
5763            .field("unselect_all", &self.unselect_all)
5764            .field("_gtk_reserved1", &self._gtk_reserved1)
5765            .field("_gtk_reserved2", &self._gtk_reserved2)
5766            .field("_gtk_reserved3", &self._gtk_reserved3)
5767            .finish()
5768    }
5769}
5770
5771#[repr(C)]
5772#[derive(Copy, Clone)]
5773pub struct GtkListBoxRowAccessibleClass {
5774    pub parent_class: GtkContainerAccessibleClass,
5775}
5776
5777impl ::std::fmt::Debug for GtkListBoxRowAccessibleClass {
5778    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5779        f.debug_struct(&format!(
5780            "GtkListBoxRowAccessibleClass @ {:?}",
5781            self as *const _
5782        ))
5783        .field("parent_class", &self.parent_class)
5784        .finish()
5785    }
5786}
5787
5788#[repr(C)]
5789#[derive(Copy, Clone)]
5790pub struct GtkListBoxRowClass {
5791    pub parent_class: GtkBinClass,
5792    pub activate: Option<unsafe extern "C" fn(*mut GtkListBoxRow)>,
5793    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5794    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5795}
5796
5797impl ::std::fmt::Debug for GtkListBoxRowClass {
5798    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5799        f.debug_struct(&format!("GtkListBoxRowClass @ {:?}", self as *const _))
5800            .field("parent_class", &self.parent_class)
5801            .field("activate", &self.activate)
5802            .field("_gtk_reserved1", &self._gtk_reserved1)
5803            .field("_gtk_reserved2", &self._gtk_reserved2)
5804            .finish()
5805    }
5806}
5807
5808#[repr(C)]
5809#[derive(Copy, Clone)]
5810pub struct GtkListStoreClass {
5811    pub parent_class: gobject::GObjectClass,
5812    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5813    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5814    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5815    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5816}
5817
5818impl ::std::fmt::Debug for GtkListStoreClass {
5819    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5820        f.debug_struct(&format!("GtkListStoreClass @ {:?}", self as *const _))
5821            .field("parent_class", &self.parent_class)
5822            .field("_gtk_reserved1", &self._gtk_reserved1)
5823            .field("_gtk_reserved2", &self._gtk_reserved2)
5824            .field("_gtk_reserved3", &self._gtk_reserved3)
5825            .field("_gtk_reserved4", &self._gtk_reserved4)
5826            .finish()
5827    }
5828}
5829
5830#[repr(C)]
5831pub struct _GtkListStorePrivate(c_void);
5832
5833pub type GtkListStorePrivate = *mut _GtkListStorePrivate;
5834
5835#[repr(C)]
5836#[derive(Copy, Clone)]
5837pub struct GtkLockButtonAccessibleClass {
5838    pub parent_class: GtkButtonAccessibleClass,
5839}
5840
5841impl ::std::fmt::Debug for GtkLockButtonAccessibleClass {
5842    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5843        f.debug_struct(&format!(
5844            "GtkLockButtonAccessibleClass @ {:?}",
5845            self as *const _
5846        ))
5847        .field("parent_class", &self.parent_class)
5848        .finish()
5849    }
5850}
5851
5852#[repr(C)]
5853pub struct _GtkLockButtonAccessiblePrivate(c_void);
5854
5855pub type GtkLockButtonAccessiblePrivate = *mut _GtkLockButtonAccessiblePrivate;
5856
5857#[repr(C)]
5858#[derive(Copy, Clone)]
5859pub struct GtkLockButtonClass {
5860    pub parent_class: GtkButtonClass,
5861    pub reserved0: Option<unsafe extern "C" fn()>,
5862    pub reserved1: Option<unsafe extern "C" fn()>,
5863    pub reserved2: Option<unsafe extern "C" fn()>,
5864    pub reserved3: Option<unsafe extern "C" fn()>,
5865    pub reserved4: Option<unsafe extern "C" fn()>,
5866    pub reserved5: Option<unsafe extern "C" fn()>,
5867    pub reserved6: Option<unsafe extern "C" fn()>,
5868    pub reserved7: Option<unsafe extern "C" fn()>,
5869}
5870
5871impl ::std::fmt::Debug for GtkLockButtonClass {
5872    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5873        f.debug_struct(&format!("GtkLockButtonClass @ {:?}", self as *const _))
5874            .field("parent_class", &self.parent_class)
5875            .field("reserved0", &self.reserved0)
5876            .field("reserved1", &self.reserved1)
5877            .field("reserved2", &self.reserved2)
5878            .field("reserved3", &self.reserved3)
5879            .field("reserved4", &self.reserved4)
5880            .field("reserved5", &self.reserved5)
5881            .field("reserved6", &self.reserved6)
5882            .field("reserved7", &self.reserved7)
5883            .finish()
5884    }
5885}
5886
5887#[repr(C)]
5888pub struct _GtkLockButtonPrivate(c_void);
5889
5890pub type GtkLockButtonPrivate = *mut _GtkLockButtonPrivate;
5891
5892#[repr(C)]
5893#[derive(Copy, Clone)]
5894pub struct GtkMenuAccessibleClass {
5895    pub parent_class: GtkMenuShellAccessibleClass,
5896}
5897
5898impl ::std::fmt::Debug for GtkMenuAccessibleClass {
5899    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5900        f.debug_struct(&format!("GtkMenuAccessibleClass @ {:?}", self as *const _))
5901            .field("parent_class", &self.parent_class)
5902            .finish()
5903    }
5904}
5905
5906#[repr(C)]
5907pub struct _GtkMenuAccessiblePrivate(c_void);
5908
5909pub type GtkMenuAccessiblePrivate = *mut _GtkMenuAccessiblePrivate;
5910
5911#[repr(C)]
5912#[derive(Copy, Clone)]
5913pub struct GtkMenuBarClass {
5914    pub parent_class: GtkMenuShellClass,
5915    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5916    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5917    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5918    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5919}
5920
5921impl ::std::fmt::Debug for GtkMenuBarClass {
5922    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5923        f.debug_struct(&format!("GtkMenuBarClass @ {:?}", self as *const _))
5924            .field("parent_class", &self.parent_class)
5925            .field("_gtk_reserved1", &self._gtk_reserved1)
5926            .field("_gtk_reserved2", &self._gtk_reserved2)
5927            .field("_gtk_reserved3", &self._gtk_reserved3)
5928            .field("_gtk_reserved4", &self._gtk_reserved4)
5929            .finish()
5930    }
5931}
5932
5933#[repr(C)]
5934pub struct _GtkMenuBarPrivate(c_void);
5935
5936pub type GtkMenuBarPrivate = *mut _GtkMenuBarPrivate;
5937
5938#[repr(C)]
5939#[derive(Copy, Clone)]
5940pub struct GtkMenuButtonAccessibleClass {
5941    pub parent_class: GtkToggleButtonAccessibleClass,
5942}
5943
5944impl ::std::fmt::Debug for GtkMenuButtonAccessibleClass {
5945    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5946        f.debug_struct(&format!(
5947            "GtkMenuButtonAccessibleClass @ {:?}",
5948            self as *const _
5949        ))
5950        .field("parent_class", &self.parent_class)
5951        .finish()
5952    }
5953}
5954
5955#[repr(C)]
5956pub struct _GtkMenuButtonAccessiblePrivate(c_void);
5957
5958pub type GtkMenuButtonAccessiblePrivate = *mut _GtkMenuButtonAccessiblePrivate;
5959
5960#[repr(C)]
5961#[derive(Copy, Clone)]
5962pub struct GtkMenuButtonClass {
5963    pub parent_class: GtkToggleButtonClass,
5964    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5965    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5966    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5967    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5968}
5969
5970impl ::std::fmt::Debug for GtkMenuButtonClass {
5971    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5972        f.debug_struct(&format!("GtkMenuButtonClass @ {:?}", self as *const _))
5973            .field("parent_class", &self.parent_class)
5974            .field("_gtk_reserved1", &self._gtk_reserved1)
5975            .field("_gtk_reserved2", &self._gtk_reserved2)
5976            .field("_gtk_reserved3", &self._gtk_reserved3)
5977            .field("_gtk_reserved4", &self._gtk_reserved4)
5978            .finish()
5979    }
5980}
5981
5982#[repr(C)]
5983pub struct _GtkMenuButtonPrivate(c_void);
5984
5985pub type GtkMenuButtonPrivate = *mut _GtkMenuButtonPrivate;
5986
5987#[repr(C)]
5988#[derive(Copy, Clone)]
5989pub struct GtkMenuClass {
5990    pub parent_class: GtkMenuShellClass,
5991    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
5992    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
5993    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
5994    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
5995}
5996
5997impl ::std::fmt::Debug for GtkMenuClass {
5998    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
5999        f.debug_struct(&format!("GtkMenuClass @ {:?}", self as *const _))
6000            .field("parent_class", &self.parent_class)
6001            .field("_gtk_reserved1", &self._gtk_reserved1)
6002            .field("_gtk_reserved2", &self._gtk_reserved2)
6003            .field("_gtk_reserved3", &self._gtk_reserved3)
6004            .field("_gtk_reserved4", &self._gtk_reserved4)
6005            .finish()
6006    }
6007}
6008
6009#[repr(C)]
6010#[derive(Copy, Clone)]
6011pub struct GtkMenuItemAccessibleClass {
6012    pub parent_class: GtkContainerAccessibleClass,
6013}
6014
6015impl ::std::fmt::Debug for GtkMenuItemAccessibleClass {
6016    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6017        f.debug_struct(&format!(
6018            "GtkMenuItemAccessibleClass @ {:?}",
6019            self as *const _
6020        ))
6021        .field("parent_class", &self.parent_class)
6022        .finish()
6023    }
6024}
6025
6026#[repr(C)]
6027pub struct _GtkMenuItemAccessiblePrivate(c_void);
6028
6029pub type GtkMenuItemAccessiblePrivate = *mut _GtkMenuItemAccessiblePrivate;
6030
6031#[repr(C)]
6032#[derive(Copy, Clone)]
6033pub struct GtkMenuItemClass {
6034    pub parent_class: GtkBinClass,
6035    pub hide_on_activate: c_uint,
6036    pub activate: Option<unsafe extern "C" fn(*mut GtkMenuItem)>,
6037    pub activate_item: Option<unsafe extern "C" fn(*mut GtkMenuItem)>,
6038    pub toggle_size_request: Option<unsafe extern "C" fn(*mut GtkMenuItem, c_int)>,
6039    pub toggle_size_allocate: Option<unsafe extern "C" fn(*mut GtkMenuItem, c_int)>,
6040    pub set_label: Option<unsafe extern "C" fn(*mut GtkMenuItem, *const c_char)>,
6041    pub get_label: Option<unsafe extern "C" fn(*mut GtkMenuItem) -> *const c_char>,
6042    pub select: Option<unsafe extern "C" fn(*mut GtkMenuItem)>,
6043    pub deselect: Option<unsafe extern "C" fn(*mut GtkMenuItem)>,
6044    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6045    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6046    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6047    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6048}
6049
6050impl ::std::fmt::Debug for GtkMenuItemClass {
6051    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6052        f.debug_struct(&format!("GtkMenuItemClass @ {:?}", self as *const _))
6053            .field("parent_class", &self.parent_class)
6054            .field("hide_on_activate", &self.hide_on_activate)
6055            .field("activate", &self.activate)
6056            .field("activate_item", &self.activate_item)
6057            .field("toggle_size_request", &self.toggle_size_request)
6058            .field("toggle_size_allocate", &self.toggle_size_allocate)
6059            .field("set_label", &self.set_label)
6060            .field("get_label", &self.get_label)
6061            .field("select", &self.select)
6062            .field("deselect", &self.deselect)
6063            .field("_gtk_reserved1", &self._gtk_reserved1)
6064            .field("_gtk_reserved2", &self._gtk_reserved2)
6065            .field("_gtk_reserved3", &self._gtk_reserved3)
6066            .field("_gtk_reserved4", &self._gtk_reserved4)
6067            .finish()
6068    }
6069}
6070
6071#[repr(C)]
6072pub struct _GtkMenuItemPrivate(c_void);
6073
6074pub type GtkMenuItemPrivate = *mut _GtkMenuItemPrivate;
6075
6076#[repr(C)]
6077pub struct _GtkMenuPrivate(c_void);
6078
6079pub type GtkMenuPrivate = *mut _GtkMenuPrivate;
6080
6081#[repr(C)]
6082#[derive(Copy, Clone)]
6083pub struct GtkMenuShellAccessibleClass {
6084    pub parent_class: GtkContainerAccessibleClass,
6085}
6086
6087impl ::std::fmt::Debug for GtkMenuShellAccessibleClass {
6088    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6089        f.debug_struct(&format!(
6090            "GtkMenuShellAccessibleClass @ {:?}",
6091            self as *const _
6092        ))
6093        .field("parent_class", &self.parent_class)
6094        .finish()
6095    }
6096}
6097
6098#[repr(C)]
6099pub struct _GtkMenuShellAccessiblePrivate(c_void);
6100
6101pub type GtkMenuShellAccessiblePrivate = *mut _GtkMenuShellAccessiblePrivate;
6102
6103#[repr(C)]
6104#[derive(Copy, Clone)]
6105pub struct GtkMenuShellClass {
6106    pub parent_class: GtkContainerClass,
6107    pub submenu_placement: c_uint,
6108    pub deactivate: Option<unsafe extern "C" fn(*mut GtkMenuShell)>,
6109    pub selection_done: Option<unsafe extern "C" fn(*mut GtkMenuShell)>,
6110    pub move_current: Option<unsafe extern "C" fn(*mut GtkMenuShell, GtkMenuDirectionType)>,
6111    pub activate_current: Option<unsafe extern "C" fn(*mut GtkMenuShell, gboolean)>,
6112    pub cancel: Option<unsafe extern "C" fn(*mut GtkMenuShell)>,
6113    pub select_item: Option<unsafe extern "C" fn(*mut GtkMenuShell, *mut GtkWidget)>,
6114    pub insert: Option<unsafe extern "C" fn(*mut GtkMenuShell, *mut GtkWidget, c_int)>,
6115    pub get_popup_delay: Option<unsafe extern "C" fn(*mut GtkMenuShell) -> c_int>,
6116    pub move_selected: Option<unsafe extern "C" fn(*mut GtkMenuShell, c_int) -> gboolean>,
6117    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6118    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6119    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6120    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6121}
6122
6123impl ::std::fmt::Debug for GtkMenuShellClass {
6124    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6125        f.debug_struct(&format!("GtkMenuShellClass @ {:?}", self as *const _))
6126            .field("parent_class", &self.parent_class)
6127            .field("submenu_placement", &self.submenu_placement)
6128            .field("deactivate", &self.deactivate)
6129            .field("selection_done", &self.selection_done)
6130            .field("move_current", &self.move_current)
6131            .field("activate_current", &self.activate_current)
6132            .field("cancel", &self.cancel)
6133            .field("select_item", &self.select_item)
6134            .field("insert", &self.insert)
6135            .field("get_popup_delay", &self.get_popup_delay)
6136            .field("move_selected", &self.move_selected)
6137            .field("_gtk_reserved1", &self._gtk_reserved1)
6138            .field("_gtk_reserved2", &self._gtk_reserved2)
6139            .field("_gtk_reserved3", &self._gtk_reserved3)
6140            .field("_gtk_reserved4", &self._gtk_reserved4)
6141            .finish()
6142    }
6143}
6144
6145#[repr(C)]
6146pub struct _GtkMenuShellPrivate(c_void);
6147
6148pub type GtkMenuShellPrivate = *mut _GtkMenuShellPrivate;
6149
6150#[repr(C)]
6151#[derive(Copy, Clone)]
6152pub struct GtkMenuToolButtonClass {
6153    pub parent_class: GtkToolButtonClass,
6154    pub show_menu: Option<unsafe extern "C" fn(*mut GtkMenuToolButton)>,
6155    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6156    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6157    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6158    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6159}
6160
6161impl ::std::fmt::Debug for GtkMenuToolButtonClass {
6162    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6163        f.debug_struct(&format!("GtkMenuToolButtonClass @ {:?}", self as *const _))
6164            .field("parent_class", &self.parent_class)
6165            .field("show_menu", &self.show_menu)
6166            .field("_gtk_reserved1", &self._gtk_reserved1)
6167            .field("_gtk_reserved2", &self._gtk_reserved2)
6168            .field("_gtk_reserved3", &self._gtk_reserved3)
6169            .field("_gtk_reserved4", &self._gtk_reserved4)
6170            .finish()
6171    }
6172}
6173
6174#[repr(C)]
6175pub struct _GtkMenuToolButtonPrivate(c_void);
6176
6177pub type GtkMenuToolButtonPrivate = *mut _GtkMenuToolButtonPrivate;
6178
6179#[repr(C)]
6180#[derive(Copy, Clone)]
6181pub struct GtkMessageDialogClass {
6182    pub parent_class: GtkDialogClass,
6183    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6184    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6185    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6186    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6187}
6188
6189impl ::std::fmt::Debug for GtkMessageDialogClass {
6190    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6191        f.debug_struct(&format!("GtkMessageDialogClass @ {:?}", self as *const _))
6192            .field("parent_class", &self.parent_class)
6193            .field("_gtk_reserved1", &self._gtk_reserved1)
6194            .field("_gtk_reserved2", &self._gtk_reserved2)
6195            .field("_gtk_reserved3", &self._gtk_reserved3)
6196            .field("_gtk_reserved4", &self._gtk_reserved4)
6197            .finish()
6198    }
6199}
6200
6201#[repr(C)]
6202pub struct _GtkMessageDialogPrivate(c_void);
6203
6204pub type GtkMessageDialogPrivate = *mut _GtkMessageDialogPrivate;
6205
6206#[repr(C)]
6207#[derive(Copy, Clone)]
6208pub struct GtkMiscClass {
6209    pub parent_class: GtkWidgetClass,
6210    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6211    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6212    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6213    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6214}
6215
6216impl ::std::fmt::Debug for GtkMiscClass {
6217    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6218        f.debug_struct(&format!("GtkMiscClass @ {:?}", self as *const _))
6219            .field("parent_class", &self.parent_class)
6220            .field("_gtk_reserved1", &self._gtk_reserved1)
6221            .field("_gtk_reserved2", &self._gtk_reserved2)
6222            .field("_gtk_reserved3", &self._gtk_reserved3)
6223            .field("_gtk_reserved4", &self._gtk_reserved4)
6224            .finish()
6225    }
6226}
6227
6228#[repr(C)]
6229pub struct _GtkMiscPrivate(c_void);
6230
6231pub type GtkMiscPrivate = *mut _GtkMiscPrivate;
6232
6233#[repr(C)]
6234#[derive(Copy, Clone)]
6235pub struct GtkMountOperationClass {
6236    pub parent_class: gio::GMountOperationClass,
6237    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6238    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6239    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6240    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6241}
6242
6243impl ::std::fmt::Debug for GtkMountOperationClass {
6244    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6245        f.debug_struct(&format!("GtkMountOperationClass @ {:?}", self as *const _))
6246            .field("parent_class", &self.parent_class)
6247            .field("_gtk_reserved1", &self._gtk_reserved1)
6248            .field("_gtk_reserved2", &self._gtk_reserved2)
6249            .field("_gtk_reserved3", &self._gtk_reserved3)
6250            .field("_gtk_reserved4", &self._gtk_reserved4)
6251            .finish()
6252    }
6253}
6254
6255#[repr(C)]
6256pub struct _GtkMountOperationPrivate(c_void);
6257
6258pub type GtkMountOperationPrivate = *mut _GtkMountOperationPrivate;
6259
6260#[repr(C)]
6261#[derive(Copy, Clone)]
6262pub struct GtkNativeDialogClass {
6263    pub parent_class: gobject::GObjectClass,
6264    pub response: Option<unsafe extern "C" fn(*mut GtkNativeDialog, GtkResponseType)>,
6265    pub show: Option<unsafe extern "C" fn(*mut GtkNativeDialog)>,
6266    pub hide: Option<unsafe extern "C" fn(*mut GtkNativeDialog)>,
6267    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6268    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6269    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6270    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6271}
6272
6273impl ::std::fmt::Debug for GtkNativeDialogClass {
6274    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6275        f.debug_struct(&format!("GtkNativeDialogClass @ {:?}", self as *const _))
6276            .field("parent_class", &self.parent_class)
6277            .field("response", &self.response)
6278            .field("show", &self.show)
6279            .field("hide", &self.hide)
6280            .field("_gtk_reserved1", &self._gtk_reserved1)
6281            .field("_gtk_reserved2", &self._gtk_reserved2)
6282            .field("_gtk_reserved3", &self._gtk_reserved3)
6283            .field("_gtk_reserved4", &self._gtk_reserved4)
6284            .finish()
6285    }
6286}
6287
6288#[repr(C)]
6289#[derive(Copy, Clone)]
6290pub struct GtkNotebookAccessibleClass {
6291    pub parent_class: GtkContainerAccessibleClass,
6292}
6293
6294impl ::std::fmt::Debug for GtkNotebookAccessibleClass {
6295    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6296        f.debug_struct(&format!(
6297            "GtkNotebookAccessibleClass @ {:?}",
6298            self as *const _
6299        ))
6300        .field("parent_class", &self.parent_class)
6301        .finish()
6302    }
6303}
6304
6305#[repr(C)]
6306pub struct _GtkNotebookAccessiblePrivate(c_void);
6307
6308pub type GtkNotebookAccessiblePrivate = *mut _GtkNotebookAccessiblePrivate;
6309
6310#[repr(C)]
6311#[derive(Copy, Clone)]
6312pub struct GtkNotebookClass {
6313    pub parent_class: GtkContainerClass,
6314    pub switch_page: Option<unsafe extern "C" fn(*mut GtkNotebook, *mut GtkWidget, c_uint)>,
6315    pub select_page: Option<unsafe extern "C" fn(*mut GtkNotebook, gboolean) -> gboolean>,
6316    pub focus_tab: Option<unsafe extern "C" fn(*mut GtkNotebook, GtkNotebookTab) -> gboolean>,
6317    pub change_current_page: Option<unsafe extern "C" fn(*mut GtkNotebook, c_int) -> gboolean>,
6318    pub move_focus_out: Option<unsafe extern "C" fn(*mut GtkNotebook, GtkDirectionType)>,
6319    pub reorder_tab:
6320        Option<unsafe extern "C" fn(*mut GtkNotebook, GtkDirectionType, gboolean) -> gboolean>,
6321    pub insert_page: Option<
6322        unsafe extern "C" fn(
6323            *mut GtkNotebook,
6324            *mut GtkWidget,
6325            *mut GtkWidget,
6326            *mut GtkWidget,
6327            c_int,
6328        ) -> c_int,
6329    >,
6330    pub create_window: Option<
6331        unsafe extern "C" fn(*mut GtkNotebook, *mut GtkWidget, c_int, c_int) -> *mut GtkNotebook,
6332    >,
6333    pub page_reordered: Option<unsafe extern "C" fn(*mut GtkNotebook, *mut GtkWidget, c_uint)>,
6334    pub page_removed: Option<unsafe extern "C" fn(*mut GtkNotebook, *mut GtkWidget, c_uint)>,
6335    pub page_added: Option<unsafe extern "C" fn(*mut GtkNotebook, *mut GtkWidget, c_uint)>,
6336    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6337    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6338    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6339    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6340    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
6341    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
6342    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
6343    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
6344}
6345
6346impl ::std::fmt::Debug for GtkNotebookClass {
6347    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6348        f.debug_struct(&format!("GtkNotebookClass @ {:?}", self as *const _))
6349            .field("parent_class", &self.parent_class)
6350            .field("switch_page", &self.switch_page)
6351            .field("select_page", &self.select_page)
6352            .field("focus_tab", &self.focus_tab)
6353            .field("change_current_page", &self.change_current_page)
6354            .field("move_focus_out", &self.move_focus_out)
6355            .field("reorder_tab", &self.reorder_tab)
6356            .field("insert_page", &self.insert_page)
6357            .field("create_window", &self.create_window)
6358            .field("page_reordered", &self.page_reordered)
6359            .field("page_removed", &self.page_removed)
6360            .field("page_added", &self.page_added)
6361            .field("_gtk_reserved1", &self._gtk_reserved1)
6362            .field("_gtk_reserved2", &self._gtk_reserved2)
6363            .field("_gtk_reserved3", &self._gtk_reserved3)
6364            .field("_gtk_reserved4", &self._gtk_reserved4)
6365            .field("_gtk_reserved5", &self._gtk_reserved5)
6366            .field("_gtk_reserved6", &self._gtk_reserved6)
6367            .field("_gtk_reserved7", &self._gtk_reserved7)
6368            .field("_gtk_reserved8", &self._gtk_reserved8)
6369            .finish()
6370    }
6371}
6372
6373#[repr(C)]
6374#[derive(Copy, Clone)]
6375pub struct GtkNotebookPageAccessibleClass {
6376    pub parent_class: atk::AtkObjectClass,
6377}
6378
6379impl ::std::fmt::Debug for GtkNotebookPageAccessibleClass {
6380    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6381        f.debug_struct(&format!(
6382            "GtkNotebookPageAccessibleClass @ {:?}",
6383            self as *const _
6384        ))
6385        .field("parent_class", &self.parent_class)
6386        .finish()
6387    }
6388}
6389
6390#[repr(C)]
6391pub struct _GtkNotebookPageAccessiblePrivate(c_void);
6392
6393pub type GtkNotebookPageAccessiblePrivate = *mut _GtkNotebookPageAccessiblePrivate;
6394
6395#[repr(C)]
6396pub struct _GtkNotebookPrivate(c_void);
6397
6398pub type GtkNotebookPrivate = *mut _GtkNotebookPrivate;
6399
6400#[repr(C)]
6401#[derive(Copy, Clone)]
6402pub struct GtkNumerableIconClass {
6403    pub parent_class: gio::GEmblemedIconClass,
6404    pub padding: [gpointer; 16],
6405}
6406
6407impl ::std::fmt::Debug for GtkNumerableIconClass {
6408    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6409        f.debug_struct(&format!("GtkNumerableIconClass @ {:?}", self as *const _))
6410            .field("parent_class", &self.parent_class)
6411            .field("padding", &self.padding)
6412            .finish()
6413    }
6414}
6415
6416#[repr(C)]
6417pub struct _GtkNumerableIconPrivate(c_void);
6418
6419pub type GtkNumerableIconPrivate = *mut _GtkNumerableIconPrivate;
6420
6421#[repr(C)]
6422#[derive(Copy, Clone)]
6423pub struct GtkOffscreenWindowClass {
6424    pub parent_class: GtkWindowClass,
6425    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6426    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6427    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6428    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6429}
6430
6431impl ::std::fmt::Debug for GtkOffscreenWindowClass {
6432    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6433        f.debug_struct(&format!("GtkOffscreenWindowClass @ {:?}", self as *const _))
6434            .field("parent_class", &self.parent_class)
6435            .field("_gtk_reserved1", &self._gtk_reserved1)
6436            .field("_gtk_reserved2", &self._gtk_reserved2)
6437            .field("_gtk_reserved3", &self._gtk_reserved3)
6438            .field("_gtk_reserved4", &self._gtk_reserved4)
6439            .finish()
6440    }
6441}
6442
6443#[repr(C)]
6444#[derive(Copy, Clone)]
6445pub struct GtkOrientableIface {
6446    pub base_iface: gobject::GTypeInterface,
6447}
6448
6449impl ::std::fmt::Debug for GtkOrientableIface {
6450    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6451        f.debug_struct(&format!("GtkOrientableIface @ {:?}", self as *const _))
6452            .field("base_iface", &self.base_iface)
6453            .finish()
6454    }
6455}
6456
6457#[repr(C)]
6458#[derive(Copy, Clone)]
6459pub struct GtkOverlayClass {
6460    pub parent_class: GtkBinClass,
6461    pub get_child_position: Option<
6462        unsafe extern "C" fn(*mut GtkOverlay, *mut GtkWidget, *mut GtkAllocation) -> gboolean,
6463    >,
6464    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6465    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6466    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6467    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6468    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
6469    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
6470    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
6471    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
6472}
6473
6474impl ::std::fmt::Debug for GtkOverlayClass {
6475    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6476        f.debug_struct(&format!("GtkOverlayClass @ {:?}", self as *const _))
6477            .field("parent_class", &self.parent_class)
6478            .field("get_child_position", &self.get_child_position)
6479            .field("_gtk_reserved1", &self._gtk_reserved1)
6480            .field("_gtk_reserved2", &self._gtk_reserved2)
6481            .field("_gtk_reserved3", &self._gtk_reserved3)
6482            .field("_gtk_reserved4", &self._gtk_reserved4)
6483            .field("_gtk_reserved5", &self._gtk_reserved5)
6484            .field("_gtk_reserved6", &self._gtk_reserved6)
6485            .field("_gtk_reserved7", &self._gtk_reserved7)
6486            .field("_gtk_reserved8", &self._gtk_reserved8)
6487            .finish()
6488    }
6489}
6490
6491#[repr(C)]
6492pub struct _GtkOverlayPrivate(c_void);
6493
6494pub type GtkOverlayPrivate = *mut _GtkOverlayPrivate;
6495
6496#[repr(C)]
6497#[derive(Copy, Clone)]
6498pub struct GtkPadActionEntry {
6499    pub type_: GtkPadActionType,
6500    pub index: c_int,
6501    pub mode: c_int,
6502    pub label: *mut c_char,
6503    pub action_name: *mut c_char,
6504}
6505
6506impl ::std::fmt::Debug for GtkPadActionEntry {
6507    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6508        f.debug_struct(&format!("GtkPadActionEntry @ {:?}", self as *const _))
6509            .field("type_", &self.type_)
6510            .field("index", &self.index)
6511            .field("mode", &self.mode)
6512            .field("label", &self.label)
6513            .field("action_name", &self.action_name)
6514            .finish()
6515    }
6516}
6517
6518#[repr(C)]
6519pub struct _GtkPadControllerClass(c_void);
6520
6521pub type GtkPadControllerClass = *mut _GtkPadControllerClass;
6522
6523#[repr(C)]
6524#[derive(Copy, Clone)]
6525pub struct GtkPageRange {
6526    pub start: c_int,
6527    pub end: c_int,
6528}
6529
6530impl ::std::fmt::Debug for GtkPageRange {
6531    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6532        f.debug_struct(&format!("GtkPageRange @ {:?}", self as *const _))
6533            .field("start", &self.start)
6534            .field("end", &self.end)
6535            .finish()
6536    }
6537}
6538
6539#[repr(C)]
6540#[derive(Copy, Clone)]
6541pub struct GtkPanedAccessibleClass {
6542    pub parent_class: GtkContainerAccessibleClass,
6543}
6544
6545impl ::std::fmt::Debug for GtkPanedAccessibleClass {
6546    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6547        f.debug_struct(&format!("GtkPanedAccessibleClass @ {:?}", self as *const _))
6548            .field("parent_class", &self.parent_class)
6549            .finish()
6550    }
6551}
6552
6553#[repr(C)]
6554pub struct _GtkPanedAccessiblePrivate(c_void);
6555
6556pub type GtkPanedAccessiblePrivate = *mut _GtkPanedAccessiblePrivate;
6557
6558#[repr(C)]
6559#[derive(Copy, Clone)]
6560pub struct GtkPanedClass {
6561    pub parent_class: GtkContainerClass,
6562    pub cycle_child_focus: Option<unsafe extern "C" fn(*mut GtkPaned, gboolean) -> gboolean>,
6563    pub toggle_handle_focus: Option<unsafe extern "C" fn(*mut GtkPaned) -> gboolean>,
6564    pub move_handle: Option<unsafe extern "C" fn(*mut GtkPaned, GtkScrollType) -> gboolean>,
6565    pub cycle_handle_focus: Option<unsafe extern "C" fn(*mut GtkPaned, gboolean) -> gboolean>,
6566    pub accept_position: Option<unsafe extern "C" fn(*mut GtkPaned) -> gboolean>,
6567    pub cancel_position: Option<unsafe extern "C" fn(*mut GtkPaned) -> gboolean>,
6568    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6569    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6570    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6571    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6572}
6573
6574impl ::std::fmt::Debug for GtkPanedClass {
6575    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6576        f.debug_struct(&format!("GtkPanedClass @ {:?}", self as *const _))
6577            .field("parent_class", &self.parent_class)
6578            .field("cycle_child_focus", &self.cycle_child_focus)
6579            .field("toggle_handle_focus", &self.toggle_handle_focus)
6580            .field("move_handle", &self.move_handle)
6581            .field("cycle_handle_focus", &self.cycle_handle_focus)
6582            .field("accept_position", &self.accept_position)
6583            .field("cancel_position", &self.cancel_position)
6584            .field("_gtk_reserved1", &self._gtk_reserved1)
6585            .field("_gtk_reserved2", &self._gtk_reserved2)
6586            .field("_gtk_reserved3", &self._gtk_reserved3)
6587            .field("_gtk_reserved4", &self._gtk_reserved4)
6588            .finish()
6589    }
6590}
6591
6592#[repr(C)]
6593pub struct _GtkPanedPrivate(c_void);
6594
6595pub type GtkPanedPrivate = *mut _GtkPanedPrivate;
6596
6597#[repr(C)]
6598pub struct GtkPaperSize(c_void);
6599
6600impl ::std::fmt::Debug for GtkPaperSize {
6601    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6602        f.debug_struct(&format!("GtkPaperSize @ {:?}", self as *const _))
6603            .finish()
6604    }
6605}
6606
6607#[repr(C)]
6608pub struct _GtkPlacesSidebarClass(c_void);
6609
6610pub type GtkPlacesSidebarClass = *mut _GtkPlacesSidebarClass;
6611
6612#[repr(C)]
6613#[derive(Copy, Clone)]
6614pub struct GtkPlugClass {
6615    pub parent_class: GtkWindowClass,
6616    pub embedded: Option<unsafe extern "C" fn(*mut GtkPlug)>,
6617    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6618    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6619    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6620    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6621}
6622
6623impl ::std::fmt::Debug for GtkPlugClass {
6624    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6625        f.debug_struct(&format!("GtkPlugClass @ {:?}", self as *const _))
6626            .field("parent_class", &self.parent_class)
6627            .field("embedded", &self.embedded)
6628            .field("_gtk_reserved1", &self._gtk_reserved1)
6629            .field("_gtk_reserved2", &self._gtk_reserved2)
6630            .field("_gtk_reserved3", &self._gtk_reserved3)
6631            .field("_gtk_reserved4", &self._gtk_reserved4)
6632            .finish()
6633    }
6634}
6635
6636#[repr(C)]
6637pub struct _GtkPlugPrivate(c_void);
6638
6639pub type GtkPlugPrivate = *mut _GtkPlugPrivate;
6640
6641#[repr(C)]
6642#[derive(Copy, Clone)]
6643pub struct GtkPopoverAccessibleClass {
6644    pub parent_class: GtkContainerAccessibleClass,
6645}
6646
6647impl ::std::fmt::Debug for GtkPopoverAccessibleClass {
6648    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6649        f.debug_struct(&format!(
6650            "GtkPopoverAccessibleClass @ {:?}",
6651            self as *const _
6652        ))
6653        .field("parent_class", &self.parent_class)
6654        .finish()
6655    }
6656}
6657
6658#[repr(C)]
6659#[derive(Copy, Clone)]
6660pub struct GtkPopoverClass {
6661    pub parent_class: GtkBinClass,
6662    pub closed: Option<unsafe extern "C" fn(*mut GtkPopover)>,
6663    pub reserved: [gpointer; 10],
6664}
6665
6666impl ::std::fmt::Debug for GtkPopoverClass {
6667    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6668        f.debug_struct(&format!("GtkPopoverClass @ {:?}", self as *const _))
6669            .field("parent_class", &self.parent_class)
6670            .field("closed", &self.closed)
6671            .finish()
6672    }
6673}
6674
6675#[repr(C)]
6676#[derive(Copy, Clone)]
6677pub struct GtkPopoverMenuClass {
6678    pub parent_class: GtkPopoverClass,
6679    pub reserved: [gpointer; 10],
6680}
6681
6682impl ::std::fmt::Debug for GtkPopoverMenuClass {
6683    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6684        f.debug_struct(&format!("GtkPopoverMenuClass @ {:?}", self as *const _))
6685            .field("parent_class", &self.parent_class)
6686            .finish()
6687    }
6688}
6689
6690#[repr(C)]
6691pub struct _GtkPopoverPrivate(c_void);
6692
6693pub type GtkPopoverPrivate = *mut _GtkPopoverPrivate;
6694
6695#[repr(C)]
6696#[derive(Copy, Clone)]
6697pub struct GtkPrintOperationClass {
6698    pub parent_class: gobject::GObjectClass,
6699    pub done: Option<unsafe extern "C" fn(*mut GtkPrintOperation, GtkPrintOperationResult)>,
6700    pub begin_print: Option<unsafe extern "C" fn(*mut GtkPrintOperation, *mut GtkPrintContext)>,
6701    pub paginate:
6702        Option<unsafe extern "C" fn(*mut GtkPrintOperation, *mut GtkPrintContext) -> gboolean>,
6703    pub request_page_setup: Option<
6704        unsafe extern "C" fn(
6705            *mut GtkPrintOperation,
6706            *mut GtkPrintContext,
6707            c_int,
6708            *mut GtkPageSetup,
6709        ),
6710    >,
6711    pub draw_page:
6712        Option<unsafe extern "C" fn(*mut GtkPrintOperation, *mut GtkPrintContext, c_int)>,
6713    pub end_print: Option<unsafe extern "C" fn(*mut GtkPrintOperation, *mut GtkPrintContext)>,
6714    pub status_changed: Option<unsafe extern "C" fn(*mut GtkPrintOperation)>,
6715    pub create_custom_widget:
6716        Option<unsafe extern "C" fn(*mut GtkPrintOperation) -> *mut GtkWidget>,
6717    pub custom_widget_apply: Option<unsafe extern "C" fn(*mut GtkPrintOperation, *mut GtkWidget)>,
6718    pub preview: Option<
6719        unsafe extern "C" fn(
6720            *mut GtkPrintOperation,
6721            *mut GtkPrintOperationPreview,
6722            *mut GtkPrintContext,
6723            *mut GtkWindow,
6724        ) -> gboolean,
6725    >,
6726    pub update_custom_widget: Option<
6727        unsafe extern "C" fn(
6728            *mut GtkPrintOperation,
6729            *mut GtkWidget,
6730            *mut GtkPageSetup,
6731            *mut GtkPrintSettings,
6732        ),
6733    >,
6734    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6735    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6736    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6737    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6738    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
6739    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
6740    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
6741    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
6742}
6743
6744impl ::std::fmt::Debug for GtkPrintOperationClass {
6745    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6746        f.debug_struct(&format!("GtkPrintOperationClass @ {:?}", self as *const _))
6747            .field("parent_class", &self.parent_class)
6748            .field("done", &self.done)
6749            .field("begin_print", &self.begin_print)
6750            .field("paginate", &self.paginate)
6751            .field("request_page_setup", &self.request_page_setup)
6752            .field("draw_page", &self.draw_page)
6753            .field("end_print", &self.end_print)
6754            .field("status_changed", &self.status_changed)
6755            .field("create_custom_widget", &self.create_custom_widget)
6756            .field("custom_widget_apply", &self.custom_widget_apply)
6757            .field("preview", &self.preview)
6758            .field("update_custom_widget", &self.update_custom_widget)
6759            .field("_gtk_reserved1", &self._gtk_reserved1)
6760            .field("_gtk_reserved2", &self._gtk_reserved2)
6761            .field("_gtk_reserved3", &self._gtk_reserved3)
6762            .field("_gtk_reserved4", &self._gtk_reserved4)
6763            .field("_gtk_reserved5", &self._gtk_reserved5)
6764            .field("_gtk_reserved6", &self._gtk_reserved6)
6765            .field("_gtk_reserved7", &self._gtk_reserved7)
6766            .field("_gtk_reserved8", &self._gtk_reserved8)
6767            .finish()
6768    }
6769}
6770
6771#[repr(C)]
6772#[derive(Copy, Clone)]
6773pub struct GtkPrintOperationPreviewIface {
6774    pub g_iface: gobject::GTypeInterface,
6775    pub ready: Option<unsafe extern "C" fn(*mut GtkPrintOperationPreview, *mut GtkPrintContext)>,
6776    pub got_page_size: Option<
6777        unsafe extern "C" fn(
6778            *mut GtkPrintOperationPreview,
6779            *mut GtkPrintContext,
6780            *mut GtkPageSetup,
6781        ),
6782    >,
6783    pub render_page: Option<unsafe extern "C" fn(*mut GtkPrintOperationPreview, c_int)>,
6784    pub is_selected: Option<unsafe extern "C" fn(*mut GtkPrintOperationPreview, c_int) -> gboolean>,
6785    pub end_preview: Option<unsafe extern "C" fn(*mut GtkPrintOperationPreview)>,
6786    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6787    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6788    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6789    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6790    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
6791    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
6792    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
6793    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
6794}
6795
6796impl ::std::fmt::Debug for GtkPrintOperationPreviewIface {
6797    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6798        f.debug_struct(&format!(
6799            "GtkPrintOperationPreviewIface @ {:?}",
6800            self as *const _
6801        ))
6802        .field("g_iface", &self.g_iface)
6803        .field("ready", &self.ready)
6804        .field("got_page_size", &self.got_page_size)
6805        .field("render_page", &self.render_page)
6806        .field("is_selected", &self.is_selected)
6807        .field("end_preview", &self.end_preview)
6808        .field("_gtk_reserved1", &self._gtk_reserved1)
6809        .field("_gtk_reserved2", &self._gtk_reserved2)
6810        .field("_gtk_reserved3", &self._gtk_reserved3)
6811        .field("_gtk_reserved4", &self._gtk_reserved4)
6812        .field("_gtk_reserved5", &self._gtk_reserved5)
6813        .field("_gtk_reserved6", &self._gtk_reserved6)
6814        .field("_gtk_reserved7", &self._gtk_reserved7)
6815        .field("_gtk_reserved8", &self._gtk_reserved8)
6816        .finish()
6817    }
6818}
6819
6820#[repr(C)]
6821pub struct _GtkPrintOperationPrivate(c_void);
6822
6823pub type GtkPrintOperationPrivate = *mut _GtkPrintOperationPrivate;
6824
6825#[repr(C)]
6826#[derive(Copy, Clone)]
6827pub struct GtkProgressBarAccessibleClass {
6828    pub parent_class: GtkWidgetAccessibleClass,
6829}
6830
6831impl ::std::fmt::Debug for GtkProgressBarAccessibleClass {
6832    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6833        f.debug_struct(&format!(
6834            "GtkProgressBarAccessibleClass @ {:?}",
6835            self as *const _
6836        ))
6837        .field("parent_class", &self.parent_class)
6838        .finish()
6839    }
6840}
6841
6842#[repr(C)]
6843pub struct _GtkProgressBarAccessiblePrivate(c_void);
6844
6845pub type GtkProgressBarAccessiblePrivate = *mut _GtkProgressBarAccessiblePrivate;
6846
6847#[repr(C)]
6848#[derive(Copy, Clone)]
6849pub struct GtkProgressBarClass {
6850    pub parent_class: GtkWidgetClass,
6851    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6852    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6853    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6854    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6855}
6856
6857impl ::std::fmt::Debug for GtkProgressBarClass {
6858    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6859        f.debug_struct(&format!("GtkProgressBarClass @ {:?}", self as *const _))
6860            .field("parent_class", &self.parent_class)
6861            .field("_gtk_reserved1", &self._gtk_reserved1)
6862            .field("_gtk_reserved2", &self._gtk_reserved2)
6863            .field("_gtk_reserved3", &self._gtk_reserved3)
6864            .field("_gtk_reserved4", &self._gtk_reserved4)
6865            .finish()
6866    }
6867}
6868
6869#[repr(C)]
6870pub struct _GtkProgressBarPrivate(c_void);
6871
6872pub type GtkProgressBarPrivate = *mut _GtkProgressBarPrivate;
6873
6874#[repr(C)]
6875#[derive(Copy, Clone)]
6876pub struct GtkRadioActionClass {
6877    pub parent_class: GtkToggleActionClass,
6878    pub changed: Option<unsafe extern "C" fn(*mut GtkRadioAction, *mut GtkRadioAction)>,
6879    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6880    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6881    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6882    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6883}
6884
6885impl ::std::fmt::Debug for GtkRadioActionClass {
6886    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6887        f.debug_struct(&format!("GtkRadioActionClass @ {:?}", self as *const _))
6888            .field("parent_class", &self.parent_class)
6889            .field("changed", &self.changed)
6890            .field("_gtk_reserved1", &self._gtk_reserved1)
6891            .field("_gtk_reserved2", &self._gtk_reserved2)
6892            .field("_gtk_reserved3", &self._gtk_reserved3)
6893            .field("_gtk_reserved4", &self._gtk_reserved4)
6894            .finish()
6895    }
6896}
6897
6898#[repr(C)]
6899#[derive(Copy, Clone)]
6900pub struct GtkRadioActionEntry {
6901    pub name: *const c_char,
6902    pub stock_id: *const c_char,
6903    pub label: *const c_char,
6904    pub accelerator: *const c_char,
6905    pub tooltip: *const c_char,
6906    pub value: c_int,
6907}
6908
6909impl ::std::fmt::Debug for GtkRadioActionEntry {
6910    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6911        f.debug_struct(&format!("GtkRadioActionEntry @ {:?}", self as *const _))
6912            .field("name", &self.name)
6913            .field("stock_id", &self.stock_id)
6914            .field("label", &self.label)
6915            .field("accelerator", &self.accelerator)
6916            .field("tooltip", &self.tooltip)
6917            .field("value", &self.value)
6918            .finish()
6919    }
6920}
6921
6922#[repr(C)]
6923pub struct _GtkRadioActionPrivate(c_void);
6924
6925pub type GtkRadioActionPrivate = *mut _GtkRadioActionPrivate;
6926
6927#[repr(C)]
6928#[derive(Copy, Clone)]
6929pub struct GtkRadioButtonAccessibleClass {
6930    pub parent_class: GtkToggleButtonAccessibleClass,
6931}
6932
6933impl ::std::fmt::Debug for GtkRadioButtonAccessibleClass {
6934    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6935        f.debug_struct(&format!(
6936            "GtkRadioButtonAccessibleClass @ {:?}",
6937            self as *const _
6938        ))
6939        .field("parent_class", &self.parent_class)
6940        .finish()
6941    }
6942}
6943
6944#[repr(C)]
6945pub struct _GtkRadioButtonAccessiblePrivate(c_void);
6946
6947pub type GtkRadioButtonAccessiblePrivate = *mut _GtkRadioButtonAccessiblePrivate;
6948
6949#[repr(C)]
6950#[derive(Copy, Clone)]
6951pub struct GtkRadioButtonClass {
6952    pub parent_class: GtkCheckButtonClass,
6953    pub group_changed: Option<unsafe extern "C" fn(*mut GtkRadioButton)>,
6954    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
6955    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
6956    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
6957    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
6958}
6959
6960impl ::std::fmt::Debug for GtkRadioButtonClass {
6961    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6962        f.debug_struct(&format!("GtkRadioButtonClass @ {:?}", self as *const _))
6963            .field("parent_class", &self.parent_class)
6964            .field("group_changed", &self.group_changed)
6965            .field("_gtk_reserved1", &self._gtk_reserved1)
6966            .field("_gtk_reserved2", &self._gtk_reserved2)
6967            .field("_gtk_reserved3", &self._gtk_reserved3)
6968            .field("_gtk_reserved4", &self._gtk_reserved4)
6969            .finish()
6970    }
6971}
6972
6973#[repr(C)]
6974pub struct _GtkRadioButtonPrivate(c_void);
6975
6976pub type GtkRadioButtonPrivate = *mut _GtkRadioButtonPrivate;
6977
6978#[repr(C)]
6979#[derive(Copy, Clone)]
6980pub struct GtkRadioMenuItemAccessibleClass {
6981    pub parent_class: GtkCheckMenuItemAccessibleClass,
6982}
6983
6984impl ::std::fmt::Debug for GtkRadioMenuItemAccessibleClass {
6985    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
6986        f.debug_struct(&format!(
6987            "GtkRadioMenuItemAccessibleClass @ {:?}",
6988            self as *const _
6989        ))
6990        .field("parent_class", &self.parent_class)
6991        .finish()
6992    }
6993}
6994
6995#[repr(C)]
6996pub struct _GtkRadioMenuItemAccessiblePrivate(c_void);
6997
6998pub type GtkRadioMenuItemAccessiblePrivate = *mut _GtkRadioMenuItemAccessiblePrivate;
6999
7000#[repr(C)]
7001#[derive(Copy, Clone)]
7002pub struct GtkRadioMenuItemClass {
7003    pub parent_class: GtkCheckMenuItemClass,
7004    pub group_changed: Option<unsafe extern "C" fn(*mut GtkRadioMenuItem)>,
7005    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7006    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7007    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7008    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7009}
7010
7011impl ::std::fmt::Debug for GtkRadioMenuItemClass {
7012    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7013        f.debug_struct(&format!("GtkRadioMenuItemClass @ {:?}", self as *const _))
7014            .field("parent_class", &self.parent_class)
7015            .field("group_changed", &self.group_changed)
7016            .field("_gtk_reserved1", &self._gtk_reserved1)
7017            .field("_gtk_reserved2", &self._gtk_reserved2)
7018            .field("_gtk_reserved3", &self._gtk_reserved3)
7019            .field("_gtk_reserved4", &self._gtk_reserved4)
7020            .finish()
7021    }
7022}
7023
7024#[repr(C)]
7025pub struct _GtkRadioMenuItemPrivate(c_void);
7026
7027pub type GtkRadioMenuItemPrivate = *mut _GtkRadioMenuItemPrivate;
7028
7029#[repr(C)]
7030#[derive(Copy, Clone)]
7031pub struct GtkRadioToolButtonClass {
7032    pub parent_class: GtkToggleToolButtonClass,
7033    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7034    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7035    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7036    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7037}
7038
7039impl ::std::fmt::Debug for GtkRadioToolButtonClass {
7040    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7041        f.debug_struct(&format!("GtkRadioToolButtonClass @ {:?}", self as *const _))
7042            .field("parent_class", &self.parent_class)
7043            .field("_gtk_reserved1", &self._gtk_reserved1)
7044            .field("_gtk_reserved2", &self._gtk_reserved2)
7045            .field("_gtk_reserved3", &self._gtk_reserved3)
7046            .field("_gtk_reserved4", &self._gtk_reserved4)
7047            .finish()
7048    }
7049}
7050
7051#[repr(C)]
7052#[derive(Copy, Clone)]
7053pub struct GtkRangeAccessibleClass {
7054    pub parent_class: GtkWidgetAccessibleClass,
7055}
7056
7057impl ::std::fmt::Debug for GtkRangeAccessibleClass {
7058    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7059        f.debug_struct(&format!("GtkRangeAccessibleClass @ {:?}", self as *const _))
7060            .field("parent_class", &self.parent_class)
7061            .finish()
7062    }
7063}
7064
7065#[repr(C)]
7066pub struct _GtkRangeAccessiblePrivate(c_void);
7067
7068pub type GtkRangeAccessiblePrivate = *mut _GtkRangeAccessiblePrivate;
7069
7070#[repr(C)]
7071#[derive(Copy, Clone)]
7072pub struct GtkRangeClass {
7073    pub parent_class: GtkWidgetClass,
7074    pub slider_detail: *mut c_char,
7075    pub stepper_detail: *mut c_char,
7076    pub value_changed: Option<unsafe extern "C" fn(*mut GtkRange)>,
7077    pub adjust_bounds: Option<unsafe extern "C" fn(*mut GtkRange, c_double)>,
7078    pub move_slider: Option<unsafe extern "C" fn(*mut GtkRange, GtkScrollType)>,
7079    pub get_range_border: Option<unsafe extern "C" fn(*mut GtkRange, *mut GtkBorder)>,
7080    pub change_value:
7081        Option<unsafe extern "C" fn(*mut GtkRange, GtkScrollType, c_double) -> gboolean>,
7082    pub get_range_size_request:
7083        Option<unsafe extern "C" fn(*mut GtkRange, GtkOrientation, *mut c_int, *mut c_int)>,
7084    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7085    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7086    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7087}
7088
7089impl ::std::fmt::Debug for GtkRangeClass {
7090    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7091        f.debug_struct(&format!("GtkRangeClass @ {:?}", self as *const _))
7092            .field("parent_class", &self.parent_class)
7093            .field("slider_detail", &self.slider_detail)
7094            .field("stepper_detail", &self.stepper_detail)
7095            .field("value_changed", &self.value_changed)
7096            .field("adjust_bounds", &self.adjust_bounds)
7097            .field("move_slider", &self.move_slider)
7098            .field("get_range_border", &self.get_range_border)
7099            .field("change_value", &self.change_value)
7100            .field("get_range_size_request", &self.get_range_size_request)
7101            .field("_gtk_reserved1", &self._gtk_reserved1)
7102            .field("_gtk_reserved2", &self._gtk_reserved2)
7103            .field("_gtk_reserved3", &self._gtk_reserved3)
7104            .finish()
7105    }
7106}
7107
7108#[repr(C)]
7109pub struct _GtkRangePrivate(c_void);
7110
7111pub type GtkRangePrivate = *mut _GtkRangePrivate;
7112
7113#[repr(C)]
7114pub struct _GtkRcContext(c_void);
7115
7116pub type GtkRcContext = *mut _GtkRcContext;
7117
7118#[repr(C)]
7119#[derive(Copy, Clone)]
7120pub struct GtkRcProperty {
7121    pub type_name: glib::GQuark,
7122    pub property_name: glib::GQuark,
7123    pub origin: *mut c_char,
7124    pub value: gobject::GValue,
7125}
7126
7127impl ::std::fmt::Debug for GtkRcProperty {
7128    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7129        f.debug_struct(&format!("GtkRcProperty @ {:?}", self as *const _))
7130            .field("type_name", &self.type_name)
7131            .field("property_name", &self.property_name)
7132            .field("origin", &self.origin)
7133            .field("value", &self.value)
7134            .finish()
7135    }
7136}
7137
7138#[repr(C)]
7139#[derive(Copy, Clone)]
7140pub struct GtkRcStyleClass {
7141    pub parent_class: gobject::GObjectClass,
7142    pub create_rc_style: Option<unsafe extern "C" fn(*mut GtkRcStyle) -> *mut GtkRcStyle>,
7143    pub parse: Option<
7144        unsafe extern "C" fn(*mut GtkRcStyle, *mut GtkSettings, *mut glib::GScanner) -> c_uint,
7145    >,
7146    pub merge: Option<unsafe extern "C" fn(*mut GtkRcStyle, *mut GtkRcStyle)>,
7147    pub create_style: Option<unsafe extern "C" fn(*mut GtkRcStyle) -> *mut GtkStyle>,
7148    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7149    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7150    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7151    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7152}
7153
7154impl ::std::fmt::Debug for GtkRcStyleClass {
7155    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7156        f.debug_struct(&format!("GtkRcStyleClass @ {:?}", self as *const _))
7157            .field("parent_class", &self.parent_class)
7158            .field("create_rc_style", &self.create_rc_style)
7159            .field("parse", &self.parse)
7160            .field("merge", &self.merge)
7161            .field("create_style", &self.create_style)
7162            .field("_gtk_reserved1", &self._gtk_reserved1)
7163            .field("_gtk_reserved2", &self._gtk_reserved2)
7164            .field("_gtk_reserved3", &self._gtk_reserved3)
7165            .field("_gtk_reserved4", &self._gtk_reserved4)
7166            .finish()
7167    }
7168}
7169
7170#[repr(C)]
7171#[derive(Copy, Clone)]
7172pub struct GtkRecentActionClass {
7173    pub parent_class: GtkActionClass,
7174    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7175    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7176    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7177    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7178}
7179
7180impl ::std::fmt::Debug for GtkRecentActionClass {
7181    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7182        f.debug_struct(&format!("GtkRecentActionClass @ {:?}", self as *const _))
7183            .field("parent_class", &self.parent_class)
7184            .field("_gtk_reserved1", &self._gtk_reserved1)
7185            .field("_gtk_reserved2", &self._gtk_reserved2)
7186            .field("_gtk_reserved3", &self._gtk_reserved3)
7187            .field("_gtk_reserved4", &self._gtk_reserved4)
7188            .finish()
7189    }
7190}
7191
7192#[repr(C)]
7193pub struct _GtkRecentActionPrivate(c_void);
7194
7195pub type GtkRecentActionPrivate = *mut _GtkRecentActionPrivate;
7196
7197#[repr(C)]
7198#[derive(Copy, Clone)]
7199pub struct GtkRecentChooserDialogClass {
7200    pub parent_class: GtkDialogClass,
7201    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7202    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7203    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7204    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7205}
7206
7207impl ::std::fmt::Debug for GtkRecentChooserDialogClass {
7208    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7209        f.debug_struct(&format!(
7210            "GtkRecentChooserDialogClass @ {:?}",
7211            self as *const _
7212        ))
7213        .field("parent_class", &self.parent_class)
7214        .field("_gtk_reserved1", &self._gtk_reserved1)
7215        .field("_gtk_reserved2", &self._gtk_reserved2)
7216        .field("_gtk_reserved3", &self._gtk_reserved3)
7217        .field("_gtk_reserved4", &self._gtk_reserved4)
7218        .finish()
7219    }
7220}
7221
7222#[repr(C)]
7223pub struct _GtkRecentChooserDialogPrivate(c_void);
7224
7225pub type GtkRecentChooserDialogPrivate = *mut _GtkRecentChooserDialogPrivate;
7226
7227#[repr(C)]
7228#[derive(Copy, Clone)]
7229pub struct GtkRecentChooserIface {
7230    pub base_iface: gobject::GTypeInterface,
7231    pub set_current_uri: Option<
7232        unsafe extern "C" fn(
7233            *mut GtkRecentChooser,
7234            *const c_char,
7235            *mut *mut glib::GError,
7236        ) -> gboolean,
7237    >,
7238    pub get_current_uri: Option<unsafe extern "C" fn(*mut GtkRecentChooser) -> *mut c_char>,
7239    pub select_uri: Option<
7240        unsafe extern "C" fn(
7241            *mut GtkRecentChooser,
7242            *const c_char,
7243            *mut *mut glib::GError,
7244        ) -> gboolean,
7245    >,
7246    pub unselect_uri: Option<unsafe extern "C" fn(*mut GtkRecentChooser, *const c_char)>,
7247    pub select_all: Option<unsafe extern "C" fn(*mut GtkRecentChooser)>,
7248    pub unselect_all: Option<unsafe extern "C" fn(*mut GtkRecentChooser)>,
7249    pub get_items: Option<unsafe extern "C" fn(*mut GtkRecentChooser) -> *mut glib::GList>,
7250    pub get_recent_manager:
7251        Option<unsafe extern "C" fn(*mut GtkRecentChooser) -> *mut GtkRecentManager>,
7252    pub add_filter: Option<unsafe extern "C" fn(*mut GtkRecentChooser, *mut GtkRecentFilter)>,
7253    pub remove_filter: Option<unsafe extern "C" fn(*mut GtkRecentChooser, *mut GtkRecentFilter)>,
7254    pub list_filters: Option<unsafe extern "C" fn(*mut GtkRecentChooser) -> *mut glib::GSList>,
7255    pub set_sort_func: Option<
7256        unsafe extern "C" fn(
7257            *mut GtkRecentChooser,
7258            GtkRecentSortFunc,
7259            gpointer,
7260            glib::GDestroyNotify,
7261        ),
7262    >,
7263    pub item_activated: Option<unsafe extern "C" fn(*mut GtkRecentChooser)>,
7264    pub selection_changed: Option<unsafe extern "C" fn(*mut GtkRecentChooser)>,
7265}
7266
7267impl ::std::fmt::Debug for GtkRecentChooserIface {
7268    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7269        f.debug_struct(&format!("GtkRecentChooserIface @ {:?}", self as *const _))
7270            .field("set_current_uri", &self.set_current_uri)
7271            .field("get_current_uri", &self.get_current_uri)
7272            .field("select_uri", &self.select_uri)
7273            .field("unselect_uri", &self.unselect_uri)
7274            .field("select_all", &self.select_all)
7275            .field("unselect_all", &self.unselect_all)
7276            .field("get_items", &self.get_items)
7277            .field("get_recent_manager", &self.get_recent_manager)
7278            .field("add_filter", &self.add_filter)
7279            .field("remove_filter", &self.remove_filter)
7280            .field("list_filters", &self.list_filters)
7281            .field("set_sort_func", &self.set_sort_func)
7282            .field("item_activated", &self.item_activated)
7283            .field("selection_changed", &self.selection_changed)
7284            .finish()
7285    }
7286}
7287
7288#[repr(C)]
7289#[derive(Copy, Clone)]
7290pub struct GtkRecentChooserMenuClass {
7291    pub parent_class: GtkMenuClass,
7292    pub gtk_recent1: Option<unsafe extern "C" fn()>,
7293    pub gtk_recent2: Option<unsafe extern "C" fn()>,
7294    pub gtk_recent3: Option<unsafe extern "C" fn()>,
7295    pub gtk_recent4: Option<unsafe extern "C" fn()>,
7296}
7297
7298impl ::std::fmt::Debug for GtkRecentChooserMenuClass {
7299    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7300        f.debug_struct(&format!(
7301            "GtkRecentChooserMenuClass @ {:?}",
7302            self as *const _
7303        ))
7304        .field("parent_class", &self.parent_class)
7305        .field("gtk_recent1", &self.gtk_recent1)
7306        .field("gtk_recent2", &self.gtk_recent2)
7307        .field("gtk_recent3", &self.gtk_recent3)
7308        .field("gtk_recent4", &self.gtk_recent4)
7309        .finish()
7310    }
7311}
7312
7313#[repr(C)]
7314pub struct _GtkRecentChooserMenuPrivate(c_void);
7315
7316pub type GtkRecentChooserMenuPrivate = *mut _GtkRecentChooserMenuPrivate;
7317
7318#[repr(C)]
7319#[derive(Copy, Clone)]
7320pub struct GtkRecentChooserWidgetClass {
7321    pub parent_class: GtkBoxClass,
7322    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7323    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7324    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7325    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7326}
7327
7328impl ::std::fmt::Debug for GtkRecentChooserWidgetClass {
7329    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7330        f.debug_struct(&format!(
7331            "GtkRecentChooserWidgetClass @ {:?}",
7332            self as *const _
7333        ))
7334        .field("parent_class", &self.parent_class)
7335        .field("_gtk_reserved1", &self._gtk_reserved1)
7336        .field("_gtk_reserved2", &self._gtk_reserved2)
7337        .field("_gtk_reserved3", &self._gtk_reserved3)
7338        .field("_gtk_reserved4", &self._gtk_reserved4)
7339        .finish()
7340    }
7341}
7342
7343#[repr(C)]
7344pub struct _GtkRecentChooserWidgetPrivate(c_void);
7345
7346pub type GtkRecentChooserWidgetPrivate = *mut _GtkRecentChooserWidgetPrivate;
7347
7348#[repr(C)]
7349#[derive(Copy, Clone)]
7350pub struct GtkRecentData {
7351    pub display_name: *mut c_char,
7352    pub description: *mut c_char,
7353    pub mime_type: *mut c_char,
7354    pub app_name: *mut c_char,
7355    pub app_exec: *mut c_char,
7356    pub groups: *mut *mut c_char,
7357    pub is_private: gboolean,
7358}
7359
7360impl ::std::fmt::Debug for GtkRecentData {
7361    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7362        f.debug_struct(&format!("GtkRecentData @ {:?}", self as *const _))
7363            .field("display_name", &self.display_name)
7364            .field("description", &self.description)
7365            .field("mime_type", &self.mime_type)
7366            .field("app_name", &self.app_name)
7367            .field("app_exec", &self.app_exec)
7368            .field("groups", &self.groups)
7369            .field("is_private", &self.is_private)
7370            .finish()
7371    }
7372}
7373
7374#[repr(C)]
7375#[derive(Copy, Clone)]
7376pub struct GtkRecentFilterInfo {
7377    pub contains: GtkRecentFilterFlags,
7378    pub uri: *const c_char,
7379    pub display_name: *const c_char,
7380    pub mime_type: *const c_char,
7381    pub applications: *mut *const c_char,
7382    pub groups: *mut *const c_char,
7383    pub age: c_int,
7384}
7385
7386impl ::std::fmt::Debug for GtkRecentFilterInfo {
7387    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7388        f.debug_struct(&format!("GtkRecentFilterInfo @ {:?}", self as *const _))
7389            .field("contains", &self.contains)
7390            .field("uri", &self.uri)
7391            .field("display_name", &self.display_name)
7392            .field("mime_type", &self.mime_type)
7393            .field("applications", &self.applications)
7394            .field("groups", &self.groups)
7395            .field("age", &self.age)
7396            .finish()
7397    }
7398}
7399
7400#[repr(C)]
7401pub struct GtkRecentInfo(c_void);
7402
7403impl ::std::fmt::Debug for GtkRecentInfo {
7404    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7405        f.debug_struct(&format!("GtkRecentInfo @ {:?}", self as *const _))
7406            .finish()
7407    }
7408}
7409
7410#[repr(C)]
7411#[derive(Copy, Clone)]
7412pub struct GtkRecentManagerClass {
7413    pub parent_class: gobject::GObjectClass,
7414    pub changed: Option<unsafe extern "C" fn(*mut GtkRecentManager)>,
7415    pub _gtk_recent1: Option<unsafe extern "C" fn()>,
7416    pub _gtk_recent2: Option<unsafe extern "C" fn()>,
7417    pub _gtk_recent3: Option<unsafe extern "C" fn()>,
7418    pub _gtk_recent4: Option<unsafe extern "C" fn()>,
7419}
7420
7421impl ::std::fmt::Debug for GtkRecentManagerClass {
7422    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7423        f.debug_struct(&format!("GtkRecentManagerClass @ {:?}", self as *const _))
7424            .field("changed", &self.changed)
7425            .field("_gtk_recent1", &self._gtk_recent1)
7426            .field("_gtk_recent2", &self._gtk_recent2)
7427            .field("_gtk_recent3", &self._gtk_recent3)
7428            .field("_gtk_recent4", &self._gtk_recent4)
7429            .finish()
7430    }
7431}
7432
7433#[repr(C)]
7434pub struct _GtkRecentManagerPrivate(c_void);
7435
7436pub type GtkRecentManagerPrivate = *mut _GtkRecentManagerPrivate;
7437
7438#[repr(C)]
7439#[derive(Copy, Clone)]
7440pub struct GtkRendererCellAccessibleClass {
7441    pub parent_class: GtkCellAccessibleClass,
7442}
7443
7444impl ::std::fmt::Debug for GtkRendererCellAccessibleClass {
7445    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7446        f.debug_struct(&format!(
7447            "GtkRendererCellAccessibleClass @ {:?}",
7448            self as *const _
7449        ))
7450        .field("parent_class", &self.parent_class)
7451        .finish()
7452    }
7453}
7454
7455#[repr(C)]
7456pub struct _GtkRendererCellAccessiblePrivate(c_void);
7457
7458pub type GtkRendererCellAccessiblePrivate = *mut _GtkRendererCellAccessiblePrivate;
7459
7460#[repr(C)]
7461#[derive(Copy, Clone)]
7462pub struct GtkRequestedSize {
7463    pub data: gpointer,
7464    pub minimum_size: c_int,
7465    pub natural_size: c_int,
7466}
7467
7468impl ::std::fmt::Debug for GtkRequestedSize {
7469    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7470        f.debug_struct(&format!("GtkRequestedSize @ {:?}", self as *const _))
7471            .field("data", &self.data)
7472            .field("minimum_size", &self.minimum_size)
7473            .field("natural_size", &self.natural_size)
7474            .finish()
7475    }
7476}
7477
7478#[repr(C)]
7479#[derive(Copy, Clone)]
7480pub struct GtkRequisition {
7481    pub width: c_int,
7482    pub height: c_int,
7483}
7484
7485impl ::std::fmt::Debug for GtkRequisition {
7486    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7487        f.debug_struct(&format!("GtkRequisition @ {:?}", self as *const _))
7488            .field("width", &self.width)
7489            .field("height", &self.height)
7490            .finish()
7491    }
7492}
7493
7494#[repr(C)]
7495#[derive(Copy, Clone)]
7496pub struct GtkRevealerClass {
7497    pub parent_class: GtkBinClass,
7498}
7499
7500impl ::std::fmt::Debug for GtkRevealerClass {
7501    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7502        f.debug_struct(&format!("GtkRevealerClass @ {:?}", self as *const _))
7503            .field("parent_class", &self.parent_class)
7504            .finish()
7505    }
7506}
7507
7508#[repr(C)]
7509#[derive(Copy, Clone)]
7510pub struct GtkScaleAccessibleClass {
7511    pub parent_class: GtkRangeAccessibleClass,
7512}
7513
7514impl ::std::fmt::Debug for GtkScaleAccessibleClass {
7515    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7516        f.debug_struct(&format!("GtkScaleAccessibleClass @ {:?}", self as *const _))
7517            .field("parent_class", &self.parent_class)
7518            .finish()
7519    }
7520}
7521
7522#[repr(C)]
7523pub struct _GtkScaleAccessiblePrivate(c_void);
7524
7525pub type GtkScaleAccessiblePrivate = *mut _GtkScaleAccessiblePrivate;
7526
7527#[repr(C)]
7528#[derive(Copy, Clone)]
7529pub struct GtkScaleButtonAccessibleClass {
7530    pub parent_class: GtkButtonAccessibleClass,
7531}
7532
7533impl ::std::fmt::Debug for GtkScaleButtonAccessibleClass {
7534    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7535        f.debug_struct(&format!(
7536            "GtkScaleButtonAccessibleClass @ {:?}",
7537            self as *const _
7538        ))
7539        .field("parent_class", &self.parent_class)
7540        .finish()
7541    }
7542}
7543
7544#[repr(C)]
7545pub struct _GtkScaleButtonAccessiblePrivate(c_void);
7546
7547pub type GtkScaleButtonAccessiblePrivate = *mut _GtkScaleButtonAccessiblePrivate;
7548
7549#[repr(C)]
7550#[derive(Copy, Clone)]
7551pub struct GtkScaleButtonClass {
7552    pub parent_class: GtkButtonClass,
7553    pub value_changed: Option<unsafe extern "C" fn(*mut GtkScaleButton, c_double)>,
7554    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7555    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7556    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7557    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7558}
7559
7560impl ::std::fmt::Debug for GtkScaleButtonClass {
7561    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7562        f.debug_struct(&format!("GtkScaleButtonClass @ {:?}", self as *const _))
7563            .field("parent_class", &self.parent_class)
7564            .field("value_changed", &self.value_changed)
7565            .field("_gtk_reserved1", &self._gtk_reserved1)
7566            .field("_gtk_reserved2", &self._gtk_reserved2)
7567            .field("_gtk_reserved3", &self._gtk_reserved3)
7568            .field("_gtk_reserved4", &self._gtk_reserved4)
7569            .finish()
7570    }
7571}
7572
7573#[repr(C)]
7574pub struct _GtkScaleButtonPrivate(c_void);
7575
7576pub type GtkScaleButtonPrivate = *mut _GtkScaleButtonPrivate;
7577
7578#[repr(C)]
7579#[derive(Copy, Clone)]
7580pub struct GtkScaleClass {
7581    pub parent_class: GtkRangeClass,
7582    pub format_value: Option<unsafe extern "C" fn(*mut GtkScale, c_double) -> *mut c_char>,
7583    pub draw_value: Option<unsafe extern "C" fn(*mut GtkScale)>,
7584    pub get_layout_offsets: Option<unsafe extern "C" fn(*mut GtkScale, *mut c_int, *mut c_int)>,
7585    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7586    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7587    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7588    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7589}
7590
7591impl ::std::fmt::Debug for GtkScaleClass {
7592    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7593        f.debug_struct(&format!("GtkScaleClass @ {:?}", self as *const _))
7594            .field("parent_class", &self.parent_class)
7595            .field("format_value", &self.format_value)
7596            .field("draw_value", &self.draw_value)
7597            .field("get_layout_offsets", &self.get_layout_offsets)
7598            .field("_gtk_reserved1", &self._gtk_reserved1)
7599            .field("_gtk_reserved2", &self._gtk_reserved2)
7600            .field("_gtk_reserved3", &self._gtk_reserved3)
7601            .field("_gtk_reserved4", &self._gtk_reserved4)
7602            .finish()
7603    }
7604}
7605
7606#[repr(C)]
7607pub struct _GtkScalePrivate(c_void);
7608
7609pub type GtkScalePrivate = *mut _GtkScalePrivate;
7610
7611#[repr(C)]
7612#[derive(Copy, Clone)]
7613pub struct GtkScrollableInterface {
7614    pub base_iface: gobject::GTypeInterface,
7615    pub get_border: Option<unsafe extern "C" fn(*mut GtkScrollable, *mut GtkBorder) -> gboolean>,
7616}
7617
7618impl ::std::fmt::Debug for GtkScrollableInterface {
7619    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7620        f.debug_struct(&format!("GtkScrollableInterface @ {:?}", self as *const _))
7621            .field("base_iface", &self.base_iface)
7622            .field("get_border", &self.get_border)
7623            .finish()
7624    }
7625}
7626
7627#[repr(C)]
7628#[derive(Copy, Clone)]
7629pub struct GtkScrollbarClass {
7630    pub parent_class: GtkRangeClass,
7631    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7632    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7633    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7634    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7635}
7636
7637impl ::std::fmt::Debug for GtkScrollbarClass {
7638    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7639        f.debug_struct(&format!("GtkScrollbarClass @ {:?}", self as *const _))
7640            .field("parent_class", &self.parent_class)
7641            .field("_gtk_reserved1", &self._gtk_reserved1)
7642            .field("_gtk_reserved2", &self._gtk_reserved2)
7643            .field("_gtk_reserved3", &self._gtk_reserved3)
7644            .field("_gtk_reserved4", &self._gtk_reserved4)
7645            .finish()
7646    }
7647}
7648
7649#[repr(C)]
7650#[derive(Copy, Clone)]
7651pub struct GtkScrolledWindowAccessibleClass {
7652    pub parent_class: GtkContainerAccessibleClass,
7653}
7654
7655impl ::std::fmt::Debug for GtkScrolledWindowAccessibleClass {
7656    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7657        f.debug_struct(&format!(
7658            "GtkScrolledWindowAccessibleClass @ {:?}",
7659            self as *const _
7660        ))
7661        .field("parent_class", &self.parent_class)
7662        .finish()
7663    }
7664}
7665
7666#[repr(C)]
7667pub struct _GtkScrolledWindowAccessiblePrivate(c_void);
7668
7669pub type GtkScrolledWindowAccessiblePrivate = *mut _GtkScrolledWindowAccessiblePrivate;
7670
7671#[repr(C)]
7672#[derive(Copy, Clone)]
7673pub struct GtkScrolledWindowClass {
7674    pub parent_class: GtkBinClass,
7675    pub scrollbar_spacing: c_int,
7676    pub scroll_child:
7677        Option<unsafe extern "C" fn(*mut GtkScrolledWindow, GtkScrollType, gboolean) -> gboolean>,
7678    pub move_focus_out: Option<unsafe extern "C" fn(*mut GtkScrolledWindow, GtkDirectionType)>,
7679    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7680    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7681    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7682    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7683}
7684
7685impl ::std::fmt::Debug for GtkScrolledWindowClass {
7686    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7687        f.debug_struct(&format!("GtkScrolledWindowClass @ {:?}", self as *const _))
7688            .field("parent_class", &self.parent_class)
7689            .field("scrollbar_spacing", &self.scrollbar_spacing)
7690            .field("scroll_child", &self.scroll_child)
7691            .field("move_focus_out", &self.move_focus_out)
7692            .field("_gtk_reserved1", &self._gtk_reserved1)
7693            .field("_gtk_reserved2", &self._gtk_reserved2)
7694            .field("_gtk_reserved3", &self._gtk_reserved3)
7695            .field("_gtk_reserved4", &self._gtk_reserved4)
7696            .finish()
7697    }
7698}
7699
7700#[repr(C)]
7701pub struct _GtkScrolledWindowPrivate(c_void);
7702
7703pub type GtkScrolledWindowPrivate = *mut _GtkScrolledWindowPrivate;
7704
7705#[repr(C)]
7706#[derive(Copy, Clone)]
7707pub struct GtkSearchBarClass {
7708    pub parent_class: GtkBinClass,
7709    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7710    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7711    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7712    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7713}
7714
7715impl ::std::fmt::Debug for GtkSearchBarClass {
7716    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7717        f.debug_struct(&format!("GtkSearchBarClass @ {:?}", self as *const _))
7718            .field("parent_class", &self.parent_class)
7719            .field("_gtk_reserved1", &self._gtk_reserved1)
7720            .field("_gtk_reserved2", &self._gtk_reserved2)
7721            .field("_gtk_reserved3", &self._gtk_reserved3)
7722            .field("_gtk_reserved4", &self._gtk_reserved4)
7723            .finish()
7724    }
7725}
7726
7727#[repr(C)]
7728#[derive(Copy, Clone)]
7729pub struct GtkSearchEntryClass {
7730    pub parent_class: GtkEntryClass,
7731    pub search_changed: Option<unsafe extern "C" fn(*mut GtkSearchEntry)>,
7732    pub next_match: Option<unsafe extern "C" fn(*mut GtkSearchEntry)>,
7733    pub previous_match: Option<unsafe extern "C" fn(*mut GtkSearchEntry)>,
7734    pub stop_search: Option<unsafe extern "C" fn(*mut GtkSearchEntry)>,
7735}
7736
7737impl ::std::fmt::Debug for GtkSearchEntryClass {
7738    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7739        f.debug_struct(&format!("GtkSearchEntryClass @ {:?}", self as *const _))
7740            .field("parent_class", &self.parent_class)
7741            .field("search_changed", &self.search_changed)
7742            .field("next_match", &self.next_match)
7743            .field("previous_match", &self.previous_match)
7744            .field("stop_search", &self.stop_search)
7745            .finish()
7746    }
7747}
7748
7749#[repr(C)]
7750pub struct GtkSelectionData(c_void);
7751
7752impl ::std::fmt::Debug for GtkSelectionData {
7753    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7754        f.debug_struct(&format!("GtkSelectionData @ {:?}", self as *const _))
7755            .finish()
7756    }
7757}
7758
7759#[repr(C)]
7760#[derive(Copy, Clone)]
7761pub struct GtkSeparatorClass {
7762    pub parent_class: GtkWidgetClass,
7763    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7764    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7765    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7766    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7767}
7768
7769impl ::std::fmt::Debug for GtkSeparatorClass {
7770    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7771        f.debug_struct(&format!("GtkSeparatorClass @ {:?}", self as *const _))
7772            .field("parent_class", &self.parent_class)
7773            .field("_gtk_reserved1", &self._gtk_reserved1)
7774            .field("_gtk_reserved2", &self._gtk_reserved2)
7775            .field("_gtk_reserved3", &self._gtk_reserved3)
7776            .field("_gtk_reserved4", &self._gtk_reserved4)
7777            .finish()
7778    }
7779}
7780
7781#[repr(C)]
7782#[derive(Copy, Clone)]
7783pub struct GtkSeparatorMenuItemClass {
7784    pub parent_class: GtkMenuItemClass,
7785    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7786    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7787    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7788    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7789}
7790
7791impl ::std::fmt::Debug for GtkSeparatorMenuItemClass {
7792    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7793        f.debug_struct(&format!(
7794            "GtkSeparatorMenuItemClass @ {:?}",
7795            self as *const _
7796        ))
7797        .field("parent_class", &self.parent_class)
7798        .field("_gtk_reserved1", &self._gtk_reserved1)
7799        .field("_gtk_reserved2", &self._gtk_reserved2)
7800        .field("_gtk_reserved3", &self._gtk_reserved3)
7801        .field("_gtk_reserved4", &self._gtk_reserved4)
7802        .finish()
7803    }
7804}
7805
7806#[repr(C)]
7807pub struct _GtkSeparatorPrivate(c_void);
7808
7809pub type GtkSeparatorPrivate = *mut _GtkSeparatorPrivate;
7810
7811#[repr(C)]
7812#[derive(Copy, Clone)]
7813pub struct GtkSeparatorToolItemClass {
7814    pub parent_class: GtkToolItemClass,
7815    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7816    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7817    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7818    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7819}
7820
7821impl ::std::fmt::Debug for GtkSeparatorToolItemClass {
7822    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7823        f.debug_struct(&format!(
7824            "GtkSeparatorToolItemClass @ {:?}",
7825            self as *const _
7826        ))
7827        .field("parent_class", &self.parent_class)
7828        .field("_gtk_reserved1", &self._gtk_reserved1)
7829        .field("_gtk_reserved2", &self._gtk_reserved2)
7830        .field("_gtk_reserved3", &self._gtk_reserved3)
7831        .field("_gtk_reserved4", &self._gtk_reserved4)
7832        .finish()
7833    }
7834}
7835
7836#[repr(C)]
7837pub struct _GtkSeparatorToolItemPrivate(c_void);
7838
7839pub type GtkSeparatorToolItemPrivate = *mut _GtkSeparatorToolItemPrivate;
7840
7841#[repr(C)]
7842#[derive(Copy, Clone)]
7843pub struct GtkSettingsClass {
7844    pub parent_class: gobject::GObjectClass,
7845    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7846    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7847    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7848    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7849}
7850
7851impl ::std::fmt::Debug for GtkSettingsClass {
7852    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7853        f.debug_struct(&format!("GtkSettingsClass @ {:?}", self as *const _))
7854            .field("parent_class", &self.parent_class)
7855            .field("_gtk_reserved1", &self._gtk_reserved1)
7856            .field("_gtk_reserved2", &self._gtk_reserved2)
7857            .field("_gtk_reserved3", &self._gtk_reserved3)
7858            .field("_gtk_reserved4", &self._gtk_reserved4)
7859            .finish()
7860    }
7861}
7862
7863#[repr(C)]
7864pub struct _GtkSettingsPrivate(c_void);
7865
7866pub type GtkSettingsPrivate = *mut _GtkSettingsPrivate;
7867
7868#[repr(C)]
7869#[derive(Copy, Clone)]
7870pub struct GtkSettingsValue {
7871    pub origin: *mut c_char,
7872    pub value: gobject::GValue,
7873}
7874
7875impl ::std::fmt::Debug for GtkSettingsValue {
7876    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7877        f.debug_struct(&format!("GtkSettingsValue @ {:?}", self as *const _))
7878            .field("origin", &self.origin)
7879            .field("value", &self.value)
7880            .finish()
7881    }
7882}
7883
7884#[repr(C)]
7885pub struct _GtkShortcutLabelClass(c_void);
7886
7887pub type GtkShortcutLabelClass = *mut _GtkShortcutLabelClass;
7888
7889#[repr(C)]
7890pub struct _GtkShortcutsGroupClass(c_void);
7891
7892pub type GtkShortcutsGroupClass = *mut _GtkShortcutsGroupClass;
7893
7894#[repr(C)]
7895pub struct _GtkShortcutsSectionClass(c_void);
7896
7897pub type GtkShortcutsSectionClass = *mut _GtkShortcutsSectionClass;
7898
7899#[repr(C)]
7900pub struct _GtkShortcutsShortcutClass(c_void);
7901
7902pub type GtkShortcutsShortcutClass = *mut _GtkShortcutsShortcutClass;
7903
7904#[repr(C)]
7905#[derive(Copy, Clone)]
7906pub struct GtkShortcutsWindowClass {
7907    pub parent_class: GtkWindowClass,
7908    pub close: Option<unsafe extern "C" fn(*mut GtkShortcutsWindow)>,
7909    pub search: Option<unsafe extern "C" fn(*mut GtkShortcutsWindow)>,
7910}
7911
7912impl ::std::fmt::Debug for GtkShortcutsWindowClass {
7913    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7914        f.debug_struct(&format!("GtkShortcutsWindowClass @ {:?}", self as *const _))
7915            .field("parent_class", &self.parent_class)
7916            .field("close", &self.close)
7917            .field("search", &self.search)
7918            .finish()
7919    }
7920}
7921
7922#[repr(C)]
7923#[derive(Copy, Clone)]
7924pub struct GtkSizeGroupClass {
7925    pub parent_class: gobject::GObjectClass,
7926    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7927    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7928    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7929    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7930}
7931
7932impl ::std::fmt::Debug for GtkSizeGroupClass {
7933    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7934        f.debug_struct(&format!("GtkSizeGroupClass @ {:?}", self as *const _))
7935            .field("parent_class", &self.parent_class)
7936            .field("_gtk_reserved1", &self._gtk_reserved1)
7937            .field("_gtk_reserved2", &self._gtk_reserved2)
7938            .field("_gtk_reserved3", &self._gtk_reserved3)
7939            .field("_gtk_reserved4", &self._gtk_reserved4)
7940            .finish()
7941    }
7942}
7943
7944#[repr(C)]
7945pub struct _GtkSizeGroupPrivate(c_void);
7946
7947pub type GtkSizeGroupPrivate = *mut _GtkSizeGroupPrivate;
7948
7949#[repr(C)]
7950#[derive(Copy, Clone)]
7951pub struct GtkSocketClass {
7952    pub parent_class: GtkContainerClass,
7953    pub plug_added: Option<unsafe extern "C" fn(*mut GtkSocket)>,
7954    pub plug_removed: Option<unsafe extern "C" fn(*mut GtkSocket) -> gboolean>,
7955    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
7956    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
7957    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
7958    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
7959}
7960
7961impl ::std::fmt::Debug for GtkSocketClass {
7962    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7963        f.debug_struct(&format!("GtkSocketClass @ {:?}", self as *const _))
7964            .field("parent_class", &self.parent_class)
7965            .field("plug_added", &self.plug_added)
7966            .field("plug_removed", &self.plug_removed)
7967            .field("_gtk_reserved1", &self._gtk_reserved1)
7968            .field("_gtk_reserved2", &self._gtk_reserved2)
7969            .field("_gtk_reserved3", &self._gtk_reserved3)
7970            .field("_gtk_reserved4", &self._gtk_reserved4)
7971            .finish()
7972    }
7973}
7974
7975#[repr(C)]
7976pub struct _GtkSocketPrivate(c_void);
7977
7978pub type GtkSocketPrivate = *mut _GtkSocketPrivate;
7979
7980#[repr(C)]
7981#[derive(Copy, Clone)]
7982pub struct GtkSpinButtonAccessibleClass {
7983    pub parent_class: GtkEntryAccessibleClass,
7984}
7985
7986impl ::std::fmt::Debug for GtkSpinButtonAccessibleClass {
7987    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
7988        f.debug_struct(&format!(
7989            "GtkSpinButtonAccessibleClass @ {:?}",
7990            self as *const _
7991        ))
7992        .field("parent_class", &self.parent_class)
7993        .finish()
7994    }
7995}
7996
7997#[repr(C)]
7998pub struct _GtkSpinButtonAccessiblePrivate(c_void);
7999
8000pub type GtkSpinButtonAccessiblePrivate = *mut _GtkSpinButtonAccessiblePrivate;
8001
8002#[repr(C)]
8003#[derive(Copy, Clone)]
8004pub struct GtkSpinButtonClass {
8005    pub parent_class: GtkEntryClass,
8006    pub input: Option<unsafe extern "C" fn(*mut GtkSpinButton, *mut c_double) -> c_int>,
8007    pub output: Option<unsafe extern "C" fn(*mut GtkSpinButton) -> c_int>,
8008    pub value_changed: Option<unsafe extern "C" fn(*mut GtkSpinButton)>,
8009    pub change_value: Option<unsafe extern "C" fn(*mut GtkSpinButton, GtkScrollType)>,
8010    pub wrapped: Option<unsafe extern "C" fn(*mut GtkSpinButton)>,
8011    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
8012    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
8013    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
8014    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
8015}
8016
8017impl ::std::fmt::Debug for GtkSpinButtonClass {
8018    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8019        f.debug_struct(&format!("GtkSpinButtonClass @ {:?}", self as *const _))
8020            .field("parent_class", &self.parent_class)
8021            .field("input", &self.input)
8022            .field("output", &self.output)
8023            .field("value_changed", &self.value_changed)
8024            .field("change_value", &self.change_value)
8025            .field("wrapped", &self.wrapped)
8026            .field("_gtk_reserved1", &self._gtk_reserved1)
8027            .field("_gtk_reserved2", &self._gtk_reserved2)
8028            .field("_gtk_reserved3", &self._gtk_reserved3)
8029            .field("_gtk_reserved4", &self._gtk_reserved4)
8030            .finish()
8031    }
8032}
8033
8034#[repr(C)]
8035pub struct _GtkSpinButtonPrivate(c_void);
8036
8037pub type GtkSpinButtonPrivate = *mut _GtkSpinButtonPrivate;
8038
8039#[repr(C)]
8040#[derive(Copy, Clone)]
8041pub struct GtkSpinnerAccessibleClass {
8042    pub parent_class: GtkWidgetAccessibleClass,
8043}
8044
8045impl ::std::fmt::Debug for GtkSpinnerAccessibleClass {
8046    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8047        f.debug_struct(&format!(
8048            "GtkSpinnerAccessibleClass @ {:?}",
8049            self as *const _
8050        ))
8051        .field("parent_class", &self.parent_class)
8052        .finish()
8053    }
8054}
8055
8056#[repr(C)]
8057pub struct _GtkSpinnerAccessiblePrivate(c_void);
8058
8059pub type GtkSpinnerAccessiblePrivate = *mut _GtkSpinnerAccessiblePrivate;
8060
8061#[repr(C)]
8062#[derive(Copy, Clone)]
8063pub struct GtkSpinnerClass {
8064    pub parent_class: GtkWidgetClass,
8065    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
8066    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
8067    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
8068    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
8069}
8070
8071impl ::std::fmt::Debug for GtkSpinnerClass {
8072    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8073        f.debug_struct(&format!("GtkSpinnerClass @ {:?}", self as *const _))
8074            .field("parent_class", &self.parent_class)
8075            .field("_gtk_reserved1", &self._gtk_reserved1)
8076            .field("_gtk_reserved2", &self._gtk_reserved2)
8077            .field("_gtk_reserved3", &self._gtk_reserved3)
8078            .field("_gtk_reserved4", &self._gtk_reserved4)
8079            .finish()
8080    }
8081}
8082
8083#[repr(C)]
8084pub struct _GtkSpinnerPrivate(c_void);
8085
8086pub type GtkSpinnerPrivate = *mut _GtkSpinnerPrivate;
8087
8088#[repr(C)]
8089#[derive(Copy, Clone)]
8090pub struct GtkStackAccessibleClass {
8091    pub parent_class: GtkContainerAccessibleClass,
8092}
8093
8094impl ::std::fmt::Debug for GtkStackAccessibleClass {
8095    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8096        f.debug_struct(&format!("GtkStackAccessibleClass @ {:?}", self as *const _))
8097            .field("parent_class", &self.parent_class)
8098            .finish()
8099    }
8100}
8101
8102#[repr(C)]
8103#[derive(Copy, Clone)]
8104pub struct GtkStackClass {
8105    pub parent_class: GtkContainerClass,
8106}
8107
8108impl ::std::fmt::Debug for GtkStackClass {
8109    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8110        f.debug_struct(&format!("GtkStackClass @ {:?}", self as *const _))
8111            .field("parent_class", &self.parent_class)
8112            .finish()
8113    }
8114}
8115
8116#[repr(C)]
8117#[derive(Copy, Clone)]
8118pub struct GtkStackSidebarClass {
8119    pub parent_class: GtkBinClass,
8120    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
8121    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
8122    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
8123    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
8124}
8125
8126impl ::std::fmt::Debug for GtkStackSidebarClass {
8127    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8128        f.debug_struct(&format!("GtkStackSidebarClass @ {:?}", self as *const _))
8129            .field("parent_class", &self.parent_class)
8130            .field("_gtk_reserved1", &self._gtk_reserved1)
8131            .field("_gtk_reserved2", &self._gtk_reserved2)
8132            .field("_gtk_reserved3", &self._gtk_reserved3)
8133            .field("_gtk_reserved4", &self._gtk_reserved4)
8134            .finish()
8135    }
8136}
8137
8138#[repr(C)]
8139pub struct _GtkStackSidebarPrivate(c_void);
8140
8141pub type GtkStackSidebarPrivate = *mut _GtkStackSidebarPrivate;
8142
8143#[repr(C)]
8144#[derive(Copy, Clone)]
8145pub struct GtkStackSwitcherClass {
8146    pub parent_class: GtkBoxClass,
8147    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
8148    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
8149    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
8150    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
8151}
8152
8153impl ::std::fmt::Debug for GtkStackSwitcherClass {
8154    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8155        f.debug_struct(&format!("GtkStackSwitcherClass @ {:?}", self as *const _))
8156            .field("parent_class", &self.parent_class)
8157            .field("_gtk_reserved1", &self._gtk_reserved1)
8158            .field("_gtk_reserved2", &self._gtk_reserved2)
8159            .field("_gtk_reserved3", &self._gtk_reserved3)
8160            .field("_gtk_reserved4", &self._gtk_reserved4)
8161            .finish()
8162    }
8163}
8164
8165#[repr(C)]
8166#[derive(Copy, Clone)]
8167pub struct GtkStatusIconClass {
8168    pub parent_class: gobject::GObjectClass,
8169    pub activate: Option<unsafe extern "C" fn(*mut GtkStatusIcon)>,
8170    pub popup_menu: Option<unsafe extern "C" fn(*mut GtkStatusIcon, c_uint, u32)>,
8171    pub size_changed: Option<unsafe extern "C" fn(*mut GtkStatusIcon, c_int) -> gboolean>,
8172    pub button_press_event:
8173        Option<unsafe extern "C" fn(*mut GtkStatusIcon, *mut gdk::GdkEventButton) -> gboolean>,
8174    pub button_release_event:
8175        Option<unsafe extern "C" fn(*mut GtkStatusIcon, *mut gdk::GdkEventButton) -> gboolean>,
8176    pub scroll_event:
8177        Option<unsafe extern "C" fn(*mut GtkStatusIcon, *mut gdk::GdkEventScroll) -> gboolean>,
8178    pub query_tooltip: Option<
8179        unsafe extern "C" fn(
8180            *mut GtkStatusIcon,
8181            c_int,
8182            c_int,
8183            gboolean,
8184            *mut GtkTooltip,
8185        ) -> gboolean,
8186    >,
8187    pub __gtk_reserved1: Option<unsafe extern "C" fn()>,
8188    pub __gtk_reserved2: Option<unsafe extern "C" fn()>,
8189    pub __gtk_reserved3: Option<unsafe extern "C" fn()>,
8190    pub __gtk_reserved4: Option<unsafe extern "C" fn()>,
8191}
8192
8193impl ::std::fmt::Debug for GtkStatusIconClass {
8194    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8195        f.debug_struct(&format!("GtkStatusIconClass @ {:?}", self as *const _))
8196            .field("parent_class", &self.parent_class)
8197            .field("activate", &self.activate)
8198            .field("popup_menu", &self.popup_menu)
8199            .field("size_changed", &self.size_changed)
8200            .field("button_press_event", &self.button_press_event)
8201            .field("button_release_event", &self.button_release_event)
8202            .field("scroll_event", &self.scroll_event)
8203            .field("query_tooltip", &self.query_tooltip)
8204            .field("__gtk_reserved1", &self.__gtk_reserved1)
8205            .field("__gtk_reserved2", &self.__gtk_reserved2)
8206            .field("__gtk_reserved3", &self.__gtk_reserved3)
8207            .field("__gtk_reserved4", &self.__gtk_reserved4)
8208            .finish()
8209    }
8210}
8211
8212#[repr(C)]
8213pub struct _GtkStatusIconPrivate(c_void);
8214
8215pub type GtkStatusIconPrivate = *mut _GtkStatusIconPrivate;
8216
8217#[repr(C)]
8218#[derive(Copy, Clone)]
8219pub struct GtkStatusbarAccessibleClass {
8220    pub parent_class: GtkContainerAccessibleClass,
8221}
8222
8223impl ::std::fmt::Debug for GtkStatusbarAccessibleClass {
8224    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8225        f.debug_struct(&format!(
8226            "GtkStatusbarAccessibleClass @ {:?}",
8227            self as *const _
8228        ))
8229        .field("parent_class", &self.parent_class)
8230        .finish()
8231    }
8232}
8233
8234#[repr(C)]
8235pub struct _GtkStatusbarAccessiblePrivate(c_void);
8236
8237pub type GtkStatusbarAccessiblePrivate = *mut _GtkStatusbarAccessiblePrivate;
8238
8239#[repr(C)]
8240#[derive(Copy, Clone)]
8241pub struct GtkStatusbarClass {
8242    pub parent_class: GtkBoxClass,
8243    pub reserved: gpointer,
8244    pub text_pushed: Option<unsafe extern "C" fn(*mut GtkStatusbar, c_uint, *const c_char)>,
8245    pub text_popped: Option<unsafe extern "C" fn(*mut GtkStatusbar, c_uint, *const c_char)>,
8246    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
8247    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
8248    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
8249    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
8250}
8251
8252impl ::std::fmt::Debug for GtkStatusbarClass {
8253    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8254        f.debug_struct(&format!("GtkStatusbarClass @ {:?}", self as *const _))
8255            .field("parent_class", &self.parent_class)
8256            .field("reserved", &self.reserved)
8257            .field("text_pushed", &self.text_pushed)
8258            .field("text_popped", &self.text_popped)
8259            .field("_gtk_reserved1", &self._gtk_reserved1)
8260            .field("_gtk_reserved2", &self._gtk_reserved2)
8261            .field("_gtk_reserved3", &self._gtk_reserved3)
8262            .field("_gtk_reserved4", &self._gtk_reserved4)
8263            .finish()
8264    }
8265}
8266
8267#[repr(C)]
8268pub struct _GtkStatusbarPrivate(c_void);
8269
8270pub type GtkStatusbarPrivate = *mut _GtkStatusbarPrivate;
8271
8272#[repr(C)]
8273#[derive(Copy, Clone)]
8274pub struct GtkStockItem {
8275    pub stock_id: *mut c_char,
8276    pub label: *mut c_char,
8277    pub modifier: gdk::GdkModifierType,
8278    pub keyval: c_uint,
8279    pub translation_domain: *mut c_char,
8280}
8281
8282impl ::std::fmt::Debug for GtkStockItem {
8283    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8284        f.debug_struct(&format!("GtkStockItem @ {:?}", self as *const _))
8285            .field("stock_id", &self.stock_id)
8286            .field("label", &self.label)
8287            .field("modifier", &self.modifier)
8288            .field("keyval", &self.keyval)
8289            .field("translation_domain", &self.translation_domain)
8290            .finish()
8291    }
8292}
8293
8294#[repr(C)]
8295#[derive(Copy, Clone)]
8296pub struct GtkStyleClass {
8297    pub parent_class: gobject::GObjectClass,
8298    pub realize: Option<unsafe extern "C" fn(*mut GtkStyle)>,
8299    pub unrealize: Option<unsafe extern "C" fn(*mut GtkStyle)>,
8300    pub copy: Option<unsafe extern "C" fn(*mut GtkStyle, *mut GtkStyle)>,
8301    pub clone: Option<unsafe extern "C" fn(*mut GtkStyle) -> *mut GtkStyle>,
8302    pub init_from_rc: Option<unsafe extern "C" fn(*mut GtkStyle, *mut GtkRcStyle)>,
8303    pub set_background:
8304        Option<unsafe extern "C" fn(*mut GtkStyle, *mut gdk::GdkWindow, GtkStateType)>,
8305    pub render_icon: Option<
8306        unsafe extern "C" fn(
8307            *mut GtkStyle,
8308            *const GtkIconSource,
8309            GtkTextDirection,
8310            GtkStateType,
8311            GtkIconSize,
8312            *mut GtkWidget,
8313            *const c_char,
8314        ) -> *mut gdk_pixbuf::GdkPixbuf,
8315    >,
8316    pub draw_hline: Option<
8317        unsafe extern "C" fn(
8318            *mut GtkStyle,
8319            *mut cairo::cairo_t,
8320            GtkStateType,
8321            *mut GtkWidget,
8322            *const c_char,
8323            c_int,
8324            c_int,
8325            c_int,
8326        ),
8327    >,
8328    pub draw_vline: Option<
8329        unsafe extern "C" fn(
8330            *mut GtkStyle,
8331            *mut cairo::cairo_t,
8332            GtkStateType,
8333            *mut GtkWidget,
8334            *const c_char,
8335            c_int,
8336            c_int,
8337            c_int,
8338        ),
8339    >,
8340    pub draw_shadow: Option<
8341        unsafe extern "C" fn(
8342            *mut GtkStyle,
8343            *mut cairo::cairo_t,
8344            GtkStateType,
8345            GtkShadowType,
8346            *mut GtkWidget,
8347            *const c_char,
8348            c_int,
8349            c_int,
8350            c_int,
8351            c_int,
8352        ),
8353    >,
8354    pub draw_arrow: Option<
8355        unsafe extern "C" fn(
8356            *mut GtkStyle,
8357            *mut cairo::cairo_t,
8358            GtkStateType,
8359            GtkShadowType,
8360            *mut GtkWidget,
8361            *const c_char,
8362            GtkArrowType,
8363            gboolean,
8364            c_int,
8365            c_int,
8366            c_int,
8367            c_int,
8368        ),
8369    >,
8370    pub draw_diamond: Option<
8371        unsafe extern "C" fn(
8372            *mut GtkStyle,
8373            *mut cairo::cairo_t,
8374            GtkStateType,
8375            GtkShadowType,
8376            *mut GtkWidget,
8377            *const c_char,
8378            c_int,
8379            c_int,
8380            c_int,
8381            c_int,
8382        ),
8383    >,
8384    pub draw_box: Option<
8385        unsafe extern "C" fn(
8386            *mut GtkStyle,
8387            *mut cairo::cairo_t,
8388            GtkStateType,
8389            GtkShadowType,
8390            *mut GtkWidget,
8391            *const c_char,
8392            c_int,
8393            c_int,
8394            c_int,
8395            c_int,
8396        ),
8397    >,
8398    pub draw_flat_box: Option<
8399        unsafe extern "C" fn(
8400            *mut GtkStyle,
8401            *mut cairo::cairo_t,
8402            GtkStateType,
8403            GtkShadowType,
8404            *mut GtkWidget,
8405            *const c_char,
8406            c_int,
8407            c_int,
8408            c_int,
8409            c_int,
8410        ),
8411    >,
8412    pub draw_check: Option<
8413        unsafe extern "C" fn(
8414            *mut GtkStyle,
8415            *mut cairo::cairo_t,
8416            GtkStateType,
8417            GtkShadowType,
8418            *mut GtkWidget,
8419            *const c_char,
8420            c_int,
8421            c_int,
8422            c_int,
8423            c_int,
8424        ),
8425    >,
8426    pub draw_option: Option<
8427        unsafe extern "C" fn(
8428            *mut GtkStyle,
8429            *mut cairo::cairo_t,
8430            GtkStateType,
8431            GtkShadowType,
8432            *mut GtkWidget,
8433            *const c_char,
8434            c_int,
8435            c_int,
8436            c_int,
8437            c_int,
8438        ),
8439    >,
8440    pub draw_tab: Option<
8441        unsafe extern "C" fn(
8442            *mut GtkStyle,
8443            *mut cairo::cairo_t,
8444            GtkStateType,
8445            GtkShadowType,
8446            *mut GtkWidget,
8447            *const c_char,
8448            c_int,
8449            c_int,
8450            c_int,
8451            c_int,
8452        ),
8453    >,
8454    pub draw_shadow_gap: Option<
8455        unsafe extern "C" fn(
8456            *mut GtkStyle,
8457            *mut cairo::cairo_t,
8458            GtkStateType,
8459            GtkShadowType,
8460            *mut GtkWidget,
8461            *const c_char,
8462            c_int,
8463            c_int,
8464            c_int,
8465            c_int,
8466            GtkPositionType,
8467            c_int,
8468            c_int,
8469        ),
8470    >,
8471    pub draw_box_gap: Option<
8472        unsafe extern "C" fn(
8473            *mut GtkStyle,
8474            *mut cairo::cairo_t,
8475            GtkStateType,
8476            GtkShadowType,
8477            *mut GtkWidget,
8478            *const c_char,
8479            c_int,
8480            c_int,
8481            c_int,
8482            c_int,
8483            GtkPositionType,
8484            c_int,
8485            c_int,
8486        ),
8487    >,
8488    pub draw_extension: Option<
8489        unsafe extern "C" fn(
8490            *mut GtkStyle,
8491            *mut cairo::cairo_t,
8492            GtkStateType,
8493            GtkShadowType,
8494            *mut GtkWidget,
8495            *const c_char,
8496            c_int,
8497            c_int,
8498            c_int,
8499            c_int,
8500            GtkPositionType,
8501        ),
8502    >,
8503    pub draw_focus: Option<
8504        unsafe extern "C" fn(
8505            *mut GtkStyle,
8506            *mut cairo::cairo_t,
8507            GtkStateType,
8508            *mut GtkWidget,
8509            *const c_char,
8510            c_int,
8511            c_int,
8512            c_int,
8513            c_int,
8514        ),
8515    >,
8516    pub draw_slider: Option<
8517        unsafe extern "C" fn(
8518            *mut GtkStyle,
8519            *mut cairo::cairo_t,
8520            GtkStateType,
8521            GtkShadowType,
8522            *mut GtkWidget,
8523            *const c_char,
8524            c_int,
8525            c_int,
8526            c_int,
8527            c_int,
8528            GtkOrientation,
8529        ),
8530    >,
8531    pub draw_handle: Option<
8532        unsafe extern "C" fn(
8533            *mut GtkStyle,
8534            *mut cairo::cairo_t,
8535            GtkStateType,
8536            GtkShadowType,
8537            *mut GtkWidget,
8538            *const c_char,
8539            c_int,
8540            c_int,
8541            c_int,
8542            c_int,
8543            GtkOrientation,
8544        ),
8545    >,
8546    pub draw_expander: Option<
8547        unsafe extern "C" fn(
8548            *mut GtkStyle,
8549            *mut cairo::cairo_t,
8550            GtkStateType,
8551            *mut GtkWidget,
8552            *const c_char,
8553            c_int,
8554            c_int,
8555            GtkExpanderStyle,
8556        ),
8557    >,
8558    pub draw_layout: Option<
8559        unsafe extern "C" fn(
8560            *mut GtkStyle,
8561            *mut cairo::cairo_t,
8562            GtkStateType,
8563            gboolean,
8564            *mut GtkWidget,
8565            *const c_char,
8566            c_int,
8567            c_int,
8568            *mut pango::PangoLayout,
8569        ),
8570    >,
8571    pub draw_resize_grip: Option<
8572        unsafe extern "C" fn(
8573            *mut GtkStyle,
8574            *mut cairo::cairo_t,
8575            GtkStateType,
8576            *mut GtkWidget,
8577            *const c_char,
8578            gdk::GdkWindowEdge,
8579            c_int,
8580            c_int,
8581            c_int,
8582            c_int,
8583        ),
8584    >,
8585    pub draw_spinner: Option<
8586        unsafe extern "C" fn(
8587            *mut GtkStyle,
8588            *mut cairo::cairo_t,
8589            GtkStateType,
8590            *mut GtkWidget,
8591            *const c_char,
8592            c_uint,
8593            c_int,
8594            c_int,
8595            c_int,
8596            c_int,
8597        ),
8598    >,
8599    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
8600    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
8601    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
8602    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
8603    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
8604    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
8605    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
8606    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
8607    pub _gtk_reserved9: Option<unsafe extern "C" fn()>,
8608    pub _gtk_reserved10: Option<unsafe extern "C" fn()>,
8609    pub _gtk_reserved11: Option<unsafe extern "C" fn()>,
8610}
8611
8612impl ::std::fmt::Debug for GtkStyleClass {
8613    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8614        f.debug_struct(&format!("GtkStyleClass @ {:?}", self as *const _))
8615            .field("parent_class", &self.parent_class)
8616            .field("realize", &self.realize)
8617            .field("unrealize", &self.unrealize)
8618            .field("copy", &self.copy)
8619            .field("clone", &self.clone)
8620            .field("init_from_rc", &self.init_from_rc)
8621            .field("set_background", &self.set_background)
8622            .field("render_icon", &self.render_icon)
8623            .field("draw_hline", &self.draw_hline)
8624            .field("draw_vline", &self.draw_vline)
8625            .field("draw_shadow", &self.draw_shadow)
8626            .field("draw_arrow", &self.draw_arrow)
8627            .field("draw_diamond", &self.draw_diamond)
8628            .field("draw_box", &self.draw_box)
8629            .field("draw_flat_box", &self.draw_flat_box)
8630            .field("draw_check", &self.draw_check)
8631            .field("draw_option", &self.draw_option)
8632            .field("draw_tab", &self.draw_tab)
8633            .field("draw_extension", &self.draw_extension)
8634            .field("draw_focus", &self.draw_focus)
8635            .field("draw_slider", &self.draw_slider)
8636            .field("draw_handle", &self.draw_handle)
8637            .field("draw_expander", &self.draw_expander)
8638            .field("draw_layout", &self.draw_layout)
8639            .field("draw_resize_grip", &self.draw_resize_grip)
8640            .field("draw_spinner", &self.draw_spinner)
8641            .field("_gtk_reserved1", &self._gtk_reserved1)
8642            .field("_gtk_reserved2", &self._gtk_reserved2)
8643            .field("_gtk_reserved3", &self._gtk_reserved3)
8644            .field("_gtk_reserved4", &self._gtk_reserved4)
8645            .field("_gtk_reserved5", &self._gtk_reserved5)
8646            .field("_gtk_reserved6", &self._gtk_reserved6)
8647            .field("_gtk_reserved7", &self._gtk_reserved7)
8648            .field("_gtk_reserved8", &self._gtk_reserved8)
8649            .field("_gtk_reserved9", &self._gtk_reserved9)
8650            .field("_gtk_reserved10", &self._gtk_reserved10)
8651            .field("_gtk_reserved11", &self._gtk_reserved11)
8652            .finish()
8653    }
8654}
8655
8656#[repr(C)]
8657#[derive(Copy, Clone)]
8658pub struct GtkStyleContextClass {
8659    pub parent_class: gobject::GObjectClass,
8660    pub changed: Option<unsafe extern "C" fn(*mut GtkStyleContext)>,
8661    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
8662    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
8663    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
8664    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
8665}
8666
8667impl ::std::fmt::Debug for GtkStyleContextClass {
8668    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8669        f.debug_struct(&format!("GtkStyleContextClass @ {:?}", self as *const _))
8670            .field("parent_class", &self.parent_class)
8671            .field("changed", &self.changed)
8672            .field("_gtk_reserved1", &self._gtk_reserved1)
8673            .field("_gtk_reserved2", &self._gtk_reserved2)
8674            .field("_gtk_reserved3", &self._gtk_reserved3)
8675            .field("_gtk_reserved4", &self._gtk_reserved4)
8676            .finish()
8677    }
8678}
8679
8680#[repr(C)]
8681pub struct _GtkStyleContextPrivate(c_void);
8682
8683pub type GtkStyleContextPrivate = *mut _GtkStyleContextPrivate;
8684
8685#[repr(C)]
8686#[derive(Copy, Clone)]
8687pub struct GtkStylePropertiesClass {
8688    pub parent_class: gobject::GObjectClass,
8689    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
8690    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
8691    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
8692    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
8693}
8694
8695impl ::std::fmt::Debug for GtkStylePropertiesClass {
8696    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8697        f.debug_struct(&format!("GtkStylePropertiesClass @ {:?}", self as *const _))
8698            .field("_gtk_reserved1", &self._gtk_reserved1)
8699            .field("_gtk_reserved2", &self._gtk_reserved2)
8700            .field("_gtk_reserved3", &self._gtk_reserved3)
8701            .field("_gtk_reserved4", &self._gtk_reserved4)
8702            .finish()
8703    }
8704}
8705
8706#[repr(C)]
8707pub struct _GtkStylePropertiesPrivate(c_void);
8708
8709pub type GtkStylePropertiesPrivate = *mut _GtkStylePropertiesPrivate;
8710
8711#[repr(C)]
8712#[derive(Copy, Clone)]
8713pub struct GtkStyleProviderIface {
8714    pub g_iface: gobject::GTypeInterface,
8715    pub get_style: Option<
8716        unsafe extern "C" fn(*mut GtkStyleProvider, *mut GtkWidgetPath) -> *mut GtkStyleProperties,
8717    >,
8718    pub get_style_property: Option<
8719        unsafe extern "C" fn(
8720            *mut GtkStyleProvider,
8721            *mut GtkWidgetPath,
8722            GtkStateFlags,
8723            *mut gobject::GParamSpec,
8724            *mut gobject::GValue,
8725        ) -> gboolean,
8726    >,
8727    pub get_icon_factory: Option<
8728        unsafe extern "C" fn(*mut GtkStyleProvider, *mut GtkWidgetPath) -> *mut GtkIconFactory,
8729    >,
8730}
8731
8732impl ::std::fmt::Debug for GtkStyleProviderIface {
8733    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8734        f.debug_struct(&format!("GtkStyleProviderIface @ {:?}", self as *const _))
8735            .field("get_style", &self.get_style)
8736            .field("get_style_property", &self.get_style_property)
8737            .field("get_icon_factory", &self.get_icon_factory)
8738            .finish()
8739    }
8740}
8741
8742#[repr(C)]
8743#[derive(Copy, Clone)]
8744pub struct GtkSwitchAccessibleClass {
8745    pub parent_class: GtkWidgetAccessibleClass,
8746}
8747
8748impl ::std::fmt::Debug for GtkSwitchAccessibleClass {
8749    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8750        f.debug_struct(&format!(
8751            "GtkSwitchAccessibleClass @ {:?}",
8752            self as *const _
8753        ))
8754        .field("parent_class", &self.parent_class)
8755        .finish()
8756    }
8757}
8758
8759#[repr(C)]
8760pub struct _GtkSwitchAccessiblePrivate(c_void);
8761
8762pub type GtkSwitchAccessiblePrivate = *mut _GtkSwitchAccessiblePrivate;
8763
8764#[repr(C)]
8765#[derive(Copy, Clone)]
8766pub struct GtkSwitchClass {
8767    pub parent_class: GtkWidgetClass,
8768    pub activate: Option<unsafe extern "C" fn(*mut GtkSwitch)>,
8769    pub state_set: Option<unsafe extern "C" fn(*mut GtkSwitch, gboolean) -> gboolean>,
8770    pub _switch_padding_1: Option<unsafe extern "C" fn()>,
8771    pub _switch_padding_2: Option<unsafe extern "C" fn()>,
8772    pub _switch_padding_3: Option<unsafe extern "C" fn()>,
8773    pub _switch_padding_4: Option<unsafe extern "C" fn()>,
8774    pub _switch_padding_5: Option<unsafe extern "C" fn()>,
8775}
8776
8777impl ::std::fmt::Debug for GtkSwitchClass {
8778    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8779        f.debug_struct(&format!("GtkSwitchClass @ {:?}", self as *const _))
8780            .field("parent_class", &self.parent_class)
8781            .field("activate", &self.activate)
8782            .field("state_set", &self.state_set)
8783            .field("_switch_padding_1", &self._switch_padding_1)
8784            .field("_switch_padding_2", &self._switch_padding_2)
8785            .field("_switch_padding_3", &self._switch_padding_3)
8786            .field("_switch_padding_4", &self._switch_padding_4)
8787            .field("_switch_padding_5", &self._switch_padding_5)
8788            .finish()
8789    }
8790}
8791
8792#[repr(C)]
8793pub struct _GtkSwitchPrivate(c_void);
8794
8795pub type GtkSwitchPrivate = *mut _GtkSwitchPrivate;
8796
8797#[repr(C)]
8798pub struct GtkSymbolicColor(c_void);
8799
8800impl ::std::fmt::Debug for GtkSymbolicColor {
8801    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8802        f.debug_struct(&format!("GtkSymbolicColor @ {:?}", self as *const _))
8803            .finish()
8804    }
8805}
8806
8807#[repr(C)]
8808pub struct GtkTableChild {
8809    pub widget: *mut GtkWidget,
8810    pub left_attach: u16,
8811    pub right_attach: u16,
8812    pub top_attach: u16,
8813    pub bottom_attach: u16,
8814    pub xpadding: u16,
8815    pub ypadding: u16,
8816    pub xexpand: c_uint,
8817    _truncated_record_marker: c_void,
8818    // field yexpand has incomplete type
8819}
8820
8821impl ::std::fmt::Debug for GtkTableChild {
8822    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8823        f.debug_struct(&format!("GtkTableChild @ {:?}", self as *const _))
8824            .field("widget", &self.widget)
8825            .field("left_attach", &self.left_attach)
8826            .field("right_attach", &self.right_attach)
8827            .field("top_attach", &self.top_attach)
8828            .field("bottom_attach", &self.bottom_attach)
8829            .field("xpadding", &self.xpadding)
8830            .field("ypadding", &self.ypadding)
8831            .field("xexpand", &self.xexpand)
8832            .finish()
8833    }
8834}
8835
8836#[repr(C)]
8837#[derive(Copy, Clone)]
8838pub struct GtkTableClass {
8839    pub parent_class: GtkContainerClass,
8840    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
8841    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
8842    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
8843    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
8844}
8845
8846impl ::std::fmt::Debug for GtkTableClass {
8847    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8848        f.debug_struct(&format!("GtkTableClass @ {:?}", self as *const _))
8849            .field("parent_class", &self.parent_class)
8850            .field("_gtk_reserved1", &self._gtk_reserved1)
8851            .field("_gtk_reserved2", &self._gtk_reserved2)
8852            .field("_gtk_reserved3", &self._gtk_reserved3)
8853            .field("_gtk_reserved4", &self._gtk_reserved4)
8854            .finish()
8855    }
8856}
8857
8858#[repr(C)]
8859pub struct _GtkTablePrivate(c_void);
8860
8861pub type GtkTablePrivate = *mut _GtkTablePrivate;
8862
8863#[repr(C)]
8864pub struct GtkTableRowCol {
8865    pub requisition: u16,
8866    pub allocation: u16,
8867    pub spacing: u16,
8868    pub need_expand: c_uint,
8869    _truncated_record_marker: c_void,
8870    // field need_shrink has incomplete type
8871}
8872
8873impl ::std::fmt::Debug for GtkTableRowCol {
8874    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8875        f.debug_struct(&format!("GtkTableRowCol @ {:?}", self as *const _))
8876            .field("requisition", &self.requisition)
8877            .field("allocation", &self.allocation)
8878            .field("spacing", &self.spacing)
8879            .field("need_expand", &self.need_expand)
8880            .finish()
8881    }
8882}
8883
8884#[repr(C)]
8885#[derive(Copy, Clone)]
8886pub struct GtkTargetEntry {
8887    pub target: *mut c_char,
8888    pub flags: c_uint,
8889    pub info: c_uint,
8890}
8891
8892impl ::std::fmt::Debug for GtkTargetEntry {
8893    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8894        f.debug_struct(&format!("GtkTargetEntry @ {:?}", self as *const _))
8895            .field("target", &self.target)
8896            .field("flags", &self.flags)
8897            .field("info", &self.info)
8898            .finish()
8899    }
8900}
8901
8902#[repr(C)]
8903pub struct GtkTargetList(c_void);
8904
8905impl ::std::fmt::Debug for GtkTargetList {
8906    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8907        f.debug_struct(&format!("GtkTargetList @ {:?}", self as *const _))
8908            .finish()
8909    }
8910}
8911
8912#[repr(C)]
8913#[derive(Copy, Clone)]
8914pub struct GtkTargetPair {
8915    pub target: gdk::GdkAtom,
8916    pub flags: c_uint,
8917    pub info: c_uint,
8918}
8919
8920impl ::std::fmt::Debug for GtkTargetPair {
8921    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8922        f.debug_struct(&format!("GtkTargetPair @ {:?}", self as *const _))
8923            .field("target", &self.target)
8924            .field("flags", &self.flags)
8925            .field("info", &self.info)
8926            .finish()
8927    }
8928}
8929
8930#[repr(C)]
8931#[derive(Copy, Clone)]
8932pub struct GtkTearoffMenuItemClass {
8933    pub parent_class: GtkMenuItemClass,
8934    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
8935    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
8936    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
8937    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
8938}
8939
8940impl ::std::fmt::Debug for GtkTearoffMenuItemClass {
8941    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8942        f.debug_struct(&format!("GtkTearoffMenuItemClass @ {:?}", self as *const _))
8943            .field("parent_class", &self.parent_class)
8944            .field("_gtk_reserved1", &self._gtk_reserved1)
8945            .field("_gtk_reserved2", &self._gtk_reserved2)
8946            .field("_gtk_reserved3", &self._gtk_reserved3)
8947            .field("_gtk_reserved4", &self._gtk_reserved4)
8948            .finish()
8949    }
8950}
8951
8952#[repr(C)]
8953pub struct _GtkTearoffMenuItemPrivate(c_void);
8954
8955pub type GtkTearoffMenuItemPrivate = *mut _GtkTearoffMenuItemPrivate;
8956
8957#[repr(C)]
8958pub struct GtkTextAppearance {
8959    pub bg_color: gdk::GdkColor,
8960    pub fg_color: gdk::GdkColor,
8961    pub rise: c_int,
8962    pub underline: c_uint,
8963    _truncated_record_marker: c_void,
8964    // field strikethrough has incomplete type
8965}
8966
8967impl ::std::fmt::Debug for GtkTextAppearance {
8968    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8969        f.debug_struct(&format!("GtkTextAppearance @ {:?}", self as *const _))
8970            .field("bg_color", &self.bg_color)
8971            .field("fg_color", &self.fg_color)
8972            .field("rise", &self.rise)
8973            .field("underline", &self.underline)
8974            .finish()
8975    }
8976}
8977
8978#[repr(C)]
8979pub struct GtkTextAttributes {
8980    pub refcount: c_uint,
8981    _truncated_record_marker: c_void,
8982    // /*Ignored*/field appearance has incomplete type
8983}
8984
8985impl ::std::fmt::Debug for GtkTextAttributes {
8986    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
8987        f.debug_struct(&format!("GtkTextAttributes @ {:?}", self as *const _))
8988            .finish()
8989    }
8990}
8991
8992#[repr(C)]
8993pub struct _GtkTextBTree(c_void);
8994
8995pub type GtkTextBTree = *mut _GtkTextBTree;
8996
8997#[repr(C)]
8998#[derive(Copy, Clone)]
8999pub struct GtkTextBufferClass {
9000    pub parent_class: gobject::GObjectClass,
9001    pub insert_text:
9002        Option<unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkTextIter, *const c_char, c_int)>,
9003    pub insert_pixbuf: Option<
9004        unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkTextIter, *mut gdk_pixbuf::GdkPixbuf),
9005    >,
9006    pub insert_child_anchor:
9007        Option<unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkTextIter, *mut GtkTextChildAnchor)>,
9008    pub delete_range:
9009        Option<unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkTextIter, *mut GtkTextIter)>,
9010    pub changed: Option<unsafe extern "C" fn(*mut GtkTextBuffer)>,
9011    pub modified_changed: Option<unsafe extern "C" fn(*mut GtkTextBuffer)>,
9012    pub mark_set:
9013        Option<unsafe extern "C" fn(*mut GtkTextBuffer, *const GtkTextIter, *mut GtkTextMark)>,
9014    pub mark_deleted: Option<unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkTextMark)>,
9015    pub apply_tag: Option<
9016        unsafe extern "C" fn(
9017            *mut GtkTextBuffer,
9018            *mut GtkTextTag,
9019            *const GtkTextIter,
9020            *const GtkTextIter,
9021        ),
9022    >,
9023    pub remove_tag: Option<
9024        unsafe extern "C" fn(
9025            *mut GtkTextBuffer,
9026            *mut GtkTextTag,
9027            *const GtkTextIter,
9028            *const GtkTextIter,
9029        ),
9030    >,
9031    pub begin_user_action: Option<unsafe extern "C" fn(*mut GtkTextBuffer)>,
9032    pub end_user_action: Option<unsafe extern "C" fn(*mut GtkTextBuffer)>,
9033    pub paste_done: Option<unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkClipboard)>,
9034    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9035    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9036    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9037    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9038}
9039
9040impl ::std::fmt::Debug for GtkTextBufferClass {
9041    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9042        f.debug_struct(&format!("GtkTextBufferClass @ {:?}", self as *const _))
9043            .field("parent_class", &self.parent_class)
9044            .field("insert_text", &self.insert_text)
9045            .field("insert_pixbuf", &self.insert_pixbuf)
9046            .field("insert_child_anchor", &self.insert_child_anchor)
9047            .field("delete_range", &self.delete_range)
9048            .field("changed", &self.changed)
9049            .field("modified_changed", &self.modified_changed)
9050            .field("mark_set", &self.mark_set)
9051            .field("mark_deleted", &self.mark_deleted)
9052            .field("apply_tag", &self.apply_tag)
9053            .field("remove_tag", &self.remove_tag)
9054            .field("begin_user_action", &self.begin_user_action)
9055            .field("end_user_action", &self.end_user_action)
9056            .field("paste_done", &self.paste_done)
9057            .field("_gtk_reserved1", &self._gtk_reserved1)
9058            .field("_gtk_reserved2", &self._gtk_reserved2)
9059            .field("_gtk_reserved3", &self._gtk_reserved3)
9060            .field("_gtk_reserved4", &self._gtk_reserved4)
9061            .finish()
9062    }
9063}
9064
9065#[repr(C)]
9066pub struct _GtkTextBufferPrivate(c_void);
9067
9068pub type GtkTextBufferPrivate = *mut _GtkTextBufferPrivate;
9069
9070#[repr(C)]
9071#[derive(Copy, Clone)]
9072pub struct GtkTextCellAccessibleClass {
9073    pub parent_class: GtkRendererCellAccessibleClass,
9074}
9075
9076impl ::std::fmt::Debug for GtkTextCellAccessibleClass {
9077    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9078        f.debug_struct(&format!(
9079            "GtkTextCellAccessibleClass @ {:?}",
9080            self as *const _
9081        ))
9082        .field("parent_class", &self.parent_class)
9083        .finish()
9084    }
9085}
9086
9087#[repr(C)]
9088pub struct _GtkTextCellAccessiblePrivate(c_void);
9089
9090pub type GtkTextCellAccessiblePrivate = *mut _GtkTextCellAccessiblePrivate;
9091
9092#[repr(C)]
9093#[derive(Copy, Clone)]
9094pub struct GtkTextChildAnchorClass {
9095    pub parent_class: gobject::GObjectClass,
9096    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9097    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9098    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9099    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9100}
9101
9102impl ::std::fmt::Debug for GtkTextChildAnchorClass {
9103    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9104        f.debug_struct(&format!("GtkTextChildAnchorClass @ {:?}", self as *const _))
9105            .field("parent_class", &self.parent_class)
9106            .field("_gtk_reserved1", &self._gtk_reserved1)
9107            .field("_gtk_reserved2", &self._gtk_reserved2)
9108            .field("_gtk_reserved3", &self._gtk_reserved3)
9109            .field("_gtk_reserved4", &self._gtk_reserved4)
9110            .finish()
9111    }
9112}
9113
9114#[repr(C)]
9115#[derive(Copy, Clone)]
9116pub struct GtkTextIter {
9117    pub dummy1: gpointer,
9118    pub dummy2: gpointer,
9119    pub dummy3: c_int,
9120    pub dummy4: c_int,
9121    pub dummy5: c_int,
9122    pub dummy6: c_int,
9123    pub dummy7: c_int,
9124    pub dummy8: c_int,
9125    pub dummy9: gpointer,
9126    pub dummy10: gpointer,
9127    pub dummy11: c_int,
9128    pub dummy12: c_int,
9129    pub dummy13: c_int,
9130    pub dummy14: gpointer,
9131}
9132
9133impl ::std::fmt::Debug for GtkTextIter {
9134    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9135        f.debug_struct(&format!("GtkTextIter @ {:?}", self as *const _))
9136            .finish()
9137    }
9138}
9139
9140#[repr(C)]
9141#[derive(Copy, Clone)]
9142pub struct GtkTextMarkClass {
9143    pub parent_class: gobject::GObjectClass,
9144    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9145    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9146    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9147    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9148}
9149
9150impl ::std::fmt::Debug for GtkTextMarkClass {
9151    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9152        f.debug_struct(&format!("GtkTextMarkClass @ {:?}", self as *const _))
9153            .field("parent_class", &self.parent_class)
9154            .field("_gtk_reserved1", &self._gtk_reserved1)
9155            .field("_gtk_reserved2", &self._gtk_reserved2)
9156            .field("_gtk_reserved3", &self._gtk_reserved3)
9157            .field("_gtk_reserved4", &self._gtk_reserved4)
9158            .finish()
9159    }
9160}
9161
9162#[repr(C)]
9163#[derive(Copy, Clone)]
9164pub struct GtkTextTagClass {
9165    pub parent_class: gobject::GObjectClass,
9166    pub event: Option<
9167        unsafe extern "C" fn(
9168            *mut GtkTextTag,
9169            *mut gobject::GObject,
9170            *mut gdk::GdkEvent,
9171            *const GtkTextIter,
9172        ) -> gboolean,
9173    >,
9174    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9175    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9176    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9177    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9178}
9179
9180impl ::std::fmt::Debug for GtkTextTagClass {
9181    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9182        f.debug_struct(&format!("GtkTextTagClass @ {:?}", self as *const _))
9183            .field("parent_class", &self.parent_class)
9184            .field("event", &self.event)
9185            .field("_gtk_reserved1", &self._gtk_reserved1)
9186            .field("_gtk_reserved2", &self._gtk_reserved2)
9187            .field("_gtk_reserved3", &self._gtk_reserved3)
9188            .field("_gtk_reserved4", &self._gtk_reserved4)
9189            .finish()
9190    }
9191}
9192
9193#[repr(C)]
9194pub struct _GtkTextTagPrivate(c_void);
9195
9196pub type GtkTextTagPrivate = *mut _GtkTextTagPrivate;
9197
9198#[repr(C)]
9199#[derive(Copy, Clone)]
9200pub struct GtkTextTagTableClass {
9201    pub parent_class: gobject::GObjectClass,
9202    pub tag_changed: Option<unsafe extern "C" fn(*mut GtkTextTagTable, *mut GtkTextTag, gboolean)>,
9203    pub tag_added: Option<unsafe extern "C" fn(*mut GtkTextTagTable, *mut GtkTextTag)>,
9204    pub tag_removed: Option<unsafe extern "C" fn(*mut GtkTextTagTable, *mut GtkTextTag)>,
9205    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9206    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9207    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9208    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9209}
9210
9211impl ::std::fmt::Debug for GtkTextTagTableClass {
9212    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9213        f.debug_struct(&format!("GtkTextTagTableClass @ {:?}", self as *const _))
9214            .field("parent_class", &self.parent_class)
9215            .field("tag_changed", &self.tag_changed)
9216            .field("tag_added", &self.tag_added)
9217            .field("tag_removed", &self.tag_removed)
9218            .field("_gtk_reserved1", &self._gtk_reserved1)
9219            .field("_gtk_reserved2", &self._gtk_reserved2)
9220            .field("_gtk_reserved3", &self._gtk_reserved3)
9221            .field("_gtk_reserved4", &self._gtk_reserved4)
9222            .finish()
9223    }
9224}
9225
9226#[repr(C)]
9227pub struct _GtkTextTagTablePrivate(c_void);
9228
9229pub type GtkTextTagTablePrivate = *mut _GtkTextTagTablePrivate;
9230
9231#[repr(C)]
9232#[derive(Copy, Clone)]
9233pub struct GtkTextViewAccessibleClass {
9234    pub parent_class: GtkContainerAccessibleClass,
9235}
9236
9237impl ::std::fmt::Debug for GtkTextViewAccessibleClass {
9238    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9239        f.debug_struct(&format!(
9240            "GtkTextViewAccessibleClass @ {:?}",
9241            self as *const _
9242        ))
9243        .field("parent_class", &self.parent_class)
9244        .finish()
9245    }
9246}
9247
9248#[repr(C)]
9249pub struct _GtkTextViewAccessiblePrivate(c_void);
9250
9251pub type GtkTextViewAccessiblePrivate = *mut _GtkTextViewAccessiblePrivate;
9252
9253#[repr(C)]
9254#[derive(Copy, Clone)]
9255pub struct GtkTextViewClass {
9256    pub parent_class: GtkContainerClass,
9257    pub populate_popup: Option<unsafe extern "C" fn(*mut GtkTextView, *mut GtkWidget)>,
9258    pub move_cursor:
9259        Option<unsafe extern "C" fn(*mut GtkTextView, GtkMovementStep, c_int, gboolean)>,
9260    pub set_anchor: Option<unsafe extern "C" fn(*mut GtkTextView)>,
9261    pub insert_at_cursor: Option<unsafe extern "C" fn(*mut GtkTextView, *const c_char)>,
9262    pub delete_from_cursor: Option<unsafe extern "C" fn(*mut GtkTextView, GtkDeleteType, c_int)>,
9263    pub backspace: Option<unsafe extern "C" fn(*mut GtkTextView)>,
9264    pub cut_clipboard: Option<unsafe extern "C" fn(*mut GtkTextView)>,
9265    pub copy_clipboard: Option<unsafe extern "C" fn(*mut GtkTextView)>,
9266    pub paste_clipboard: Option<unsafe extern "C" fn(*mut GtkTextView)>,
9267    pub toggle_overwrite: Option<unsafe extern "C" fn(*mut GtkTextView)>,
9268    pub create_buffer: Option<unsafe extern "C" fn(*mut GtkTextView) -> *mut GtkTextBuffer>,
9269    pub draw_layer:
9270        Option<unsafe extern "C" fn(*mut GtkTextView, GtkTextViewLayer, *mut cairo::cairo_t)>,
9271    pub extend_selection: Option<
9272        unsafe extern "C" fn(
9273            *mut GtkTextView,
9274            GtkTextExtendSelection,
9275            *const GtkTextIter,
9276            *mut GtkTextIter,
9277            *mut GtkTextIter,
9278        ) -> gboolean,
9279    >,
9280    pub insert_emoji: Option<unsafe extern "C" fn(*mut GtkTextView)>,
9281    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9282    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9283    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9284    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9285}
9286
9287impl ::std::fmt::Debug for GtkTextViewClass {
9288    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9289        f.debug_struct(&format!("GtkTextViewClass @ {:?}", self as *const _))
9290            .field("parent_class", &self.parent_class)
9291            .field("populate_popup", &self.populate_popup)
9292            .field("move_cursor", &self.move_cursor)
9293            .field("set_anchor", &self.set_anchor)
9294            .field("insert_at_cursor", &self.insert_at_cursor)
9295            .field("delete_from_cursor", &self.delete_from_cursor)
9296            .field("backspace", &self.backspace)
9297            .field("cut_clipboard", &self.cut_clipboard)
9298            .field("copy_clipboard", &self.copy_clipboard)
9299            .field("paste_clipboard", &self.paste_clipboard)
9300            .field("toggle_overwrite", &self.toggle_overwrite)
9301            .field("create_buffer", &self.create_buffer)
9302            .field("draw_layer", &self.draw_layer)
9303            .field("extend_selection", &self.extend_selection)
9304            .field("insert_emoji", &self.insert_emoji)
9305            .field("_gtk_reserved1", &self._gtk_reserved1)
9306            .field("_gtk_reserved2", &self._gtk_reserved2)
9307            .field("_gtk_reserved3", &self._gtk_reserved3)
9308            .field("_gtk_reserved4", &self._gtk_reserved4)
9309            .finish()
9310    }
9311}
9312
9313#[repr(C)]
9314pub struct _GtkTextViewPrivate(c_void);
9315
9316pub type GtkTextViewPrivate = *mut _GtkTextViewPrivate;
9317
9318#[repr(C)]
9319pub struct _GtkThemeEngine(c_void);
9320
9321pub type GtkThemeEngine = *mut _GtkThemeEngine;
9322
9323#[repr(C)]
9324#[derive(Copy, Clone)]
9325pub struct GtkThemingEngineClass {
9326    pub parent_class: gobject::GObjectClass,
9327    pub render_line: Option<
9328        unsafe extern "C" fn(
9329            *mut GtkThemingEngine,
9330            *mut cairo::cairo_t,
9331            c_double,
9332            c_double,
9333            c_double,
9334            c_double,
9335        ),
9336    >,
9337    pub render_background: Option<
9338        unsafe extern "C" fn(
9339            *mut GtkThemingEngine,
9340            *mut cairo::cairo_t,
9341            c_double,
9342            c_double,
9343            c_double,
9344            c_double,
9345        ),
9346    >,
9347    pub render_frame: Option<
9348        unsafe extern "C" fn(
9349            *mut GtkThemingEngine,
9350            *mut cairo::cairo_t,
9351            c_double,
9352            c_double,
9353            c_double,
9354            c_double,
9355        ),
9356    >,
9357    pub render_frame_gap: Option<
9358        unsafe extern "C" fn(
9359            *mut GtkThemingEngine,
9360            *mut cairo::cairo_t,
9361            c_double,
9362            c_double,
9363            c_double,
9364            c_double,
9365            GtkPositionType,
9366            c_double,
9367            c_double,
9368        ),
9369    >,
9370    pub render_extension: Option<
9371        unsafe extern "C" fn(
9372            *mut GtkThemingEngine,
9373            *mut cairo::cairo_t,
9374            c_double,
9375            c_double,
9376            c_double,
9377            c_double,
9378            GtkPositionType,
9379        ),
9380    >,
9381    pub render_check: Option<
9382        unsafe extern "C" fn(
9383            *mut GtkThemingEngine,
9384            *mut cairo::cairo_t,
9385            c_double,
9386            c_double,
9387            c_double,
9388            c_double,
9389        ),
9390    >,
9391    pub render_option: Option<
9392        unsafe extern "C" fn(
9393            *mut GtkThemingEngine,
9394            *mut cairo::cairo_t,
9395            c_double,
9396            c_double,
9397            c_double,
9398            c_double,
9399        ),
9400    >,
9401    pub render_arrow: Option<
9402        unsafe extern "C" fn(
9403            *mut GtkThemingEngine,
9404            *mut cairo::cairo_t,
9405            c_double,
9406            c_double,
9407            c_double,
9408            c_double,
9409        ),
9410    >,
9411    pub render_expander: Option<
9412        unsafe extern "C" fn(
9413            *mut GtkThemingEngine,
9414            *mut cairo::cairo_t,
9415            c_double,
9416            c_double,
9417            c_double,
9418            c_double,
9419        ),
9420    >,
9421    pub render_focus: Option<
9422        unsafe extern "C" fn(
9423            *mut GtkThemingEngine,
9424            *mut cairo::cairo_t,
9425            c_double,
9426            c_double,
9427            c_double,
9428            c_double,
9429        ),
9430    >,
9431    pub render_layout: Option<
9432        unsafe extern "C" fn(
9433            *mut GtkThemingEngine,
9434            *mut cairo::cairo_t,
9435            c_double,
9436            c_double,
9437            *mut pango::PangoLayout,
9438        ),
9439    >,
9440    pub render_slider: Option<
9441        unsafe extern "C" fn(
9442            *mut GtkThemingEngine,
9443            *mut cairo::cairo_t,
9444            c_double,
9445            c_double,
9446            c_double,
9447            c_double,
9448            GtkOrientation,
9449        ),
9450    >,
9451    pub render_handle: Option<
9452        unsafe extern "C" fn(
9453            *mut GtkThemingEngine,
9454            *mut cairo::cairo_t,
9455            c_double,
9456            c_double,
9457            c_double,
9458            c_double,
9459        ),
9460    >,
9461    pub render_activity: Option<
9462        unsafe extern "C" fn(
9463            *mut GtkThemingEngine,
9464            *mut cairo::cairo_t,
9465            c_double,
9466            c_double,
9467            c_double,
9468            c_double,
9469        ),
9470    >,
9471    pub render_icon_pixbuf: Option<
9472        unsafe extern "C" fn(
9473            *mut GtkThemingEngine,
9474            *const GtkIconSource,
9475            GtkIconSize,
9476        ) -> *mut gdk_pixbuf::GdkPixbuf,
9477    >,
9478    pub render_icon: Option<
9479        unsafe extern "C" fn(
9480            *mut GtkThemingEngine,
9481            *mut cairo::cairo_t,
9482            *mut gdk_pixbuf::GdkPixbuf,
9483            c_double,
9484            c_double,
9485        ),
9486    >,
9487    pub render_icon_surface: Option<
9488        unsafe extern "C" fn(
9489            *mut GtkThemingEngine,
9490            *mut cairo::cairo_t,
9491            *mut cairo::cairo_surface_t,
9492            c_double,
9493            c_double,
9494        ),
9495    >,
9496    pub padding: [gpointer; 14],
9497}
9498
9499impl ::std::fmt::Debug for GtkThemingEngineClass {
9500    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9501        f.debug_struct(&format!("GtkThemingEngineClass @ {:?}", self as *const _))
9502            .field("parent_class", &self.parent_class)
9503            .field("render_line", &self.render_line)
9504            .field("render_background", &self.render_background)
9505            .field("render_frame", &self.render_frame)
9506            .field("render_frame_gap", &self.render_frame_gap)
9507            .field("render_extension", &self.render_extension)
9508            .field("render_check", &self.render_check)
9509            .field("render_option", &self.render_option)
9510            .field("render_arrow", &self.render_arrow)
9511            .field("render_expander", &self.render_expander)
9512            .field("render_focus", &self.render_focus)
9513            .field("render_layout", &self.render_layout)
9514            .field("render_slider", &self.render_slider)
9515            .field("render_handle", &self.render_handle)
9516            .field("render_activity", &self.render_activity)
9517            .field("render_icon_pixbuf", &self.render_icon_pixbuf)
9518            .field("render_icon", &self.render_icon)
9519            .field("render_icon_surface", &self.render_icon_surface)
9520            .finish()
9521    }
9522}
9523
9524#[repr(C)]
9525pub struct _GtkThemingEnginePrivate(c_void);
9526
9527pub type GtkThemingEnginePrivate = *mut _GtkThemingEnginePrivate;
9528
9529#[repr(C)]
9530#[derive(Copy, Clone)]
9531pub struct GtkToggleActionClass {
9532    pub parent_class: GtkActionClass,
9533    pub toggled: Option<unsafe extern "C" fn(*mut GtkToggleAction)>,
9534    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9535    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9536    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9537    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9538}
9539
9540impl ::std::fmt::Debug for GtkToggleActionClass {
9541    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9542        f.debug_struct(&format!("GtkToggleActionClass @ {:?}", self as *const _))
9543            .field("parent_class", &self.parent_class)
9544            .field("toggled", &self.toggled)
9545            .field("_gtk_reserved1", &self._gtk_reserved1)
9546            .field("_gtk_reserved2", &self._gtk_reserved2)
9547            .field("_gtk_reserved3", &self._gtk_reserved3)
9548            .field("_gtk_reserved4", &self._gtk_reserved4)
9549            .finish()
9550    }
9551}
9552
9553#[repr(C)]
9554#[derive(Copy, Clone)]
9555pub struct GtkToggleActionEntry {
9556    pub name: *const c_char,
9557    pub stock_id: *const c_char,
9558    pub label: *const c_char,
9559    pub accelerator: *const c_char,
9560    pub tooltip: *const c_char,
9561    pub callback: gobject::GCallback,
9562    pub is_active: gboolean,
9563}
9564
9565impl ::std::fmt::Debug for GtkToggleActionEntry {
9566    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9567        f.debug_struct(&format!("GtkToggleActionEntry @ {:?}", self as *const _))
9568            .field("name", &self.name)
9569            .field("stock_id", &self.stock_id)
9570            .field("label", &self.label)
9571            .field("accelerator", &self.accelerator)
9572            .field("tooltip", &self.tooltip)
9573            .field("callback", &self.callback)
9574            .field("is_active", &self.is_active)
9575            .finish()
9576    }
9577}
9578
9579#[repr(C)]
9580pub struct _GtkToggleActionPrivate(c_void);
9581
9582pub type GtkToggleActionPrivate = *mut _GtkToggleActionPrivate;
9583
9584#[repr(C)]
9585#[derive(Copy, Clone)]
9586pub struct GtkToggleButtonAccessibleClass {
9587    pub parent_class: GtkButtonAccessibleClass,
9588}
9589
9590impl ::std::fmt::Debug for GtkToggleButtonAccessibleClass {
9591    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9592        f.debug_struct(&format!(
9593            "GtkToggleButtonAccessibleClass @ {:?}",
9594            self as *const _
9595        ))
9596        .field("parent_class", &self.parent_class)
9597        .finish()
9598    }
9599}
9600
9601#[repr(C)]
9602pub struct _GtkToggleButtonAccessiblePrivate(c_void);
9603
9604pub type GtkToggleButtonAccessiblePrivate = *mut _GtkToggleButtonAccessiblePrivate;
9605
9606#[repr(C)]
9607#[derive(Copy, Clone)]
9608pub struct GtkToggleButtonClass {
9609    pub parent_class: GtkButtonClass,
9610    pub toggled: Option<unsafe extern "C" fn(*mut GtkToggleButton)>,
9611    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9612    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9613    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9614    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9615}
9616
9617impl ::std::fmt::Debug for GtkToggleButtonClass {
9618    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9619        f.debug_struct(&format!("GtkToggleButtonClass @ {:?}", self as *const _))
9620            .field("parent_class", &self.parent_class)
9621            .field("toggled", &self.toggled)
9622            .field("_gtk_reserved1", &self._gtk_reserved1)
9623            .field("_gtk_reserved2", &self._gtk_reserved2)
9624            .field("_gtk_reserved3", &self._gtk_reserved3)
9625            .field("_gtk_reserved4", &self._gtk_reserved4)
9626            .finish()
9627    }
9628}
9629
9630#[repr(C)]
9631pub struct _GtkToggleButtonPrivate(c_void);
9632
9633pub type GtkToggleButtonPrivate = *mut _GtkToggleButtonPrivate;
9634
9635#[repr(C)]
9636#[derive(Copy, Clone)]
9637pub struct GtkToggleToolButtonClass {
9638    pub parent_class: GtkToolButtonClass,
9639    pub toggled: Option<unsafe extern "C" fn(*mut GtkToggleToolButton)>,
9640    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9641    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9642    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9643    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9644}
9645
9646impl ::std::fmt::Debug for GtkToggleToolButtonClass {
9647    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9648        f.debug_struct(&format!(
9649            "GtkToggleToolButtonClass @ {:?}",
9650            self as *const _
9651        ))
9652        .field("parent_class", &self.parent_class)
9653        .field("toggled", &self.toggled)
9654        .field("_gtk_reserved1", &self._gtk_reserved1)
9655        .field("_gtk_reserved2", &self._gtk_reserved2)
9656        .field("_gtk_reserved3", &self._gtk_reserved3)
9657        .field("_gtk_reserved4", &self._gtk_reserved4)
9658        .finish()
9659    }
9660}
9661
9662#[repr(C)]
9663pub struct _GtkToggleToolButtonPrivate(c_void);
9664
9665pub type GtkToggleToolButtonPrivate = *mut _GtkToggleToolButtonPrivate;
9666
9667#[repr(C)]
9668#[derive(Copy, Clone)]
9669pub struct GtkToolButtonClass {
9670    pub parent_class: GtkToolItemClass,
9671    pub button_type: GType,
9672    pub clicked: Option<unsafe extern "C" fn(*mut GtkToolButton)>,
9673    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9674    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9675    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9676    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9677}
9678
9679impl ::std::fmt::Debug for GtkToolButtonClass {
9680    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9681        f.debug_struct(&format!("GtkToolButtonClass @ {:?}", self as *const _))
9682            .field("parent_class", &self.parent_class)
9683            .field("button_type", &self.button_type)
9684            .field("clicked", &self.clicked)
9685            .field("_gtk_reserved1", &self._gtk_reserved1)
9686            .field("_gtk_reserved2", &self._gtk_reserved2)
9687            .field("_gtk_reserved3", &self._gtk_reserved3)
9688            .field("_gtk_reserved4", &self._gtk_reserved4)
9689            .finish()
9690    }
9691}
9692
9693#[repr(C)]
9694pub struct _GtkToolButtonPrivate(c_void);
9695
9696pub type GtkToolButtonPrivate = *mut _GtkToolButtonPrivate;
9697
9698#[repr(C)]
9699#[derive(Copy, Clone)]
9700pub struct GtkToolItemClass {
9701    pub parent_class: GtkBinClass,
9702    pub create_menu_proxy: Option<unsafe extern "C" fn(*mut GtkToolItem) -> gboolean>,
9703    pub toolbar_reconfigured: Option<unsafe extern "C" fn(*mut GtkToolItem)>,
9704    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9705    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9706    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9707    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9708}
9709
9710impl ::std::fmt::Debug for GtkToolItemClass {
9711    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9712        f.debug_struct(&format!("GtkToolItemClass @ {:?}", self as *const _))
9713            .field("parent_class", &self.parent_class)
9714            .field("create_menu_proxy", &self.create_menu_proxy)
9715            .field("toolbar_reconfigured", &self.toolbar_reconfigured)
9716            .field("_gtk_reserved1", &self._gtk_reserved1)
9717            .field("_gtk_reserved2", &self._gtk_reserved2)
9718            .field("_gtk_reserved3", &self._gtk_reserved3)
9719            .field("_gtk_reserved4", &self._gtk_reserved4)
9720            .finish()
9721    }
9722}
9723
9724#[repr(C)]
9725#[derive(Copy, Clone)]
9726pub struct GtkToolItemGroupClass {
9727    pub parent_class: GtkContainerClass,
9728    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9729    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9730    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9731    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9732}
9733
9734impl ::std::fmt::Debug for GtkToolItemGroupClass {
9735    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9736        f.debug_struct(&format!("GtkToolItemGroupClass @ {:?}", self as *const _))
9737            .field("parent_class", &self.parent_class)
9738            .field("_gtk_reserved1", &self._gtk_reserved1)
9739            .field("_gtk_reserved2", &self._gtk_reserved2)
9740            .field("_gtk_reserved3", &self._gtk_reserved3)
9741            .field("_gtk_reserved4", &self._gtk_reserved4)
9742            .finish()
9743    }
9744}
9745
9746#[repr(C)]
9747pub struct _GtkToolItemGroupPrivate(c_void);
9748
9749pub type GtkToolItemGroupPrivate = *mut _GtkToolItemGroupPrivate;
9750
9751#[repr(C)]
9752pub struct _GtkToolItemPrivate(c_void);
9753
9754pub type GtkToolItemPrivate = *mut _GtkToolItemPrivate;
9755
9756#[repr(C)]
9757#[derive(Copy, Clone)]
9758pub struct GtkToolPaletteClass {
9759    pub parent_class: GtkContainerClass,
9760    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9761    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9762    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9763    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9764}
9765
9766impl ::std::fmt::Debug for GtkToolPaletteClass {
9767    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9768        f.debug_struct(&format!("GtkToolPaletteClass @ {:?}", self as *const _))
9769            .field("parent_class", &self.parent_class)
9770            .field("_gtk_reserved1", &self._gtk_reserved1)
9771            .field("_gtk_reserved2", &self._gtk_reserved2)
9772            .field("_gtk_reserved3", &self._gtk_reserved3)
9773            .field("_gtk_reserved4", &self._gtk_reserved4)
9774            .finish()
9775    }
9776}
9777
9778#[repr(C)]
9779pub struct _GtkToolPalettePrivate(c_void);
9780
9781pub type GtkToolPalettePrivate = *mut _GtkToolPalettePrivate;
9782
9783#[repr(C)]
9784#[derive(Copy, Clone)]
9785pub struct GtkToolShellIface {
9786    pub g_iface: gobject::GTypeInterface,
9787    pub get_icon_size: Option<unsafe extern "C" fn(*mut GtkToolShell) -> GtkIconSize>,
9788    pub get_orientation: Option<unsafe extern "C" fn(*mut GtkToolShell) -> GtkOrientation>,
9789    pub get_style: Option<unsafe extern "C" fn(*mut GtkToolShell) -> GtkToolbarStyle>,
9790    pub get_relief_style: Option<unsafe extern "C" fn(*mut GtkToolShell) -> GtkReliefStyle>,
9791    pub rebuild_menu: Option<unsafe extern "C" fn(*mut GtkToolShell)>,
9792    pub get_text_orientation: Option<unsafe extern "C" fn(*mut GtkToolShell) -> GtkOrientation>,
9793    pub get_text_alignment: Option<unsafe extern "C" fn(*mut GtkToolShell) -> c_float>,
9794    pub get_ellipsize_mode:
9795        Option<unsafe extern "C" fn(*mut GtkToolShell) -> pango::PangoEllipsizeMode>,
9796    pub get_text_size_group: Option<unsafe extern "C" fn(*mut GtkToolShell) -> *mut GtkSizeGroup>,
9797}
9798
9799impl ::std::fmt::Debug for GtkToolShellIface {
9800    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9801        f.debug_struct(&format!("GtkToolShellIface @ {:?}", self as *const _))
9802            .field("get_icon_size", &self.get_icon_size)
9803            .field("get_orientation", &self.get_orientation)
9804            .field("get_style", &self.get_style)
9805            .field("get_relief_style", &self.get_relief_style)
9806            .field("rebuild_menu", &self.rebuild_menu)
9807            .field("get_text_orientation", &self.get_text_orientation)
9808            .field("get_text_alignment", &self.get_text_alignment)
9809            .field("get_ellipsize_mode", &self.get_ellipsize_mode)
9810            .field("get_text_size_group", &self.get_text_size_group)
9811            .finish()
9812    }
9813}
9814
9815#[repr(C)]
9816#[derive(Copy, Clone)]
9817pub struct GtkToolbarClass {
9818    pub parent_class: GtkContainerClass,
9819    pub orientation_changed: Option<unsafe extern "C" fn(*mut GtkToolbar, GtkOrientation)>,
9820    pub style_changed: Option<unsafe extern "C" fn(*mut GtkToolbar, GtkToolbarStyle)>,
9821    pub popup_context_menu:
9822        Option<unsafe extern "C" fn(*mut GtkToolbar, c_int, c_int, c_int) -> gboolean>,
9823    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9824    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9825    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9826    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9827}
9828
9829impl ::std::fmt::Debug for GtkToolbarClass {
9830    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9831        f.debug_struct(&format!("GtkToolbarClass @ {:?}", self as *const _))
9832            .field("parent_class", &self.parent_class)
9833            .field("orientation_changed", &self.orientation_changed)
9834            .field("style_changed", &self.style_changed)
9835            .field("popup_context_menu", &self.popup_context_menu)
9836            .field("_gtk_reserved1", &self._gtk_reserved1)
9837            .field("_gtk_reserved2", &self._gtk_reserved2)
9838            .field("_gtk_reserved3", &self._gtk_reserved3)
9839            .field("_gtk_reserved4", &self._gtk_reserved4)
9840            .finish()
9841    }
9842}
9843
9844#[repr(C)]
9845pub struct _GtkToolbarPrivate(c_void);
9846
9847pub type GtkToolbarPrivate = *mut _GtkToolbarPrivate;
9848
9849#[repr(C)]
9850#[derive(Copy, Clone)]
9851pub struct GtkToplevelAccessibleClass {
9852    pub parent_class: atk::AtkObjectClass,
9853}
9854
9855impl ::std::fmt::Debug for GtkToplevelAccessibleClass {
9856    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9857        f.debug_struct(&format!(
9858            "GtkToplevelAccessibleClass @ {:?}",
9859            self as *const _
9860        ))
9861        .field("parent_class", &self.parent_class)
9862        .finish()
9863    }
9864}
9865
9866#[repr(C)]
9867pub struct _GtkToplevelAccessiblePrivate(c_void);
9868
9869pub type GtkToplevelAccessiblePrivate = *mut _GtkToplevelAccessiblePrivate;
9870
9871#[repr(C)]
9872#[derive(Copy, Clone)]
9873pub struct GtkTreeDragDestIface {
9874    pub g_iface: gobject::GTypeInterface,
9875    pub drag_data_received: Option<
9876        unsafe extern "C" fn(
9877            *mut GtkTreeDragDest,
9878            *mut GtkTreePath,
9879            *mut GtkSelectionData,
9880        ) -> gboolean,
9881    >,
9882    pub row_drop_possible: Option<
9883        unsafe extern "C" fn(
9884            *mut GtkTreeDragDest,
9885            *mut GtkTreePath,
9886            *mut GtkSelectionData,
9887        ) -> gboolean,
9888    >,
9889}
9890
9891impl ::std::fmt::Debug for GtkTreeDragDestIface {
9892    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9893        f.debug_struct(&format!("GtkTreeDragDestIface @ {:?}", self as *const _))
9894            .field("drag_data_received", &self.drag_data_received)
9895            .field("row_drop_possible", &self.row_drop_possible)
9896            .finish()
9897    }
9898}
9899
9900#[repr(C)]
9901#[derive(Copy, Clone)]
9902pub struct GtkTreeDragSourceIface {
9903    pub g_iface: gobject::GTypeInterface,
9904    pub row_draggable:
9905        Option<unsafe extern "C" fn(*mut GtkTreeDragSource, *mut GtkTreePath) -> gboolean>,
9906    pub drag_data_get: Option<
9907        unsafe extern "C" fn(
9908            *mut GtkTreeDragSource,
9909            *mut GtkTreePath,
9910            *mut GtkSelectionData,
9911        ) -> gboolean,
9912    >,
9913    pub drag_data_delete:
9914        Option<unsafe extern "C" fn(*mut GtkTreeDragSource, *mut GtkTreePath) -> gboolean>,
9915}
9916
9917impl ::std::fmt::Debug for GtkTreeDragSourceIface {
9918    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9919        f.debug_struct(&format!("GtkTreeDragSourceIface @ {:?}", self as *const _))
9920            .field("row_draggable", &self.row_draggable)
9921            .field("drag_data_get", &self.drag_data_get)
9922            .field("drag_data_delete", &self.drag_data_delete)
9923            .finish()
9924    }
9925}
9926
9927#[repr(C)]
9928#[derive(Copy, Clone)]
9929pub struct GtkTreeIter {
9930    pub stamp: c_int,
9931    pub user_data: gpointer,
9932    pub user_data2: gpointer,
9933    pub user_data3: gpointer,
9934}
9935
9936impl ::std::fmt::Debug for GtkTreeIter {
9937    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9938        f.debug_struct(&format!("GtkTreeIter @ {:?}", self as *const _))
9939            .field("stamp", &self.stamp)
9940            .field("user_data", &self.user_data)
9941            .field("user_data2", &self.user_data2)
9942            .field("user_data3", &self.user_data3)
9943            .finish()
9944    }
9945}
9946
9947#[repr(C)]
9948#[derive(Copy, Clone)]
9949pub struct GtkTreeModelFilterClass {
9950    pub parent_class: gobject::GObjectClass,
9951    pub visible: Option<
9952        unsafe extern "C" fn(
9953            *mut GtkTreeModelFilter,
9954            *mut GtkTreeModel,
9955            *mut GtkTreeIter,
9956        ) -> gboolean,
9957    >,
9958    pub modify: Option<
9959        unsafe extern "C" fn(
9960            *mut GtkTreeModelFilter,
9961            *mut GtkTreeModel,
9962            *mut GtkTreeIter,
9963            *mut gobject::GValue,
9964            c_int,
9965        ),
9966    >,
9967    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
9968    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
9969    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
9970    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
9971}
9972
9973impl ::std::fmt::Debug for GtkTreeModelFilterClass {
9974    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
9975        f.debug_struct(&format!("GtkTreeModelFilterClass @ {:?}", self as *const _))
9976            .field("parent_class", &self.parent_class)
9977            .field("visible", &self.visible)
9978            .field("modify", &self.modify)
9979            .field("_gtk_reserved1", &self._gtk_reserved1)
9980            .field("_gtk_reserved2", &self._gtk_reserved2)
9981            .field("_gtk_reserved3", &self._gtk_reserved3)
9982            .field("_gtk_reserved4", &self._gtk_reserved4)
9983            .finish()
9984    }
9985}
9986
9987#[repr(C)]
9988pub struct _GtkTreeModelFilterPrivate(c_void);
9989
9990pub type GtkTreeModelFilterPrivate = *mut _GtkTreeModelFilterPrivate;
9991
9992#[repr(C)]
9993#[derive(Copy, Clone)]
9994pub struct GtkTreeModelIface {
9995    pub g_iface: gobject::GTypeInterface,
9996    pub row_changed:
9997        Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath, *mut GtkTreeIter)>,
9998    pub row_inserted:
9999        Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath, *mut GtkTreeIter)>,
10000    pub row_has_child_toggled:
10001        Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath, *mut GtkTreeIter)>,
10002    pub row_deleted: Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath)>,
10003    pub rows_reordered: Option<
10004        unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath, *mut GtkTreeIter, *mut c_int),
10005    >,
10006    pub get_flags: Option<unsafe extern "C" fn(*mut GtkTreeModel) -> GtkTreeModelFlags>,
10007    pub get_n_columns: Option<unsafe extern "C" fn(*mut GtkTreeModel) -> c_int>,
10008    pub get_column_type: Option<unsafe extern "C" fn(*mut GtkTreeModel, c_int) -> GType>,
10009    pub get_iter: Option<
10010        unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, *mut GtkTreePath) -> gboolean,
10011    >,
10012    pub get_path:
10013        Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter) -> *mut GtkTreePath>,
10014    pub get_value: Option<
10015        unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, c_int, *mut gobject::GValue),
10016    >,
10017    pub iter_next: Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter) -> gboolean>,
10018    pub iter_previous:
10019        Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter) -> gboolean>,
10020    pub iter_children: Option<
10021        unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, *mut GtkTreeIter) -> gboolean,
10022    >,
10023    pub iter_has_child:
10024        Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter) -> gboolean>,
10025    pub iter_n_children: Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter) -> c_int>,
10026    pub iter_nth_child: Option<
10027        unsafe extern "C" fn(
10028            *mut GtkTreeModel,
10029            *mut GtkTreeIter,
10030            *mut GtkTreeIter,
10031            c_int,
10032        ) -> gboolean,
10033    >,
10034    pub iter_parent: Option<
10035        unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, *mut GtkTreeIter) -> gboolean,
10036    >,
10037    pub ref_node: Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter)>,
10038    pub unref_node: Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter)>,
10039}
10040
10041impl ::std::fmt::Debug for GtkTreeModelIface {
10042    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10043        f.debug_struct(&format!("GtkTreeModelIface @ {:?}", self as *const _))
10044            .field("row_changed", &self.row_changed)
10045            .field("row_inserted", &self.row_inserted)
10046            .field("row_has_child_toggled", &self.row_has_child_toggled)
10047            .field("row_deleted", &self.row_deleted)
10048            .field("rows_reordered", &self.rows_reordered)
10049            .field("get_flags", &self.get_flags)
10050            .field("get_n_columns", &self.get_n_columns)
10051            .field("get_column_type", &self.get_column_type)
10052            .field("get_iter", &self.get_iter)
10053            .field("get_path", &self.get_path)
10054            .field("get_value", &self.get_value)
10055            .field("iter_next", &self.iter_next)
10056            .field("iter_previous", &self.iter_previous)
10057            .field("iter_children", &self.iter_children)
10058            .field("iter_has_child", &self.iter_has_child)
10059            .field("iter_n_children", &self.iter_n_children)
10060            .field("iter_nth_child", &self.iter_nth_child)
10061            .field("iter_parent", &self.iter_parent)
10062            .field("ref_node", &self.ref_node)
10063            .field("unref_node", &self.unref_node)
10064            .finish()
10065    }
10066}
10067
10068#[repr(C)]
10069#[derive(Copy, Clone)]
10070pub struct GtkTreeModelSortClass {
10071    pub parent_class: gobject::GObjectClass,
10072    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
10073    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
10074    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
10075    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
10076}
10077
10078impl ::std::fmt::Debug for GtkTreeModelSortClass {
10079    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10080        f.debug_struct(&format!("GtkTreeModelSortClass @ {:?}", self as *const _))
10081            .field("parent_class", &self.parent_class)
10082            .field("_gtk_reserved1", &self._gtk_reserved1)
10083            .field("_gtk_reserved2", &self._gtk_reserved2)
10084            .field("_gtk_reserved3", &self._gtk_reserved3)
10085            .field("_gtk_reserved4", &self._gtk_reserved4)
10086            .finish()
10087    }
10088}
10089
10090#[repr(C)]
10091pub struct _GtkTreeModelSortPrivate(c_void);
10092
10093pub type GtkTreeModelSortPrivate = *mut _GtkTreeModelSortPrivate;
10094
10095#[repr(C)]
10096pub struct GtkTreePath(c_void);
10097
10098impl ::std::fmt::Debug for GtkTreePath {
10099    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10100        f.debug_struct(&format!("GtkTreePath @ {:?}", self as *const _))
10101            .finish()
10102    }
10103}
10104
10105#[repr(C)]
10106pub struct GtkTreeRowReference(c_void);
10107
10108impl ::std::fmt::Debug for GtkTreeRowReference {
10109    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10110        f.debug_struct(&format!("GtkTreeRowReference @ {:?}", self as *const _))
10111            .finish()
10112    }
10113}
10114
10115#[repr(C)]
10116#[derive(Copy, Clone)]
10117pub struct GtkTreeSelectionClass {
10118    pub parent_class: gobject::GObjectClass,
10119    pub changed: Option<unsafe extern "C" fn(*mut GtkTreeSelection)>,
10120    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
10121    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
10122    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
10123    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
10124}
10125
10126impl ::std::fmt::Debug for GtkTreeSelectionClass {
10127    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10128        f.debug_struct(&format!("GtkTreeSelectionClass @ {:?}", self as *const _))
10129            .field("parent_class", &self.parent_class)
10130            .field("changed", &self.changed)
10131            .field("_gtk_reserved1", &self._gtk_reserved1)
10132            .field("_gtk_reserved2", &self._gtk_reserved2)
10133            .field("_gtk_reserved3", &self._gtk_reserved3)
10134            .field("_gtk_reserved4", &self._gtk_reserved4)
10135            .finish()
10136    }
10137}
10138
10139#[repr(C)]
10140pub struct _GtkTreeSelectionPrivate(c_void);
10141
10142pub type GtkTreeSelectionPrivate = *mut _GtkTreeSelectionPrivate;
10143
10144#[repr(C)]
10145#[derive(Copy, Clone)]
10146pub struct GtkTreeSortableIface {
10147    pub g_iface: gobject::GTypeInterface,
10148    pub sort_column_changed: Option<unsafe extern "C" fn(*mut GtkTreeSortable)>,
10149    pub get_sort_column_id: Option<
10150        unsafe extern "C" fn(*mut GtkTreeSortable, *mut c_int, *mut GtkSortType) -> gboolean,
10151    >,
10152    pub set_sort_column_id: Option<unsafe extern "C" fn(*mut GtkTreeSortable, c_int, GtkSortType)>,
10153    pub set_sort_func: Option<
10154        unsafe extern "C" fn(
10155            *mut GtkTreeSortable,
10156            c_int,
10157            GtkTreeIterCompareFunc,
10158            gpointer,
10159            glib::GDestroyNotify,
10160        ),
10161    >,
10162    pub set_default_sort_func: Option<
10163        unsafe extern "C" fn(
10164            *mut GtkTreeSortable,
10165            GtkTreeIterCompareFunc,
10166            gpointer,
10167            glib::GDestroyNotify,
10168        ),
10169    >,
10170    pub has_default_sort_func: Option<unsafe extern "C" fn(*mut GtkTreeSortable) -> gboolean>,
10171}
10172
10173impl ::std::fmt::Debug for GtkTreeSortableIface {
10174    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10175        f.debug_struct(&format!("GtkTreeSortableIface @ {:?}", self as *const _))
10176            .field("sort_column_changed", &self.sort_column_changed)
10177            .field("get_sort_column_id", &self.get_sort_column_id)
10178            .field("set_sort_column_id", &self.set_sort_column_id)
10179            .field("set_sort_func", &self.set_sort_func)
10180            .field("set_default_sort_func", &self.set_default_sort_func)
10181            .field("has_default_sort_func", &self.has_default_sort_func)
10182            .finish()
10183    }
10184}
10185
10186#[repr(C)]
10187#[derive(Copy, Clone)]
10188pub struct GtkTreeStoreClass {
10189    pub parent_class: gobject::GObjectClass,
10190    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
10191    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
10192    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
10193    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
10194}
10195
10196impl ::std::fmt::Debug for GtkTreeStoreClass {
10197    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10198        f.debug_struct(&format!("GtkTreeStoreClass @ {:?}", self as *const _))
10199            .field("parent_class", &self.parent_class)
10200            .field("_gtk_reserved1", &self._gtk_reserved1)
10201            .field("_gtk_reserved2", &self._gtk_reserved2)
10202            .field("_gtk_reserved3", &self._gtk_reserved3)
10203            .field("_gtk_reserved4", &self._gtk_reserved4)
10204            .finish()
10205    }
10206}
10207
10208#[repr(C)]
10209pub struct _GtkTreeStorePrivate(c_void);
10210
10211pub type GtkTreeStorePrivate = *mut _GtkTreeStorePrivate;
10212
10213#[repr(C)]
10214#[derive(Copy, Clone)]
10215pub struct GtkTreeViewAccessibleClass {
10216    pub parent_class: GtkContainerAccessibleClass,
10217}
10218
10219impl ::std::fmt::Debug for GtkTreeViewAccessibleClass {
10220    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10221        f.debug_struct(&format!(
10222            "GtkTreeViewAccessibleClass @ {:?}",
10223            self as *const _
10224        ))
10225        .field("parent_class", &self.parent_class)
10226        .finish()
10227    }
10228}
10229
10230#[repr(C)]
10231pub struct _GtkTreeViewAccessiblePrivate(c_void);
10232
10233pub type GtkTreeViewAccessiblePrivate = *mut _GtkTreeViewAccessiblePrivate;
10234
10235#[repr(C)]
10236#[derive(Copy, Clone)]
10237pub struct GtkTreeViewClass {
10238    pub parent_class: GtkContainerClass,
10239    pub row_activated:
10240        Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreePath, *mut GtkTreeViewColumn)>,
10241    pub test_expand_row: Option<
10242        unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreeIter, *mut GtkTreePath) -> gboolean,
10243    >,
10244    pub test_collapse_row: Option<
10245        unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreeIter, *mut GtkTreePath) -> gboolean,
10246    >,
10247    pub row_expanded:
10248        Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreeIter, *mut GtkTreePath)>,
10249    pub row_collapsed:
10250        Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreeIter, *mut GtkTreePath)>,
10251    pub columns_changed: Option<unsafe extern "C" fn(*mut GtkTreeView)>,
10252    pub cursor_changed: Option<unsafe extern "C" fn(*mut GtkTreeView)>,
10253    pub move_cursor:
10254        Option<unsafe extern "C" fn(*mut GtkTreeView, GtkMovementStep, c_int) -> gboolean>,
10255    pub select_all: Option<unsafe extern "C" fn(*mut GtkTreeView) -> gboolean>,
10256    pub unselect_all: Option<unsafe extern "C" fn(*mut GtkTreeView) -> gboolean>,
10257    pub select_cursor_row: Option<unsafe extern "C" fn(*mut GtkTreeView, gboolean) -> gboolean>,
10258    pub toggle_cursor_row: Option<unsafe extern "C" fn(*mut GtkTreeView) -> gboolean>,
10259    pub expand_collapse_cursor_row:
10260        Option<unsafe extern "C" fn(*mut GtkTreeView, gboolean, gboolean, gboolean) -> gboolean>,
10261    pub select_cursor_parent: Option<unsafe extern "C" fn(*mut GtkTreeView) -> gboolean>,
10262    pub start_interactive_search: Option<unsafe extern "C" fn(*mut GtkTreeView) -> gboolean>,
10263    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
10264    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
10265    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
10266    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
10267    pub _gtk_reserved5: Option<unsafe extern "C" fn()>,
10268    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
10269    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
10270    pub _gtk_reserved8: Option<unsafe extern "C" fn()>,
10271}
10272
10273impl ::std::fmt::Debug for GtkTreeViewClass {
10274    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10275        f.debug_struct(&format!("GtkTreeViewClass @ {:?}", self as *const _))
10276            .field("parent_class", &self.parent_class)
10277            .field("row_activated", &self.row_activated)
10278            .field("test_expand_row", &self.test_expand_row)
10279            .field("test_collapse_row", &self.test_collapse_row)
10280            .field("row_expanded", &self.row_expanded)
10281            .field("row_collapsed", &self.row_collapsed)
10282            .field("columns_changed", &self.columns_changed)
10283            .field("cursor_changed", &self.cursor_changed)
10284            .field("move_cursor", &self.move_cursor)
10285            .field("select_all", &self.select_all)
10286            .field("unselect_all", &self.unselect_all)
10287            .field("select_cursor_row", &self.select_cursor_row)
10288            .field("toggle_cursor_row", &self.toggle_cursor_row)
10289            .field(
10290                "expand_collapse_cursor_row",
10291                &self.expand_collapse_cursor_row,
10292            )
10293            .field("select_cursor_parent", &self.select_cursor_parent)
10294            .field("start_interactive_search", &self.start_interactive_search)
10295            .field("_gtk_reserved1", &self._gtk_reserved1)
10296            .field("_gtk_reserved2", &self._gtk_reserved2)
10297            .field("_gtk_reserved3", &self._gtk_reserved3)
10298            .field("_gtk_reserved4", &self._gtk_reserved4)
10299            .field("_gtk_reserved5", &self._gtk_reserved5)
10300            .field("_gtk_reserved6", &self._gtk_reserved6)
10301            .field("_gtk_reserved7", &self._gtk_reserved7)
10302            .field("_gtk_reserved8", &self._gtk_reserved8)
10303            .finish()
10304    }
10305}
10306
10307#[repr(C)]
10308#[derive(Copy, Clone)]
10309pub struct GtkTreeViewColumnClass {
10310    pub parent_class: gobject::GInitiallyUnownedClass,
10311    pub clicked: Option<unsafe extern "C" fn(*mut GtkTreeViewColumn)>,
10312    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
10313    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
10314    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
10315    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
10316}
10317
10318impl ::std::fmt::Debug for GtkTreeViewColumnClass {
10319    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10320        f.debug_struct(&format!("GtkTreeViewColumnClass @ {:?}", self as *const _))
10321            .field("parent_class", &self.parent_class)
10322            .field("clicked", &self.clicked)
10323            .field("_gtk_reserved1", &self._gtk_reserved1)
10324            .field("_gtk_reserved2", &self._gtk_reserved2)
10325            .field("_gtk_reserved3", &self._gtk_reserved3)
10326            .field("_gtk_reserved4", &self._gtk_reserved4)
10327            .finish()
10328    }
10329}
10330
10331#[repr(C)]
10332pub struct _GtkTreeViewColumnPrivate(c_void);
10333
10334pub type GtkTreeViewColumnPrivate = *mut _GtkTreeViewColumnPrivate;
10335
10336#[repr(C)]
10337pub struct _GtkTreeViewPrivate(c_void);
10338
10339pub type GtkTreeViewPrivate = *mut _GtkTreeViewPrivate;
10340
10341#[repr(C)]
10342#[derive(Copy, Clone)]
10343pub struct GtkUIManagerClass {
10344    pub parent_class: gobject::GObjectClass,
10345    pub add_widget: Option<unsafe extern "C" fn(*mut GtkUIManager, *mut GtkWidget)>,
10346    pub actions_changed: Option<unsafe extern "C" fn(*mut GtkUIManager)>,
10347    pub connect_proxy:
10348        Option<unsafe extern "C" fn(*mut GtkUIManager, *mut GtkAction, *mut GtkWidget)>,
10349    pub disconnect_proxy:
10350        Option<unsafe extern "C" fn(*mut GtkUIManager, *mut GtkAction, *mut GtkWidget)>,
10351    pub pre_activate: Option<unsafe extern "C" fn(*mut GtkUIManager, *mut GtkAction)>,
10352    pub post_activate: Option<unsafe extern "C" fn(*mut GtkUIManager, *mut GtkAction)>,
10353    pub get_widget:
10354        Option<unsafe extern "C" fn(*mut GtkUIManager, *const c_char) -> *mut GtkWidget>,
10355    pub get_action:
10356        Option<unsafe extern "C" fn(*mut GtkUIManager, *const c_char) -> *mut GtkAction>,
10357    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
10358    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
10359    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
10360    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
10361}
10362
10363impl ::std::fmt::Debug for GtkUIManagerClass {
10364    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10365        f.debug_struct(&format!("GtkUIManagerClass @ {:?}", self as *const _))
10366            .field("parent_class", &self.parent_class)
10367            .field("add_widget", &self.add_widget)
10368            .field("actions_changed", &self.actions_changed)
10369            .field("connect_proxy", &self.connect_proxy)
10370            .field("disconnect_proxy", &self.disconnect_proxy)
10371            .field("pre_activate", &self.pre_activate)
10372            .field("post_activate", &self.post_activate)
10373            .field("get_widget", &self.get_widget)
10374            .field("get_action", &self.get_action)
10375            .field("_gtk_reserved1", &self._gtk_reserved1)
10376            .field("_gtk_reserved2", &self._gtk_reserved2)
10377            .field("_gtk_reserved3", &self._gtk_reserved3)
10378            .field("_gtk_reserved4", &self._gtk_reserved4)
10379            .finish()
10380    }
10381}
10382
10383#[repr(C)]
10384pub struct _GtkUIManagerPrivate(c_void);
10385
10386pub type GtkUIManagerPrivate = *mut _GtkUIManagerPrivate;
10387
10388#[repr(C)]
10389#[derive(Copy, Clone)]
10390pub struct GtkVBoxClass {
10391    pub parent_class: GtkBoxClass,
10392}
10393
10394impl ::std::fmt::Debug for GtkVBoxClass {
10395    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10396        f.debug_struct(&format!("GtkVBoxClass @ {:?}", self as *const _))
10397            .field("parent_class", &self.parent_class)
10398            .finish()
10399    }
10400}
10401
10402#[repr(C)]
10403#[derive(Copy, Clone)]
10404pub struct GtkVButtonBoxClass {
10405    pub parent_class: GtkButtonBoxClass,
10406}
10407
10408impl ::std::fmt::Debug for GtkVButtonBoxClass {
10409    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10410        f.debug_struct(&format!("GtkVButtonBoxClass @ {:?}", self as *const _))
10411            .field("parent_class", &self.parent_class)
10412            .finish()
10413    }
10414}
10415
10416#[repr(C)]
10417#[derive(Copy, Clone)]
10418pub struct GtkVPanedClass {
10419    pub parent_class: GtkPanedClass,
10420}
10421
10422impl ::std::fmt::Debug for GtkVPanedClass {
10423    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10424        f.debug_struct(&format!("GtkVPanedClass @ {:?}", self as *const _))
10425            .field("parent_class", &self.parent_class)
10426            .finish()
10427    }
10428}
10429
10430#[repr(C)]
10431#[derive(Copy, Clone)]
10432pub struct GtkVScaleClass {
10433    pub parent_class: GtkScaleClass,
10434}
10435
10436impl ::std::fmt::Debug for GtkVScaleClass {
10437    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10438        f.debug_struct(&format!("GtkVScaleClass @ {:?}", self as *const _))
10439            .field("parent_class", &self.parent_class)
10440            .finish()
10441    }
10442}
10443
10444#[repr(C)]
10445#[derive(Copy, Clone)]
10446pub struct GtkVScrollbarClass {
10447    pub parent_class: GtkScrollbarClass,
10448}
10449
10450impl ::std::fmt::Debug for GtkVScrollbarClass {
10451    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10452        f.debug_struct(&format!("GtkVScrollbarClass @ {:?}", self as *const _))
10453            .field("parent_class", &self.parent_class)
10454            .finish()
10455    }
10456}
10457
10458#[repr(C)]
10459#[derive(Copy, Clone)]
10460pub struct GtkVSeparatorClass {
10461    pub parent_class: GtkSeparatorClass,
10462}
10463
10464impl ::std::fmt::Debug for GtkVSeparatorClass {
10465    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10466        f.debug_struct(&format!("GtkVSeparatorClass @ {:?}", self as *const _))
10467            .field("parent_class", &self.parent_class)
10468            .finish()
10469    }
10470}
10471
10472#[repr(C)]
10473#[derive(Copy, Clone)]
10474pub struct GtkViewportClass {
10475    pub parent_class: GtkBinClass,
10476    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
10477    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
10478    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
10479    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
10480}
10481
10482impl ::std::fmt::Debug for GtkViewportClass {
10483    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10484        f.debug_struct(&format!("GtkViewportClass @ {:?}", self as *const _))
10485            .field("parent_class", &self.parent_class)
10486            .field("_gtk_reserved1", &self._gtk_reserved1)
10487            .field("_gtk_reserved2", &self._gtk_reserved2)
10488            .field("_gtk_reserved3", &self._gtk_reserved3)
10489            .field("_gtk_reserved4", &self._gtk_reserved4)
10490            .finish()
10491    }
10492}
10493
10494#[repr(C)]
10495pub struct _GtkViewportPrivate(c_void);
10496
10497pub type GtkViewportPrivate = *mut _GtkViewportPrivate;
10498
10499#[repr(C)]
10500#[derive(Copy, Clone)]
10501pub struct GtkVolumeButtonClass {
10502    pub parent_class: GtkScaleButtonClass,
10503    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
10504    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
10505    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
10506    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
10507}
10508
10509impl ::std::fmt::Debug for GtkVolumeButtonClass {
10510    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10511        f.debug_struct(&format!("GtkVolumeButtonClass @ {:?}", self as *const _))
10512            .field("parent_class", &self.parent_class)
10513            .field("_gtk_reserved1", &self._gtk_reserved1)
10514            .field("_gtk_reserved2", &self._gtk_reserved2)
10515            .field("_gtk_reserved3", &self._gtk_reserved3)
10516            .field("_gtk_reserved4", &self._gtk_reserved4)
10517            .finish()
10518    }
10519}
10520
10521#[repr(C)]
10522#[derive(Copy, Clone)]
10523pub struct GtkWidgetAccessibleClass {
10524    pub parent_class: GtkAccessibleClass,
10525    pub notify_gtk: Option<unsafe extern "C" fn(*mut gobject::GObject, *mut gobject::GParamSpec)>,
10526}
10527
10528impl ::std::fmt::Debug for GtkWidgetAccessibleClass {
10529    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10530        f.debug_struct(&format!(
10531            "GtkWidgetAccessibleClass @ {:?}",
10532            self as *const _
10533        ))
10534        .field("parent_class", &self.parent_class)
10535        .field("notify_gtk", &self.notify_gtk)
10536        .finish()
10537    }
10538}
10539
10540#[repr(C)]
10541pub struct _GtkWidgetAccessiblePrivate(c_void);
10542
10543pub type GtkWidgetAccessiblePrivate = *mut _GtkWidgetAccessiblePrivate;
10544
10545#[repr(C)]
10546#[derive(Copy, Clone)]
10547pub struct GtkWidgetClass {
10548    pub parent_class: gobject::GInitiallyUnownedClass,
10549    pub activate_signal: c_uint,
10550    pub dispatch_child_properties_changed:
10551        Option<unsafe extern "C" fn(*mut GtkWidget, c_uint, *mut *mut gobject::GParamSpec)>,
10552    pub destroy: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10553    pub show: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10554    pub show_all: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10555    pub hide: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10556    pub map: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10557    pub unmap: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10558    pub realize: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10559    pub unrealize: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10560    pub size_allocate: Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkAllocation)>,
10561    pub state_changed: Option<unsafe extern "C" fn(*mut GtkWidget, GtkStateType)>,
10562    pub state_flags_changed: Option<unsafe extern "C" fn(*mut GtkWidget, GtkStateFlags)>,
10563    pub parent_set: Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkWidget)>,
10564    pub hierarchy_changed: Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkWidget)>,
10565    pub style_set: Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkStyle)>,
10566    pub direction_changed: Option<unsafe extern "C" fn(*mut GtkWidget, GtkTextDirection)>,
10567    pub grab_notify: Option<unsafe extern "C" fn(*mut GtkWidget, gboolean)>,
10568    pub child_notify: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gobject::GParamSpec)>,
10569    pub draw: Option<unsafe extern "C" fn(*mut GtkWidget, *mut cairo::cairo_t) -> gboolean>,
10570    pub get_request_mode: Option<unsafe extern "C" fn(*mut GtkWidget) -> GtkSizeRequestMode>,
10571    pub get_preferred_height: Option<unsafe extern "C" fn(*mut GtkWidget, *mut c_int, *mut c_int)>,
10572    pub get_preferred_width_for_height:
10573        Option<unsafe extern "C" fn(*mut GtkWidget, c_int, *mut c_int, *mut c_int)>,
10574    pub get_preferred_width: Option<unsafe extern "C" fn(*mut GtkWidget, *mut c_int, *mut c_int)>,
10575    pub get_preferred_height_for_width:
10576        Option<unsafe extern "C" fn(*mut GtkWidget, c_int, *mut c_int, *mut c_int)>,
10577    pub mnemonic_activate: Option<unsafe extern "C" fn(*mut GtkWidget, gboolean) -> gboolean>,
10578    pub grab_focus: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10579    pub focus: Option<unsafe extern "C" fn(*mut GtkWidget, GtkDirectionType) -> gboolean>,
10580    pub move_focus: Option<unsafe extern "C" fn(*mut GtkWidget, GtkDirectionType)>,
10581    pub keynav_failed: Option<unsafe extern "C" fn(*mut GtkWidget, GtkDirectionType) -> gboolean>,
10582    pub event: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEvent) -> gboolean>,
10583    pub button_press_event:
10584        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventButton) -> gboolean>,
10585    pub button_release_event:
10586        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventButton) -> gboolean>,
10587    pub scroll_event:
10588        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventScroll) -> gboolean>,
10589    pub motion_notify_event:
10590        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventMotion) -> gboolean>,
10591    pub delete_event:
10592        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventAny) -> gboolean>,
10593    pub destroy_event:
10594        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventAny) -> gboolean>,
10595    pub key_press_event:
10596        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventKey) -> gboolean>,
10597    pub key_release_event:
10598        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventKey) -> gboolean>,
10599    pub enter_notify_event:
10600        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventCrossing) -> gboolean>,
10601    pub leave_notify_event:
10602        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventCrossing) -> gboolean>,
10603    pub configure_event:
10604        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventConfigure) -> gboolean>,
10605    pub focus_in_event:
10606        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventFocus) -> gboolean>,
10607    pub focus_out_event:
10608        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventFocus) -> gboolean>,
10609    pub map_event: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventAny) -> gboolean>,
10610    pub unmap_event:
10611        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventAny) -> gboolean>,
10612    pub property_notify_event:
10613        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventProperty) -> gboolean>,
10614    pub selection_clear_event:
10615        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventSelection) -> gboolean>,
10616    pub selection_request_event:
10617        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventSelection) -> gboolean>,
10618    pub selection_notify_event:
10619        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventSelection) -> gboolean>,
10620    pub proximity_in_event:
10621        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventProximity) -> gboolean>,
10622    pub proximity_out_event:
10623        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventProximity) -> gboolean>,
10624    pub visibility_notify_event:
10625        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventVisibility) -> gboolean>,
10626    pub window_state_event:
10627        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventWindowState) -> gboolean>,
10628    pub damage_event:
10629        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventExpose) -> gboolean>,
10630    pub grab_broken_event:
10631        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventGrabBroken) -> gboolean>,
10632    pub selection_get:
10633        Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkSelectionData, c_uint, c_uint)>,
10634    pub selection_received:
10635        Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkSelectionData, c_uint)>,
10636    pub drag_begin: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkDragContext)>,
10637    pub drag_end: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkDragContext)>,
10638    pub drag_data_get: Option<
10639        unsafe extern "C" fn(
10640            *mut GtkWidget,
10641            *mut gdk::GdkDragContext,
10642            *mut GtkSelectionData,
10643            c_uint,
10644            c_uint,
10645        ),
10646    >,
10647    pub drag_data_delete: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkDragContext)>,
10648    pub drag_leave: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkDragContext, c_uint)>,
10649    pub drag_motion: Option<
10650        unsafe extern "C" fn(
10651            *mut GtkWidget,
10652            *mut gdk::GdkDragContext,
10653            c_int,
10654            c_int,
10655            c_uint,
10656        ) -> gboolean,
10657    >,
10658    pub drag_drop: Option<
10659        unsafe extern "C" fn(
10660            *mut GtkWidget,
10661            *mut gdk::GdkDragContext,
10662            c_int,
10663            c_int,
10664            c_uint,
10665        ) -> gboolean,
10666    >,
10667    pub drag_data_received: Option<
10668        unsafe extern "C" fn(
10669            *mut GtkWidget,
10670            *mut gdk::GdkDragContext,
10671            c_int,
10672            c_int,
10673            *mut GtkSelectionData,
10674            c_uint,
10675            c_uint,
10676        ),
10677    >,
10678    pub drag_failed: Option<
10679        unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkDragContext, GtkDragResult) -> gboolean,
10680    >,
10681    pub popup_menu: Option<unsafe extern "C" fn(*mut GtkWidget) -> gboolean>,
10682    pub show_help: Option<unsafe extern "C" fn(*mut GtkWidget, GtkWidgetHelpType) -> gboolean>,
10683    pub get_accessible: Option<unsafe extern "C" fn(*mut GtkWidget) -> *mut atk::AtkObject>,
10684    pub screen_changed: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkScreen)>,
10685    pub can_activate_accel: Option<unsafe extern "C" fn(*mut GtkWidget, c_uint) -> gboolean>,
10686    pub composited_changed: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10687    pub query_tooltip: Option<
10688        unsafe extern "C" fn(*mut GtkWidget, c_int, c_int, gboolean, *mut GtkTooltip) -> gboolean,
10689    >,
10690    pub compute_expand: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gboolean, *mut gboolean)>,
10691    pub adjust_size_request:
10692        Option<unsafe extern "C" fn(*mut GtkWidget, GtkOrientation, *mut c_int, *mut c_int)>,
10693    pub adjust_size_allocation: Option<
10694        unsafe extern "C" fn(
10695            *mut GtkWidget,
10696            GtkOrientation,
10697            *mut c_int,
10698            *mut c_int,
10699            *mut c_int,
10700            *mut c_int,
10701        ),
10702    >,
10703    pub style_updated: Option<unsafe extern "C" fn(*mut GtkWidget)>,
10704    pub touch_event:
10705        Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventTouch) -> gboolean>,
10706    pub get_preferred_height_and_baseline_for_width: Option<
10707        unsafe extern "C" fn(*mut GtkWidget, c_int, *mut c_int, *mut c_int, *mut c_int, *mut c_int),
10708    >,
10709    pub adjust_baseline_request:
10710        Option<unsafe extern "C" fn(*mut GtkWidget, *mut c_int, *mut c_int)>,
10711    pub adjust_baseline_allocation: Option<unsafe extern "C" fn(*mut GtkWidget, *mut c_int)>,
10712    pub queue_draw_region:
10713        Option<unsafe extern "C" fn(*mut GtkWidget, *const cairo::cairo_region_t)>,
10714    pub priv_: *mut GtkWidgetClassPrivate,
10715    pub _gtk_reserved6: Option<unsafe extern "C" fn()>,
10716    pub _gtk_reserved7: Option<unsafe extern "C" fn()>,
10717}
10718
10719impl ::std::fmt::Debug for GtkWidgetClass {
10720    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10721        f.debug_struct(&format!("GtkWidgetClass @ {:?}", self as *const _))
10722            .field("parent_class", &self.parent_class)
10723            .field("activate_signal", &self.activate_signal)
10724            .field(
10725                "dispatch_child_properties_changed",
10726                &self.dispatch_child_properties_changed,
10727            )
10728            .field("destroy", &self.destroy)
10729            .field("show", &self.show)
10730            .field("show_all", &self.show_all)
10731            .field("hide", &self.hide)
10732            .field("map", &self.map)
10733            .field("unmap", &self.unmap)
10734            .field("realize", &self.realize)
10735            .field("unrealize", &self.unrealize)
10736            .field("size_allocate", &self.size_allocate)
10737            .field("state_changed", &self.state_changed)
10738            .field("state_flags_changed", &self.state_flags_changed)
10739            .field("parent_set", &self.parent_set)
10740            .field("hierarchy_changed", &self.hierarchy_changed)
10741            .field("style_set", &self.style_set)
10742            .field("direction_changed", &self.direction_changed)
10743            .field("grab_notify", &self.grab_notify)
10744            .field("child_notify", &self.child_notify)
10745            .field("draw", &self.draw)
10746            .field("get_request_mode", &self.get_request_mode)
10747            .field("get_preferred_height", &self.get_preferred_height)
10748            .field(
10749                "get_preferred_width_for_height",
10750                &self.get_preferred_width_for_height,
10751            )
10752            .field("get_preferred_width", &self.get_preferred_width)
10753            .field(
10754                "get_preferred_height_for_width",
10755                &self.get_preferred_height_for_width,
10756            )
10757            .field("mnemonic_activate", &self.mnemonic_activate)
10758            .field("grab_focus", &self.grab_focus)
10759            .field("focus", &self.focus)
10760            .field("move_focus", &self.move_focus)
10761            .field("keynav_failed", &self.keynav_failed)
10762            .field("event", &self.event)
10763            .field("button_press_event", &self.button_press_event)
10764            .field("button_release_event", &self.button_release_event)
10765            .field("scroll_event", &self.scroll_event)
10766            .field("motion_notify_event", &self.motion_notify_event)
10767            .field("delete_event", &self.delete_event)
10768            .field("destroy_event", &self.destroy_event)
10769            .field("key_press_event", &self.key_press_event)
10770            .field("key_release_event", &self.key_release_event)
10771            .field("enter_notify_event", &self.enter_notify_event)
10772            .field("leave_notify_event", &self.leave_notify_event)
10773            .field("configure_event", &self.configure_event)
10774            .field("focus_in_event", &self.focus_in_event)
10775            .field("focus_out_event", &self.focus_out_event)
10776            .field("map_event", &self.map_event)
10777            .field("unmap_event", &self.unmap_event)
10778            .field("property_notify_event", &self.property_notify_event)
10779            .field("selection_clear_event", &self.selection_clear_event)
10780            .field("selection_request_event", &self.selection_request_event)
10781            .field("selection_notify_event", &self.selection_notify_event)
10782            .field("proximity_in_event", &self.proximity_in_event)
10783            .field("proximity_out_event", &self.proximity_out_event)
10784            .field("visibility_notify_event", &self.visibility_notify_event)
10785            .field("window_state_event", &self.window_state_event)
10786            .field("damage_event", &self.damage_event)
10787            .field("grab_broken_event", &self.grab_broken_event)
10788            .field("selection_get", &self.selection_get)
10789            .field("selection_received", &self.selection_received)
10790            .field("drag_begin", &self.drag_begin)
10791            .field("drag_end", &self.drag_end)
10792            .field("drag_data_get", &self.drag_data_get)
10793            .field("drag_data_delete", &self.drag_data_delete)
10794            .field("drag_leave", &self.drag_leave)
10795            .field("drag_motion", &self.drag_motion)
10796            .field("drag_drop", &self.drag_drop)
10797            .field("drag_data_received", &self.drag_data_received)
10798            .field("drag_failed", &self.drag_failed)
10799            .field("popup_menu", &self.popup_menu)
10800            .field("show_help", &self.show_help)
10801            .field("get_accessible", &self.get_accessible)
10802            .field("screen_changed", &self.screen_changed)
10803            .field("can_activate_accel", &self.can_activate_accel)
10804            .field("composited_changed", &self.composited_changed)
10805            .field("query_tooltip", &self.query_tooltip)
10806            .field("compute_expand", &self.compute_expand)
10807            .field("adjust_size_request", &self.adjust_size_request)
10808            .field("adjust_size_allocation", &self.adjust_size_allocation)
10809            .field("style_updated", &self.style_updated)
10810            .field("touch_event", &self.touch_event)
10811            .field(
10812                "get_preferred_height_and_baseline_for_width",
10813                &self.get_preferred_height_and_baseline_for_width,
10814            )
10815            .field("adjust_baseline_request", &self.adjust_baseline_request)
10816            .field(
10817                "adjust_baseline_allocation",
10818                &self.adjust_baseline_allocation,
10819            )
10820            .field("queue_draw_region", &self.queue_draw_region)
10821            .field("_gtk_reserved6", &self._gtk_reserved6)
10822            .field("_gtk_reserved7", &self._gtk_reserved7)
10823            .finish()
10824    }
10825}
10826
10827#[repr(C)]
10828pub struct _GtkWidgetClassPrivate(c_void);
10829
10830pub type GtkWidgetClassPrivate = *mut _GtkWidgetClassPrivate;
10831
10832#[repr(C)]
10833pub struct GtkWidgetPath(c_void);
10834
10835impl ::std::fmt::Debug for GtkWidgetPath {
10836    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10837        f.debug_struct(&format!("GtkWidgetPath @ {:?}", self as *const _))
10838            .finish()
10839    }
10840}
10841
10842#[repr(C)]
10843pub struct _GtkWidgetPrivate(c_void);
10844
10845pub type GtkWidgetPrivate = *mut _GtkWidgetPrivate;
10846
10847#[repr(C)]
10848#[derive(Copy, Clone)]
10849pub struct GtkWindowAccessibleClass {
10850    pub parent_class: GtkContainerAccessibleClass,
10851}
10852
10853impl ::std::fmt::Debug for GtkWindowAccessibleClass {
10854    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10855        f.debug_struct(&format!(
10856            "GtkWindowAccessibleClass @ {:?}",
10857            self as *const _
10858        ))
10859        .field("parent_class", &self.parent_class)
10860        .finish()
10861    }
10862}
10863
10864#[repr(C)]
10865pub struct _GtkWindowAccessiblePrivate(c_void);
10866
10867pub type GtkWindowAccessiblePrivate = *mut _GtkWindowAccessiblePrivate;
10868
10869#[repr(C)]
10870#[derive(Copy, Clone)]
10871pub struct GtkWindowClass {
10872    pub parent_class: GtkBinClass,
10873    pub set_focus: Option<unsafe extern "C" fn(*mut GtkWindow, *mut GtkWidget)>,
10874    pub activate_focus: Option<unsafe extern "C" fn(*mut GtkWindow)>,
10875    pub activate_default: Option<unsafe extern "C" fn(*mut GtkWindow)>,
10876    pub keys_changed: Option<unsafe extern "C" fn(*mut GtkWindow)>,
10877    pub enable_debugging: Option<unsafe extern "C" fn(*mut GtkWindow, gboolean) -> gboolean>,
10878    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
10879    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
10880    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
10881}
10882
10883impl ::std::fmt::Debug for GtkWindowClass {
10884    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10885        f.debug_struct(&format!("GtkWindowClass @ {:?}", self as *const _))
10886            .field("parent_class", &self.parent_class)
10887            .field("set_focus", &self.set_focus)
10888            .field("activate_focus", &self.activate_focus)
10889            .field("activate_default", &self.activate_default)
10890            .field("keys_changed", &self.keys_changed)
10891            .field("enable_debugging", &self.enable_debugging)
10892            .field("_gtk_reserved1", &self._gtk_reserved1)
10893            .field("_gtk_reserved2", &self._gtk_reserved2)
10894            .field("_gtk_reserved3", &self._gtk_reserved3)
10895            .finish()
10896    }
10897}
10898
10899#[repr(C)]
10900pub struct _GtkWindowGeometryInfo(c_void);
10901
10902pub type GtkWindowGeometryInfo = *mut _GtkWindowGeometryInfo;
10903
10904#[repr(C)]
10905#[derive(Copy, Clone)]
10906pub struct GtkWindowGroupClass {
10907    pub parent_class: gobject::GObjectClass,
10908    pub _gtk_reserved1: Option<unsafe extern "C" fn()>,
10909    pub _gtk_reserved2: Option<unsafe extern "C" fn()>,
10910    pub _gtk_reserved3: Option<unsafe extern "C" fn()>,
10911    pub _gtk_reserved4: Option<unsafe extern "C" fn()>,
10912}
10913
10914impl ::std::fmt::Debug for GtkWindowGroupClass {
10915    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10916        f.debug_struct(&format!("GtkWindowGroupClass @ {:?}", self as *const _))
10917            .field("parent_class", &self.parent_class)
10918            .field("_gtk_reserved1", &self._gtk_reserved1)
10919            .field("_gtk_reserved2", &self._gtk_reserved2)
10920            .field("_gtk_reserved3", &self._gtk_reserved3)
10921            .field("_gtk_reserved4", &self._gtk_reserved4)
10922            .finish()
10923    }
10924}
10925
10926#[repr(C)]
10927pub struct _GtkWindowGroupPrivate(c_void);
10928
10929pub type GtkWindowGroupPrivate = *mut _GtkWindowGroupPrivate;
10930
10931#[repr(C)]
10932pub struct _GtkWindowPrivate(c_void);
10933
10934pub type GtkWindowPrivate = *mut _GtkWindowPrivate;
10935
10936// Classes
10937#[repr(C)]
10938#[derive(Copy, Clone)]
10939pub struct GtkAboutDialog {
10940    pub parent_instance: GtkDialog,
10941    pub priv_: *mut GtkAboutDialogPrivate,
10942}
10943
10944impl ::std::fmt::Debug for GtkAboutDialog {
10945    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10946        f.debug_struct(&format!("GtkAboutDialog @ {:?}", self as *const _))
10947            .field("parent_instance", &self.parent_instance)
10948            .finish()
10949    }
10950}
10951
10952#[repr(C)]
10953#[derive(Copy, Clone)]
10954pub struct GtkAccelGroup {
10955    pub parent: gobject::GObject,
10956    pub priv_: *mut GtkAccelGroupPrivate,
10957}
10958
10959impl ::std::fmt::Debug for GtkAccelGroup {
10960    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10961        f.debug_struct(&format!("GtkAccelGroup @ {:?}", self as *const _))
10962            .field("parent", &self.parent)
10963            .field("priv_", &self.priv_)
10964            .finish()
10965    }
10966}
10967
10968#[repr(C)]
10969#[derive(Copy, Clone)]
10970pub struct GtkAccelLabel {
10971    pub label: GtkLabel,
10972    pub priv_: *mut GtkAccelLabelPrivate,
10973}
10974
10975impl ::std::fmt::Debug for GtkAccelLabel {
10976    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10977        f.debug_struct(&format!("GtkAccelLabel @ {:?}", self as *const _))
10978            .field("label", &self.label)
10979            .field("priv_", &self.priv_)
10980            .finish()
10981    }
10982}
10983
10984#[repr(C)]
10985pub struct GtkAccelMap(c_void);
10986
10987impl ::std::fmt::Debug for GtkAccelMap {
10988    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
10989        f.debug_struct(&format!("GtkAccelMap @ {:?}", self as *const _))
10990            .finish()
10991    }
10992}
10993
10994#[repr(C)]
10995#[derive(Copy, Clone)]
10996pub struct GtkAccessible {
10997    pub parent: atk::AtkObject,
10998    pub priv_: *mut GtkAccessiblePrivate,
10999}
11000
11001impl ::std::fmt::Debug for GtkAccessible {
11002    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11003        f.debug_struct(&format!("GtkAccessible @ {:?}", self as *const _))
11004            .field("parent", &self.parent)
11005            .finish()
11006    }
11007}
11008
11009#[repr(C)]
11010#[derive(Copy, Clone)]
11011pub struct GtkAction {
11012    pub object: gobject::GObject,
11013    pub private_data: *mut GtkActionPrivate,
11014}
11015
11016impl ::std::fmt::Debug for GtkAction {
11017    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11018        f.debug_struct(&format!("GtkAction @ {:?}", self as *const _))
11019            .field("object", &self.object)
11020            .finish()
11021    }
11022}
11023
11024#[repr(C)]
11025#[derive(Copy, Clone)]
11026pub struct GtkActionBar {
11027    pub bin: GtkBin,
11028}
11029
11030impl ::std::fmt::Debug for GtkActionBar {
11031    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11032        f.debug_struct(&format!("GtkActionBar @ {:?}", self as *const _))
11033            .finish()
11034    }
11035}
11036
11037#[repr(C)]
11038#[derive(Copy, Clone)]
11039pub struct GtkActionGroup {
11040    pub parent: gobject::GObject,
11041    pub priv_: *mut GtkActionGroupPrivate,
11042}
11043
11044impl ::std::fmt::Debug for GtkActionGroup {
11045    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11046        f.debug_struct(&format!("GtkActionGroup @ {:?}", self as *const _))
11047            .field("parent", &self.parent)
11048            .finish()
11049    }
11050}
11051
11052#[repr(C)]
11053#[derive(Copy, Clone)]
11054pub struct GtkAdjustment {
11055    pub parent_instance: gobject::GInitiallyUnowned,
11056    pub priv_: *mut GtkAdjustmentPrivate,
11057}
11058
11059impl ::std::fmt::Debug for GtkAdjustment {
11060    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11061        f.debug_struct(&format!("GtkAdjustment @ {:?}", self as *const _))
11062            .field("parent_instance", &self.parent_instance)
11063            .field("priv_", &self.priv_)
11064            .finish()
11065    }
11066}
11067
11068#[repr(C)]
11069#[derive(Copy, Clone)]
11070pub struct GtkAlignment {
11071    pub bin: GtkBin,
11072    pub priv_: *mut GtkAlignmentPrivate,
11073}
11074
11075impl ::std::fmt::Debug for GtkAlignment {
11076    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11077        f.debug_struct(&format!("GtkAlignment @ {:?}", self as *const _))
11078            .field("bin", &self.bin)
11079            .finish()
11080    }
11081}
11082
11083#[repr(C)]
11084#[derive(Copy, Clone)]
11085pub struct GtkAppChooserButton {
11086    pub parent: GtkComboBox,
11087    pub priv_: *mut GtkAppChooserButtonPrivate,
11088}
11089
11090impl ::std::fmt::Debug for GtkAppChooserButton {
11091    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11092        f.debug_struct(&format!("GtkAppChooserButton @ {:?}", self as *const _))
11093            .field("parent", &self.parent)
11094            .finish()
11095    }
11096}
11097
11098#[repr(C)]
11099#[derive(Copy, Clone)]
11100pub struct GtkAppChooserDialog {
11101    pub parent: GtkDialog,
11102    pub priv_: *mut GtkAppChooserDialogPrivate,
11103}
11104
11105impl ::std::fmt::Debug for GtkAppChooserDialog {
11106    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11107        f.debug_struct(&format!("GtkAppChooserDialog @ {:?}", self as *const _))
11108            .field("parent", &self.parent)
11109            .finish()
11110    }
11111}
11112
11113#[repr(C)]
11114#[derive(Copy, Clone)]
11115pub struct GtkAppChooserWidget {
11116    pub parent: GtkBox,
11117    pub priv_: *mut GtkAppChooserWidgetPrivate,
11118}
11119
11120impl ::std::fmt::Debug for GtkAppChooserWidget {
11121    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11122        f.debug_struct(&format!("GtkAppChooserWidget @ {:?}", self as *const _))
11123            .field("parent", &self.parent)
11124            .finish()
11125    }
11126}
11127
11128#[repr(C)]
11129#[derive(Copy, Clone)]
11130pub struct GtkApplication {
11131    pub parent: gio::GApplication,
11132    pub priv_: *mut GtkApplicationPrivate,
11133}
11134
11135impl ::std::fmt::Debug for GtkApplication {
11136    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11137        f.debug_struct(&format!("GtkApplication @ {:?}", self as *const _))
11138            .field("parent", &self.parent)
11139            .finish()
11140    }
11141}
11142
11143#[repr(C)]
11144#[derive(Copy, Clone)]
11145pub struct GtkApplicationWindow {
11146    pub parent_instance: GtkWindow,
11147    pub priv_: *mut GtkApplicationWindowPrivate,
11148}
11149
11150impl ::std::fmt::Debug for GtkApplicationWindow {
11151    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11152        f.debug_struct(&format!("GtkApplicationWindow @ {:?}", self as *const _))
11153            .field("parent_instance", &self.parent_instance)
11154            .finish()
11155    }
11156}
11157
11158#[repr(C)]
11159#[derive(Copy, Clone)]
11160pub struct GtkArrow {
11161    pub misc: GtkMisc,
11162    pub priv_: *mut GtkArrowPrivate,
11163}
11164
11165impl ::std::fmt::Debug for GtkArrow {
11166    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11167        f.debug_struct(&format!("GtkArrow @ {:?}", self as *const _))
11168            .field("misc", &self.misc)
11169            .finish()
11170    }
11171}
11172
11173#[repr(C)]
11174#[derive(Copy, Clone)]
11175pub struct GtkArrowAccessible {
11176    pub parent: GtkWidgetAccessible,
11177    pub priv_: *mut GtkArrowAccessiblePrivate,
11178}
11179
11180impl ::std::fmt::Debug for GtkArrowAccessible {
11181    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11182        f.debug_struct(&format!("GtkArrowAccessible @ {:?}", self as *const _))
11183            .field("parent", &self.parent)
11184            .field("priv_", &self.priv_)
11185            .finish()
11186    }
11187}
11188
11189#[repr(C)]
11190#[derive(Copy, Clone)]
11191pub struct GtkAspectFrame {
11192    pub frame: GtkFrame,
11193    pub priv_: *mut GtkAspectFramePrivate,
11194}
11195
11196impl ::std::fmt::Debug for GtkAspectFrame {
11197    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11198        f.debug_struct(&format!("GtkAspectFrame @ {:?}", self as *const _))
11199            .field("frame", &self.frame)
11200            .finish()
11201    }
11202}
11203
11204#[repr(C)]
11205#[derive(Copy, Clone)]
11206pub struct GtkAssistant {
11207    pub parent: GtkWindow,
11208    pub priv_: *mut GtkAssistantPrivate,
11209}
11210
11211impl ::std::fmt::Debug for GtkAssistant {
11212    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11213        f.debug_struct(&format!("GtkAssistant @ {:?}", self as *const _))
11214            .field("parent", &self.parent)
11215            .finish()
11216    }
11217}
11218
11219#[repr(C)]
11220#[derive(Copy, Clone)]
11221pub struct GtkBin {
11222    pub container: GtkContainer,
11223    pub priv_: *mut GtkBinPrivate,
11224}
11225
11226impl ::std::fmt::Debug for GtkBin {
11227    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11228        f.debug_struct(&format!("GtkBin @ {:?}", self as *const _))
11229            .field("container", &self.container)
11230            .finish()
11231    }
11232}
11233
11234#[repr(C)]
11235#[derive(Copy, Clone)]
11236pub struct GtkBooleanCellAccessible {
11237    pub parent: GtkRendererCellAccessible,
11238    pub priv_: *mut GtkBooleanCellAccessiblePrivate,
11239}
11240
11241impl ::std::fmt::Debug for GtkBooleanCellAccessible {
11242    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11243        f.debug_struct(&format!(
11244            "GtkBooleanCellAccessible @ {:?}",
11245            self as *const _
11246        ))
11247        .field("parent", &self.parent)
11248        .field("priv_", &self.priv_)
11249        .finish()
11250    }
11251}
11252
11253#[repr(C)]
11254#[derive(Copy, Clone)]
11255pub struct GtkBox {
11256    pub container: GtkContainer,
11257    pub priv_: *mut GtkBoxPrivate,
11258}
11259
11260impl ::std::fmt::Debug for GtkBox {
11261    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11262        f.debug_struct(&format!("GtkBox @ {:?}", self as *const _))
11263            .field("container", &self.container)
11264            .finish()
11265    }
11266}
11267
11268#[repr(C)]
11269#[derive(Copy, Clone)]
11270pub struct GtkBuilder {
11271    pub parent_instance: gobject::GObject,
11272    pub priv_: *mut GtkBuilderPrivate,
11273}
11274
11275impl ::std::fmt::Debug for GtkBuilder {
11276    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11277        f.debug_struct(&format!("GtkBuilder @ {:?}", self as *const _))
11278            .field("parent_instance", &self.parent_instance)
11279            .field("priv_", &self.priv_)
11280            .finish()
11281    }
11282}
11283
11284#[repr(C)]
11285#[derive(Copy, Clone)]
11286pub struct GtkButton {
11287    pub bin: GtkBin,
11288    pub priv_: *mut GtkButtonPrivate,
11289}
11290
11291impl ::std::fmt::Debug for GtkButton {
11292    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11293        f.debug_struct(&format!("GtkButton @ {:?}", self as *const _))
11294            .finish()
11295    }
11296}
11297
11298#[repr(C)]
11299#[derive(Copy, Clone)]
11300pub struct GtkButtonAccessible {
11301    pub parent: GtkContainerAccessible,
11302    pub priv_: *mut GtkButtonAccessiblePrivate,
11303}
11304
11305impl ::std::fmt::Debug for GtkButtonAccessible {
11306    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11307        f.debug_struct(&format!("GtkButtonAccessible @ {:?}", self as *const _))
11308            .field("parent", &self.parent)
11309            .field("priv_", &self.priv_)
11310            .finish()
11311    }
11312}
11313
11314#[repr(C)]
11315#[derive(Copy, Clone)]
11316pub struct GtkButtonBox {
11317    pub box_: GtkBox,
11318    pub priv_: *mut GtkButtonBoxPrivate,
11319}
11320
11321impl ::std::fmt::Debug for GtkButtonBox {
11322    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11323        f.debug_struct(&format!("GtkButtonBox @ {:?}", self as *const _))
11324            .field("box_", &self.box_)
11325            .finish()
11326    }
11327}
11328
11329#[repr(C)]
11330#[derive(Copy, Clone)]
11331pub struct GtkCalendar {
11332    pub widget: GtkWidget,
11333    pub priv_: *mut GtkCalendarPrivate,
11334}
11335
11336impl ::std::fmt::Debug for GtkCalendar {
11337    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11338        f.debug_struct(&format!("GtkCalendar @ {:?}", self as *const _))
11339            .field("widget", &self.widget)
11340            .field("priv_", &self.priv_)
11341            .finish()
11342    }
11343}
11344
11345#[repr(C)]
11346#[derive(Copy, Clone)]
11347pub struct GtkCellAccessible {
11348    pub parent: GtkAccessible,
11349    pub priv_: *mut GtkCellAccessiblePrivate,
11350}
11351
11352impl ::std::fmt::Debug for GtkCellAccessible {
11353    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11354        f.debug_struct(&format!("GtkCellAccessible @ {:?}", self as *const _))
11355            .field("parent", &self.parent)
11356            .field("priv_", &self.priv_)
11357            .finish()
11358    }
11359}
11360
11361#[repr(C)]
11362#[derive(Copy, Clone)]
11363pub struct GtkCellArea {
11364    pub parent_instance: gobject::GInitiallyUnowned,
11365    pub priv_: *mut GtkCellAreaPrivate,
11366}
11367
11368impl ::std::fmt::Debug for GtkCellArea {
11369    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11370        f.debug_struct(&format!("GtkCellArea @ {:?}", self as *const _))
11371            .finish()
11372    }
11373}
11374
11375#[repr(C)]
11376#[derive(Copy, Clone)]
11377pub struct GtkCellAreaBox {
11378    pub parent_instance: GtkCellArea,
11379    pub priv_: *mut GtkCellAreaBoxPrivate,
11380}
11381
11382impl ::std::fmt::Debug for GtkCellAreaBox {
11383    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11384        f.debug_struct(&format!("GtkCellAreaBox @ {:?}", self as *const _))
11385            .finish()
11386    }
11387}
11388
11389#[repr(C)]
11390#[derive(Copy, Clone)]
11391pub struct GtkCellAreaContext {
11392    pub parent_instance: gobject::GObject,
11393    pub priv_: *mut GtkCellAreaContextPrivate,
11394}
11395
11396impl ::std::fmt::Debug for GtkCellAreaContext {
11397    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11398        f.debug_struct(&format!("GtkCellAreaContext @ {:?}", self as *const _))
11399            .finish()
11400    }
11401}
11402
11403#[repr(C)]
11404#[derive(Copy, Clone)]
11405pub struct GtkCellRenderer {
11406    pub parent_instance: gobject::GInitiallyUnowned,
11407    pub priv_: *mut GtkCellRendererPrivate,
11408}
11409
11410impl ::std::fmt::Debug for GtkCellRenderer {
11411    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11412        f.debug_struct(&format!("GtkCellRenderer @ {:?}", self as *const _))
11413            .field("parent_instance", &self.parent_instance)
11414            .finish()
11415    }
11416}
11417
11418#[repr(C)]
11419#[derive(Copy, Clone)]
11420pub struct GtkCellRendererAccel {
11421    pub parent: GtkCellRendererText,
11422    pub priv_: *mut GtkCellRendererAccelPrivate,
11423}
11424
11425impl ::std::fmt::Debug for GtkCellRendererAccel {
11426    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11427        f.debug_struct(&format!("GtkCellRendererAccel @ {:?}", self as *const _))
11428            .field("parent", &self.parent)
11429            .finish()
11430    }
11431}
11432
11433#[repr(C)]
11434#[derive(Copy, Clone)]
11435pub struct GtkCellRendererCombo {
11436    pub parent: GtkCellRendererText,
11437    pub priv_: *mut GtkCellRendererComboPrivate,
11438}
11439
11440impl ::std::fmt::Debug for GtkCellRendererCombo {
11441    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11442        f.debug_struct(&format!("GtkCellRendererCombo @ {:?}", self as *const _))
11443            .field("parent", &self.parent)
11444            .finish()
11445    }
11446}
11447
11448#[repr(C)]
11449#[derive(Copy, Clone)]
11450pub struct GtkCellRendererPixbuf {
11451    pub parent: GtkCellRenderer,
11452    pub priv_: *mut GtkCellRendererPixbufPrivate,
11453}
11454
11455impl ::std::fmt::Debug for GtkCellRendererPixbuf {
11456    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11457        f.debug_struct(&format!("GtkCellRendererPixbuf @ {:?}", self as *const _))
11458            .field("parent", &self.parent)
11459            .finish()
11460    }
11461}
11462
11463#[repr(C)]
11464#[derive(Copy, Clone)]
11465pub struct GtkCellRendererProgress {
11466    pub parent_instance: GtkCellRenderer,
11467    pub priv_: *mut GtkCellRendererProgressPrivate,
11468}
11469
11470impl ::std::fmt::Debug for GtkCellRendererProgress {
11471    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11472        f.debug_struct(&format!("GtkCellRendererProgress @ {:?}", self as *const _))
11473            .field("parent_instance", &self.parent_instance)
11474            .finish()
11475    }
11476}
11477
11478#[repr(C)]
11479#[derive(Copy, Clone)]
11480pub struct GtkCellRendererSpin {
11481    pub parent: GtkCellRendererText,
11482    pub priv_: *mut GtkCellRendererSpinPrivate,
11483}
11484
11485impl ::std::fmt::Debug for GtkCellRendererSpin {
11486    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11487        f.debug_struct(&format!("GtkCellRendererSpin @ {:?}", self as *const _))
11488            .field("parent", &self.parent)
11489            .finish()
11490    }
11491}
11492
11493#[repr(C)]
11494#[derive(Copy, Clone)]
11495pub struct GtkCellRendererSpinner {
11496    pub parent: GtkCellRenderer,
11497    pub priv_: *mut GtkCellRendererSpinnerPrivate,
11498}
11499
11500impl ::std::fmt::Debug for GtkCellRendererSpinner {
11501    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11502        f.debug_struct(&format!("GtkCellRendererSpinner @ {:?}", self as *const _))
11503            .field("parent", &self.parent)
11504            .finish()
11505    }
11506}
11507
11508#[repr(C)]
11509#[derive(Copy, Clone)]
11510pub struct GtkCellRendererText {
11511    pub parent: GtkCellRenderer,
11512    pub priv_: *mut GtkCellRendererTextPrivate,
11513}
11514
11515impl ::std::fmt::Debug for GtkCellRendererText {
11516    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11517        f.debug_struct(&format!("GtkCellRendererText @ {:?}", self as *const _))
11518            .field("parent", &self.parent)
11519            .finish()
11520    }
11521}
11522
11523#[repr(C)]
11524#[derive(Copy, Clone)]
11525pub struct GtkCellRendererToggle {
11526    pub parent: GtkCellRenderer,
11527    pub priv_: *mut GtkCellRendererTogglePrivate,
11528}
11529
11530impl ::std::fmt::Debug for GtkCellRendererToggle {
11531    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11532        f.debug_struct(&format!("GtkCellRendererToggle @ {:?}", self as *const _))
11533            .field("parent", &self.parent)
11534            .finish()
11535    }
11536}
11537
11538#[repr(C)]
11539#[derive(Copy, Clone)]
11540pub struct GtkCellView {
11541    pub parent_instance: GtkWidget,
11542    pub priv_: *mut GtkCellViewPrivate,
11543}
11544
11545impl ::std::fmt::Debug for GtkCellView {
11546    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11547        f.debug_struct(&format!("GtkCellView @ {:?}", self as *const _))
11548            .field("parent_instance", &self.parent_instance)
11549            .finish()
11550    }
11551}
11552
11553#[repr(C)]
11554#[derive(Copy, Clone)]
11555pub struct GtkCheckButton {
11556    pub toggle_button: GtkToggleButton,
11557}
11558
11559impl ::std::fmt::Debug for GtkCheckButton {
11560    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11561        f.debug_struct(&format!("GtkCheckButton @ {:?}", self as *const _))
11562            .field("toggle_button", &self.toggle_button)
11563            .finish()
11564    }
11565}
11566
11567#[repr(C)]
11568#[derive(Copy, Clone)]
11569pub struct GtkCheckMenuItem {
11570    pub menu_item: GtkMenuItem,
11571    pub priv_: *mut GtkCheckMenuItemPrivate,
11572}
11573
11574impl ::std::fmt::Debug for GtkCheckMenuItem {
11575    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11576        f.debug_struct(&format!("GtkCheckMenuItem @ {:?}", self as *const _))
11577            .field("menu_item", &self.menu_item)
11578            .finish()
11579    }
11580}
11581
11582#[repr(C)]
11583#[derive(Copy, Clone)]
11584pub struct GtkCheckMenuItemAccessible {
11585    pub parent: GtkMenuItemAccessible,
11586    pub priv_: *mut GtkCheckMenuItemAccessiblePrivate,
11587}
11588
11589impl ::std::fmt::Debug for GtkCheckMenuItemAccessible {
11590    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11591        f.debug_struct(&format!(
11592            "GtkCheckMenuItemAccessible @ {:?}",
11593            self as *const _
11594        ))
11595        .field("parent", &self.parent)
11596        .field("priv_", &self.priv_)
11597        .finish()
11598    }
11599}
11600
11601#[repr(C)]
11602pub struct GtkClipboard(c_void);
11603
11604impl ::std::fmt::Debug for GtkClipboard {
11605    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11606        f.debug_struct(&format!("GtkClipboard @ {:?}", self as *const _))
11607            .finish()
11608    }
11609}
11610
11611#[repr(C)]
11612#[derive(Copy, Clone)]
11613pub struct GtkColorButton {
11614    pub button: GtkButton,
11615    pub priv_: *mut GtkColorButtonPrivate,
11616}
11617
11618impl ::std::fmt::Debug for GtkColorButton {
11619    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11620        f.debug_struct(&format!("GtkColorButton @ {:?}", self as *const _))
11621            .field("button", &self.button)
11622            .finish()
11623    }
11624}
11625
11626#[repr(C)]
11627#[derive(Copy, Clone)]
11628pub struct GtkColorChooserDialog {
11629    pub parent_instance: GtkDialog,
11630    pub priv_: *mut GtkColorChooserDialogPrivate,
11631}
11632
11633impl ::std::fmt::Debug for GtkColorChooserDialog {
11634    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11635        f.debug_struct(&format!("GtkColorChooserDialog @ {:?}", self as *const _))
11636            .field("parent_instance", &self.parent_instance)
11637            .finish()
11638    }
11639}
11640
11641#[repr(C)]
11642#[derive(Copy, Clone)]
11643pub struct GtkColorChooserWidget {
11644    pub parent_instance: GtkBox,
11645    pub priv_: *mut GtkColorChooserWidgetPrivate,
11646}
11647
11648impl ::std::fmt::Debug for GtkColorChooserWidget {
11649    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11650        f.debug_struct(&format!("GtkColorChooserWidget @ {:?}", self as *const _))
11651            .field("parent_instance", &self.parent_instance)
11652            .finish()
11653    }
11654}
11655
11656#[repr(C)]
11657#[derive(Copy, Clone)]
11658pub struct GtkColorSelection {
11659    pub parent_instance: GtkBox,
11660    pub private_data: *mut GtkColorSelectionPrivate,
11661}
11662
11663impl ::std::fmt::Debug for GtkColorSelection {
11664    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11665        f.debug_struct(&format!("GtkColorSelection @ {:?}", self as *const _))
11666            .field("parent_instance", &self.parent_instance)
11667            .finish()
11668    }
11669}
11670
11671#[repr(C)]
11672#[derive(Copy, Clone)]
11673pub struct GtkColorSelectionDialog {
11674    pub parent_instance: GtkDialog,
11675    pub priv_: *mut GtkColorSelectionDialogPrivate,
11676}
11677
11678impl ::std::fmt::Debug for GtkColorSelectionDialog {
11679    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11680        f.debug_struct(&format!("GtkColorSelectionDialog @ {:?}", self as *const _))
11681            .field("parent_instance", &self.parent_instance)
11682            .finish()
11683    }
11684}
11685
11686#[repr(C)]
11687#[derive(Copy, Clone)]
11688pub struct GtkComboBox {
11689    pub parent_instance: GtkBin,
11690    pub priv_: *mut GtkComboBoxPrivate,
11691}
11692
11693impl ::std::fmt::Debug for GtkComboBox {
11694    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11695        f.debug_struct(&format!("GtkComboBox @ {:?}", self as *const _))
11696            .field("parent_instance", &self.parent_instance)
11697            .finish()
11698    }
11699}
11700
11701#[repr(C)]
11702#[derive(Copy, Clone)]
11703pub struct GtkComboBoxAccessible {
11704    pub parent: GtkContainerAccessible,
11705    pub priv_: *mut GtkComboBoxAccessiblePrivate,
11706}
11707
11708impl ::std::fmt::Debug for GtkComboBoxAccessible {
11709    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11710        f.debug_struct(&format!("GtkComboBoxAccessible @ {:?}", self as *const _))
11711            .field("parent", &self.parent)
11712            .field("priv_", &self.priv_)
11713            .finish()
11714    }
11715}
11716
11717#[repr(C)]
11718#[derive(Copy, Clone)]
11719pub struct GtkComboBoxText {
11720    pub parent_instance: GtkComboBox,
11721    pub priv_: *mut GtkComboBoxTextPrivate,
11722}
11723
11724impl ::std::fmt::Debug for GtkComboBoxText {
11725    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11726        f.debug_struct(&format!("GtkComboBoxText @ {:?}", self as *const _))
11727            .finish()
11728    }
11729}
11730
11731#[repr(C)]
11732#[derive(Copy, Clone)]
11733pub struct GtkContainer {
11734    pub widget: GtkWidget,
11735    pub priv_: *mut GtkContainerPrivate,
11736}
11737
11738impl ::std::fmt::Debug for GtkContainer {
11739    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11740        f.debug_struct(&format!("GtkContainer @ {:?}", self as *const _))
11741            .field("widget", &self.widget)
11742            .finish()
11743    }
11744}
11745
11746#[repr(C)]
11747#[derive(Copy, Clone)]
11748pub struct GtkContainerAccessible {
11749    pub parent: GtkWidgetAccessible,
11750    pub priv_: *mut GtkContainerAccessiblePrivate,
11751}
11752
11753impl ::std::fmt::Debug for GtkContainerAccessible {
11754    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11755        f.debug_struct(&format!("GtkContainerAccessible @ {:?}", self as *const _))
11756            .field("parent", &self.parent)
11757            .field("priv_", &self.priv_)
11758            .finish()
11759    }
11760}
11761
11762#[repr(C)]
11763#[derive(Copy, Clone)]
11764pub struct GtkContainerCellAccessible {
11765    pub parent: GtkCellAccessible,
11766    pub priv_: *mut GtkContainerCellAccessiblePrivate,
11767}
11768
11769impl ::std::fmt::Debug for GtkContainerCellAccessible {
11770    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11771        f.debug_struct(&format!(
11772            "GtkContainerCellAccessible @ {:?}",
11773            self as *const _
11774        ))
11775        .field("parent", &self.parent)
11776        .field("priv_", &self.priv_)
11777        .finish()
11778    }
11779}
11780
11781#[repr(C)]
11782#[derive(Copy, Clone)]
11783pub struct GtkCssProvider {
11784    pub parent_instance: gobject::GObject,
11785    pub priv_: *mut GtkCssProviderPrivate,
11786}
11787
11788impl ::std::fmt::Debug for GtkCssProvider {
11789    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11790        f.debug_struct(&format!("GtkCssProvider @ {:?}", self as *const _))
11791            .field("parent_instance", &self.parent_instance)
11792            .field("priv_", &self.priv_)
11793            .finish()
11794    }
11795}
11796
11797#[repr(C)]
11798#[derive(Copy, Clone)]
11799pub struct GtkDialog {
11800    pub window: GtkWindow,
11801    pub priv_: *mut GtkDialogPrivate,
11802}
11803
11804impl ::std::fmt::Debug for GtkDialog {
11805    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11806        f.debug_struct(&format!("GtkDialog @ {:?}", self as *const _))
11807            .field("window", &self.window)
11808            .finish()
11809    }
11810}
11811
11812#[repr(C)]
11813#[derive(Copy, Clone)]
11814pub struct GtkDrawingArea {
11815    pub widget: GtkWidget,
11816    pub dummy: gpointer,
11817}
11818
11819impl ::std::fmt::Debug for GtkDrawingArea {
11820    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11821        f.debug_struct(&format!("GtkDrawingArea @ {:?}", self as *const _))
11822            .field("widget", &self.widget)
11823            .finish()
11824    }
11825}
11826
11827#[repr(C)]
11828#[derive(Copy, Clone)]
11829pub struct GtkEntry {
11830    pub parent_instance: GtkWidget,
11831    pub priv_: *mut GtkEntryPrivate,
11832}
11833
11834impl ::std::fmt::Debug for GtkEntry {
11835    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11836        f.debug_struct(&format!("GtkEntry @ {:?}", self as *const _))
11837            .finish()
11838    }
11839}
11840
11841#[repr(C)]
11842#[derive(Copy, Clone)]
11843pub struct GtkEntryAccessible {
11844    pub parent: GtkWidgetAccessible,
11845    pub priv_: *mut GtkEntryAccessiblePrivate,
11846}
11847
11848impl ::std::fmt::Debug for GtkEntryAccessible {
11849    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11850        f.debug_struct(&format!("GtkEntryAccessible @ {:?}", self as *const _))
11851            .field("parent", &self.parent)
11852            .field("priv_", &self.priv_)
11853            .finish()
11854    }
11855}
11856
11857#[repr(C)]
11858#[derive(Copy, Clone)]
11859pub struct GtkEntryBuffer {
11860    pub parent_instance: gobject::GObject,
11861    pub priv_: *mut GtkEntryBufferPrivate,
11862}
11863
11864impl ::std::fmt::Debug for GtkEntryBuffer {
11865    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11866        f.debug_struct(&format!("GtkEntryBuffer @ {:?}", self as *const _))
11867            .field("parent_instance", &self.parent_instance)
11868            .finish()
11869    }
11870}
11871
11872#[repr(C)]
11873#[derive(Copy, Clone)]
11874pub struct GtkEntryCompletion {
11875    pub parent_instance: gobject::GObject,
11876    pub priv_: *mut GtkEntryCompletionPrivate,
11877}
11878
11879impl ::std::fmt::Debug for GtkEntryCompletion {
11880    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11881        f.debug_struct(&format!("GtkEntryCompletion @ {:?}", self as *const _))
11882            .field("parent_instance", &self.parent_instance)
11883            .finish()
11884    }
11885}
11886
11887#[repr(C)]
11888pub struct GtkEntryIconAccessible(c_void);
11889
11890impl ::std::fmt::Debug for GtkEntryIconAccessible {
11891    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11892        f.debug_struct(&format!("GtkEntryIconAccessible @ {:?}", self as *const _))
11893            .finish()
11894    }
11895}
11896
11897#[repr(C)]
11898#[derive(Copy, Clone)]
11899pub struct GtkEventBox {
11900    pub bin: GtkBin,
11901    pub priv_: *mut GtkEventBoxPrivate,
11902}
11903
11904impl ::std::fmt::Debug for GtkEventBox {
11905    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11906        f.debug_struct(&format!("GtkEventBox @ {:?}", self as *const _))
11907            .field("bin", &self.bin)
11908            .finish()
11909    }
11910}
11911
11912#[repr(C)]
11913pub struct GtkEventController(c_void);
11914
11915impl ::std::fmt::Debug for GtkEventController {
11916    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11917        f.debug_struct(&format!("GtkEventController @ {:?}", self as *const _))
11918            .finish()
11919    }
11920}
11921
11922#[repr(C)]
11923pub struct GtkEventControllerKey(c_void);
11924
11925impl ::std::fmt::Debug for GtkEventControllerKey {
11926    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11927        f.debug_struct(&format!("GtkEventControllerKey @ {:?}", self as *const _))
11928            .finish()
11929    }
11930}
11931
11932#[repr(C)]
11933pub struct GtkEventControllerMotion(c_void);
11934
11935impl ::std::fmt::Debug for GtkEventControllerMotion {
11936    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11937        f.debug_struct(&format!(
11938            "GtkEventControllerMotion @ {:?}",
11939            self as *const _
11940        ))
11941        .finish()
11942    }
11943}
11944
11945#[repr(C)]
11946pub struct GtkEventControllerScroll(c_void);
11947
11948impl ::std::fmt::Debug for GtkEventControllerScroll {
11949    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11950        f.debug_struct(&format!(
11951            "GtkEventControllerScroll @ {:?}",
11952            self as *const _
11953        ))
11954        .finish()
11955    }
11956}
11957
11958#[repr(C)]
11959#[derive(Copy, Clone)]
11960pub struct GtkExpander {
11961    pub bin: GtkBin,
11962    pub priv_: *mut GtkExpanderPrivate,
11963}
11964
11965impl ::std::fmt::Debug for GtkExpander {
11966    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11967        f.debug_struct(&format!("GtkExpander @ {:?}", self as *const _))
11968            .field("bin", &self.bin)
11969            .field("priv_", &self.priv_)
11970            .finish()
11971    }
11972}
11973
11974#[repr(C)]
11975#[derive(Copy, Clone)]
11976pub struct GtkExpanderAccessible {
11977    pub parent: GtkContainerAccessible,
11978    pub priv_: *mut GtkExpanderAccessiblePrivate,
11979}
11980
11981impl ::std::fmt::Debug for GtkExpanderAccessible {
11982    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11983        f.debug_struct(&format!("GtkExpanderAccessible @ {:?}", self as *const _))
11984            .field("parent", &self.parent)
11985            .field("priv_", &self.priv_)
11986            .finish()
11987    }
11988}
11989
11990#[repr(C)]
11991#[derive(Copy, Clone)]
11992pub struct GtkFileChooserButton {
11993    pub parent: GtkBox,
11994    pub priv_: *mut GtkFileChooserButtonPrivate,
11995}
11996
11997impl ::std::fmt::Debug for GtkFileChooserButton {
11998    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
11999        f.debug_struct(&format!("GtkFileChooserButton @ {:?}", self as *const _))
12000            .field("parent", &self.parent)
12001            .finish()
12002    }
12003}
12004
12005#[repr(C)]
12006#[derive(Copy, Clone)]
12007pub struct GtkFileChooserDialog {
12008    pub parent_instance: GtkDialog,
12009    pub priv_: *mut GtkFileChooserDialogPrivate,
12010}
12011
12012impl ::std::fmt::Debug for GtkFileChooserDialog {
12013    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12014        f.debug_struct(&format!("GtkFileChooserDialog @ {:?}", self as *const _))
12015            .field("parent_instance", &self.parent_instance)
12016            .field("priv_", &self.priv_)
12017            .finish()
12018    }
12019}
12020
12021#[repr(C)]
12022pub struct GtkFileChooserNative(c_void);
12023
12024impl ::std::fmt::Debug for GtkFileChooserNative {
12025    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12026        f.debug_struct(&format!("GtkFileChooserNative @ {:?}", self as *const _))
12027            .finish()
12028    }
12029}
12030
12031#[repr(C)]
12032#[derive(Copy, Clone)]
12033pub struct GtkFileChooserWidget {
12034    pub parent_instance: GtkBox,
12035    pub priv_: *mut GtkFileChooserWidgetPrivate,
12036}
12037
12038impl ::std::fmt::Debug for GtkFileChooserWidget {
12039    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12040        f.debug_struct(&format!("GtkFileChooserWidget @ {:?}", self as *const _))
12041            .field("parent_instance", &self.parent_instance)
12042            .field("priv_", &self.priv_)
12043            .finish()
12044    }
12045}
12046
12047#[repr(C)]
12048pub struct GtkFileFilter(c_void);
12049
12050impl ::std::fmt::Debug for GtkFileFilter {
12051    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12052        f.debug_struct(&format!("GtkFileFilter @ {:?}", self as *const _))
12053            .finish()
12054    }
12055}
12056
12057#[repr(C)]
12058#[derive(Copy, Clone)]
12059pub struct GtkFixed {
12060    pub container: GtkContainer,
12061    pub priv_: *mut GtkFixedPrivate,
12062}
12063
12064impl ::std::fmt::Debug for GtkFixed {
12065    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12066        f.debug_struct(&format!("GtkFixed @ {:?}", self as *const _))
12067            .field("container", &self.container)
12068            .finish()
12069    }
12070}
12071
12072#[repr(C)]
12073#[derive(Copy, Clone)]
12074pub struct GtkFlowBox {
12075    pub container: GtkContainer,
12076}
12077
12078impl ::std::fmt::Debug for GtkFlowBox {
12079    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12080        f.debug_struct(&format!("GtkFlowBox @ {:?}", self as *const _))
12081            .field("container", &self.container)
12082            .finish()
12083    }
12084}
12085
12086#[repr(C)]
12087#[derive(Copy, Clone)]
12088pub struct GtkFlowBoxAccessible {
12089    pub parent: GtkContainerAccessible,
12090    pub priv_: *mut GtkFlowBoxAccessiblePrivate,
12091}
12092
12093impl ::std::fmt::Debug for GtkFlowBoxAccessible {
12094    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12095        f.debug_struct(&format!("GtkFlowBoxAccessible @ {:?}", self as *const _))
12096            .field("parent", &self.parent)
12097            .field("priv_", &self.priv_)
12098            .finish()
12099    }
12100}
12101
12102#[repr(C)]
12103#[derive(Copy, Clone)]
12104pub struct GtkFlowBoxChild {
12105    pub parent_instance: GtkBin,
12106}
12107
12108impl ::std::fmt::Debug for GtkFlowBoxChild {
12109    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12110        f.debug_struct(&format!("GtkFlowBoxChild @ {:?}", self as *const _))
12111            .field("parent_instance", &self.parent_instance)
12112            .finish()
12113    }
12114}
12115
12116#[repr(C)]
12117#[derive(Copy, Clone)]
12118pub struct GtkFlowBoxChildAccessible {
12119    pub parent: GtkContainerAccessible,
12120}
12121
12122impl ::std::fmt::Debug for GtkFlowBoxChildAccessible {
12123    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12124        f.debug_struct(&format!(
12125            "GtkFlowBoxChildAccessible @ {:?}",
12126            self as *const _
12127        ))
12128        .field("parent", &self.parent)
12129        .finish()
12130    }
12131}
12132
12133#[repr(C)]
12134#[derive(Copy, Clone)]
12135pub struct GtkFontButton {
12136    pub button: GtkButton,
12137    pub priv_: *mut GtkFontButtonPrivate,
12138}
12139
12140impl ::std::fmt::Debug for GtkFontButton {
12141    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12142        f.debug_struct(&format!("GtkFontButton @ {:?}", self as *const _))
12143            .field("button", &self.button)
12144            .finish()
12145    }
12146}
12147
12148#[repr(C)]
12149#[derive(Copy, Clone)]
12150pub struct GtkFontChooserDialog {
12151    pub parent_instance: GtkDialog,
12152    pub priv_: *mut GtkFontChooserDialogPrivate,
12153}
12154
12155impl ::std::fmt::Debug for GtkFontChooserDialog {
12156    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12157        f.debug_struct(&format!("GtkFontChooserDialog @ {:?}", self as *const _))
12158            .field("parent_instance", &self.parent_instance)
12159            .finish()
12160    }
12161}
12162
12163#[repr(C)]
12164#[derive(Copy, Clone)]
12165pub struct GtkFontChooserWidget {
12166    pub parent_instance: GtkBox,
12167    pub priv_: *mut GtkFontChooserWidgetPrivate,
12168}
12169
12170impl ::std::fmt::Debug for GtkFontChooserWidget {
12171    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12172        f.debug_struct(&format!("GtkFontChooserWidget @ {:?}", self as *const _))
12173            .field("parent_instance", &self.parent_instance)
12174            .finish()
12175    }
12176}
12177
12178#[repr(C)]
12179#[derive(Copy, Clone)]
12180pub struct GtkFontSelection {
12181    pub parent_instance: GtkBox,
12182    pub priv_: *mut GtkFontSelectionPrivate,
12183}
12184
12185impl ::std::fmt::Debug for GtkFontSelection {
12186    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12187        f.debug_struct(&format!("GtkFontSelection @ {:?}", self as *const _))
12188            .field("parent_instance", &self.parent_instance)
12189            .finish()
12190    }
12191}
12192
12193#[repr(C)]
12194#[derive(Copy, Clone)]
12195pub struct GtkFontSelectionDialog {
12196    pub parent_instance: GtkDialog,
12197    pub priv_: *mut GtkFontSelectionDialogPrivate,
12198}
12199
12200impl ::std::fmt::Debug for GtkFontSelectionDialog {
12201    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12202        f.debug_struct(&format!("GtkFontSelectionDialog @ {:?}", self as *const _))
12203            .field("parent_instance", &self.parent_instance)
12204            .finish()
12205    }
12206}
12207
12208#[repr(C)]
12209#[derive(Copy, Clone)]
12210pub struct GtkFrame {
12211    pub bin: GtkBin,
12212    pub priv_: *mut GtkFramePrivate,
12213}
12214
12215impl ::std::fmt::Debug for GtkFrame {
12216    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12217        f.debug_struct(&format!("GtkFrame @ {:?}", self as *const _))
12218            .field("bin", &self.bin)
12219            .finish()
12220    }
12221}
12222
12223#[repr(C)]
12224#[derive(Copy, Clone)]
12225pub struct GtkFrameAccessible {
12226    pub parent: GtkContainerAccessible,
12227    pub priv_: *mut GtkFrameAccessiblePrivate,
12228}
12229
12230impl ::std::fmt::Debug for GtkFrameAccessible {
12231    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12232        f.debug_struct(&format!("GtkFrameAccessible @ {:?}", self as *const _))
12233            .field("parent", &self.parent)
12234            .field("priv_", &self.priv_)
12235            .finish()
12236    }
12237}
12238
12239#[repr(C)]
12240#[derive(Copy, Clone)]
12241pub struct GtkGLArea {
12242    pub parent_instance: GtkWidget,
12243}
12244
12245impl ::std::fmt::Debug for GtkGLArea {
12246    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12247        f.debug_struct(&format!("GtkGLArea @ {:?}", self as *const _))
12248            .finish()
12249    }
12250}
12251
12252#[repr(C)]
12253pub struct GtkGesture(c_void);
12254
12255impl ::std::fmt::Debug for GtkGesture {
12256    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12257        f.debug_struct(&format!("GtkGesture @ {:?}", self as *const _))
12258            .finish()
12259    }
12260}
12261
12262#[repr(C)]
12263pub struct GtkGestureDrag(c_void);
12264
12265impl ::std::fmt::Debug for GtkGestureDrag {
12266    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12267        f.debug_struct(&format!("GtkGestureDrag @ {:?}", self as *const _))
12268            .finish()
12269    }
12270}
12271
12272#[repr(C)]
12273pub struct GtkGestureLongPress(c_void);
12274
12275impl ::std::fmt::Debug for GtkGestureLongPress {
12276    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12277        f.debug_struct(&format!("GtkGestureLongPress @ {:?}", self as *const _))
12278            .finish()
12279    }
12280}
12281
12282#[repr(C)]
12283pub struct GtkGestureMultiPress(c_void);
12284
12285impl ::std::fmt::Debug for GtkGestureMultiPress {
12286    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12287        f.debug_struct(&format!("GtkGestureMultiPress @ {:?}", self as *const _))
12288            .finish()
12289    }
12290}
12291
12292#[repr(C)]
12293pub struct GtkGesturePan(c_void);
12294
12295impl ::std::fmt::Debug for GtkGesturePan {
12296    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12297        f.debug_struct(&format!("GtkGesturePan @ {:?}", self as *const _))
12298            .finish()
12299    }
12300}
12301
12302#[repr(C)]
12303pub struct GtkGestureRotate(c_void);
12304
12305impl ::std::fmt::Debug for GtkGestureRotate {
12306    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12307        f.debug_struct(&format!("GtkGestureRotate @ {:?}", self as *const _))
12308            .finish()
12309    }
12310}
12311
12312#[repr(C)]
12313pub struct GtkGestureSingle(c_void);
12314
12315impl ::std::fmt::Debug for GtkGestureSingle {
12316    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12317        f.debug_struct(&format!("GtkGestureSingle @ {:?}", self as *const _))
12318            .finish()
12319    }
12320}
12321
12322#[repr(C)]
12323pub struct GtkGestureStylus(c_void);
12324
12325impl ::std::fmt::Debug for GtkGestureStylus {
12326    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12327        f.debug_struct(&format!("GtkGestureStylus @ {:?}", self as *const _))
12328            .finish()
12329    }
12330}
12331
12332#[repr(C)]
12333pub struct GtkGestureSwipe(c_void);
12334
12335impl ::std::fmt::Debug for GtkGestureSwipe {
12336    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12337        f.debug_struct(&format!("GtkGestureSwipe @ {:?}", self as *const _))
12338            .finish()
12339    }
12340}
12341
12342#[repr(C)]
12343pub struct GtkGestureZoom(c_void);
12344
12345impl ::std::fmt::Debug for GtkGestureZoom {
12346    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12347        f.debug_struct(&format!("GtkGestureZoom @ {:?}", self as *const _))
12348            .finish()
12349    }
12350}
12351
12352#[repr(C)]
12353#[derive(Copy, Clone)]
12354pub struct GtkGrid {
12355    pub container: GtkContainer,
12356    pub priv_: *mut GtkGridPrivate,
12357}
12358
12359impl ::std::fmt::Debug for GtkGrid {
12360    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12361        f.debug_struct(&format!("GtkGrid @ {:?}", self as *const _))
12362            .finish()
12363    }
12364}
12365
12366#[repr(C)]
12367#[derive(Copy, Clone)]
12368pub struct GtkHBox {
12369    pub box_: GtkBox,
12370}
12371
12372impl ::std::fmt::Debug for GtkHBox {
12373    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12374        f.debug_struct(&format!("GtkHBox @ {:?}", self as *const _))
12375            .field("box_", &self.box_)
12376            .finish()
12377    }
12378}
12379
12380#[repr(C)]
12381#[derive(Copy, Clone)]
12382pub struct GtkHButtonBox {
12383    pub button_box: GtkButtonBox,
12384}
12385
12386impl ::std::fmt::Debug for GtkHButtonBox {
12387    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12388        f.debug_struct(&format!("GtkHButtonBox @ {:?}", self as *const _))
12389            .field("button_box", &self.button_box)
12390            .finish()
12391    }
12392}
12393
12394#[repr(C)]
12395#[derive(Copy, Clone)]
12396pub struct GtkHPaned {
12397    pub paned: GtkPaned,
12398}
12399
12400impl ::std::fmt::Debug for GtkHPaned {
12401    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12402        f.debug_struct(&format!("GtkHPaned @ {:?}", self as *const _))
12403            .field("paned", &self.paned)
12404            .finish()
12405    }
12406}
12407
12408#[repr(C)]
12409#[derive(Copy, Clone)]
12410pub struct GtkHSV {
12411    pub parent_instance: GtkWidget,
12412    pub priv_: *mut GtkHSVPrivate,
12413}
12414
12415impl ::std::fmt::Debug for GtkHSV {
12416    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12417        f.debug_struct(&format!("GtkHSV @ {:?}", self as *const _))
12418            .field("parent_instance", &self.parent_instance)
12419            .finish()
12420    }
12421}
12422
12423#[repr(C)]
12424#[derive(Copy, Clone)]
12425pub struct GtkHScale {
12426    pub scale: GtkScale,
12427}
12428
12429impl ::std::fmt::Debug for GtkHScale {
12430    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12431        f.debug_struct(&format!("GtkHScale @ {:?}", self as *const _))
12432            .field("scale", &self.scale)
12433            .finish()
12434    }
12435}
12436
12437#[repr(C)]
12438#[derive(Copy, Clone)]
12439pub struct GtkHScrollbar {
12440    pub scrollbar: GtkScrollbar,
12441}
12442
12443impl ::std::fmt::Debug for GtkHScrollbar {
12444    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12445        f.debug_struct(&format!("GtkHScrollbar @ {:?}", self as *const _))
12446            .field("scrollbar", &self.scrollbar)
12447            .finish()
12448    }
12449}
12450
12451#[repr(C)]
12452#[derive(Copy, Clone)]
12453pub struct GtkHSeparator {
12454    pub separator: GtkSeparator,
12455}
12456
12457impl ::std::fmt::Debug for GtkHSeparator {
12458    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12459        f.debug_struct(&format!("GtkHSeparator @ {:?}", self as *const _))
12460            .field("separator", &self.separator)
12461            .finish()
12462    }
12463}
12464
12465#[repr(C)]
12466#[derive(Copy, Clone)]
12467pub struct GtkHandleBox {
12468    pub bin: GtkBin,
12469    pub priv_: *mut GtkHandleBoxPrivate,
12470}
12471
12472impl ::std::fmt::Debug for GtkHandleBox {
12473    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12474        f.debug_struct(&format!("GtkHandleBox @ {:?}", self as *const _))
12475            .field("bin", &self.bin)
12476            .finish()
12477    }
12478}
12479
12480#[repr(C)]
12481#[derive(Copy, Clone)]
12482pub struct GtkHeaderBar {
12483    pub container: GtkContainer,
12484}
12485
12486impl ::std::fmt::Debug for GtkHeaderBar {
12487    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12488        f.debug_struct(&format!("GtkHeaderBar @ {:?}", self as *const _))
12489            .field("container", &self.container)
12490            .finish()
12491    }
12492}
12493
12494#[repr(C)]
12495#[derive(Copy, Clone)]
12496pub struct GtkIMContext {
12497    pub parent_instance: gobject::GObject,
12498}
12499
12500impl ::std::fmt::Debug for GtkIMContext {
12501    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12502        f.debug_struct(&format!("GtkIMContext @ {:?}", self as *const _))
12503            .field("parent_instance", &self.parent_instance)
12504            .finish()
12505    }
12506}
12507
12508#[repr(C)]
12509#[derive(Copy, Clone)]
12510pub struct GtkIMContextSimple {
12511    pub object: GtkIMContext,
12512    pub priv_: *mut GtkIMContextSimplePrivate,
12513}
12514
12515impl ::std::fmt::Debug for GtkIMContextSimple {
12516    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12517        f.debug_struct(&format!("GtkIMContextSimple @ {:?}", self as *const _))
12518            .field("object", &self.object)
12519            .finish()
12520    }
12521}
12522
12523#[repr(C)]
12524#[derive(Copy, Clone)]
12525pub struct GtkIMMulticontext {
12526    pub object: GtkIMContext,
12527    pub priv_: *mut GtkIMMulticontextPrivate,
12528}
12529
12530impl ::std::fmt::Debug for GtkIMMulticontext {
12531    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12532        f.debug_struct(&format!("GtkIMMulticontext @ {:?}", self as *const _))
12533            .field("object", &self.object)
12534            .finish()
12535    }
12536}
12537
12538#[repr(C)]
12539#[derive(Copy, Clone)]
12540pub struct GtkIconFactory {
12541    pub parent_instance: gobject::GObject,
12542    pub priv_: *mut GtkIconFactoryPrivate,
12543}
12544
12545impl ::std::fmt::Debug for GtkIconFactory {
12546    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12547        f.debug_struct(&format!("GtkIconFactory @ {:?}", self as *const _))
12548            .field("parent_instance", &self.parent_instance)
12549            .finish()
12550    }
12551}
12552
12553#[repr(C)]
12554pub struct GtkIconInfo(c_void);
12555
12556impl ::std::fmt::Debug for GtkIconInfo {
12557    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12558        f.debug_struct(&format!("GtkIconInfo @ {:?}", self as *const _))
12559            .finish()
12560    }
12561}
12562
12563#[repr(C)]
12564#[derive(Copy, Clone)]
12565pub struct GtkIconTheme {
12566    pub parent_instance: gobject::GObject,
12567    pub priv_: *mut GtkIconThemePrivate,
12568}
12569
12570impl ::std::fmt::Debug for GtkIconTheme {
12571    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12572        f.debug_struct(&format!("GtkIconTheme @ {:?}", self as *const _))
12573            .finish()
12574    }
12575}
12576
12577#[repr(C)]
12578#[derive(Copy, Clone)]
12579pub struct GtkIconView {
12580    pub parent: GtkContainer,
12581    pub priv_: *mut GtkIconViewPrivate,
12582}
12583
12584impl ::std::fmt::Debug for GtkIconView {
12585    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12586        f.debug_struct(&format!("GtkIconView @ {:?}", self as *const _))
12587            .field("parent", &self.parent)
12588            .finish()
12589    }
12590}
12591
12592#[repr(C)]
12593#[derive(Copy, Clone)]
12594pub struct GtkIconViewAccessible {
12595    pub parent: GtkContainerAccessible,
12596    pub priv_: *mut GtkIconViewAccessiblePrivate,
12597}
12598
12599impl ::std::fmt::Debug for GtkIconViewAccessible {
12600    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12601        f.debug_struct(&format!("GtkIconViewAccessible @ {:?}", self as *const _))
12602            .field("parent", &self.parent)
12603            .field("priv_", &self.priv_)
12604            .finish()
12605    }
12606}
12607
12608#[repr(C)]
12609#[derive(Copy, Clone)]
12610pub struct GtkImage {
12611    pub misc: GtkMisc,
12612    pub priv_: *mut GtkImagePrivate,
12613}
12614
12615impl ::std::fmt::Debug for GtkImage {
12616    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12617        f.debug_struct(&format!("GtkImage @ {:?}", self as *const _))
12618            .field("misc", &self.misc)
12619            .finish()
12620    }
12621}
12622
12623#[repr(C)]
12624#[derive(Copy, Clone)]
12625pub struct GtkImageAccessible {
12626    pub parent: GtkWidgetAccessible,
12627    pub priv_: *mut GtkImageAccessiblePrivate,
12628}
12629
12630impl ::std::fmt::Debug for GtkImageAccessible {
12631    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12632        f.debug_struct(&format!("GtkImageAccessible @ {:?}", self as *const _))
12633            .field("parent", &self.parent)
12634            .field("priv_", &self.priv_)
12635            .finish()
12636    }
12637}
12638
12639#[repr(C)]
12640#[derive(Copy, Clone)]
12641pub struct GtkImageCellAccessible {
12642    pub parent: GtkRendererCellAccessible,
12643    pub priv_: *mut GtkImageCellAccessiblePrivate,
12644}
12645
12646impl ::std::fmt::Debug for GtkImageCellAccessible {
12647    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12648        f.debug_struct(&format!("GtkImageCellAccessible @ {:?}", self as *const _))
12649            .field("parent", &self.parent)
12650            .field("priv_", &self.priv_)
12651            .finish()
12652    }
12653}
12654
12655#[repr(C)]
12656#[derive(Copy, Clone)]
12657pub struct GtkImageMenuItem {
12658    pub menu_item: GtkMenuItem,
12659    pub priv_: *mut GtkImageMenuItemPrivate,
12660}
12661
12662impl ::std::fmt::Debug for GtkImageMenuItem {
12663    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12664        f.debug_struct(&format!("GtkImageMenuItem @ {:?}", self as *const _))
12665            .field("menu_item", &self.menu_item)
12666            .finish()
12667    }
12668}
12669
12670#[repr(C)]
12671#[derive(Copy, Clone)]
12672pub struct GtkInfoBar {
12673    pub parent: GtkBox,
12674    pub priv_: *mut GtkInfoBarPrivate,
12675}
12676
12677impl ::std::fmt::Debug for GtkInfoBar {
12678    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12679        f.debug_struct(&format!("GtkInfoBar @ {:?}", self as *const _))
12680            .field("parent", &self.parent)
12681            .finish()
12682    }
12683}
12684
12685#[repr(C)]
12686#[derive(Copy, Clone)]
12687pub struct GtkInvisible {
12688    pub widget: GtkWidget,
12689    pub priv_: *mut GtkInvisiblePrivate,
12690}
12691
12692impl ::std::fmt::Debug for GtkInvisible {
12693    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12694        f.debug_struct(&format!("GtkInvisible @ {:?}", self as *const _))
12695            .field("widget", &self.widget)
12696            .finish()
12697    }
12698}
12699
12700#[repr(C)]
12701#[derive(Copy, Clone)]
12702pub struct GtkLabel {
12703    pub misc: GtkMisc,
12704    pub priv_: *mut GtkLabelPrivate,
12705}
12706
12707impl ::std::fmt::Debug for GtkLabel {
12708    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12709        f.debug_struct(&format!("GtkLabel @ {:?}", self as *const _))
12710            .field("misc", &self.misc)
12711            .finish()
12712    }
12713}
12714
12715#[repr(C)]
12716#[derive(Copy, Clone)]
12717pub struct GtkLabelAccessible {
12718    pub parent: GtkWidgetAccessible,
12719    pub priv_: *mut GtkLabelAccessiblePrivate,
12720}
12721
12722impl ::std::fmt::Debug for GtkLabelAccessible {
12723    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12724        f.debug_struct(&format!("GtkLabelAccessible @ {:?}", self as *const _))
12725            .field("parent", &self.parent)
12726            .field("priv_", &self.priv_)
12727            .finish()
12728    }
12729}
12730
12731#[repr(C)]
12732#[derive(Copy, Clone)]
12733pub struct GtkLayout {
12734    pub container: GtkContainer,
12735    pub priv_: *mut GtkLayoutPrivate,
12736}
12737
12738impl ::std::fmt::Debug for GtkLayout {
12739    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12740        f.debug_struct(&format!("GtkLayout @ {:?}", self as *const _))
12741            .field("container", &self.container)
12742            .finish()
12743    }
12744}
12745
12746#[repr(C)]
12747#[derive(Copy, Clone)]
12748pub struct GtkLevelBar {
12749    pub parent: GtkWidget,
12750    pub priv_: *mut GtkLevelBarPrivate,
12751}
12752
12753impl ::std::fmt::Debug for GtkLevelBar {
12754    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12755        f.debug_struct(&format!("GtkLevelBar @ {:?}", self as *const _))
12756            .finish()
12757    }
12758}
12759
12760#[repr(C)]
12761#[derive(Copy, Clone)]
12762pub struct GtkLevelBarAccessible {
12763    pub parent: GtkWidgetAccessible,
12764    pub priv_: *mut GtkLevelBarAccessiblePrivate,
12765}
12766
12767impl ::std::fmt::Debug for GtkLevelBarAccessible {
12768    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12769        f.debug_struct(&format!("GtkLevelBarAccessible @ {:?}", self as *const _))
12770            .field("parent", &self.parent)
12771            .field("priv_", &self.priv_)
12772            .finish()
12773    }
12774}
12775
12776#[repr(C)]
12777#[derive(Copy, Clone)]
12778pub struct GtkLinkButton {
12779    pub parent_instance: GtkButton,
12780    pub priv_: *mut GtkLinkButtonPrivate,
12781}
12782
12783impl ::std::fmt::Debug for GtkLinkButton {
12784    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12785        f.debug_struct(&format!("GtkLinkButton @ {:?}", self as *const _))
12786            .finish()
12787    }
12788}
12789
12790#[repr(C)]
12791#[derive(Copy, Clone)]
12792pub struct GtkLinkButtonAccessible {
12793    pub parent: GtkButtonAccessible,
12794    pub priv_: *mut GtkLinkButtonAccessiblePrivate,
12795}
12796
12797impl ::std::fmt::Debug for GtkLinkButtonAccessible {
12798    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12799        f.debug_struct(&format!("GtkLinkButtonAccessible @ {:?}", self as *const _))
12800            .field("parent", &self.parent)
12801            .field("priv_", &self.priv_)
12802            .finish()
12803    }
12804}
12805
12806#[repr(C)]
12807#[derive(Copy, Clone)]
12808pub struct GtkListBox {
12809    pub parent_instance: GtkContainer,
12810}
12811
12812impl ::std::fmt::Debug for GtkListBox {
12813    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12814        f.debug_struct(&format!("GtkListBox @ {:?}", self as *const _))
12815            .field("parent_instance", &self.parent_instance)
12816            .finish()
12817    }
12818}
12819
12820#[repr(C)]
12821#[derive(Copy, Clone)]
12822pub struct GtkListBoxAccessible {
12823    pub parent: GtkContainerAccessible,
12824    pub priv_: *mut GtkListBoxAccessiblePrivate,
12825}
12826
12827impl ::std::fmt::Debug for GtkListBoxAccessible {
12828    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12829        f.debug_struct(&format!("GtkListBoxAccessible @ {:?}", self as *const _))
12830            .field("parent", &self.parent)
12831            .field("priv_", &self.priv_)
12832            .finish()
12833    }
12834}
12835
12836#[repr(C)]
12837#[derive(Copy, Clone)]
12838pub struct GtkListBoxRow {
12839    pub parent_instance: GtkBin,
12840}
12841
12842impl ::std::fmt::Debug for GtkListBoxRow {
12843    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12844        f.debug_struct(&format!("GtkListBoxRow @ {:?}", self as *const _))
12845            .field("parent_instance", &self.parent_instance)
12846            .finish()
12847    }
12848}
12849
12850#[repr(C)]
12851#[derive(Copy, Clone)]
12852pub struct GtkListBoxRowAccessible {
12853    pub parent: GtkContainerAccessible,
12854}
12855
12856impl ::std::fmt::Debug for GtkListBoxRowAccessible {
12857    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12858        f.debug_struct(&format!("GtkListBoxRowAccessible @ {:?}", self as *const _))
12859            .field("parent", &self.parent)
12860            .finish()
12861    }
12862}
12863
12864#[repr(C)]
12865#[derive(Copy, Clone)]
12866pub struct GtkListStore {
12867    pub parent: gobject::GObject,
12868    pub priv_: *mut GtkListStorePrivate,
12869}
12870
12871impl ::std::fmt::Debug for GtkListStore {
12872    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12873        f.debug_struct(&format!("GtkListStore @ {:?}", self as *const _))
12874            .field("parent", &self.parent)
12875            .finish()
12876    }
12877}
12878
12879#[repr(C)]
12880#[derive(Copy, Clone)]
12881pub struct GtkLockButton {
12882    pub parent: GtkButton,
12883    pub priv_: *mut GtkLockButtonPrivate,
12884}
12885
12886impl ::std::fmt::Debug for GtkLockButton {
12887    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12888        f.debug_struct(&format!("GtkLockButton @ {:?}", self as *const _))
12889            .field("parent", &self.parent)
12890            .field("priv_", &self.priv_)
12891            .finish()
12892    }
12893}
12894
12895#[repr(C)]
12896#[derive(Copy, Clone)]
12897pub struct GtkLockButtonAccessible {
12898    pub parent: GtkButtonAccessible,
12899    pub priv_: *mut GtkLockButtonAccessiblePrivate,
12900}
12901
12902impl ::std::fmt::Debug for GtkLockButtonAccessible {
12903    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12904        f.debug_struct(&format!("GtkLockButtonAccessible @ {:?}", self as *const _))
12905            .field("parent", &self.parent)
12906            .field("priv_", &self.priv_)
12907            .finish()
12908    }
12909}
12910
12911#[repr(C)]
12912#[derive(Copy, Clone)]
12913pub struct GtkMenu {
12914    pub menu_shell: GtkMenuShell,
12915    pub priv_: *mut GtkMenuPrivate,
12916}
12917
12918impl ::std::fmt::Debug for GtkMenu {
12919    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12920        f.debug_struct(&format!("GtkMenu @ {:?}", self as *const _))
12921            .field("menu_shell", &self.menu_shell)
12922            .finish()
12923    }
12924}
12925
12926#[repr(C)]
12927#[derive(Copy, Clone)]
12928pub struct GtkMenuAccessible {
12929    pub parent: GtkMenuShellAccessible,
12930    pub priv_: *mut GtkMenuAccessiblePrivate,
12931}
12932
12933impl ::std::fmt::Debug for GtkMenuAccessible {
12934    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12935        f.debug_struct(&format!("GtkMenuAccessible @ {:?}", self as *const _))
12936            .field("parent", &self.parent)
12937            .field("priv_", &self.priv_)
12938            .finish()
12939    }
12940}
12941
12942#[repr(C)]
12943#[derive(Copy, Clone)]
12944pub struct GtkMenuBar {
12945    pub menu_shell: GtkMenuShell,
12946    pub priv_: *mut GtkMenuBarPrivate,
12947}
12948
12949impl ::std::fmt::Debug for GtkMenuBar {
12950    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12951        f.debug_struct(&format!("GtkMenuBar @ {:?}", self as *const _))
12952            .field("menu_shell", &self.menu_shell)
12953            .finish()
12954    }
12955}
12956
12957#[repr(C)]
12958#[derive(Copy, Clone)]
12959pub struct GtkMenuButton {
12960    pub parent: GtkToggleButton,
12961    pub priv_: *mut GtkMenuButtonPrivate,
12962}
12963
12964impl ::std::fmt::Debug for GtkMenuButton {
12965    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12966        f.debug_struct(&format!("GtkMenuButton @ {:?}", self as *const _))
12967            .field("parent", &self.parent)
12968            .finish()
12969    }
12970}
12971
12972#[repr(C)]
12973#[derive(Copy, Clone)]
12974pub struct GtkMenuButtonAccessible {
12975    pub parent: GtkToggleButtonAccessible,
12976    pub priv_: *mut GtkMenuButtonAccessiblePrivate,
12977}
12978
12979impl ::std::fmt::Debug for GtkMenuButtonAccessible {
12980    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12981        f.debug_struct(&format!("GtkMenuButtonAccessible @ {:?}", self as *const _))
12982            .field("parent", &self.parent)
12983            .field("priv_", &self.priv_)
12984            .finish()
12985    }
12986}
12987
12988#[repr(C)]
12989#[derive(Copy, Clone)]
12990pub struct GtkMenuItem {
12991    pub bin: GtkBin,
12992    pub priv_: *mut GtkMenuItemPrivate,
12993}
12994
12995impl ::std::fmt::Debug for GtkMenuItem {
12996    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
12997        f.debug_struct(&format!("GtkMenuItem @ {:?}", self as *const _))
12998            .field("bin", &self.bin)
12999            .finish()
13000    }
13001}
13002
13003#[repr(C)]
13004#[derive(Copy, Clone)]
13005pub struct GtkMenuItemAccessible {
13006    pub parent: GtkContainerAccessible,
13007    pub priv_: *mut GtkMenuItemAccessiblePrivate,
13008}
13009
13010impl ::std::fmt::Debug for GtkMenuItemAccessible {
13011    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13012        f.debug_struct(&format!("GtkMenuItemAccessible @ {:?}", self as *const _))
13013            .field("parent", &self.parent)
13014            .field("priv_", &self.priv_)
13015            .finish()
13016    }
13017}
13018
13019#[repr(C)]
13020#[derive(Copy, Clone)]
13021pub struct GtkMenuShell {
13022    pub container: GtkContainer,
13023    pub priv_: *mut GtkMenuShellPrivate,
13024}
13025
13026impl ::std::fmt::Debug for GtkMenuShell {
13027    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13028        f.debug_struct(&format!("GtkMenuShell @ {:?}", self as *const _))
13029            .field("container", &self.container)
13030            .finish()
13031    }
13032}
13033
13034#[repr(C)]
13035#[derive(Copy, Clone)]
13036pub struct GtkMenuShellAccessible {
13037    pub parent: GtkContainerAccessible,
13038    pub priv_: *mut GtkMenuShellAccessiblePrivate,
13039}
13040
13041impl ::std::fmt::Debug for GtkMenuShellAccessible {
13042    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13043        f.debug_struct(&format!("GtkMenuShellAccessible @ {:?}", self as *const _))
13044            .field("parent", &self.parent)
13045            .field("priv_", &self.priv_)
13046            .finish()
13047    }
13048}
13049
13050#[repr(C)]
13051#[derive(Copy, Clone)]
13052pub struct GtkMenuToolButton {
13053    pub parent: GtkToolButton,
13054    pub priv_: *mut GtkMenuToolButtonPrivate,
13055}
13056
13057impl ::std::fmt::Debug for GtkMenuToolButton {
13058    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13059        f.debug_struct(&format!("GtkMenuToolButton @ {:?}", self as *const _))
13060            .field("parent", &self.parent)
13061            .finish()
13062    }
13063}
13064
13065#[repr(C)]
13066#[derive(Copy, Clone)]
13067pub struct GtkMessageDialog {
13068    pub parent_instance: GtkDialog,
13069    pub priv_: *mut GtkMessageDialogPrivate,
13070}
13071
13072impl ::std::fmt::Debug for GtkMessageDialog {
13073    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13074        f.debug_struct(&format!("GtkMessageDialog @ {:?}", self as *const _))
13075            .field("parent_instance", &self.parent_instance)
13076            .finish()
13077    }
13078}
13079
13080#[repr(C)]
13081#[derive(Copy, Clone)]
13082pub struct GtkMisc {
13083    pub widget: GtkWidget,
13084    pub priv_: *mut GtkMiscPrivate,
13085}
13086
13087impl ::std::fmt::Debug for GtkMisc {
13088    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13089        f.debug_struct(&format!("GtkMisc @ {:?}", self as *const _))
13090            .field("widget", &self.widget)
13091            .finish()
13092    }
13093}
13094
13095#[repr(C)]
13096pub struct GtkModelButton(c_void);
13097
13098impl ::std::fmt::Debug for GtkModelButton {
13099    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13100        f.debug_struct(&format!("GtkModelButton @ {:?}", self as *const _))
13101            .finish()
13102    }
13103}
13104
13105#[repr(C)]
13106#[derive(Copy, Clone)]
13107pub struct GtkMountOperation {
13108    pub parent_instance: gio::GMountOperation,
13109    pub priv_: *mut GtkMountOperationPrivate,
13110}
13111
13112impl ::std::fmt::Debug for GtkMountOperation {
13113    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13114        f.debug_struct(&format!("GtkMountOperation @ {:?}", self as *const _))
13115            .field("parent_instance", &self.parent_instance)
13116            .field("priv_", &self.priv_)
13117            .finish()
13118    }
13119}
13120
13121#[repr(C)]
13122#[derive(Copy, Clone)]
13123pub struct GtkNativeDialog {
13124    pub parent_instance: gobject::GObject,
13125}
13126
13127impl ::std::fmt::Debug for GtkNativeDialog {
13128    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13129        f.debug_struct(&format!("GtkNativeDialog @ {:?}", self as *const _))
13130            .field("parent_instance", &self.parent_instance)
13131            .finish()
13132    }
13133}
13134
13135#[repr(C)]
13136#[derive(Copy, Clone)]
13137pub struct GtkNotebook {
13138    pub container: GtkContainer,
13139    pub priv_: *mut GtkNotebookPrivate,
13140}
13141
13142impl ::std::fmt::Debug for GtkNotebook {
13143    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13144        f.debug_struct(&format!("GtkNotebook @ {:?}", self as *const _))
13145            .finish()
13146    }
13147}
13148
13149#[repr(C)]
13150#[derive(Copy, Clone)]
13151pub struct GtkNotebookAccessible {
13152    pub parent: GtkContainerAccessible,
13153    pub priv_: *mut GtkNotebookAccessiblePrivate,
13154}
13155
13156impl ::std::fmt::Debug for GtkNotebookAccessible {
13157    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13158        f.debug_struct(&format!("GtkNotebookAccessible @ {:?}", self as *const _))
13159            .field("parent", &self.parent)
13160            .field("priv_", &self.priv_)
13161            .finish()
13162    }
13163}
13164
13165#[repr(C)]
13166#[derive(Copy, Clone)]
13167pub struct GtkNotebookPageAccessible {
13168    pub parent: atk::AtkObject,
13169    pub priv_: *mut GtkNotebookPageAccessiblePrivate,
13170}
13171
13172impl ::std::fmt::Debug for GtkNotebookPageAccessible {
13173    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13174        f.debug_struct(&format!(
13175            "GtkNotebookPageAccessible @ {:?}",
13176            self as *const _
13177        ))
13178        .field("parent", &self.parent)
13179        .field("priv_", &self.priv_)
13180        .finish()
13181    }
13182}
13183
13184#[repr(C)]
13185#[derive(Copy, Clone)]
13186pub struct GtkNumerableIcon {
13187    pub parent: gio::GEmblemedIcon,
13188    pub priv_: *mut GtkNumerableIconPrivate,
13189}
13190
13191impl ::std::fmt::Debug for GtkNumerableIcon {
13192    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13193        f.debug_struct(&format!("GtkNumerableIcon @ {:?}", self as *const _))
13194            .field("parent", &self.parent)
13195            .finish()
13196    }
13197}
13198
13199#[repr(C)]
13200#[derive(Copy, Clone)]
13201pub struct GtkOffscreenWindow {
13202    pub parent_object: GtkWindow,
13203}
13204
13205impl ::std::fmt::Debug for GtkOffscreenWindow {
13206    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13207        f.debug_struct(&format!("GtkOffscreenWindow @ {:?}", self as *const _))
13208            .field("parent_object", &self.parent_object)
13209            .finish()
13210    }
13211}
13212
13213#[repr(C)]
13214#[derive(Copy, Clone)]
13215pub struct GtkOverlay {
13216    pub parent: GtkBin,
13217    pub priv_: *mut GtkOverlayPrivate,
13218}
13219
13220impl ::std::fmt::Debug for GtkOverlay {
13221    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13222        f.debug_struct(&format!("GtkOverlay @ {:?}", self as *const _))
13223            .field("parent", &self.parent)
13224            .field("priv_", &self.priv_)
13225            .finish()
13226    }
13227}
13228
13229#[repr(C)]
13230pub struct GtkPadController(c_void);
13231
13232impl ::std::fmt::Debug for GtkPadController {
13233    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13234        f.debug_struct(&format!("GtkPadController @ {:?}", self as *const _))
13235            .finish()
13236    }
13237}
13238
13239#[repr(C)]
13240pub struct GtkPageSetup(c_void);
13241
13242impl ::std::fmt::Debug for GtkPageSetup {
13243    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13244        f.debug_struct(&format!("GtkPageSetup @ {:?}", self as *const _))
13245            .finish()
13246    }
13247}
13248
13249#[repr(C)]
13250#[derive(Copy, Clone)]
13251pub struct GtkPaned {
13252    pub container: GtkContainer,
13253    pub priv_: *mut GtkPanedPrivate,
13254}
13255
13256impl ::std::fmt::Debug for GtkPaned {
13257    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13258        f.debug_struct(&format!("GtkPaned @ {:?}", self as *const _))
13259            .field("container", &self.container)
13260            .finish()
13261    }
13262}
13263
13264#[repr(C)]
13265#[derive(Copy, Clone)]
13266pub struct GtkPanedAccessible {
13267    pub parent: GtkContainerAccessible,
13268    pub priv_: *mut GtkPanedAccessiblePrivate,
13269}
13270
13271impl ::std::fmt::Debug for GtkPanedAccessible {
13272    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13273        f.debug_struct(&format!("GtkPanedAccessible @ {:?}", self as *const _))
13274            .field("parent", &self.parent)
13275            .field("priv_", &self.priv_)
13276            .finish()
13277    }
13278}
13279
13280#[repr(C)]
13281pub struct GtkPlacesSidebar(c_void);
13282
13283impl ::std::fmt::Debug for GtkPlacesSidebar {
13284    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13285        f.debug_struct(&format!("GtkPlacesSidebar @ {:?}", self as *const _))
13286            .finish()
13287    }
13288}
13289
13290#[repr(C)]
13291#[derive(Copy, Clone)]
13292pub struct GtkPlug {
13293    pub window: GtkWindow,
13294    pub priv_: *mut GtkPlugPrivate,
13295}
13296
13297impl ::std::fmt::Debug for GtkPlug {
13298    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13299        f.debug_struct(&format!("GtkPlug @ {:?}", self as *const _))
13300            .field("window", &self.window)
13301            .field("priv_", &self.priv_)
13302            .finish()
13303    }
13304}
13305
13306#[repr(C)]
13307#[derive(Copy, Clone)]
13308pub struct GtkPopover {
13309    pub parent_instance: GtkBin,
13310    pub priv_: *mut GtkPopoverPrivate,
13311}
13312
13313impl ::std::fmt::Debug for GtkPopover {
13314    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13315        f.debug_struct(&format!("GtkPopover @ {:?}", self as *const _))
13316            .field("parent_instance", &self.parent_instance)
13317            .finish()
13318    }
13319}
13320
13321#[repr(C)]
13322#[derive(Copy, Clone)]
13323pub struct GtkPopoverAccessible {
13324    pub parent: GtkContainerAccessible,
13325}
13326
13327impl ::std::fmt::Debug for GtkPopoverAccessible {
13328    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13329        f.debug_struct(&format!("GtkPopoverAccessible @ {:?}", self as *const _))
13330            .field("parent", &self.parent)
13331            .finish()
13332    }
13333}
13334
13335#[repr(C)]
13336pub struct GtkPopoverMenu(c_void);
13337
13338impl ::std::fmt::Debug for GtkPopoverMenu {
13339    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13340        f.debug_struct(&format!("GtkPopoverMenu @ {:?}", self as *const _))
13341            .finish()
13342    }
13343}
13344
13345#[repr(C)]
13346pub struct GtkPrintContext(c_void);
13347
13348impl ::std::fmt::Debug for GtkPrintContext {
13349    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13350        f.debug_struct(&format!("GtkPrintContext @ {:?}", self as *const _))
13351            .finish()
13352    }
13353}
13354
13355#[repr(C)]
13356#[derive(Copy, Clone)]
13357pub struct GtkPrintOperation {
13358    pub parent_instance: gobject::GObject,
13359    pub priv_: *mut GtkPrintOperationPrivate,
13360}
13361
13362impl ::std::fmt::Debug for GtkPrintOperation {
13363    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13364        f.debug_struct(&format!("GtkPrintOperation @ {:?}", self as *const _))
13365            .field("parent_instance", &self.parent_instance)
13366            .finish()
13367    }
13368}
13369
13370#[repr(C)]
13371pub struct GtkPrintSettings(c_void);
13372
13373impl ::std::fmt::Debug for GtkPrintSettings {
13374    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13375        f.debug_struct(&format!("GtkPrintSettings @ {:?}", self as *const _))
13376            .finish()
13377    }
13378}
13379
13380#[repr(C)]
13381#[derive(Copy, Clone)]
13382pub struct GtkProgressBar {
13383    pub parent: GtkWidget,
13384    pub priv_: *mut GtkProgressBarPrivate,
13385}
13386
13387impl ::std::fmt::Debug for GtkProgressBar {
13388    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13389        f.debug_struct(&format!("GtkProgressBar @ {:?}", self as *const _))
13390            .field("parent", &self.parent)
13391            .finish()
13392    }
13393}
13394
13395#[repr(C)]
13396#[derive(Copy, Clone)]
13397pub struct GtkProgressBarAccessible {
13398    pub parent: GtkWidgetAccessible,
13399    pub priv_: *mut GtkProgressBarAccessiblePrivate,
13400}
13401
13402impl ::std::fmt::Debug for GtkProgressBarAccessible {
13403    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13404        f.debug_struct(&format!(
13405            "GtkProgressBarAccessible @ {:?}",
13406            self as *const _
13407        ))
13408        .field("parent", &self.parent)
13409        .field("priv_", &self.priv_)
13410        .finish()
13411    }
13412}
13413
13414#[repr(C)]
13415#[derive(Copy, Clone)]
13416pub struct GtkRadioAction {
13417    pub parent: GtkToggleAction,
13418    pub private_data: *mut GtkRadioActionPrivate,
13419}
13420
13421impl ::std::fmt::Debug for GtkRadioAction {
13422    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13423        f.debug_struct(&format!("GtkRadioAction @ {:?}", self as *const _))
13424            .field("parent", &self.parent)
13425            .finish()
13426    }
13427}
13428
13429#[repr(C)]
13430#[derive(Copy, Clone)]
13431pub struct GtkRadioButton {
13432    pub check_button: GtkCheckButton,
13433    pub priv_: *mut GtkRadioButtonPrivate,
13434}
13435
13436impl ::std::fmt::Debug for GtkRadioButton {
13437    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13438        f.debug_struct(&format!("GtkRadioButton @ {:?}", self as *const _))
13439            .field("check_button", &self.check_button)
13440            .finish()
13441    }
13442}
13443
13444#[repr(C)]
13445#[derive(Copy, Clone)]
13446pub struct GtkRadioButtonAccessible {
13447    pub parent: GtkToggleButtonAccessible,
13448    pub priv_: *mut GtkRadioButtonAccessiblePrivate,
13449}
13450
13451impl ::std::fmt::Debug for GtkRadioButtonAccessible {
13452    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13453        f.debug_struct(&format!(
13454            "GtkRadioButtonAccessible @ {:?}",
13455            self as *const _
13456        ))
13457        .field("parent", &self.parent)
13458        .field("priv_", &self.priv_)
13459        .finish()
13460    }
13461}
13462
13463#[repr(C)]
13464#[derive(Copy, Clone)]
13465pub struct GtkRadioMenuItem {
13466    pub check_menu_item: GtkCheckMenuItem,
13467    pub priv_: *mut GtkRadioMenuItemPrivate,
13468}
13469
13470impl ::std::fmt::Debug for GtkRadioMenuItem {
13471    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13472        f.debug_struct(&format!("GtkRadioMenuItem @ {:?}", self as *const _))
13473            .field("check_menu_item", &self.check_menu_item)
13474            .finish()
13475    }
13476}
13477
13478#[repr(C)]
13479#[derive(Copy, Clone)]
13480pub struct GtkRadioMenuItemAccessible {
13481    pub parent: GtkCheckMenuItemAccessible,
13482    pub priv_: *mut GtkRadioMenuItemAccessiblePrivate,
13483}
13484
13485impl ::std::fmt::Debug for GtkRadioMenuItemAccessible {
13486    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13487        f.debug_struct(&format!(
13488            "GtkRadioMenuItemAccessible @ {:?}",
13489            self as *const _
13490        ))
13491        .field("parent", &self.parent)
13492        .field("priv_", &self.priv_)
13493        .finish()
13494    }
13495}
13496
13497#[repr(C)]
13498#[derive(Copy, Clone)]
13499pub struct GtkRadioToolButton {
13500    pub parent: GtkToggleToolButton,
13501}
13502
13503impl ::std::fmt::Debug for GtkRadioToolButton {
13504    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13505        f.debug_struct(&format!("GtkRadioToolButton @ {:?}", self as *const _))
13506            .field("parent", &self.parent)
13507            .finish()
13508    }
13509}
13510
13511#[repr(C)]
13512#[derive(Copy, Clone)]
13513pub struct GtkRange {
13514    pub widget: GtkWidget,
13515    pub priv_: *mut GtkRangePrivate,
13516}
13517
13518impl ::std::fmt::Debug for GtkRange {
13519    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13520        f.debug_struct(&format!("GtkRange @ {:?}", self as *const _))
13521            .field("widget", &self.widget)
13522            .field("priv_", &self.priv_)
13523            .finish()
13524    }
13525}
13526
13527#[repr(C)]
13528#[derive(Copy, Clone)]
13529pub struct GtkRangeAccessible {
13530    pub parent: GtkWidgetAccessible,
13531    pub priv_: *mut GtkRangeAccessiblePrivate,
13532}
13533
13534impl ::std::fmt::Debug for GtkRangeAccessible {
13535    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13536        f.debug_struct(&format!("GtkRangeAccessible @ {:?}", self as *const _))
13537            .field("parent", &self.parent)
13538            .field("priv_", &self.priv_)
13539            .finish()
13540    }
13541}
13542
13543#[repr(C)]
13544#[derive(Copy, Clone)]
13545pub struct GtkRcStyle {
13546    pub parent_instance: gobject::GObject,
13547    pub name: *mut c_char,
13548    pub bg_pixmap_name: [*mut c_char; 5],
13549    pub font_desc: *mut pango::PangoFontDescription,
13550    pub color_flags: [GtkRcFlags; 5],
13551    pub fg: [gdk::GdkColor; 5],
13552    pub bg: [gdk::GdkColor; 5],
13553    pub text: [gdk::GdkColor; 5],
13554    pub base: [gdk::GdkColor; 5],
13555    pub xthickness: c_int,
13556    pub ythickness: c_int,
13557    pub rc_properties: *mut glib::GArray,
13558    pub rc_style_lists: *mut glib::GSList,
13559    pub icon_factories: *mut glib::GSList,
13560    pub engine_specified: c_uint,
13561}
13562
13563impl ::std::fmt::Debug for GtkRcStyle {
13564    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13565        f.debug_struct(&format!("GtkRcStyle @ {:?}", self as *const _))
13566            .field("parent_instance", &self.parent_instance)
13567            .field("name", &self.name)
13568            .field("bg_pixmap_name", &self.bg_pixmap_name)
13569            .field("font_desc", &self.font_desc)
13570            .field("color_flags", &self.color_flags)
13571            .field("fg", &self.fg)
13572            .field("bg", &self.bg)
13573            .field("text", &self.text)
13574            .field("base", &self.base)
13575            .field("xthickness", &self.xthickness)
13576            .field("ythickness", &self.ythickness)
13577            .finish()
13578    }
13579}
13580
13581#[repr(C)]
13582#[derive(Copy, Clone)]
13583pub struct GtkRecentAction {
13584    pub parent_instance: GtkAction,
13585    pub priv_: *mut GtkRecentActionPrivate,
13586}
13587
13588impl ::std::fmt::Debug for GtkRecentAction {
13589    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13590        f.debug_struct(&format!("GtkRecentAction @ {:?}", self as *const _))
13591            .field("parent_instance", &self.parent_instance)
13592            .finish()
13593    }
13594}
13595
13596#[repr(C)]
13597#[derive(Copy, Clone)]
13598pub struct GtkRecentChooserDialog {
13599    pub parent_instance: GtkDialog,
13600    pub priv_: *mut GtkRecentChooserDialogPrivate,
13601}
13602
13603impl ::std::fmt::Debug for GtkRecentChooserDialog {
13604    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13605        f.debug_struct(&format!("GtkRecentChooserDialog @ {:?}", self as *const _))
13606            .field("parent_instance", &self.parent_instance)
13607            .finish()
13608    }
13609}
13610
13611#[repr(C)]
13612#[derive(Copy, Clone)]
13613pub struct GtkRecentChooserMenu {
13614    pub parent_instance: GtkMenu,
13615    pub priv_: *mut GtkRecentChooserMenuPrivate,
13616}
13617
13618impl ::std::fmt::Debug for GtkRecentChooserMenu {
13619    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13620        f.debug_struct(&format!("GtkRecentChooserMenu @ {:?}", self as *const _))
13621            .field("parent_instance", &self.parent_instance)
13622            .finish()
13623    }
13624}
13625
13626#[repr(C)]
13627#[derive(Copy, Clone)]
13628pub struct GtkRecentChooserWidget {
13629    pub parent_instance: GtkBox,
13630    pub priv_: *mut GtkRecentChooserWidgetPrivate,
13631}
13632
13633impl ::std::fmt::Debug for GtkRecentChooserWidget {
13634    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13635        f.debug_struct(&format!("GtkRecentChooserWidget @ {:?}", self as *const _))
13636            .field("parent_instance", &self.parent_instance)
13637            .finish()
13638    }
13639}
13640
13641#[repr(C)]
13642pub struct GtkRecentFilter(c_void);
13643
13644impl ::std::fmt::Debug for GtkRecentFilter {
13645    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13646        f.debug_struct(&format!("GtkRecentFilter @ {:?}", self as *const _))
13647            .finish()
13648    }
13649}
13650
13651#[repr(C)]
13652#[derive(Copy, Clone)]
13653pub struct GtkRecentManager {
13654    pub parent_instance: gobject::GObject,
13655    pub priv_: *mut GtkRecentManagerPrivate,
13656}
13657
13658impl ::std::fmt::Debug for GtkRecentManager {
13659    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13660        f.debug_struct(&format!("GtkRecentManager @ {:?}", self as *const _))
13661            .finish()
13662    }
13663}
13664
13665#[repr(C)]
13666#[derive(Copy, Clone)]
13667pub struct GtkRendererCellAccessible {
13668    pub parent: GtkCellAccessible,
13669    pub priv_: *mut GtkRendererCellAccessiblePrivate,
13670}
13671
13672impl ::std::fmt::Debug for GtkRendererCellAccessible {
13673    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13674        f.debug_struct(&format!(
13675            "GtkRendererCellAccessible @ {:?}",
13676            self as *const _
13677        ))
13678        .field("parent", &self.parent)
13679        .field("priv_", &self.priv_)
13680        .finish()
13681    }
13682}
13683
13684#[repr(C)]
13685#[derive(Copy, Clone)]
13686pub struct GtkRevealer {
13687    pub parent_instance: GtkBin,
13688}
13689
13690impl ::std::fmt::Debug for GtkRevealer {
13691    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13692        f.debug_struct(&format!("GtkRevealer @ {:?}", self as *const _))
13693            .field("parent_instance", &self.parent_instance)
13694            .finish()
13695    }
13696}
13697
13698#[repr(C)]
13699#[derive(Copy, Clone)]
13700pub struct GtkScale {
13701    pub range: GtkRange,
13702    pub priv_: *mut GtkScalePrivate,
13703}
13704
13705impl ::std::fmt::Debug for GtkScale {
13706    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13707        f.debug_struct(&format!("GtkScale @ {:?}", self as *const _))
13708            .field("range", &self.range)
13709            .finish()
13710    }
13711}
13712
13713#[repr(C)]
13714#[derive(Copy, Clone)]
13715pub struct GtkScaleAccessible {
13716    pub parent: GtkRangeAccessible,
13717    pub priv_: *mut GtkScaleAccessiblePrivate,
13718}
13719
13720impl ::std::fmt::Debug for GtkScaleAccessible {
13721    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13722        f.debug_struct(&format!("GtkScaleAccessible @ {:?}", self as *const _))
13723            .field("parent", &self.parent)
13724            .field("priv_", &self.priv_)
13725            .finish()
13726    }
13727}
13728
13729#[repr(C)]
13730#[derive(Copy, Clone)]
13731pub struct GtkScaleButton {
13732    pub parent: GtkButton,
13733    pub priv_: *mut GtkScaleButtonPrivate,
13734}
13735
13736impl ::std::fmt::Debug for GtkScaleButton {
13737    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13738        f.debug_struct(&format!("GtkScaleButton @ {:?}", self as *const _))
13739            .field("parent", &self.parent)
13740            .finish()
13741    }
13742}
13743
13744#[repr(C)]
13745#[derive(Copy, Clone)]
13746pub struct GtkScaleButtonAccessible {
13747    pub parent: GtkButtonAccessible,
13748    pub priv_: *mut GtkScaleButtonAccessiblePrivate,
13749}
13750
13751impl ::std::fmt::Debug for GtkScaleButtonAccessible {
13752    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13753        f.debug_struct(&format!(
13754            "GtkScaleButtonAccessible @ {:?}",
13755            self as *const _
13756        ))
13757        .field("parent", &self.parent)
13758        .field("priv_", &self.priv_)
13759        .finish()
13760    }
13761}
13762
13763#[repr(C)]
13764#[derive(Copy, Clone)]
13765pub struct GtkScrollbar {
13766    pub range: GtkRange,
13767}
13768
13769impl ::std::fmt::Debug for GtkScrollbar {
13770    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13771        f.debug_struct(&format!("GtkScrollbar @ {:?}", self as *const _))
13772            .field("range", &self.range)
13773            .finish()
13774    }
13775}
13776
13777#[repr(C)]
13778#[derive(Copy, Clone)]
13779pub struct GtkScrolledWindow {
13780    pub container: GtkBin,
13781    pub priv_: *mut GtkScrolledWindowPrivate,
13782}
13783
13784impl ::std::fmt::Debug for GtkScrolledWindow {
13785    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13786        f.debug_struct(&format!("GtkScrolledWindow @ {:?}", self as *const _))
13787            .field("container", &self.container)
13788            .field("priv_", &self.priv_)
13789            .finish()
13790    }
13791}
13792
13793#[repr(C)]
13794#[derive(Copy, Clone)]
13795pub struct GtkScrolledWindowAccessible {
13796    pub parent: GtkContainerAccessible,
13797    pub priv_: *mut GtkScrolledWindowAccessiblePrivate,
13798}
13799
13800impl ::std::fmt::Debug for GtkScrolledWindowAccessible {
13801    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13802        f.debug_struct(&format!(
13803            "GtkScrolledWindowAccessible @ {:?}",
13804            self as *const _
13805        ))
13806        .field("parent", &self.parent)
13807        .field("priv_", &self.priv_)
13808        .finish()
13809    }
13810}
13811
13812#[repr(C)]
13813#[derive(Copy, Clone)]
13814pub struct GtkSearchBar {
13815    pub parent: GtkBin,
13816}
13817
13818impl ::std::fmt::Debug for GtkSearchBar {
13819    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13820        f.debug_struct(&format!("GtkSearchBar @ {:?}", self as *const _))
13821            .finish()
13822    }
13823}
13824
13825#[repr(C)]
13826#[derive(Copy, Clone)]
13827pub struct GtkSearchEntry {
13828    pub parent: GtkEntry,
13829}
13830
13831impl ::std::fmt::Debug for GtkSearchEntry {
13832    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13833        f.debug_struct(&format!("GtkSearchEntry @ {:?}", self as *const _))
13834            .field("parent", &self.parent)
13835            .finish()
13836    }
13837}
13838
13839#[repr(C)]
13840#[derive(Copy, Clone)]
13841pub struct GtkSeparator {
13842    pub widget: GtkWidget,
13843    pub priv_: *mut GtkSeparatorPrivate,
13844}
13845
13846impl ::std::fmt::Debug for GtkSeparator {
13847    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13848        f.debug_struct(&format!("GtkSeparator @ {:?}", self as *const _))
13849            .field("widget", &self.widget)
13850            .field("priv_", &self.priv_)
13851            .finish()
13852    }
13853}
13854
13855#[repr(C)]
13856#[derive(Copy, Clone)]
13857pub struct GtkSeparatorMenuItem {
13858    pub menu_item: GtkMenuItem,
13859}
13860
13861impl ::std::fmt::Debug for GtkSeparatorMenuItem {
13862    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13863        f.debug_struct(&format!("GtkSeparatorMenuItem @ {:?}", self as *const _))
13864            .field("menu_item", &self.menu_item)
13865            .finish()
13866    }
13867}
13868
13869#[repr(C)]
13870#[derive(Copy, Clone)]
13871pub struct GtkSeparatorToolItem {
13872    pub parent: GtkToolItem,
13873    pub priv_: *mut GtkSeparatorToolItemPrivate,
13874}
13875
13876impl ::std::fmt::Debug for GtkSeparatorToolItem {
13877    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13878        f.debug_struct(&format!("GtkSeparatorToolItem @ {:?}", self as *const _))
13879            .field("parent", &self.parent)
13880            .finish()
13881    }
13882}
13883
13884#[repr(C)]
13885#[derive(Copy, Clone)]
13886pub struct GtkSettings {
13887    pub parent_instance: gobject::GObject,
13888    pub priv_: *mut GtkSettingsPrivate,
13889}
13890
13891impl ::std::fmt::Debug for GtkSettings {
13892    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13893        f.debug_struct(&format!("GtkSettings @ {:?}", self as *const _))
13894            .field("parent_instance", &self.parent_instance)
13895            .finish()
13896    }
13897}
13898
13899#[repr(C)]
13900pub struct GtkShortcutLabel(c_void);
13901
13902impl ::std::fmt::Debug for GtkShortcutLabel {
13903    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13904        f.debug_struct(&format!("GtkShortcutLabel @ {:?}", self as *const _))
13905            .finish()
13906    }
13907}
13908
13909#[repr(C)]
13910pub struct GtkShortcutsGroup(c_void);
13911
13912impl ::std::fmt::Debug for GtkShortcutsGroup {
13913    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13914        f.debug_struct(&format!("GtkShortcutsGroup @ {:?}", self as *const _))
13915            .finish()
13916    }
13917}
13918
13919#[repr(C)]
13920pub struct GtkShortcutsSection(c_void);
13921
13922impl ::std::fmt::Debug for GtkShortcutsSection {
13923    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13924        f.debug_struct(&format!("GtkShortcutsSection @ {:?}", self as *const _))
13925            .finish()
13926    }
13927}
13928
13929#[repr(C)]
13930pub struct GtkShortcutsShortcut(c_void);
13931
13932impl ::std::fmt::Debug for GtkShortcutsShortcut {
13933    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13934        f.debug_struct(&format!("GtkShortcutsShortcut @ {:?}", self as *const _))
13935            .finish()
13936    }
13937}
13938
13939#[repr(C)]
13940#[derive(Copy, Clone)]
13941pub struct GtkShortcutsWindow {
13942    pub window: GtkWindow,
13943}
13944
13945impl ::std::fmt::Debug for GtkShortcutsWindow {
13946    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13947        f.debug_struct(&format!("GtkShortcutsWindow @ {:?}", self as *const _))
13948            .field("window", &self.window)
13949            .finish()
13950    }
13951}
13952
13953#[repr(C)]
13954#[derive(Copy, Clone)]
13955pub struct GtkSizeGroup {
13956    pub parent_instance: gobject::GObject,
13957    pub priv_: *mut GtkSizeGroupPrivate,
13958}
13959
13960impl ::std::fmt::Debug for GtkSizeGroup {
13961    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13962        f.debug_struct(&format!("GtkSizeGroup @ {:?}", self as *const _))
13963            .field("parent_instance", &self.parent_instance)
13964            .finish()
13965    }
13966}
13967
13968#[repr(C)]
13969#[derive(Copy, Clone)]
13970pub struct GtkSocket {
13971    pub container: GtkContainer,
13972    pub priv_: *mut GtkSocketPrivate,
13973}
13974
13975impl ::std::fmt::Debug for GtkSocket {
13976    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13977        f.debug_struct(&format!("GtkSocket @ {:?}", self as *const _))
13978            .field("container", &self.container)
13979            .field("priv_", &self.priv_)
13980            .finish()
13981    }
13982}
13983
13984#[repr(C)]
13985#[derive(Copy, Clone)]
13986pub struct GtkSpinButton {
13987    pub entry: GtkEntry,
13988    pub priv_: *mut GtkSpinButtonPrivate,
13989}
13990
13991impl ::std::fmt::Debug for GtkSpinButton {
13992    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
13993        f.debug_struct(&format!("GtkSpinButton @ {:?}", self as *const _))
13994            .field("entry", &self.entry)
13995            .finish()
13996    }
13997}
13998
13999#[repr(C)]
14000#[derive(Copy, Clone)]
14001pub struct GtkSpinButtonAccessible {
14002    pub parent: GtkEntryAccessible,
14003    pub priv_: *mut GtkSpinButtonAccessiblePrivate,
14004}
14005
14006impl ::std::fmt::Debug for GtkSpinButtonAccessible {
14007    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14008        f.debug_struct(&format!("GtkSpinButtonAccessible @ {:?}", self as *const _))
14009            .field("parent", &self.parent)
14010            .field("priv_", &self.priv_)
14011            .finish()
14012    }
14013}
14014
14015#[repr(C)]
14016#[derive(Copy, Clone)]
14017pub struct GtkSpinner {
14018    pub parent: GtkWidget,
14019    pub priv_: *mut GtkSpinnerPrivate,
14020}
14021
14022impl ::std::fmt::Debug for GtkSpinner {
14023    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14024        f.debug_struct(&format!("GtkSpinner @ {:?}", self as *const _))
14025            .field("parent", &self.parent)
14026            .finish()
14027    }
14028}
14029
14030#[repr(C)]
14031#[derive(Copy, Clone)]
14032pub struct GtkSpinnerAccessible {
14033    pub parent: GtkWidgetAccessible,
14034    pub priv_: *mut GtkSpinnerAccessiblePrivate,
14035}
14036
14037impl ::std::fmt::Debug for GtkSpinnerAccessible {
14038    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14039        f.debug_struct(&format!("GtkSpinnerAccessible @ {:?}", self as *const _))
14040            .field("parent", &self.parent)
14041            .field("priv_", &self.priv_)
14042            .finish()
14043    }
14044}
14045
14046#[repr(C)]
14047#[derive(Copy, Clone)]
14048pub struct GtkStack {
14049    pub parent_instance: GtkContainer,
14050}
14051
14052impl ::std::fmt::Debug for GtkStack {
14053    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14054        f.debug_struct(&format!("GtkStack @ {:?}", self as *const _))
14055            .field("parent_instance", &self.parent_instance)
14056            .finish()
14057    }
14058}
14059
14060#[repr(C)]
14061#[derive(Copy, Clone)]
14062pub struct GtkStackAccessible {
14063    pub parent: GtkContainerAccessible,
14064}
14065
14066impl ::std::fmt::Debug for GtkStackAccessible {
14067    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14068        f.debug_struct(&format!("GtkStackAccessible @ {:?}", self as *const _))
14069            .field("parent", &self.parent)
14070            .finish()
14071    }
14072}
14073
14074#[repr(C)]
14075#[derive(Copy, Clone)]
14076pub struct GtkStackSidebar {
14077    pub parent: GtkBin,
14078}
14079
14080impl ::std::fmt::Debug for GtkStackSidebar {
14081    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14082        f.debug_struct(&format!("GtkStackSidebar @ {:?}", self as *const _))
14083            .field("parent", &self.parent)
14084            .finish()
14085    }
14086}
14087
14088#[repr(C)]
14089#[derive(Copy, Clone)]
14090pub struct GtkStackSwitcher {
14091    pub widget: GtkBox,
14092}
14093
14094impl ::std::fmt::Debug for GtkStackSwitcher {
14095    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14096        f.debug_struct(&format!("GtkStackSwitcher @ {:?}", self as *const _))
14097            .field("widget", &self.widget)
14098            .finish()
14099    }
14100}
14101
14102#[repr(C)]
14103#[derive(Copy, Clone)]
14104pub struct GtkStatusIcon {
14105    pub parent_instance: gobject::GObject,
14106    pub priv_: *mut GtkStatusIconPrivate,
14107}
14108
14109impl ::std::fmt::Debug for GtkStatusIcon {
14110    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14111        f.debug_struct(&format!("GtkStatusIcon @ {:?}", self as *const _))
14112            .field("parent_instance", &self.parent_instance)
14113            .field("priv_", &self.priv_)
14114            .finish()
14115    }
14116}
14117
14118#[repr(C)]
14119#[derive(Copy, Clone)]
14120pub struct GtkStatusbar {
14121    pub parent_widget: GtkBox,
14122    pub priv_: *mut GtkStatusbarPrivate,
14123}
14124
14125impl ::std::fmt::Debug for GtkStatusbar {
14126    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14127        f.debug_struct(&format!("GtkStatusbar @ {:?}", self as *const _))
14128            .field("parent_widget", &self.parent_widget)
14129            .finish()
14130    }
14131}
14132
14133#[repr(C)]
14134#[derive(Copy, Clone)]
14135pub struct GtkStatusbarAccessible {
14136    pub parent: GtkContainerAccessible,
14137    pub priv_: *mut GtkStatusbarAccessiblePrivate,
14138}
14139
14140impl ::std::fmt::Debug for GtkStatusbarAccessible {
14141    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14142        f.debug_struct(&format!("GtkStatusbarAccessible @ {:?}", self as *const _))
14143            .field("parent", &self.parent)
14144            .field("priv_", &self.priv_)
14145            .finish()
14146    }
14147}
14148
14149#[repr(C)]
14150pub struct GtkStyle {
14151    pub parent_instance: gobject::GObject,
14152    pub fg: [gdk::GdkColor; 5],
14153    pub bg: [gdk::GdkColor; 5],
14154    pub light: [gdk::GdkColor; 5],
14155    pub dark: [gdk::GdkColor; 5],
14156    pub mid: [gdk::GdkColor; 5],
14157    pub text: [gdk::GdkColor; 5],
14158    pub base: [gdk::GdkColor; 5],
14159    pub text_aa: [gdk::GdkColor; 5],
14160    pub black: gdk::GdkColor,
14161    pub white: gdk::GdkColor,
14162    pub font_desc: *mut pango::PangoFontDescription,
14163    pub xthickness: c_int,
14164    pub ythickness: c_int,
14165    _truncated_record_marker: c_void,
14166    // /*Ignored*/field background has incomplete type
14167}
14168
14169impl ::std::fmt::Debug for GtkStyle {
14170    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14171        f.debug_struct(&format!("GtkStyle @ {:?}", self as *const _))
14172            .field("fg", &self.fg)
14173            .field("bg", &self.bg)
14174            .field("light", &self.light)
14175            .field("dark", &self.dark)
14176            .field("mid", &self.mid)
14177            .field("text", &self.text)
14178            .field("base", &self.base)
14179            .field("text_aa", &self.text_aa)
14180            .field("black", &self.black)
14181            .field("white", &self.white)
14182            .field("font_desc", &self.font_desc)
14183            .field("xthickness", &self.xthickness)
14184            .field("ythickness", &self.ythickness)
14185            .finish()
14186    }
14187}
14188
14189#[repr(C)]
14190#[derive(Copy, Clone)]
14191pub struct GtkStyleContext {
14192    pub parent_object: gobject::GObject,
14193    pub priv_: *mut GtkStyleContextPrivate,
14194}
14195
14196impl ::std::fmt::Debug for GtkStyleContext {
14197    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14198        f.debug_struct(&format!("GtkStyleContext @ {:?}", self as *const _))
14199            .field("parent_object", &self.parent_object)
14200            .field("priv_", &self.priv_)
14201            .finish()
14202    }
14203}
14204
14205#[repr(C)]
14206#[derive(Copy, Clone)]
14207pub struct GtkStyleProperties {
14208    pub parent_object: gobject::GObject,
14209    pub priv_: *mut GtkStylePropertiesPrivate,
14210}
14211
14212impl ::std::fmt::Debug for GtkStyleProperties {
14213    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14214        f.debug_struct(&format!("GtkStyleProperties @ {:?}", self as *const _))
14215            .finish()
14216    }
14217}
14218
14219#[repr(C)]
14220#[derive(Copy, Clone)]
14221pub struct GtkSwitch {
14222    pub parent_instance: GtkWidget,
14223    pub priv_: *mut GtkSwitchPrivate,
14224}
14225
14226impl ::std::fmt::Debug for GtkSwitch {
14227    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14228        f.debug_struct(&format!("GtkSwitch @ {:?}", self as *const _))
14229            .finish()
14230    }
14231}
14232
14233#[repr(C)]
14234#[derive(Copy, Clone)]
14235pub struct GtkSwitchAccessible {
14236    pub parent: GtkWidgetAccessible,
14237    pub priv_: *mut GtkSwitchAccessiblePrivate,
14238}
14239
14240impl ::std::fmt::Debug for GtkSwitchAccessible {
14241    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14242        f.debug_struct(&format!("GtkSwitchAccessible @ {:?}", self as *const _))
14243            .field("parent", &self.parent)
14244            .field("priv_", &self.priv_)
14245            .finish()
14246    }
14247}
14248
14249#[repr(C)]
14250#[derive(Copy, Clone)]
14251pub struct GtkTable {
14252    pub container: GtkContainer,
14253    pub priv_: *mut GtkTablePrivate,
14254}
14255
14256impl ::std::fmt::Debug for GtkTable {
14257    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14258        f.debug_struct(&format!("GtkTable @ {:?}", self as *const _))
14259            .field("container", &self.container)
14260            .finish()
14261    }
14262}
14263
14264#[repr(C)]
14265#[derive(Copy, Clone)]
14266pub struct GtkTearoffMenuItem {
14267    pub menu_item: GtkMenuItem,
14268    pub priv_: *mut GtkTearoffMenuItemPrivate,
14269}
14270
14271impl ::std::fmt::Debug for GtkTearoffMenuItem {
14272    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14273        f.debug_struct(&format!("GtkTearoffMenuItem @ {:?}", self as *const _))
14274            .field("menu_item", &self.menu_item)
14275            .finish()
14276    }
14277}
14278
14279#[repr(C)]
14280#[derive(Copy, Clone)]
14281pub struct GtkTextBuffer {
14282    pub parent_instance: gobject::GObject,
14283    pub priv_: *mut GtkTextBufferPrivate,
14284}
14285
14286impl ::std::fmt::Debug for GtkTextBuffer {
14287    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14288        f.debug_struct(&format!("GtkTextBuffer @ {:?}", self as *const _))
14289            .field("parent_instance", &self.parent_instance)
14290            .field("priv_", &self.priv_)
14291            .finish()
14292    }
14293}
14294
14295#[repr(C)]
14296#[derive(Copy, Clone)]
14297pub struct GtkTextCellAccessible {
14298    pub parent: GtkRendererCellAccessible,
14299    pub priv_: *mut GtkTextCellAccessiblePrivate,
14300}
14301
14302impl ::std::fmt::Debug for GtkTextCellAccessible {
14303    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14304        f.debug_struct(&format!("GtkTextCellAccessible @ {:?}", self as *const _))
14305            .field("parent", &self.parent)
14306            .field("priv_", &self.priv_)
14307            .finish()
14308    }
14309}
14310
14311#[repr(C)]
14312#[derive(Copy, Clone)]
14313pub struct GtkTextChildAnchor {
14314    pub parent_instance: gobject::GObject,
14315    pub segment: gpointer,
14316}
14317
14318impl ::std::fmt::Debug for GtkTextChildAnchor {
14319    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14320        f.debug_struct(&format!("GtkTextChildAnchor @ {:?}", self as *const _))
14321            .field("parent_instance", &self.parent_instance)
14322            .finish()
14323    }
14324}
14325
14326#[repr(C)]
14327#[derive(Copy, Clone)]
14328pub struct GtkTextMark {
14329    pub parent_instance: gobject::GObject,
14330    pub segment: gpointer,
14331}
14332
14333impl ::std::fmt::Debug for GtkTextMark {
14334    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14335        f.debug_struct(&format!("GtkTextMark @ {:?}", self as *const _))
14336            .field("parent_instance", &self.parent_instance)
14337            .finish()
14338    }
14339}
14340
14341#[repr(C)]
14342#[derive(Copy, Clone)]
14343pub struct GtkTextTag {
14344    pub parent_instance: gobject::GObject,
14345    pub priv_: *mut GtkTextTagPrivate,
14346}
14347
14348impl ::std::fmt::Debug for GtkTextTag {
14349    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14350        f.debug_struct(&format!("GtkTextTag @ {:?}", self as *const _))
14351            .field("parent_instance", &self.parent_instance)
14352            .field("priv_", &self.priv_)
14353            .finish()
14354    }
14355}
14356
14357#[repr(C)]
14358#[derive(Copy, Clone)]
14359pub struct GtkTextTagTable {
14360    pub parent_instance: gobject::GObject,
14361    pub priv_: *mut GtkTextTagTablePrivate,
14362}
14363
14364impl ::std::fmt::Debug for GtkTextTagTable {
14365    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14366        f.debug_struct(&format!("GtkTextTagTable @ {:?}", self as *const _))
14367            .field("parent_instance", &self.parent_instance)
14368            .field("priv_", &self.priv_)
14369            .finish()
14370    }
14371}
14372
14373#[repr(C)]
14374#[derive(Copy, Clone)]
14375pub struct GtkTextView {
14376    pub parent_instance: GtkContainer,
14377    pub priv_: *mut GtkTextViewPrivate,
14378}
14379
14380impl ::std::fmt::Debug for GtkTextView {
14381    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14382        f.debug_struct(&format!("GtkTextView @ {:?}", self as *const _))
14383            .field("parent_instance", &self.parent_instance)
14384            .finish()
14385    }
14386}
14387
14388#[repr(C)]
14389#[derive(Copy, Clone)]
14390pub struct GtkTextViewAccessible {
14391    pub parent: GtkContainerAccessible,
14392    pub priv_: *mut GtkTextViewAccessiblePrivate,
14393}
14394
14395impl ::std::fmt::Debug for GtkTextViewAccessible {
14396    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14397        f.debug_struct(&format!("GtkTextViewAccessible @ {:?}", self as *const _))
14398            .field("parent", &self.parent)
14399            .field("priv_", &self.priv_)
14400            .finish()
14401    }
14402}
14403
14404#[repr(C)]
14405#[derive(Copy, Clone)]
14406pub struct GtkThemingEngine {
14407    pub parent_object: gobject::GObject,
14408    pub priv_: *mut GtkThemingEnginePrivate,
14409}
14410
14411impl ::std::fmt::Debug for GtkThemingEngine {
14412    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14413        f.debug_struct(&format!("GtkThemingEngine @ {:?}", self as *const _))
14414            .field("parent_object", &self.parent_object)
14415            .field("priv_", &self.priv_)
14416            .finish()
14417    }
14418}
14419
14420#[repr(C)]
14421#[derive(Copy, Clone)]
14422pub struct GtkToggleAction {
14423    pub parent: GtkAction,
14424    pub private_data: *mut GtkToggleActionPrivate,
14425}
14426
14427impl ::std::fmt::Debug for GtkToggleAction {
14428    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14429        f.debug_struct(&format!("GtkToggleAction @ {:?}", self as *const _))
14430            .field("parent", &self.parent)
14431            .finish()
14432    }
14433}
14434
14435#[repr(C)]
14436#[derive(Copy, Clone)]
14437pub struct GtkToggleButton {
14438    pub button: GtkButton,
14439    pub priv_: *mut GtkToggleButtonPrivate,
14440}
14441
14442impl ::std::fmt::Debug for GtkToggleButton {
14443    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14444        f.debug_struct(&format!("GtkToggleButton @ {:?}", self as *const _))
14445            .finish()
14446    }
14447}
14448
14449#[repr(C)]
14450#[derive(Copy, Clone)]
14451pub struct GtkToggleButtonAccessible {
14452    pub parent: GtkButtonAccessible,
14453    pub priv_: *mut GtkToggleButtonAccessiblePrivate,
14454}
14455
14456impl ::std::fmt::Debug for GtkToggleButtonAccessible {
14457    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14458        f.debug_struct(&format!(
14459            "GtkToggleButtonAccessible @ {:?}",
14460            self as *const _
14461        ))
14462        .field("parent", &self.parent)
14463        .field("priv_", &self.priv_)
14464        .finish()
14465    }
14466}
14467
14468#[repr(C)]
14469#[derive(Copy, Clone)]
14470pub struct GtkToggleToolButton {
14471    pub parent: GtkToolButton,
14472    pub priv_: *mut GtkToggleToolButtonPrivate,
14473}
14474
14475impl ::std::fmt::Debug for GtkToggleToolButton {
14476    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14477        f.debug_struct(&format!("GtkToggleToolButton @ {:?}", self as *const _))
14478            .field("parent", &self.parent)
14479            .finish()
14480    }
14481}
14482
14483#[repr(C)]
14484#[derive(Copy, Clone)]
14485pub struct GtkToolButton {
14486    pub parent: GtkToolItem,
14487    pub priv_: *mut GtkToolButtonPrivate,
14488}
14489
14490impl ::std::fmt::Debug for GtkToolButton {
14491    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14492        f.debug_struct(&format!("GtkToolButton @ {:?}", self as *const _))
14493            .field("parent", &self.parent)
14494            .finish()
14495    }
14496}
14497
14498#[repr(C)]
14499#[derive(Copy, Clone)]
14500pub struct GtkToolItem {
14501    pub parent: GtkBin,
14502    pub priv_: *mut GtkToolItemPrivate,
14503}
14504
14505impl ::std::fmt::Debug for GtkToolItem {
14506    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14507        f.debug_struct(&format!("GtkToolItem @ {:?}", self as *const _))
14508            .field("parent", &self.parent)
14509            .finish()
14510    }
14511}
14512
14513#[repr(C)]
14514#[derive(Copy, Clone)]
14515pub struct GtkToolItemGroup {
14516    pub parent_instance: GtkContainer,
14517    pub priv_: *mut GtkToolItemGroupPrivate,
14518}
14519
14520impl ::std::fmt::Debug for GtkToolItemGroup {
14521    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14522        f.debug_struct(&format!("GtkToolItemGroup @ {:?}", self as *const _))
14523            .field("parent_instance", &self.parent_instance)
14524            .field("priv_", &self.priv_)
14525            .finish()
14526    }
14527}
14528
14529#[repr(C)]
14530#[derive(Copy, Clone)]
14531pub struct GtkToolPalette {
14532    pub parent_instance: GtkContainer,
14533    pub priv_: *mut GtkToolPalettePrivate,
14534}
14535
14536impl ::std::fmt::Debug for GtkToolPalette {
14537    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14538        f.debug_struct(&format!("GtkToolPalette @ {:?}", self as *const _))
14539            .field("parent_instance", &self.parent_instance)
14540            .field("priv_", &self.priv_)
14541            .finish()
14542    }
14543}
14544
14545#[repr(C)]
14546#[derive(Copy, Clone)]
14547pub struct GtkToolbar {
14548    pub container: GtkContainer,
14549    pub priv_: *mut GtkToolbarPrivate,
14550}
14551
14552impl ::std::fmt::Debug for GtkToolbar {
14553    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14554        f.debug_struct(&format!("GtkToolbar @ {:?}", self as *const _))
14555            .field("container", &self.container)
14556            .field("priv_", &self.priv_)
14557            .finish()
14558    }
14559}
14560
14561#[repr(C)]
14562pub struct GtkTooltip(c_void);
14563
14564impl ::std::fmt::Debug for GtkTooltip {
14565    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14566        f.debug_struct(&format!("GtkTooltip @ {:?}", self as *const _))
14567            .finish()
14568    }
14569}
14570
14571#[repr(C)]
14572#[derive(Copy, Clone)]
14573pub struct GtkToplevelAccessible {
14574    pub parent: atk::AtkObject,
14575    pub priv_: *mut GtkToplevelAccessiblePrivate,
14576}
14577
14578impl ::std::fmt::Debug for GtkToplevelAccessible {
14579    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14580        f.debug_struct(&format!("GtkToplevelAccessible @ {:?}", self as *const _))
14581            .field("parent", &self.parent)
14582            .field("priv_", &self.priv_)
14583            .finish()
14584    }
14585}
14586
14587#[repr(C)]
14588#[derive(Copy, Clone)]
14589pub struct GtkTreeModelFilter {
14590    pub parent: gobject::GObject,
14591    pub priv_: *mut GtkTreeModelFilterPrivate,
14592}
14593
14594impl ::std::fmt::Debug for GtkTreeModelFilter {
14595    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14596        f.debug_struct(&format!("GtkTreeModelFilter @ {:?}", self as *const _))
14597            .field("parent", &self.parent)
14598            .finish()
14599    }
14600}
14601
14602#[repr(C)]
14603#[derive(Copy, Clone)]
14604pub struct GtkTreeModelSort {
14605    pub parent: gobject::GObject,
14606    pub priv_: *mut GtkTreeModelSortPrivate,
14607}
14608
14609impl ::std::fmt::Debug for GtkTreeModelSort {
14610    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14611        f.debug_struct(&format!("GtkTreeModelSort @ {:?}", self as *const _))
14612            .field("parent", &self.parent)
14613            .finish()
14614    }
14615}
14616
14617#[repr(C)]
14618#[derive(Copy, Clone)]
14619pub struct GtkTreeSelection {
14620    pub parent: gobject::GObject,
14621    pub priv_: *mut GtkTreeSelectionPrivate,
14622}
14623
14624impl ::std::fmt::Debug for GtkTreeSelection {
14625    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14626        f.debug_struct(&format!("GtkTreeSelection @ {:?}", self as *const _))
14627            .finish()
14628    }
14629}
14630
14631#[repr(C)]
14632#[derive(Copy, Clone)]
14633pub struct GtkTreeStore {
14634    pub parent: gobject::GObject,
14635    pub priv_: *mut GtkTreeStorePrivate,
14636}
14637
14638impl ::std::fmt::Debug for GtkTreeStore {
14639    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14640        f.debug_struct(&format!("GtkTreeStore @ {:?}", self as *const _))
14641            .field("parent", &self.parent)
14642            .field("priv_", &self.priv_)
14643            .finish()
14644    }
14645}
14646
14647#[repr(C)]
14648#[derive(Copy, Clone)]
14649pub struct GtkTreeView {
14650    pub parent: GtkContainer,
14651    pub priv_: *mut GtkTreeViewPrivate,
14652}
14653
14654impl ::std::fmt::Debug for GtkTreeView {
14655    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14656        f.debug_struct(&format!("GtkTreeView @ {:?}", self as *const _))
14657            .field("parent", &self.parent)
14658            .finish()
14659    }
14660}
14661
14662#[repr(C)]
14663#[derive(Copy, Clone)]
14664pub struct GtkTreeViewAccessible {
14665    pub parent: GtkContainerAccessible,
14666    pub priv_: *mut GtkTreeViewAccessiblePrivate,
14667}
14668
14669impl ::std::fmt::Debug for GtkTreeViewAccessible {
14670    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14671        f.debug_struct(&format!("GtkTreeViewAccessible @ {:?}", self as *const _))
14672            .field("parent", &self.parent)
14673            .field("priv_", &self.priv_)
14674            .finish()
14675    }
14676}
14677
14678#[repr(C)]
14679#[derive(Copy, Clone)]
14680pub struct GtkTreeViewColumn {
14681    pub parent_instance: gobject::GInitiallyUnowned,
14682    pub priv_: *mut GtkTreeViewColumnPrivate,
14683}
14684
14685impl ::std::fmt::Debug for GtkTreeViewColumn {
14686    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14687        f.debug_struct(&format!("GtkTreeViewColumn @ {:?}", self as *const _))
14688            .field("parent_instance", &self.parent_instance)
14689            .field("priv_", &self.priv_)
14690            .finish()
14691    }
14692}
14693
14694#[repr(C)]
14695#[derive(Copy, Clone)]
14696pub struct GtkUIManager {
14697    pub parent: gobject::GObject,
14698    pub private_data: *mut GtkUIManagerPrivate,
14699}
14700
14701impl ::std::fmt::Debug for GtkUIManager {
14702    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14703        f.debug_struct(&format!("GtkUIManager @ {:?}", self as *const _))
14704            .field("parent", &self.parent)
14705            .finish()
14706    }
14707}
14708
14709#[repr(C)]
14710#[derive(Copy, Clone)]
14711pub struct GtkVBox {
14712    pub box_: GtkBox,
14713}
14714
14715impl ::std::fmt::Debug for GtkVBox {
14716    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14717        f.debug_struct(&format!("GtkVBox @ {:?}", self as *const _))
14718            .field("box_", &self.box_)
14719            .finish()
14720    }
14721}
14722
14723#[repr(C)]
14724#[derive(Copy, Clone)]
14725pub struct GtkVButtonBox {
14726    pub button_box: GtkButtonBox,
14727}
14728
14729impl ::std::fmt::Debug for GtkVButtonBox {
14730    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14731        f.debug_struct(&format!("GtkVButtonBox @ {:?}", self as *const _))
14732            .field("button_box", &self.button_box)
14733            .finish()
14734    }
14735}
14736
14737#[repr(C)]
14738#[derive(Copy, Clone)]
14739pub struct GtkVPaned {
14740    pub paned: GtkPaned,
14741}
14742
14743impl ::std::fmt::Debug for GtkVPaned {
14744    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14745        f.debug_struct(&format!("GtkVPaned @ {:?}", self as *const _))
14746            .field("paned", &self.paned)
14747            .finish()
14748    }
14749}
14750
14751#[repr(C)]
14752#[derive(Copy, Clone)]
14753pub struct GtkVScale {
14754    pub scale: GtkScale,
14755}
14756
14757impl ::std::fmt::Debug for GtkVScale {
14758    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14759        f.debug_struct(&format!("GtkVScale @ {:?}", self as *const _))
14760            .field("scale", &self.scale)
14761            .finish()
14762    }
14763}
14764
14765#[repr(C)]
14766#[derive(Copy, Clone)]
14767pub struct GtkVScrollbar {
14768    pub scrollbar: GtkScrollbar,
14769}
14770
14771impl ::std::fmt::Debug for GtkVScrollbar {
14772    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14773        f.debug_struct(&format!("GtkVScrollbar @ {:?}", self as *const _))
14774            .field("scrollbar", &self.scrollbar)
14775            .finish()
14776    }
14777}
14778
14779#[repr(C)]
14780#[derive(Copy, Clone)]
14781pub struct GtkVSeparator {
14782    pub separator: GtkSeparator,
14783}
14784
14785impl ::std::fmt::Debug for GtkVSeparator {
14786    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14787        f.debug_struct(&format!("GtkVSeparator @ {:?}", self as *const _))
14788            .field("separator", &self.separator)
14789            .finish()
14790    }
14791}
14792
14793#[repr(C)]
14794#[derive(Copy, Clone)]
14795pub struct GtkViewport {
14796    pub bin: GtkBin,
14797    pub priv_: *mut GtkViewportPrivate,
14798}
14799
14800impl ::std::fmt::Debug for GtkViewport {
14801    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14802        f.debug_struct(&format!("GtkViewport @ {:?}", self as *const _))
14803            .field("bin", &self.bin)
14804            .finish()
14805    }
14806}
14807
14808#[repr(C)]
14809#[derive(Copy, Clone)]
14810pub struct GtkVolumeButton {
14811    pub parent: GtkScaleButton,
14812}
14813
14814impl ::std::fmt::Debug for GtkVolumeButton {
14815    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14816        f.debug_struct(&format!("GtkVolumeButton @ {:?}", self as *const _))
14817            .field("parent", &self.parent)
14818            .finish()
14819    }
14820}
14821
14822#[repr(C)]
14823#[derive(Copy, Clone)]
14824pub struct GtkWidget {
14825    pub parent_instance: gobject::GInitiallyUnowned,
14826    pub priv_: *mut GtkWidgetPrivate,
14827}
14828
14829impl ::std::fmt::Debug for GtkWidget {
14830    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14831        f.debug_struct(&format!("GtkWidget @ {:?}", self as *const _))
14832            .field("parent_instance", &self.parent_instance)
14833            .finish()
14834    }
14835}
14836
14837#[repr(C)]
14838#[derive(Copy, Clone)]
14839pub struct GtkWidgetAccessible {
14840    pub parent: GtkAccessible,
14841    pub priv_: *mut GtkWidgetAccessiblePrivate,
14842}
14843
14844impl ::std::fmt::Debug for GtkWidgetAccessible {
14845    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14846        f.debug_struct(&format!("GtkWidgetAccessible @ {:?}", self as *const _))
14847            .field("parent", &self.parent)
14848            .field("priv_", &self.priv_)
14849            .finish()
14850    }
14851}
14852
14853#[repr(C)]
14854#[derive(Copy, Clone)]
14855pub struct GtkWindow {
14856    pub bin: GtkBin,
14857    pub priv_: *mut GtkWindowPrivate,
14858}
14859
14860impl ::std::fmt::Debug for GtkWindow {
14861    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14862        f.debug_struct(&format!("GtkWindow @ {:?}", self as *const _))
14863            .field("bin", &self.bin)
14864            .field("priv_", &self.priv_)
14865            .finish()
14866    }
14867}
14868
14869#[repr(C)]
14870#[derive(Copy, Clone)]
14871pub struct GtkWindowAccessible {
14872    pub parent: GtkContainerAccessible,
14873    pub priv_: *mut GtkWindowAccessiblePrivate,
14874}
14875
14876impl ::std::fmt::Debug for GtkWindowAccessible {
14877    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14878        f.debug_struct(&format!("GtkWindowAccessible @ {:?}", self as *const _))
14879            .field("parent", &self.parent)
14880            .field("priv_", &self.priv_)
14881            .finish()
14882    }
14883}
14884
14885#[repr(C)]
14886#[derive(Copy, Clone)]
14887pub struct GtkWindowGroup {
14888    pub parent_instance: gobject::GObject,
14889    pub priv_: *mut GtkWindowGroupPrivate,
14890}
14891
14892impl ::std::fmt::Debug for GtkWindowGroup {
14893    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14894        f.debug_struct(&format!("GtkWindowGroup @ {:?}", self as *const _))
14895            .field("parent_instance", &self.parent_instance)
14896            .field("priv_", &self.priv_)
14897            .finish()
14898    }
14899}
14900
14901// Interfaces
14902#[repr(C)]
14903pub struct GtkActionable(c_void);
14904
14905impl ::std::fmt::Debug for GtkActionable {
14906    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14907        write!(f, "GtkActionable @ {:?}", self as *const _)
14908    }
14909}
14910
14911#[repr(C)]
14912pub struct GtkActivatable(c_void);
14913
14914impl ::std::fmt::Debug for GtkActivatable {
14915    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14916        write!(f, "GtkActivatable @ {:?}", self as *const _)
14917    }
14918}
14919
14920#[repr(C)]
14921pub struct GtkAppChooser(c_void);
14922
14923impl ::std::fmt::Debug for GtkAppChooser {
14924    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14925        write!(f, "GtkAppChooser @ {:?}", self as *const _)
14926    }
14927}
14928
14929#[repr(C)]
14930pub struct GtkBuildable(c_void);
14931
14932impl ::std::fmt::Debug for GtkBuildable {
14933    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14934        write!(f, "GtkBuildable @ {:?}", self as *const _)
14935    }
14936}
14937
14938#[repr(C)]
14939pub struct GtkCellAccessibleParent(c_void);
14940
14941impl ::std::fmt::Debug for GtkCellAccessibleParent {
14942    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14943        write!(f, "GtkCellAccessibleParent @ {:?}", self as *const _)
14944    }
14945}
14946
14947#[repr(C)]
14948pub struct GtkCellEditable(c_void);
14949
14950impl ::std::fmt::Debug for GtkCellEditable {
14951    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14952        write!(f, "GtkCellEditable @ {:?}", self as *const _)
14953    }
14954}
14955
14956#[repr(C)]
14957pub struct GtkCellLayout(c_void);
14958
14959impl ::std::fmt::Debug for GtkCellLayout {
14960    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14961        write!(f, "GtkCellLayout @ {:?}", self as *const _)
14962    }
14963}
14964
14965#[repr(C)]
14966pub struct GtkColorChooser(c_void);
14967
14968impl ::std::fmt::Debug for GtkColorChooser {
14969    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14970        write!(f, "GtkColorChooser @ {:?}", self as *const _)
14971    }
14972}
14973
14974#[repr(C)]
14975pub struct GtkEditable(c_void);
14976
14977impl ::std::fmt::Debug for GtkEditable {
14978    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14979        write!(f, "GtkEditable @ {:?}", self as *const _)
14980    }
14981}
14982
14983#[repr(C)]
14984pub struct GtkFileChooser(c_void);
14985
14986impl ::std::fmt::Debug for GtkFileChooser {
14987    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14988        write!(f, "GtkFileChooser @ {:?}", self as *const _)
14989    }
14990}
14991
14992#[repr(C)]
14993pub struct GtkFontChooser(c_void);
14994
14995impl ::std::fmt::Debug for GtkFontChooser {
14996    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
14997        write!(f, "GtkFontChooser @ {:?}", self as *const _)
14998    }
14999}
15000
15001#[repr(C)]
15002pub struct GtkOrientable(c_void);
15003
15004impl ::std::fmt::Debug for GtkOrientable {
15005    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15006        write!(f, "GtkOrientable @ {:?}", self as *const _)
15007    }
15008}
15009
15010#[repr(C)]
15011pub struct GtkPrintOperationPreview(c_void);
15012
15013impl ::std::fmt::Debug for GtkPrintOperationPreview {
15014    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15015        write!(f, "GtkPrintOperationPreview @ {:?}", self as *const _)
15016    }
15017}
15018
15019#[repr(C)]
15020pub struct GtkRecentChooser(c_void);
15021
15022impl ::std::fmt::Debug for GtkRecentChooser {
15023    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15024        write!(f, "GtkRecentChooser @ {:?}", self as *const _)
15025    }
15026}
15027
15028#[repr(C)]
15029pub struct GtkScrollable(c_void);
15030
15031impl ::std::fmt::Debug for GtkScrollable {
15032    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15033        write!(f, "GtkScrollable @ {:?}", self as *const _)
15034    }
15035}
15036
15037#[repr(C)]
15038pub struct GtkStyleProvider(c_void);
15039
15040impl ::std::fmt::Debug for GtkStyleProvider {
15041    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15042        write!(f, "GtkStyleProvider @ {:?}", self as *const _)
15043    }
15044}
15045
15046#[repr(C)]
15047pub struct GtkToolShell(c_void);
15048
15049impl ::std::fmt::Debug for GtkToolShell {
15050    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15051        write!(f, "GtkToolShell @ {:?}", self as *const _)
15052    }
15053}
15054
15055#[repr(C)]
15056pub struct GtkTreeDragDest(c_void);
15057
15058impl ::std::fmt::Debug for GtkTreeDragDest {
15059    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15060        write!(f, "GtkTreeDragDest @ {:?}", self as *const _)
15061    }
15062}
15063
15064#[repr(C)]
15065pub struct GtkTreeDragSource(c_void);
15066
15067impl ::std::fmt::Debug for GtkTreeDragSource {
15068    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15069        write!(f, "GtkTreeDragSource @ {:?}", self as *const _)
15070    }
15071}
15072
15073#[repr(C)]
15074pub struct GtkTreeModel(c_void);
15075
15076impl ::std::fmt::Debug for GtkTreeModel {
15077    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15078        write!(f, "GtkTreeModel @ {:?}", self as *const _)
15079    }
15080}
15081
15082#[repr(C)]
15083pub struct GtkTreeSortable(c_void);
15084
15085impl ::std::fmt::Debug for GtkTreeSortable {
15086    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
15087        write!(f, "GtkTreeSortable @ {:?}", self as *const _)
15088    }
15089}
15090
15091extern "C" {
15092
15093    //=========================================================================
15094    // GtkAlign
15095    //=========================================================================
15096    pub fn gtk_align_get_type() -> GType;
15097
15098    //=========================================================================
15099    // GtkArrowPlacement
15100    //=========================================================================
15101    pub fn gtk_arrow_placement_get_type() -> GType;
15102
15103    //=========================================================================
15104    // GtkArrowType
15105    //=========================================================================
15106    pub fn gtk_arrow_type_get_type() -> GType;
15107
15108    //=========================================================================
15109    // GtkAssistantPageType
15110    //=========================================================================
15111    pub fn gtk_assistant_page_type_get_type() -> GType;
15112
15113    //=========================================================================
15114    // GtkBaselinePosition
15115    //=========================================================================
15116    pub fn gtk_baseline_position_get_type() -> GType;
15117
15118    //=========================================================================
15119    // GtkBorderStyle
15120    //=========================================================================
15121    pub fn gtk_border_style_get_type() -> GType;
15122
15123    //=========================================================================
15124    // GtkBuilderError
15125    //=========================================================================
15126    pub fn gtk_builder_error_get_type() -> GType;
15127    pub fn gtk_builder_error_quark() -> glib::GQuark;
15128
15129    //=========================================================================
15130    // GtkButtonBoxStyle
15131    //=========================================================================
15132    pub fn gtk_button_box_style_get_type() -> GType;
15133
15134    //=========================================================================
15135    // GtkButtonRole
15136    //=========================================================================
15137    pub fn gtk_button_role_get_type() -> GType;
15138
15139    //=========================================================================
15140    // GtkButtonsType
15141    //=========================================================================
15142    pub fn gtk_buttons_type_get_type() -> GType;
15143
15144    //=========================================================================
15145    // GtkCellRendererAccelMode
15146    //=========================================================================
15147    pub fn gtk_cell_renderer_accel_mode_get_type() -> GType;
15148
15149    //=========================================================================
15150    // GtkCellRendererMode
15151    //=========================================================================
15152    pub fn gtk_cell_renderer_mode_get_type() -> GType;
15153
15154    //=========================================================================
15155    // GtkCornerType
15156    //=========================================================================
15157    pub fn gtk_corner_type_get_type() -> GType;
15158
15159    //=========================================================================
15160    // GtkCssProviderError
15161    //=========================================================================
15162    pub fn gtk_css_provider_error_get_type() -> GType;
15163    pub fn gtk_css_provider_error_quark() -> glib::GQuark;
15164
15165    //=========================================================================
15166    // GtkCssSectionType
15167    //=========================================================================
15168    pub fn gtk_css_section_type_get_type() -> GType;
15169
15170    //=========================================================================
15171    // GtkDeleteType
15172    //=========================================================================
15173    pub fn gtk_delete_type_get_type() -> GType;
15174
15175    //=========================================================================
15176    // GtkDirectionType
15177    //=========================================================================
15178    pub fn gtk_direction_type_get_type() -> GType;
15179
15180    //=========================================================================
15181    // GtkDragResult
15182    //=========================================================================
15183    pub fn gtk_drag_result_get_type() -> GType;
15184
15185    //=========================================================================
15186    // GtkEntryIconPosition
15187    //=========================================================================
15188    pub fn gtk_entry_icon_position_get_type() -> GType;
15189
15190    //=========================================================================
15191    // GtkEventSequenceState
15192    //=========================================================================
15193    pub fn gtk_event_sequence_state_get_type() -> GType;
15194
15195    //=========================================================================
15196    // GtkExpanderStyle
15197    //=========================================================================
15198    pub fn gtk_expander_style_get_type() -> GType;
15199
15200    //=========================================================================
15201    // GtkFileChooserAction
15202    //=========================================================================
15203    pub fn gtk_file_chooser_action_get_type() -> GType;
15204
15205    //=========================================================================
15206    // GtkFileChooserConfirmation
15207    //=========================================================================
15208    pub fn gtk_file_chooser_confirmation_get_type() -> GType;
15209
15210    //=========================================================================
15211    // GtkFileChooserError
15212    //=========================================================================
15213    pub fn gtk_file_chooser_error_get_type() -> GType;
15214    pub fn gtk_file_chooser_error_quark() -> glib::GQuark;
15215
15216    //=========================================================================
15217    // GtkIMPreeditStyle
15218    //=========================================================================
15219    pub fn gtk_im_preedit_style_get_type() -> GType;
15220
15221    //=========================================================================
15222    // GtkIMStatusStyle
15223    //=========================================================================
15224    pub fn gtk_im_status_style_get_type() -> GType;
15225
15226    //=========================================================================
15227    // GtkIconSize
15228    //=========================================================================
15229    pub fn gtk_icon_size_get_type() -> GType;
15230    pub fn gtk_icon_size_from_name(name: *const c_char) -> GtkIconSize;
15231    pub fn gtk_icon_size_get_name(size: GtkIconSize) -> *const c_char;
15232    pub fn gtk_icon_size_lookup(
15233        size: GtkIconSize,
15234        width: *mut c_int,
15235        height: *mut c_int,
15236    ) -> gboolean;
15237    pub fn gtk_icon_size_lookup_for_settings(
15238        settings: *mut GtkSettings,
15239        size: GtkIconSize,
15240        width: *mut c_int,
15241        height: *mut c_int,
15242    ) -> gboolean;
15243    pub fn gtk_icon_size_register(name: *const c_char, width: c_int, height: c_int) -> GtkIconSize;
15244    pub fn gtk_icon_size_register_alias(alias: *const c_char, target: GtkIconSize);
15245
15246    //=========================================================================
15247    // GtkIconThemeError
15248    //=========================================================================
15249    pub fn gtk_icon_theme_error_get_type() -> GType;
15250    pub fn gtk_icon_theme_error_quark() -> glib::GQuark;
15251
15252    //=========================================================================
15253    // GtkIconViewDropPosition
15254    //=========================================================================
15255    pub fn gtk_icon_view_drop_position_get_type() -> GType;
15256
15257    //=========================================================================
15258    // GtkImageType
15259    //=========================================================================
15260    pub fn gtk_image_type_get_type() -> GType;
15261
15262    //=========================================================================
15263    // GtkInputPurpose
15264    //=========================================================================
15265    pub fn gtk_input_purpose_get_type() -> GType;
15266
15267    //=========================================================================
15268    // GtkJustification
15269    //=========================================================================
15270    pub fn gtk_justification_get_type() -> GType;
15271
15272    //=========================================================================
15273    // GtkLevelBarMode
15274    //=========================================================================
15275    pub fn gtk_level_bar_mode_get_type() -> GType;
15276
15277    //=========================================================================
15278    // GtkLicense
15279    //=========================================================================
15280    pub fn gtk_license_get_type() -> GType;
15281
15282    //=========================================================================
15283    // GtkMenuDirectionType
15284    //=========================================================================
15285    pub fn gtk_menu_direction_type_get_type() -> GType;
15286
15287    //=========================================================================
15288    // GtkMessageType
15289    //=========================================================================
15290    pub fn gtk_message_type_get_type() -> GType;
15291
15292    //=========================================================================
15293    // GtkMovementStep
15294    //=========================================================================
15295    pub fn gtk_movement_step_get_type() -> GType;
15296
15297    //=========================================================================
15298    // GtkNotebookTab
15299    //=========================================================================
15300    pub fn gtk_notebook_tab_get_type() -> GType;
15301
15302    //=========================================================================
15303    // GtkNumberUpLayout
15304    //=========================================================================
15305    pub fn gtk_number_up_layout_get_type() -> GType;
15306
15307    //=========================================================================
15308    // GtkOrientation
15309    //=========================================================================
15310    pub fn gtk_orientation_get_type() -> GType;
15311
15312    //=========================================================================
15313    // GtkPackDirection
15314    //=========================================================================
15315    pub fn gtk_pack_direction_get_type() -> GType;
15316
15317    //=========================================================================
15318    // GtkPackType
15319    //=========================================================================
15320    pub fn gtk_pack_type_get_type() -> GType;
15321
15322    //=========================================================================
15323    // GtkPadActionType
15324    //=========================================================================
15325    pub fn gtk_pad_action_type_get_type() -> GType;
15326
15327    //=========================================================================
15328    // GtkPageOrientation
15329    //=========================================================================
15330    pub fn gtk_page_orientation_get_type() -> GType;
15331
15332    //=========================================================================
15333    // GtkPageSet
15334    //=========================================================================
15335    pub fn gtk_page_set_get_type() -> GType;
15336
15337    //=========================================================================
15338    // GtkPanDirection
15339    //=========================================================================
15340    pub fn gtk_pan_direction_get_type() -> GType;
15341
15342    //=========================================================================
15343    // GtkPathPriorityType
15344    //=========================================================================
15345    pub fn gtk_path_priority_type_get_type() -> GType;
15346
15347    //=========================================================================
15348    // GtkPathType
15349    //=========================================================================
15350    pub fn gtk_path_type_get_type() -> GType;
15351
15352    //=========================================================================
15353    // GtkPolicyType
15354    //=========================================================================
15355    pub fn gtk_policy_type_get_type() -> GType;
15356
15357    //=========================================================================
15358    // GtkPopoverConstraint
15359    //=========================================================================
15360    pub fn gtk_popover_constraint_get_type() -> GType;
15361
15362    //=========================================================================
15363    // GtkPositionType
15364    //=========================================================================
15365    pub fn gtk_position_type_get_type() -> GType;
15366
15367    //=========================================================================
15368    // GtkPrintDuplex
15369    //=========================================================================
15370    pub fn gtk_print_duplex_get_type() -> GType;
15371
15372    //=========================================================================
15373    // GtkPrintError
15374    //=========================================================================
15375    pub fn gtk_print_error_get_type() -> GType;
15376    pub fn gtk_print_error_quark() -> glib::GQuark;
15377
15378    //=========================================================================
15379    // GtkPrintOperationAction
15380    //=========================================================================
15381    pub fn gtk_print_operation_action_get_type() -> GType;
15382
15383    //=========================================================================
15384    // GtkPrintOperationResult
15385    //=========================================================================
15386    pub fn gtk_print_operation_result_get_type() -> GType;
15387
15388    //=========================================================================
15389    // GtkPrintPages
15390    //=========================================================================
15391    pub fn gtk_print_pages_get_type() -> GType;
15392
15393    //=========================================================================
15394    // GtkPrintQuality
15395    //=========================================================================
15396    pub fn gtk_print_quality_get_type() -> GType;
15397
15398    //=========================================================================
15399    // GtkPrintStatus
15400    //=========================================================================
15401    pub fn gtk_print_status_get_type() -> GType;
15402
15403    //=========================================================================
15404    // GtkPropagationPhase
15405    //=========================================================================
15406    pub fn gtk_propagation_phase_get_type() -> GType;
15407
15408    //=========================================================================
15409    // GtkRcTokenType
15410    //=========================================================================
15411    pub fn gtk_rc_token_type_get_type() -> GType;
15412
15413    //=========================================================================
15414    // GtkRecentChooserError
15415    //=========================================================================
15416    pub fn gtk_recent_chooser_error_get_type() -> GType;
15417    pub fn gtk_recent_chooser_error_quark() -> glib::GQuark;
15418
15419    //=========================================================================
15420    // GtkRecentManagerError
15421    //=========================================================================
15422    pub fn gtk_recent_manager_error_get_type() -> GType;
15423    pub fn gtk_recent_manager_error_quark() -> glib::GQuark;
15424
15425    //=========================================================================
15426    // GtkRecentSortType
15427    //=========================================================================
15428    pub fn gtk_recent_sort_type_get_type() -> GType;
15429
15430    //=========================================================================
15431    // GtkReliefStyle
15432    //=========================================================================
15433    pub fn gtk_relief_style_get_type() -> GType;
15434
15435    //=========================================================================
15436    // GtkResizeMode
15437    //=========================================================================
15438    pub fn gtk_resize_mode_get_type() -> GType;
15439
15440    //=========================================================================
15441    // GtkResponseType
15442    //=========================================================================
15443    pub fn gtk_response_type_get_type() -> GType;
15444
15445    //=========================================================================
15446    // GtkRevealerTransitionType
15447    //=========================================================================
15448    pub fn gtk_revealer_transition_type_get_type() -> GType;
15449
15450    //=========================================================================
15451    // GtkScrollStep
15452    //=========================================================================
15453    pub fn gtk_scroll_step_get_type() -> GType;
15454
15455    //=========================================================================
15456    // GtkScrollType
15457    //=========================================================================
15458    pub fn gtk_scroll_type_get_type() -> GType;
15459
15460    //=========================================================================
15461    // GtkScrollablePolicy
15462    //=========================================================================
15463    pub fn gtk_scrollable_policy_get_type() -> GType;
15464
15465    //=========================================================================
15466    // GtkSelectionMode
15467    //=========================================================================
15468    pub fn gtk_selection_mode_get_type() -> GType;
15469
15470    //=========================================================================
15471    // GtkSensitivityType
15472    //=========================================================================
15473    pub fn gtk_sensitivity_type_get_type() -> GType;
15474
15475    //=========================================================================
15476    // GtkShadowType
15477    //=========================================================================
15478    pub fn gtk_shadow_type_get_type() -> GType;
15479
15480    //=========================================================================
15481    // GtkShortcutType
15482    //=========================================================================
15483    pub fn gtk_shortcut_type_get_type() -> GType;
15484
15485    //=========================================================================
15486    // GtkSizeGroupMode
15487    //=========================================================================
15488    pub fn gtk_size_group_mode_get_type() -> GType;
15489
15490    //=========================================================================
15491    // GtkSizeRequestMode
15492    //=========================================================================
15493    pub fn gtk_size_request_mode_get_type() -> GType;
15494
15495    //=========================================================================
15496    // GtkSortType
15497    //=========================================================================
15498    pub fn gtk_sort_type_get_type() -> GType;
15499
15500    //=========================================================================
15501    // GtkSpinButtonUpdatePolicy
15502    //=========================================================================
15503    pub fn gtk_spin_button_update_policy_get_type() -> GType;
15504
15505    //=========================================================================
15506    // GtkSpinType
15507    //=========================================================================
15508    pub fn gtk_spin_type_get_type() -> GType;
15509
15510    //=========================================================================
15511    // GtkStackTransitionType
15512    //=========================================================================
15513    pub fn gtk_stack_transition_type_get_type() -> GType;
15514
15515    //=========================================================================
15516    // GtkStateType
15517    //=========================================================================
15518    pub fn gtk_state_type_get_type() -> GType;
15519
15520    //=========================================================================
15521    // GtkTextBufferTargetInfo
15522    //=========================================================================
15523    pub fn gtk_text_buffer_target_info_get_type() -> GType;
15524
15525    //=========================================================================
15526    // GtkTextDirection
15527    //=========================================================================
15528    pub fn gtk_text_direction_get_type() -> GType;
15529
15530    //=========================================================================
15531    // GtkTextExtendSelection
15532    //=========================================================================
15533    pub fn gtk_text_extend_selection_get_type() -> GType;
15534
15535    //=========================================================================
15536    // GtkTextViewLayer
15537    //=========================================================================
15538    pub fn gtk_text_view_layer_get_type() -> GType;
15539
15540    //=========================================================================
15541    // GtkTextWindowType
15542    //=========================================================================
15543    pub fn gtk_text_window_type_get_type() -> GType;
15544
15545    //=========================================================================
15546    // GtkToolbarSpaceStyle
15547    //=========================================================================
15548    pub fn gtk_toolbar_space_style_get_type() -> GType;
15549
15550    //=========================================================================
15551    // GtkToolbarStyle
15552    //=========================================================================
15553    pub fn gtk_toolbar_style_get_type() -> GType;
15554
15555    //=========================================================================
15556    // GtkTreeViewColumnSizing
15557    //=========================================================================
15558    pub fn gtk_tree_view_column_sizing_get_type() -> GType;
15559
15560    //=========================================================================
15561    // GtkTreeViewDropPosition
15562    //=========================================================================
15563    pub fn gtk_tree_view_drop_position_get_type() -> GType;
15564
15565    //=========================================================================
15566    // GtkTreeViewGridLines
15567    //=========================================================================
15568    pub fn gtk_tree_view_grid_lines_get_type() -> GType;
15569
15570    //=========================================================================
15571    // GtkUnit
15572    //=========================================================================
15573    pub fn gtk_unit_get_type() -> GType;
15574
15575    //=========================================================================
15576    // GtkWidgetHelpType
15577    //=========================================================================
15578    pub fn gtk_widget_help_type_get_type() -> GType;
15579
15580    //=========================================================================
15581    // GtkWindowPosition
15582    //=========================================================================
15583    pub fn gtk_window_position_get_type() -> GType;
15584
15585    //=========================================================================
15586    // GtkWindowType
15587    //=========================================================================
15588    pub fn gtk_window_type_get_type() -> GType;
15589
15590    //=========================================================================
15591    // GtkWrapMode
15592    //=========================================================================
15593    pub fn gtk_wrap_mode_get_type() -> GType;
15594
15595    //=========================================================================
15596    // GtkAccelFlags
15597    //=========================================================================
15598    pub fn gtk_accel_flags_get_type() -> GType;
15599
15600    //=========================================================================
15601    // GtkApplicationInhibitFlags
15602    //=========================================================================
15603    pub fn gtk_application_inhibit_flags_get_type() -> GType;
15604
15605    //=========================================================================
15606    // GtkAttachOptions
15607    //=========================================================================
15608    pub fn gtk_attach_options_get_type() -> GType;
15609
15610    //=========================================================================
15611    // GtkCalendarDisplayOptions
15612    //=========================================================================
15613    pub fn gtk_calendar_display_options_get_type() -> GType;
15614
15615    //=========================================================================
15616    // GtkCellRendererState
15617    //=========================================================================
15618    pub fn gtk_cell_renderer_state_get_type() -> GType;
15619
15620    //=========================================================================
15621    // GtkDebugFlag
15622    //=========================================================================
15623    pub fn gtk_debug_flag_get_type() -> GType;
15624
15625    //=========================================================================
15626    // GtkDestDefaults
15627    //=========================================================================
15628    pub fn gtk_dest_defaults_get_type() -> GType;
15629
15630    //=========================================================================
15631    // GtkDialogFlags
15632    //=========================================================================
15633    pub fn gtk_dialog_flags_get_type() -> GType;
15634
15635    //=========================================================================
15636    // GtkEventControllerScrollFlags
15637    //=========================================================================
15638    pub fn gtk_event_controller_scroll_flags_get_type() -> GType;
15639
15640    //=========================================================================
15641    // GtkFileFilterFlags
15642    //=========================================================================
15643    pub fn gtk_file_filter_flags_get_type() -> GType;
15644
15645    //=========================================================================
15646    // GtkFontChooserLevel
15647    //=========================================================================
15648    pub fn gtk_font_chooser_level_get_type() -> GType;
15649
15650    //=========================================================================
15651    // GtkIconLookupFlags
15652    //=========================================================================
15653    pub fn gtk_icon_lookup_flags_get_type() -> GType;
15654
15655    //=========================================================================
15656    // GtkInputHints
15657    //=========================================================================
15658    pub fn gtk_input_hints_get_type() -> GType;
15659
15660    //=========================================================================
15661    // GtkJunctionSides
15662    //=========================================================================
15663    pub fn gtk_junction_sides_get_type() -> GType;
15664
15665    //=========================================================================
15666    // GtkPlacesOpenFlags
15667    //=========================================================================
15668    pub fn gtk_places_open_flags_get_type() -> GType;
15669
15670    //=========================================================================
15671    // GtkRcFlags
15672    //=========================================================================
15673    pub fn gtk_rc_flags_get_type() -> GType;
15674
15675    //=========================================================================
15676    // GtkRecentFilterFlags
15677    //=========================================================================
15678    pub fn gtk_recent_filter_flags_get_type() -> GType;
15679
15680    //=========================================================================
15681    // GtkRegionFlags
15682    //=========================================================================
15683    pub fn gtk_region_flags_get_type() -> GType;
15684
15685    //=========================================================================
15686    // GtkStateFlags
15687    //=========================================================================
15688    pub fn gtk_state_flags_get_type() -> GType;
15689
15690    //=========================================================================
15691    // GtkStyleContextPrintFlags
15692    //=========================================================================
15693    pub fn gtk_style_context_print_flags_get_type() -> GType;
15694
15695    //=========================================================================
15696    // GtkTargetFlags
15697    //=========================================================================
15698    pub fn gtk_target_flags_get_type() -> GType;
15699
15700    //=========================================================================
15701    // GtkTextSearchFlags
15702    //=========================================================================
15703    pub fn gtk_text_search_flags_get_type() -> GType;
15704
15705    //=========================================================================
15706    // GtkToolPaletteDragTargets
15707    //=========================================================================
15708    pub fn gtk_tool_palette_drag_targets_get_type() -> GType;
15709
15710    //=========================================================================
15711    // GtkTreeModelFlags
15712    //=========================================================================
15713    pub fn gtk_tree_model_flags_get_type() -> GType;
15714
15715    //=========================================================================
15716    // GtkUIManagerItemType
15717    //=========================================================================
15718    pub fn gtk_ui_manager_item_type_get_type() -> GType;
15719
15720    //=========================================================================
15721    // GtkBindingEntry
15722    //=========================================================================
15723    pub fn gtk_binding_entry_add_signal(
15724        binding_set: *mut GtkBindingSet,
15725        keyval: c_uint,
15726        modifiers: gdk::GdkModifierType,
15727        signal_name: *const c_char,
15728        n_args: c_uint,
15729        ...
15730    );
15731    pub fn gtk_binding_entry_add_signal_from_string(
15732        binding_set: *mut GtkBindingSet,
15733        signal_desc: *const c_char,
15734    ) -> glib::GTokenType;
15735    pub fn gtk_binding_entry_add_signall(
15736        binding_set: *mut GtkBindingSet,
15737        keyval: c_uint,
15738        modifiers: gdk::GdkModifierType,
15739        signal_name: *const c_char,
15740        binding_args: *mut glib::GSList,
15741    );
15742    pub fn gtk_binding_entry_remove(
15743        binding_set: *mut GtkBindingSet,
15744        keyval: c_uint,
15745        modifiers: gdk::GdkModifierType,
15746    );
15747    pub fn gtk_binding_entry_skip(
15748        binding_set: *mut GtkBindingSet,
15749        keyval: c_uint,
15750        modifiers: gdk::GdkModifierType,
15751    );
15752
15753    //=========================================================================
15754    // GtkBindingSet
15755    //=========================================================================
15756    pub fn gtk_binding_set_activate(
15757        binding_set: *mut GtkBindingSet,
15758        keyval: c_uint,
15759        modifiers: gdk::GdkModifierType,
15760        object: *mut gobject::GObject,
15761    ) -> gboolean;
15762    pub fn gtk_binding_set_add_path(
15763        binding_set: *mut GtkBindingSet,
15764        path_type: GtkPathType,
15765        path_pattern: *const c_char,
15766        priority: GtkPathPriorityType,
15767    );
15768    pub fn gtk_binding_set_by_class(object_class: gpointer) -> *mut GtkBindingSet;
15769    pub fn gtk_binding_set_find(set_name: *const c_char) -> *mut GtkBindingSet;
15770    pub fn gtk_binding_set_new(set_name: *const c_char) -> *mut GtkBindingSet;
15771
15772    //=========================================================================
15773    // GtkBorder
15774    //=========================================================================
15775    pub fn gtk_border_get_type() -> GType;
15776    pub fn gtk_border_new() -> *mut GtkBorder;
15777    pub fn gtk_border_copy(border_: *const GtkBorder) -> *mut GtkBorder;
15778    pub fn gtk_border_free(border_: *mut GtkBorder);
15779
15780    //=========================================================================
15781    // GtkCellAreaClass
15782    //=========================================================================
15783    pub fn gtk_cell_area_class_find_cell_property(
15784        aclass: *mut GtkCellAreaClass,
15785        property_name: *const c_char,
15786    ) -> *mut gobject::GParamSpec;
15787    pub fn gtk_cell_area_class_install_cell_property(
15788        aclass: *mut GtkCellAreaClass,
15789        property_id: c_uint,
15790        pspec: *mut gobject::GParamSpec,
15791    );
15792    pub fn gtk_cell_area_class_list_cell_properties(
15793        aclass: *mut GtkCellAreaClass,
15794        n_properties: *mut c_uint,
15795    ) -> *mut *mut gobject::GParamSpec;
15796
15797    //=========================================================================
15798    // GtkCellRendererClass
15799    //=========================================================================
15800    pub fn gtk_cell_renderer_class_set_accessible_type(
15801        renderer_class: *mut GtkCellRendererClass,
15802        type_: GType,
15803    );
15804
15805    //=========================================================================
15806    // GtkContainerClass
15807    //=========================================================================
15808    //pub fn gtk_container_class_find_child_property(cclass: /*Metadata mismatch*/*mut [c:type mismatch `GObjectClass` != `GtkContainerClass` of `ContainerClass`], property_name: *const c_char) -> *mut gobject::GParamSpec;
15809    pub fn gtk_container_class_handle_border_width(klass: *mut GtkContainerClass);
15810    #[cfg(any(feature = "v3_18", feature = "dox"))]
15811    pub fn gtk_container_class_install_child_properties(
15812        cclass: *mut GtkContainerClass,
15813        n_pspecs: c_uint,
15814        pspecs: *mut *mut gobject::GParamSpec,
15815    );
15816    pub fn gtk_container_class_install_child_property(
15817        cclass: *mut GtkContainerClass,
15818        property_id: c_uint,
15819        pspec: *mut gobject::GParamSpec,
15820    );
15821    //pub fn gtk_container_class_list_child_properties(cclass: /*Metadata mismatch*/*mut [c:type mismatch `GObjectClass` != `GtkContainerClass` of `ContainerClass`], n_properties: *mut c_uint) -> *mut *mut gobject::GParamSpec;
15822
15823    //=========================================================================
15824    // GtkCssSection
15825    //=========================================================================
15826    pub fn gtk_css_section_get_type() -> GType;
15827    pub fn gtk_css_section_get_end_line(section: *const GtkCssSection) -> c_uint;
15828    pub fn gtk_css_section_get_end_position(section: *const GtkCssSection) -> c_uint;
15829    pub fn gtk_css_section_get_file(section: *const GtkCssSection) -> *mut gio::GFile;
15830    pub fn gtk_css_section_get_parent(section: *const GtkCssSection) -> *mut GtkCssSection;
15831    pub fn gtk_css_section_get_section_type(section: *const GtkCssSection) -> GtkCssSectionType;
15832    pub fn gtk_css_section_get_start_line(section: *const GtkCssSection) -> c_uint;
15833    pub fn gtk_css_section_get_start_position(section: *const GtkCssSection) -> c_uint;
15834    pub fn gtk_css_section_ref(section: *mut GtkCssSection) -> *mut GtkCssSection;
15835    pub fn gtk_css_section_unref(section: *mut GtkCssSection);
15836
15837    //=========================================================================
15838    // GtkGradient
15839    //=========================================================================
15840    pub fn gtk_gradient_get_type() -> GType;
15841    pub fn gtk_gradient_new_linear(
15842        x0: c_double,
15843        y0: c_double,
15844        x1: c_double,
15845        y1: c_double,
15846    ) -> *mut GtkGradient;
15847    pub fn gtk_gradient_new_radial(
15848        x0: c_double,
15849        y0: c_double,
15850        radius0: c_double,
15851        x1: c_double,
15852        y1: c_double,
15853        radius1: c_double,
15854    ) -> *mut GtkGradient;
15855    pub fn gtk_gradient_add_color_stop(
15856        gradient: *mut GtkGradient,
15857        offset: c_double,
15858        color: *mut GtkSymbolicColor,
15859    );
15860    pub fn gtk_gradient_ref(gradient: *mut GtkGradient) -> *mut GtkGradient;
15861    pub fn gtk_gradient_resolve(
15862        gradient: *mut GtkGradient,
15863        props: *mut GtkStyleProperties,
15864        resolved_gradient: *mut *mut cairo::cairo_pattern_t,
15865    ) -> gboolean;
15866    pub fn gtk_gradient_resolve_for_context(
15867        gradient: *mut GtkGradient,
15868        context: *mut GtkStyleContext,
15869    ) -> *mut cairo::cairo_pattern_t;
15870    pub fn gtk_gradient_to_string(gradient: *mut GtkGradient) -> *mut c_char;
15871    pub fn gtk_gradient_unref(gradient: *mut GtkGradient);
15872
15873    //=========================================================================
15874    // GtkIconSet
15875    //=========================================================================
15876    pub fn gtk_icon_set_get_type() -> GType;
15877    pub fn gtk_icon_set_new() -> *mut GtkIconSet;
15878    pub fn gtk_icon_set_new_from_pixbuf(pixbuf: *mut gdk_pixbuf::GdkPixbuf) -> *mut GtkIconSet;
15879    pub fn gtk_icon_set_add_source(icon_set: *mut GtkIconSet, source: *const GtkIconSource);
15880    pub fn gtk_icon_set_copy(icon_set: *mut GtkIconSet) -> *mut GtkIconSet;
15881    pub fn gtk_icon_set_get_sizes(
15882        icon_set: *mut GtkIconSet,
15883        sizes: *mut *mut GtkIconSize,
15884        n_sizes: *mut c_int,
15885    );
15886    pub fn gtk_icon_set_ref(icon_set: *mut GtkIconSet) -> *mut GtkIconSet;
15887    pub fn gtk_icon_set_render_icon(
15888        icon_set: *mut GtkIconSet,
15889        style: *mut GtkStyle,
15890        direction: GtkTextDirection,
15891        state: GtkStateType,
15892        size: GtkIconSize,
15893        widget: *mut GtkWidget,
15894        detail: *const c_char,
15895    ) -> *mut gdk_pixbuf::GdkPixbuf;
15896    pub fn gtk_icon_set_render_icon_pixbuf(
15897        icon_set: *mut GtkIconSet,
15898        context: *mut GtkStyleContext,
15899        size: GtkIconSize,
15900    ) -> *mut gdk_pixbuf::GdkPixbuf;
15901    pub fn gtk_icon_set_render_icon_surface(
15902        icon_set: *mut GtkIconSet,
15903        context: *mut GtkStyleContext,
15904        size: GtkIconSize,
15905        scale: c_int,
15906        for_window: *mut gdk::GdkWindow,
15907    ) -> *mut cairo::cairo_surface_t;
15908    pub fn gtk_icon_set_unref(icon_set: *mut GtkIconSet);
15909
15910    //=========================================================================
15911    // GtkIconSource
15912    //=========================================================================
15913    pub fn gtk_icon_source_get_type() -> GType;
15914    pub fn gtk_icon_source_new() -> *mut GtkIconSource;
15915    pub fn gtk_icon_source_copy(source: *const GtkIconSource) -> *mut GtkIconSource;
15916    pub fn gtk_icon_source_free(source: *mut GtkIconSource);
15917    pub fn gtk_icon_source_get_direction(source: *const GtkIconSource) -> GtkTextDirection;
15918    pub fn gtk_icon_source_get_direction_wildcarded(source: *const GtkIconSource) -> gboolean;
15919    pub fn gtk_icon_source_get_filename(source: *const GtkIconSource) -> *const c_char;
15920    pub fn gtk_icon_source_get_icon_name(source: *const GtkIconSource) -> *const c_char;
15921    pub fn gtk_icon_source_get_pixbuf(source: *const GtkIconSource) -> *mut gdk_pixbuf::GdkPixbuf;
15922    pub fn gtk_icon_source_get_size(source: *const GtkIconSource) -> GtkIconSize;
15923    pub fn gtk_icon_source_get_size_wildcarded(source: *const GtkIconSource) -> gboolean;
15924    pub fn gtk_icon_source_get_state(source: *const GtkIconSource) -> GtkStateType;
15925    pub fn gtk_icon_source_get_state_wildcarded(source: *const GtkIconSource) -> gboolean;
15926    pub fn gtk_icon_source_set_direction(source: *mut GtkIconSource, direction: GtkTextDirection);
15927    pub fn gtk_icon_source_set_direction_wildcarded(source: *mut GtkIconSource, setting: gboolean);
15928    pub fn gtk_icon_source_set_filename(source: *mut GtkIconSource, filename: *const c_char);
15929    pub fn gtk_icon_source_set_icon_name(source: *mut GtkIconSource, icon_name: *const c_char);
15930    pub fn gtk_icon_source_set_pixbuf(
15931        source: *mut GtkIconSource,
15932        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
15933    );
15934    pub fn gtk_icon_source_set_size(source: *mut GtkIconSource, size: GtkIconSize);
15935    pub fn gtk_icon_source_set_size_wildcarded(source: *mut GtkIconSource, setting: gboolean);
15936    pub fn gtk_icon_source_set_state(source: *mut GtkIconSource, state: GtkStateType);
15937    pub fn gtk_icon_source_set_state_wildcarded(source: *mut GtkIconSource, setting: gboolean);
15938
15939    //=========================================================================
15940    // GtkPaperSize
15941    //=========================================================================
15942    pub fn gtk_paper_size_get_type() -> GType;
15943    pub fn gtk_paper_size_new(name: *const c_char) -> *mut GtkPaperSize;
15944    pub fn gtk_paper_size_new_custom(
15945        name: *const c_char,
15946        display_name: *const c_char,
15947        width: c_double,
15948        height: c_double,
15949        unit: GtkUnit,
15950    ) -> *mut GtkPaperSize;
15951    #[cfg(any(feature = "v3_22", feature = "dox"))]
15952    pub fn gtk_paper_size_new_from_gvariant(variant: *mut glib::GVariant) -> *mut GtkPaperSize;
15953    #[cfg(any(feature = "v3_16", feature = "dox"))]
15954    pub fn gtk_paper_size_new_from_ipp(
15955        ipp_name: *const c_char,
15956        width: c_double,
15957        height: c_double,
15958    ) -> *mut GtkPaperSize;
15959    pub fn gtk_paper_size_new_from_key_file(
15960        key_file: *mut glib::GKeyFile,
15961        group_name: *const c_char,
15962        error: *mut *mut glib::GError,
15963    ) -> *mut GtkPaperSize;
15964    pub fn gtk_paper_size_new_from_ppd(
15965        ppd_name: *const c_char,
15966        ppd_display_name: *const c_char,
15967        width: c_double,
15968        height: c_double,
15969    ) -> *mut GtkPaperSize;
15970    pub fn gtk_paper_size_copy(other: *mut GtkPaperSize) -> *mut GtkPaperSize;
15971    pub fn gtk_paper_size_free(size: *mut GtkPaperSize);
15972    pub fn gtk_paper_size_get_default_bottom_margin(
15973        size: *mut GtkPaperSize,
15974        unit: GtkUnit,
15975    ) -> c_double;
15976    pub fn gtk_paper_size_get_default_left_margin(
15977        size: *mut GtkPaperSize,
15978        unit: GtkUnit,
15979    ) -> c_double;
15980    pub fn gtk_paper_size_get_default_right_margin(
15981        size: *mut GtkPaperSize,
15982        unit: GtkUnit,
15983    ) -> c_double;
15984    pub fn gtk_paper_size_get_default_top_margin(
15985        size: *mut GtkPaperSize,
15986        unit: GtkUnit,
15987    ) -> c_double;
15988    pub fn gtk_paper_size_get_display_name(size: *mut GtkPaperSize) -> *const c_char;
15989    pub fn gtk_paper_size_get_height(size: *mut GtkPaperSize, unit: GtkUnit) -> c_double;
15990    pub fn gtk_paper_size_get_name(size: *mut GtkPaperSize) -> *const c_char;
15991    pub fn gtk_paper_size_get_ppd_name(size: *mut GtkPaperSize) -> *const c_char;
15992    pub fn gtk_paper_size_get_width(size: *mut GtkPaperSize, unit: GtkUnit) -> c_double;
15993    pub fn gtk_paper_size_is_custom(size: *mut GtkPaperSize) -> gboolean;
15994    pub fn gtk_paper_size_is_equal(size1: *mut GtkPaperSize, size2: *mut GtkPaperSize) -> gboolean;
15995    pub fn gtk_paper_size_is_ipp(size: *mut GtkPaperSize) -> gboolean;
15996    pub fn gtk_paper_size_set_size(
15997        size: *mut GtkPaperSize,
15998        width: c_double,
15999        height: c_double,
16000        unit: GtkUnit,
16001    );
16002    #[cfg(any(feature = "v3_22", feature = "dox"))]
16003    pub fn gtk_paper_size_to_gvariant(paper_size: *mut GtkPaperSize) -> *mut glib::GVariant;
16004    pub fn gtk_paper_size_to_key_file(
16005        size: *mut GtkPaperSize,
16006        key_file: *mut glib::GKeyFile,
16007        group_name: *const c_char,
16008    );
16009    pub fn gtk_paper_size_get_default() -> *const c_char;
16010    pub fn gtk_paper_size_get_paper_sizes(include_custom: gboolean) -> *mut glib::GList;
16011
16012    //=========================================================================
16013    // GtkRcProperty
16014    //=========================================================================
16015    pub fn gtk_rc_property_parse_border(
16016        pspec: *const gobject::GParamSpec,
16017        gstring: *const glib::GString,
16018        property_value: *mut gobject::GValue,
16019    ) -> gboolean;
16020    pub fn gtk_rc_property_parse_color(
16021        pspec: *const gobject::GParamSpec,
16022        gstring: *const glib::GString,
16023        property_value: *mut gobject::GValue,
16024    ) -> gboolean;
16025    pub fn gtk_rc_property_parse_enum(
16026        pspec: *const gobject::GParamSpec,
16027        gstring: *const glib::GString,
16028        property_value: *mut gobject::GValue,
16029    ) -> gboolean;
16030    pub fn gtk_rc_property_parse_flags(
16031        pspec: *const gobject::GParamSpec,
16032        gstring: *const glib::GString,
16033        property_value: *mut gobject::GValue,
16034    ) -> gboolean;
16035    pub fn gtk_rc_property_parse_requisition(
16036        pspec: *const gobject::GParamSpec,
16037        gstring: *const glib::GString,
16038        property_value: *mut gobject::GValue,
16039    ) -> gboolean;
16040
16041    //=========================================================================
16042    // GtkRecentInfo
16043    //=========================================================================
16044    pub fn gtk_recent_info_get_type() -> GType;
16045    pub fn gtk_recent_info_create_app_info(
16046        info: *mut GtkRecentInfo,
16047        app_name: *const c_char,
16048        error: *mut *mut glib::GError,
16049    ) -> *mut gio::GAppInfo;
16050    pub fn gtk_recent_info_exists(info: *mut GtkRecentInfo) -> gboolean;
16051    pub fn gtk_recent_info_get_added(info: *mut GtkRecentInfo) -> c_long;
16052    pub fn gtk_recent_info_get_age(info: *mut GtkRecentInfo) -> c_int;
16053    pub fn gtk_recent_info_get_application_info(
16054        info: *mut GtkRecentInfo,
16055        app_name: *const c_char,
16056        app_exec: *mut *const c_char,
16057        count: *mut c_uint,
16058        time_: *mut c_long,
16059    ) -> gboolean;
16060    pub fn gtk_recent_info_get_applications(
16061        info: *mut GtkRecentInfo,
16062        length: *mut size_t,
16063    ) -> *mut *mut c_char;
16064    pub fn gtk_recent_info_get_description(info: *mut GtkRecentInfo) -> *const c_char;
16065    pub fn gtk_recent_info_get_display_name(info: *mut GtkRecentInfo) -> *const c_char;
16066    pub fn gtk_recent_info_get_gicon(info: *mut GtkRecentInfo) -> *mut gio::GIcon;
16067    pub fn gtk_recent_info_get_groups(
16068        info: *mut GtkRecentInfo,
16069        length: *mut size_t,
16070    ) -> *mut *mut c_char;
16071    pub fn gtk_recent_info_get_icon(
16072        info: *mut GtkRecentInfo,
16073        size: c_int,
16074    ) -> *mut gdk_pixbuf::GdkPixbuf;
16075    pub fn gtk_recent_info_get_mime_type(info: *mut GtkRecentInfo) -> *const c_char;
16076    pub fn gtk_recent_info_get_modified(info: *mut GtkRecentInfo) -> c_long;
16077    pub fn gtk_recent_info_get_private_hint(info: *mut GtkRecentInfo) -> gboolean;
16078    pub fn gtk_recent_info_get_short_name(info: *mut GtkRecentInfo) -> *mut c_char;
16079    pub fn gtk_recent_info_get_uri(info: *mut GtkRecentInfo) -> *const c_char;
16080    pub fn gtk_recent_info_get_uri_display(info: *mut GtkRecentInfo) -> *mut c_char;
16081    pub fn gtk_recent_info_get_visited(info: *mut GtkRecentInfo) -> c_long;
16082    pub fn gtk_recent_info_has_application(
16083        info: *mut GtkRecentInfo,
16084        app_name: *const c_char,
16085    ) -> gboolean;
16086    pub fn gtk_recent_info_has_group(
16087        info: *mut GtkRecentInfo,
16088        group_name: *const c_char,
16089    ) -> gboolean;
16090    pub fn gtk_recent_info_is_local(info: *mut GtkRecentInfo) -> gboolean;
16091    pub fn gtk_recent_info_last_application(info: *mut GtkRecentInfo) -> *mut c_char;
16092    pub fn gtk_recent_info_match(
16093        info_a: *mut GtkRecentInfo,
16094        info_b: *mut GtkRecentInfo,
16095    ) -> gboolean;
16096    pub fn gtk_recent_info_ref(info: *mut GtkRecentInfo) -> *mut GtkRecentInfo;
16097    pub fn gtk_recent_info_unref(info: *mut GtkRecentInfo);
16098
16099    //=========================================================================
16100    // GtkRequisition
16101    //=========================================================================
16102    pub fn gtk_requisition_get_type() -> GType;
16103    pub fn gtk_requisition_new() -> *mut GtkRequisition;
16104    pub fn gtk_requisition_copy(requisition: *const GtkRequisition) -> *mut GtkRequisition;
16105    pub fn gtk_requisition_free(requisition: *mut GtkRequisition);
16106
16107    //=========================================================================
16108    // GtkSelectionData
16109    //=========================================================================
16110    pub fn gtk_selection_data_get_type() -> GType;
16111    pub fn gtk_selection_data_copy(data: *const GtkSelectionData) -> *mut GtkSelectionData;
16112    pub fn gtk_selection_data_free(data: *mut GtkSelectionData);
16113    pub fn gtk_selection_data_get_data(selection_data: *const GtkSelectionData) -> *const u8;
16114    pub fn gtk_selection_data_get_data_type(
16115        selection_data: *const GtkSelectionData,
16116    ) -> gdk::GdkAtom;
16117    pub fn gtk_selection_data_get_data_with_length(
16118        selection_data: *const GtkSelectionData,
16119        length: *mut c_int,
16120    ) -> *const u8;
16121    pub fn gtk_selection_data_get_display(
16122        selection_data: *const GtkSelectionData,
16123    ) -> *mut gdk::GdkDisplay;
16124    pub fn gtk_selection_data_get_format(selection_data: *const GtkSelectionData) -> c_int;
16125    pub fn gtk_selection_data_get_length(selection_data: *const GtkSelectionData) -> c_int;
16126    pub fn gtk_selection_data_get_pixbuf(
16127        selection_data: *const GtkSelectionData,
16128    ) -> *mut gdk_pixbuf::GdkPixbuf;
16129    pub fn gtk_selection_data_get_selection(
16130        selection_data: *const GtkSelectionData,
16131    ) -> gdk::GdkAtom;
16132    pub fn gtk_selection_data_get_target(selection_data: *const GtkSelectionData) -> gdk::GdkAtom;
16133    pub fn gtk_selection_data_get_targets(
16134        selection_data: *const GtkSelectionData,
16135        targets: *mut *mut gdk::GdkAtom,
16136        n_atoms: *mut c_int,
16137    ) -> gboolean;
16138    pub fn gtk_selection_data_get_text(selection_data: *const GtkSelectionData) -> *mut c_char;
16139    pub fn gtk_selection_data_get_uris(selection_data: *const GtkSelectionData)
16140        -> *mut *mut c_char;
16141    pub fn gtk_selection_data_set(
16142        selection_data: *mut GtkSelectionData,
16143        type_: gdk::GdkAtom,
16144        format: c_int,
16145        data: *const u8,
16146        length: c_int,
16147    );
16148    pub fn gtk_selection_data_set_pixbuf(
16149        selection_data: *mut GtkSelectionData,
16150        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
16151    ) -> gboolean;
16152    pub fn gtk_selection_data_set_text(
16153        selection_data: *mut GtkSelectionData,
16154        str: *const c_char,
16155        len: c_int,
16156    ) -> gboolean;
16157    pub fn gtk_selection_data_set_uris(
16158        selection_data: *mut GtkSelectionData,
16159        uris: *mut *mut c_char,
16160    ) -> gboolean;
16161    pub fn gtk_selection_data_targets_include_image(
16162        selection_data: *const GtkSelectionData,
16163        writable: gboolean,
16164    ) -> gboolean;
16165    pub fn gtk_selection_data_targets_include_rich_text(
16166        selection_data: *const GtkSelectionData,
16167        buffer: *mut GtkTextBuffer,
16168    ) -> gboolean;
16169    pub fn gtk_selection_data_targets_include_text(
16170        selection_data: *const GtkSelectionData,
16171    ) -> gboolean;
16172    pub fn gtk_selection_data_targets_include_uri(
16173        selection_data: *const GtkSelectionData,
16174    ) -> gboolean;
16175
16176    //=========================================================================
16177    // GtkStockItem
16178    //=========================================================================
16179    pub fn gtk_stock_item_copy(item: *const GtkStockItem) -> *mut GtkStockItem;
16180    pub fn gtk_stock_item_free(item: *mut GtkStockItem);
16181
16182    //=========================================================================
16183    // GtkSymbolicColor
16184    //=========================================================================
16185    pub fn gtk_symbolic_color_get_type() -> GType;
16186    pub fn gtk_symbolic_color_new_alpha(
16187        color: *mut GtkSymbolicColor,
16188        factor: c_double,
16189    ) -> *mut GtkSymbolicColor;
16190    pub fn gtk_symbolic_color_new_literal(color: *const gdk::GdkRGBA) -> *mut GtkSymbolicColor;
16191    pub fn gtk_symbolic_color_new_mix(
16192        color1: *mut GtkSymbolicColor,
16193        color2: *mut GtkSymbolicColor,
16194        factor: c_double,
16195    ) -> *mut GtkSymbolicColor;
16196    pub fn gtk_symbolic_color_new_name(name: *const c_char) -> *mut GtkSymbolicColor;
16197    pub fn gtk_symbolic_color_new_shade(
16198        color: *mut GtkSymbolicColor,
16199        factor: c_double,
16200    ) -> *mut GtkSymbolicColor;
16201    pub fn gtk_symbolic_color_new_win32(
16202        theme_class: *const c_char,
16203        id: c_int,
16204    ) -> *mut GtkSymbolicColor;
16205    pub fn gtk_symbolic_color_ref(color: *mut GtkSymbolicColor) -> *mut GtkSymbolicColor;
16206    pub fn gtk_symbolic_color_resolve(
16207        color: *mut GtkSymbolicColor,
16208        props: *mut GtkStyleProperties,
16209        resolved_color: *mut gdk::GdkRGBA,
16210    ) -> gboolean;
16211    pub fn gtk_symbolic_color_to_string(color: *mut GtkSymbolicColor) -> *mut c_char;
16212    pub fn gtk_symbolic_color_unref(color: *mut GtkSymbolicColor);
16213
16214    //=========================================================================
16215    // GtkTargetEntry
16216    //=========================================================================
16217    pub fn gtk_target_entry_get_type() -> GType;
16218    pub fn gtk_target_entry_new(
16219        target: *const c_char,
16220        flags: c_uint,
16221        info: c_uint,
16222    ) -> *mut GtkTargetEntry;
16223    pub fn gtk_target_entry_copy(data: *mut GtkTargetEntry) -> *mut GtkTargetEntry;
16224    pub fn gtk_target_entry_free(data: *mut GtkTargetEntry);
16225
16226    //=========================================================================
16227    // GtkTargetList
16228    //=========================================================================
16229    pub fn gtk_target_list_get_type() -> GType;
16230    pub fn gtk_target_list_new(
16231        targets: *const GtkTargetEntry,
16232        ntargets: c_uint,
16233    ) -> *mut GtkTargetList;
16234    pub fn gtk_target_list_add(
16235        list: *mut GtkTargetList,
16236        target: gdk::GdkAtom,
16237        flags: c_uint,
16238        info: c_uint,
16239    );
16240    pub fn gtk_target_list_add_image_targets(
16241        list: *mut GtkTargetList,
16242        info: c_uint,
16243        writable: gboolean,
16244    );
16245    pub fn gtk_target_list_add_rich_text_targets(
16246        list: *mut GtkTargetList,
16247        info: c_uint,
16248        deserializable: gboolean,
16249        buffer: *mut GtkTextBuffer,
16250    );
16251    pub fn gtk_target_list_add_table(
16252        list: *mut GtkTargetList,
16253        targets: *const GtkTargetEntry,
16254        ntargets: c_uint,
16255    );
16256    pub fn gtk_target_list_add_text_targets(list: *mut GtkTargetList, info: c_uint);
16257    pub fn gtk_target_list_add_uri_targets(list: *mut GtkTargetList, info: c_uint);
16258    pub fn gtk_target_list_find(
16259        list: *mut GtkTargetList,
16260        target: gdk::GdkAtom,
16261        info: *mut c_uint,
16262    ) -> gboolean;
16263    pub fn gtk_target_list_ref(list: *mut GtkTargetList) -> *mut GtkTargetList;
16264    pub fn gtk_target_list_remove(list: *mut GtkTargetList, target: gdk::GdkAtom);
16265    pub fn gtk_target_list_unref(list: *mut GtkTargetList);
16266
16267    //=========================================================================
16268    // GtkTextAttributes
16269    //=========================================================================
16270    pub fn gtk_text_attributes_get_type() -> GType;
16271    pub fn gtk_text_attributes_new() -> *mut GtkTextAttributes;
16272    pub fn gtk_text_attributes_copy(src: *mut GtkTextAttributes) -> *mut GtkTextAttributes;
16273    pub fn gtk_text_attributes_copy_values(
16274        src: *mut GtkTextAttributes,
16275        dest: *mut GtkTextAttributes,
16276    );
16277    pub fn gtk_text_attributes_ref(values: *mut GtkTextAttributes) -> *mut GtkTextAttributes;
16278    pub fn gtk_text_attributes_unref(values: *mut GtkTextAttributes);
16279
16280    //=========================================================================
16281    // GtkTextIter
16282    //=========================================================================
16283    pub fn gtk_text_iter_get_type() -> GType;
16284    pub fn gtk_text_iter_assign(iter: *mut GtkTextIter, other: *const GtkTextIter);
16285    pub fn gtk_text_iter_backward_char(iter: *mut GtkTextIter) -> gboolean;
16286    pub fn gtk_text_iter_backward_chars(iter: *mut GtkTextIter, count: c_int) -> gboolean;
16287    pub fn gtk_text_iter_backward_cursor_position(iter: *mut GtkTextIter) -> gboolean;
16288    pub fn gtk_text_iter_backward_cursor_positions(
16289        iter: *mut GtkTextIter,
16290        count: c_int,
16291    ) -> gboolean;
16292    pub fn gtk_text_iter_backward_find_char(
16293        iter: *mut GtkTextIter,
16294        pred: GtkTextCharPredicate,
16295        user_data: gpointer,
16296        limit: *const GtkTextIter,
16297    ) -> gboolean;
16298    pub fn gtk_text_iter_backward_line(iter: *mut GtkTextIter) -> gboolean;
16299    pub fn gtk_text_iter_backward_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean;
16300    pub fn gtk_text_iter_backward_search(
16301        iter: *const GtkTextIter,
16302        str: *const c_char,
16303        flags: GtkTextSearchFlags,
16304        match_start: *mut GtkTextIter,
16305        match_end: *mut GtkTextIter,
16306        limit: *const GtkTextIter,
16307    ) -> gboolean;
16308    pub fn gtk_text_iter_backward_sentence_start(iter: *mut GtkTextIter) -> gboolean;
16309    pub fn gtk_text_iter_backward_sentence_starts(iter: *mut GtkTextIter, count: c_int)
16310        -> gboolean;
16311    pub fn gtk_text_iter_backward_to_tag_toggle(
16312        iter: *mut GtkTextIter,
16313        tag: *mut GtkTextTag,
16314    ) -> gboolean;
16315    pub fn gtk_text_iter_backward_visible_cursor_position(iter: *mut GtkTextIter) -> gboolean;
16316    pub fn gtk_text_iter_backward_visible_cursor_positions(
16317        iter: *mut GtkTextIter,
16318        count: c_int,
16319    ) -> gboolean;
16320    pub fn gtk_text_iter_backward_visible_line(iter: *mut GtkTextIter) -> gboolean;
16321    pub fn gtk_text_iter_backward_visible_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean;
16322    pub fn gtk_text_iter_backward_visible_word_start(iter: *mut GtkTextIter) -> gboolean;
16323    pub fn gtk_text_iter_backward_visible_word_starts(
16324        iter: *mut GtkTextIter,
16325        count: c_int,
16326    ) -> gboolean;
16327    pub fn gtk_text_iter_backward_word_start(iter: *mut GtkTextIter) -> gboolean;
16328    pub fn gtk_text_iter_backward_word_starts(iter: *mut GtkTextIter, count: c_int) -> gboolean;
16329    pub fn gtk_text_iter_begins_tag(iter: *const GtkTextIter, tag: *mut GtkTextTag) -> gboolean;
16330    pub fn gtk_text_iter_can_insert(
16331        iter: *const GtkTextIter,
16332        default_editability: gboolean,
16333    ) -> gboolean;
16334    pub fn gtk_text_iter_compare(lhs: *const GtkTextIter, rhs: *const GtkTextIter) -> c_int;
16335    pub fn gtk_text_iter_copy(iter: *const GtkTextIter) -> *mut GtkTextIter;
16336    pub fn gtk_text_iter_editable(iter: *const GtkTextIter, default_setting: gboolean) -> gboolean;
16337    pub fn gtk_text_iter_ends_line(iter: *const GtkTextIter) -> gboolean;
16338    pub fn gtk_text_iter_ends_sentence(iter: *const GtkTextIter) -> gboolean;
16339    pub fn gtk_text_iter_ends_tag(iter: *const GtkTextIter, tag: *mut GtkTextTag) -> gboolean;
16340    pub fn gtk_text_iter_ends_word(iter: *const GtkTextIter) -> gboolean;
16341    pub fn gtk_text_iter_equal(lhs: *const GtkTextIter, rhs: *const GtkTextIter) -> gboolean;
16342    pub fn gtk_text_iter_forward_char(iter: *mut GtkTextIter) -> gboolean;
16343    pub fn gtk_text_iter_forward_chars(iter: *mut GtkTextIter, count: c_int) -> gboolean;
16344    pub fn gtk_text_iter_forward_cursor_position(iter: *mut GtkTextIter) -> gboolean;
16345    pub fn gtk_text_iter_forward_cursor_positions(iter: *mut GtkTextIter, count: c_int)
16346        -> gboolean;
16347    pub fn gtk_text_iter_forward_find_char(
16348        iter: *mut GtkTextIter,
16349        pred: GtkTextCharPredicate,
16350        user_data: gpointer,
16351        limit: *const GtkTextIter,
16352    ) -> gboolean;
16353    pub fn gtk_text_iter_forward_line(iter: *mut GtkTextIter) -> gboolean;
16354    pub fn gtk_text_iter_forward_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean;
16355    pub fn gtk_text_iter_forward_search(
16356        iter: *const GtkTextIter,
16357        str: *const c_char,
16358        flags: GtkTextSearchFlags,
16359        match_start: *mut GtkTextIter,
16360        match_end: *mut GtkTextIter,
16361        limit: *const GtkTextIter,
16362    ) -> gboolean;
16363    pub fn gtk_text_iter_forward_sentence_end(iter: *mut GtkTextIter) -> gboolean;
16364    pub fn gtk_text_iter_forward_sentence_ends(iter: *mut GtkTextIter, count: c_int) -> gboolean;
16365    pub fn gtk_text_iter_forward_to_end(iter: *mut GtkTextIter);
16366    pub fn gtk_text_iter_forward_to_line_end(iter: *mut GtkTextIter) -> gboolean;
16367    pub fn gtk_text_iter_forward_to_tag_toggle(
16368        iter: *mut GtkTextIter,
16369        tag: *mut GtkTextTag,
16370    ) -> gboolean;
16371    pub fn gtk_text_iter_forward_visible_cursor_position(iter: *mut GtkTextIter) -> gboolean;
16372    pub fn gtk_text_iter_forward_visible_cursor_positions(
16373        iter: *mut GtkTextIter,
16374        count: c_int,
16375    ) -> gboolean;
16376    pub fn gtk_text_iter_forward_visible_line(iter: *mut GtkTextIter) -> gboolean;
16377    pub fn gtk_text_iter_forward_visible_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean;
16378    pub fn gtk_text_iter_forward_visible_word_end(iter: *mut GtkTextIter) -> gboolean;
16379    pub fn gtk_text_iter_forward_visible_word_ends(
16380        iter: *mut GtkTextIter,
16381        count: c_int,
16382    ) -> gboolean;
16383    pub fn gtk_text_iter_forward_word_end(iter: *mut GtkTextIter) -> gboolean;
16384    pub fn gtk_text_iter_forward_word_ends(iter: *mut GtkTextIter, count: c_int) -> gboolean;
16385    pub fn gtk_text_iter_free(iter: *mut GtkTextIter);
16386    pub fn gtk_text_iter_get_attributes(
16387        iter: *const GtkTextIter,
16388        values: *mut GtkTextAttributes,
16389    ) -> gboolean;
16390    pub fn gtk_text_iter_get_buffer(iter: *const GtkTextIter) -> *mut GtkTextBuffer;
16391    pub fn gtk_text_iter_get_bytes_in_line(iter: *const GtkTextIter) -> c_int;
16392    pub fn gtk_text_iter_get_char(iter: *const GtkTextIter) -> u32;
16393    pub fn gtk_text_iter_get_chars_in_line(iter: *const GtkTextIter) -> c_int;
16394    pub fn gtk_text_iter_get_child_anchor(iter: *const GtkTextIter) -> *mut GtkTextChildAnchor;
16395    pub fn gtk_text_iter_get_language(iter: *const GtkTextIter) -> *mut pango::PangoLanguage;
16396    pub fn gtk_text_iter_get_line(iter: *const GtkTextIter) -> c_int;
16397    pub fn gtk_text_iter_get_line_index(iter: *const GtkTextIter) -> c_int;
16398    pub fn gtk_text_iter_get_line_offset(iter: *const GtkTextIter) -> c_int;
16399    pub fn gtk_text_iter_get_marks(iter: *const GtkTextIter) -> *mut glib::GSList;
16400    pub fn gtk_text_iter_get_offset(iter: *const GtkTextIter) -> c_int;
16401    pub fn gtk_text_iter_get_pixbuf(iter: *const GtkTextIter) -> *mut gdk_pixbuf::GdkPixbuf;
16402    pub fn gtk_text_iter_get_slice(
16403        start: *const GtkTextIter,
16404        end: *const GtkTextIter,
16405    ) -> *mut c_char;
16406    pub fn gtk_text_iter_get_tags(iter: *const GtkTextIter) -> *mut glib::GSList;
16407    pub fn gtk_text_iter_get_text(
16408        start: *const GtkTextIter,
16409        end: *const GtkTextIter,
16410    ) -> *mut c_char;
16411    pub fn gtk_text_iter_get_toggled_tags(
16412        iter: *const GtkTextIter,
16413        toggled_on: gboolean,
16414    ) -> *mut glib::GSList;
16415    pub fn gtk_text_iter_get_visible_line_index(iter: *const GtkTextIter) -> c_int;
16416    pub fn gtk_text_iter_get_visible_line_offset(iter: *const GtkTextIter) -> c_int;
16417    pub fn gtk_text_iter_get_visible_slice(
16418        start: *const GtkTextIter,
16419        end: *const GtkTextIter,
16420    ) -> *mut c_char;
16421    pub fn gtk_text_iter_get_visible_text(
16422        start: *const GtkTextIter,
16423        end: *const GtkTextIter,
16424    ) -> *mut c_char;
16425    pub fn gtk_text_iter_has_tag(iter: *const GtkTextIter, tag: *mut GtkTextTag) -> gboolean;
16426    pub fn gtk_text_iter_in_range(
16427        iter: *const GtkTextIter,
16428        start: *const GtkTextIter,
16429        end: *const GtkTextIter,
16430    ) -> gboolean;
16431    pub fn gtk_text_iter_inside_sentence(iter: *const GtkTextIter) -> gboolean;
16432    pub fn gtk_text_iter_inside_word(iter: *const GtkTextIter) -> gboolean;
16433    pub fn gtk_text_iter_is_cursor_position(iter: *const GtkTextIter) -> gboolean;
16434    pub fn gtk_text_iter_is_end(iter: *const GtkTextIter) -> gboolean;
16435    pub fn gtk_text_iter_is_start(iter: *const GtkTextIter) -> gboolean;
16436    pub fn gtk_text_iter_order(first: *mut GtkTextIter, second: *mut GtkTextIter);
16437    pub fn gtk_text_iter_set_line(iter: *mut GtkTextIter, line_number: c_int);
16438    pub fn gtk_text_iter_set_line_index(iter: *mut GtkTextIter, byte_on_line: c_int);
16439    pub fn gtk_text_iter_set_line_offset(iter: *mut GtkTextIter, char_on_line: c_int);
16440    pub fn gtk_text_iter_set_offset(iter: *mut GtkTextIter, char_offset: c_int);
16441    pub fn gtk_text_iter_set_visible_line_index(iter: *mut GtkTextIter, byte_on_line: c_int);
16442    pub fn gtk_text_iter_set_visible_line_offset(iter: *mut GtkTextIter, char_on_line: c_int);
16443    pub fn gtk_text_iter_starts_line(iter: *const GtkTextIter) -> gboolean;
16444    pub fn gtk_text_iter_starts_sentence(iter: *const GtkTextIter) -> gboolean;
16445    #[cfg(any(feature = "v3_20", feature = "dox"))]
16446    pub fn gtk_text_iter_starts_tag(iter: *const GtkTextIter, tag: *mut GtkTextTag) -> gboolean;
16447    pub fn gtk_text_iter_starts_word(iter: *const GtkTextIter) -> gboolean;
16448    pub fn gtk_text_iter_toggles_tag(iter: *const GtkTextIter, tag: *mut GtkTextTag) -> gboolean;
16449
16450    //=========================================================================
16451    // GtkTreeIter
16452    //=========================================================================
16453    pub fn gtk_tree_iter_get_type() -> GType;
16454    pub fn gtk_tree_iter_copy(iter: *mut GtkTreeIter) -> *mut GtkTreeIter;
16455    pub fn gtk_tree_iter_free(iter: *mut GtkTreeIter);
16456
16457    //=========================================================================
16458    // GtkTreePath
16459    //=========================================================================
16460    pub fn gtk_tree_path_get_type() -> GType;
16461    pub fn gtk_tree_path_new() -> *mut GtkTreePath;
16462    pub fn gtk_tree_path_new_first() -> *mut GtkTreePath;
16463    pub fn gtk_tree_path_new_from_indices(first_index: c_int, ...) -> *mut GtkTreePath;
16464    pub fn gtk_tree_path_new_from_indicesv(indices: *mut c_int, length: size_t)
16465        -> *mut GtkTreePath;
16466    pub fn gtk_tree_path_new_from_string(path: *const c_char) -> *mut GtkTreePath;
16467    pub fn gtk_tree_path_append_index(path: *mut GtkTreePath, index_: c_int);
16468    pub fn gtk_tree_path_compare(a: *const GtkTreePath, b: *const GtkTreePath) -> c_int;
16469    pub fn gtk_tree_path_copy(path: *const GtkTreePath) -> *mut GtkTreePath;
16470    pub fn gtk_tree_path_down(path: *mut GtkTreePath);
16471    pub fn gtk_tree_path_free(path: *mut GtkTreePath);
16472    pub fn gtk_tree_path_get_depth(path: *mut GtkTreePath) -> c_int;
16473    pub fn gtk_tree_path_get_indices(path: *mut GtkTreePath) -> *mut c_int;
16474    pub fn gtk_tree_path_get_indices_with_depth(
16475        path: *mut GtkTreePath,
16476        depth: *mut c_int,
16477    ) -> *mut c_int;
16478    pub fn gtk_tree_path_is_ancestor(
16479        path: *mut GtkTreePath,
16480        descendant: *mut GtkTreePath,
16481    ) -> gboolean;
16482    pub fn gtk_tree_path_is_descendant(
16483        path: *mut GtkTreePath,
16484        ancestor: *mut GtkTreePath,
16485    ) -> gboolean;
16486    pub fn gtk_tree_path_next(path: *mut GtkTreePath);
16487    pub fn gtk_tree_path_prepend_index(path: *mut GtkTreePath, index_: c_int);
16488    pub fn gtk_tree_path_prev(path: *mut GtkTreePath) -> gboolean;
16489    pub fn gtk_tree_path_to_string(path: *mut GtkTreePath) -> *mut c_char;
16490    pub fn gtk_tree_path_up(path: *mut GtkTreePath) -> gboolean;
16491
16492    //=========================================================================
16493    // GtkTreeRowReference
16494    //=========================================================================
16495    pub fn gtk_tree_row_reference_get_type() -> GType;
16496    pub fn gtk_tree_row_reference_new(
16497        model: *mut GtkTreeModel,
16498        path: *mut GtkTreePath,
16499    ) -> *mut GtkTreeRowReference;
16500    pub fn gtk_tree_row_reference_new_proxy(
16501        proxy: *mut gobject::GObject,
16502        model: *mut GtkTreeModel,
16503        path: *mut GtkTreePath,
16504    ) -> *mut GtkTreeRowReference;
16505    pub fn gtk_tree_row_reference_copy(
16506        reference: *mut GtkTreeRowReference,
16507    ) -> *mut GtkTreeRowReference;
16508    pub fn gtk_tree_row_reference_free(reference: *mut GtkTreeRowReference);
16509    pub fn gtk_tree_row_reference_get_model(
16510        reference: *mut GtkTreeRowReference,
16511    ) -> *mut GtkTreeModel;
16512    pub fn gtk_tree_row_reference_get_path(reference: *mut GtkTreeRowReference)
16513        -> *mut GtkTreePath;
16514    pub fn gtk_tree_row_reference_valid(reference: *mut GtkTreeRowReference) -> gboolean;
16515    pub fn gtk_tree_row_reference_deleted(proxy: *mut gobject::GObject, path: *mut GtkTreePath);
16516    pub fn gtk_tree_row_reference_inserted(proxy: *mut gobject::GObject, path: *mut GtkTreePath);
16517    pub fn gtk_tree_row_reference_reordered(
16518        proxy: *mut gobject::GObject,
16519        path: *mut GtkTreePath,
16520        iter: *mut GtkTreeIter,
16521        new_order: *mut c_int,
16522    );
16523
16524    //=========================================================================
16525    // GtkWidgetClass
16526    //=========================================================================
16527    pub fn gtk_widget_class_bind_template_callback_full(
16528        widget_class: *mut GtkWidgetClass,
16529        callback_name: *const c_char,
16530        callback_symbol: gobject::GCallback,
16531    );
16532    pub fn gtk_widget_class_bind_template_child_full(
16533        widget_class: *mut GtkWidgetClass,
16534        name: *const c_char,
16535        internal_child: gboolean,
16536        struct_offset: ssize_t,
16537    );
16538    pub fn gtk_widget_class_find_style_property(
16539        klass: *mut GtkWidgetClass,
16540        property_name: *const c_char,
16541    ) -> *mut gobject::GParamSpec;
16542    #[cfg(any(feature = "v3_20", feature = "dox"))]
16543    pub fn gtk_widget_class_get_css_name(widget_class: *mut GtkWidgetClass) -> *const c_char;
16544    pub fn gtk_widget_class_install_style_property(
16545        klass: *mut GtkWidgetClass,
16546        pspec: *mut gobject::GParamSpec,
16547    );
16548    pub fn gtk_widget_class_install_style_property_parser(
16549        klass: *mut GtkWidgetClass,
16550        pspec: *mut gobject::GParamSpec,
16551        parser: GtkRcPropertyParser,
16552    );
16553    pub fn gtk_widget_class_list_style_properties(
16554        klass: *mut GtkWidgetClass,
16555        n_properties: *mut c_uint,
16556    ) -> *mut *mut gobject::GParamSpec;
16557    pub fn gtk_widget_class_set_accessible_role(
16558        widget_class: *mut GtkWidgetClass,
16559        role: atk::AtkRole,
16560    );
16561    pub fn gtk_widget_class_set_accessible_type(widget_class: *mut GtkWidgetClass, type_: GType);
16562    pub fn gtk_widget_class_set_connect_func(
16563        widget_class: *mut GtkWidgetClass,
16564        connect_func: GtkBuilderConnectFunc,
16565        connect_data: gpointer,
16566        connect_data_destroy: glib::GDestroyNotify,
16567    );
16568    #[cfg(any(feature = "v3_20", feature = "dox"))]
16569    pub fn gtk_widget_class_set_css_name(widget_class: *mut GtkWidgetClass, name: *const c_char);
16570    pub fn gtk_widget_class_set_template(
16571        widget_class: *mut GtkWidgetClass,
16572        template_bytes: *mut glib::GBytes,
16573    );
16574    pub fn gtk_widget_class_set_template_from_resource(
16575        widget_class: *mut GtkWidgetClass,
16576        resource_name: *const c_char,
16577    );
16578
16579    //=========================================================================
16580    // GtkWidgetPath
16581    //=========================================================================
16582    pub fn gtk_widget_path_get_type() -> GType;
16583    pub fn gtk_widget_path_new() -> *mut GtkWidgetPath;
16584    pub fn gtk_widget_path_append_for_widget(
16585        path: *mut GtkWidgetPath,
16586        widget: *mut GtkWidget,
16587    ) -> c_int;
16588    pub fn gtk_widget_path_append_type(path: *mut GtkWidgetPath, type_: GType) -> c_int;
16589    pub fn gtk_widget_path_append_with_siblings(
16590        path: *mut GtkWidgetPath,
16591        siblings: *mut GtkWidgetPath,
16592        sibling_index: c_uint,
16593    ) -> c_int;
16594    pub fn gtk_widget_path_copy(path: *const GtkWidgetPath) -> *mut GtkWidgetPath;
16595    pub fn gtk_widget_path_free(path: *mut GtkWidgetPath);
16596    pub fn gtk_widget_path_get_object_type(path: *const GtkWidgetPath) -> GType;
16597    pub fn gtk_widget_path_has_parent(path: *const GtkWidgetPath, type_: GType) -> gboolean;
16598    pub fn gtk_widget_path_is_type(path: *const GtkWidgetPath, type_: GType) -> gboolean;
16599    pub fn gtk_widget_path_iter_add_class(
16600        path: *mut GtkWidgetPath,
16601        pos: c_int,
16602        name: *const c_char,
16603    );
16604    pub fn gtk_widget_path_iter_add_region(
16605        path: *mut GtkWidgetPath,
16606        pos: c_int,
16607        name: *const c_char,
16608        flags: GtkRegionFlags,
16609    );
16610    pub fn gtk_widget_path_iter_clear_classes(path: *mut GtkWidgetPath, pos: c_int);
16611    pub fn gtk_widget_path_iter_clear_regions(path: *mut GtkWidgetPath, pos: c_int);
16612    pub fn gtk_widget_path_iter_get_name(path: *const GtkWidgetPath, pos: c_int) -> *const c_char;
16613    #[cfg(any(feature = "v3_20", feature = "dox"))]
16614    pub fn gtk_widget_path_iter_get_object_name(
16615        path: *const GtkWidgetPath,
16616        pos: c_int,
16617    ) -> *const c_char;
16618    pub fn gtk_widget_path_iter_get_object_type(path: *const GtkWidgetPath, pos: c_int) -> GType;
16619    pub fn gtk_widget_path_iter_get_sibling_index(path: *const GtkWidgetPath, pos: c_int)
16620        -> c_uint;
16621    pub fn gtk_widget_path_iter_get_siblings(
16622        path: *const GtkWidgetPath,
16623        pos: c_int,
16624    ) -> *const GtkWidgetPath;
16625    pub fn gtk_widget_path_iter_get_state(path: *const GtkWidgetPath, pos: c_int) -> GtkStateFlags;
16626    pub fn gtk_widget_path_iter_has_class(
16627        path: *const GtkWidgetPath,
16628        pos: c_int,
16629        name: *const c_char,
16630    ) -> gboolean;
16631    pub fn gtk_widget_path_iter_has_name(
16632        path: *const GtkWidgetPath,
16633        pos: c_int,
16634        name: *const c_char,
16635    ) -> gboolean;
16636    pub fn gtk_widget_path_iter_has_qclass(
16637        path: *const GtkWidgetPath,
16638        pos: c_int,
16639        qname: glib::GQuark,
16640    ) -> gboolean;
16641    pub fn gtk_widget_path_iter_has_qname(
16642        path: *const GtkWidgetPath,
16643        pos: c_int,
16644        qname: glib::GQuark,
16645    ) -> gboolean;
16646    pub fn gtk_widget_path_iter_has_qregion(
16647        path: *const GtkWidgetPath,
16648        pos: c_int,
16649        qname: glib::GQuark,
16650        flags: *mut GtkRegionFlags,
16651    ) -> gboolean;
16652    pub fn gtk_widget_path_iter_has_region(
16653        path: *const GtkWidgetPath,
16654        pos: c_int,
16655        name: *const c_char,
16656        flags: *mut GtkRegionFlags,
16657    ) -> gboolean;
16658    pub fn gtk_widget_path_iter_list_classes(
16659        path: *const GtkWidgetPath,
16660        pos: c_int,
16661    ) -> *mut glib::GSList;
16662    pub fn gtk_widget_path_iter_list_regions(
16663        path: *const GtkWidgetPath,
16664        pos: c_int,
16665    ) -> *mut glib::GSList;
16666    pub fn gtk_widget_path_iter_remove_class(
16667        path: *mut GtkWidgetPath,
16668        pos: c_int,
16669        name: *const c_char,
16670    );
16671    pub fn gtk_widget_path_iter_remove_region(
16672        path: *mut GtkWidgetPath,
16673        pos: c_int,
16674        name: *const c_char,
16675    );
16676    pub fn gtk_widget_path_iter_set_name(path: *mut GtkWidgetPath, pos: c_int, name: *const c_char);
16677    #[cfg(any(feature = "v3_20", feature = "dox"))]
16678    pub fn gtk_widget_path_iter_set_object_name(
16679        path: *mut GtkWidgetPath,
16680        pos: c_int,
16681        name: *const c_char,
16682    );
16683    pub fn gtk_widget_path_iter_set_object_type(path: *mut GtkWidgetPath, pos: c_int, type_: GType);
16684    pub fn gtk_widget_path_iter_set_state(
16685        path: *mut GtkWidgetPath,
16686        pos: c_int,
16687        state: GtkStateFlags,
16688    );
16689    pub fn gtk_widget_path_length(path: *const GtkWidgetPath) -> c_int;
16690    pub fn gtk_widget_path_prepend_type(path: *mut GtkWidgetPath, type_: GType);
16691    pub fn gtk_widget_path_ref(path: *mut GtkWidgetPath) -> *mut GtkWidgetPath;
16692    pub fn gtk_widget_path_to_string(path: *const GtkWidgetPath) -> *mut c_char;
16693    pub fn gtk_widget_path_unref(path: *mut GtkWidgetPath);
16694
16695    //=========================================================================
16696    // GtkAboutDialog
16697    //=========================================================================
16698    pub fn gtk_about_dialog_get_type() -> GType;
16699    pub fn gtk_about_dialog_new() -> *mut GtkWidget;
16700    pub fn gtk_about_dialog_add_credit_section(
16701        about: *mut GtkAboutDialog,
16702        section_name: *const c_char,
16703        people: *mut *const c_char,
16704    );
16705    pub fn gtk_about_dialog_get_artists(about: *mut GtkAboutDialog) -> *const *const c_char;
16706    pub fn gtk_about_dialog_get_authors(about: *mut GtkAboutDialog) -> *const *const c_char;
16707    pub fn gtk_about_dialog_get_comments(about: *mut GtkAboutDialog) -> *const c_char;
16708    pub fn gtk_about_dialog_get_copyright(about: *mut GtkAboutDialog) -> *const c_char;
16709    pub fn gtk_about_dialog_get_documenters(about: *mut GtkAboutDialog) -> *const *const c_char;
16710    pub fn gtk_about_dialog_get_license(about: *mut GtkAboutDialog) -> *const c_char;
16711    pub fn gtk_about_dialog_get_license_type(about: *mut GtkAboutDialog) -> GtkLicense;
16712    pub fn gtk_about_dialog_get_logo(about: *mut GtkAboutDialog) -> *mut gdk_pixbuf::GdkPixbuf;
16713    pub fn gtk_about_dialog_get_logo_icon_name(about: *mut GtkAboutDialog) -> *const c_char;
16714    pub fn gtk_about_dialog_get_program_name(about: *mut GtkAboutDialog) -> *const c_char;
16715    pub fn gtk_about_dialog_get_translator_credits(about: *mut GtkAboutDialog) -> *const c_char;
16716    pub fn gtk_about_dialog_get_version(about: *mut GtkAboutDialog) -> *const c_char;
16717    pub fn gtk_about_dialog_get_website(about: *mut GtkAboutDialog) -> *const c_char;
16718    pub fn gtk_about_dialog_get_website_label(about: *mut GtkAboutDialog) -> *const c_char;
16719    pub fn gtk_about_dialog_get_wrap_license(about: *mut GtkAboutDialog) -> gboolean;
16720    pub fn gtk_about_dialog_set_artists(about: *mut GtkAboutDialog, artists: *mut *const c_char);
16721    pub fn gtk_about_dialog_set_authors(about: *mut GtkAboutDialog, authors: *mut *const c_char);
16722    pub fn gtk_about_dialog_set_comments(about: *mut GtkAboutDialog, comments: *const c_char);
16723    pub fn gtk_about_dialog_set_copyright(about: *mut GtkAboutDialog, copyright: *const c_char);
16724    pub fn gtk_about_dialog_set_documenters(
16725        about: *mut GtkAboutDialog,
16726        documenters: *mut *const c_char,
16727    );
16728    pub fn gtk_about_dialog_set_license(about: *mut GtkAboutDialog, license: *const c_char);
16729    pub fn gtk_about_dialog_set_license_type(about: *mut GtkAboutDialog, license_type: GtkLicense);
16730    pub fn gtk_about_dialog_set_logo(about: *mut GtkAboutDialog, logo: *mut gdk_pixbuf::GdkPixbuf);
16731    pub fn gtk_about_dialog_set_logo_icon_name(
16732        about: *mut GtkAboutDialog,
16733        icon_name: *const c_char,
16734    );
16735    pub fn gtk_about_dialog_set_program_name(about: *mut GtkAboutDialog, name: *const c_char);
16736    pub fn gtk_about_dialog_set_translator_credits(
16737        about: *mut GtkAboutDialog,
16738        translator_credits: *const c_char,
16739    );
16740    pub fn gtk_about_dialog_set_version(about: *mut GtkAboutDialog, version: *const c_char);
16741    pub fn gtk_about_dialog_set_website(about: *mut GtkAboutDialog, website: *const c_char);
16742    pub fn gtk_about_dialog_set_website_label(
16743        about: *mut GtkAboutDialog,
16744        website_label: *const c_char,
16745    );
16746    pub fn gtk_about_dialog_set_wrap_license(about: *mut GtkAboutDialog, wrap_license: gboolean);
16747
16748    //=========================================================================
16749    // GtkAccelGroup
16750    //=========================================================================
16751    pub fn gtk_accel_group_get_type() -> GType;
16752    pub fn gtk_accel_group_new() -> *mut GtkAccelGroup;
16753    pub fn gtk_accel_group_from_accel_closure(
16754        closure: *mut gobject::GClosure,
16755    ) -> *mut GtkAccelGroup;
16756    pub fn gtk_accel_group_activate(
16757        accel_group: *mut GtkAccelGroup,
16758        accel_quark: glib::GQuark,
16759        acceleratable: *mut gobject::GObject,
16760        accel_key: c_uint,
16761        accel_mods: gdk::GdkModifierType,
16762    ) -> gboolean;
16763    pub fn gtk_accel_group_connect(
16764        accel_group: *mut GtkAccelGroup,
16765        accel_key: c_uint,
16766        accel_mods: gdk::GdkModifierType,
16767        accel_flags: GtkAccelFlags,
16768        closure: *mut gobject::GClosure,
16769    );
16770    pub fn gtk_accel_group_connect_by_path(
16771        accel_group: *mut GtkAccelGroup,
16772        accel_path: *const c_char,
16773        closure: *mut gobject::GClosure,
16774    );
16775    pub fn gtk_accel_group_disconnect(
16776        accel_group: *mut GtkAccelGroup,
16777        closure: *mut gobject::GClosure,
16778    ) -> gboolean;
16779    pub fn gtk_accel_group_disconnect_key(
16780        accel_group: *mut GtkAccelGroup,
16781        accel_key: c_uint,
16782        accel_mods: gdk::GdkModifierType,
16783    ) -> gboolean;
16784    pub fn gtk_accel_group_find(
16785        accel_group: *mut GtkAccelGroup,
16786        find_func: GtkAccelGroupFindFunc,
16787        data: gpointer,
16788    ) -> *mut GtkAccelKey;
16789    pub fn gtk_accel_group_get_is_locked(accel_group: *mut GtkAccelGroup) -> gboolean;
16790    pub fn gtk_accel_group_get_modifier_mask(
16791        accel_group: *mut GtkAccelGroup,
16792    ) -> gdk::GdkModifierType;
16793    pub fn gtk_accel_group_lock(accel_group: *mut GtkAccelGroup);
16794    pub fn gtk_accel_group_query(
16795        accel_group: *mut GtkAccelGroup,
16796        accel_key: c_uint,
16797        accel_mods: gdk::GdkModifierType,
16798        n_entries: *mut c_uint,
16799    ) -> *mut GtkAccelGroupEntry;
16800    pub fn gtk_accel_group_unlock(accel_group: *mut GtkAccelGroup);
16801
16802    //=========================================================================
16803    // GtkAccelLabel
16804    //=========================================================================
16805    pub fn gtk_accel_label_get_type() -> GType;
16806    pub fn gtk_accel_label_new(string: *const c_char) -> *mut GtkWidget;
16807    pub fn gtk_accel_label_get_accel(
16808        accel_label: *mut GtkAccelLabel,
16809        accelerator_key: *mut c_uint,
16810        accelerator_mods: *mut gdk::GdkModifierType,
16811    );
16812    pub fn gtk_accel_label_get_accel_widget(accel_label: *mut GtkAccelLabel) -> *mut GtkWidget;
16813    pub fn gtk_accel_label_get_accel_width(accel_label: *mut GtkAccelLabel) -> c_uint;
16814    pub fn gtk_accel_label_refetch(accel_label: *mut GtkAccelLabel) -> gboolean;
16815    pub fn gtk_accel_label_set_accel(
16816        accel_label: *mut GtkAccelLabel,
16817        accelerator_key: c_uint,
16818        accelerator_mods: gdk::GdkModifierType,
16819    );
16820    pub fn gtk_accel_label_set_accel_closure(
16821        accel_label: *mut GtkAccelLabel,
16822        accel_closure: *mut gobject::GClosure,
16823    );
16824    pub fn gtk_accel_label_set_accel_widget(
16825        accel_label: *mut GtkAccelLabel,
16826        accel_widget: *mut GtkWidget,
16827    );
16828
16829    //=========================================================================
16830    // GtkAccelMap
16831    //=========================================================================
16832    pub fn gtk_accel_map_get_type() -> GType;
16833    pub fn gtk_accel_map_add_entry(
16834        accel_path: *const c_char,
16835        accel_key: c_uint,
16836        accel_mods: gdk::GdkModifierType,
16837    );
16838    pub fn gtk_accel_map_add_filter(filter_pattern: *const c_char);
16839    pub fn gtk_accel_map_change_entry(
16840        accel_path: *const c_char,
16841        accel_key: c_uint,
16842        accel_mods: gdk::GdkModifierType,
16843        replace: gboolean,
16844    ) -> gboolean;
16845    pub fn gtk_accel_map_foreach(data: gpointer, foreach_func: GtkAccelMapForeach);
16846    pub fn gtk_accel_map_foreach_unfiltered(data: gpointer, foreach_func: GtkAccelMapForeach);
16847    pub fn gtk_accel_map_get() -> *mut GtkAccelMap;
16848    pub fn gtk_accel_map_load(file_name: *const c_char);
16849    pub fn gtk_accel_map_load_fd(fd: c_int);
16850    pub fn gtk_accel_map_load_scanner(scanner: *mut glib::GScanner);
16851    pub fn gtk_accel_map_lock_path(accel_path: *const c_char);
16852    pub fn gtk_accel_map_lookup_entry(accel_path: *const c_char, key: *mut GtkAccelKey)
16853        -> gboolean;
16854    pub fn gtk_accel_map_save(file_name: *const c_char);
16855    pub fn gtk_accel_map_save_fd(fd: c_int);
16856    pub fn gtk_accel_map_unlock_path(accel_path: *const c_char);
16857
16858    //=========================================================================
16859    // GtkAccessible
16860    //=========================================================================
16861    pub fn gtk_accessible_get_type() -> GType;
16862    pub fn gtk_accessible_connect_widget_destroyed(accessible: *mut GtkAccessible);
16863    pub fn gtk_accessible_get_widget(accessible: *mut GtkAccessible) -> *mut GtkWidget;
16864    pub fn gtk_accessible_set_widget(accessible: *mut GtkAccessible, widget: *mut GtkWidget);
16865
16866    //=========================================================================
16867    // GtkAction
16868    //=========================================================================
16869    pub fn gtk_action_get_type() -> GType;
16870    pub fn gtk_action_new(
16871        name: *const c_char,
16872        label: *const c_char,
16873        tooltip: *const c_char,
16874        stock_id: *const c_char,
16875    ) -> *mut GtkAction;
16876    pub fn gtk_action_activate(action: *mut GtkAction);
16877    pub fn gtk_action_block_activate(action: *mut GtkAction);
16878    pub fn gtk_action_connect_accelerator(action: *mut GtkAction);
16879    pub fn gtk_action_create_icon(action: *mut GtkAction, icon_size: GtkIconSize)
16880        -> *mut GtkWidget;
16881    pub fn gtk_action_create_menu(action: *mut GtkAction) -> *mut GtkWidget;
16882    pub fn gtk_action_create_menu_item(action: *mut GtkAction) -> *mut GtkWidget;
16883    pub fn gtk_action_create_tool_item(action: *mut GtkAction) -> *mut GtkWidget;
16884    pub fn gtk_action_disconnect_accelerator(action: *mut GtkAction);
16885    pub fn gtk_action_get_accel_closure(action: *mut GtkAction) -> *mut gobject::GClosure;
16886    pub fn gtk_action_get_accel_path(action: *mut GtkAction) -> *const c_char;
16887    pub fn gtk_action_get_always_show_image(action: *mut GtkAction) -> gboolean;
16888    pub fn gtk_action_get_gicon(action: *mut GtkAction) -> *mut gio::GIcon;
16889    pub fn gtk_action_get_icon_name(action: *mut GtkAction) -> *const c_char;
16890    pub fn gtk_action_get_is_important(action: *mut GtkAction) -> gboolean;
16891    pub fn gtk_action_get_label(action: *mut GtkAction) -> *const c_char;
16892    pub fn gtk_action_get_name(action: *mut GtkAction) -> *const c_char;
16893    pub fn gtk_action_get_proxies(action: *mut GtkAction) -> *mut glib::GSList;
16894    pub fn gtk_action_get_sensitive(action: *mut GtkAction) -> gboolean;
16895    pub fn gtk_action_get_short_label(action: *mut GtkAction) -> *const c_char;
16896    pub fn gtk_action_get_stock_id(action: *mut GtkAction) -> *const c_char;
16897    pub fn gtk_action_get_tooltip(action: *mut GtkAction) -> *const c_char;
16898    pub fn gtk_action_get_visible(action: *mut GtkAction) -> gboolean;
16899    pub fn gtk_action_get_visible_horizontal(action: *mut GtkAction) -> gboolean;
16900    pub fn gtk_action_get_visible_vertical(action: *mut GtkAction) -> gboolean;
16901    pub fn gtk_action_is_sensitive(action: *mut GtkAction) -> gboolean;
16902    pub fn gtk_action_is_visible(action: *mut GtkAction) -> gboolean;
16903    pub fn gtk_action_set_accel_group(action: *mut GtkAction, accel_group: *mut GtkAccelGroup);
16904    pub fn gtk_action_set_accel_path(action: *mut GtkAction, accel_path: *const c_char);
16905    pub fn gtk_action_set_always_show_image(action: *mut GtkAction, always_show: gboolean);
16906    pub fn gtk_action_set_gicon(action: *mut GtkAction, icon: *mut gio::GIcon);
16907    pub fn gtk_action_set_icon_name(action: *mut GtkAction, icon_name: *const c_char);
16908    pub fn gtk_action_set_is_important(action: *mut GtkAction, is_important: gboolean);
16909    pub fn gtk_action_set_label(action: *mut GtkAction, label: *const c_char);
16910    pub fn gtk_action_set_sensitive(action: *mut GtkAction, sensitive: gboolean);
16911    pub fn gtk_action_set_short_label(action: *mut GtkAction, short_label: *const c_char);
16912    pub fn gtk_action_set_stock_id(action: *mut GtkAction, stock_id: *const c_char);
16913    pub fn gtk_action_set_tooltip(action: *mut GtkAction, tooltip: *const c_char);
16914    pub fn gtk_action_set_visible(action: *mut GtkAction, visible: gboolean);
16915    pub fn gtk_action_set_visible_horizontal(action: *mut GtkAction, visible_horizontal: gboolean);
16916    pub fn gtk_action_set_visible_vertical(action: *mut GtkAction, visible_vertical: gboolean);
16917    pub fn gtk_action_unblock_activate(action: *mut GtkAction);
16918
16919    //=========================================================================
16920    // GtkActionBar
16921    //=========================================================================
16922    pub fn gtk_action_bar_get_type() -> GType;
16923    pub fn gtk_action_bar_new() -> *mut GtkWidget;
16924    pub fn gtk_action_bar_get_center_widget(action_bar: *mut GtkActionBar) -> *mut GtkWidget;
16925    pub fn gtk_action_bar_pack_end(action_bar: *mut GtkActionBar, child: *mut GtkWidget);
16926    pub fn gtk_action_bar_pack_start(action_bar: *mut GtkActionBar, child: *mut GtkWidget);
16927    pub fn gtk_action_bar_set_center_widget(
16928        action_bar: *mut GtkActionBar,
16929        center_widget: *mut GtkWidget,
16930    );
16931
16932    //=========================================================================
16933    // GtkActionGroup
16934    //=========================================================================
16935    pub fn gtk_action_group_get_type() -> GType;
16936    pub fn gtk_action_group_new(name: *const c_char) -> *mut GtkActionGroup;
16937    pub fn gtk_action_group_add_action(action_group: *mut GtkActionGroup, action: *mut GtkAction);
16938    pub fn gtk_action_group_add_action_with_accel(
16939        action_group: *mut GtkActionGroup,
16940        action: *mut GtkAction,
16941        accelerator: *const c_char,
16942    );
16943    pub fn gtk_action_group_add_actions(
16944        action_group: *mut GtkActionGroup,
16945        entries: *const GtkActionEntry,
16946        n_entries: c_uint,
16947        user_data: gpointer,
16948    );
16949    pub fn gtk_action_group_add_actions_full(
16950        action_group: *mut GtkActionGroup,
16951        entries: *const GtkActionEntry,
16952        n_entries: c_uint,
16953        user_data: gpointer,
16954        destroy: glib::GDestroyNotify,
16955    );
16956    pub fn gtk_action_group_add_radio_actions(
16957        action_group: *mut GtkActionGroup,
16958        entries: *const GtkRadioActionEntry,
16959        n_entries: c_uint,
16960        value: c_int,
16961        on_change: gobject::GCallback,
16962        user_data: gpointer,
16963    );
16964    pub fn gtk_action_group_add_radio_actions_full(
16965        action_group: *mut GtkActionGroup,
16966        entries: *const GtkRadioActionEntry,
16967        n_entries: c_uint,
16968        value: c_int,
16969        on_change: gobject::GCallback,
16970        user_data: gpointer,
16971        destroy: glib::GDestroyNotify,
16972    );
16973    pub fn gtk_action_group_add_toggle_actions(
16974        action_group: *mut GtkActionGroup,
16975        entries: *const GtkToggleActionEntry,
16976        n_entries: c_uint,
16977        user_data: gpointer,
16978    );
16979    pub fn gtk_action_group_add_toggle_actions_full(
16980        action_group: *mut GtkActionGroup,
16981        entries: *const GtkToggleActionEntry,
16982        n_entries: c_uint,
16983        user_data: gpointer,
16984        destroy: glib::GDestroyNotify,
16985    );
16986    pub fn gtk_action_group_get_accel_group(
16987        action_group: *mut GtkActionGroup,
16988    ) -> *mut GtkAccelGroup;
16989    pub fn gtk_action_group_get_action(
16990        action_group: *mut GtkActionGroup,
16991        action_name: *const c_char,
16992    ) -> *mut GtkAction;
16993    pub fn gtk_action_group_get_name(action_group: *mut GtkActionGroup) -> *const c_char;
16994    pub fn gtk_action_group_get_sensitive(action_group: *mut GtkActionGroup) -> gboolean;
16995    pub fn gtk_action_group_get_visible(action_group: *mut GtkActionGroup) -> gboolean;
16996    pub fn gtk_action_group_list_actions(action_group: *mut GtkActionGroup) -> *mut glib::GList;
16997    pub fn gtk_action_group_remove_action(
16998        action_group: *mut GtkActionGroup,
16999        action: *mut GtkAction,
17000    );
17001    pub fn gtk_action_group_set_accel_group(
17002        action_group: *mut GtkActionGroup,
17003        accel_group: *mut GtkAccelGroup,
17004    );
17005    pub fn gtk_action_group_set_sensitive(action_group: *mut GtkActionGroup, sensitive: gboolean);
17006    pub fn gtk_action_group_set_translate_func(
17007        action_group: *mut GtkActionGroup,
17008        func: GtkTranslateFunc,
17009        data: gpointer,
17010        notify: glib::GDestroyNotify,
17011    );
17012    pub fn gtk_action_group_set_translation_domain(
17013        action_group: *mut GtkActionGroup,
17014        domain: *const c_char,
17015    );
17016    pub fn gtk_action_group_set_visible(action_group: *mut GtkActionGroup, visible: gboolean);
17017    pub fn gtk_action_group_translate_string(
17018        action_group: *mut GtkActionGroup,
17019        string: *const c_char,
17020    ) -> *const c_char;
17021
17022    //=========================================================================
17023    // GtkAdjustment
17024    //=========================================================================
17025    pub fn gtk_adjustment_get_type() -> GType;
17026    pub fn gtk_adjustment_new(
17027        value: c_double,
17028        lower: c_double,
17029        upper: c_double,
17030        step_increment: c_double,
17031        page_increment: c_double,
17032        page_size: c_double,
17033    ) -> *mut GtkAdjustment;
17034    pub fn gtk_adjustment_changed(adjustment: *mut GtkAdjustment);
17035    pub fn gtk_adjustment_clamp_page(
17036        adjustment: *mut GtkAdjustment,
17037        lower: c_double,
17038        upper: c_double,
17039    );
17040    pub fn gtk_adjustment_configure(
17041        adjustment: *mut GtkAdjustment,
17042        value: c_double,
17043        lower: c_double,
17044        upper: c_double,
17045        step_increment: c_double,
17046        page_increment: c_double,
17047        page_size: c_double,
17048    );
17049    pub fn gtk_adjustment_get_lower(adjustment: *mut GtkAdjustment) -> c_double;
17050    pub fn gtk_adjustment_get_minimum_increment(adjustment: *mut GtkAdjustment) -> c_double;
17051    pub fn gtk_adjustment_get_page_increment(adjustment: *mut GtkAdjustment) -> c_double;
17052    pub fn gtk_adjustment_get_page_size(adjustment: *mut GtkAdjustment) -> c_double;
17053    pub fn gtk_adjustment_get_step_increment(adjustment: *mut GtkAdjustment) -> c_double;
17054    pub fn gtk_adjustment_get_upper(adjustment: *mut GtkAdjustment) -> c_double;
17055    pub fn gtk_adjustment_get_value(adjustment: *mut GtkAdjustment) -> c_double;
17056    pub fn gtk_adjustment_set_lower(adjustment: *mut GtkAdjustment, lower: c_double);
17057    pub fn gtk_adjustment_set_page_increment(
17058        adjustment: *mut GtkAdjustment,
17059        page_increment: c_double,
17060    );
17061    pub fn gtk_adjustment_set_page_size(adjustment: *mut GtkAdjustment, page_size: c_double);
17062    pub fn gtk_adjustment_set_step_increment(
17063        adjustment: *mut GtkAdjustment,
17064        step_increment: c_double,
17065    );
17066    pub fn gtk_adjustment_set_upper(adjustment: *mut GtkAdjustment, upper: c_double);
17067    pub fn gtk_adjustment_set_value(adjustment: *mut GtkAdjustment, value: c_double);
17068    pub fn gtk_adjustment_value_changed(adjustment: *mut GtkAdjustment);
17069
17070    //=========================================================================
17071    // GtkAlignment
17072    //=========================================================================
17073    pub fn gtk_alignment_get_type() -> GType;
17074    pub fn gtk_alignment_new(
17075        xalign: c_float,
17076        yalign: c_float,
17077        xscale: c_float,
17078        yscale: c_float,
17079    ) -> *mut GtkWidget;
17080    pub fn gtk_alignment_get_padding(
17081        alignment: *mut GtkAlignment,
17082        padding_top: *mut c_uint,
17083        padding_bottom: *mut c_uint,
17084        padding_left: *mut c_uint,
17085        padding_right: *mut c_uint,
17086    );
17087    pub fn gtk_alignment_set(
17088        alignment: *mut GtkAlignment,
17089        xalign: c_float,
17090        yalign: c_float,
17091        xscale: c_float,
17092        yscale: c_float,
17093    );
17094    pub fn gtk_alignment_set_padding(
17095        alignment: *mut GtkAlignment,
17096        padding_top: c_uint,
17097        padding_bottom: c_uint,
17098        padding_left: c_uint,
17099        padding_right: c_uint,
17100    );
17101
17102    //=========================================================================
17103    // GtkAppChooserButton
17104    //=========================================================================
17105    pub fn gtk_app_chooser_button_get_type() -> GType;
17106    pub fn gtk_app_chooser_button_new(content_type: *const c_char) -> *mut GtkWidget;
17107    pub fn gtk_app_chooser_button_append_custom_item(
17108        self_: *mut GtkAppChooserButton,
17109        name: *const c_char,
17110        label: *const c_char,
17111        icon: *mut gio::GIcon,
17112    );
17113    pub fn gtk_app_chooser_button_append_separator(self_: *mut GtkAppChooserButton);
17114    pub fn gtk_app_chooser_button_get_heading(self_: *mut GtkAppChooserButton) -> *const c_char;
17115    pub fn gtk_app_chooser_button_get_show_default_item(
17116        self_: *mut GtkAppChooserButton,
17117    ) -> gboolean;
17118    pub fn gtk_app_chooser_button_get_show_dialog_item(self_: *mut GtkAppChooserButton)
17119        -> gboolean;
17120    pub fn gtk_app_chooser_button_set_active_custom_item(
17121        self_: *mut GtkAppChooserButton,
17122        name: *const c_char,
17123    );
17124    pub fn gtk_app_chooser_button_set_heading(
17125        self_: *mut GtkAppChooserButton,
17126        heading: *const c_char,
17127    );
17128    pub fn gtk_app_chooser_button_set_show_default_item(
17129        self_: *mut GtkAppChooserButton,
17130        setting: gboolean,
17131    );
17132    pub fn gtk_app_chooser_button_set_show_dialog_item(
17133        self_: *mut GtkAppChooserButton,
17134        setting: gboolean,
17135    );
17136
17137    //=========================================================================
17138    // GtkAppChooserDialog
17139    //=========================================================================
17140    pub fn gtk_app_chooser_dialog_get_type() -> GType;
17141    pub fn gtk_app_chooser_dialog_new(
17142        parent: *mut GtkWindow,
17143        flags: GtkDialogFlags,
17144        file: *mut gio::GFile,
17145    ) -> *mut GtkWidget;
17146    pub fn gtk_app_chooser_dialog_new_for_content_type(
17147        parent: *mut GtkWindow,
17148        flags: GtkDialogFlags,
17149        content_type: *const c_char,
17150    ) -> *mut GtkWidget;
17151    pub fn gtk_app_chooser_dialog_get_heading(self_: *mut GtkAppChooserDialog) -> *const c_char;
17152    pub fn gtk_app_chooser_dialog_get_widget(self_: *mut GtkAppChooserDialog) -> *mut GtkWidget;
17153    pub fn gtk_app_chooser_dialog_set_heading(
17154        self_: *mut GtkAppChooserDialog,
17155        heading: *const c_char,
17156    );
17157
17158    //=========================================================================
17159    // GtkAppChooserWidget
17160    //=========================================================================
17161    pub fn gtk_app_chooser_widget_get_type() -> GType;
17162    pub fn gtk_app_chooser_widget_new(content_type: *const c_char) -> *mut GtkWidget;
17163    pub fn gtk_app_chooser_widget_get_default_text(
17164        self_: *mut GtkAppChooserWidget,
17165    ) -> *const c_char;
17166    pub fn gtk_app_chooser_widget_get_show_all(self_: *mut GtkAppChooserWidget) -> gboolean;
17167    pub fn gtk_app_chooser_widget_get_show_default(self_: *mut GtkAppChooserWidget) -> gboolean;
17168    pub fn gtk_app_chooser_widget_get_show_fallback(self_: *mut GtkAppChooserWidget) -> gboolean;
17169    pub fn gtk_app_chooser_widget_get_show_other(self_: *mut GtkAppChooserWidget) -> gboolean;
17170    pub fn gtk_app_chooser_widget_get_show_recommended(self_: *mut GtkAppChooserWidget)
17171        -> gboolean;
17172    pub fn gtk_app_chooser_widget_set_default_text(
17173        self_: *mut GtkAppChooserWidget,
17174        text: *const c_char,
17175    );
17176    pub fn gtk_app_chooser_widget_set_show_all(self_: *mut GtkAppChooserWidget, setting: gboolean);
17177    pub fn gtk_app_chooser_widget_set_show_default(
17178        self_: *mut GtkAppChooserWidget,
17179        setting: gboolean,
17180    );
17181    pub fn gtk_app_chooser_widget_set_show_fallback(
17182        self_: *mut GtkAppChooserWidget,
17183        setting: gboolean,
17184    );
17185    pub fn gtk_app_chooser_widget_set_show_other(
17186        self_: *mut GtkAppChooserWidget,
17187        setting: gboolean,
17188    );
17189    pub fn gtk_app_chooser_widget_set_show_recommended(
17190        self_: *mut GtkAppChooserWidget,
17191        setting: gboolean,
17192    );
17193
17194    //=========================================================================
17195    // GtkApplication
17196    //=========================================================================
17197    pub fn gtk_application_get_type() -> GType;
17198    pub fn gtk_application_new(
17199        application_id: *const c_char,
17200        flags: gio::GApplicationFlags,
17201    ) -> *mut GtkApplication;
17202    pub fn gtk_application_add_accelerator(
17203        application: *mut GtkApplication,
17204        accelerator: *const c_char,
17205        action_name: *const c_char,
17206        parameter: *mut glib::GVariant,
17207    );
17208    pub fn gtk_application_add_window(application: *mut GtkApplication, window: *mut GtkWindow);
17209    pub fn gtk_application_get_accels_for_action(
17210        application: *mut GtkApplication,
17211        detailed_action_name: *const c_char,
17212    ) -> *mut *mut c_char;
17213    pub fn gtk_application_get_actions_for_accel(
17214        application: *mut GtkApplication,
17215        accel: *const c_char,
17216    ) -> *mut *mut c_char;
17217    pub fn gtk_application_get_active_window(application: *mut GtkApplication) -> *mut GtkWindow;
17218    pub fn gtk_application_get_app_menu(application: *mut GtkApplication) -> *mut gio::GMenuModel;
17219    pub fn gtk_application_get_menu_by_id(
17220        application: *mut GtkApplication,
17221        id: *const c_char,
17222    ) -> *mut gio::GMenu;
17223    pub fn gtk_application_get_menubar(application: *mut GtkApplication) -> *mut gio::GMenuModel;
17224    pub fn gtk_application_get_window_by_id(
17225        application: *mut GtkApplication,
17226        id: c_uint,
17227    ) -> *mut GtkWindow;
17228    pub fn gtk_application_get_windows(application: *mut GtkApplication) -> *mut glib::GList;
17229    pub fn gtk_application_inhibit(
17230        application: *mut GtkApplication,
17231        window: *mut GtkWindow,
17232        flags: GtkApplicationInhibitFlags,
17233        reason: *const c_char,
17234    ) -> c_uint;
17235    pub fn gtk_application_is_inhibited(
17236        application: *mut GtkApplication,
17237        flags: GtkApplicationInhibitFlags,
17238    ) -> gboolean;
17239    pub fn gtk_application_list_action_descriptions(
17240        application: *mut GtkApplication,
17241    ) -> *mut *mut c_char;
17242    pub fn gtk_application_prefers_app_menu(application: *mut GtkApplication) -> gboolean;
17243    pub fn gtk_application_remove_accelerator(
17244        application: *mut GtkApplication,
17245        action_name: *const c_char,
17246        parameter: *mut glib::GVariant,
17247    );
17248    pub fn gtk_application_remove_window(application: *mut GtkApplication, window: *mut GtkWindow);
17249    pub fn gtk_application_set_accels_for_action(
17250        application: *mut GtkApplication,
17251        detailed_action_name: *const c_char,
17252        accels: *const *const c_char,
17253    );
17254    pub fn gtk_application_set_app_menu(
17255        application: *mut GtkApplication,
17256        app_menu: *mut gio::GMenuModel,
17257    );
17258    pub fn gtk_application_set_menubar(
17259        application: *mut GtkApplication,
17260        menubar: *mut gio::GMenuModel,
17261    );
17262    pub fn gtk_application_uninhibit(application: *mut GtkApplication, cookie: c_uint);
17263
17264    //=========================================================================
17265    // GtkApplicationWindow
17266    //=========================================================================
17267    pub fn gtk_application_window_get_type() -> GType;
17268    pub fn gtk_application_window_new(application: *mut GtkApplication) -> *mut GtkWidget;
17269    #[cfg(any(feature = "v3_20", feature = "dox"))]
17270    pub fn gtk_application_window_get_help_overlay(
17271        window: *mut GtkApplicationWindow,
17272    ) -> *mut GtkShortcutsWindow;
17273    pub fn gtk_application_window_get_id(window: *mut GtkApplicationWindow) -> c_uint;
17274    pub fn gtk_application_window_get_show_menubar(window: *mut GtkApplicationWindow) -> gboolean;
17275    #[cfg(any(feature = "v3_20", feature = "dox"))]
17276    pub fn gtk_application_window_set_help_overlay(
17277        window: *mut GtkApplicationWindow,
17278        help_overlay: *mut GtkShortcutsWindow,
17279    );
17280    pub fn gtk_application_window_set_show_menubar(
17281        window: *mut GtkApplicationWindow,
17282        show_menubar: gboolean,
17283    );
17284
17285    //=========================================================================
17286    // GtkArrow
17287    //=========================================================================
17288    pub fn gtk_arrow_get_type() -> GType;
17289    pub fn gtk_arrow_new(arrow_type: GtkArrowType, shadow_type: GtkShadowType) -> *mut GtkWidget;
17290    pub fn gtk_arrow_set(
17291        arrow: *mut GtkArrow,
17292        arrow_type: GtkArrowType,
17293        shadow_type: GtkShadowType,
17294    );
17295
17296    //=========================================================================
17297    // GtkArrowAccessible
17298    //=========================================================================
17299    pub fn gtk_arrow_accessible_get_type() -> GType;
17300
17301    //=========================================================================
17302    // GtkAspectFrame
17303    //=========================================================================
17304    pub fn gtk_aspect_frame_get_type() -> GType;
17305    pub fn gtk_aspect_frame_new(
17306        label: *const c_char,
17307        xalign: c_float,
17308        yalign: c_float,
17309        ratio: c_float,
17310        obey_child: gboolean,
17311    ) -> *mut GtkWidget;
17312    pub fn gtk_aspect_frame_set(
17313        aspect_frame: *mut GtkAspectFrame,
17314        xalign: c_float,
17315        yalign: c_float,
17316        ratio: c_float,
17317        obey_child: gboolean,
17318    );
17319
17320    //=========================================================================
17321    // GtkAssistant
17322    //=========================================================================
17323    pub fn gtk_assistant_get_type() -> GType;
17324    pub fn gtk_assistant_new() -> *mut GtkWidget;
17325    pub fn gtk_assistant_add_action_widget(assistant: *mut GtkAssistant, child: *mut GtkWidget);
17326    pub fn gtk_assistant_append_page(assistant: *mut GtkAssistant, page: *mut GtkWidget) -> c_int;
17327    pub fn gtk_assistant_commit(assistant: *mut GtkAssistant);
17328    pub fn gtk_assistant_get_current_page(assistant: *mut GtkAssistant) -> c_int;
17329    pub fn gtk_assistant_get_n_pages(assistant: *mut GtkAssistant) -> c_int;
17330    pub fn gtk_assistant_get_nth_page(
17331        assistant: *mut GtkAssistant,
17332        page_num: c_int,
17333    ) -> *mut GtkWidget;
17334    pub fn gtk_assistant_get_page_complete(
17335        assistant: *mut GtkAssistant,
17336        page: *mut GtkWidget,
17337    ) -> gboolean;
17338    #[cfg(any(feature = "v3_18", feature = "dox"))]
17339    pub fn gtk_assistant_get_page_has_padding(
17340        assistant: *mut GtkAssistant,
17341        page: *mut GtkWidget,
17342    ) -> gboolean;
17343    pub fn gtk_assistant_get_page_header_image(
17344        assistant: *mut GtkAssistant,
17345        page: *mut GtkWidget,
17346    ) -> *mut gdk_pixbuf::GdkPixbuf;
17347    pub fn gtk_assistant_get_page_side_image(
17348        assistant: *mut GtkAssistant,
17349        page: *mut GtkWidget,
17350    ) -> *mut gdk_pixbuf::GdkPixbuf;
17351    pub fn gtk_assistant_get_page_title(
17352        assistant: *mut GtkAssistant,
17353        page: *mut GtkWidget,
17354    ) -> *const c_char;
17355    pub fn gtk_assistant_get_page_type(
17356        assistant: *mut GtkAssistant,
17357        page: *mut GtkWidget,
17358    ) -> GtkAssistantPageType;
17359    pub fn gtk_assistant_insert_page(
17360        assistant: *mut GtkAssistant,
17361        page: *mut GtkWidget,
17362        position: c_int,
17363    ) -> c_int;
17364    pub fn gtk_assistant_next_page(assistant: *mut GtkAssistant);
17365    pub fn gtk_assistant_prepend_page(assistant: *mut GtkAssistant, page: *mut GtkWidget) -> c_int;
17366    pub fn gtk_assistant_previous_page(assistant: *mut GtkAssistant);
17367    pub fn gtk_assistant_remove_action_widget(assistant: *mut GtkAssistant, child: *mut GtkWidget);
17368    pub fn gtk_assistant_remove_page(assistant: *mut GtkAssistant, page_num: c_int);
17369    pub fn gtk_assistant_set_current_page(assistant: *mut GtkAssistant, page_num: c_int);
17370    pub fn gtk_assistant_set_forward_page_func(
17371        assistant: *mut GtkAssistant,
17372        page_func: GtkAssistantPageFunc,
17373        data: gpointer,
17374        destroy: glib::GDestroyNotify,
17375    );
17376    pub fn gtk_assistant_set_page_complete(
17377        assistant: *mut GtkAssistant,
17378        page: *mut GtkWidget,
17379        complete: gboolean,
17380    );
17381    #[cfg(any(feature = "v3_18", feature = "dox"))]
17382    pub fn gtk_assistant_set_page_has_padding(
17383        assistant: *mut GtkAssistant,
17384        page: *mut GtkWidget,
17385        has_padding: gboolean,
17386    );
17387    pub fn gtk_assistant_set_page_header_image(
17388        assistant: *mut GtkAssistant,
17389        page: *mut GtkWidget,
17390        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
17391    );
17392    pub fn gtk_assistant_set_page_side_image(
17393        assistant: *mut GtkAssistant,
17394        page: *mut GtkWidget,
17395        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
17396    );
17397    pub fn gtk_assistant_set_page_title(
17398        assistant: *mut GtkAssistant,
17399        page: *mut GtkWidget,
17400        title: *const c_char,
17401    );
17402    pub fn gtk_assistant_set_page_type(
17403        assistant: *mut GtkAssistant,
17404        page: *mut GtkWidget,
17405        type_: GtkAssistantPageType,
17406    );
17407    pub fn gtk_assistant_update_buttons_state(assistant: *mut GtkAssistant);
17408
17409    //=========================================================================
17410    // GtkBin
17411    //=========================================================================
17412    pub fn gtk_bin_get_type() -> GType;
17413    pub fn gtk_bin_get_child(bin: *mut GtkBin) -> *mut GtkWidget;
17414
17415    //=========================================================================
17416    // GtkBooleanCellAccessible
17417    //=========================================================================
17418    pub fn gtk_boolean_cell_accessible_get_type() -> GType;
17419
17420    //=========================================================================
17421    // GtkBox
17422    //=========================================================================
17423    pub fn gtk_box_get_type() -> GType;
17424    pub fn gtk_box_new(orientation: GtkOrientation, spacing: c_int) -> *mut GtkWidget;
17425    pub fn gtk_box_get_baseline_position(box_: *mut GtkBox) -> GtkBaselinePosition;
17426    pub fn gtk_box_get_center_widget(box_: *mut GtkBox) -> *mut GtkWidget;
17427    pub fn gtk_box_get_homogeneous(box_: *mut GtkBox) -> gboolean;
17428    pub fn gtk_box_get_spacing(box_: *mut GtkBox) -> c_int;
17429    pub fn gtk_box_pack_end(
17430        box_: *mut GtkBox,
17431        child: *mut GtkWidget,
17432        expand: gboolean,
17433        fill: gboolean,
17434        padding: c_uint,
17435    );
17436    pub fn gtk_box_pack_start(
17437        box_: *mut GtkBox,
17438        child: *mut GtkWidget,
17439        expand: gboolean,
17440        fill: gboolean,
17441        padding: c_uint,
17442    );
17443    pub fn gtk_box_query_child_packing(
17444        box_: *mut GtkBox,
17445        child: *mut GtkWidget,
17446        expand: *mut gboolean,
17447        fill: *mut gboolean,
17448        padding: *mut c_uint,
17449        pack_type: *mut GtkPackType,
17450    );
17451    pub fn gtk_box_reorder_child(box_: *mut GtkBox, child: *mut GtkWidget, position: c_int);
17452    pub fn gtk_box_set_baseline_position(box_: *mut GtkBox, position: GtkBaselinePosition);
17453    pub fn gtk_box_set_center_widget(box_: *mut GtkBox, widget: *mut GtkWidget);
17454    pub fn gtk_box_set_child_packing(
17455        box_: *mut GtkBox,
17456        child: *mut GtkWidget,
17457        expand: gboolean,
17458        fill: gboolean,
17459        padding: c_uint,
17460        pack_type: GtkPackType,
17461    );
17462    pub fn gtk_box_set_homogeneous(box_: *mut GtkBox, homogeneous: gboolean);
17463    pub fn gtk_box_set_spacing(box_: *mut GtkBox, spacing: c_int);
17464
17465    //=========================================================================
17466    // GtkBuilder
17467    //=========================================================================
17468    pub fn gtk_builder_get_type() -> GType;
17469    pub fn gtk_builder_new() -> *mut GtkBuilder;
17470    pub fn gtk_builder_new_from_file(filename: *const c_char) -> *mut GtkBuilder;
17471    pub fn gtk_builder_new_from_resource(resource_path: *const c_char) -> *mut GtkBuilder;
17472    pub fn gtk_builder_new_from_string(string: *const c_char, length: ssize_t) -> *mut GtkBuilder;
17473    pub fn gtk_builder_add_callback_symbol(
17474        builder: *mut GtkBuilder,
17475        callback_name: *const c_char,
17476        callback_symbol: gobject::GCallback,
17477    );
17478    pub fn gtk_builder_add_callback_symbols(
17479        builder: *mut GtkBuilder,
17480        first_callback_name: *const c_char,
17481        first_callback_symbol: gobject::GCallback,
17482        ...
17483    );
17484    pub fn gtk_builder_add_from_file(
17485        builder: *mut GtkBuilder,
17486        filename: *const c_char,
17487        error: *mut *mut glib::GError,
17488    ) -> c_uint;
17489    pub fn gtk_builder_add_from_resource(
17490        builder: *mut GtkBuilder,
17491        resource_path: *const c_char,
17492        error: *mut *mut glib::GError,
17493    ) -> c_uint;
17494    pub fn gtk_builder_add_from_string(
17495        builder: *mut GtkBuilder,
17496        buffer: *const c_char,
17497        length: size_t,
17498        error: *mut *mut glib::GError,
17499    ) -> c_uint;
17500    pub fn gtk_builder_add_objects_from_file(
17501        builder: *mut GtkBuilder,
17502        filename: *const c_char,
17503        object_ids: *mut *mut c_char,
17504        error: *mut *mut glib::GError,
17505    ) -> c_uint;
17506    pub fn gtk_builder_add_objects_from_resource(
17507        builder: *mut GtkBuilder,
17508        resource_path: *const c_char,
17509        object_ids: *mut *mut c_char,
17510        error: *mut *mut glib::GError,
17511    ) -> c_uint;
17512    pub fn gtk_builder_add_objects_from_string(
17513        builder: *mut GtkBuilder,
17514        buffer: *const c_char,
17515        length: size_t,
17516        object_ids: *mut *mut c_char,
17517        error: *mut *mut glib::GError,
17518    ) -> c_uint;
17519    pub fn gtk_builder_connect_signals(builder: *mut GtkBuilder, user_data: gpointer);
17520    pub fn gtk_builder_connect_signals_full(
17521        builder: *mut GtkBuilder,
17522        func: GtkBuilderConnectFunc,
17523        user_data: gpointer,
17524    );
17525    pub fn gtk_builder_expose_object(
17526        builder: *mut GtkBuilder,
17527        name: *const c_char,
17528        object: *mut gobject::GObject,
17529    );
17530    pub fn gtk_builder_extend_with_template(
17531        builder: *mut GtkBuilder,
17532        widget: *mut GtkWidget,
17533        template_type: GType,
17534        buffer: *const c_char,
17535        length: size_t,
17536        error: *mut *mut glib::GError,
17537    ) -> c_uint;
17538    pub fn gtk_builder_get_application(builder: *mut GtkBuilder) -> *mut GtkApplication;
17539    pub fn gtk_builder_get_object(
17540        builder: *mut GtkBuilder,
17541        name: *const c_char,
17542    ) -> *mut gobject::GObject;
17543    pub fn gtk_builder_get_objects(builder: *mut GtkBuilder) -> *mut glib::GSList;
17544    pub fn gtk_builder_get_translation_domain(builder: *mut GtkBuilder) -> *const c_char;
17545    pub fn gtk_builder_get_type_from_name(
17546        builder: *mut GtkBuilder,
17547        type_name: *const c_char,
17548    ) -> GType;
17549    pub fn gtk_builder_lookup_callback_symbol(
17550        builder: *mut GtkBuilder,
17551        callback_name: *const c_char,
17552    ) -> gobject::GCallback;
17553    pub fn gtk_builder_set_application(builder: *mut GtkBuilder, application: *mut GtkApplication);
17554    pub fn gtk_builder_set_translation_domain(builder: *mut GtkBuilder, domain: *const c_char);
17555    pub fn gtk_builder_value_from_string(
17556        builder: *mut GtkBuilder,
17557        pspec: *mut gobject::GParamSpec,
17558        string: *const c_char,
17559        value: *mut gobject::GValue,
17560        error: *mut *mut glib::GError,
17561    ) -> gboolean;
17562    pub fn gtk_builder_value_from_string_type(
17563        builder: *mut GtkBuilder,
17564        type_: GType,
17565        string: *const c_char,
17566        value: *mut gobject::GValue,
17567        error: *mut *mut glib::GError,
17568    ) -> gboolean;
17569
17570    //=========================================================================
17571    // GtkButton
17572    //=========================================================================
17573    pub fn gtk_button_get_type() -> GType;
17574    pub fn gtk_button_new() -> *mut GtkWidget;
17575    pub fn gtk_button_new_from_icon_name(
17576        icon_name: *const c_char,
17577        size: GtkIconSize,
17578    ) -> *mut GtkWidget;
17579    pub fn gtk_button_new_from_stock(stock_id: *const c_char) -> *mut GtkWidget;
17580    pub fn gtk_button_new_with_label(label: *const c_char) -> *mut GtkWidget;
17581    pub fn gtk_button_new_with_mnemonic(label: *const c_char) -> *mut GtkWidget;
17582    pub fn gtk_button_clicked(button: *mut GtkButton);
17583    pub fn gtk_button_enter(button: *mut GtkButton);
17584    pub fn gtk_button_get_alignment(
17585        button: *mut GtkButton,
17586        xalign: *mut c_float,
17587        yalign: *mut c_float,
17588    );
17589    pub fn gtk_button_get_always_show_image(button: *mut GtkButton) -> gboolean;
17590    pub fn gtk_button_get_event_window(button: *mut GtkButton) -> *mut gdk::GdkWindow;
17591    pub fn gtk_button_get_focus_on_click(button: *mut GtkButton) -> gboolean;
17592    pub fn gtk_button_get_image(button: *mut GtkButton) -> *mut GtkWidget;
17593    pub fn gtk_button_get_image_position(button: *mut GtkButton) -> GtkPositionType;
17594    pub fn gtk_button_get_label(button: *mut GtkButton) -> *const c_char;
17595    pub fn gtk_button_get_relief(button: *mut GtkButton) -> GtkReliefStyle;
17596    pub fn gtk_button_get_use_stock(button: *mut GtkButton) -> gboolean;
17597    pub fn gtk_button_get_use_underline(button: *mut GtkButton) -> gboolean;
17598    pub fn gtk_button_leave(button: *mut GtkButton);
17599    pub fn gtk_button_pressed(button: *mut GtkButton);
17600    pub fn gtk_button_released(button: *mut GtkButton);
17601    pub fn gtk_button_set_alignment(button: *mut GtkButton, xalign: c_float, yalign: c_float);
17602    pub fn gtk_button_set_always_show_image(button: *mut GtkButton, always_show: gboolean);
17603    pub fn gtk_button_set_focus_on_click(button: *mut GtkButton, focus_on_click: gboolean);
17604    pub fn gtk_button_set_image(button: *mut GtkButton, image: *mut GtkWidget);
17605    pub fn gtk_button_set_image_position(button: *mut GtkButton, position: GtkPositionType);
17606    pub fn gtk_button_set_label(button: *mut GtkButton, label: *const c_char);
17607    pub fn gtk_button_set_relief(button: *mut GtkButton, relief: GtkReliefStyle);
17608    pub fn gtk_button_set_use_stock(button: *mut GtkButton, use_stock: gboolean);
17609    pub fn gtk_button_set_use_underline(button: *mut GtkButton, use_underline: gboolean);
17610
17611    //=========================================================================
17612    // GtkButtonAccessible
17613    //=========================================================================
17614    pub fn gtk_button_accessible_get_type() -> GType;
17615
17616    //=========================================================================
17617    // GtkButtonBox
17618    //=========================================================================
17619    pub fn gtk_button_box_get_type() -> GType;
17620    pub fn gtk_button_box_new(orientation: GtkOrientation) -> *mut GtkWidget;
17621    pub fn gtk_button_box_get_child_non_homogeneous(
17622        widget: *mut GtkButtonBox,
17623        child: *mut GtkWidget,
17624    ) -> gboolean;
17625    pub fn gtk_button_box_get_child_secondary(
17626        widget: *mut GtkButtonBox,
17627        child: *mut GtkWidget,
17628    ) -> gboolean;
17629    pub fn gtk_button_box_get_layout(widget: *mut GtkButtonBox) -> GtkButtonBoxStyle;
17630    pub fn gtk_button_box_set_child_non_homogeneous(
17631        widget: *mut GtkButtonBox,
17632        child: *mut GtkWidget,
17633        non_homogeneous: gboolean,
17634    );
17635    pub fn gtk_button_box_set_child_secondary(
17636        widget: *mut GtkButtonBox,
17637        child: *mut GtkWidget,
17638        is_secondary: gboolean,
17639    );
17640    pub fn gtk_button_box_set_layout(widget: *mut GtkButtonBox, layout_style: GtkButtonBoxStyle);
17641
17642    //=========================================================================
17643    // GtkCalendar
17644    //=========================================================================
17645    pub fn gtk_calendar_get_type() -> GType;
17646    pub fn gtk_calendar_new() -> *mut GtkWidget;
17647    pub fn gtk_calendar_clear_marks(calendar: *mut GtkCalendar);
17648    pub fn gtk_calendar_get_date(
17649        calendar: *mut GtkCalendar,
17650        year: *mut c_uint,
17651        month: *mut c_uint,
17652        day: *mut c_uint,
17653    );
17654    pub fn gtk_calendar_get_day_is_marked(calendar: *mut GtkCalendar, day: c_uint) -> gboolean;
17655    pub fn gtk_calendar_get_detail_height_rows(calendar: *mut GtkCalendar) -> c_int;
17656    pub fn gtk_calendar_get_detail_width_chars(calendar: *mut GtkCalendar) -> c_int;
17657    pub fn gtk_calendar_get_display_options(
17658        calendar: *mut GtkCalendar,
17659    ) -> GtkCalendarDisplayOptions;
17660    pub fn gtk_calendar_mark_day(calendar: *mut GtkCalendar, day: c_uint);
17661    pub fn gtk_calendar_select_day(calendar: *mut GtkCalendar, day: c_uint);
17662    pub fn gtk_calendar_select_month(calendar: *mut GtkCalendar, month: c_uint, year: c_uint);
17663    pub fn gtk_calendar_set_detail_func(
17664        calendar: *mut GtkCalendar,
17665        func: GtkCalendarDetailFunc,
17666        data: gpointer,
17667        destroy: glib::GDestroyNotify,
17668    );
17669    pub fn gtk_calendar_set_detail_height_rows(calendar: *mut GtkCalendar, rows: c_int);
17670    pub fn gtk_calendar_set_detail_width_chars(calendar: *mut GtkCalendar, chars: c_int);
17671    pub fn gtk_calendar_set_display_options(
17672        calendar: *mut GtkCalendar,
17673        flags: GtkCalendarDisplayOptions,
17674    );
17675    pub fn gtk_calendar_unmark_day(calendar: *mut GtkCalendar, day: c_uint);
17676
17677    //=========================================================================
17678    // GtkCellAccessible
17679    //=========================================================================
17680    pub fn gtk_cell_accessible_get_type() -> GType;
17681
17682    //=========================================================================
17683    // GtkCellArea
17684    //=========================================================================
17685    pub fn gtk_cell_area_get_type() -> GType;
17686    pub fn gtk_cell_area_activate(
17687        area: *mut GtkCellArea,
17688        context: *mut GtkCellAreaContext,
17689        widget: *mut GtkWidget,
17690        cell_area: *const gdk::GdkRectangle,
17691        flags: GtkCellRendererState,
17692        edit_only: gboolean,
17693    ) -> gboolean;
17694    pub fn gtk_cell_area_activate_cell(
17695        area: *mut GtkCellArea,
17696        widget: *mut GtkWidget,
17697        renderer: *mut GtkCellRenderer,
17698        event: *mut gdk::GdkEvent,
17699        cell_area: *const gdk::GdkRectangle,
17700        flags: GtkCellRendererState,
17701    ) -> gboolean;
17702    pub fn gtk_cell_area_add(area: *mut GtkCellArea, renderer: *mut GtkCellRenderer);
17703    pub fn gtk_cell_area_add_focus_sibling(
17704        area: *mut GtkCellArea,
17705        renderer: *mut GtkCellRenderer,
17706        sibling: *mut GtkCellRenderer,
17707    );
17708    pub fn gtk_cell_area_add_with_properties(
17709        area: *mut GtkCellArea,
17710        renderer: *mut GtkCellRenderer,
17711        first_prop_name: *const c_char,
17712        ...
17713    );
17714    pub fn gtk_cell_area_apply_attributes(
17715        area: *mut GtkCellArea,
17716        tree_model: *mut GtkTreeModel,
17717        iter: *mut GtkTreeIter,
17718        is_expander: gboolean,
17719        is_expanded: gboolean,
17720    );
17721    pub fn gtk_cell_area_attribute_connect(
17722        area: *mut GtkCellArea,
17723        renderer: *mut GtkCellRenderer,
17724        attribute: *const c_char,
17725        column: c_int,
17726    );
17727    pub fn gtk_cell_area_attribute_disconnect(
17728        area: *mut GtkCellArea,
17729        renderer: *mut GtkCellRenderer,
17730        attribute: *const c_char,
17731    );
17732    pub fn gtk_cell_area_attribute_get_column(
17733        area: *mut GtkCellArea,
17734        renderer: *mut GtkCellRenderer,
17735        attribute: *const c_char,
17736    ) -> c_int;
17737    pub fn gtk_cell_area_cell_get(
17738        area: *mut GtkCellArea,
17739        renderer: *mut GtkCellRenderer,
17740        first_prop_name: *const c_char,
17741        ...
17742    );
17743    pub fn gtk_cell_area_cell_get_property(
17744        area: *mut GtkCellArea,
17745        renderer: *mut GtkCellRenderer,
17746        property_name: *const c_char,
17747        value: *mut gobject::GValue,
17748    );
17749    //pub fn gtk_cell_area_cell_get_valist(area: *mut GtkCellArea, renderer: *mut GtkCellRenderer, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list);
17750    pub fn gtk_cell_area_cell_set(
17751        area: *mut GtkCellArea,
17752        renderer: *mut GtkCellRenderer,
17753        first_prop_name: *const c_char,
17754        ...
17755    );
17756    pub fn gtk_cell_area_cell_set_property(
17757        area: *mut GtkCellArea,
17758        renderer: *mut GtkCellRenderer,
17759        property_name: *const c_char,
17760        value: *const gobject::GValue,
17761    );
17762    //pub fn gtk_cell_area_cell_set_valist(area: *mut GtkCellArea, renderer: *mut GtkCellRenderer, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list);
17763    pub fn gtk_cell_area_copy_context(
17764        area: *mut GtkCellArea,
17765        context: *mut GtkCellAreaContext,
17766    ) -> *mut GtkCellAreaContext;
17767    pub fn gtk_cell_area_create_context(area: *mut GtkCellArea) -> *mut GtkCellAreaContext;
17768    pub fn gtk_cell_area_event(
17769        area: *mut GtkCellArea,
17770        context: *mut GtkCellAreaContext,
17771        widget: *mut GtkWidget,
17772        event: *mut gdk::GdkEvent,
17773        cell_area: *const gdk::GdkRectangle,
17774        flags: GtkCellRendererState,
17775    ) -> c_int;
17776    pub fn gtk_cell_area_focus(area: *mut GtkCellArea, direction: GtkDirectionType) -> gboolean;
17777    pub fn gtk_cell_area_foreach(
17778        area: *mut GtkCellArea,
17779        callback: GtkCellCallback,
17780        callback_data: gpointer,
17781    );
17782    pub fn gtk_cell_area_foreach_alloc(
17783        area: *mut GtkCellArea,
17784        context: *mut GtkCellAreaContext,
17785        widget: *mut GtkWidget,
17786        cell_area: *const gdk::GdkRectangle,
17787        background_area: *const gdk::GdkRectangle,
17788        callback: GtkCellAllocCallback,
17789        callback_data: gpointer,
17790    );
17791    pub fn gtk_cell_area_get_cell_allocation(
17792        area: *mut GtkCellArea,
17793        context: *mut GtkCellAreaContext,
17794        widget: *mut GtkWidget,
17795        renderer: *mut GtkCellRenderer,
17796        cell_area: *const gdk::GdkRectangle,
17797        allocation: *mut gdk::GdkRectangle,
17798    );
17799    pub fn gtk_cell_area_get_cell_at_position(
17800        area: *mut GtkCellArea,
17801        context: *mut GtkCellAreaContext,
17802        widget: *mut GtkWidget,
17803        cell_area: *const gdk::GdkRectangle,
17804        x: c_int,
17805        y: c_int,
17806        alloc_area: *mut gdk::GdkRectangle,
17807    ) -> *mut GtkCellRenderer;
17808    pub fn gtk_cell_area_get_current_path_string(area: *mut GtkCellArea) -> *const c_char;
17809    pub fn gtk_cell_area_get_edit_widget(area: *mut GtkCellArea) -> *mut GtkCellEditable;
17810    pub fn gtk_cell_area_get_edited_cell(area: *mut GtkCellArea) -> *mut GtkCellRenderer;
17811    pub fn gtk_cell_area_get_focus_cell(area: *mut GtkCellArea) -> *mut GtkCellRenderer;
17812    pub fn gtk_cell_area_get_focus_from_sibling(
17813        area: *mut GtkCellArea,
17814        renderer: *mut GtkCellRenderer,
17815    ) -> *mut GtkCellRenderer;
17816    pub fn gtk_cell_area_get_focus_siblings(
17817        area: *mut GtkCellArea,
17818        renderer: *mut GtkCellRenderer,
17819    ) -> *const glib::GList;
17820    pub fn gtk_cell_area_get_preferred_height(
17821        area: *mut GtkCellArea,
17822        context: *mut GtkCellAreaContext,
17823        widget: *mut GtkWidget,
17824        minimum_height: *mut c_int,
17825        natural_height: *mut c_int,
17826    );
17827    pub fn gtk_cell_area_get_preferred_height_for_width(
17828        area: *mut GtkCellArea,
17829        context: *mut GtkCellAreaContext,
17830        widget: *mut GtkWidget,
17831        width: c_int,
17832        minimum_height: *mut c_int,
17833        natural_height: *mut c_int,
17834    );
17835    pub fn gtk_cell_area_get_preferred_width(
17836        area: *mut GtkCellArea,
17837        context: *mut GtkCellAreaContext,
17838        widget: *mut GtkWidget,
17839        minimum_width: *mut c_int,
17840        natural_width: *mut c_int,
17841    );
17842    pub fn gtk_cell_area_get_preferred_width_for_height(
17843        area: *mut GtkCellArea,
17844        context: *mut GtkCellAreaContext,
17845        widget: *mut GtkWidget,
17846        height: c_int,
17847        minimum_width: *mut c_int,
17848        natural_width: *mut c_int,
17849    );
17850    pub fn gtk_cell_area_get_request_mode(area: *mut GtkCellArea) -> GtkSizeRequestMode;
17851    pub fn gtk_cell_area_has_renderer(
17852        area: *mut GtkCellArea,
17853        renderer: *mut GtkCellRenderer,
17854    ) -> gboolean;
17855    pub fn gtk_cell_area_inner_cell_area(
17856        area: *mut GtkCellArea,
17857        widget: *mut GtkWidget,
17858        cell_area: *const gdk::GdkRectangle,
17859        inner_area: *mut gdk::GdkRectangle,
17860    );
17861    pub fn gtk_cell_area_is_activatable(area: *mut GtkCellArea) -> gboolean;
17862    pub fn gtk_cell_area_is_focus_sibling(
17863        area: *mut GtkCellArea,
17864        renderer: *mut GtkCellRenderer,
17865        sibling: *mut GtkCellRenderer,
17866    ) -> gboolean;
17867    pub fn gtk_cell_area_remove(area: *mut GtkCellArea, renderer: *mut GtkCellRenderer);
17868    pub fn gtk_cell_area_remove_focus_sibling(
17869        area: *mut GtkCellArea,
17870        renderer: *mut GtkCellRenderer,
17871        sibling: *mut GtkCellRenderer,
17872    );
17873    pub fn gtk_cell_area_render(
17874        area: *mut GtkCellArea,
17875        context: *mut GtkCellAreaContext,
17876        widget: *mut GtkWidget,
17877        cr: *mut cairo::cairo_t,
17878        background_area: *const gdk::GdkRectangle,
17879        cell_area: *const gdk::GdkRectangle,
17880        flags: GtkCellRendererState,
17881        paint_focus: gboolean,
17882    );
17883    pub fn gtk_cell_area_request_renderer(
17884        area: *mut GtkCellArea,
17885        renderer: *mut GtkCellRenderer,
17886        orientation: GtkOrientation,
17887        widget: *mut GtkWidget,
17888        for_size: c_int,
17889        minimum_size: *mut c_int,
17890        natural_size: *mut c_int,
17891    );
17892    pub fn gtk_cell_area_set_focus_cell(area: *mut GtkCellArea, renderer: *mut GtkCellRenderer);
17893    pub fn gtk_cell_area_stop_editing(area: *mut GtkCellArea, canceled: gboolean);
17894
17895    //=========================================================================
17896    // GtkCellAreaBox
17897    //=========================================================================
17898    pub fn gtk_cell_area_box_get_type() -> GType;
17899    pub fn gtk_cell_area_box_new() -> *mut GtkCellArea;
17900    pub fn gtk_cell_area_box_get_spacing(box_: *mut GtkCellAreaBox) -> c_int;
17901    pub fn gtk_cell_area_box_pack_end(
17902        box_: *mut GtkCellAreaBox,
17903        renderer: *mut GtkCellRenderer,
17904        expand: gboolean,
17905        align: gboolean,
17906        fixed: gboolean,
17907    );
17908    pub fn gtk_cell_area_box_pack_start(
17909        box_: *mut GtkCellAreaBox,
17910        renderer: *mut GtkCellRenderer,
17911        expand: gboolean,
17912        align: gboolean,
17913        fixed: gboolean,
17914    );
17915    pub fn gtk_cell_area_box_set_spacing(box_: *mut GtkCellAreaBox, spacing: c_int);
17916
17917    //=========================================================================
17918    // GtkCellAreaContext
17919    //=========================================================================
17920    pub fn gtk_cell_area_context_get_type() -> GType;
17921    pub fn gtk_cell_area_context_allocate(
17922        context: *mut GtkCellAreaContext,
17923        width: c_int,
17924        height: c_int,
17925    );
17926    pub fn gtk_cell_area_context_get_allocation(
17927        context: *mut GtkCellAreaContext,
17928        width: *mut c_int,
17929        height: *mut c_int,
17930    );
17931    pub fn gtk_cell_area_context_get_area(context: *mut GtkCellAreaContext) -> *mut GtkCellArea;
17932    pub fn gtk_cell_area_context_get_preferred_height(
17933        context: *mut GtkCellAreaContext,
17934        minimum_height: *mut c_int,
17935        natural_height: *mut c_int,
17936    );
17937    pub fn gtk_cell_area_context_get_preferred_height_for_width(
17938        context: *mut GtkCellAreaContext,
17939        width: c_int,
17940        minimum_height: *mut c_int,
17941        natural_height: *mut c_int,
17942    );
17943    pub fn gtk_cell_area_context_get_preferred_width(
17944        context: *mut GtkCellAreaContext,
17945        minimum_width: *mut c_int,
17946        natural_width: *mut c_int,
17947    );
17948    pub fn gtk_cell_area_context_get_preferred_width_for_height(
17949        context: *mut GtkCellAreaContext,
17950        height: c_int,
17951        minimum_width: *mut c_int,
17952        natural_width: *mut c_int,
17953    );
17954    pub fn gtk_cell_area_context_push_preferred_height(
17955        context: *mut GtkCellAreaContext,
17956        minimum_height: c_int,
17957        natural_height: c_int,
17958    );
17959    pub fn gtk_cell_area_context_push_preferred_width(
17960        context: *mut GtkCellAreaContext,
17961        minimum_width: c_int,
17962        natural_width: c_int,
17963    );
17964    pub fn gtk_cell_area_context_reset(context: *mut GtkCellAreaContext);
17965
17966    //=========================================================================
17967    // GtkCellRenderer
17968    //=========================================================================
17969    pub fn gtk_cell_renderer_get_type() -> GType;
17970    pub fn gtk_cell_renderer_activate(
17971        cell: *mut GtkCellRenderer,
17972        event: *mut gdk::GdkEvent,
17973        widget: *mut GtkWidget,
17974        path: *const c_char,
17975        background_area: *const gdk::GdkRectangle,
17976        cell_area: *const gdk::GdkRectangle,
17977        flags: GtkCellRendererState,
17978    ) -> gboolean;
17979    pub fn gtk_cell_renderer_get_aligned_area(
17980        cell: *mut GtkCellRenderer,
17981        widget: *mut GtkWidget,
17982        flags: GtkCellRendererState,
17983        cell_area: *const gdk::GdkRectangle,
17984        aligned_area: *mut gdk::GdkRectangle,
17985    );
17986    pub fn gtk_cell_renderer_get_alignment(
17987        cell: *mut GtkCellRenderer,
17988        xalign: *mut c_float,
17989        yalign: *mut c_float,
17990    );
17991    pub fn gtk_cell_renderer_get_fixed_size(
17992        cell: *mut GtkCellRenderer,
17993        width: *mut c_int,
17994        height: *mut c_int,
17995    );
17996    pub fn gtk_cell_renderer_get_padding(
17997        cell: *mut GtkCellRenderer,
17998        xpad: *mut c_int,
17999        ypad: *mut c_int,
18000    );
18001    pub fn gtk_cell_renderer_get_preferred_height(
18002        cell: *mut GtkCellRenderer,
18003        widget: *mut GtkWidget,
18004        minimum_size: *mut c_int,
18005        natural_size: *mut c_int,
18006    );
18007    pub fn gtk_cell_renderer_get_preferred_height_for_width(
18008        cell: *mut GtkCellRenderer,
18009        widget: *mut GtkWidget,
18010        width: c_int,
18011        minimum_height: *mut c_int,
18012        natural_height: *mut c_int,
18013    );
18014    pub fn gtk_cell_renderer_get_preferred_size(
18015        cell: *mut GtkCellRenderer,
18016        widget: *mut GtkWidget,
18017        minimum_size: *mut GtkRequisition,
18018        natural_size: *mut GtkRequisition,
18019    );
18020    pub fn gtk_cell_renderer_get_preferred_width(
18021        cell: *mut GtkCellRenderer,
18022        widget: *mut GtkWidget,
18023        minimum_size: *mut c_int,
18024        natural_size: *mut c_int,
18025    );
18026    pub fn gtk_cell_renderer_get_preferred_width_for_height(
18027        cell: *mut GtkCellRenderer,
18028        widget: *mut GtkWidget,
18029        height: c_int,
18030        minimum_width: *mut c_int,
18031        natural_width: *mut c_int,
18032    );
18033    pub fn gtk_cell_renderer_get_request_mode(cell: *mut GtkCellRenderer) -> GtkSizeRequestMode;
18034    pub fn gtk_cell_renderer_get_sensitive(cell: *mut GtkCellRenderer) -> gboolean;
18035    pub fn gtk_cell_renderer_get_size(
18036        cell: *mut GtkCellRenderer,
18037        widget: *mut GtkWidget,
18038        cell_area: *const gdk::GdkRectangle,
18039        x_offset: *mut c_int,
18040        y_offset: *mut c_int,
18041        width: *mut c_int,
18042        height: *mut c_int,
18043    );
18044    pub fn gtk_cell_renderer_get_state(
18045        cell: *mut GtkCellRenderer,
18046        widget: *mut GtkWidget,
18047        cell_state: GtkCellRendererState,
18048    ) -> GtkStateFlags;
18049    pub fn gtk_cell_renderer_get_visible(cell: *mut GtkCellRenderer) -> gboolean;
18050    pub fn gtk_cell_renderer_is_activatable(cell: *mut GtkCellRenderer) -> gboolean;
18051    pub fn gtk_cell_renderer_render(
18052        cell: *mut GtkCellRenderer,
18053        cr: *mut cairo::cairo_t,
18054        widget: *mut GtkWidget,
18055        background_area: *const gdk::GdkRectangle,
18056        cell_area: *const gdk::GdkRectangle,
18057        flags: GtkCellRendererState,
18058    );
18059    pub fn gtk_cell_renderer_set_alignment(
18060        cell: *mut GtkCellRenderer,
18061        xalign: c_float,
18062        yalign: c_float,
18063    );
18064    pub fn gtk_cell_renderer_set_fixed_size(
18065        cell: *mut GtkCellRenderer,
18066        width: c_int,
18067        height: c_int,
18068    );
18069    pub fn gtk_cell_renderer_set_padding(cell: *mut GtkCellRenderer, xpad: c_int, ypad: c_int);
18070    pub fn gtk_cell_renderer_set_sensitive(cell: *mut GtkCellRenderer, sensitive: gboolean);
18071    pub fn gtk_cell_renderer_set_visible(cell: *mut GtkCellRenderer, visible: gboolean);
18072    pub fn gtk_cell_renderer_start_editing(
18073        cell: *mut GtkCellRenderer,
18074        event: *mut gdk::GdkEvent,
18075        widget: *mut GtkWidget,
18076        path: *const c_char,
18077        background_area: *const gdk::GdkRectangle,
18078        cell_area: *const gdk::GdkRectangle,
18079        flags: GtkCellRendererState,
18080    ) -> *mut GtkCellEditable;
18081    pub fn gtk_cell_renderer_stop_editing(cell: *mut GtkCellRenderer, canceled: gboolean);
18082
18083    //=========================================================================
18084    // GtkCellRendererAccel
18085    //=========================================================================
18086    pub fn gtk_cell_renderer_accel_get_type() -> GType;
18087    pub fn gtk_cell_renderer_accel_new() -> *mut GtkCellRenderer;
18088
18089    //=========================================================================
18090    // GtkCellRendererCombo
18091    //=========================================================================
18092    pub fn gtk_cell_renderer_combo_get_type() -> GType;
18093    pub fn gtk_cell_renderer_combo_new() -> *mut GtkCellRenderer;
18094
18095    //=========================================================================
18096    // GtkCellRendererPixbuf
18097    //=========================================================================
18098    pub fn gtk_cell_renderer_pixbuf_get_type() -> GType;
18099    pub fn gtk_cell_renderer_pixbuf_new() -> *mut GtkCellRenderer;
18100
18101    //=========================================================================
18102    // GtkCellRendererProgress
18103    //=========================================================================
18104    pub fn gtk_cell_renderer_progress_get_type() -> GType;
18105    pub fn gtk_cell_renderer_progress_new() -> *mut GtkCellRenderer;
18106
18107    //=========================================================================
18108    // GtkCellRendererSpin
18109    //=========================================================================
18110    pub fn gtk_cell_renderer_spin_get_type() -> GType;
18111    pub fn gtk_cell_renderer_spin_new() -> *mut GtkCellRenderer;
18112
18113    //=========================================================================
18114    // GtkCellRendererSpinner
18115    //=========================================================================
18116    pub fn gtk_cell_renderer_spinner_get_type() -> GType;
18117    pub fn gtk_cell_renderer_spinner_new() -> *mut GtkCellRenderer;
18118
18119    //=========================================================================
18120    // GtkCellRendererText
18121    //=========================================================================
18122    pub fn gtk_cell_renderer_text_get_type() -> GType;
18123    pub fn gtk_cell_renderer_text_new() -> *mut GtkCellRenderer;
18124    pub fn gtk_cell_renderer_text_set_fixed_height_from_font(
18125        renderer: *mut GtkCellRendererText,
18126        number_of_rows: c_int,
18127    );
18128
18129    //=========================================================================
18130    // GtkCellRendererToggle
18131    //=========================================================================
18132    pub fn gtk_cell_renderer_toggle_get_type() -> GType;
18133    pub fn gtk_cell_renderer_toggle_new() -> *mut GtkCellRenderer;
18134    pub fn gtk_cell_renderer_toggle_get_activatable(toggle: *mut GtkCellRendererToggle)
18135        -> gboolean;
18136    pub fn gtk_cell_renderer_toggle_get_active(toggle: *mut GtkCellRendererToggle) -> gboolean;
18137    pub fn gtk_cell_renderer_toggle_get_radio(toggle: *mut GtkCellRendererToggle) -> gboolean;
18138    pub fn gtk_cell_renderer_toggle_set_activatable(
18139        toggle: *mut GtkCellRendererToggle,
18140        setting: gboolean,
18141    );
18142    pub fn gtk_cell_renderer_toggle_set_active(
18143        toggle: *mut GtkCellRendererToggle,
18144        setting: gboolean,
18145    );
18146    pub fn gtk_cell_renderer_toggle_set_radio(toggle: *mut GtkCellRendererToggle, radio: gboolean);
18147
18148    //=========================================================================
18149    // GtkCellView
18150    //=========================================================================
18151    pub fn gtk_cell_view_get_type() -> GType;
18152    pub fn gtk_cell_view_new() -> *mut GtkWidget;
18153    pub fn gtk_cell_view_new_with_context(
18154        area: *mut GtkCellArea,
18155        context: *mut GtkCellAreaContext,
18156    ) -> *mut GtkWidget;
18157    pub fn gtk_cell_view_new_with_markup(markup: *const c_char) -> *mut GtkWidget;
18158    pub fn gtk_cell_view_new_with_pixbuf(pixbuf: *mut gdk_pixbuf::GdkPixbuf) -> *mut GtkWidget;
18159    pub fn gtk_cell_view_new_with_text(text: *const c_char) -> *mut GtkWidget;
18160    pub fn gtk_cell_view_get_displayed_row(cell_view: *mut GtkCellView) -> *mut GtkTreePath;
18161    pub fn gtk_cell_view_get_draw_sensitive(cell_view: *mut GtkCellView) -> gboolean;
18162    pub fn gtk_cell_view_get_fit_model(cell_view: *mut GtkCellView) -> gboolean;
18163    pub fn gtk_cell_view_get_model(cell_view: *mut GtkCellView) -> *mut GtkTreeModel;
18164    pub fn gtk_cell_view_get_size_of_row(
18165        cell_view: *mut GtkCellView,
18166        path: *mut GtkTreePath,
18167        requisition: *mut GtkRequisition,
18168    ) -> gboolean;
18169    pub fn gtk_cell_view_set_background_color(
18170        cell_view: *mut GtkCellView,
18171        color: *const gdk::GdkColor,
18172    );
18173    pub fn gtk_cell_view_set_background_rgba(
18174        cell_view: *mut GtkCellView,
18175        rgba: *const gdk::GdkRGBA,
18176    );
18177    pub fn gtk_cell_view_set_displayed_row(cell_view: *mut GtkCellView, path: *mut GtkTreePath);
18178    pub fn gtk_cell_view_set_draw_sensitive(cell_view: *mut GtkCellView, draw_sensitive: gboolean);
18179    pub fn gtk_cell_view_set_fit_model(cell_view: *mut GtkCellView, fit_model: gboolean);
18180    pub fn gtk_cell_view_set_model(cell_view: *mut GtkCellView, model: *mut GtkTreeModel);
18181
18182    //=========================================================================
18183    // GtkCheckButton
18184    //=========================================================================
18185    pub fn gtk_check_button_get_type() -> GType;
18186    pub fn gtk_check_button_new() -> *mut GtkWidget;
18187    pub fn gtk_check_button_new_with_label(label: *const c_char) -> *mut GtkWidget;
18188    pub fn gtk_check_button_new_with_mnemonic(label: *const c_char) -> *mut GtkWidget;
18189
18190    //=========================================================================
18191    // GtkCheckMenuItem
18192    //=========================================================================
18193    pub fn gtk_check_menu_item_get_type() -> GType;
18194    pub fn gtk_check_menu_item_new() -> *mut GtkWidget;
18195    pub fn gtk_check_menu_item_new_with_label(label: *const c_char) -> *mut GtkWidget;
18196    pub fn gtk_check_menu_item_new_with_mnemonic(label: *const c_char) -> *mut GtkWidget;
18197    pub fn gtk_check_menu_item_get_active(check_menu_item: *mut GtkCheckMenuItem) -> gboolean;
18198    pub fn gtk_check_menu_item_get_draw_as_radio(
18199        check_menu_item: *mut GtkCheckMenuItem,
18200    ) -> gboolean;
18201    pub fn gtk_check_menu_item_get_inconsistent(check_menu_item: *mut GtkCheckMenuItem)
18202        -> gboolean;
18203    pub fn gtk_check_menu_item_set_active(
18204        check_menu_item: *mut GtkCheckMenuItem,
18205        is_active: gboolean,
18206    );
18207    pub fn gtk_check_menu_item_set_draw_as_radio(
18208        check_menu_item: *mut GtkCheckMenuItem,
18209        draw_as_radio: gboolean,
18210    );
18211    pub fn gtk_check_menu_item_set_inconsistent(
18212        check_menu_item: *mut GtkCheckMenuItem,
18213        setting: gboolean,
18214    );
18215    pub fn gtk_check_menu_item_toggled(check_menu_item: *mut GtkCheckMenuItem);
18216
18217    //=========================================================================
18218    // GtkCheckMenuItemAccessible
18219    //=========================================================================
18220    pub fn gtk_check_menu_item_accessible_get_type() -> GType;
18221
18222    //=========================================================================
18223    // GtkClipboard
18224    //=========================================================================
18225    pub fn gtk_clipboard_get_type() -> GType;
18226    pub fn gtk_clipboard_get(selection: gdk::GdkAtom) -> *mut GtkClipboard;
18227    #[cfg(any(feature = "v3_16", feature = "dox"))]
18228    pub fn gtk_clipboard_get_default(display: *mut gdk::GdkDisplay) -> *mut GtkClipboard;
18229    pub fn gtk_clipboard_get_for_display(
18230        display: *mut gdk::GdkDisplay,
18231        selection: gdk::GdkAtom,
18232    ) -> *mut GtkClipboard;
18233    pub fn gtk_clipboard_clear(clipboard: *mut GtkClipboard);
18234    pub fn gtk_clipboard_get_display(clipboard: *mut GtkClipboard) -> *mut gdk::GdkDisplay;
18235    pub fn gtk_clipboard_get_owner(clipboard: *mut GtkClipboard) -> *mut gobject::GObject;
18236    #[cfg(any(feature = "v3_22", feature = "dox"))]
18237    pub fn gtk_clipboard_get_selection(clipboard: *mut GtkClipboard) -> gdk::GdkAtom;
18238    pub fn gtk_clipboard_request_contents(
18239        clipboard: *mut GtkClipboard,
18240        target: gdk::GdkAtom,
18241        callback: GtkClipboardReceivedFunc,
18242        user_data: gpointer,
18243    );
18244    pub fn gtk_clipboard_request_image(
18245        clipboard: *mut GtkClipboard,
18246        callback: GtkClipboardImageReceivedFunc,
18247        user_data: gpointer,
18248    );
18249    pub fn gtk_clipboard_request_rich_text(
18250        clipboard: *mut GtkClipboard,
18251        buffer: *mut GtkTextBuffer,
18252        callback: GtkClipboardRichTextReceivedFunc,
18253        user_data: gpointer,
18254    );
18255    pub fn gtk_clipboard_request_targets(
18256        clipboard: *mut GtkClipboard,
18257        callback: GtkClipboardTargetsReceivedFunc,
18258        user_data: gpointer,
18259    );
18260    pub fn gtk_clipboard_request_text(
18261        clipboard: *mut GtkClipboard,
18262        callback: GtkClipboardTextReceivedFunc,
18263        user_data: gpointer,
18264    );
18265    pub fn gtk_clipboard_request_uris(
18266        clipboard: *mut GtkClipboard,
18267        callback: GtkClipboardURIReceivedFunc,
18268        user_data: gpointer,
18269    );
18270    pub fn gtk_clipboard_set_can_store(
18271        clipboard: *mut GtkClipboard,
18272        targets: *const GtkTargetEntry,
18273        n_targets: c_int,
18274    );
18275    pub fn gtk_clipboard_set_image(
18276        clipboard: *mut GtkClipboard,
18277        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
18278    );
18279    pub fn gtk_clipboard_set_text(clipboard: *mut GtkClipboard, text: *const c_char, len: c_int);
18280    pub fn gtk_clipboard_set_with_data(
18281        clipboard: *mut GtkClipboard,
18282        targets: *const GtkTargetEntry,
18283        n_targets: c_uint,
18284        get_func: GtkClipboardGetFunc,
18285        clear_func: GtkClipboardClearFunc,
18286        user_data: gpointer,
18287    ) -> gboolean;
18288    pub fn gtk_clipboard_set_with_owner(
18289        clipboard: *mut GtkClipboard,
18290        targets: *const GtkTargetEntry,
18291        n_targets: c_uint,
18292        get_func: GtkClipboardGetFunc,
18293        clear_func: GtkClipboardClearFunc,
18294        owner: *mut gobject::GObject,
18295    ) -> gboolean;
18296    pub fn gtk_clipboard_store(clipboard: *mut GtkClipboard);
18297    pub fn gtk_clipboard_wait_for_contents(
18298        clipboard: *mut GtkClipboard,
18299        target: gdk::GdkAtom,
18300    ) -> *mut GtkSelectionData;
18301    pub fn gtk_clipboard_wait_for_image(clipboard: *mut GtkClipboard)
18302        -> *mut gdk_pixbuf::GdkPixbuf;
18303    pub fn gtk_clipboard_wait_for_rich_text(
18304        clipboard: *mut GtkClipboard,
18305        buffer: *mut GtkTextBuffer,
18306        format: *mut gdk::GdkAtom,
18307        length: *mut size_t,
18308    ) -> *mut u8;
18309    pub fn gtk_clipboard_wait_for_targets(
18310        clipboard: *mut GtkClipboard,
18311        targets: *mut *mut gdk::GdkAtom,
18312        n_targets: *mut c_int,
18313    ) -> gboolean;
18314    pub fn gtk_clipboard_wait_for_text(clipboard: *mut GtkClipboard) -> *mut c_char;
18315    pub fn gtk_clipboard_wait_for_uris(clipboard: *mut GtkClipboard) -> *mut *mut c_char;
18316    pub fn gtk_clipboard_wait_is_image_available(clipboard: *mut GtkClipboard) -> gboolean;
18317    pub fn gtk_clipboard_wait_is_rich_text_available(
18318        clipboard: *mut GtkClipboard,
18319        buffer: *mut GtkTextBuffer,
18320    ) -> gboolean;
18321    pub fn gtk_clipboard_wait_is_target_available(
18322        clipboard: *mut GtkClipboard,
18323        target: gdk::GdkAtom,
18324    ) -> gboolean;
18325    pub fn gtk_clipboard_wait_is_text_available(clipboard: *mut GtkClipboard) -> gboolean;
18326    pub fn gtk_clipboard_wait_is_uris_available(clipboard: *mut GtkClipboard) -> gboolean;
18327
18328    //=========================================================================
18329    // GtkColorButton
18330    //=========================================================================
18331    pub fn gtk_color_button_get_type() -> GType;
18332    pub fn gtk_color_button_new() -> *mut GtkWidget;
18333    pub fn gtk_color_button_new_with_color(color: *const gdk::GdkColor) -> *mut GtkWidget;
18334    pub fn gtk_color_button_new_with_rgba(rgba: *const gdk::GdkRGBA) -> *mut GtkWidget;
18335    pub fn gtk_color_button_get_alpha(button: *mut GtkColorButton) -> u16;
18336    pub fn gtk_color_button_get_color(button: *mut GtkColorButton, color: *mut gdk::GdkColor);
18337    pub fn gtk_color_button_get_rgba(button: *mut GtkColorButton, rgba: *mut gdk::GdkRGBA);
18338    pub fn gtk_color_button_get_title(button: *mut GtkColorButton) -> *const c_char;
18339    pub fn gtk_color_button_get_use_alpha(button: *mut GtkColorButton) -> gboolean;
18340    pub fn gtk_color_button_set_alpha(button: *mut GtkColorButton, alpha: u16);
18341    pub fn gtk_color_button_set_color(button: *mut GtkColorButton, color: *const gdk::GdkColor);
18342    pub fn gtk_color_button_set_rgba(button: *mut GtkColorButton, rgba: *const gdk::GdkRGBA);
18343    pub fn gtk_color_button_set_title(button: *mut GtkColorButton, title: *const c_char);
18344    pub fn gtk_color_button_set_use_alpha(button: *mut GtkColorButton, use_alpha: gboolean);
18345
18346    //=========================================================================
18347    // GtkColorChooserDialog
18348    //=========================================================================
18349    pub fn gtk_color_chooser_dialog_get_type() -> GType;
18350    pub fn gtk_color_chooser_dialog_new(
18351        title: *const c_char,
18352        parent: *mut GtkWindow,
18353    ) -> *mut GtkWidget;
18354
18355    //=========================================================================
18356    // GtkColorChooserWidget
18357    //=========================================================================
18358    pub fn gtk_color_chooser_widget_get_type() -> GType;
18359    pub fn gtk_color_chooser_widget_new() -> *mut GtkWidget;
18360
18361    //=========================================================================
18362    // GtkColorSelection
18363    //=========================================================================
18364    pub fn gtk_color_selection_get_type() -> GType;
18365    pub fn gtk_color_selection_new() -> *mut GtkWidget;
18366    pub fn gtk_color_selection_palette_from_string(
18367        str: *const c_char,
18368        colors: *mut *mut gdk::GdkColor,
18369        n_colors: *mut c_int,
18370    ) -> gboolean;
18371    pub fn gtk_color_selection_palette_to_string(
18372        colors: *const gdk::GdkColor,
18373        n_colors: c_int,
18374    ) -> *mut c_char;
18375    pub fn gtk_color_selection_set_change_palette_with_screen_hook(
18376        func: GtkColorSelectionChangePaletteWithScreenFunc,
18377    ) -> GtkColorSelectionChangePaletteWithScreenFunc;
18378    pub fn gtk_color_selection_get_current_alpha(colorsel: *mut GtkColorSelection) -> u16;
18379    pub fn gtk_color_selection_get_current_color(
18380        colorsel: *mut GtkColorSelection,
18381        color: *mut gdk::GdkColor,
18382    );
18383    pub fn gtk_color_selection_get_current_rgba(
18384        colorsel: *mut GtkColorSelection,
18385        rgba: *mut gdk::GdkRGBA,
18386    );
18387    pub fn gtk_color_selection_get_has_opacity_control(
18388        colorsel: *mut GtkColorSelection,
18389    ) -> gboolean;
18390    pub fn gtk_color_selection_get_has_palette(colorsel: *mut GtkColorSelection) -> gboolean;
18391    pub fn gtk_color_selection_get_previous_alpha(colorsel: *mut GtkColorSelection) -> u16;
18392    pub fn gtk_color_selection_get_previous_color(
18393        colorsel: *mut GtkColorSelection,
18394        color: *mut gdk::GdkColor,
18395    );
18396    pub fn gtk_color_selection_get_previous_rgba(
18397        colorsel: *mut GtkColorSelection,
18398        rgba: *mut gdk::GdkRGBA,
18399    );
18400    pub fn gtk_color_selection_is_adjusting(colorsel: *mut GtkColorSelection) -> gboolean;
18401    pub fn gtk_color_selection_set_current_alpha(colorsel: *mut GtkColorSelection, alpha: u16);
18402    pub fn gtk_color_selection_set_current_color(
18403        colorsel: *mut GtkColorSelection,
18404        color: *const gdk::GdkColor,
18405    );
18406    pub fn gtk_color_selection_set_current_rgba(
18407        colorsel: *mut GtkColorSelection,
18408        rgba: *const gdk::GdkRGBA,
18409    );
18410    pub fn gtk_color_selection_set_has_opacity_control(
18411        colorsel: *mut GtkColorSelection,
18412        has_opacity: gboolean,
18413    );
18414    pub fn gtk_color_selection_set_has_palette(
18415        colorsel: *mut GtkColorSelection,
18416        has_palette: gboolean,
18417    );
18418    pub fn gtk_color_selection_set_previous_alpha(colorsel: *mut GtkColorSelection, alpha: u16);
18419    pub fn gtk_color_selection_set_previous_color(
18420        colorsel: *mut GtkColorSelection,
18421        color: *const gdk::GdkColor,
18422    );
18423    pub fn gtk_color_selection_set_previous_rgba(
18424        colorsel: *mut GtkColorSelection,
18425        rgba: *const gdk::GdkRGBA,
18426    );
18427
18428    //=========================================================================
18429    // GtkColorSelectionDialog
18430    //=========================================================================
18431    pub fn gtk_color_selection_dialog_get_type() -> GType;
18432    pub fn gtk_color_selection_dialog_new(title: *const c_char) -> *mut GtkWidget;
18433    pub fn gtk_color_selection_dialog_get_color_selection(
18434        colorsel: *mut GtkColorSelectionDialog,
18435    ) -> *mut GtkWidget;
18436
18437    //=========================================================================
18438    // GtkComboBox
18439    //=========================================================================
18440    pub fn gtk_combo_box_get_type() -> GType;
18441    pub fn gtk_combo_box_new() -> *mut GtkWidget;
18442    pub fn gtk_combo_box_new_with_area(area: *mut GtkCellArea) -> *mut GtkWidget;
18443    pub fn gtk_combo_box_new_with_area_and_entry(area: *mut GtkCellArea) -> *mut GtkWidget;
18444    pub fn gtk_combo_box_new_with_entry() -> *mut GtkWidget;
18445    pub fn gtk_combo_box_new_with_model(model: *mut GtkTreeModel) -> *mut GtkWidget;
18446    pub fn gtk_combo_box_new_with_model_and_entry(model: *mut GtkTreeModel) -> *mut GtkWidget;
18447    pub fn gtk_combo_box_get_active(combo_box: *mut GtkComboBox) -> c_int;
18448    pub fn gtk_combo_box_get_active_id(combo_box: *mut GtkComboBox) -> *const c_char;
18449    pub fn gtk_combo_box_get_active_iter(
18450        combo_box: *mut GtkComboBox,
18451        iter: *mut GtkTreeIter,
18452    ) -> gboolean;
18453    pub fn gtk_combo_box_get_add_tearoffs(combo_box: *mut GtkComboBox) -> gboolean;
18454    pub fn gtk_combo_box_get_button_sensitivity(combo_box: *mut GtkComboBox) -> GtkSensitivityType;
18455    pub fn gtk_combo_box_get_column_span_column(combo_box: *mut GtkComboBox) -> c_int;
18456    pub fn gtk_combo_box_get_entry_text_column(combo_box: *mut GtkComboBox) -> c_int;
18457    pub fn gtk_combo_box_get_focus_on_click(combo: *mut GtkComboBox) -> gboolean;
18458    pub fn gtk_combo_box_get_has_entry(combo_box: *mut GtkComboBox) -> gboolean;
18459    pub fn gtk_combo_box_get_id_column(combo_box: *mut GtkComboBox) -> c_int;
18460    pub fn gtk_combo_box_get_model(combo_box: *mut GtkComboBox) -> *mut GtkTreeModel;
18461    pub fn gtk_combo_box_get_popup_accessible(combo_box: *mut GtkComboBox) -> *mut atk::AtkObject;
18462    pub fn gtk_combo_box_get_popup_fixed_width(combo_box: *mut GtkComboBox) -> gboolean;
18463    pub fn gtk_combo_box_get_row_separator_func(
18464        combo_box: *mut GtkComboBox,
18465    ) -> GtkTreeViewRowSeparatorFunc;
18466    pub fn gtk_combo_box_get_row_span_column(combo_box: *mut GtkComboBox) -> c_int;
18467    pub fn gtk_combo_box_get_title(combo_box: *mut GtkComboBox) -> *const c_char;
18468    pub fn gtk_combo_box_get_wrap_width(combo_box: *mut GtkComboBox) -> c_int;
18469    pub fn gtk_combo_box_popdown(combo_box: *mut GtkComboBox);
18470    pub fn gtk_combo_box_popup(combo_box: *mut GtkComboBox);
18471    pub fn gtk_combo_box_popup_for_device(combo_box: *mut GtkComboBox, device: *mut gdk::GdkDevice);
18472    pub fn gtk_combo_box_set_active(combo_box: *mut GtkComboBox, index_: c_int);
18473    pub fn gtk_combo_box_set_active_id(
18474        combo_box: *mut GtkComboBox,
18475        active_id: *const c_char,
18476    ) -> gboolean;
18477    pub fn gtk_combo_box_set_active_iter(combo_box: *mut GtkComboBox, iter: *mut GtkTreeIter);
18478    pub fn gtk_combo_box_set_add_tearoffs(combo_box: *mut GtkComboBox, add_tearoffs: gboolean);
18479    pub fn gtk_combo_box_set_button_sensitivity(
18480        combo_box: *mut GtkComboBox,
18481        sensitivity: GtkSensitivityType,
18482    );
18483    pub fn gtk_combo_box_set_column_span_column(combo_box: *mut GtkComboBox, column_span: c_int);
18484    pub fn gtk_combo_box_set_entry_text_column(combo_box: *mut GtkComboBox, text_column: c_int);
18485    pub fn gtk_combo_box_set_focus_on_click(combo: *mut GtkComboBox, focus_on_click: gboolean);
18486    pub fn gtk_combo_box_set_id_column(combo_box: *mut GtkComboBox, id_column: c_int);
18487    pub fn gtk_combo_box_set_model(combo_box: *mut GtkComboBox, model: *mut GtkTreeModel);
18488    pub fn gtk_combo_box_set_popup_fixed_width(combo_box: *mut GtkComboBox, fixed: gboolean);
18489    pub fn gtk_combo_box_set_row_separator_func(
18490        combo_box: *mut GtkComboBox,
18491        func: GtkTreeViewRowSeparatorFunc,
18492        data: gpointer,
18493        destroy: glib::GDestroyNotify,
18494    );
18495    pub fn gtk_combo_box_set_row_span_column(combo_box: *mut GtkComboBox, row_span: c_int);
18496    pub fn gtk_combo_box_set_title(combo_box: *mut GtkComboBox, title: *const c_char);
18497    pub fn gtk_combo_box_set_wrap_width(combo_box: *mut GtkComboBox, width: c_int);
18498
18499    //=========================================================================
18500    // GtkComboBoxAccessible
18501    //=========================================================================
18502    pub fn gtk_combo_box_accessible_get_type() -> GType;
18503
18504    //=========================================================================
18505    // GtkComboBoxText
18506    //=========================================================================
18507    pub fn gtk_combo_box_text_get_type() -> GType;
18508    pub fn gtk_combo_box_text_new() -> *mut GtkWidget;
18509    pub fn gtk_combo_box_text_new_with_entry() -> *mut GtkWidget;
18510    pub fn gtk_combo_box_text_append(
18511        combo_box: *mut GtkComboBoxText,
18512        id: *const c_char,
18513        text: *const c_char,
18514    );
18515    pub fn gtk_combo_box_text_append_text(combo_box: *mut GtkComboBoxText, text: *const c_char);
18516    pub fn gtk_combo_box_text_get_active_text(combo_box: *mut GtkComboBoxText) -> *mut c_char;
18517    pub fn gtk_combo_box_text_insert(
18518        combo_box: *mut GtkComboBoxText,
18519        position: c_int,
18520        id: *const c_char,
18521        text: *const c_char,
18522    );
18523    pub fn gtk_combo_box_text_insert_text(
18524        combo_box: *mut GtkComboBoxText,
18525        position: c_int,
18526        text: *const c_char,
18527    );
18528    pub fn gtk_combo_box_text_prepend(
18529        combo_box: *mut GtkComboBoxText,
18530        id: *const c_char,
18531        text: *const c_char,
18532    );
18533    pub fn gtk_combo_box_text_prepend_text(combo_box: *mut GtkComboBoxText, text: *const c_char);
18534    pub fn gtk_combo_box_text_remove(combo_box: *mut GtkComboBoxText, position: c_int);
18535    pub fn gtk_combo_box_text_remove_all(combo_box: *mut GtkComboBoxText);
18536
18537    //=========================================================================
18538    // GtkContainer
18539    //=========================================================================
18540    pub fn gtk_container_get_type() -> GType;
18541    pub fn gtk_container_add(container: *mut GtkContainer, widget: *mut GtkWidget);
18542    pub fn gtk_container_add_with_properties(
18543        container: *mut GtkContainer,
18544        widget: *mut GtkWidget,
18545        first_prop_name: *const c_char,
18546        ...
18547    );
18548    pub fn gtk_container_check_resize(container: *mut GtkContainer);
18549    pub fn gtk_container_child_get(
18550        container: *mut GtkContainer,
18551        child: *mut GtkWidget,
18552        first_prop_name: *const c_char,
18553        ...
18554    );
18555    pub fn gtk_container_child_get_property(
18556        container: *mut GtkContainer,
18557        child: *mut GtkWidget,
18558        property_name: *const c_char,
18559        value: *mut gobject::GValue,
18560    );
18561    //pub fn gtk_container_child_get_valist(container: *mut GtkContainer, child: *mut GtkWidget, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list);
18562    pub fn gtk_container_child_notify(
18563        container: *mut GtkContainer,
18564        child: *mut GtkWidget,
18565        child_property: *const c_char,
18566    );
18567    #[cfg(any(feature = "v3_18", feature = "dox"))]
18568    pub fn gtk_container_child_notify_by_pspec(
18569        container: *mut GtkContainer,
18570        child: *mut GtkWidget,
18571        pspec: *mut gobject::GParamSpec,
18572    );
18573    pub fn gtk_container_child_set(
18574        container: *mut GtkContainer,
18575        child: *mut GtkWidget,
18576        first_prop_name: *const c_char,
18577        ...
18578    );
18579    pub fn gtk_container_child_set_property(
18580        container: *mut GtkContainer,
18581        child: *mut GtkWidget,
18582        property_name: *const c_char,
18583        value: *const gobject::GValue,
18584    );
18585    //pub fn gtk_container_child_set_valist(container: *mut GtkContainer, child: *mut GtkWidget, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list);
18586    pub fn gtk_container_child_type(container: *mut GtkContainer) -> GType;
18587    pub fn gtk_container_forall(
18588        container: *mut GtkContainer,
18589        callback: GtkCallback,
18590        callback_data: gpointer,
18591    );
18592    pub fn gtk_container_foreach(
18593        container: *mut GtkContainer,
18594        callback: GtkCallback,
18595        callback_data: gpointer,
18596    );
18597    pub fn gtk_container_get_border_width(container: *mut GtkContainer) -> c_uint;
18598    pub fn gtk_container_get_children(container: *mut GtkContainer) -> *mut glib::GList;
18599    pub fn gtk_container_get_focus_chain(
18600        container: *mut GtkContainer,
18601        focusable_widgets: *mut *mut glib::GList,
18602    ) -> gboolean;
18603    pub fn gtk_container_get_focus_child(container: *mut GtkContainer) -> *mut GtkWidget;
18604    pub fn gtk_container_get_focus_hadjustment(container: *mut GtkContainer) -> *mut GtkAdjustment;
18605    pub fn gtk_container_get_focus_vadjustment(container: *mut GtkContainer) -> *mut GtkAdjustment;
18606    pub fn gtk_container_get_path_for_child(
18607        container: *mut GtkContainer,
18608        child: *mut GtkWidget,
18609    ) -> *mut GtkWidgetPath;
18610    pub fn gtk_container_get_resize_mode(container: *mut GtkContainer) -> GtkResizeMode;
18611    pub fn gtk_container_propagate_draw(
18612        container: *mut GtkContainer,
18613        child: *mut GtkWidget,
18614        cr: *mut cairo::cairo_t,
18615    );
18616    pub fn gtk_container_remove(container: *mut GtkContainer, widget: *mut GtkWidget);
18617    pub fn gtk_container_resize_children(container: *mut GtkContainer);
18618    pub fn gtk_container_set_border_width(container: *mut GtkContainer, border_width: c_uint);
18619    pub fn gtk_container_set_focus_chain(
18620        container: *mut GtkContainer,
18621        focusable_widgets: *mut glib::GList,
18622    );
18623    pub fn gtk_container_set_focus_child(container: *mut GtkContainer, child: *mut GtkWidget);
18624    pub fn gtk_container_set_focus_hadjustment(
18625        container: *mut GtkContainer,
18626        adjustment: *mut GtkAdjustment,
18627    );
18628    pub fn gtk_container_set_focus_vadjustment(
18629        container: *mut GtkContainer,
18630        adjustment: *mut GtkAdjustment,
18631    );
18632    pub fn gtk_container_set_reallocate_redraws(
18633        container: *mut GtkContainer,
18634        needs_redraws: gboolean,
18635    );
18636    pub fn gtk_container_set_resize_mode(container: *mut GtkContainer, resize_mode: GtkResizeMode);
18637    pub fn gtk_container_unset_focus_chain(container: *mut GtkContainer);
18638
18639    //=========================================================================
18640    // GtkContainerAccessible
18641    //=========================================================================
18642    pub fn gtk_container_accessible_get_type() -> GType;
18643
18644    //=========================================================================
18645    // GtkContainerCellAccessible
18646    //=========================================================================
18647    pub fn gtk_container_cell_accessible_get_type() -> GType;
18648    pub fn gtk_container_cell_accessible_new() -> *mut GtkContainerCellAccessible;
18649    pub fn gtk_container_cell_accessible_add_child(
18650        container: *mut GtkContainerCellAccessible,
18651        child: *mut GtkCellAccessible,
18652    );
18653    pub fn gtk_container_cell_accessible_get_children(
18654        container: *mut GtkContainerCellAccessible,
18655    ) -> *mut glib::GList;
18656    pub fn gtk_container_cell_accessible_remove_child(
18657        container: *mut GtkContainerCellAccessible,
18658        child: *mut GtkCellAccessible,
18659    );
18660
18661    //=========================================================================
18662    // GtkCssProvider
18663    //=========================================================================
18664    pub fn gtk_css_provider_get_type() -> GType;
18665    pub fn gtk_css_provider_new() -> *mut GtkCssProvider;
18666    pub fn gtk_css_provider_get_default() -> *mut GtkCssProvider;
18667    pub fn gtk_css_provider_get_named(
18668        name: *const c_char,
18669        variant: *const c_char,
18670    ) -> *mut GtkCssProvider;
18671    pub fn gtk_css_provider_load_from_data(
18672        css_provider: *mut GtkCssProvider,
18673        data: *const u8,
18674        length: ssize_t,
18675        error: *mut *mut glib::GError,
18676    ) -> gboolean;
18677    pub fn gtk_css_provider_load_from_file(
18678        css_provider: *mut GtkCssProvider,
18679        file: *mut gio::GFile,
18680        error: *mut *mut glib::GError,
18681    ) -> gboolean;
18682    pub fn gtk_css_provider_load_from_path(
18683        css_provider: *mut GtkCssProvider,
18684        path: *const c_char,
18685        error: *mut *mut glib::GError,
18686    ) -> gboolean;
18687    #[cfg(any(feature = "v3_16", feature = "dox"))]
18688    pub fn gtk_css_provider_load_from_resource(
18689        css_provider: *mut GtkCssProvider,
18690        resource_path: *const c_char,
18691    );
18692    pub fn gtk_css_provider_to_string(provider: *mut GtkCssProvider) -> *mut c_char;
18693
18694    //=========================================================================
18695    // GtkDialog
18696    //=========================================================================
18697    pub fn gtk_dialog_get_type() -> GType;
18698    pub fn gtk_dialog_new() -> *mut GtkWidget;
18699    pub fn gtk_dialog_new_with_buttons(
18700        title: *const c_char,
18701        parent: *mut GtkWindow,
18702        flags: GtkDialogFlags,
18703        first_button_text: *const c_char,
18704        ...
18705    ) -> *mut GtkWidget;
18706    pub fn gtk_dialog_add_action_widget(
18707        dialog: *mut GtkDialog,
18708        child: *mut GtkWidget,
18709        response_id: GtkResponseType,
18710    );
18711    pub fn gtk_dialog_add_button(
18712        dialog: *mut GtkDialog,
18713        button_text: *const c_char,
18714        response_id: GtkResponseType,
18715    ) -> *mut GtkWidget;
18716    pub fn gtk_dialog_add_buttons(dialog: *mut GtkDialog, first_button_text: *const c_char, ...);
18717    pub fn gtk_dialog_get_action_area(dialog: *mut GtkDialog) -> *mut GtkWidget;
18718    pub fn gtk_dialog_get_content_area(dialog: *mut GtkDialog) -> *mut GtkBox;
18719    pub fn gtk_dialog_get_header_bar(dialog: *mut GtkDialog) -> *mut GtkWidget;
18720    pub fn gtk_dialog_get_response_for_widget(
18721        dialog: *mut GtkDialog,
18722        widget: *mut GtkWidget,
18723    ) -> c_int;
18724    pub fn gtk_dialog_get_widget_for_response(
18725        dialog: *mut GtkDialog,
18726        response_id: GtkResponseType,
18727    ) -> *mut GtkWidget;
18728    pub fn gtk_dialog_response(dialog: *mut GtkDialog, response_id: GtkResponseType);
18729    pub fn gtk_dialog_run(dialog: *mut GtkDialog) -> c_int;
18730    pub fn gtk_dialog_set_alternative_button_order(
18731        dialog: *mut GtkDialog,
18732        first_response_id: c_int,
18733        ...
18734    );
18735    pub fn gtk_dialog_set_alternative_button_order_from_array(
18736        dialog: *mut GtkDialog,
18737        n_params: c_int,
18738        new_order: *mut c_int,
18739    );
18740    pub fn gtk_dialog_set_default_response(dialog: *mut GtkDialog, response_id: GtkResponseType);
18741    pub fn gtk_dialog_set_response_sensitive(
18742        dialog: *mut GtkDialog,
18743        response_id: GtkResponseType,
18744        setting: gboolean,
18745    );
18746
18747    //=========================================================================
18748    // GtkDrawingArea
18749    //=========================================================================
18750    pub fn gtk_drawing_area_get_type() -> GType;
18751    pub fn gtk_drawing_area_new() -> *mut GtkWidget;
18752
18753    //=========================================================================
18754    // GtkEntry
18755    //=========================================================================
18756    pub fn gtk_entry_get_type() -> GType;
18757    pub fn gtk_entry_new() -> *mut GtkWidget;
18758    pub fn gtk_entry_new_with_buffer(buffer: *mut GtkEntryBuffer) -> *mut GtkWidget;
18759    pub fn gtk_entry_get_activates_default(entry: *mut GtkEntry) -> gboolean;
18760    pub fn gtk_entry_get_alignment(entry: *mut GtkEntry) -> c_float;
18761    pub fn gtk_entry_get_attributes(entry: *mut GtkEntry) -> *mut pango::PangoAttrList;
18762    pub fn gtk_entry_get_buffer(entry: *mut GtkEntry) -> *mut GtkEntryBuffer;
18763    pub fn gtk_entry_get_completion(entry: *mut GtkEntry) -> *mut GtkEntryCompletion;
18764    pub fn gtk_entry_get_current_icon_drag_source(entry: *mut GtkEntry) -> c_int;
18765    pub fn gtk_entry_get_cursor_hadjustment(entry: *mut GtkEntry) -> *mut GtkAdjustment;
18766    pub fn gtk_entry_get_has_frame(entry: *mut GtkEntry) -> gboolean;
18767    pub fn gtk_entry_get_icon_activatable(
18768        entry: *mut GtkEntry,
18769        icon_pos: GtkEntryIconPosition,
18770    ) -> gboolean;
18771    pub fn gtk_entry_get_icon_area(
18772        entry: *mut GtkEntry,
18773        icon_pos: GtkEntryIconPosition,
18774        icon_area: *mut gdk::GdkRectangle,
18775    );
18776    pub fn gtk_entry_get_icon_at_pos(entry: *mut GtkEntry, x: c_int, y: c_int) -> c_int;
18777    pub fn gtk_entry_get_icon_gicon(
18778        entry: *mut GtkEntry,
18779        icon_pos: GtkEntryIconPosition,
18780    ) -> *mut gio::GIcon;
18781    pub fn gtk_entry_get_icon_name(
18782        entry: *mut GtkEntry,
18783        icon_pos: GtkEntryIconPosition,
18784    ) -> *const c_char;
18785    pub fn gtk_entry_get_icon_pixbuf(
18786        entry: *mut GtkEntry,
18787        icon_pos: GtkEntryIconPosition,
18788    ) -> *mut gdk_pixbuf::GdkPixbuf;
18789    pub fn gtk_entry_get_icon_sensitive(
18790        entry: *mut GtkEntry,
18791        icon_pos: GtkEntryIconPosition,
18792    ) -> gboolean;
18793    pub fn gtk_entry_get_icon_stock(
18794        entry: *mut GtkEntry,
18795        icon_pos: GtkEntryIconPosition,
18796    ) -> *const c_char;
18797    pub fn gtk_entry_get_icon_storage_type(
18798        entry: *mut GtkEntry,
18799        icon_pos: GtkEntryIconPosition,
18800    ) -> GtkImageType;
18801    pub fn gtk_entry_get_icon_tooltip_markup(
18802        entry: *mut GtkEntry,
18803        icon_pos: GtkEntryIconPosition,
18804    ) -> *mut c_char;
18805    pub fn gtk_entry_get_icon_tooltip_text(
18806        entry: *mut GtkEntry,
18807        icon_pos: GtkEntryIconPosition,
18808    ) -> *mut c_char;
18809    pub fn gtk_entry_get_inner_border(entry: *mut GtkEntry) -> *const GtkBorder;
18810    pub fn gtk_entry_get_input_hints(entry: *mut GtkEntry) -> GtkInputHints;
18811    pub fn gtk_entry_get_input_purpose(entry: *mut GtkEntry) -> GtkInputPurpose;
18812    pub fn gtk_entry_get_invisible_char(entry: *mut GtkEntry) -> u32;
18813    pub fn gtk_entry_get_layout(entry: *mut GtkEntry) -> *mut pango::PangoLayout;
18814    pub fn gtk_entry_get_layout_offsets(entry: *mut GtkEntry, x: *mut c_int, y: *mut c_int);
18815    pub fn gtk_entry_get_max_length(entry: *mut GtkEntry) -> c_int;
18816    pub fn gtk_entry_get_max_width_chars(entry: *mut GtkEntry) -> c_int;
18817    pub fn gtk_entry_get_overwrite_mode(entry: *mut GtkEntry) -> gboolean;
18818    pub fn gtk_entry_get_placeholder_text(entry: *mut GtkEntry) -> *const c_char;
18819    pub fn gtk_entry_get_progress_fraction(entry: *mut GtkEntry) -> c_double;
18820    pub fn gtk_entry_get_progress_pulse_step(entry: *mut GtkEntry) -> c_double;
18821    pub fn gtk_entry_get_tabs(entry: *mut GtkEntry) -> *mut pango::PangoTabArray;
18822    pub fn gtk_entry_get_text(entry: *mut GtkEntry) -> *const c_char;
18823    pub fn gtk_entry_get_text_area(entry: *mut GtkEntry, text_area: *mut gdk::GdkRectangle);
18824    pub fn gtk_entry_get_text_length(entry: *mut GtkEntry) -> u16;
18825    pub fn gtk_entry_get_visibility(entry: *mut GtkEntry) -> gboolean;
18826    pub fn gtk_entry_get_width_chars(entry: *mut GtkEntry) -> c_int;
18827    #[cfg(any(feature = "v3_16", feature = "dox"))]
18828    pub fn gtk_entry_grab_focus_without_selecting(entry: *mut GtkEntry);
18829    pub fn gtk_entry_im_context_filter_keypress(
18830        entry: *mut GtkEntry,
18831        event: *mut gdk::GdkEventKey,
18832    ) -> gboolean;
18833    pub fn gtk_entry_layout_index_to_text_index(entry: *mut GtkEntry, layout_index: c_int)
18834        -> c_int;
18835    pub fn gtk_entry_progress_pulse(entry: *mut GtkEntry);
18836    pub fn gtk_entry_reset_im_context(entry: *mut GtkEntry);
18837    pub fn gtk_entry_set_activates_default(entry: *mut GtkEntry, setting: gboolean);
18838    pub fn gtk_entry_set_alignment(entry: *mut GtkEntry, xalign: c_float);
18839    pub fn gtk_entry_set_attributes(entry: *mut GtkEntry, attrs: *mut pango::PangoAttrList);
18840    pub fn gtk_entry_set_buffer(entry: *mut GtkEntry, buffer: *mut GtkEntryBuffer);
18841    pub fn gtk_entry_set_completion(entry: *mut GtkEntry, completion: *mut GtkEntryCompletion);
18842    pub fn gtk_entry_set_cursor_hadjustment(entry: *mut GtkEntry, adjustment: *mut GtkAdjustment);
18843    pub fn gtk_entry_set_has_frame(entry: *mut GtkEntry, setting: gboolean);
18844    pub fn gtk_entry_set_icon_activatable(
18845        entry: *mut GtkEntry,
18846        icon_pos: GtkEntryIconPosition,
18847        activatable: gboolean,
18848    );
18849    pub fn gtk_entry_set_icon_drag_source(
18850        entry: *mut GtkEntry,
18851        icon_pos: GtkEntryIconPosition,
18852        target_list: *mut GtkTargetList,
18853        actions: gdk::GdkDragAction,
18854    );
18855    pub fn gtk_entry_set_icon_from_gicon(
18856        entry: *mut GtkEntry,
18857        icon_pos: GtkEntryIconPosition,
18858        icon: *mut gio::GIcon,
18859    );
18860    pub fn gtk_entry_set_icon_from_icon_name(
18861        entry: *mut GtkEntry,
18862        icon_pos: GtkEntryIconPosition,
18863        icon_name: *const c_char,
18864    );
18865    pub fn gtk_entry_set_icon_from_pixbuf(
18866        entry: *mut GtkEntry,
18867        icon_pos: GtkEntryIconPosition,
18868        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
18869    );
18870    pub fn gtk_entry_set_icon_from_stock(
18871        entry: *mut GtkEntry,
18872        icon_pos: GtkEntryIconPosition,
18873        stock_id: *const c_char,
18874    );
18875    pub fn gtk_entry_set_icon_sensitive(
18876        entry: *mut GtkEntry,
18877        icon_pos: GtkEntryIconPosition,
18878        sensitive: gboolean,
18879    );
18880    pub fn gtk_entry_set_icon_tooltip_markup(
18881        entry: *mut GtkEntry,
18882        icon_pos: GtkEntryIconPosition,
18883        tooltip: *const c_char,
18884    );
18885    pub fn gtk_entry_set_icon_tooltip_text(
18886        entry: *mut GtkEntry,
18887        icon_pos: GtkEntryIconPosition,
18888        tooltip: *const c_char,
18889    );
18890    pub fn gtk_entry_set_inner_border(entry: *mut GtkEntry, border: *const GtkBorder);
18891    pub fn gtk_entry_set_input_hints(entry: *mut GtkEntry, hints: GtkInputHints);
18892    pub fn gtk_entry_set_input_purpose(entry: *mut GtkEntry, purpose: GtkInputPurpose);
18893    pub fn gtk_entry_set_invisible_char(entry: *mut GtkEntry, ch: u32);
18894    pub fn gtk_entry_set_max_length(entry: *mut GtkEntry, max: c_int);
18895    pub fn gtk_entry_set_max_width_chars(entry: *mut GtkEntry, n_chars: c_int);
18896    pub fn gtk_entry_set_overwrite_mode(entry: *mut GtkEntry, overwrite: gboolean);
18897    pub fn gtk_entry_set_placeholder_text(entry: *mut GtkEntry, text: *const c_char);
18898    pub fn gtk_entry_set_progress_fraction(entry: *mut GtkEntry, fraction: c_double);
18899    pub fn gtk_entry_set_progress_pulse_step(entry: *mut GtkEntry, fraction: c_double);
18900    pub fn gtk_entry_set_tabs(entry: *mut GtkEntry, tabs: *mut pango::PangoTabArray);
18901    pub fn gtk_entry_set_text(entry: *mut GtkEntry, text: *const c_char);
18902    pub fn gtk_entry_set_visibility(entry: *mut GtkEntry, visible: gboolean);
18903    pub fn gtk_entry_set_width_chars(entry: *mut GtkEntry, n_chars: c_int);
18904    pub fn gtk_entry_text_index_to_layout_index(entry: *mut GtkEntry, text_index: c_int) -> c_int;
18905    pub fn gtk_entry_unset_invisible_char(entry: *mut GtkEntry);
18906
18907    //=========================================================================
18908    // GtkEntryAccessible
18909    //=========================================================================
18910    pub fn gtk_entry_accessible_get_type() -> GType;
18911
18912    //=========================================================================
18913    // GtkEntryBuffer
18914    //=========================================================================
18915    pub fn gtk_entry_buffer_get_type() -> GType;
18916    pub fn gtk_entry_buffer_new(
18917        initial_chars: *const c_char,
18918        n_initial_chars: c_int,
18919    ) -> *mut GtkEntryBuffer;
18920    pub fn gtk_entry_buffer_delete_text(
18921        buffer: *mut GtkEntryBuffer,
18922        position: c_uint,
18923        n_chars: c_int,
18924    ) -> c_uint;
18925    pub fn gtk_entry_buffer_emit_deleted_text(
18926        buffer: *mut GtkEntryBuffer,
18927        position: c_uint,
18928        n_chars: c_uint,
18929    );
18930    pub fn gtk_entry_buffer_emit_inserted_text(
18931        buffer: *mut GtkEntryBuffer,
18932        position: c_uint,
18933        chars: *const c_char,
18934        n_chars: c_uint,
18935    );
18936    pub fn gtk_entry_buffer_get_bytes(buffer: *mut GtkEntryBuffer) -> size_t;
18937    pub fn gtk_entry_buffer_get_length(buffer: *mut GtkEntryBuffer) -> c_uint;
18938    pub fn gtk_entry_buffer_get_max_length(buffer: *mut GtkEntryBuffer) -> c_int;
18939    pub fn gtk_entry_buffer_get_text(buffer: *mut GtkEntryBuffer) -> *const c_char;
18940    pub fn gtk_entry_buffer_insert_text(
18941        buffer: *mut GtkEntryBuffer,
18942        position: c_uint,
18943        chars: *const c_char,
18944        n_chars: c_int,
18945    ) -> c_uint;
18946    pub fn gtk_entry_buffer_set_max_length(buffer: *mut GtkEntryBuffer, max_length: c_int);
18947    pub fn gtk_entry_buffer_set_text(
18948        buffer: *mut GtkEntryBuffer,
18949        chars: *const c_char,
18950        n_chars: c_int,
18951    );
18952
18953    //=========================================================================
18954    // GtkEntryCompletion
18955    //=========================================================================
18956    pub fn gtk_entry_completion_get_type() -> GType;
18957    pub fn gtk_entry_completion_new() -> *mut GtkEntryCompletion;
18958    pub fn gtk_entry_completion_new_with_area(area: *mut GtkCellArea) -> *mut GtkEntryCompletion;
18959    pub fn gtk_entry_completion_complete(completion: *mut GtkEntryCompletion);
18960    pub fn gtk_entry_completion_compute_prefix(
18961        completion: *mut GtkEntryCompletion,
18962        key: *const c_char,
18963    ) -> *mut c_char;
18964    pub fn gtk_entry_completion_delete_action(completion: *mut GtkEntryCompletion, index_: c_int);
18965    pub fn gtk_entry_completion_get_completion_prefix(
18966        completion: *mut GtkEntryCompletion,
18967    ) -> *const c_char;
18968    pub fn gtk_entry_completion_get_entry(completion: *mut GtkEntryCompletion) -> *mut GtkWidget;
18969    pub fn gtk_entry_completion_get_inline_completion(
18970        completion: *mut GtkEntryCompletion,
18971    ) -> gboolean;
18972    pub fn gtk_entry_completion_get_inline_selection(
18973        completion: *mut GtkEntryCompletion,
18974    ) -> gboolean;
18975    pub fn gtk_entry_completion_get_minimum_key_length(
18976        completion: *mut GtkEntryCompletion,
18977    ) -> c_int;
18978    pub fn gtk_entry_completion_get_model(completion: *mut GtkEntryCompletion)
18979        -> *mut GtkTreeModel;
18980    pub fn gtk_entry_completion_get_popup_completion(
18981        completion: *mut GtkEntryCompletion,
18982    ) -> gboolean;
18983    pub fn gtk_entry_completion_get_popup_set_width(
18984        completion: *mut GtkEntryCompletion,
18985    ) -> gboolean;
18986    pub fn gtk_entry_completion_get_popup_single_match(
18987        completion: *mut GtkEntryCompletion,
18988    ) -> gboolean;
18989    pub fn gtk_entry_completion_get_text_column(completion: *mut GtkEntryCompletion) -> c_int;
18990    pub fn gtk_entry_completion_insert_action_markup(
18991        completion: *mut GtkEntryCompletion,
18992        index_: c_int,
18993        markup: *const c_char,
18994    );
18995    pub fn gtk_entry_completion_insert_action_text(
18996        completion: *mut GtkEntryCompletion,
18997        index_: c_int,
18998        text: *const c_char,
18999    );
19000    pub fn gtk_entry_completion_insert_prefix(completion: *mut GtkEntryCompletion);
19001    pub fn gtk_entry_completion_set_inline_completion(
19002        completion: *mut GtkEntryCompletion,
19003        inline_completion: gboolean,
19004    );
19005    pub fn gtk_entry_completion_set_inline_selection(
19006        completion: *mut GtkEntryCompletion,
19007        inline_selection: gboolean,
19008    );
19009    pub fn gtk_entry_completion_set_match_func(
19010        completion: *mut GtkEntryCompletion,
19011        func: GtkEntryCompletionMatchFunc,
19012        func_data: gpointer,
19013        func_notify: glib::GDestroyNotify,
19014    );
19015    pub fn gtk_entry_completion_set_minimum_key_length(
19016        completion: *mut GtkEntryCompletion,
19017        length: c_int,
19018    );
19019    pub fn gtk_entry_completion_set_model(
19020        completion: *mut GtkEntryCompletion,
19021        model: *mut GtkTreeModel,
19022    );
19023    pub fn gtk_entry_completion_set_popup_completion(
19024        completion: *mut GtkEntryCompletion,
19025        popup_completion: gboolean,
19026    );
19027    pub fn gtk_entry_completion_set_popup_set_width(
19028        completion: *mut GtkEntryCompletion,
19029        popup_set_width: gboolean,
19030    );
19031    pub fn gtk_entry_completion_set_popup_single_match(
19032        completion: *mut GtkEntryCompletion,
19033        popup_single_match: gboolean,
19034    );
19035    pub fn gtk_entry_completion_set_text_column(completion: *mut GtkEntryCompletion, column: c_int);
19036
19037    //=========================================================================
19038    // GtkEntryIconAccessible
19039    //=========================================================================
19040    pub fn gtk_entry_icon_accessible_get_type() -> GType;
19041
19042    //=========================================================================
19043    // GtkEventBox
19044    //=========================================================================
19045    pub fn gtk_event_box_get_type() -> GType;
19046    pub fn gtk_event_box_new() -> *mut GtkWidget;
19047    pub fn gtk_event_box_get_above_child(event_box: *mut GtkEventBox) -> gboolean;
19048    pub fn gtk_event_box_get_visible_window(event_box: *mut GtkEventBox) -> gboolean;
19049    pub fn gtk_event_box_set_above_child(event_box: *mut GtkEventBox, above_child: gboolean);
19050    pub fn gtk_event_box_set_visible_window(event_box: *mut GtkEventBox, visible_window: gboolean);
19051
19052    //=========================================================================
19053    // GtkEventController
19054    //=========================================================================
19055    pub fn gtk_event_controller_get_type() -> GType;
19056    pub fn gtk_event_controller_get_propagation_phase(
19057        controller: *mut GtkEventController,
19058    ) -> GtkPropagationPhase;
19059    pub fn gtk_event_controller_get_widget(controller: *mut GtkEventController) -> *mut GtkWidget;
19060    pub fn gtk_event_controller_handle_event(
19061        controller: *mut GtkEventController,
19062        event: *const gdk::GdkEvent,
19063    ) -> gboolean;
19064    pub fn gtk_event_controller_reset(controller: *mut GtkEventController);
19065    pub fn gtk_event_controller_set_propagation_phase(
19066        controller: *mut GtkEventController,
19067        phase: GtkPropagationPhase,
19068    );
19069
19070    //=========================================================================
19071    // GtkEventControllerKey
19072    //=========================================================================
19073    pub fn gtk_event_controller_key_get_type() -> GType;
19074    pub fn gtk_event_controller_key_new(widget: *mut GtkWidget) -> *mut GtkEventController;
19075    pub fn gtk_event_controller_key_forward(
19076        controller: *mut GtkEventControllerKey,
19077        widget: *mut GtkWidget,
19078    ) -> gboolean;
19079    pub fn gtk_event_controller_key_get_group(controller: *mut GtkEventControllerKey) -> c_uint;
19080    #[cfg(any(feature = "v3_24", feature = "dox"))]
19081    pub fn gtk_event_controller_key_get_im_context(
19082        controller: *mut GtkEventControllerKey,
19083    ) -> *mut GtkIMContext;
19084    pub fn gtk_event_controller_key_set_im_context(
19085        controller: *mut GtkEventControllerKey,
19086        im_context: *mut GtkIMContext,
19087    );
19088
19089    //=========================================================================
19090    // GtkEventControllerMotion
19091    //=========================================================================
19092    pub fn gtk_event_controller_motion_get_type() -> GType;
19093    #[cfg(any(feature = "v3_24", feature = "dox"))]
19094    pub fn gtk_event_controller_motion_new(widget: *mut GtkWidget) -> *mut GtkEventController;
19095
19096    //=========================================================================
19097    // GtkEventControllerScroll
19098    //=========================================================================
19099    pub fn gtk_event_controller_scroll_get_type() -> GType;
19100    #[cfg(any(feature = "v3_24", feature = "dox"))]
19101    pub fn gtk_event_controller_scroll_new(
19102        widget: *mut GtkWidget,
19103        flags: GtkEventControllerScrollFlags,
19104    ) -> *mut GtkEventController;
19105    #[cfg(any(feature = "v3_24", feature = "dox"))]
19106    pub fn gtk_event_controller_scroll_get_flags(
19107        controller: *mut GtkEventControllerScroll,
19108    ) -> GtkEventControllerScrollFlags;
19109    #[cfg(any(feature = "v3_24", feature = "dox"))]
19110    pub fn gtk_event_controller_scroll_set_flags(
19111        controller: *mut GtkEventControllerScroll,
19112        flags: GtkEventControllerScrollFlags,
19113    );
19114
19115    //=========================================================================
19116    // GtkExpander
19117    //=========================================================================
19118    pub fn gtk_expander_get_type() -> GType;
19119    pub fn gtk_expander_new(label: *const c_char) -> *mut GtkWidget;
19120    pub fn gtk_expander_new_with_mnemonic(label: *const c_char) -> *mut GtkWidget;
19121    pub fn gtk_expander_get_expanded(expander: *mut GtkExpander) -> gboolean;
19122    pub fn gtk_expander_get_label(expander: *mut GtkExpander) -> *const c_char;
19123    pub fn gtk_expander_get_label_fill(expander: *mut GtkExpander) -> gboolean;
19124    pub fn gtk_expander_get_label_widget(expander: *mut GtkExpander) -> *mut GtkWidget;
19125    pub fn gtk_expander_get_resize_toplevel(expander: *mut GtkExpander) -> gboolean;
19126    pub fn gtk_expander_get_spacing(expander: *mut GtkExpander) -> c_int;
19127    pub fn gtk_expander_get_use_markup(expander: *mut GtkExpander) -> gboolean;
19128    pub fn gtk_expander_get_use_underline(expander: *mut GtkExpander) -> gboolean;
19129    pub fn gtk_expander_set_expanded(expander: *mut GtkExpander, expanded: gboolean);
19130    pub fn gtk_expander_set_label(expander: *mut GtkExpander, label: *const c_char);
19131    pub fn gtk_expander_set_label_fill(expander: *mut GtkExpander, label_fill: gboolean);
19132    pub fn gtk_expander_set_label_widget(expander: *mut GtkExpander, label_widget: *mut GtkWidget);
19133    pub fn gtk_expander_set_resize_toplevel(expander: *mut GtkExpander, resize_toplevel: gboolean);
19134    pub fn gtk_expander_set_spacing(expander: *mut GtkExpander, spacing: c_int);
19135    pub fn gtk_expander_set_use_markup(expander: *mut GtkExpander, use_markup: gboolean);
19136    pub fn gtk_expander_set_use_underline(expander: *mut GtkExpander, use_underline: gboolean);
19137
19138    //=========================================================================
19139    // GtkExpanderAccessible
19140    //=========================================================================
19141    pub fn gtk_expander_accessible_get_type() -> GType;
19142
19143    //=========================================================================
19144    // GtkFileChooserButton
19145    //=========================================================================
19146    pub fn gtk_file_chooser_button_get_type() -> GType;
19147    pub fn gtk_file_chooser_button_new(
19148        title: *const c_char,
19149        action: GtkFileChooserAction,
19150    ) -> *mut GtkWidget;
19151    pub fn gtk_file_chooser_button_new_with_dialog(dialog: *mut GtkDialog) -> *mut GtkWidget;
19152    pub fn gtk_file_chooser_button_get_focus_on_click(
19153        button: *mut GtkFileChooserButton,
19154    ) -> gboolean;
19155    pub fn gtk_file_chooser_button_get_title(button: *mut GtkFileChooserButton) -> *const c_char;
19156    pub fn gtk_file_chooser_button_get_width_chars(button: *mut GtkFileChooserButton) -> c_int;
19157    pub fn gtk_file_chooser_button_set_focus_on_click(
19158        button: *mut GtkFileChooserButton,
19159        focus_on_click: gboolean,
19160    );
19161    pub fn gtk_file_chooser_button_set_title(
19162        button: *mut GtkFileChooserButton,
19163        title: *const c_char,
19164    );
19165    pub fn gtk_file_chooser_button_set_width_chars(
19166        button: *mut GtkFileChooserButton,
19167        n_chars: c_int,
19168    );
19169
19170    //=========================================================================
19171    // GtkFileChooserDialog
19172    //=========================================================================
19173    pub fn gtk_file_chooser_dialog_get_type() -> GType;
19174    pub fn gtk_file_chooser_dialog_new(
19175        title: *const c_char,
19176        parent: *mut GtkWindow,
19177        action: GtkFileChooserAction,
19178        first_button_text: *const c_char,
19179        ...
19180    ) -> *mut GtkWidget;
19181
19182    //=========================================================================
19183    // GtkFileChooserNative
19184    //=========================================================================
19185    pub fn gtk_file_chooser_native_get_type() -> GType;
19186    #[cfg(any(feature = "v3_20", feature = "dox"))]
19187    pub fn gtk_file_chooser_native_new(
19188        title: *const c_char,
19189        parent: *mut GtkWindow,
19190        action: GtkFileChooserAction,
19191        accept_label: *const c_char,
19192        cancel_label: *const c_char,
19193    ) -> *mut GtkFileChooserNative;
19194    #[cfg(any(feature = "v3_20", feature = "dox"))]
19195    pub fn gtk_file_chooser_native_get_accept_label(
19196        self_: *mut GtkFileChooserNative,
19197    ) -> *const c_char;
19198    #[cfg(any(feature = "v3_20", feature = "dox"))]
19199    pub fn gtk_file_chooser_native_get_cancel_label(
19200        self_: *mut GtkFileChooserNative,
19201    ) -> *const c_char;
19202    #[cfg(any(feature = "v3_20", feature = "dox"))]
19203    pub fn gtk_file_chooser_native_set_accept_label(
19204        self_: *mut GtkFileChooserNative,
19205        accept_label: *const c_char,
19206    );
19207    #[cfg(any(feature = "v3_20", feature = "dox"))]
19208    pub fn gtk_file_chooser_native_set_cancel_label(
19209        self_: *mut GtkFileChooserNative,
19210        cancel_label: *const c_char,
19211    );
19212
19213    //=========================================================================
19214    // GtkFileChooserWidget
19215    //=========================================================================
19216    pub fn gtk_file_chooser_widget_get_type() -> GType;
19217    pub fn gtk_file_chooser_widget_new(action: GtkFileChooserAction) -> *mut GtkWidget;
19218
19219    //=========================================================================
19220    // GtkFileFilter
19221    //=========================================================================
19222    pub fn gtk_file_filter_get_type() -> GType;
19223    pub fn gtk_file_filter_new() -> *mut GtkFileFilter;
19224    #[cfg(any(feature = "v3_22", feature = "dox"))]
19225    pub fn gtk_file_filter_new_from_gvariant(variant: *mut glib::GVariant) -> *mut GtkFileFilter;
19226    pub fn gtk_file_filter_add_custom(
19227        filter: *mut GtkFileFilter,
19228        needed: GtkFileFilterFlags,
19229        func: GtkFileFilterFunc,
19230        data: gpointer,
19231        notify: glib::GDestroyNotify,
19232    );
19233    pub fn gtk_file_filter_add_mime_type(filter: *mut GtkFileFilter, mime_type: *const c_char);
19234    pub fn gtk_file_filter_add_pattern(filter: *mut GtkFileFilter, pattern: *const c_char);
19235    pub fn gtk_file_filter_add_pixbuf_formats(filter: *mut GtkFileFilter);
19236    pub fn gtk_file_filter_filter(
19237        filter: *mut GtkFileFilter,
19238        filter_info: *const GtkFileFilterInfo,
19239    ) -> gboolean;
19240    pub fn gtk_file_filter_get_name(filter: *mut GtkFileFilter) -> *const c_char;
19241    pub fn gtk_file_filter_get_needed(filter: *mut GtkFileFilter) -> GtkFileFilterFlags;
19242    pub fn gtk_file_filter_set_name(filter: *mut GtkFileFilter, name: *const c_char);
19243    #[cfg(any(feature = "v3_22", feature = "dox"))]
19244    pub fn gtk_file_filter_to_gvariant(filter: *mut GtkFileFilter) -> *mut glib::GVariant;
19245
19246    //=========================================================================
19247    // GtkFixed
19248    //=========================================================================
19249    pub fn gtk_fixed_get_type() -> GType;
19250    pub fn gtk_fixed_new() -> *mut GtkWidget;
19251    pub fn gtk_fixed_move(fixed: *mut GtkFixed, widget: *mut GtkWidget, x: c_int, y: c_int);
19252    pub fn gtk_fixed_put(fixed: *mut GtkFixed, widget: *mut GtkWidget, x: c_int, y: c_int);
19253
19254    //=========================================================================
19255    // GtkFlowBox
19256    //=========================================================================
19257    pub fn gtk_flow_box_get_type() -> GType;
19258    pub fn gtk_flow_box_new() -> *mut GtkWidget;
19259    #[cfg(any(feature = "v3_18", feature = "dox"))]
19260    pub fn gtk_flow_box_bind_model(
19261        box_: *mut GtkFlowBox,
19262        model: *mut gio::GListModel,
19263        create_widget_func: GtkFlowBoxCreateWidgetFunc,
19264        user_data: gpointer,
19265        user_data_free_func: glib::GDestroyNotify,
19266    );
19267    pub fn gtk_flow_box_get_activate_on_single_click(box_: *mut GtkFlowBox) -> gboolean;
19268    pub fn gtk_flow_box_get_child_at_index(
19269        box_: *mut GtkFlowBox,
19270        idx: c_int,
19271    ) -> *mut GtkFlowBoxChild;
19272    #[cfg(any(feature = "v3_22_6", feature = "dox"))]
19273    pub fn gtk_flow_box_get_child_at_pos(
19274        box_: *mut GtkFlowBox,
19275        x: c_int,
19276        y: c_int,
19277    ) -> *mut GtkFlowBoxChild;
19278    pub fn gtk_flow_box_get_column_spacing(box_: *mut GtkFlowBox) -> c_uint;
19279    pub fn gtk_flow_box_get_homogeneous(box_: *mut GtkFlowBox) -> gboolean;
19280    pub fn gtk_flow_box_get_max_children_per_line(box_: *mut GtkFlowBox) -> c_uint;
19281    pub fn gtk_flow_box_get_min_children_per_line(box_: *mut GtkFlowBox) -> c_uint;
19282    pub fn gtk_flow_box_get_row_spacing(box_: *mut GtkFlowBox) -> c_uint;
19283    pub fn gtk_flow_box_get_selected_children(box_: *mut GtkFlowBox) -> *mut glib::GList;
19284    pub fn gtk_flow_box_get_selection_mode(box_: *mut GtkFlowBox) -> GtkSelectionMode;
19285    pub fn gtk_flow_box_insert(box_: *mut GtkFlowBox, widget: *mut GtkWidget, position: c_int);
19286    pub fn gtk_flow_box_invalidate_filter(box_: *mut GtkFlowBox);
19287    pub fn gtk_flow_box_invalidate_sort(box_: *mut GtkFlowBox);
19288    pub fn gtk_flow_box_select_all(box_: *mut GtkFlowBox);
19289    pub fn gtk_flow_box_select_child(box_: *mut GtkFlowBox, child: *mut GtkFlowBoxChild);
19290    pub fn gtk_flow_box_selected_foreach(
19291        box_: *mut GtkFlowBox,
19292        func: GtkFlowBoxForeachFunc,
19293        data: gpointer,
19294    );
19295    pub fn gtk_flow_box_set_activate_on_single_click(box_: *mut GtkFlowBox, single: gboolean);
19296    pub fn gtk_flow_box_set_column_spacing(box_: *mut GtkFlowBox, spacing: c_uint);
19297    pub fn gtk_flow_box_set_filter_func(
19298        box_: *mut GtkFlowBox,
19299        filter_func: GtkFlowBoxFilterFunc,
19300        user_data: gpointer,
19301        destroy: glib::GDestroyNotify,
19302    );
19303    pub fn gtk_flow_box_set_hadjustment(box_: *mut GtkFlowBox, adjustment: *mut GtkAdjustment);
19304    pub fn gtk_flow_box_set_homogeneous(box_: *mut GtkFlowBox, homogeneous: gboolean);
19305    pub fn gtk_flow_box_set_max_children_per_line(box_: *mut GtkFlowBox, n_children: c_uint);
19306    pub fn gtk_flow_box_set_min_children_per_line(box_: *mut GtkFlowBox, n_children: c_uint);
19307    pub fn gtk_flow_box_set_row_spacing(box_: *mut GtkFlowBox, spacing: c_uint);
19308    pub fn gtk_flow_box_set_selection_mode(box_: *mut GtkFlowBox, mode: GtkSelectionMode);
19309    pub fn gtk_flow_box_set_sort_func(
19310        box_: *mut GtkFlowBox,
19311        sort_func: GtkFlowBoxSortFunc,
19312        user_data: gpointer,
19313        destroy: glib::GDestroyNotify,
19314    );
19315    pub fn gtk_flow_box_set_vadjustment(box_: *mut GtkFlowBox, adjustment: *mut GtkAdjustment);
19316    pub fn gtk_flow_box_unselect_all(box_: *mut GtkFlowBox);
19317    pub fn gtk_flow_box_unselect_child(box_: *mut GtkFlowBox, child: *mut GtkFlowBoxChild);
19318
19319    //=========================================================================
19320    // GtkFlowBoxAccessible
19321    //=========================================================================
19322    pub fn gtk_flow_box_accessible_get_type() -> GType;
19323
19324    //=========================================================================
19325    // GtkFlowBoxChild
19326    //=========================================================================
19327    pub fn gtk_flow_box_child_get_type() -> GType;
19328    pub fn gtk_flow_box_child_new() -> *mut GtkWidget;
19329    pub fn gtk_flow_box_child_changed(child: *mut GtkFlowBoxChild);
19330    pub fn gtk_flow_box_child_get_index(child: *mut GtkFlowBoxChild) -> c_int;
19331    pub fn gtk_flow_box_child_is_selected(child: *mut GtkFlowBoxChild) -> gboolean;
19332
19333    //=========================================================================
19334    // GtkFlowBoxChildAccessible
19335    //=========================================================================
19336    pub fn gtk_flow_box_child_accessible_get_type() -> GType;
19337
19338    //=========================================================================
19339    // GtkFontButton
19340    //=========================================================================
19341    pub fn gtk_font_button_get_type() -> GType;
19342    pub fn gtk_font_button_new() -> *mut GtkWidget;
19343    pub fn gtk_font_button_new_with_font(fontname: *const c_char) -> *mut GtkWidget;
19344    pub fn gtk_font_button_get_font_name(font_button: *mut GtkFontButton) -> *const c_char;
19345    pub fn gtk_font_button_get_show_size(font_button: *mut GtkFontButton) -> gboolean;
19346    pub fn gtk_font_button_get_show_style(font_button: *mut GtkFontButton) -> gboolean;
19347    pub fn gtk_font_button_get_title(font_button: *mut GtkFontButton) -> *const c_char;
19348    pub fn gtk_font_button_get_use_font(font_button: *mut GtkFontButton) -> gboolean;
19349    pub fn gtk_font_button_get_use_size(font_button: *mut GtkFontButton) -> gboolean;
19350    pub fn gtk_font_button_set_font_name(
19351        font_button: *mut GtkFontButton,
19352        fontname: *const c_char,
19353    ) -> gboolean;
19354    pub fn gtk_font_button_set_show_size(font_button: *mut GtkFontButton, show_size: gboolean);
19355    pub fn gtk_font_button_set_show_style(font_button: *mut GtkFontButton, show_style: gboolean);
19356    pub fn gtk_font_button_set_title(font_button: *mut GtkFontButton, title: *const c_char);
19357    pub fn gtk_font_button_set_use_font(font_button: *mut GtkFontButton, use_font: gboolean);
19358    pub fn gtk_font_button_set_use_size(font_button: *mut GtkFontButton, use_size: gboolean);
19359
19360    //=========================================================================
19361    // GtkFontChooserDialog
19362    //=========================================================================
19363    pub fn gtk_font_chooser_dialog_get_type() -> GType;
19364    pub fn gtk_font_chooser_dialog_new(
19365        title: *const c_char,
19366        parent: *mut GtkWindow,
19367    ) -> *mut GtkWidget;
19368
19369    //=========================================================================
19370    // GtkFontChooserWidget
19371    //=========================================================================
19372    pub fn gtk_font_chooser_widget_get_type() -> GType;
19373    pub fn gtk_font_chooser_widget_new() -> *mut GtkWidget;
19374
19375    //=========================================================================
19376    // GtkFontSelection
19377    //=========================================================================
19378    pub fn gtk_font_selection_get_type() -> GType;
19379    pub fn gtk_font_selection_new() -> *mut GtkWidget;
19380    pub fn gtk_font_selection_get_face(fontsel: *mut GtkFontSelection)
19381        -> *mut pango::PangoFontFace;
19382    pub fn gtk_font_selection_get_face_list(fontsel: *mut GtkFontSelection) -> *mut GtkWidget;
19383    pub fn gtk_font_selection_get_family(
19384        fontsel: *mut GtkFontSelection,
19385    ) -> *mut pango::PangoFontFamily;
19386    pub fn gtk_font_selection_get_family_list(fontsel: *mut GtkFontSelection) -> *mut GtkWidget;
19387    pub fn gtk_font_selection_get_font_name(fontsel: *mut GtkFontSelection) -> *mut c_char;
19388    pub fn gtk_font_selection_get_preview_entry(fontsel: *mut GtkFontSelection) -> *mut GtkWidget;
19389    pub fn gtk_font_selection_get_preview_text(fontsel: *mut GtkFontSelection) -> *const c_char;
19390    pub fn gtk_font_selection_get_size(fontsel: *mut GtkFontSelection) -> c_int;
19391    pub fn gtk_font_selection_get_size_entry(fontsel: *mut GtkFontSelection) -> *mut GtkWidget;
19392    pub fn gtk_font_selection_get_size_list(fontsel: *mut GtkFontSelection) -> *mut GtkWidget;
19393    pub fn gtk_font_selection_set_font_name(
19394        fontsel: *mut GtkFontSelection,
19395        fontname: *const c_char,
19396    ) -> gboolean;
19397    pub fn gtk_font_selection_set_preview_text(fontsel: *mut GtkFontSelection, text: *const c_char);
19398
19399    //=========================================================================
19400    // GtkFontSelectionDialog
19401    //=========================================================================
19402    pub fn gtk_font_selection_dialog_get_type() -> GType;
19403    pub fn gtk_font_selection_dialog_new(title: *const c_char) -> *mut GtkWidget;
19404    pub fn gtk_font_selection_dialog_get_cancel_button(
19405        fsd: *mut GtkFontSelectionDialog,
19406    ) -> *mut GtkWidget;
19407    pub fn gtk_font_selection_dialog_get_font_name(fsd: *mut GtkFontSelectionDialog)
19408        -> *mut c_char;
19409    pub fn gtk_font_selection_dialog_get_font_selection(
19410        fsd: *mut GtkFontSelectionDialog,
19411    ) -> *mut GtkWidget;
19412    pub fn gtk_font_selection_dialog_get_ok_button(
19413        fsd: *mut GtkFontSelectionDialog,
19414    ) -> *mut GtkWidget;
19415    pub fn gtk_font_selection_dialog_get_preview_text(
19416        fsd: *mut GtkFontSelectionDialog,
19417    ) -> *const c_char;
19418    pub fn gtk_font_selection_dialog_set_font_name(
19419        fsd: *mut GtkFontSelectionDialog,
19420        fontname: *const c_char,
19421    ) -> gboolean;
19422    pub fn gtk_font_selection_dialog_set_preview_text(
19423        fsd: *mut GtkFontSelectionDialog,
19424        text: *const c_char,
19425    );
19426
19427    //=========================================================================
19428    // GtkFrame
19429    //=========================================================================
19430    pub fn gtk_frame_get_type() -> GType;
19431    pub fn gtk_frame_new(label: *const c_char) -> *mut GtkWidget;
19432    pub fn gtk_frame_get_label(frame: *mut GtkFrame) -> *const c_char;
19433    pub fn gtk_frame_get_label_align(
19434        frame: *mut GtkFrame,
19435        xalign: *mut c_float,
19436        yalign: *mut c_float,
19437    );
19438    pub fn gtk_frame_get_label_widget(frame: *mut GtkFrame) -> *mut GtkWidget;
19439    pub fn gtk_frame_get_shadow_type(frame: *mut GtkFrame) -> GtkShadowType;
19440    pub fn gtk_frame_set_label(frame: *mut GtkFrame, label: *const c_char);
19441    pub fn gtk_frame_set_label_align(frame: *mut GtkFrame, xalign: c_float, yalign: c_float);
19442    pub fn gtk_frame_set_label_widget(frame: *mut GtkFrame, label_widget: *mut GtkWidget);
19443    pub fn gtk_frame_set_shadow_type(frame: *mut GtkFrame, type_: GtkShadowType);
19444
19445    //=========================================================================
19446    // GtkFrameAccessible
19447    //=========================================================================
19448    pub fn gtk_frame_accessible_get_type() -> GType;
19449
19450    //=========================================================================
19451    // GtkGLArea
19452    //=========================================================================
19453    pub fn gtk_gl_area_get_type() -> GType;
19454    #[cfg(any(feature = "v3_16", feature = "dox"))]
19455    pub fn gtk_gl_area_new() -> *mut GtkWidget;
19456    #[cfg(any(feature = "v3_16", feature = "dox"))]
19457    pub fn gtk_gl_area_attach_buffers(area: *mut GtkGLArea);
19458    #[cfg(any(feature = "v3_16", feature = "dox"))]
19459    pub fn gtk_gl_area_get_auto_render(area: *mut GtkGLArea) -> gboolean;
19460    #[cfg(any(feature = "v3_16", feature = "dox"))]
19461    pub fn gtk_gl_area_get_context(area: *mut GtkGLArea) -> *mut gdk::GdkGLContext;
19462    #[cfg(any(feature = "v3_16", feature = "dox"))]
19463    pub fn gtk_gl_area_get_error(area: *mut GtkGLArea) -> *mut glib::GError;
19464    #[cfg(any(feature = "v3_16", feature = "dox"))]
19465    pub fn gtk_gl_area_get_has_alpha(area: *mut GtkGLArea) -> gboolean;
19466    #[cfg(any(feature = "v3_16", feature = "dox"))]
19467    pub fn gtk_gl_area_get_has_depth_buffer(area: *mut GtkGLArea) -> gboolean;
19468    #[cfg(any(feature = "v3_16", feature = "dox"))]
19469    pub fn gtk_gl_area_get_has_stencil_buffer(area: *mut GtkGLArea) -> gboolean;
19470    #[cfg(any(feature = "v3_16", feature = "dox"))]
19471    pub fn gtk_gl_area_get_required_version(
19472        area: *mut GtkGLArea,
19473        major: *mut c_int,
19474        minor: *mut c_int,
19475    );
19476    #[cfg(any(feature = "v3_22", feature = "dox"))]
19477    pub fn gtk_gl_area_get_use_es(area: *mut GtkGLArea) -> gboolean;
19478    #[cfg(any(feature = "v3_16", feature = "dox"))]
19479    pub fn gtk_gl_area_make_current(area: *mut GtkGLArea);
19480    #[cfg(any(feature = "v3_16", feature = "dox"))]
19481    pub fn gtk_gl_area_queue_render(area: *mut GtkGLArea);
19482    #[cfg(any(feature = "v3_16", feature = "dox"))]
19483    pub fn gtk_gl_area_set_auto_render(area: *mut GtkGLArea, auto_render: gboolean);
19484    #[cfg(any(feature = "v3_16", feature = "dox"))]
19485    pub fn gtk_gl_area_set_error(area: *mut GtkGLArea, error: *const glib::GError);
19486    #[cfg(any(feature = "v3_16", feature = "dox"))]
19487    pub fn gtk_gl_area_set_has_alpha(area: *mut GtkGLArea, has_alpha: gboolean);
19488    #[cfg(any(feature = "v3_16", feature = "dox"))]
19489    pub fn gtk_gl_area_set_has_depth_buffer(area: *mut GtkGLArea, has_depth_buffer: gboolean);
19490    #[cfg(any(feature = "v3_16", feature = "dox"))]
19491    pub fn gtk_gl_area_set_has_stencil_buffer(area: *mut GtkGLArea, has_stencil_buffer: gboolean);
19492    #[cfg(any(feature = "v3_16", feature = "dox"))]
19493    pub fn gtk_gl_area_set_required_version(area: *mut GtkGLArea, major: c_int, minor: c_int);
19494    #[cfg(any(feature = "v3_22", feature = "dox"))]
19495    pub fn gtk_gl_area_set_use_es(area: *mut GtkGLArea, use_es: gboolean);
19496
19497    //=========================================================================
19498    // GtkGesture
19499    //=========================================================================
19500    pub fn gtk_gesture_get_type() -> GType;
19501    pub fn gtk_gesture_get_bounding_box(
19502        gesture: *mut GtkGesture,
19503        rect: *mut gdk::GdkRectangle,
19504    ) -> gboolean;
19505    pub fn gtk_gesture_get_bounding_box_center(
19506        gesture: *mut GtkGesture,
19507        x: *mut c_double,
19508        y: *mut c_double,
19509    ) -> gboolean;
19510    pub fn gtk_gesture_get_device(gesture: *mut GtkGesture) -> *mut gdk::GdkDevice;
19511    pub fn gtk_gesture_get_group(gesture: *mut GtkGesture) -> *mut glib::GList;
19512    pub fn gtk_gesture_get_last_event(
19513        gesture: *mut GtkGesture,
19514        sequence: *mut gdk::GdkEventSequence,
19515    ) -> *const gdk::GdkEvent;
19516    pub fn gtk_gesture_get_last_updated_sequence(
19517        gesture: *mut GtkGesture,
19518    ) -> *mut gdk::GdkEventSequence;
19519    pub fn gtk_gesture_get_point(
19520        gesture: *mut GtkGesture,
19521        sequence: *mut gdk::GdkEventSequence,
19522        x: *mut c_double,
19523        y: *mut c_double,
19524    ) -> gboolean;
19525    pub fn gtk_gesture_get_sequence_state(
19526        gesture: *mut GtkGesture,
19527        sequence: *mut gdk::GdkEventSequence,
19528    ) -> GtkEventSequenceState;
19529    pub fn gtk_gesture_get_sequences(gesture: *mut GtkGesture) -> *mut glib::GList;
19530    pub fn gtk_gesture_get_window(gesture: *mut GtkGesture) -> *mut gdk::GdkWindow;
19531    pub fn gtk_gesture_group(group_gesture: *mut GtkGesture, gesture: *mut GtkGesture);
19532    pub fn gtk_gesture_handles_sequence(
19533        gesture: *mut GtkGesture,
19534        sequence: *mut gdk::GdkEventSequence,
19535    ) -> gboolean;
19536    pub fn gtk_gesture_is_active(gesture: *mut GtkGesture) -> gboolean;
19537    pub fn gtk_gesture_is_grouped_with(
19538        gesture: *mut GtkGesture,
19539        other: *mut GtkGesture,
19540    ) -> gboolean;
19541    pub fn gtk_gesture_is_recognized(gesture: *mut GtkGesture) -> gboolean;
19542    pub fn gtk_gesture_set_sequence_state(
19543        gesture: *mut GtkGesture,
19544        sequence: *mut gdk::GdkEventSequence,
19545        state: GtkEventSequenceState,
19546    ) -> gboolean;
19547    pub fn gtk_gesture_set_state(
19548        gesture: *mut GtkGesture,
19549        state: GtkEventSequenceState,
19550    ) -> gboolean;
19551    pub fn gtk_gesture_set_window(gesture: *mut GtkGesture, window: *mut gdk::GdkWindow);
19552    pub fn gtk_gesture_ungroup(gesture: *mut GtkGesture);
19553
19554    //=========================================================================
19555    // GtkGestureDrag
19556    //=========================================================================
19557    pub fn gtk_gesture_drag_get_type() -> GType;
19558    pub fn gtk_gesture_drag_new(widget: *mut GtkWidget) -> *mut GtkGesture;
19559    pub fn gtk_gesture_drag_get_offset(
19560        gesture: *mut GtkGestureDrag,
19561        x: *mut c_double,
19562        y: *mut c_double,
19563    ) -> gboolean;
19564    pub fn gtk_gesture_drag_get_start_point(
19565        gesture: *mut GtkGestureDrag,
19566        x: *mut c_double,
19567        y: *mut c_double,
19568    ) -> gboolean;
19569
19570    //=========================================================================
19571    // GtkGestureLongPress
19572    //=========================================================================
19573    pub fn gtk_gesture_long_press_get_type() -> GType;
19574    pub fn gtk_gesture_long_press_new(widget: *mut GtkWidget) -> *mut GtkGesture;
19575
19576    //=========================================================================
19577    // GtkGestureMultiPress
19578    //=========================================================================
19579    pub fn gtk_gesture_multi_press_get_type() -> GType;
19580    pub fn gtk_gesture_multi_press_new(widget: *mut GtkWidget) -> *mut GtkGesture;
19581    pub fn gtk_gesture_multi_press_get_area(
19582        gesture: *mut GtkGestureMultiPress,
19583        rect: *mut gdk::GdkRectangle,
19584    ) -> gboolean;
19585    pub fn gtk_gesture_multi_press_set_area(
19586        gesture: *mut GtkGestureMultiPress,
19587        rect: *const gdk::GdkRectangle,
19588    );
19589
19590    //=========================================================================
19591    // GtkGesturePan
19592    //=========================================================================
19593    pub fn gtk_gesture_pan_get_type() -> GType;
19594    pub fn gtk_gesture_pan_new(
19595        widget: *mut GtkWidget,
19596        orientation: GtkOrientation,
19597    ) -> *mut GtkGesture;
19598    pub fn gtk_gesture_pan_get_orientation(gesture: *mut GtkGesturePan) -> GtkOrientation;
19599    pub fn gtk_gesture_pan_set_orientation(
19600        gesture: *mut GtkGesturePan,
19601        orientation: GtkOrientation,
19602    );
19603
19604    //=========================================================================
19605    // GtkGestureRotate
19606    //=========================================================================
19607    pub fn gtk_gesture_rotate_get_type() -> GType;
19608    pub fn gtk_gesture_rotate_new(widget: *mut GtkWidget) -> *mut GtkGesture;
19609    pub fn gtk_gesture_rotate_get_angle_delta(gesture: *mut GtkGestureRotate) -> c_double;
19610
19611    //=========================================================================
19612    // GtkGestureSingle
19613    //=========================================================================
19614    pub fn gtk_gesture_single_get_type() -> GType;
19615    pub fn gtk_gesture_single_get_button(gesture: *mut GtkGestureSingle) -> c_uint;
19616    pub fn gtk_gesture_single_get_current_button(gesture: *mut GtkGestureSingle) -> c_uint;
19617    pub fn gtk_gesture_single_get_current_sequence(
19618        gesture: *mut GtkGestureSingle,
19619    ) -> *mut gdk::GdkEventSequence;
19620    pub fn gtk_gesture_single_get_exclusive(gesture: *mut GtkGestureSingle) -> gboolean;
19621    pub fn gtk_gesture_single_get_touch_only(gesture: *mut GtkGestureSingle) -> gboolean;
19622    pub fn gtk_gesture_single_set_button(gesture: *mut GtkGestureSingle, button: c_uint);
19623    pub fn gtk_gesture_single_set_exclusive(gesture: *mut GtkGestureSingle, exclusive: gboolean);
19624    pub fn gtk_gesture_single_set_touch_only(gesture: *mut GtkGestureSingle, touch_only: gboolean);
19625
19626    //=========================================================================
19627    // GtkGestureStylus
19628    //=========================================================================
19629    pub fn gtk_gesture_stylus_get_type() -> GType;
19630    #[cfg(any(feature = "v3_24", feature = "dox"))]
19631    pub fn gtk_gesture_stylus_new(widget: *mut GtkWidget) -> *mut GtkGesture;
19632    #[cfg(any(feature = "v3_24", feature = "dox"))]
19633    pub fn gtk_gesture_stylus_get_axes(
19634        gesture: *mut GtkGestureStylus,
19635        axes: *mut gdk::GdkAxisUse,
19636        values: *mut *mut c_double,
19637    ) -> gboolean;
19638    #[cfg(any(feature = "v3_24", feature = "dox"))]
19639    pub fn gtk_gesture_stylus_get_axis(
19640        gesture: *mut GtkGestureStylus,
19641        axis: gdk::GdkAxisUse,
19642        value: *mut c_double,
19643    ) -> gboolean;
19644    #[cfg(any(feature = "v3_24", feature = "dox"))]
19645    pub fn gtk_gesture_stylus_get_device_tool(
19646        gesture: *mut GtkGestureStylus,
19647    ) -> *mut gdk::GdkDeviceTool;
19648
19649    //=========================================================================
19650    // GtkGestureSwipe
19651    //=========================================================================
19652    pub fn gtk_gesture_swipe_get_type() -> GType;
19653    pub fn gtk_gesture_swipe_new(widget: *mut GtkWidget) -> *mut GtkGesture;
19654    pub fn gtk_gesture_swipe_get_velocity(
19655        gesture: *mut GtkGestureSwipe,
19656        velocity_x: *mut c_double,
19657        velocity_y: *mut c_double,
19658    ) -> gboolean;
19659
19660    //=========================================================================
19661    // GtkGestureZoom
19662    //=========================================================================
19663    pub fn gtk_gesture_zoom_get_type() -> GType;
19664    pub fn gtk_gesture_zoom_new(widget: *mut GtkWidget) -> *mut GtkGesture;
19665    pub fn gtk_gesture_zoom_get_scale_delta(gesture: *mut GtkGestureZoom) -> c_double;
19666
19667    //=========================================================================
19668    // GtkGrid
19669    //=========================================================================
19670    pub fn gtk_grid_get_type() -> GType;
19671    pub fn gtk_grid_new() -> *mut GtkWidget;
19672    pub fn gtk_grid_attach(
19673        grid: *mut GtkGrid,
19674        child: *mut GtkWidget,
19675        left: c_int,
19676        top: c_int,
19677        width: c_int,
19678        height: c_int,
19679    );
19680    pub fn gtk_grid_attach_next_to(
19681        grid: *mut GtkGrid,
19682        child: *mut GtkWidget,
19683        sibling: *mut GtkWidget,
19684        side: GtkPositionType,
19685        width: c_int,
19686        height: c_int,
19687    );
19688    pub fn gtk_grid_get_baseline_row(grid: *mut GtkGrid) -> c_int;
19689    pub fn gtk_grid_get_child_at(grid: *mut GtkGrid, left: c_int, top: c_int) -> *mut GtkWidget;
19690    pub fn gtk_grid_get_column_homogeneous(grid: *mut GtkGrid) -> gboolean;
19691    pub fn gtk_grid_get_column_spacing(grid: *mut GtkGrid) -> c_uint;
19692    pub fn gtk_grid_get_row_baseline_position(
19693        grid: *mut GtkGrid,
19694        row: c_int,
19695    ) -> GtkBaselinePosition;
19696    pub fn gtk_grid_get_row_homogeneous(grid: *mut GtkGrid) -> gboolean;
19697    pub fn gtk_grid_get_row_spacing(grid: *mut GtkGrid) -> c_uint;
19698    pub fn gtk_grid_insert_column(grid: *mut GtkGrid, position: c_int);
19699    pub fn gtk_grid_insert_next_to(
19700        grid: *mut GtkGrid,
19701        sibling: *mut GtkWidget,
19702        side: GtkPositionType,
19703    );
19704    pub fn gtk_grid_insert_row(grid: *mut GtkGrid, position: c_int);
19705    pub fn gtk_grid_remove_column(grid: *mut GtkGrid, position: c_int);
19706    pub fn gtk_grid_remove_row(grid: *mut GtkGrid, position: c_int);
19707    pub fn gtk_grid_set_baseline_row(grid: *mut GtkGrid, row: c_int);
19708    pub fn gtk_grid_set_column_homogeneous(grid: *mut GtkGrid, homogeneous: gboolean);
19709    pub fn gtk_grid_set_column_spacing(grid: *mut GtkGrid, spacing: c_uint);
19710    pub fn gtk_grid_set_row_baseline_position(
19711        grid: *mut GtkGrid,
19712        row: c_int,
19713        pos: GtkBaselinePosition,
19714    );
19715    pub fn gtk_grid_set_row_homogeneous(grid: *mut GtkGrid, homogeneous: gboolean);
19716    pub fn gtk_grid_set_row_spacing(grid: *mut GtkGrid, spacing: c_uint);
19717
19718    //=========================================================================
19719    // GtkHBox
19720    //=========================================================================
19721    pub fn gtk_hbox_get_type() -> GType;
19722    pub fn gtk_hbox_new(homogeneous: gboolean, spacing: c_int) -> *mut GtkWidget;
19723
19724    //=========================================================================
19725    // GtkHButtonBox
19726    //=========================================================================
19727    pub fn gtk_hbutton_box_get_type() -> GType;
19728    pub fn gtk_hbutton_box_new() -> *mut GtkWidget;
19729
19730    //=========================================================================
19731    // GtkHPaned
19732    //=========================================================================
19733    pub fn gtk_hpaned_get_type() -> GType;
19734    pub fn gtk_hpaned_new() -> *mut GtkWidget;
19735
19736    //=========================================================================
19737    // GtkHSV
19738    //=========================================================================
19739    pub fn gtk_hsv_get_type() -> GType;
19740    pub fn gtk_hsv_new() -> *mut GtkWidget;
19741    pub fn gtk_hsv_to_rgb(
19742        h: c_double,
19743        s: c_double,
19744        v: c_double,
19745        r: *mut c_double,
19746        g: *mut c_double,
19747        b: *mut c_double,
19748    );
19749    pub fn gtk_hsv_get_color(
19750        hsv: *mut GtkHSV,
19751        h: *mut c_double,
19752        s: *mut c_double,
19753        v: *mut c_double,
19754    );
19755    pub fn gtk_hsv_get_metrics(hsv: *mut GtkHSV, size: *mut c_int, ring_width: *mut c_int);
19756    pub fn gtk_hsv_is_adjusting(hsv: *mut GtkHSV) -> gboolean;
19757    pub fn gtk_hsv_set_color(hsv: *mut GtkHSV, h: c_double, s: c_double, v: c_double);
19758    pub fn gtk_hsv_set_metrics(hsv: *mut GtkHSV, size: c_int, ring_width: c_int);
19759
19760    //=========================================================================
19761    // GtkHScale
19762    //=========================================================================
19763    pub fn gtk_hscale_get_type() -> GType;
19764    pub fn gtk_hscale_new(adjustment: *mut GtkAdjustment) -> *mut GtkWidget;
19765    pub fn gtk_hscale_new_with_range(
19766        min: c_double,
19767        max: c_double,
19768        step: c_double,
19769    ) -> *mut GtkWidget;
19770
19771    //=========================================================================
19772    // GtkHScrollbar
19773    //=========================================================================
19774    pub fn gtk_hscrollbar_get_type() -> GType;
19775    pub fn gtk_hscrollbar_new(adjustment: *mut GtkAdjustment) -> *mut GtkWidget;
19776
19777    //=========================================================================
19778    // GtkHSeparator
19779    //=========================================================================
19780    pub fn gtk_hseparator_get_type() -> GType;
19781    pub fn gtk_hseparator_new() -> *mut GtkWidget;
19782
19783    //=========================================================================
19784    // GtkHandleBox
19785    //=========================================================================
19786    pub fn gtk_handle_box_get_type() -> GType;
19787    pub fn gtk_handle_box_new() -> *mut GtkWidget;
19788    pub fn gtk_handle_box_get_child_detached(handle_box: *mut GtkHandleBox) -> gboolean;
19789    pub fn gtk_handle_box_get_handle_position(handle_box: *mut GtkHandleBox) -> GtkPositionType;
19790    pub fn gtk_handle_box_get_shadow_type(handle_box: *mut GtkHandleBox) -> GtkShadowType;
19791    pub fn gtk_handle_box_get_snap_edge(handle_box: *mut GtkHandleBox) -> GtkPositionType;
19792    pub fn gtk_handle_box_set_handle_position(
19793        handle_box: *mut GtkHandleBox,
19794        position: GtkPositionType,
19795    );
19796    pub fn gtk_handle_box_set_shadow_type(handle_box: *mut GtkHandleBox, type_: GtkShadowType);
19797    pub fn gtk_handle_box_set_snap_edge(handle_box: *mut GtkHandleBox, edge: GtkPositionType);
19798
19799    //=========================================================================
19800    // GtkHeaderBar
19801    //=========================================================================
19802    pub fn gtk_header_bar_get_type() -> GType;
19803    pub fn gtk_header_bar_new() -> *mut GtkWidget;
19804    pub fn gtk_header_bar_get_custom_title(bar: *mut GtkHeaderBar) -> *mut GtkWidget;
19805    pub fn gtk_header_bar_get_decoration_layout(bar: *mut GtkHeaderBar) -> *const c_char;
19806    pub fn gtk_header_bar_get_has_subtitle(bar: *mut GtkHeaderBar) -> gboolean;
19807    pub fn gtk_header_bar_get_show_close_button(bar: *mut GtkHeaderBar) -> gboolean;
19808    pub fn gtk_header_bar_get_subtitle(bar: *mut GtkHeaderBar) -> *const c_char;
19809    pub fn gtk_header_bar_get_title(bar: *mut GtkHeaderBar) -> *const c_char;
19810    pub fn gtk_header_bar_pack_end(bar: *mut GtkHeaderBar, child: *mut GtkWidget);
19811    pub fn gtk_header_bar_pack_start(bar: *mut GtkHeaderBar, child: *mut GtkWidget);
19812    pub fn gtk_header_bar_set_custom_title(bar: *mut GtkHeaderBar, title_widget: *mut GtkWidget);
19813    pub fn gtk_header_bar_set_decoration_layout(bar: *mut GtkHeaderBar, layout: *const c_char);
19814    pub fn gtk_header_bar_set_has_subtitle(bar: *mut GtkHeaderBar, setting: gboolean);
19815    pub fn gtk_header_bar_set_show_close_button(bar: *mut GtkHeaderBar, setting: gboolean);
19816    pub fn gtk_header_bar_set_subtitle(bar: *mut GtkHeaderBar, subtitle: *const c_char);
19817    pub fn gtk_header_bar_set_title(bar: *mut GtkHeaderBar, title: *const c_char);
19818
19819    //=========================================================================
19820    // GtkIMContext
19821    //=========================================================================
19822    pub fn gtk_im_context_get_type() -> GType;
19823    pub fn gtk_im_context_delete_surrounding(
19824        context: *mut GtkIMContext,
19825        offset: c_int,
19826        n_chars: c_int,
19827    ) -> gboolean;
19828    pub fn gtk_im_context_filter_keypress(
19829        context: *mut GtkIMContext,
19830        event: *mut gdk::GdkEventKey,
19831    ) -> gboolean;
19832    pub fn gtk_im_context_focus_in(context: *mut GtkIMContext);
19833    pub fn gtk_im_context_focus_out(context: *mut GtkIMContext);
19834    pub fn gtk_im_context_get_preedit_string(
19835        context: *mut GtkIMContext,
19836        str: *mut *mut c_char,
19837        attrs: *mut *mut pango::PangoAttrList,
19838        cursor_pos: *mut c_int,
19839    );
19840    pub fn gtk_im_context_get_surrounding(
19841        context: *mut GtkIMContext,
19842        text: *mut *mut c_char,
19843        cursor_index: *mut c_int,
19844    ) -> gboolean;
19845    pub fn gtk_im_context_reset(context: *mut GtkIMContext);
19846    pub fn gtk_im_context_set_client_window(
19847        context: *mut GtkIMContext,
19848        window: *mut gdk::GdkWindow,
19849    );
19850    pub fn gtk_im_context_set_cursor_location(
19851        context: *mut GtkIMContext,
19852        area: *const gdk::GdkRectangle,
19853    );
19854    pub fn gtk_im_context_set_surrounding(
19855        context: *mut GtkIMContext,
19856        text: *const c_char,
19857        len: c_int,
19858        cursor_index: c_int,
19859    );
19860    pub fn gtk_im_context_set_use_preedit(context: *mut GtkIMContext, use_preedit: gboolean);
19861
19862    //=========================================================================
19863    // GtkIMContextSimple
19864    //=========================================================================
19865    pub fn gtk_im_context_simple_get_type() -> GType;
19866    pub fn gtk_im_context_simple_new() -> *mut GtkIMContext;
19867    pub fn gtk_im_context_simple_add_compose_file(
19868        context_simple: *mut GtkIMContextSimple,
19869        compose_file: *const c_char,
19870    );
19871    pub fn gtk_im_context_simple_add_table(
19872        context_simple: *mut GtkIMContextSimple,
19873        data: *mut u16,
19874        max_seq_len: c_int,
19875        n_seqs: c_int,
19876    );
19877
19878    //=========================================================================
19879    // GtkIMMulticontext
19880    //=========================================================================
19881    pub fn gtk_im_multicontext_get_type() -> GType;
19882    pub fn gtk_im_multicontext_new() -> *mut GtkIMContext;
19883    pub fn gtk_im_multicontext_append_menuitems(
19884        context: *mut GtkIMMulticontext,
19885        menushell: *mut GtkMenuShell,
19886    );
19887    pub fn gtk_im_multicontext_get_context_id(context: *mut GtkIMMulticontext) -> *const c_char;
19888    pub fn gtk_im_multicontext_set_context_id(
19889        context: *mut GtkIMMulticontext,
19890        context_id: *const c_char,
19891    );
19892
19893    //=========================================================================
19894    // GtkIconFactory
19895    //=========================================================================
19896    pub fn gtk_icon_factory_get_type() -> GType;
19897    pub fn gtk_icon_factory_new() -> *mut GtkIconFactory;
19898    pub fn gtk_icon_factory_lookup_default(stock_id: *const c_char) -> *mut GtkIconSet;
19899    pub fn gtk_icon_factory_add(
19900        factory: *mut GtkIconFactory,
19901        stock_id: *const c_char,
19902        icon_set: *mut GtkIconSet,
19903    );
19904    pub fn gtk_icon_factory_add_default(factory: *mut GtkIconFactory);
19905    pub fn gtk_icon_factory_lookup(
19906        factory: *mut GtkIconFactory,
19907        stock_id: *const c_char,
19908    ) -> *mut GtkIconSet;
19909    pub fn gtk_icon_factory_remove_default(factory: *mut GtkIconFactory);
19910
19911    //=========================================================================
19912    // GtkIconInfo
19913    //=========================================================================
19914    pub fn gtk_icon_info_get_type() -> GType;
19915    pub fn gtk_icon_info_new_for_pixbuf(
19916        icon_theme: *mut GtkIconTheme,
19917        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
19918    ) -> *mut GtkIconInfo;
19919    pub fn gtk_icon_info_copy(icon_info: *mut GtkIconInfo) -> *mut GtkIconInfo;
19920    pub fn gtk_icon_info_free(icon_info: *mut GtkIconInfo);
19921    pub fn gtk_icon_info_get_attach_points(
19922        icon_info: *mut GtkIconInfo,
19923        points: *mut *mut gdk::GdkPoint,
19924        n_points: *mut c_int,
19925    ) -> gboolean;
19926    pub fn gtk_icon_info_get_base_scale(icon_info: *mut GtkIconInfo) -> c_int;
19927    pub fn gtk_icon_info_get_base_size(icon_info: *mut GtkIconInfo) -> c_int;
19928    pub fn gtk_icon_info_get_builtin_pixbuf(
19929        icon_info: *mut GtkIconInfo,
19930    ) -> *mut gdk_pixbuf::GdkPixbuf;
19931    pub fn gtk_icon_info_get_display_name(icon_info: *mut GtkIconInfo) -> *const c_char;
19932    pub fn gtk_icon_info_get_embedded_rect(
19933        icon_info: *mut GtkIconInfo,
19934        rectangle: *mut gdk::GdkRectangle,
19935    ) -> gboolean;
19936    pub fn gtk_icon_info_get_filename(icon_info: *mut GtkIconInfo) -> *const c_char;
19937    pub fn gtk_icon_info_is_symbolic(icon_info: *mut GtkIconInfo) -> gboolean;
19938    pub fn gtk_icon_info_load_icon(
19939        icon_info: *mut GtkIconInfo,
19940        error: *mut *mut glib::GError,
19941    ) -> *mut gdk_pixbuf::GdkPixbuf;
19942    pub fn gtk_icon_info_load_icon_async(
19943        icon_info: *mut GtkIconInfo,
19944        cancellable: *mut gio::GCancellable,
19945        callback: gio::GAsyncReadyCallback,
19946        user_data: gpointer,
19947    );
19948    pub fn gtk_icon_info_load_icon_finish(
19949        icon_info: *mut GtkIconInfo,
19950        res: *mut gio::GAsyncResult,
19951        error: *mut *mut glib::GError,
19952    ) -> *mut gdk_pixbuf::GdkPixbuf;
19953    pub fn gtk_icon_info_load_surface(
19954        icon_info: *mut GtkIconInfo,
19955        for_window: *mut gdk::GdkWindow,
19956        error: *mut *mut glib::GError,
19957    ) -> *mut cairo::cairo_surface_t;
19958    pub fn gtk_icon_info_load_symbolic(
19959        icon_info: *mut GtkIconInfo,
19960        fg: *const gdk::GdkRGBA,
19961        success_color: *const gdk::GdkRGBA,
19962        warning_color: *const gdk::GdkRGBA,
19963        error_color: *const gdk::GdkRGBA,
19964        was_symbolic: *mut gboolean,
19965        error: *mut *mut glib::GError,
19966    ) -> *mut gdk_pixbuf::GdkPixbuf;
19967    pub fn gtk_icon_info_load_symbolic_async(
19968        icon_info: *mut GtkIconInfo,
19969        fg: *const gdk::GdkRGBA,
19970        success_color: *const gdk::GdkRGBA,
19971        warning_color: *const gdk::GdkRGBA,
19972        error_color: *const gdk::GdkRGBA,
19973        cancellable: *mut gio::GCancellable,
19974        callback: gio::GAsyncReadyCallback,
19975        user_data: gpointer,
19976    );
19977    pub fn gtk_icon_info_load_symbolic_finish(
19978        icon_info: *mut GtkIconInfo,
19979        res: *mut gio::GAsyncResult,
19980        was_symbolic: *mut gboolean,
19981        error: *mut *mut glib::GError,
19982    ) -> *mut gdk_pixbuf::GdkPixbuf;
19983    pub fn gtk_icon_info_load_symbolic_for_context(
19984        icon_info: *mut GtkIconInfo,
19985        context: *mut GtkStyleContext,
19986        was_symbolic: *mut gboolean,
19987        error: *mut *mut glib::GError,
19988    ) -> *mut gdk_pixbuf::GdkPixbuf;
19989    pub fn gtk_icon_info_load_symbolic_for_context_async(
19990        icon_info: *mut GtkIconInfo,
19991        context: *mut GtkStyleContext,
19992        cancellable: *mut gio::GCancellable,
19993        callback: gio::GAsyncReadyCallback,
19994        user_data: gpointer,
19995    );
19996    pub fn gtk_icon_info_load_symbolic_for_context_finish(
19997        icon_info: *mut GtkIconInfo,
19998        res: *mut gio::GAsyncResult,
19999        was_symbolic: *mut gboolean,
20000        error: *mut *mut glib::GError,
20001    ) -> *mut gdk_pixbuf::GdkPixbuf;
20002    pub fn gtk_icon_info_load_symbolic_for_style(
20003        icon_info: *mut GtkIconInfo,
20004        style: *mut GtkStyle,
20005        state: GtkStateType,
20006        was_symbolic: *mut gboolean,
20007        error: *mut *mut glib::GError,
20008    ) -> *mut gdk_pixbuf::GdkPixbuf;
20009    pub fn gtk_icon_info_set_raw_coordinates(
20010        icon_info: *mut GtkIconInfo,
20011        raw_coordinates: gboolean,
20012    );
20013
20014    //=========================================================================
20015    // GtkIconTheme
20016    //=========================================================================
20017    pub fn gtk_icon_theme_get_type() -> GType;
20018    pub fn gtk_icon_theme_new() -> *mut GtkIconTheme;
20019    pub fn gtk_icon_theme_add_builtin_icon(
20020        icon_name: *const c_char,
20021        size: c_int,
20022        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
20023    );
20024    pub fn gtk_icon_theme_get_default() -> *mut GtkIconTheme;
20025    pub fn gtk_icon_theme_get_for_screen(screen: *mut gdk::GdkScreen) -> *mut GtkIconTheme;
20026    pub fn gtk_icon_theme_add_resource_path(icon_theme: *mut GtkIconTheme, path: *const c_char);
20027    pub fn gtk_icon_theme_append_search_path(icon_theme: *mut GtkIconTheme, path: *const c_char);
20028    pub fn gtk_icon_theme_choose_icon(
20029        icon_theme: *mut GtkIconTheme,
20030        icon_names: *mut *const c_char,
20031        size: c_int,
20032        flags: GtkIconLookupFlags,
20033    ) -> *mut GtkIconInfo;
20034    pub fn gtk_icon_theme_choose_icon_for_scale(
20035        icon_theme: *mut GtkIconTheme,
20036        icon_names: *mut *const c_char,
20037        size: c_int,
20038        scale: c_int,
20039        flags: GtkIconLookupFlags,
20040    ) -> *mut GtkIconInfo;
20041    pub fn gtk_icon_theme_get_example_icon_name(icon_theme: *mut GtkIconTheme) -> *mut c_char;
20042    pub fn gtk_icon_theme_get_icon_sizes(
20043        icon_theme: *mut GtkIconTheme,
20044        icon_name: *const c_char,
20045    ) -> *mut c_int;
20046    pub fn gtk_icon_theme_get_search_path(
20047        icon_theme: *mut GtkIconTheme,
20048        path: *mut *mut *mut c_char,
20049        n_elements: *mut c_int,
20050    );
20051    pub fn gtk_icon_theme_has_icon(
20052        icon_theme: *mut GtkIconTheme,
20053        icon_name: *const c_char,
20054    ) -> gboolean;
20055    pub fn gtk_icon_theme_list_contexts(icon_theme: *mut GtkIconTheme) -> *mut glib::GList;
20056    pub fn gtk_icon_theme_list_icons(
20057        icon_theme: *mut GtkIconTheme,
20058        context: *const c_char,
20059    ) -> *mut glib::GList;
20060    pub fn gtk_icon_theme_load_icon(
20061        icon_theme: *mut GtkIconTheme,
20062        icon_name: *const c_char,
20063        size: c_int,
20064        flags: GtkIconLookupFlags,
20065        error: *mut *mut glib::GError,
20066    ) -> *mut gdk_pixbuf::GdkPixbuf;
20067    pub fn gtk_icon_theme_load_icon_for_scale(
20068        icon_theme: *mut GtkIconTheme,
20069        icon_name: *const c_char,
20070        size: c_int,
20071        scale: c_int,
20072        flags: GtkIconLookupFlags,
20073        error: *mut *mut glib::GError,
20074    ) -> *mut gdk_pixbuf::GdkPixbuf;
20075    pub fn gtk_icon_theme_load_surface(
20076        icon_theme: *mut GtkIconTheme,
20077        icon_name: *const c_char,
20078        size: c_int,
20079        scale: c_int,
20080        for_window: *mut gdk::GdkWindow,
20081        flags: GtkIconLookupFlags,
20082        error: *mut *mut glib::GError,
20083    ) -> *mut cairo::cairo_surface_t;
20084    pub fn gtk_icon_theme_lookup_by_gicon(
20085        icon_theme: *mut GtkIconTheme,
20086        icon: *mut gio::GIcon,
20087        size: c_int,
20088        flags: GtkIconLookupFlags,
20089    ) -> *mut GtkIconInfo;
20090    pub fn gtk_icon_theme_lookup_by_gicon_for_scale(
20091        icon_theme: *mut GtkIconTheme,
20092        icon: *mut gio::GIcon,
20093        size: c_int,
20094        scale: c_int,
20095        flags: GtkIconLookupFlags,
20096    ) -> *mut GtkIconInfo;
20097    pub fn gtk_icon_theme_lookup_icon(
20098        icon_theme: *mut GtkIconTheme,
20099        icon_name: *const c_char,
20100        size: c_int,
20101        flags: GtkIconLookupFlags,
20102    ) -> *mut GtkIconInfo;
20103    pub fn gtk_icon_theme_lookup_icon_for_scale(
20104        icon_theme: *mut GtkIconTheme,
20105        icon_name: *const c_char,
20106        size: c_int,
20107        scale: c_int,
20108        flags: GtkIconLookupFlags,
20109    ) -> *mut GtkIconInfo;
20110    pub fn gtk_icon_theme_prepend_search_path(icon_theme: *mut GtkIconTheme, path: *const c_char);
20111    pub fn gtk_icon_theme_rescan_if_needed(icon_theme: *mut GtkIconTheme) -> gboolean;
20112    pub fn gtk_icon_theme_set_custom_theme(
20113        icon_theme: *mut GtkIconTheme,
20114        theme_name: *const c_char,
20115    );
20116    pub fn gtk_icon_theme_set_screen(icon_theme: *mut GtkIconTheme, screen: *mut gdk::GdkScreen);
20117    pub fn gtk_icon_theme_set_search_path(
20118        icon_theme: *mut GtkIconTheme,
20119        path: *mut *const c_char,
20120        n_elements: c_int,
20121    );
20122
20123    //=========================================================================
20124    // GtkIconView
20125    //=========================================================================
20126    pub fn gtk_icon_view_get_type() -> GType;
20127    pub fn gtk_icon_view_new() -> *mut GtkWidget;
20128    pub fn gtk_icon_view_new_with_area(area: *mut GtkCellArea) -> *mut GtkWidget;
20129    pub fn gtk_icon_view_new_with_model(model: *mut GtkTreeModel) -> *mut GtkWidget;
20130    pub fn gtk_icon_view_convert_widget_to_bin_window_coords(
20131        icon_view: *mut GtkIconView,
20132        wx: c_int,
20133        wy: c_int,
20134        bx: *mut c_int,
20135        by: *mut c_int,
20136    );
20137    pub fn gtk_icon_view_create_drag_icon(
20138        icon_view: *mut GtkIconView,
20139        path: *mut GtkTreePath,
20140    ) -> *mut cairo::cairo_surface_t;
20141    pub fn gtk_icon_view_enable_model_drag_dest(
20142        icon_view: *mut GtkIconView,
20143        targets: *const GtkTargetEntry,
20144        n_targets: c_int,
20145        actions: gdk::GdkDragAction,
20146    );
20147    pub fn gtk_icon_view_enable_model_drag_source(
20148        icon_view: *mut GtkIconView,
20149        start_button_mask: gdk::GdkModifierType,
20150        targets: *const GtkTargetEntry,
20151        n_targets: c_int,
20152        actions: gdk::GdkDragAction,
20153    );
20154    pub fn gtk_icon_view_get_activate_on_single_click(icon_view: *mut GtkIconView) -> gboolean;
20155    pub fn gtk_icon_view_get_cell_rect(
20156        icon_view: *mut GtkIconView,
20157        path: *mut GtkTreePath,
20158        cell: *mut GtkCellRenderer,
20159        rect: *mut gdk::GdkRectangle,
20160    ) -> gboolean;
20161    pub fn gtk_icon_view_get_column_spacing(icon_view: *mut GtkIconView) -> c_int;
20162    pub fn gtk_icon_view_get_columns(icon_view: *mut GtkIconView) -> c_int;
20163    pub fn gtk_icon_view_get_cursor(
20164        icon_view: *mut GtkIconView,
20165        path: *mut *mut GtkTreePath,
20166        cell: *mut *mut GtkCellRenderer,
20167    ) -> gboolean;
20168    pub fn gtk_icon_view_get_dest_item_at_pos(
20169        icon_view: *mut GtkIconView,
20170        drag_x: c_int,
20171        drag_y: c_int,
20172        path: *mut *mut GtkTreePath,
20173        pos: *mut GtkIconViewDropPosition,
20174    ) -> gboolean;
20175    pub fn gtk_icon_view_get_drag_dest_item(
20176        icon_view: *mut GtkIconView,
20177        path: *mut *mut GtkTreePath,
20178        pos: *mut GtkIconViewDropPosition,
20179    );
20180    pub fn gtk_icon_view_get_item_at_pos(
20181        icon_view: *mut GtkIconView,
20182        x: c_int,
20183        y: c_int,
20184        path: *mut *mut GtkTreePath,
20185        cell: *mut *mut GtkCellRenderer,
20186    ) -> gboolean;
20187    pub fn gtk_icon_view_get_item_column(
20188        icon_view: *mut GtkIconView,
20189        path: *mut GtkTreePath,
20190    ) -> c_int;
20191    pub fn gtk_icon_view_get_item_orientation(icon_view: *mut GtkIconView) -> GtkOrientation;
20192    pub fn gtk_icon_view_get_item_padding(icon_view: *mut GtkIconView) -> c_int;
20193    pub fn gtk_icon_view_get_item_row(icon_view: *mut GtkIconView, path: *mut GtkTreePath)
20194        -> c_int;
20195    pub fn gtk_icon_view_get_item_width(icon_view: *mut GtkIconView) -> c_int;
20196    pub fn gtk_icon_view_get_margin(icon_view: *mut GtkIconView) -> c_int;
20197    pub fn gtk_icon_view_get_markup_column(icon_view: *mut GtkIconView) -> c_int;
20198    pub fn gtk_icon_view_get_model(icon_view: *mut GtkIconView) -> *mut GtkTreeModel;
20199    pub fn gtk_icon_view_get_path_at_pos(
20200        icon_view: *mut GtkIconView,
20201        x: c_int,
20202        y: c_int,
20203    ) -> *mut GtkTreePath;
20204    pub fn gtk_icon_view_get_pixbuf_column(icon_view: *mut GtkIconView) -> c_int;
20205    pub fn gtk_icon_view_get_reorderable(icon_view: *mut GtkIconView) -> gboolean;
20206    pub fn gtk_icon_view_get_row_spacing(icon_view: *mut GtkIconView) -> c_int;
20207    pub fn gtk_icon_view_get_selected_items(icon_view: *mut GtkIconView) -> *mut glib::GList;
20208    pub fn gtk_icon_view_get_selection_mode(icon_view: *mut GtkIconView) -> GtkSelectionMode;
20209    pub fn gtk_icon_view_get_spacing(icon_view: *mut GtkIconView) -> c_int;
20210    pub fn gtk_icon_view_get_text_column(icon_view: *mut GtkIconView) -> c_int;
20211    pub fn gtk_icon_view_get_tooltip_column(icon_view: *mut GtkIconView) -> c_int;
20212    pub fn gtk_icon_view_get_tooltip_context(
20213        icon_view: *mut GtkIconView,
20214        x: *mut c_int,
20215        y: *mut c_int,
20216        keyboard_tip: gboolean,
20217        model: *mut *mut GtkTreeModel,
20218        path: *mut *mut GtkTreePath,
20219        iter: *mut GtkTreeIter,
20220    ) -> gboolean;
20221    pub fn gtk_icon_view_get_visible_range(
20222        icon_view: *mut GtkIconView,
20223        start_path: *mut *mut GtkTreePath,
20224        end_path: *mut *mut GtkTreePath,
20225    ) -> gboolean;
20226    pub fn gtk_icon_view_item_activated(icon_view: *mut GtkIconView, path: *mut GtkTreePath);
20227    pub fn gtk_icon_view_path_is_selected(
20228        icon_view: *mut GtkIconView,
20229        path: *mut GtkTreePath,
20230    ) -> gboolean;
20231    pub fn gtk_icon_view_scroll_to_path(
20232        icon_view: *mut GtkIconView,
20233        path: *mut GtkTreePath,
20234        use_align: gboolean,
20235        row_align: c_float,
20236        col_align: c_float,
20237    );
20238    pub fn gtk_icon_view_select_all(icon_view: *mut GtkIconView);
20239    pub fn gtk_icon_view_select_path(icon_view: *mut GtkIconView, path: *mut GtkTreePath);
20240    pub fn gtk_icon_view_selected_foreach(
20241        icon_view: *mut GtkIconView,
20242        func: GtkIconViewForeachFunc,
20243        data: gpointer,
20244    );
20245    pub fn gtk_icon_view_set_activate_on_single_click(
20246        icon_view: *mut GtkIconView,
20247        single: gboolean,
20248    );
20249    pub fn gtk_icon_view_set_column_spacing(icon_view: *mut GtkIconView, column_spacing: c_int);
20250    pub fn gtk_icon_view_set_columns(icon_view: *mut GtkIconView, columns: c_int);
20251    pub fn gtk_icon_view_set_cursor(
20252        icon_view: *mut GtkIconView,
20253        path: *mut GtkTreePath,
20254        cell: *mut GtkCellRenderer,
20255        start_editing: gboolean,
20256    );
20257    pub fn gtk_icon_view_set_drag_dest_item(
20258        icon_view: *mut GtkIconView,
20259        path: *mut GtkTreePath,
20260        pos: GtkIconViewDropPosition,
20261    );
20262    pub fn gtk_icon_view_set_item_orientation(
20263        icon_view: *mut GtkIconView,
20264        orientation: GtkOrientation,
20265    );
20266    pub fn gtk_icon_view_set_item_padding(icon_view: *mut GtkIconView, item_padding: c_int);
20267    pub fn gtk_icon_view_set_item_width(icon_view: *mut GtkIconView, item_width: c_int);
20268    pub fn gtk_icon_view_set_margin(icon_view: *mut GtkIconView, margin: c_int);
20269    pub fn gtk_icon_view_set_markup_column(icon_view: *mut GtkIconView, column: c_int);
20270    pub fn gtk_icon_view_set_model(icon_view: *mut GtkIconView, model: *mut GtkTreeModel);
20271    pub fn gtk_icon_view_set_pixbuf_column(icon_view: *mut GtkIconView, column: c_int);
20272    pub fn gtk_icon_view_set_reorderable(icon_view: *mut GtkIconView, reorderable: gboolean);
20273    pub fn gtk_icon_view_set_row_spacing(icon_view: *mut GtkIconView, row_spacing: c_int);
20274    pub fn gtk_icon_view_set_selection_mode(icon_view: *mut GtkIconView, mode: GtkSelectionMode);
20275    pub fn gtk_icon_view_set_spacing(icon_view: *mut GtkIconView, spacing: c_int);
20276    pub fn gtk_icon_view_set_text_column(icon_view: *mut GtkIconView, column: c_int);
20277    pub fn gtk_icon_view_set_tooltip_cell(
20278        icon_view: *mut GtkIconView,
20279        tooltip: *mut GtkTooltip,
20280        path: *mut GtkTreePath,
20281        cell: *mut GtkCellRenderer,
20282    );
20283    pub fn gtk_icon_view_set_tooltip_column(icon_view: *mut GtkIconView, column: c_int);
20284    pub fn gtk_icon_view_set_tooltip_item(
20285        icon_view: *mut GtkIconView,
20286        tooltip: *mut GtkTooltip,
20287        path: *mut GtkTreePath,
20288    );
20289    pub fn gtk_icon_view_unselect_all(icon_view: *mut GtkIconView);
20290    pub fn gtk_icon_view_unselect_path(icon_view: *mut GtkIconView, path: *mut GtkTreePath);
20291    pub fn gtk_icon_view_unset_model_drag_dest(icon_view: *mut GtkIconView);
20292    pub fn gtk_icon_view_unset_model_drag_source(icon_view: *mut GtkIconView);
20293
20294    //=========================================================================
20295    // GtkIconViewAccessible
20296    //=========================================================================
20297    pub fn gtk_icon_view_accessible_get_type() -> GType;
20298
20299    //=========================================================================
20300    // GtkImage
20301    //=========================================================================
20302    pub fn gtk_image_get_type() -> GType;
20303    pub fn gtk_image_new() -> *mut GtkWidget;
20304    pub fn gtk_image_new_from_animation(
20305        animation: *mut gdk_pixbuf::GdkPixbufAnimation,
20306    ) -> *mut GtkWidget;
20307    pub fn gtk_image_new_from_file(filename: *const c_char) -> *mut GtkWidget;
20308    pub fn gtk_image_new_from_gicon(icon: *mut gio::GIcon, size: GtkIconSize) -> *mut GtkWidget;
20309    pub fn gtk_image_new_from_icon_name(
20310        icon_name: *const c_char,
20311        size: GtkIconSize,
20312    ) -> *mut GtkWidget;
20313    pub fn gtk_image_new_from_icon_set(
20314        icon_set: *mut GtkIconSet,
20315        size: GtkIconSize,
20316    ) -> *mut GtkWidget;
20317    pub fn gtk_image_new_from_pixbuf(pixbuf: *mut gdk_pixbuf::GdkPixbuf) -> *mut GtkWidget;
20318    pub fn gtk_image_new_from_resource(resource_path: *const c_char) -> *mut GtkWidget;
20319    pub fn gtk_image_new_from_stock(stock_id: *const c_char, size: GtkIconSize) -> *mut GtkWidget;
20320    pub fn gtk_image_new_from_surface(surface: *mut cairo::cairo_surface_t) -> *mut GtkWidget;
20321    pub fn gtk_image_clear(image: *mut GtkImage);
20322    pub fn gtk_image_get_animation(image: *mut GtkImage) -> *mut gdk_pixbuf::GdkPixbufAnimation;
20323    pub fn gtk_image_get_gicon(
20324        image: *mut GtkImage,
20325        gicon: *mut *mut gio::GIcon,
20326        size: *mut GtkIconSize,
20327    );
20328    pub fn gtk_image_get_icon_name(
20329        image: *mut GtkImage,
20330        icon_name: *mut *const c_char,
20331        size: *mut GtkIconSize,
20332    );
20333    pub fn gtk_image_get_icon_set(
20334        image: *mut GtkImage,
20335        icon_set: *mut *mut GtkIconSet,
20336        size: *mut GtkIconSize,
20337    );
20338    pub fn gtk_image_get_pixbuf(image: *mut GtkImage) -> *mut gdk_pixbuf::GdkPixbuf;
20339    pub fn gtk_image_get_pixel_size(image: *mut GtkImage) -> c_int;
20340    pub fn gtk_image_get_stock(
20341        image: *mut GtkImage,
20342        stock_id: *mut *mut c_char,
20343        size: *mut GtkIconSize,
20344    );
20345    pub fn gtk_image_get_storage_type(image: *mut GtkImage) -> GtkImageType;
20346    pub fn gtk_image_set_from_animation(
20347        image: *mut GtkImage,
20348        animation: *mut gdk_pixbuf::GdkPixbufAnimation,
20349    );
20350    pub fn gtk_image_set_from_file(image: *mut GtkImage, filename: *const c_char);
20351    pub fn gtk_image_set_from_gicon(image: *mut GtkImage, icon: *mut gio::GIcon, size: GtkIconSize);
20352    pub fn gtk_image_set_from_icon_name(
20353        image: *mut GtkImage,
20354        icon_name: *const c_char,
20355        size: GtkIconSize,
20356    );
20357    pub fn gtk_image_set_from_icon_set(
20358        image: *mut GtkImage,
20359        icon_set: *mut GtkIconSet,
20360        size: GtkIconSize,
20361    );
20362    pub fn gtk_image_set_from_pixbuf(image: *mut GtkImage, pixbuf: *mut gdk_pixbuf::GdkPixbuf);
20363    pub fn gtk_image_set_from_resource(image: *mut GtkImage, resource_path: *const c_char);
20364    pub fn gtk_image_set_from_stock(
20365        image: *mut GtkImage,
20366        stock_id: *const c_char,
20367        size: GtkIconSize,
20368    );
20369    pub fn gtk_image_set_from_surface(image: *mut GtkImage, surface: *mut cairo::cairo_surface_t);
20370    pub fn gtk_image_set_pixel_size(image: *mut GtkImage, pixel_size: c_int);
20371
20372    //=========================================================================
20373    // GtkImageAccessible
20374    //=========================================================================
20375    pub fn gtk_image_accessible_get_type() -> GType;
20376
20377    //=========================================================================
20378    // GtkImageCellAccessible
20379    //=========================================================================
20380    pub fn gtk_image_cell_accessible_get_type() -> GType;
20381
20382    //=========================================================================
20383    // GtkImageMenuItem
20384    //=========================================================================
20385    pub fn gtk_image_menu_item_get_type() -> GType;
20386    pub fn gtk_image_menu_item_new() -> *mut GtkWidget;
20387    pub fn gtk_image_menu_item_new_from_stock(
20388        stock_id: *const c_char,
20389        accel_group: *mut GtkAccelGroup,
20390    ) -> *mut GtkWidget;
20391    pub fn gtk_image_menu_item_new_with_label(label: *const c_char) -> *mut GtkWidget;
20392    pub fn gtk_image_menu_item_new_with_mnemonic(label: *const c_char) -> *mut GtkWidget;
20393    pub fn gtk_image_menu_item_get_always_show_image(
20394        image_menu_item: *mut GtkImageMenuItem,
20395    ) -> gboolean;
20396    pub fn gtk_image_menu_item_get_image(image_menu_item: *mut GtkImageMenuItem) -> *mut GtkWidget;
20397    pub fn gtk_image_menu_item_get_use_stock(image_menu_item: *mut GtkImageMenuItem) -> gboolean;
20398    pub fn gtk_image_menu_item_set_accel_group(
20399        image_menu_item: *mut GtkImageMenuItem,
20400        accel_group: *mut GtkAccelGroup,
20401    );
20402    pub fn gtk_image_menu_item_set_always_show_image(
20403        image_menu_item: *mut GtkImageMenuItem,
20404        always_show: gboolean,
20405    );
20406    pub fn gtk_image_menu_item_set_image(
20407        image_menu_item: *mut GtkImageMenuItem,
20408        image: *mut GtkWidget,
20409    );
20410    pub fn gtk_image_menu_item_set_use_stock(
20411        image_menu_item: *mut GtkImageMenuItem,
20412        use_stock: gboolean,
20413    );
20414
20415    //=========================================================================
20416    // GtkInfoBar
20417    //=========================================================================
20418    pub fn gtk_info_bar_get_type() -> GType;
20419    pub fn gtk_info_bar_new() -> *mut GtkWidget;
20420    pub fn gtk_info_bar_new_with_buttons(first_button_text: *const c_char, ...) -> *mut GtkWidget;
20421    pub fn gtk_info_bar_add_action_widget(
20422        info_bar: *mut GtkInfoBar,
20423        child: *mut GtkWidget,
20424        response_id: GtkResponseType,
20425    );
20426    pub fn gtk_info_bar_add_button(
20427        info_bar: *mut GtkInfoBar,
20428        button_text: *const c_char,
20429        response_id: GtkResponseType,
20430    ) -> *mut GtkButton;
20431    pub fn gtk_info_bar_add_buttons(
20432        info_bar: *mut GtkInfoBar,
20433        first_button_text: *const c_char,
20434        ...
20435    );
20436    pub fn gtk_info_bar_get_action_area(info_bar: *mut GtkInfoBar) -> *mut GtkWidget;
20437    pub fn gtk_info_bar_get_content_area(info_bar: *mut GtkInfoBar) -> *mut GtkWidget;
20438    pub fn gtk_info_bar_get_message_type(info_bar: *mut GtkInfoBar) -> GtkMessageType;
20439    #[cfg(any(feature = "v3_22_29", feature = "dox"))]
20440    pub fn gtk_info_bar_get_revealed(info_bar: *mut GtkInfoBar) -> gboolean;
20441    pub fn gtk_info_bar_get_show_close_button(info_bar: *mut GtkInfoBar) -> gboolean;
20442    pub fn gtk_info_bar_response(info_bar: *mut GtkInfoBar, response_id: GtkResponseType);
20443    pub fn gtk_info_bar_set_default_response(
20444        info_bar: *mut GtkInfoBar,
20445        response_id: GtkResponseType,
20446    );
20447    pub fn gtk_info_bar_set_message_type(info_bar: *mut GtkInfoBar, message_type: GtkMessageType);
20448    pub fn gtk_info_bar_set_response_sensitive(
20449        info_bar: *mut GtkInfoBar,
20450        response_id: GtkResponseType,
20451        setting: gboolean,
20452    );
20453    #[cfg(any(feature = "v3_22_29", feature = "dox"))]
20454    pub fn gtk_info_bar_set_revealed(info_bar: *mut GtkInfoBar, revealed: gboolean);
20455    pub fn gtk_info_bar_set_show_close_button(info_bar: *mut GtkInfoBar, setting: gboolean);
20456
20457    //=========================================================================
20458    // GtkInvisible
20459    //=========================================================================
20460    pub fn gtk_invisible_get_type() -> GType;
20461    pub fn gtk_invisible_new() -> *mut GtkWidget;
20462    pub fn gtk_invisible_new_for_screen(screen: *mut gdk::GdkScreen) -> *mut GtkWidget;
20463    pub fn gtk_invisible_get_screen(invisible: *mut GtkInvisible) -> *mut gdk::GdkScreen;
20464    pub fn gtk_invisible_set_screen(invisible: *mut GtkInvisible, screen: *mut gdk::GdkScreen);
20465
20466    //=========================================================================
20467    // GtkLabel
20468    //=========================================================================
20469    pub fn gtk_label_get_type() -> GType;
20470    pub fn gtk_label_new(str: *const c_char) -> *mut GtkWidget;
20471    pub fn gtk_label_new_with_mnemonic(str: *const c_char) -> *mut GtkWidget;
20472    pub fn gtk_label_get_angle(label: *mut GtkLabel) -> c_double;
20473    pub fn gtk_label_get_attributes(label: *mut GtkLabel) -> *mut pango::PangoAttrList;
20474    pub fn gtk_label_get_current_uri(label: *mut GtkLabel) -> *const c_char;
20475    pub fn gtk_label_get_ellipsize(label: *mut GtkLabel) -> pango::PangoEllipsizeMode;
20476    pub fn gtk_label_get_justify(label: *mut GtkLabel) -> GtkJustification;
20477    pub fn gtk_label_get_label(label: *mut GtkLabel) -> *const c_char;
20478    pub fn gtk_label_get_layout(label: *mut GtkLabel) -> *mut pango::PangoLayout;
20479    pub fn gtk_label_get_layout_offsets(label: *mut GtkLabel, x: *mut c_int, y: *mut c_int);
20480    pub fn gtk_label_get_line_wrap(label: *mut GtkLabel) -> gboolean;
20481    pub fn gtk_label_get_line_wrap_mode(label: *mut GtkLabel) -> pango::PangoWrapMode;
20482    pub fn gtk_label_get_lines(label: *mut GtkLabel) -> c_int;
20483    pub fn gtk_label_get_max_width_chars(label: *mut GtkLabel) -> c_int;
20484    pub fn gtk_label_get_mnemonic_keyval(label: *mut GtkLabel) -> c_uint;
20485    pub fn gtk_label_get_mnemonic_widget(label: *mut GtkLabel) -> *mut GtkWidget;
20486    pub fn gtk_label_get_selectable(label: *mut GtkLabel) -> gboolean;
20487    pub fn gtk_label_get_selection_bounds(
20488        label: *mut GtkLabel,
20489        start: *mut c_int,
20490        end: *mut c_int,
20491    ) -> gboolean;
20492    pub fn gtk_label_get_single_line_mode(label: *mut GtkLabel) -> gboolean;
20493    pub fn gtk_label_get_text(label: *mut GtkLabel) -> *const c_char;
20494    pub fn gtk_label_get_track_visited_links(label: *mut GtkLabel) -> gboolean;
20495    pub fn gtk_label_get_use_markup(label: *mut GtkLabel) -> gboolean;
20496    pub fn gtk_label_get_use_underline(label: *mut GtkLabel) -> gboolean;
20497    pub fn gtk_label_get_width_chars(label: *mut GtkLabel) -> c_int;
20498    #[cfg(any(feature = "v3_16", feature = "dox"))]
20499    pub fn gtk_label_get_xalign(label: *mut GtkLabel) -> c_float;
20500    #[cfg(any(feature = "v3_16", feature = "dox"))]
20501    pub fn gtk_label_get_yalign(label: *mut GtkLabel) -> c_float;
20502    pub fn gtk_label_select_region(label: *mut GtkLabel, start_offset: c_int, end_offset: c_int);
20503    pub fn gtk_label_set_angle(label: *mut GtkLabel, angle: c_double);
20504    pub fn gtk_label_set_attributes(label: *mut GtkLabel, attrs: *mut pango::PangoAttrList);
20505    pub fn gtk_label_set_ellipsize(label: *mut GtkLabel, mode: pango::PangoEllipsizeMode);
20506    pub fn gtk_label_set_justify(label: *mut GtkLabel, jtype: GtkJustification);
20507    pub fn gtk_label_set_label(label: *mut GtkLabel, str: *const c_char);
20508    pub fn gtk_label_set_line_wrap(label: *mut GtkLabel, wrap: gboolean);
20509    pub fn gtk_label_set_line_wrap_mode(label: *mut GtkLabel, wrap_mode: pango::PangoWrapMode);
20510    pub fn gtk_label_set_lines(label: *mut GtkLabel, lines: c_int);
20511    pub fn gtk_label_set_markup(label: *mut GtkLabel, str: *const c_char);
20512    pub fn gtk_label_set_markup_with_mnemonic(label: *mut GtkLabel, str: *const c_char);
20513    pub fn gtk_label_set_max_width_chars(label: *mut GtkLabel, n_chars: c_int);
20514    pub fn gtk_label_set_mnemonic_widget(label: *mut GtkLabel, widget: *mut GtkWidget);
20515    pub fn gtk_label_set_pattern(label: *mut GtkLabel, pattern: *const c_char);
20516    pub fn gtk_label_set_selectable(label: *mut GtkLabel, setting: gboolean);
20517    pub fn gtk_label_set_single_line_mode(label: *mut GtkLabel, single_line_mode: gboolean);
20518    pub fn gtk_label_set_text(label: *mut GtkLabel, str: *const c_char);
20519    pub fn gtk_label_set_text_with_mnemonic(label: *mut GtkLabel, str: *const c_char);
20520    pub fn gtk_label_set_track_visited_links(label: *mut GtkLabel, track_links: gboolean);
20521    pub fn gtk_label_set_use_markup(label: *mut GtkLabel, setting: gboolean);
20522    pub fn gtk_label_set_use_underline(label: *mut GtkLabel, setting: gboolean);
20523    pub fn gtk_label_set_width_chars(label: *mut GtkLabel, n_chars: c_int);
20524    #[cfg(any(feature = "v3_16", feature = "dox"))]
20525    pub fn gtk_label_set_xalign(label: *mut GtkLabel, xalign: c_float);
20526    #[cfg(any(feature = "v3_16", feature = "dox"))]
20527    pub fn gtk_label_set_yalign(label: *mut GtkLabel, yalign: c_float);
20528
20529    //=========================================================================
20530    // GtkLabelAccessible
20531    //=========================================================================
20532    pub fn gtk_label_accessible_get_type() -> GType;
20533
20534    //=========================================================================
20535    // GtkLayout
20536    //=========================================================================
20537    pub fn gtk_layout_get_type() -> GType;
20538    pub fn gtk_layout_new(
20539        hadjustment: *mut GtkAdjustment,
20540        vadjustment: *mut GtkAdjustment,
20541    ) -> *mut GtkWidget;
20542    pub fn gtk_layout_get_bin_window(layout: *mut GtkLayout) -> *mut gdk::GdkWindow;
20543    pub fn gtk_layout_get_hadjustment(layout: *mut GtkLayout) -> *mut GtkAdjustment;
20544    pub fn gtk_layout_get_size(layout: *mut GtkLayout, width: *mut c_uint, height: *mut c_uint);
20545    pub fn gtk_layout_get_vadjustment(layout: *mut GtkLayout) -> *mut GtkAdjustment;
20546    pub fn gtk_layout_move(
20547        layout: *mut GtkLayout,
20548        child_widget: *mut GtkWidget,
20549        x: c_int,
20550        y: c_int,
20551    );
20552    pub fn gtk_layout_put(layout: *mut GtkLayout, child_widget: *mut GtkWidget, x: c_int, y: c_int);
20553    pub fn gtk_layout_set_hadjustment(layout: *mut GtkLayout, adjustment: *mut GtkAdjustment);
20554    pub fn gtk_layout_set_size(layout: *mut GtkLayout, width: c_uint, height: c_uint);
20555    pub fn gtk_layout_set_vadjustment(layout: *mut GtkLayout, adjustment: *mut GtkAdjustment);
20556
20557    //=========================================================================
20558    // GtkLevelBar
20559    //=========================================================================
20560    pub fn gtk_level_bar_get_type() -> GType;
20561    pub fn gtk_level_bar_new() -> *mut GtkWidget;
20562    pub fn gtk_level_bar_new_for_interval(
20563        min_value: c_double,
20564        max_value: c_double,
20565    ) -> *mut GtkWidget;
20566    pub fn gtk_level_bar_add_offset_value(
20567        self_: *mut GtkLevelBar,
20568        name: *const c_char,
20569        value: c_double,
20570    );
20571    pub fn gtk_level_bar_get_inverted(self_: *mut GtkLevelBar) -> gboolean;
20572    pub fn gtk_level_bar_get_max_value(self_: *mut GtkLevelBar) -> c_double;
20573    pub fn gtk_level_bar_get_min_value(self_: *mut GtkLevelBar) -> c_double;
20574    pub fn gtk_level_bar_get_mode(self_: *mut GtkLevelBar) -> GtkLevelBarMode;
20575    pub fn gtk_level_bar_get_offset_value(
20576        self_: *mut GtkLevelBar,
20577        name: *const c_char,
20578        value: *mut c_double,
20579    ) -> gboolean;
20580    pub fn gtk_level_bar_get_value(self_: *mut GtkLevelBar) -> c_double;
20581    pub fn gtk_level_bar_remove_offset_value(self_: *mut GtkLevelBar, name: *const c_char);
20582    pub fn gtk_level_bar_set_inverted(self_: *mut GtkLevelBar, inverted: gboolean);
20583    pub fn gtk_level_bar_set_max_value(self_: *mut GtkLevelBar, value: c_double);
20584    pub fn gtk_level_bar_set_min_value(self_: *mut GtkLevelBar, value: c_double);
20585    pub fn gtk_level_bar_set_mode(self_: *mut GtkLevelBar, mode: GtkLevelBarMode);
20586    pub fn gtk_level_bar_set_value(self_: *mut GtkLevelBar, value: c_double);
20587
20588    //=========================================================================
20589    // GtkLevelBarAccessible
20590    //=========================================================================
20591    pub fn gtk_level_bar_accessible_get_type() -> GType;
20592
20593    //=========================================================================
20594    // GtkLinkButton
20595    //=========================================================================
20596    pub fn gtk_link_button_get_type() -> GType;
20597    pub fn gtk_link_button_new(uri: *const c_char) -> *mut GtkWidget;
20598    pub fn gtk_link_button_new_with_label(
20599        uri: *const c_char,
20600        label: *const c_char,
20601    ) -> *mut GtkWidget;
20602    pub fn gtk_link_button_get_uri(link_button: *mut GtkLinkButton) -> *const c_char;
20603    pub fn gtk_link_button_get_visited(link_button: *mut GtkLinkButton) -> gboolean;
20604    pub fn gtk_link_button_set_uri(link_button: *mut GtkLinkButton, uri: *const c_char);
20605    pub fn gtk_link_button_set_visited(link_button: *mut GtkLinkButton, visited: gboolean);
20606
20607    //=========================================================================
20608    // GtkLinkButtonAccessible
20609    //=========================================================================
20610    pub fn gtk_link_button_accessible_get_type() -> GType;
20611
20612    //=========================================================================
20613    // GtkListBox
20614    //=========================================================================
20615    pub fn gtk_list_box_get_type() -> GType;
20616    pub fn gtk_list_box_new() -> *mut GtkWidget;
20617    #[cfg(any(feature = "v3_16", feature = "dox"))]
20618    pub fn gtk_list_box_bind_model(
20619        box_: *mut GtkListBox,
20620        model: *mut gio::GListModel,
20621        create_widget_func: GtkListBoxCreateWidgetFunc,
20622        user_data: gpointer,
20623        user_data_free_func: glib::GDestroyNotify,
20624    );
20625    pub fn gtk_list_box_drag_highlight_row(box_: *mut GtkListBox, row: *mut GtkListBoxRow);
20626    pub fn gtk_list_box_drag_unhighlight_row(box_: *mut GtkListBox);
20627    pub fn gtk_list_box_get_activate_on_single_click(box_: *mut GtkListBox) -> gboolean;
20628    pub fn gtk_list_box_get_adjustment(box_: *mut GtkListBox) -> *mut GtkAdjustment;
20629    pub fn gtk_list_box_get_row_at_index(
20630        box_: *mut GtkListBox,
20631        index_: c_int,
20632    ) -> *mut GtkListBoxRow;
20633    pub fn gtk_list_box_get_row_at_y(box_: *mut GtkListBox, y: c_int) -> *mut GtkListBoxRow;
20634    pub fn gtk_list_box_get_selected_row(box_: *mut GtkListBox) -> *mut GtkListBoxRow;
20635    pub fn gtk_list_box_get_selected_rows(box_: *mut GtkListBox) -> *mut glib::GList;
20636    pub fn gtk_list_box_get_selection_mode(box_: *mut GtkListBox) -> GtkSelectionMode;
20637    pub fn gtk_list_box_insert(box_: *mut GtkListBox, child: *mut GtkWidget, position: c_int);
20638    pub fn gtk_list_box_invalidate_filter(box_: *mut GtkListBox);
20639    pub fn gtk_list_box_invalidate_headers(box_: *mut GtkListBox);
20640    pub fn gtk_list_box_invalidate_sort(box_: *mut GtkListBox);
20641    pub fn gtk_list_box_prepend(box_: *mut GtkListBox, child: *mut GtkWidget);
20642    pub fn gtk_list_box_select_all(box_: *mut GtkListBox);
20643    pub fn gtk_list_box_select_row(box_: *mut GtkListBox, row: *mut GtkListBoxRow);
20644    pub fn gtk_list_box_selected_foreach(
20645        box_: *mut GtkListBox,
20646        func: GtkListBoxForeachFunc,
20647        data: gpointer,
20648    );
20649    pub fn gtk_list_box_set_activate_on_single_click(box_: *mut GtkListBox, single: gboolean);
20650    pub fn gtk_list_box_set_adjustment(box_: *mut GtkListBox, adjustment: *mut GtkAdjustment);
20651    pub fn gtk_list_box_set_filter_func(
20652        box_: *mut GtkListBox,
20653        filter_func: GtkListBoxFilterFunc,
20654        user_data: gpointer,
20655        destroy: glib::GDestroyNotify,
20656    );
20657    pub fn gtk_list_box_set_header_func(
20658        box_: *mut GtkListBox,
20659        update_header: GtkListBoxUpdateHeaderFunc,
20660        user_data: gpointer,
20661        destroy: glib::GDestroyNotify,
20662    );
20663    pub fn gtk_list_box_set_placeholder(box_: *mut GtkListBox, placeholder: *mut GtkWidget);
20664    pub fn gtk_list_box_set_selection_mode(box_: *mut GtkListBox, mode: GtkSelectionMode);
20665    pub fn gtk_list_box_set_sort_func(
20666        box_: *mut GtkListBox,
20667        sort_func: GtkListBoxSortFunc,
20668        user_data: gpointer,
20669        destroy: glib::GDestroyNotify,
20670    );
20671    pub fn gtk_list_box_unselect_all(box_: *mut GtkListBox);
20672    pub fn gtk_list_box_unselect_row(box_: *mut GtkListBox, row: *mut GtkListBoxRow);
20673
20674    //=========================================================================
20675    // GtkListBoxAccessible
20676    //=========================================================================
20677    pub fn gtk_list_box_accessible_get_type() -> GType;
20678
20679    //=========================================================================
20680    // GtkListBoxRow
20681    //=========================================================================
20682    pub fn gtk_list_box_row_get_type() -> GType;
20683    pub fn gtk_list_box_row_new() -> *mut GtkWidget;
20684    pub fn gtk_list_box_row_changed(row: *mut GtkListBoxRow);
20685    pub fn gtk_list_box_row_get_activatable(row: *mut GtkListBoxRow) -> gboolean;
20686    pub fn gtk_list_box_row_get_header(row: *mut GtkListBoxRow) -> *mut GtkWidget;
20687    pub fn gtk_list_box_row_get_index(row: *mut GtkListBoxRow) -> c_int;
20688    pub fn gtk_list_box_row_get_selectable(row: *mut GtkListBoxRow) -> gboolean;
20689    pub fn gtk_list_box_row_is_selected(row: *mut GtkListBoxRow) -> gboolean;
20690    pub fn gtk_list_box_row_set_activatable(row: *mut GtkListBoxRow, activatable: gboolean);
20691    pub fn gtk_list_box_row_set_header(row: *mut GtkListBoxRow, header: *mut GtkWidget);
20692    pub fn gtk_list_box_row_set_selectable(row: *mut GtkListBoxRow, selectable: gboolean);
20693
20694    //=========================================================================
20695    // GtkListBoxRowAccessible
20696    //=========================================================================
20697    pub fn gtk_list_box_row_accessible_get_type() -> GType;
20698
20699    //=========================================================================
20700    // GtkListStore
20701    //=========================================================================
20702    pub fn gtk_list_store_get_type() -> GType;
20703    pub fn gtk_list_store_new(n_columns: c_int, ...) -> *mut GtkListStore;
20704    pub fn gtk_list_store_newv(n_columns: c_int, types: *mut GType) -> *mut GtkListStore;
20705    pub fn gtk_list_store_append(list_store: *mut GtkListStore, iter: *mut GtkTreeIter);
20706    pub fn gtk_list_store_clear(list_store: *mut GtkListStore);
20707    pub fn gtk_list_store_insert(
20708        list_store: *mut GtkListStore,
20709        iter: *mut GtkTreeIter,
20710        position: c_int,
20711    );
20712    pub fn gtk_list_store_insert_after(
20713        list_store: *mut GtkListStore,
20714        iter: *mut GtkTreeIter,
20715        sibling: *mut GtkTreeIter,
20716    );
20717    pub fn gtk_list_store_insert_before(
20718        list_store: *mut GtkListStore,
20719        iter: *mut GtkTreeIter,
20720        sibling: *mut GtkTreeIter,
20721    );
20722    pub fn gtk_list_store_insert_with_values(
20723        list_store: *mut GtkListStore,
20724        iter: *mut GtkTreeIter,
20725        position: c_int,
20726        ...
20727    );
20728    pub fn gtk_list_store_insert_with_valuesv(
20729        list_store: *mut GtkListStore,
20730        iter: *mut GtkTreeIter,
20731        position: c_int,
20732        columns: *mut c_int,
20733        values: *mut gobject::GValue,
20734        n_values: c_int,
20735    );
20736    pub fn gtk_list_store_iter_is_valid(
20737        list_store: *mut GtkListStore,
20738        iter: *mut GtkTreeIter,
20739    ) -> gboolean;
20740    pub fn gtk_list_store_move_after(
20741        store: *mut GtkListStore,
20742        iter: *mut GtkTreeIter,
20743        position: *mut GtkTreeIter,
20744    );
20745    pub fn gtk_list_store_move_before(
20746        store: *mut GtkListStore,
20747        iter: *mut GtkTreeIter,
20748        position: *mut GtkTreeIter,
20749    );
20750    pub fn gtk_list_store_prepend(list_store: *mut GtkListStore, iter: *mut GtkTreeIter);
20751    pub fn gtk_list_store_remove(list_store: *mut GtkListStore, iter: *mut GtkTreeIter)
20752        -> gboolean;
20753    pub fn gtk_list_store_reorder(store: *mut GtkListStore, new_order: *mut c_int);
20754    pub fn gtk_list_store_set(list_store: *mut GtkListStore, iter: *mut GtkTreeIter, ...);
20755    pub fn gtk_list_store_set_column_types(
20756        list_store: *mut GtkListStore,
20757        n_columns: c_int,
20758        types: *mut GType,
20759    );
20760    //pub fn gtk_list_store_set_valist(list_store: *mut GtkListStore, iter: *mut GtkTreeIter, var_args: /*Unimplemented*/va_list);
20761    pub fn gtk_list_store_set_value(
20762        list_store: *mut GtkListStore,
20763        iter: *mut GtkTreeIter,
20764        column: c_int,
20765        value: *mut gobject::GValue,
20766    );
20767    pub fn gtk_list_store_set_valuesv(
20768        list_store: *mut GtkListStore,
20769        iter: *mut GtkTreeIter,
20770        columns: *mut c_int,
20771        values: *mut gobject::GValue,
20772        n_values: c_int,
20773    );
20774    pub fn gtk_list_store_swap(store: *mut GtkListStore, a: *mut GtkTreeIter, b: *mut GtkTreeIter);
20775
20776    //=========================================================================
20777    // GtkLockButton
20778    //=========================================================================
20779    pub fn gtk_lock_button_get_type() -> GType;
20780    pub fn gtk_lock_button_new(permission: *mut gio::GPermission) -> *mut GtkWidget;
20781    pub fn gtk_lock_button_get_permission(button: *mut GtkLockButton) -> *mut gio::GPermission;
20782    pub fn gtk_lock_button_set_permission(
20783        button: *mut GtkLockButton,
20784        permission: *mut gio::GPermission,
20785    );
20786
20787    //=========================================================================
20788    // GtkLockButtonAccessible
20789    //=========================================================================
20790    pub fn gtk_lock_button_accessible_get_type() -> GType;
20791
20792    //=========================================================================
20793    // GtkMenu
20794    //=========================================================================
20795    pub fn gtk_menu_get_type() -> GType;
20796    pub fn gtk_menu_new() -> *mut GtkWidget;
20797    pub fn gtk_menu_new_from_model(model: *mut gio::GMenuModel) -> *mut GtkWidget;
20798    pub fn gtk_menu_get_for_attach_widget(widget: *mut GtkWidget) -> *mut glib::GList;
20799    pub fn gtk_menu_attach(
20800        menu: *mut GtkMenu,
20801        child: *mut GtkWidget,
20802        left_attach: c_uint,
20803        right_attach: c_uint,
20804        top_attach: c_uint,
20805        bottom_attach: c_uint,
20806    );
20807    pub fn gtk_menu_attach_to_widget(
20808        menu: *mut GtkMenu,
20809        attach_widget: *mut GtkWidget,
20810        detacher: GtkMenuDetachFunc,
20811    );
20812    pub fn gtk_menu_detach(menu: *mut GtkMenu);
20813    pub fn gtk_menu_get_accel_group(menu: *mut GtkMenu) -> *mut GtkAccelGroup;
20814    pub fn gtk_menu_get_accel_path(menu: *mut GtkMenu) -> *const c_char;
20815    pub fn gtk_menu_get_active(menu: *mut GtkMenu) -> *mut GtkWidget;
20816    pub fn gtk_menu_get_attach_widget(menu: *mut GtkMenu) -> *mut GtkWidget;
20817    pub fn gtk_menu_get_monitor(menu: *mut GtkMenu) -> c_int;
20818    pub fn gtk_menu_get_reserve_toggle_size(menu: *mut GtkMenu) -> gboolean;
20819    pub fn gtk_menu_get_tearoff_state(menu: *mut GtkMenu) -> gboolean;
20820    pub fn gtk_menu_get_title(menu: *mut GtkMenu) -> *const c_char;
20821    #[cfg(any(feature = "v3_22", feature = "dox"))]
20822    pub fn gtk_menu_place_on_monitor(menu: *mut GtkMenu, monitor: *mut gdk::GdkMonitor);
20823    pub fn gtk_menu_popdown(menu: *mut GtkMenu);
20824    pub fn gtk_menu_popup(
20825        menu: *mut GtkMenu,
20826        parent_menu_shell: *mut GtkWidget,
20827        parent_menu_item: *mut GtkWidget,
20828        func: GtkMenuPositionFunc,
20829        data: gpointer,
20830        button: c_uint,
20831        activate_time: u32,
20832    );
20833    #[cfg(any(feature = "v3_22", feature = "dox"))]
20834    pub fn gtk_menu_popup_at_pointer(menu: *mut GtkMenu, trigger_event: *const gdk::GdkEvent);
20835    #[cfg(any(feature = "v3_22", feature = "dox"))]
20836    pub fn gtk_menu_popup_at_rect(
20837        menu: *mut GtkMenu,
20838        rect_window: *mut gdk::GdkWindow,
20839        rect: *const gdk::GdkRectangle,
20840        rect_anchor: gdk::GdkGravity,
20841        menu_anchor: gdk::GdkGravity,
20842        trigger_event: *const gdk::GdkEvent,
20843    );
20844    #[cfg(any(feature = "v3_22", feature = "dox"))]
20845    pub fn gtk_menu_popup_at_widget(
20846        menu: *mut GtkMenu,
20847        widget: *mut GtkWidget,
20848        widget_anchor: gdk::GdkGravity,
20849        menu_anchor: gdk::GdkGravity,
20850        trigger_event: *const gdk::GdkEvent,
20851    );
20852    pub fn gtk_menu_popup_for_device(
20853        menu: *mut GtkMenu,
20854        device: *mut gdk::GdkDevice,
20855        parent_menu_shell: *mut GtkWidget,
20856        parent_menu_item: *mut GtkWidget,
20857        func: GtkMenuPositionFunc,
20858        data: gpointer,
20859        destroy: glib::GDestroyNotify,
20860        button: c_uint,
20861        activate_time: u32,
20862    );
20863    pub fn gtk_menu_reorder_child(menu: *mut GtkMenu, child: *mut GtkWidget, position: c_int);
20864    pub fn gtk_menu_reposition(menu: *mut GtkMenu);
20865    pub fn gtk_menu_set_accel_group(menu: *mut GtkMenu, accel_group: *mut GtkAccelGroup);
20866    pub fn gtk_menu_set_accel_path(menu: *mut GtkMenu, accel_path: *const c_char);
20867    pub fn gtk_menu_set_active(menu: *mut GtkMenu, index: c_uint);
20868    pub fn gtk_menu_set_monitor(menu: *mut GtkMenu, monitor_num: c_int);
20869    pub fn gtk_menu_set_reserve_toggle_size(menu: *mut GtkMenu, reserve_toggle_size: gboolean);
20870    pub fn gtk_menu_set_screen(menu: *mut GtkMenu, screen: *mut gdk::GdkScreen);
20871    pub fn gtk_menu_set_tearoff_state(menu: *mut GtkMenu, torn_off: gboolean);
20872    pub fn gtk_menu_set_title(menu: *mut GtkMenu, title: *const c_char);
20873
20874    //=========================================================================
20875    // GtkMenuAccessible
20876    //=========================================================================
20877    pub fn gtk_menu_accessible_get_type() -> GType;
20878
20879    //=========================================================================
20880    // GtkMenuBar
20881    //=========================================================================
20882    pub fn gtk_menu_bar_get_type() -> GType;
20883    pub fn gtk_menu_bar_new() -> *mut GtkWidget;
20884    pub fn gtk_menu_bar_new_from_model(model: *mut gio::GMenuModel) -> *mut GtkWidget;
20885    pub fn gtk_menu_bar_get_child_pack_direction(menubar: *mut GtkMenuBar) -> GtkPackDirection;
20886    pub fn gtk_menu_bar_get_pack_direction(menubar: *mut GtkMenuBar) -> GtkPackDirection;
20887    pub fn gtk_menu_bar_set_child_pack_direction(
20888        menubar: *mut GtkMenuBar,
20889        child_pack_dir: GtkPackDirection,
20890    );
20891    pub fn gtk_menu_bar_set_pack_direction(menubar: *mut GtkMenuBar, pack_dir: GtkPackDirection);
20892
20893    //=========================================================================
20894    // GtkMenuButton
20895    //=========================================================================
20896    pub fn gtk_menu_button_get_type() -> GType;
20897    pub fn gtk_menu_button_new() -> *mut GtkWidget;
20898    pub fn gtk_menu_button_get_align_widget(menu_button: *mut GtkMenuButton) -> *mut GtkWidget;
20899    pub fn gtk_menu_button_get_direction(menu_button: *mut GtkMenuButton) -> GtkArrowType;
20900    pub fn gtk_menu_button_get_menu_model(menu_button: *mut GtkMenuButton) -> *mut gio::GMenuModel;
20901    pub fn gtk_menu_button_get_popover(menu_button: *mut GtkMenuButton) -> *mut GtkPopover;
20902    pub fn gtk_menu_button_get_popup(menu_button: *mut GtkMenuButton) -> *mut GtkMenu;
20903    pub fn gtk_menu_button_get_use_popover(menu_button: *mut GtkMenuButton) -> gboolean;
20904    pub fn gtk_menu_button_set_align_widget(
20905        menu_button: *mut GtkMenuButton,
20906        align_widget: *mut GtkWidget,
20907    );
20908    pub fn gtk_menu_button_set_direction(menu_button: *mut GtkMenuButton, direction: GtkArrowType);
20909    pub fn gtk_menu_button_set_menu_model(
20910        menu_button: *mut GtkMenuButton,
20911        menu_model: *mut gio::GMenuModel,
20912    );
20913    pub fn gtk_menu_button_set_popover(menu_button: *mut GtkMenuButton, popover: *mut GtkWidget);
20914    pub fn gtk_menu_button_set_popup(menu_button: *mut GtkMenuButton, menu: *mut GtkWidget);
20915    pub fn gtk_menu_button_set_use_popover(menu_button: *mut GtkMenuButton, use_popover: gboolean);
20916
20917    //=========================================================================
20918    // GtkMenuButtonAccessible
20919    //=========================================================================
20920    pub fn gtk_menu_button_accessible_get_type() -> GType;
20921
20922    //=========================================================================
20923    // GtkMenuItem
20924    //=========================================================================
20925    pub fn gtk_menu_item_get_type() -> GType;
20926    pub fn gtk_menu_item_new() -> *mut GtkWidget;
20927    pub fn gtk_menu_item_new_with_label(label: *const c_char) -> *mut GtkWidget;
20928    pub fn gtk_menu_item_new_with_mnemonic(label: *const c_char) -> *mut GtkWidget;
20929    pub fn gtk_menu_item_activate(menu_item: *mut GtkMenuItem);
20930    pub fn gtk_menu_item_deselect(menu_item: *mut GtkMenuItem);
20931    pub fn gtk_menu_item_get_accel_path(menu_item: *mut GtkMenuItem) -> *const c_char;
20932    pub fn gtk_menu_item_get_label(menu_item: *mut GtkMenuItem) -> *const c_char;
20933    pub fn gtk_menu_item_get_reserve_indicator(menu_item: *mut GtkMenuItem) -> gboolean;
20934    pub fn gtk_menu_item_get_right_justified(menu_item: *mut GtkMenuItem) -> gboolean;
20935    pub fn gtk_menu_item_get_submenu(menu_item: *mut GtkMenuItem) -> *mut GtkWidget;
20936    pub fn gtk_menu_item_get_use_underline(menu_item: *mut GtkMenuItem) -> gboolean;
20937    pub fn gtk_menu_item_select(menu_item: *mut GtkMenuItem);
20938    pub fn gtk_menu_item_set_accel_path(menu_item: *mut GtkMenuItem, accel_path: *const c_char);
20939    pub fn gtk_menu_item_set_label(menu_item: *mut GtkMenuItem, label: *const c_char);
20940    pub fn gtk_menu_item_set_reserve_indicator(menu_item: *mut GtkMenuItem, reserve: gboolean);
20941    pub fn gtk_menu_item_set_right_justified(
20942        menu_item: *mut GtkMenuItem,
20943        right_justified: gboolean,
20944    );
20945    pub fn gtk_menu_item_set_submenu(menu_item: *mut GtkMenuItem, submenu: *mut GtkMenu);
20946    pub fn gtk_menu_item_set_use_underline(menu_item: *mut GtkMenuItem, setting: gboolean);
20947    pub fn gtk_menu_item_toggle_size_allocate(menu_item: *mut GtkMenuItem, allocation: c_int);
20948    pub fn gtk_menu_item_toggle_size_request(menu_item: *mut GtkMenuItem, requisition: *mut c_int);
20949
20950    //=========================================================================
20951    // GtkMenuItemAccessible
20952    //=========================================================================
20953    pub fn gtk_menu_item_accessible_get_type() -> GType;
20954
20955    //=========================================================================
20956    // GtkMenuShell
20957    //=========================================================================
20958    pub fn gtk_menu_shell_get_type() -> GType;
20959    pub fn gtk_menu_shell_activate_item(
20960        menu_shell: *mut GtkMenuShell,
20961        menu_item: *mut GtkWidget,
20962        force_deactivate: gboolean,
20963    );
20964    pub fn gtk_menu_shell_append(menu_shell: *mut GtkMenuShell, child: *mut GtkMenuItem);
20965    pub fn gtk_menu_shell_bind_model(
20966        menu_shell: *mut GtkMenuShell,
20967        model: *mut gio::GMenuModel,
20968        action_namespace: *const c_char,
20969        with_separators: gboolean,
20970    );
20971    pub fn gtk_menu_shell_cancel(menu_shell: *mut GtkMenuShell);
20972    pub fn gtk_menu_shell_deactivate(menu_shell: *mut GtkMenuShell);
20973    pub fn gtk_menu_shell_deselect(menu_shell: *mut GtkMenuShell);
20974    pub fn gtk_menu_shell_get_parent_shell(menu_shell: *mut GtkMenuShell) -> *mut GtkWidget;
20975    pub fn gtk_menu_shell_get_selected_item(menu_shell: *mut GtkMenuShell) -> *mut GtkWidget;
20976    pub fn gtk_menu_shell_get_take_focus(menu_shell: *mut GtkMenuShell) -> gboolean;
20977    pub fn gtk_menu_shell_insert(
20978        menu_shell: *mut GtkMenuShell,
20979        child: *mut GtkWidget,
20980        position: c_int,
20981    );
20982    pub fn gtk_menu_shell_prepend(menu_shell: *mut GtkMenuShell, child: *mut GtkWidget);
20983    pub fn gtk_menu_shell_select_first(menu_shell: *mut GtkMenuShell, search_sensitive: gboolean);
20984    pub fn gtk_menu_shell_select_item(menu_shell: *mut GtkMenuShell, menu_item: *mut GtkWidget);
20985    pub fn gtk_menu_shell_set_take_focus(menu_shell: *mut GtkMenuShell, take_focus: gboolean);
20986
20987    //=========================================================================
20988    // GtkMenuShellAccessible
20989    //=========================================================================
20990    pub fn gtk_menu_shell_accessible_get_type() -> GType;
20991
20992    //=========================================================================
20993    // GtkMenuToolButton
20994    //=========================================================================
20995    pub fn gtk_menu_tool_button_get_type() -> GType;
20996    pub fn gtk_menu_tool_button_new(
20997        icon_widget: *mut GtkWidget,
20998        label: *const c_char,
20999    ) -> *mut GtkToolItem;
21000    pub fn gtk_menu_tool_button_new_from_stock(stock_id: *const c_char) -> *mut GtkToolItem;
21001    pub fn gtk_menu_tool_button_get_menu(button: *mut GtkMenuToolButton) -> *mut GtkWidget;
21002    pub fn gtk_menu_tool_button_set_arrow_tooltip_markup(
21003        button: *mut GtkMenuToolButton,
21004        markup: *const c_char,
21005    );
21006    pub fn gtk_menu_tool_button_set_arrow_tooltip_text(
21007        button: *mut GtkMenuToolButton,
21008        text: *const c_char,
21009    );
21010    pub fn gtk_menu_tool_button_set_menu(button: *mut GtkMenuToolButton, menu: *mut GtkWidget);
21011
21012    //=========================================================================
21013    // GtkMessageDialog
21014    //=========================================================================
21015    pub fn gtk_message_dialog_get_type() -> GType;
21016    pub fn gtk_message_dialog_new(
21017        parent: *mut GtkWindow,
21018        flags: GtkDialogFlags,
21019        type_: GtkMessageType,
21020        buttons: GtkButtonsType,
21021        message_format: *const c_char,
21022        ...
21023    ) -> *mut GtkWidget;
21024    pub fn gtk_message_dialog_new_with_markup(
21025        parent: *mut GtkWindow,
21026        flags: GtkDialogFlags,
21027        type_: GtkMessageType,
21028        buttons: GtkButtonsType,
21029        message_format: *const c_char,
21030        ...
21031    ) -> *mut GtkWidget;
21032    pub fn gtk_message_dialog_format_secondary_markup(
21033        message_dialog: *mut GtkMessageDialog,
21034        message_format: *const c_char,
21035        ...
21036    );
21037    pub fn gtk_message_dialog_format_secondary_text(
21038        message_dialog: *mut GtkMessageDialog,
21039        message_format: *const c_char,
21040        ...
21041    );
21042    pub fn gtk_message_dialog_get_image(dialog: *mut GtkMessageDialog) -> *mut GtkWidget;
21043    pub fn gtk_message_dialog_get_message_area(
21044        message_dialog: *mut GtkMessageDialog,
21045    ) -> *mut GtkWidget;
21046    pub fn gtk_message_dialog_set_image(dialog: *mut GtkMessageDialog, image: *mut GtkWidget);
21047    pub fn gtk_message_dialog_set_markup(message_dialog: *mut GtkMessageDialog, str: *const c_char);
21048
21049    //=========================================================================
21050    // GtkMisc
21051    //=========================================================================
21052    pub fn gtk_misc_get_type() -> GType;
21053    pub fn gtk_misc_get_alignment(misc: *mut GtkMisc, xalign: *mut c_float, yalign: *mut c_float);
21054    pub fn gtk_misc_get_padding(misc: *mut GtkMisc, xpad: *mut c_int, ypad: *mut c_int);
21055    pub fn gtk_misc_set_alignment(misc: *mut GtkMisc, xalign: c_float, yalign: c_float);
21056    pub fn gtk_misc_set_padding(misc: *mut GtkMisc, xpad: c_int, ypad: c_int);
21057
21058    //=========================================================================
21059    // GtkModelButton
21060    //=========================================================================
21061    pub fn gtk_model_button_get_type() -> GType;
21062    #[cfg(any(feature = "v3_16", feature = "dox"))]
21063    pub fn gtk_model_button_new() -> *mut GtkWidget;
21064
21065    //=========================================================================
21066    // GtkMountOperation
21067    //=========================================================================
21068    pub fn gtk_mount_operation_get_type() -> GType;
21069    pub fn gtk_mount_operation_new(parent: *mut GtkWindow) -> *mut gio::GMountOperation;
21070    pub fn gtk_mount_operation_get_parent(op: *mut GtkMountOperation) -> *mut GtkWindow;
21071    pub fn gtk_mount_operation_get_screen(op: *mut GtkMountOperation) -> *mut gdk::GdkScreen;
21072    pub fn gtk_mount_operation_is_showing(op: *mut GtkMountOperation) -> gboolean;
21073    pub fn gtk_mount_operation_set_parent(op: *mut GtkMountOperation, parent: *mut GtkWindow);
21074    pub fn gtk_mount_operation_set_screen(op: *mut GtkMountOperation, screen: *mut gdk::GdkScreen);
21075
21076    //=========================================================================
21077    // GtkNativeDialog
21078    //=========================================================================
21079    pub fn gtk_native_dialog_get_type() -> GType;
21080    #[cfg(any(feature = "v3_20", feature = "dox"))]
21081    pub fn gtk_native_dialog_destroy(self_: *mut GtkNativeDialog);
21082    #[cfg(any(feature = "v3_20", feature = "dox"))]
21083    pub fn gtk_native_dialog_get_modal(self_: *mut GtkNativeDialog) -> gboolean;
21084    #[cfg(any(feature = "v3_20", feature = "dox"))]
21085    pub fn gtk_native_dialog_get_title(self_: *mut GtkNativeDialog) -> *const c_char;
21086    #[cfg(any(feature = "v3_20", feature = "dox"))]
21087    pub fn gtk_native_dialog_get_transient_for(self_: *mut GtkNativeDialog) -> *mut GtkWindow;
21088    #[cfg(any(feature = "v3_20", feature = "dox"))]
21089    pub fn gtk_native_dialog_get_visible(self_: *mut GtkNativeDialog) -> gboolean;
21090    #[cfg(any(feature = "v3_20", feature = "dox"))]
21091    pub fn gtk_native_dialog_hide(self_: *mut GtkNativeDialog);
21092    #[cfg(any(feature = "v3_20", feature = "dox"))]
21093    pub fn gtk_native_dialog_run(self_: *mut GtkNativeDialog) -> c_int;
21094    #[cfg(any(feature = "v3_20", feature = "dox"))]
21095    pub fn gtk_native_dialog_set_modal(self_: *mut GtkNativeDialog, modal: gboolean);
21096    #[cfg(any(feature = "v3_20", feature = "dox"))]
21097    pub fn gtk_native_dialog_set_title(self_: *mut GtkNativeDialog, title: *const c_char);
21098    #[cfg(any(feature = "v3_20", feature = "dox"))]
21099    pub fn gtk_native_dialog_set_transient_for(self_: *mut GtkNativeDialog, parent: *mut GtkWindow);
21100    #[cfg(any(feature = "v3_20", feature = "dox"))]
21101    pub fn gtk_native_dialog_show(self_: *mut GtkNativeDialog);
21102
21103    //=========================================================================
21104    // GtkNotebook
21105    //=========================================================================
21106    pub fn gtk_notebook_get_type() -> GType;
21107    pub fn gtk_notebook_new() -> *mut GtkWidget;
21108    pub fn gtk_notebook_append_page(
21109        notebook: *mut GtkNotebook,
21110        child: *mut GtkWidget,
21111        tab_label: *mut GtkWidget,
21112    ) -> c_int;
21113    pub fn gtk_notebook_append_page_menu(
21114        notebook: *mut GtkNotebook,
21115        child: *mut GtkWidget,
21116        tab_label: *mut GtkWidget,
21117        menu_label: *mut GtkWidget,
21118    ) -> c_int;
21119    #[cfg(any(feature = "v3_16", feature = "dox"))]
21120    pub fn gtk_notebook_detach_tab(notebook: *mut GtkNotebook, child: *mut GtkWidget);
21121    pub fn gtk_notebook_get_action_widget(
21122        notebook: *mut GtkNotebook,
21123        pack_type: GtkPackType,
21124    ) -> *mut GtkWidget;
21125    pub fn gtk_notebook_get_current_page(notebook: *mut GtkNotebook) -> c_int;
21126    pub fn gtk_notebook_get_group_name(notebook: *mut GtkNotebook) -> *const c_char;
21127    pub fn gtk_notebook_get_menu_label(
21128        notebook: *mut GtkNotebook,
21129        child: *mut GtkWidget,
21130    ) -> *mut GtkWidget;
21131    pub fn gtk_notebook_get_menu_label_text(
21132        notebook: *mut GtkNotebook,
21133        child: *mut GtkWidget,
21134    ) -> *const c_char;
21135    pub fn gtk_notebook_get_n_pages(notebook: *mut GtkNotebook) -> c_int;
21136    pub fn gtk_notebook_get_nth_page(notebook: *mut GtkNotebook, page_num: c_int)
21137        -> *mut GtkWidget;
21138    pub fn gtk_notebook_get_scrollable(notebook: *mut GtkNotebook) -> gboolean;
21139    pub fn gtk_notebook_get_show_border(notebook: *mut GtkNotebook) -> gboolean;
21140    pub fn gtk_notebook_get_show_tabs(notebook: *mut GtkNotebook) -> gboolean;
21141    pub fn gtk_notebook_get_tab_detachable(
21142        notebook: *mut GtkNotebook,
21143        child: *mut GtkWidget,
21144    ) -> gboolean;
21145    pub fn gtk_notebook_get_tab_hborder(notebook: *mut GtkNotebook) -> u16;
21146    pub fn gtk_notebook_get_tab_label(
21147        notebook: *mut GtkNotebook,
21148        child: *mut GtkWidget,
21149    ) -> *mut GtkWidget;
21150    pub fn gtk_notebook_get_tab_label_text(
21151        notebook: *mut GtkNotebook,
21152        child: *mut GtkWidget,
21153    ) -> *const c_char;
21154    pub fn gtk_notebook_get_tab_pos(notebook: *mut GtkNotebook) -> GtkPositionType;
21155    pub fn gtk_notebook_get_tab_reorderable(
21156        notebook: *mut GtkNotebook,
21157        child: *mut GtkWidget,
21158    ) -> gboolean;
21159    pub fn gtk_notebook_get_tab_vborder(notebook: *mut GtkNotebook) -> u16;
21160    pub fn gtk_notebook_insert_page(
21161        notebook: *mut GtkNotebook,
21162        child: *mut GtkWidget,
21163        tab_label: *mut GtkWidget,
21164        position: c_int,
21165    ) -> c_int;
21166    pub fn gtk_notebook_insert_page_menu(
21167        notebook: *mut GtkNotebook,
21168        child: *mut GtkWidget,
21169        tab_label: *mut GtkWidget,
21170        menu_label: *mut GtkWidget,
21171        position: c_int,
21172    ) -> c_int;
21173    pub fn gtk_notebook_next_page(notebook: *mut GtkNotebook);
21174    pub fn gtk_notebook_page_num(notebook: *mut GtkNotebook, child: *mut GtkWidget) -> c_int;
21175    pub fn gtk_notebook_popup_disable(notebook: *mut GtkNotebook);
21176    pub fn gtk_notebook_popup_enable(notebook: *mut GtkNotebook);
21177    pub fn gtk_notebook_prepend_page(
21178        notebook: *mut GtkNotebook,
21179        child: *mut GtkWidget,
21180        tab_label: *mut GtkWidget,
21181    ) -> c_int;
21182    pub fn gtk_notebook_prepend_page_menu(
21183        notebook: *mut GtkNotebook,
21184        child: *mut GtkWidget,
21185        tab_label: *mut GtkWidget,
21186        menu_label: *mut GtkWidget,
21187    ) -> c_int;
21188    pub fn gtk_notebook_prev_page(notebook: *mut GtkNotebook);
21189    pub fn gtk_notebook_remove_page(notebook: *mut GtkNotebook, page_num: c_int);
21190    pub fn gtk_notebook_reorder_child(
21191        notebook: *mut GtkNotebook,
21192        child: *mut GtkWidget,
21193        position: c_int,
21194    );
21195    pub fn gtk_notebook_set_action_widget(
21196        notebook: *mut GtkNotebook,
21197        widget: *mut GtkWidget,
21198        pack_type: GtkPackType,
21199    );
21200    pub fn gtk_notebook_set_current_page(notebook: *mut GtkNotebook, page_num: c_int);
21201    pub fn gtk_notebook_set_group_name(notebook: *mut GtkNotebook, group_name: *const c_char);
21202    pub fn gtk_notebook_set_menu_label(
21203        notebook: *mut GtkNotebook,
21204        child: *mut GtkWidget,
21205        menu_label: *mut GtkWidget,
21206    );
21207    pub fn gtk_notebook_set_menu_label_text(
21208        notebook: *mut GtkNotebook,
21209        child: *mut GtkWidget,
21210        menu_text: *const c_char,
21211    );
21212    pub fn gtk_notebook_set_scrollable(notebook: *mut GtkNotebook, scrollable: gboolean);
21213    pub fn gtk_notebook_set_show_border(notebook: *mut GtkNotebook, show_border: gboolean);
21214    pub fn gtk_notebook_set_show_tabs(notebook: *mut GtkNotebook, show_tabs: gboolean);
21215    pub fn gtk_notebook_set_tab_detachable(
21216        notebook: *mut GtkNotebook,
21217        child: *mut GtkWidget,
21218        detachable: gboolean,
21219    );
21220    pub fn gtk_notebook_set_tab_label(
21221        notebook: *mut GtkNotebook,
21222        child: *mut GtkWidget,
21223        tab_label: *mut GtkWidget,
21224    );
21225    pub fn gtk_notebook_set_tab_label_text(
21226        notebook: *mut GtkNotebook,
21227        child: *mut GtkWidget,
21228        tab_text: *const c_char,
21229    );
21230    pub fn gtk_notebook_set_tab_pos(notebook: *mut GtkNotebook, pos: GtkPositionType);
21231    pub fn gtk_notebook_set_tab_reorderable(
21232        notebook: *mut GtkNotebook,
21233        child: *mut GtkWidget,
21234        reorderable: gboolean,
21235    );
21236
21237    //=========================================================================
21238    // GtkNotebookAccessible
21239    //=========================================================================
21240    pub fn gtk_notebook_accessible_get_type() -> GType;
21241
21242    //=========================================================================
21243    // GtkNotebookPageAccessible
21244    //=========================================================================
21245    pub fn gtk_notebook_page_accessible_get_type() -> GType;
21246    pub fn gtk_notebook_page_accessible_new(
21247        notebook: *mut GtkNotebookAccessible,
21248        child: *mut GtkWidget,
21249    ) -> *mut atk::AtkObject;
21250    pub fn gtk_notebook_page_accessible_invalidate(page: *mut GtkNotebookPageAccessible);
21251
21252    //=========================================================================
21253    // GtkNumerableIcon
21254    //=========================================================================
21255    pub fn gtk_numerable_icon_get_type() -> GType;
21256    pub fn gtk_numerable_icon_new(base_icon: *mut gio::GIcon) -> *mut gio::GIcon;
21257    pub fn gtk_numerable_icon_new_with_style_context(
21258        base_icon: *mut gio::GIcon,
21259        context: *mut GtkStyleContext,
21260    ) -> *mut gio::GIcon;
21261    pub fn gtk_numerable_icon_get_background_gicon(self_: *mut GtkNumerableIcon)
21262        -> *mut gio::GIcon;
21263    pub fn gtk_numerable_icon_get_background_icon_name(
21264        self_: *mut GtkNumerableIcon,
21265    ) -> *const c_char;
21266    pub fn gtk_numerable_icon_get_count(self_: *mut GtkNumerableIcon) -> c_int;
21267    pub fn gtk_numerable_icon_get_label(self_: *mut GtkNumerableIcon) -> *const c_char;
21268    pub fn gtk_numerable_icon_get_style_context(
21269        self_: *mut GtkNumerableIcon,
21270    ) -> *mut GtkStyleContext;
21271    pub fn gtk_numerable_icon_set_background_gicon(
21272        self_: *mut GtkNumerableIcon,
21273        icon: *mut gio::GIcon,
21274    );
21275    pub fn gtk_numerable_icon_set_background_icon_name(
21276        self_: *mut GtkNumerableIcon,
21277        icon_name: *const c_char,
21278    );
21279    pub fn gtk_numerable_icon_set_count(self_: *mut GtkNumerableIcon, count: c_int);
21280    pub fn gtk_numerable_icon_set_label(self_: *mut GtkNumerableIcon, label: *const c_char);
21281    pub fn gtk_numerable_icon_set_style_context(
21282        self_: *mut GtkNumerableIcon,
21283        style: *mut GtkStyleContext,
21284    );
21285
21286    //=========================================================================
21287    // GtkOffscreenWindow
21288    //=========================================================================
21289    pub fn gtk_offscreen_window_get_type() -> GType;
21290    pub fn gtk_offscreen_window_new() -> *mut GtkWidget;
21291    pub fn gtk_offscreen_window_get_pixbuf(
21292        offscreen: *mut GtkOffscreenWindow,
21293    ) -> *mut gdk_pixbuf::GdkPixbuf;
21294    pub fn gtk_offscreen_window_get_surface(
21295        offscreen: *mut GtkOffscreenWindow,
21296    ) -> *mut cairo::cairo_surface_t;
21297
21298    //=========================================================================
21299    // GtkOverlay
21300    //=========================================================================
21301    pub fn gtk_overlay_get_type() -> GType;
21302    pub fn gtk_overlay_new() -> *mut GtkWidget;
21303    pub fn gtk_overlay_add_overlay(overlay: *mut GtkOverlay, widget: *mut GtkWidget);
21304    #[cfg(any(feature = "v3_18", feature = "dox"))]
21305    pub fn gtk_overlay_get_overlay_pass_through(
21306        overlay: *mut GtkOverlay,
21307        widget: *mut GtkWidget,
21308    ) -> gboolean;
21309    #[cfg(any(feature = "v3_18", feature = "dox"))]
21310    pub fn gtk_overlay_reorder_overlay(
21311        overlay: *mut GtkOverlay,
21312        child: *mut GtkWidget,
21313        position: c_int,
21314    );
21315    #[cfg(any(feature = "v3_18", feature = "dox"))]
21316    pub fn gtk_overlay_set_overlay_pass_through(
21317        overlay: *mut GtkOverlay,
21318        widget: *mut GtkWidget,
21319        pass_through: gboolean,
21320    );
21321
21322    //=========================================================================
21323    // GtkPadController
21324    //=========================================================================
21325    pub fn gtk_pad_controller_get_type() -> GType;
21326    #[cfg(any(feature = "v3_22", feature = "dox"))]
21327    pub fn gtk_pad_controller_new(
21328        window: *mut GtkWindow,
21329        group: *mut gio::GActionGroup,
21330        pad: *mut gdk::GdkDevice,
21331    ) -> *mut GtkPadController;
21332    #[cfg(any(feature = "v3_22", feature = "dox"))]
21333    pub fn gtk_pad_controller_set_action(
21334        controller: *mut GtkPadController,
21335        type_: GtkPadActionType,
21336        index: c_int,
21337        mode: c_int,
21338        label: *const c_char,
21339        action_name: *const c_char,
21340    );
21341    #[cfg(any(feature = "v3_22", feature = "dox"))]
21342    pub fn gtk_pad_controller_set_action_entries(
21343        controller: *mut GtkPadController,
21344        entries: *const GtkPadActionEntry,
21345        n_entries: c_int,
21346    );
21347
21348    //=========================================================================
21349    // GtkPageSetup
21350    //=========================================================================
21351    pub fn gtk_page_setup_get_type() -> GType;
21352    pub fn gtk_page_setup_new() -> *mut GtkPageSetup;
21353    pub fn gtk_page_setup_new_from_file(
21354        file_name: *const c_char,
21355        error: *mut *mut glib::GError,
21356    ) -> *mut GtkPageSetup;
21357    #[cfg(any(feature = "v3_22", feature = "dox"))]
21358    pub fn gtk_page_setup_new_from_gvariant(variant: *mut glib::GVariant) -> *mut GtkPageSetup;
21359    pub fn gtk_page_setup_new_from_key_file(
21360        key_file: *mut glib::GKeyFile,
21361        group_name: *const c_char,
21362        error: *mut *mut glib::GError,
21363    ) -> *mut GtkPageSetup;
21364    pub fn gtk_page_setup_copy(other: *mut GtkPageSetup) -> *mut GtkPageSetup;
21365    pub fn gtk_page_setup_get_bottom_margin(setup: *mut GtkPageSetup, unit: GtkUnit) -> c_double;
21366    pub fn gtk_page_setup_get_left_margin(setup: *mut GtkPageSetup, unit: GtkUnit) -> c_double;
21367    pub fn gtk_page_setup_get_orientation(setup: *mut GtkPageSetup) -> GtkPageOrientation;
21368    pub fn gtk_page_setup_get_page_height(setup: *mut GtkPageSetup, unit: GtkUnit) -> c_double;
21369    pub fn gtk_page_setup_get_page_width(setup: *mut GtkPageSetup, unit: GtkUnit) -> c_double;
21370    pub fn gtk_page_setup_get_paper_height(setup: *mut GtkPageSetup, unit: GtkUnit) -> c_double;
21371    pub fn gtk_page_setup_get_paper_size(setup: *mut GtkPageSetup) -> *mut GtkPaperSize;
21372    pub fn gtk_page_setup_get_paper_width(setup: *mut GtkPageSetup, unit: GtkUnit) -> c_double;
21373    pub fn gtk_page_setup_get_right_margin(setup: *mut GtkPageSetup, unit: GtkUnit) -> c_double;
21374    pub fn gtk_page_setup_get_top_margin(setup: *mut GtkPageSetup, unit: GtkUnit) -> c_double;
21375    pub fn gtk_page_setup_load_file(
21376        setup: *mut GtkPageSetup,
21377        file_name: *const c_char,
21378        error: *mut *mut glib::GError,
21379    ) -> gboolean;
21380    pub fn gtk_page_setup_load_key_file(
21381        setup: *mut GtkPageSetup,
21382        key_file: *mut glib::GKeyFile,
21383        group_name: *const c_char,
21384        error: *mut *mut glib::GError,
21385    ) -> gboolean;
21386    pub fn gtk_page_setup_set_bottom_margin(
21387        setup: *mut GtkPageSetup,
21388        margin: c_double,
21389        unit: GtkUnit,
21390    );
21391    pub fn gtk_page_setup_set_left_margin(
21392        setup: *mut GtkPageSetup,
21393        margin: c_double,
21394        unit: GtkUnit,
21395    );
21396    pub fn gtk_page_setup_set_orientation(
21397        setup: *mut GtkPageSetup,
21398        orientation: GtkPageOrientation,
21399    );
21400    pub fn gtk_page_setup_set_paper_size(setup: *mut GtkPageSetup, size: *mut GtkPaperSize);
21401    pub fn gtk_page_setup_set_paper_size_and_default_margins(
21402        setup: *mut GtkPageSetup,
21403        size: *mut GtkPaperSize,
21404    );
21405    pub fn gtk_page_setup_set_right_margin(
21406        setup: *mut GtkPageSetup,
21407        margin: c_double,
21408        unit: GtkUnit,
21409    );
21410    pub fn gtk_page_setup_set_top_margin(setup: *mut GtkPageSetup, margin: c_double, unit: GtkUnit);
21411    pub fn gtk_page_setup_to_file(
21412        setup: *mut GtkPageSetup,
21413        file_name: *const c_char,
21414        error: *mut *mut glib::GError,
21415    ) -> gboolean;
21416    #[cfg(any(feature = "v3_22", feature = "dox"))]
21417    pub fn gtk_page_setup_to_gvariant(setup: *mut GtkPageSetup) -> *mut glib::GVariant;
21418    pub fn gtk_page_setup_to_key_file(
21419        setup: *mut GtkPageSetup,
21420        key_file: *mut glib::GKeyFile,
21421        group_name: *const c_char,
21422    );
21423
21424    //=========================================================================
21425    // GtkPaned
21426    //=========================================================================
21427    pub fn gtk_paned_get_type() -> GType;
21428    pub fn gtk_paned_new(orientation: GtkOrientation) -> *mut GtkWidget;
21429    pub fn gtk_paned_add1(paned: *mut GtkPaned, child: *mut GtkWidget);
21430    pub fn gtk_paned_add2(paned: *mut GtkPaned, child: *mut GtkWidget);
21431    pub fn gtk_paned_get_child1(paned: *mut GtkPaned) -> *mut GtkWidget;
21432    pub fn gtk_paned_get_child2(paned: *mut GtkPaned) -> *mut GtkWidget;
21433    pub fn gtk_paned_get_handle_window(paned: *mut GtkPaned) -> *mut gdk::GdkWindow;
21434    pub fn gtk_paned_get_position(paned: *mut GtkPaned) -> c_int;
21435    #[cfg(any(feature = "v3_16", feature = "dox"))]
21436    pub fn gtk_paned_get_wide_handle(paned: *mut GtkPaned) -> gboolean;
21437    pub fn gtk_paned_pack1(
21438        paned: *mut GtkPaned,
21439        child: *mut GtkWidget,
21440        resize: gboolean,
21441        shrink: gboolean,
21442    );
21443    pub fn gtk_paned_pack2(
21444        paned: *mut GtkPaned,
21445        child: *mut GtkWidget,
21446        resize: gboolean,
21447        shrink: gboolean,
21448    );
21449    pub fn gtk_paned_set_position(paned: *mut GtkPaned, position: c_int);
21450    #[cfg(any(feature = "v3_16", feature = "dox"))]
21451    pub fn gtk_paned_set_wide_handle(paned: *mut GtkPaned, wide: gboolean);
21452
21453    //=========================================================================
21454    // GtkPanedAccessible
21455    //=========================================================================
21456    pub fn gtk_paned_accessible_get_type() -> GType;
21457
21458    //=========================================================================
21459    // GtkPlacesSidebar
21460    //=========================================================================
21461    pub fn gtk_places_sidebar_get_type() -> GType;
21462    pub fn gtk_places_sidebar_new() -> *mut GtkWidget;
21463    pub fn gtk_places_sidebar_add_shortcut(
21464        sidebar: *mut GtkPlacesSidebar,
21465        location: *mut gio::GFile,
21466    );
21467    pub fn gtk_places_sidebar_get_local_only(sidebar: *mut GtkPlacesSidebar) -> gboolean;
21468    pub fn gtk_places_sidebar_get_location(sidebar: *mut GtkPlacesSidebar) -> *mut gio::GFile;
21469    pub fn gtk_places_sidebar_get_nth_bookmark(
21470        sidebar: *mut GtkPlacesSidebar,
21471        n: c_int,
21472    ) -> *mut gio::GFile;
21473    pub fn gtk_places_sidebar_get_open_flags(sidebar: *mut GtkPlacesSidebar) -> GtkPlacesOpenFlags;
21474    pub fn gtk_places_sidebar_get_show_connect_to_server(
21475        sidebar: *mut GtkPlacesSidebar,
21476    ) -> gboolean;
21477    pub fn gtk_places_sidebar_get_show_desktop(sidebar: *mut GtkPlacesSidebar) -> gboolean;
21478    pub fn gtk_places_sidebar_get_show_enter_location(sidebar: *mut GtkPlacesSidebar) -> gboolean;
21479    #[cfg(any(feature = "v3_18", feature = "dox"))]
21480    pub fn gtk_places_sidebar_get_show_other_locations(sidebar: *mut GtkPlacesSidebar) -> gboolean;
21481    #[cfg(any(feature = "v3_18", feature = "dox"))]
21482    pub fn gtk_places_sidebar_get_show_recent(sidebar: *mut GtkPlacesSidebar) -> gboolean;
21483    #[cfg(any(feature = "v3_22_26", feature = "dox"))]
21484    pub fn gtk_places_sidebar_get_show_starred_location(sidebar: *mut GtkPlacesSidebar)
21485        -> gboolean;
21486    #[cfg(any(feature = "v3_18", feature = "dox"))]
21487    pub fn gtk_places_sidebar_get_show_trash(sidebar: *mut GtkPlacesSidebar) -> gboolean;
21488    pub fn gtk_places_sidebar_list_shortcuts(sidebar: *mut GtkPlacesSidebar) -> *mut glib::GSList;
21489    pub fn gtk_places_sidebar_remove_shortcut(
21490        sidebar: *mut GtkPlacesSidebar,
21491        location: *mut gio::GFile,
21492    );
21493    #[cfg(any(feature = "v3_18", feature = "dox"))]
21494    pub fn gtk_places_sidebar_set_drop_targets_visible(
21495        sidebar: *mut GtkPlacesSidebar,
21496        visible: gboolean,
21497        context: *mut gdk::GdkDragContext,
21498    );
21499    pub fn gtk_places_sidebar_set_local_only(sidebar: *mut GtkPlacesSidebar, local_only: gboolean);
21500    pub fn gtk_places_sidebar_set_location(
21501        sidebar: *mut GtkPlacesSidebar,
21502        location: *mut gio::GFile,
21503    );
21504    pub fn gtk_places_sidebar_set_open_flags(
21505        sidebar: *mut GtkPlacesSidebar,
21506        flags: GtkPlacesOpenFlags,
21507    );
21508    pub fn gtk_places_sidebar_set_show_connect_to_server(
21509        sidebar: *mut GtkPlacesSidebar,
21510        show_connect_to_server: gboolean,
21511    );
21512    pub fn gtk_places_sidebar_set_show_desktop(
21513        sidebar: *mut GtkPlacesSidebar,
21514        show_desktop: gboolean,
21515    );
21516    pub fn gtk_places_sidebar_set_show_enter_location(
21517        sidebar: *mut GtkPlacesSidebar,
21518        show_enter_location: gboolean,
21519    );
21520    #[cfg(any(feature = "v3_18", feature = "dox"))]
21521    pub fn gtk_places_sidebar_set_show_other_locations(
21522        sidebar: *mut GtkPlacesSidebar,
21523        show_other_locations: gboolean,
21524    );
21525    #[cfg(any(feature = "v3_18", feature = "dox"))]
21526    pub fn gtk_places_sidebar_set_show_recent(
21527        sidebar: *mut GtkPlacesSidebar,
21528        show_recent: gboolean,
21529    );
21530    #[cfg(any(feature = "v3_22_26", feature = "dox"))]
21531    pub fn gtk_places_sidebar_set_show_starred_location(
21532        sidebar: *mut GtkPlacesSidebar,
21533        show_starred_location: gboolean,
21534    );
21535    #[cfg(any(feature = "v3_18", feature = "dox"))]
21536    pub fn gtk_places_sidebar_set_show_trash(sidebar: *mut GtkPlacesSidebar, show_trash: gboolean);
21537
21538    //=========================================================================
21539    // GtkPlug
21540    //=========================================================================
21541    pub fn gtk_plug_get_type() -> GType;
21542    pub fn gtk_plug_new(socket_id: xlib::Window) -> *mut GtkWidget;
21543    pub fn gtk_plug_new_for_display(
21544        display: *mut gdk::GdkDisplay,
21545        socket_id: xlib::Window,
21546    ) -> *mut GtkWidget;
21547    pub fn gtk_plug_construct(plug: *mut GtkPlug, socket_id: xlib::Window);
21548    pub fn gtk_plug_construct_for_display(
21549        plug: *mut GtkPlug,
21550        display: *mut gdk::GdkDisplay,
21551        socket_id: xlib::Window,
21552    );
21553    pub fn gtk_plug_get_embedded(plug: *mut GtkPlug) -> gboolean;
21554    pub fn gtk_plug_get_id(plug: *mut GtkPlug) -> xlib::Window;
21555    pub fn gtk_plug_get_socket_window(plug: *mut GtkPlug) -> *mut gdk::GdkWindow;
21556
21557    //=========================================================================
21558    // GtkPopover
21559    //=========================================================================
21560    pub fn gtk_popover_get_type() -> GType;
21561    pub fn gtk_popover_new(relative_to: *mut GtkWidget) -> *mut GtkWidget;
21562    pub fn gtk_popover_new_from_model(
21563        relative_to: *mut GtkWidget,
21564        model: *mut gio::GMenuModel,
21565    ) -> *mut GtkWidget;
21566    pub fn gtk_popover_bind_model(
21567        popover: *mut GtkPopover,
21568        model: *mut gio::GMenuModel,
21569        action_namespace: *const c_char,
21570    );
21571    #[cfg(any(feature = "v3_20", feature = "dox"))]
21572    pub fn gtk_popover_get_constrain_to(popover: *mut GtkPopover) -> GtkPopoverConstraint;
21573    #[cfg(any(feature = "v3_18", feature = "dox"))]
21574    pub fn gtk_popover_get_default_widget(popover: *mut GtkPopover) -> *mut GtkWidget;
21575    pub fn gtk_popover_get_modal(popover: *mut GtkPopover) -> gboolean;
21576    pub fn gtk_popover_get_pointing_to(
21577        popover: *mut GtkPopover,
21578        rect: *mut gdk::GdkRectangle,
21579    ) -> gboolean;
21580    pub fn gtk_popover_get_position(popover: *mut GtkPopover) -> GtkPositionType;
21581    pub fn gtk_popover_get_relative_to(popover: *mut GtkPopover) -> *mut GtkWidget;
21582    #[cfg(any(feature = "v3_16", feature = "dox"))]
21583    pub fn gtk_popover_get_transitions_enabled(popover: *mut GtkPopover) -> gboolean;
21584    #[cfg(any(feature = "v3_22", feature = "dox"))]
21585    pub fn gtk_popover_popdown(popover: *mut GtkPopover);
21586    #[cfg(any(feature = "v3_22", feature = "dox"))]
21587    pub fn gtk_popover_popup(popover: *mut GtkPopover);
21588    #[cfg(any(feature = "v3_20", feature = "dox"))]
21589    pub fn gtk_popover_set_constrain_to(popover: *mut GtkPopover, constraint: GtkPopoverConstraint);
21590    #[cfg(any(feature = "v3_18", feature = "dox"))]
21591    pub fn gtk_popover_set_default_widget(popover: *mut GtkPopover, widget: *mut GtkWidget);
21592    pub fn gtk_popover_set_modal(popover: *mut GtkPopover, modal: gboolean);
21593    pub fn gtk_popover_set_pointing_to(popover: *mut GtkPopover, rect: *const gdk::GdkRectangle);
21594    pub fn gtk_popover_set_position(popover: *mut GtkPopover, position: GtkPositionType);
21595    pub fn gtk_popover_set_relative_to(popover: *mut GtkPopover, relative_to: *mut GtkWidget);
21596    #[cfg(any(feature = "v3_16", feature = "dox"))]
21597    pub fn gtk_popover_set_transitions_enabled(
21598        popover: *mut GtkPopover,
21599        transitions_enabled: gboolean,
21600    );
21601
21602    //=========================================================================
21603    // GtkPopoverAccessible
21604    //=========================================================================
21605    pub fn gtk_popover_accessible_get_type() -> GType;
21606
21607    //=========================================================================
21608    // GtkPopoverMenu
21609    //=========================================================================
21610    pub fn gtk_popover_menu_get_type() -> GType;
21611    #[cfg(any(feature = "v3_16", feature = "dox"))]
21612    pub fn gtk_popover_menu_new() -> *mut GtkWidget;
21613    #[cfg(any(feature = "v3_16", feature = "dox"))]
21614    pub fn gtk_popover_menu_open_submenu(popover: *mut GtkPopoverMenu, name: *const c_char);
21615
21616    //=========================================================================
21617    // GtkPrintContext
21618    //=========================================================================
21619    pub fn gtk_print_context_get_type() -> GType;
21620    pub fn gtk_print_context_create_pango_context(
21621        context: *mut GtkPrintContext,
21622    ) -> *mut pango::PangoContext;
21623    pub fn gtk_print_context_create_pango_layout(
21624        context: *mut GtkPrintContext,
21625    ) -> *mut pango::PangoLayout;
21626    pub fn gtk_print_context_get_cairo_context(
21627        context: *mut GtkPrintContext,
21628    ) -> *mut cairo::cairo_t;
21629    pub fn gtk_print_context_get_dpi_x(context: *mut GtkPrintContext) -> c_double;
21630    pub fn gtk_print_context_get_dpi_y(context: *mut GtkPrintContext) -> c_double;
21631    pub fn gtk_print_context_get_hard_margins(
21632        context: *mut GtkPrintContext,
21633        top: *mut c_double,
21634        bottom: *mut c_double,
21635        left: *mut c_double,
21636        right: *mut c_double,
21637    ) -> gboolean;
21638    pub fn gtk_print_context_get_height(context: *mut GtkPrintContext) -> c_double;
21639    pub fn gtk_print_context_get_page_setup(context: *mut GtkPrintContext) -> *mut GtkPageSetup;
21640    pub fn gtk_print_context_get_pango_fontmap(
21641        context: *mut GtkPrintContext,
21642    ) -> *mut pango::PangoFontMap;
21643    pub fn gtk_print_context_get_width(context: *mut GtkPrintContext) -> c_double;
21644    pub fn gtk_print_context_set_cairo_context(
21645        context: *mut GtkPrintContext,
21646        cr: *mut cairo::cairo_t,
21647        dpi_x: c_double,
21648        dpi_y: c_double,
21649    );
21650
21651    //=========================================================================
21652    // GtkPrintOperation
21653    //=========================================================================
21654    pub fn gtk_print_operation_get_type() -> GType;
21655    pub fn gtk_print_operation_new() -> *mut GtkPrintOperation;
21656    pub fn gtk_print_operation_cancel(op: *mut GtkPrintOperation);
21657    pub fn gtk_print_operation_draw_page_finish(op: *mut GtkPrintOperation);
21658    pub fn gtk_print_operation_get_default_page_setup(
21659        op: *mut GtkPrintOperation,
21660    ) -> *mut GtkPageSetup;
21661    pub fn gtk_print_operation_get_embed_page_setup(op: *mut GtkPrintOperation) -> gboolean;
21662    pub fn gtk_print_operation_get_error(op: *mut GtkPrintOperation, error: *mut *mut glib::GError);
21663    pub fn gtk_print_operation_get_has_selection(op: *mut GtkPrintOperation) -> gboolean;
21664    pub fn gtk_print_operation_get_n_pages_to_print(op: *mut GtkPrintOperation) -> c_int;
21665    pub fn gtk_print_operation_get_print_settings(
21666        op: *mut GtkPrintOperation,
21667    ) -> *mut GtkPrintSettings;
21668    pub fn gtk_print_operation_get_status(op: *mut GtkPrintOperation) -> GtkPrintStatus;
21669    pub fn gtk_print_operation_get_status_string(op: *mut GtkPrintOperation) -> *const c_char;
21670    pub fn gtk_print_operation_get_support_selection(op: *mut GtkPrintOperation) -> gboolean;
21671    pub fn gtk_print_operation_is_finished(op: *mut GtkPrintOperation) -> gboolean;
21672    pub fn gtk_print_operation_run(
21673        op: *mut GtkPrintOperation,
21674        action: GtkPrintOperationAction,
21675        parent: *mut GtkWindow,
21676        error: *mut *mut glib::GError,
21677    ) -> GtkPrintOperationResult;
21678    pub fn gtk_print_operation_set_allow_async(op: *mut GtkPrintOperation, allow_async: gboolean);
21679    pub fn gtk_print_operation_set_current_page(op: *mut GtkPrintOperation, current_page: c_int);
21680    pub fn gtk_print_operation_set_custom_tab_label(
21681        op: *mut GtkPrintOperation,
21682        label: *const c_char,
21683    );
21684    pub fn gtk_print_operation_set_default_page_setup(
21685        op: *mut GtkPrintOperation,
21686        default_page_setup: *mut GtkPageSetup,
21687    );
21688    pub fn gtk_print_operation_set_defer_drawing(op: *mut GtkPrintOperation);
21689    pub fn gtk_print_operation_set_embed_page_setup(op: *mut GtkPrintOperation, embed: gboolean);
21690    pub fn gtk_print_operation_set_export_filename(
21691        op: *mut GtkPrintOperation,
21692        filename: *const c_char,
21693    );
21694    pub fn gtk_print_operation_set_has_selection(
21695        op: *mut GtkPrintOperation,
21696        has_selection: gboolean,
21697    );
21698    pub fn gtk_print_operation_set_job_name(op: *mut GtkPrintOperation, job_name: *const c_char);
21699    pub fn gtk_print_operation_set_n_pages(op: *mut GtkPrintOperation, n_pages: c_int);
21700    pub fn gtk_print_operation_set_print_settings(
21701        op: *mut GtkPrintOperation,
21702        print_settings: *mut GtkPrintSettings,
21703    );
21704    pub fn gtk_print_operation_set_show_progress(
21705        op: *mut GtkPrintOperation,
21706        show_progress: gboolean,
21707    );
21708    pub fn gtk_print_operation_set_support_selection(
21709        op: *mut GtkPrintOperation,
21710        support_selection: gboolean,
21711    );
21712    pub fn gtk_print_operation_set_track_print_status(
21713        op: *mut GtkPrintOperation,
21714        track_status: gboolean,
21715    );
21716    pub fn gtk_print_operation_set_unit(op: *mut GtkPrintOperation, unit: GtkUnit);
21717    pub fn gtk_print_operation_set_use_full_page(op: *mut GtkPrintOperation, full_page: gboolean);
21718
21719    //=========================================================================
21720    // GtkPrintSettings
21721    //=========================================================================
21722    pub fn gtk_print_settings_get_type() -> GType;
21723    pub fn gtk_print_settings_new() -> *mut GtkPrintSettings;
21724    pub fn gtk_print_settings_new_from_file(
21725        file_name: *const c_char,
21726        error: *mut *mut glib::GError,
21727    ) -> *mut GtkPrintSettings;
21728    #[cfg(any(feature = "v3_22", feature = "dox"))]
21729    pub fn gtk_print_settings_new_from_gvariant(
21730        variant: *mut glib::GVariant,
21731    ) -> *mut GtkPrintSettings;
21732    pub fn gtk_print_settings_new_from_key_file(
21733        key_file: *mut glib::GKeyFile,
21734        group_name: *const c_char,
21735        error: *mut *mut glib::GError,
21736    ) -> *mut GtkPrintSettings;
21737    pub fn gtk_print_settings_copy(other: *mut GtkPrintSettings) -> *mut GtkPrintSettings;
21738    pub fn gtk_print_settings_foreach(
21739        settings: *mut GtkPrintSettings,
21740        func: GtkPrintSettingsFunc,
21741        user_data: gpointer,
21742    );
21743    pub fn gtk_print_settings_get(
21744        settings: *mut GtkPrintSettings,
21745        key: *const c_char,
21746    ) -> *const c_char;
21747    pub fn gtk_print_settings_get_bool(
21748        settings: *mut GtkPrintSettings,
21749        key: *const c_char,
21750    ) -> gboolean;
21751    pub fn gtk_print_settings_get_collate(settings: *mut GtkPrintSettings) -> gboolean;
21752    pub fn gtk_print_settings_get_default_source(settings: *mut GtkPrintSettings) -> *const c_char;
21753    pub fn gtk_print_settings_get_dither(settings: *mut GtkPrintSettings) -> *const c_char;
21754    pub fn gtk_print_settings_get_double(
21755        settings: *mut GtkPrintSettings,
21756        key: *const c_char,
21757    ) -> c_double;
21758    pub fn gtk_print_settings_get_double_with_default(
21759        settings: *mut GtkPrintSettings,
21760        key: *const c_char,
21761        def: c_double,
21762    ) -> c_double;
21763    pub fn gtk_print_settings_get_duplex(settings: *mut GtkPrintSettings) -> GtkPrintDuplex;
21764    pub fn gtk_print_settings_get_finishings(settings: *mut GtkPrintSettings) -> *const c_char;
21765    pub fn gtk_print_settings_get_int(settings: *mut GtkPrintSettings, key: *const c_char)
21766        -> c_int;
21767    pub fn gtk_print_settings_get_int_with_default(
21768        settings: *mut GtkPrintSettings,
21769        key: *const c_char,
21770        def: c_int,
21771    ) -> c_int;
21772    pub fn gtk_print_settings_get_length(
21773        settings: *mut GtkPrintSettings,
21774        key: *const c_char,
21775        unit: GtkUnit,
21776    ) -> c_double;
21777    pub fn gtk_print_settings_get_media_type(settings: *mut GtkPrintSettings) -> *const c_char;
21778    pub fn gtk_print_settings_get_n_copies(settings: *mut GtkPrintSettings) -> c_int;
21779    pub fn gtk_print_settings_get_number_up(settings: *mut GtkPrintSettings) -> c_int;
21780    pub fn gtk_print_settings_get_number_up_layout(
21781        settings: *mut GtkPrintSettings,
21782    ) -> GtkNumberUpLayout;
21783    pub fn gtk_print_settings_get_orientation(
21784        settings: *mut GtkPrintSettings,
21785    ) -> GtkPageOrientation;
21786    pub fn gtk_print_settings_get_output_bin(settings: *mut GtkPrintSettings) -> *const c_char;
21787    pub fn gtk_print_settings_get_page_ranges(
21788        settings: *mut GtkPrintSettings,
21789        num_ranges: *mut c_int,
21790    ) -> *mut GtkPageRange;
21791    pub fn gtk_print_settings_get_page_set(settings: *mut GtkPrintSettings) -> GtkPageSet;
21792    pub fn gtk_print_settings_get_paper_height(
21793        settings: *mut GtkPrintSettings,
21794        unit: GtkUnit,
21795    ) -> c_double;
21796    pub fn gtk_print_settings_get_paper_size(settings: *mut GtkPrintSettings) -> *mut GtkPaperSize;
21797    pub fn gtk_print_settings_get_paper_width(
21798        settings: *mut GtkPrintSettings,
21799        unit: GtkUnit,
21800    ) -> c_double;
21801    pub fn gtk_print_settings_get_print_pages(settings: *mut GtkPrintSettings) -> GtkPrintPages;
21802    pub fn gtk_print_settings_get_printer(settings: *mut GtkPrintSettings) -> *const c_char;
21803    pub fn gtk_print_settings_get_printer_lpi(settings: *mut GtkPrintSettings) -> c_double;
21804    pub fn gtk_print_settings_get_quality(settings: *mut GtkPrintSettings) -> GtkPrintQuality;
21805    pub fn gtk_print_settings_get_resolution(settings: *mut GtkPrintSettings) -> c_int;
21806    pub fn gtk_print_settings_get_resolution_x(settings: *mut GtkPrintSettings) -> c_int;
21807    pub fn gtk_print_settings_get_resolution_y(settings: *mut GtkPrintSettings) -> c_int;
21808    pub fn gtk_print_settings_get_reverse(settings: *mut GtkPrintSettings) -> gboolean;
21809    pub fn gtk_print_settings_get_scale(settings: *mut GtkPrintSettings) -> c_double;
21810    pub fn gtk_print_settings_get_use_color(settings: *mut GtkPrintSettings) -> gboolean;
21811    pub fn gtk_print_settings_has_key(
21812        settings: *mut GtkPrintSettings,
21813        key: *const c_char,
21814    ) -> gboolean;
21815    pub fn gtk_print_settings_load_file(
21816        settings: *mut GtkPrintSettings,
21817        file_name: *const c_char,
21818        error: *mut *mut glib::GError,
21819    ) -> gboolean;
21820    pub fn gtk_print_settings_load_key_file(
21821        settings: *mut GtkPrintSettings,
21822        key_file: *mut glib::GKeyFile,
21823        group_name: *const c_char,
21824        error: *mut *mut glib::GError,
21825    ) -> gboolean;
21826    pub fn gtk_print_settings_set(
21827        settings: *mut GtkPrintSettings,
21828        key: *const c_char,
21829        value: *const c_char,
21830    );
21831    pub fn gtk_print_settings_set_bool(
21832        settings: *mut GtkPrintSettings,
21833        key: *const c_char,
21834        value: gboolean,
21835    );
21836    pub fn gtk_print_settings_set_collate(settings: *mut GtkPrintSettings, collate: gboolean);
21837    pub fn gtk_print_settings_set_default_source(
21838        settings: *mut GtkPrintSettings,
21839        default_source: *const c_char,
21840    );
21841    pub fn gtk_print_settings_set_dither(settings: *mut GtkPrintSettings, dither: *const c_char);
21842    pub fn gtk_print_settings_set_double(
21843        settings: *mut GtkPrintSettings,
21844        key: *const c_char,
21845        value: c_double,
21846    );
21847    pub fn gtk_print_settings_set_duplex(settings: *mut GtkPrintSettings, duplex: GtkPrintDuplex);
21848    pub fn gtk_print_settings_set_finishings(
21849        settings: *mut GtkPrintSettings,
21850        finishings: *const c_char,
21851    );
21852    pub fn gtk_print_settings_set_int(
21853        settings: *mut GtkPrintSettings,
21854        key: *const c_char,
21855        value: c_int,
21856    );
21857    pub fn gtk_print_settings_set_length(
21858        settings: *mut GtkPrintSettings,
21859        key: *const c_char,
21860        value: c_double,
21861        unit: GtkUnit,
21862    );
21863    pub fn gtk_print_settings_set_media_type(
21864        settings: *mut GtkPrintSettings,
21865        media_type: *const c_char,
21866    );
21867    pub fn gtk_print_settings_set_n_copies(settings: *mut GtkPrintSettings, num_copies: c_int);
21868    pub fn gtk_print_settings_set_number_up(settings: *mut GtkPrintSettings, number_up: c_int);
21869    pub fn gtk_print_settings_set_number_up_layout(
21870        settings: *mut GtkPrintSettings,
21871        number_up_layout: GtkNumberUpLayout,
21872    );
21873    pub fn gtk_print_settings_set_orientation(
21874        settings: *mut GtkPrintSettings,
21875        orientation: GtkPageOrientation,
21876    );
21877    pub fn gtk_print_settings_set_output_bin(
21878        settings: *mut GtkPrintSettings,
21879        output_bin: *const c_char,
21880    );
21881    pub fn gtk_print_settings_set_page_ranges(
21882        settings: *mut GtkPrintSettings,
21883        page_ranges: *mut GtkPageRange,
21884        num_ranges: c_int,
21885    );
21886    pub fn gtk_print_settings_set_page_set(settings: *mut GtkPrintSettings, page_set: GtkPageSet);
21887    pub fn gtk_print_settings_set_paper_height(
21888        settings: *mut GtkPrintSettings,
21889        height: c_double,
21890        unit: GtkUnit,
21891    );
21892    pub fn gtk_print_settings_set_paper_size(
21893        settings: *mut GtkPrintSettings,
21894        paper_size: *mut GtkPaperSize,
21895    );
21896    pub fn gtk_print_settings_set_paper_width(
21897        settings: *mut GtkPrintSettings,
21898        width: c_double,
21899        unit: GtkUnit,
21900    );
21901    pub fn gtk_print_settings_set_print_pages(
21902        settings: *mut GtkPrintSettings,
21903        pages: GtkPrintPages,
21904    );
21905    pub fn gtk_print_settings_set_printer(settings: *mut GtkPrintSettings, printer: *const c_char);
21906    pub fn gtk_print_settings_set_printer_lpi(settings: *mut GtkPrintSettings, lpi: c_double);
21907    pub fn gtk_print_settings_set_quality(
21908        settings: *mut GtkPrintSettings,
21909        quality: GtkPrintQuality,
21910    );
21911    pub fn gtk_print_settings_set_resolution(settings: *mut GtkPrintSettings, resolution: c_int);
21912    pub fn gtk_print_settings_set_resolution_xy(
21913        settings: *mut GtkPrintSettings,
21914        resolution_x: c_int,
21915        resolution_y: c_int,
21916    );
21917    pub fn gtk_print_settings_set_reverse(settings: *mut GtkPrintSettings, reverse: gboolean);
21918    pub fn gtk_print_settings_set_scale(settings: *mut GtkPrintSettings, scale: c_double);
21919    pub fn gtk_print_settings_set_use_color(settings: *mut GtkPrintSettings, use_color: gboolean);
21920    pub fn gtk_print_settings_to_file(
21921        settings: *mut GtkPrintSettings,
21922        file_name: *const c_char,
21923        error: *mut *mut glib::GError,
21924    ) -> gboolean;
21925    #[cfg(any(feature = "v3_22", feature = "dox"))]
21926    pub fn gtk_print_settings_to_gvariant(settings: *mut GtkPrintSettings) -> *mut glib::GVariant;
21927    pub fn gtk_print_settings_to_key_file(
21928        settings: *mut GtkPrintSettings,
21929        key_file: *mut glib::GKeyFile,
21930        group_name: *const c_char,
21931    );
21932    pub fn gtk_print_settings_unset(settings: *mut GtkPrintSettings, key: *const c_char);
21933
21934    //=========================================================================
21935    // GtkProgressBar
21936    //=========================================================================
21937    pub fn gtk_progress_bar_get_type() -> GType;
21938    pub fn gtk_progress_bar_new() -> *mut GtkWidget;
21939    pub fn gtk_progress_bar_get_ellipsize(pbar: *mut GtkProgressBar) -> pango::PangoEllipsizeMode;
21940    pub fn gtk_progress_bar_get_fraction(pbar: *mut GtkProgressBar) -> c_double;
21941    pub fn gtk_progress_bar_get_inverted(pbar: *mut GtkProgressBar) -> gboolean;
21942    pub fn gtk_progress_bar_get_pulse_step(pbar: *mut GtkProgressBar) -> c_double;
21943    pub fn gtk_progress_bar_get_show_text(pbar: *mut GtkProgressBar) -> gboolean;
21944    pub fn gtk_progress_bar_get_text(pbar: *mut GtkProgressBar) -> *const c_char;
21945    pub fn gtk_progress_bar_pulse(pbar: *mut GtkProgressBar);
21946    pub fn gtk_progress_bar_set_ellipsize(
21947        pbar: *mut GtkProgressBar,
21948        mode: pango::PangoEllipsizeMode,
21949    );
21950    pub fn gtk_progress_bar_set_fraction(pbar: *mut GtkProgressBar, fraction: c_double);
21951    pub fn gtk_progress_bar_set_inverted(pbar: *mut GtkProgressBar, inverted: gboolean);
21952    pub fn gtk_progress_bar_set_pulse_step(pbar: *mut GtkProgressBar, fraction: c_double);
21953    pub fn gtk_progress_bar_set_show_text(pbar: *mut GtkProgressBar, show_text: gboolean);
21954    pub fn gtk_progress_bar_set_text(pbar: *mut GtkProgressBar, text: *const c_char);
21955
21956    //=========================================================================
21957    // GtkProgressBarAccessible
21958    //=========================================================================
21959    pub fn gtk_progress_bar_accessible_get_type() -> GType;
21960
21961    //=========================================================================
21962    // GtkRadioAction
21963    //=========================================================================
21964    pub fn gtk_radio_action_get_type() -> GType;
21965    pub fn gtk_radio_action_new(
21966        name: *const c_char,
21967        label: *const c_char,
21968        tooltip: *const c_char,
21969        stock_id: *const c_char,
21970        value: c_int,
21971    ) -> *mut GtkRadioAction;
21972    pub fn gtk_radio_action_get_current_value(action: *mut GtkRadioAction) -> c_int;
21973    pub fn gtk_radio_action_get_group(action: *mut GtkRadioAction) -> *mut glib::GSList;
21974    pub fn gtk_radio_action_join_group(
21975        action: *mut GtkRadioAction,
21976        group_source: *mut GtkRadioAction,
21977    );
21978    pub fn gtk_radio_action_set_current_value(action: *mut GtkRadioAction, current_value: c_int);
21979    pub fn gtk_radio_action_set_group(action: *mut GtkRadioAction, group: *mut glib::GSList);
21980
21981    //=========================================================================
21982    // GtkRadioButton
21983    //=========================================================================
21984    pub fn gtk_radio_button_get_type() -> GType;
21985    pub fn gtk_radio_button_new(group: *mut glib::GSList) -> *mut GtkWidget;
21986    pub fn gtk_radio_button_new_from_widget(
21987        radio_group_member: *mut GtkRadioButton,
21988    ) -> *mut GtkWidget;
21989    pub fn gtk_radio_button_new_with_label(
21990        group: *mut glib::GSList,
21991        label: *const c_char,
21992    ) -> *mut GtkWidget;
21993    pub fn gtk_radio_button_new_with_label_from_widget(
21994        radio_group_member: *mut GtkRadioButton,
21995        label: *const c_char,
21996    ) -> *mut GtkWidget;
21997    pub fn gtk_radio_button_new_with_mnemonic(
21998        group: *mut glib::GSList,
21999        label: *const c_char,
22000    ) -> *mut GtkWidget;
22001    pub fn gtk_radio_button_new_with_mnemonic_from_widget(
22002        radio_group_member: *mut GtkRadioButton,
22003        label: *const c_char,
22004    ) -> *mut GtkWidget;
22005    pub fn gtk_radio_button_get_group(radio_button: *mut GtkRadioButton) -> *mut glib::GSList;
22006    pub fn gtk_radio_button_join_group(
22007        radio_button: *mut GtkRadioButton,
22008        group_source: *mut GtkRadioButton,
22009    );
22010    pub fn gtk_radio_button_set_group(radio_button: *mut GtkRadioButton, group: *mut glib::GSList);
22011
22012    //=========================================================================
22013    // GtkRadioButtonAccessible
22014    //=========================================================================
22015    pub fn gtk_radio_button_accessible_get_type() -> GType;
22016
22017    //=========================================================================
22018    // GtkRadioMenuItem
22019    //=========================================================================
22020    pub fn gtk_radio_menu_item_get_type() -> GType;
22021    pub fn gtk_radio_menu_item_new(group: *mut glib::GSList) -> *mut GtkWidget;
22022    pub fn gtk_radio_menu_item_new_from_widget(group: *mut GtkRadioMenuItem) -> *mut GtkWidget;
22023    pub fn gtk_radio_menu_item_new_with_label(
22024        group: *mut glib::GSList,
22025        label: *const c_char,
22026    ) -> *mut GtkWidget;
22027    pub fn gtk_radio_menu_item_new_with_label_from_widget(
22028        group: *mut GtkRadioMenuItem,
22029        label: *const c_char,
22030    ) -> *mut GtkWidget;
22031    pub fn gtk_radio_menu_item_new_with_mnemonic(
22032        group: *mut glib::GSList,
22033        label: *const c_char,
22034    ) -> *mut GtkWidget;
22035    pub fn gtk_radio_menu_item_new_with_mnemonic_from_widget(
22036        group: *mut GtkRadioMenuItem,
22037        label: *const c_char,
22038    ) -> *mut GtkWidget;
22039    pub fn gtk_radio_menu_item_get_group(
22040        radio_menu_item: *mut GtkRadioMenuItem,
22041    ) -> *mut glib::GSList;
22042    #[cfg(any(feature = "v3_18", feature = "dox"))]
22043    pub fn gtk_radio_menu_item_join_group(
22044        radio_menu_item: *mut GtkRadioMenuItem,
22045        group_source: *mut GtkRadioMenuItem,
22046    );
22047    pub fn gtk_radio_menu_item_set_group(
22048        radio_menu_item: *mut GtkRadioMenuItem,
22049        group: *mut glib::GSList,
22050    );
22051
22052    //=========================================================================
22053    // GtkRadioMenuItemAccessible
22054    //=========================================================================
22055    pub fn gtk_radio_menu_item_accessible_get_type() -> GType;
22056
22057    //=========================================================================
22058    // GtkRadioToolButton
22059    //=========================================================================
22060    pub fn gtk_radio_tool_button_get_type() -> GType;
22061    pub fn gtk_radio_tool_button_new(group: *mut glib::GSList) -> *mut GtkToolItem;
22062    pub fn gtk_radio_tool_button_new_from_stock(
22063        group: *mut glib::GSList,
22064        stock_id: *const c_char,
22065    ) -> *mut GtkToolItem;
22066    pub fn gtk_radio_tool_button_new_from_widget(
22067        group: *mut GtkRadioToolButton,
22068    ) -> *mut GtkToolItem;
22069    pub fn gtk_radio_tool_button_new_with_stock_from_widget(
22070        group: *mut GtkRadioToolButton,
22071        stock_id: *const c_char,
22072    ) -> *mut GtkToolItem;
22073    pub fn gtk_radio_tool_button_get_group(button: *mut GtkRadioToolButton) -> *mut glib::GSList;
22074    pub fn gtk_radio_tool_button_set_group(
22075        button: *mut GtkRadioToolButton,
22076        group: *mut glib::GSList,
22077    );
22078
22079    //=========================================================================
22080    // GtkRange
22081    //=========================================================================
22082    pub fn gtk_range_get_type() -> GType;
22083    pub fn gtk_range_get_adjustment(range: *mut GtkRange) -> *mut GtkAdjustment;
22084    pub fn gtk_range_get_fill_level(range: *mut GtkRange) -> c_double;
22085    pub fn gtk_range_get_flippable(range: *mut GtkRange) -> gboolean;
22086    pub fn gtk_range_get_inverted(range: *mut GtkRange) -> gboolean;
22087    pub fn gtk_range_get_lower_stepper_sensitivity(range: *mut GtkRange) -> GtkSensitivityType;
22088    pub fn gtk_range_get_min_slider_size(range: *mut GtkRange) -> c_int;
22089    pub fn gtk_range_get_range_rect(range: *mut GtkRange, range_rect: *mut gdk::GdkRectangle);
22090    pub fn gtk_range_get_restrict_to_fill_level(range: *mut GtkRange) -> gboolean;
22091    pub fn gtk_range_get_round_digits(range: *mut GtkRange) -> c_int;
22092    pub fn gtk_range_get_show_fill_level(range: *mut GtkRange) -> gboolean;
22093    pub fn gtk_range_get_slider_range(
22094        range: *mut GtkRange,
22095        slider_start: *mut c_int,
22096        slider_end: *mut c_int,
22097    );
22098    pub fn gtk_range_get_slider_size_fixed(range: *mut GtkRange) -> gboolean;
22099    pub fn gtk_range_get_upper_stepper_sensitivity(range: *mut GtkRange) -> GtkSensitivityType;
22100    pub fn gtk_range_get_value(range: *mut GtkRange) -> c_double;
22101    pub fn gtk_range_set_adjustment(range: *mut GtkRange, adjustment: *mut GtkAdjustment);
22102    pub fn gtk_range_set_fill_level(range: *mut GtkRange, fill_level: c_double);
22103    pub fn gtk_range_set_flippable(range: *mut GtkRange, flippable: gboolean);
22104    pub fn gtk_range_set_increments(range: *mut GtkRange, step: c_double, page: c_double);
22105    pub fn gtk_range_set_inverted(range: *mut GtkRange, setting: gboolean);
22106    pub fn gtk_range_set_lower_stepper_sensitivity(
22107        range: *mut GtkRange,
22108        sensitivity: GtkSensitivityType,
22109    );
22110    pub fn gtk_range_set_min_slider_size(range: *mut GtkRange, min_size: c_int);
22111    pub fn gtk_range_set_range(range: *mut GtkRange, min: c_double, max: c_double);
22112    pub fn gtk_range_set_restrict_to_fill_level(
22113        range: *mut GtkRange,
22114        restrict_to_fill_level: gboolean,
22115    );
22116    pub fn gtk_range_set_round_digits(range: *mut GtkRange, round_digits: c_int);
22117    pub fn gtk_range_set_show_fill_level(range: *mut GtkRange, show_fill_level: gboolean);
22118    pub fn gtk_range_set_slider_size_fixed(range: *mut GtkRange, size_fixed: gboolean);
22119    pub fn gtk_range_set_upper_stepper_sensitivity(
22120        range: *mut GtkRange,
22121        sensitivity: GtkSensitivityType,
22122    );
22123    pub fn gtk_range_set_value(range: *mut GtkRange, value: c_double);
22124
22125    //=========================================================================
22126    // GtkRangeAccessible
22127    //=========================================================================
22128    pub fn gtk_range_accessible_get_type() -> GType;
22129
22130    //=========================================================================
22131    // GtkRcStyle
22132    //=========================================================================
22133    pub fn gtk_rc_style_get_type() -> GType;
22134    pub fn gtk_rc_style_new() -> *mut GtkRcStyle;
22135    pub fn gtk_rc_style_copy(orig: *mut GtkRcStyle) -> *mut GtkRcStyle;
22136
22137    //=========================================================================
22138    // GtkRecentAction
22139    //=========================================================================
22140    pub fn gtk_recent_action_get_type() -> GType;
22141    pub fn gtk_recent_action_new(
22142        name: *const c_char,
22143        label: *const c_char,
22144        tooltip: *const c_char,
22145        stock_id: *const c_char,
22146    ) -> *mut GtkAction;
22147    pub fn gtk_recent_action_new_for_manager(
22148        name: *const c_char,
22149        label: *const c_char,
22150        tooltip: *const c_char,
22151        stock_id: *const c_char,
22152        manager: *mut GtkRecentManager,
22153    ) -> *mut GtkAction;
22154    pub fn gtk_recent_action_get_show_numbers(action: *mut GtkRecentAction) -> gboolean;
22155    pub fn gtk_recent_action_set_show_numbers(action: *mut GtkRecentAction, show_numbers: gboolean);
22156
22157    //=========================================================================
22158    // GtkRecentChooserDialog
22159    //=========================================================================
22160    pub fn gtk_recent_chooser_dialog_get_type() -> GType;
22161    pub fn gtk_recent_chooser_dialog_new(
22162        title: *const c_char,
22163        parent: *mut GtkWindow,
22164        first_button_text: *const c_char,
22165        ...
22166    ) -> *mut GtkWidget;
22167    pub fn gtk_recent_chooser_dialog_new_for_manager(
22168        title: *const c_char,
22169        parent: *mut GtkWindow,
22170        manager: *mut GtkRecentManager,
22171        first_button_text: *const c_char,
22172        ...
22173    ) -> *mut GtkWidget;
22174
22175    //=========================================================================
22176    // GtkRecentChooserMenu
22177    //=========================================================================
22178    pub fn gtk_recent_chooser_menu_get_type() -> GType;
22179    pub fn gtk_recent_chooser_menu_new() -> *mut GtkWidget;
22180    pub fn gtk_recent_chooser_menu_new_for_manager(
22181        manager: *mut GtkRecentManager,
22182    ) -> *mut GtkWidget;
22183    pub fn gtk_recent_chooser_menu_get_show_numbers(menu: *mut GtkRecentChooserMenu) -> gboolean;
22184    pub fn gtk_recent_chooser_menu_set_show_numbers(
22185        menu: *mut GtkRecentChooserMenu,
22186        show_numbers: gboolean,
22187    );
22188
22189    //=========================================================================
22190    // GtkRecentChooserWidget
22191    //=========================================================================
22192    pub fn gtk_recent_chooser_widget_get_type() -> GType;
22193    pub fn gtk_recent_chooser_widget_new() -> *mut GtkWidget;
22194    pub fn gtk_recent_chooser_widget_new_for_manager(
22195        manager: *mut GtkRecentManager,
22196    ) -> *mut GtkWidget;
22197
22198    //=========================================================================
22199    // GtkRecentFilter
22200    //=========================================================================
22201    pub fn gtk_recent_filter_get_type() -> GType;
22202    pub fn gtk_recent_filter_new() -> *mut GtkRecentFilter;
22203    pub fn gtk_recent_filter_add_age(filter: *mut GtkRecentFilter, days: c_int);
22204    pub fn gtk_recent_filter_add_application(
22205        filter: *mut GtkRecentFilter,
22206        application: *const c_char,
22207    );
22208    pub fn gtk_recent_filter_add_custom(
22209        filter: *mut GtkRecentFilter,
22210        needed: GtkRecentFilterFlags,
22211        func: GtkRecentFilterFunc,
22212        data: gpointer,
22213        data_destroy: glib::GDestroyNotify,
22214    );
22215    pub fn gtk_recent_filter_add_group(filter: *mut GtkRecentFilter, group: *const c_char);
22216    pub fn gtk_recent_filter_add_mime_type(filter: *mut GtkRecentFilter, mime_type: *const c_char);
22217    pub fn gtk_recent_filter_add_pattern(filter: *mut GtkRecentFilter, pattern: *const c_char);
22218    pub fn gtk_recent_filter_add_pixbuf_formats(filter: *mut GtkRecentFilter);
22219    pub fn gtk_recent_filter_filter(
22220        filter: *mut GtkRecentFilter,
22221        filter_info: *const GtkRecentFilterInfo,
22222    ) -> gboolean;
22223    pub fn gtk_recent_filter_get_name(filter: *mut GtkRecentFilter) -> *const c_char;
22224    pub fn gtk_recent_filter_get_needed(filter: *mut GtkRecentFilter) -> GtkRecentFilterFlags;
22225    pub fn gtk_recent_filter_set_name(filter: *mut GtkRecentFilter, name: *const c_char);
22226
22227    //=========================================================================
22228    // GtkRecentManager
22229    //=========================================================================
22230    pub fn gtk_recent_manager_get_type() -> GType;
22231    pub fn gtk_recent_manager_new() -> *mut GtkRecentManager;
22232    pub fn gtk_recent_manager_get_default() -> *mut GtkRecentManager;
22233    pub fn gtk_recent_manager_add_full(
22234        manager: *mut GtkRecentManager,
22235        uri: *const c_char,
22236        recent_data: *const GtkRecentData,
22237    ) -> gboolean;
22238    pub fn gtk_recent_manager_add_item(
22239        manager: *mut GtkRecentManager,
22240        uri: *const c_char,
22241    ) -> gboolean;
22242    pub fn gtk_recent_manager_get_items(manager: *mut GtkRecentManager) -> *mut glib::GList;
22243    pub fn gtk_recent_manager_has_item(
22244        manager: *mut GtkRecentManager,
22245        uri: *const c_char,
22246    ) -> gboolean;
22247    pub fn gtk_recent_manager_lookup_item(
22248        manager: *mut GtkRecentManager,
22249        uri: *const c_char,
22250        error: *mut *mut glib::GError,
22251    ) -> *mut GtkRecentInfo;
22252    pub fn gtk_recent_manager_move_item(
22253        manager: *mut GtkRecentManager,
22254        uri: *const c_char,
22255        new_uri: *const c_char,
22256        error: *mut *mut glib::GError,
22257    ) -> gboolean;
22258    pub fn gtk_recent_manager_purge_items(
22259        manager: *mut GtkRecentManager,
22260        error: *mut *mut glib::GError,
22261    ) -> c_int;
22262    pub fn gtk_recent_manager_remove_item(
22263        manager: *mut GtkRecentManager,
22264        uri: *const c_char,
22265        error: *mut *mut glib::GError,
22266    ) -> gboolean;
22267
22268    //=========================================================================
22269    // GtkRendererCellAccessible
22270    //=========================================================================
22271    pub fn gtk_renderer_cell_accessible_get_type() -> GType;
22272    pub fn gtk_renderer_cell_accessible_new(renderer: *mut GtkCellRenderer) -> *mut atk::AtkObject;
22273
22274    //=========================================================================
22275    // GtkRevealer
22276    //=========================================================================
22277    pub fn gtk_revealer_get_type() -> GType;
22278    pub fn gtk_revealer_new() -> *mut GtkWidget;
22279    pub fn gtk_revealer_get_child_revealed(revealer: *mut GtkRevealer) -> gboolean;
22280    pub fn gtk_revealer_get_reveal_child(revealer: *mut GtkRevealer) -> gboolean;
22281    pub fn gtk_revealer_get_transition_duration(revealer: *mut GtkRevealer) -> c_uint;
22282    pub fn gtk_revealer_get_transition_type(
22283        revealer: *mut GtkRevealer,
22284    ) -> GtkRevealerTransitionType;
22285    pub fn gtk_revealer_set_reveal_child(revealer: *mut GtkRevealer, reveal_child: gboolean);
22286    pub fn gtk_revealer_set_transition_duration(revealer: *mut GtkRevealer, duration: c_uint);
22287    pub fn gtk_revealer_set_transition_type(
22288        revealer: *mut GtkRevealer,
22289        transition: GtkRevealerTransitionType,
22290    );
22291
22292    //=========================================================================
22293    // GtkScale
22294    //=========================================================================
22295    pub fn gtk_scale_get_type() -> GType;
22296    pub fn gtk_scale_new(
22297        orientation: GtkOrientation,
22298        adjustment: *mut GtkAdjustment,
22299    ) -> *mut GtkWidget;
22300    pub fn gtk_scale_new_with_range(
22301        orientation: GtkOrientation,
22302        min: c_double,
22303        max: c_double,
22304        step: c_double,
22305    ) -> *mut GtkWidget;
22306    pub fn gtk_scale_add_mark(
22307        scale: *mut GtkScale,
22308        value: c_double,
22309        position: GtkPositionType,
22310        markup: *const c_char,
22311    );
22312    pub fn gtk_scale_clear_marks(scale: *mut GtkScale);
22313    pub fn gtk_scale_get_digits(scale: *mut GtkScale) -> c_int;
22314    pub fn gtk_scale_get_draw_value(scale: *mut GtkScale) -> gboolean;
22315    pub fn gtk_scale_get_has_origin(scale: *mut GtkScale) -> gboolean;
22316    pub fn gtk_scale_get_layout(scale: *mut GtkScale) -> *mut pango::PangoLayout;
22317    pub fn gtk_scale_get_layout_offsets(scale: *mut GtkScale, x: *mut c_int, y: *mut c_int);
22318    pub fn gtk_scale_get_value_pos(scale: *mut GtkScale) -> GtkPositionType;
22319    pub fn gtk_scale_set_digits(scale: *mut GtkScale, digits: c_int);
22320    pub fn gtk_scale_set_draw_value(scale: *mut GtkScale, draw_value: gboolean);
22321    pub fn gtk_scale_set_has_origin(scale: *mut GtkScale, has_origin: gboolean);
22322    pub fn gtk_scale_set_value_pos(scale: *mut GtkScale, pos: GtkPositionType);
22323
22324    //=========================================================================
22325    // GtkScaleAccessible
22326    //=========================================================================
22327    pub fn gtk_scale_accessible_get_type() -> GType;
22328
22329    //=========================================================================
22330    // GtkScaleButton
22331    //=========================================================================
22332    pub fn gtk_scale_button_get_type() -> GType;
22333    pub fn gtk_scale_button_new(
22334        size: GtkIconSize,
22335        min: c_double,
22336        max: c_double,
22337        step: c_double,
22338        icons: *mut *const c_char,
22339    ) -> *mut GtkWidget;
22340    pub fn gtk_scale_button_get_adjustment(button: *mut GtkScaleButton) -> *mut GtkAdjustment;
22341    pub fn gtk_scale_button_get_minus_button(button: *mut GtkScaleButton) -> *mut GtkButton;
22342    pub fn gtk_scale_button_get_plus_button(button: *mut GtkScaleButton) -> *mut GtkButton;
22343    pub fn gtk_scale_button_get_popup(button: *mut GtkScaleButton) -> *mut GtkWidget;
22344    pub fn gtk_scale_button_get_value(button: *mut GtkScaleButton) -> c_double;
22345    pub fn gtk_scale_button_set_adjustment(
22346        button: *mut GtkScaleButton,
22347        adjustment: *mut GtkAdjustment,
22348    );
22349    pub fn gtk_scale_button_set_icons(button: *mut GtkScaleButton, icons: *mut *const c_char);
22350    pub fn gtk_scale_button_set_value(button: *mut GtkScaleButton, value: c_double);
22351
22352    //=========================================================================
22353    // GtkScaleButtonAccessible
22354    //=========================================================================
22355    pub fn gtk_scale_button_accessible_get_type() -> GType;
22356
22357    //=========================================================================
22358    // GtkScrollbar
22359    //=========================================================================
22360    pub fn gtk_scrollbar_get_type() -> GType;
22361    pub fn gtk_scrollbar_new(
22362        orientation: GtkOrientation,
22363        adjustment: *mut GtkAdjustment,
22364    ) -> *mut GtkWidget;
22365
22366    //=========================================================================
22367    // GtkScrolledWindow
22368    //=========================================================================
22369    pub fn gtk_scrolled_window_get_type() -> GType;
22370    pub fn gtk_scrolled_window_new(
22371        hadjustment: *mut GtkAdjustment,
22372        vadjustment: *mut GtkAdjustment,
22373    ) -> *mut GtkWidget;
22374    pub fn gtk_scrolled_window_add_with_viewport(
22375        scrolled_window: *mut GtkScrolledWindow,
22376        child: *mut GtkWidget,
22377    );
22378    pub fn gtk_scrolled_window_get_capture_button_press(
22379        scrolled_window: *mut GtkScrolledWindow,
22380    ) -> gboolean;
22381    pub fn gtk_scrolled_window_get_hadjustment(
22382        scrolled_window: *mut GtkScrolledWindow,
22383    ) -> *mut GtkAdjustment;
22384    pub fn gtk_scrolled_window_get_hscrollbar(
22385        scrolled_window: *mut GtkScrolledWindow,
22386    ) -> *mut GtkWidget;
22387    pub fn gtk_scrolled_window_get_kinetic_scrolling(
22388        scrolled_window: *mut GtkScrolledWindow,
22389    ) -> gboolean;
22390    #[cfg(any(feature = "v3_22", feature = "dox"))]
22391    pub fn gtk_scrolled_window_get_max_content_height(
22392        scrolled_window: *mut GtkScrolledWindow,
22393    ) -> c_int;
22394    #[cfg(any(feature = "v3_22", feature = "dox"))]
22395    pub fn gtk_scrolled_window_get_max_content_width(
22396        scrolled_window: *mut GtkScrolledWindow,
22397    ) -> c_int;
22398    pub fn gtk_scrolled_window_get_min_content_height(
22399        scrolled_window: *mut GtkScrolledWindow,
22400    ) -> c_int;
22401    pub fn gtk_scrolled_window_get_min_content_width(
22402        scrolled_window: *mut GtkScrolledWindow,
22403    ) -> c_int;
22404    #[cfg(any(feature = "v3_16", feature = "dox"))]
22405    pub fn gtk_scrolled_window_get_overlay_scrolling(
22406        scrolled_window: *mut GtkScrolledWindow,
22407    ) -> gboolean;
22408    pub fn gtk_scrolled_window_get_placement(
22409        scrolled_window: *mut GtkScrolledWindow,
22410    ) -> GtkCornerType;
22411    pub fn gtk_scrolled_window_get_policy(
22412        scrolled_window: *mut GtkScrolledWindow,
22413        hscrollbar_policy: *mut GtkPolicyType,
22414        vscrollbar_policy: *mut GtkPolicyType,
22415    );
22416    #[cfg(any(feature = "v3_22", feature = "dox"))]
22417    pub fn gtk_scrolled_window_get_propagate_natural_height(
22418        scrolled_window: *mut GtkScrolledWindow,
22419    ) -> gboolean;
22420    #[cfg(any(feature = "v3_22", feature = "dox"))]
22421    pub fn gtk_scrolled_window_get_propagate_natural_width(
22422        scrolled_window: *mut GtkScrolledWindow,
22423    ) -> gboolean;
22424    pub fn gtk_scrolled_window_get_shadow_type(
22425        scrolled_window: *mut GtkScrolledWindow,
22426    ) -> GtkShadowType;
22427    pub fn gtk_scrolled_window_get_vadjustment(
22428        scrolled_window: *mut GtkScrolledWindow,
22429    ) -> *mut GtkAdjustment;
22430    pub fn gtk_scrolled_window_get_vscrollbar(
22431        scrolled_window: *mut GtkScrolledWindow,
22432    ) -> *mut GtkWidget;
22433    pub fn gtk_scrolled_window_set_capture_button_press(
22434        scrolled_window: *mut GtkScrolledWindow,
22435        capture_button_press: gboolean,
22436    );
22437    pub fn gtk_scrolled_window_set_hadjustment(
22438        scrolled_window: *mut GtkScrolledWindow,
22439        hadjustment: *mut GtkAdjustment,
22440    );
22441    pub fn gtk_scrolled_window_set_kinetic_scrolling(
22442        scrolled_window: *mut GtkScrolledWindow,
22443        kinetic_scrolling: gboolean,
22444    );
22445    #[cfg(any(feature = "v3_22", feature = "dox"))]
22446    pub fn gtk_scrolled_window_set_max_content_height(
22447        scrolled_window: *mut GtkScrolledWindow,
22448        height: c_int,
22449    );
22450    #[cfg(any(feature = "v3_22", feature = "dox"))]
22451    pub fn gtk_scrolled_window_set_max_content_width(
22452        scrolled_window: *mut GtkScrolledWindow,
22453        width: c_int,
22454    );
22455    pub fn gtk_scrolled_window_set_min_content_height(
22456        scrolled_window: *mut GtkScrolledWindow,
22457        height: c_int,
22458    );
22459    pub fn gtk_scrolled_window_set_min_content_width(
22460        scrolled_window: *mut GtkScrolledWindow,
22461        width: c_int,
22462    );
22463    #[cfg(any(feature = "v3_16", feature = "dox"))]
22464    pub fn gtk_scrolled_window_set_overlay_scrolling(
22465        scrolled_window: *mut GtkScrolledWindow,
22466        overlay_scrolling: gboolean,
22467    );
22468    pub fn gtk_scrolled_window_set_placement(
22469        scrolled_window: *mut GtkScrolledWindow,
22470        window_placement: GtkCornerType,
22471    );
22472    pub fn gtk_scrolled_window_set_policy(
22473        scrolled_window: *mut GtkScrolledWindow,
22474        hscrollbar_policy: GtkPolicyType,
22475        vscrollbar_policy: GtkPolicyType,
22476    );
22477    #[cfg(any(feature = "v3_22", feature = "dox"))]
22478    pub fn gtk_scrolled_window_set_propagate_natural_height(
22479        scrolled_window: *mut GtkScrolledWindow,
22480        propagate: gboolean,
22481    );
22482    #[cfg(any(feature = "v3_22", feature = "dox"))]
22483    pub fn gtk_scrolled_window_set_propagate_natural_width(
22484        scrolled_window: *mut GtkScrolledWindow,
22485        propagate: gboolean,
22486    );
22487    pub fn gtk_scrolled_window_set_shadow_type(
22488        scrolled_window: *mut GtkScrolledWindow,
22489        type_: GtkShadowType,
22490    );
22491    pub fn gtk_scrolled_window_set_vadjustment(
22492        scrolled_window: *mut GtkScrolledWindow,
22493        vadjustment: *mut GtkAdjustment,
22494    );
22495    pub fn gtk_scrolled_window_unset_placement(scrolled_window: *mut GtkScrolledWindow);
22496
22497    //=========================================================================
22498    // GtkScrolledWindowAccessible
22499    //=========================================================================
22500    pub fn gtk_scrolled_window_accessible_get_type() -> GType;
22501
22502    //=========================================================================
22503    // GtkSearchBar
22504    //=========================================================================
22505    pub fn gtk_search_bar_get_type() -> GType;
22506    pub fn gtk_search_bar_new() -> *mut GtkWidget;
22507    pub fn gtk_search_bar_connect_entry(bar: *mut GtkSearchBar, entry: *mut GtkEntry);
22508    pub fn gtk_search_bar_get_search_mode(bar: *mut GtkSearchBar) -> gboolean;
22509    pub fn gtk_search_bar_get_show_close_button(bar: *mut GtkSearchBar) -> gboolean;
22510    pub fn gtk_search_bar_handle_event(
22511        bar: *mut GtkSearchBar,
22512        event: *mut gdk::GdkEvent,
22513    ) -> gboolean;
22514    pub fn gtk_search_bar_set_search_mode(bar: *mut GtkSearchBar, search_mode: gboolean);
22515    pub fn gtk_search_bar_set_show_close_button(bar: *mut GtkSearchBar, visible: gboolean);
22516
22517    //=========================================================================
22518    // GtkSearchEntry
22519    //=========================================================================
22520    pub fn gtk_search_entry_get_type() -> GType;
22521    pub fn gtk_search_entry_new() -> *mut GtkWidget;
22522    #[cfg(any(feature = "v3_16", feature = "dox"))]
22523    pub fn gtk_search_entry_handle_event(
22524        entry: *mut GtkSearchEntry,
22525        event: *mut gdk::GdkEvent,
22526    ) -> gboolean;
22527
22528    //=========================================================================
22529    // GtkSeparator
22530    //=========================================================================
22531    pub fn gtk_separator_get_type() -> GType;
22532    pub fn gtk_separator_new(orientation: GtkOrientation) -> *mut GtkWidget;
22533
22534    //=========================================================================
22535    // GtkSeparatorMenuItem
22536    //=========================================================================
22537    pub fn gtk_separator_menu_item_get_type() -> GType;
22538    pub fn gtk_separator_menu_item_new() -> *mut GtkWidget;
22539
22540    //=========================================================================
22541    // GtkSeparatorToolItem
22542    //=========================================================================
22543    pub fn gtk_separator_tool_item_get_type() -> GType;
22544    pub fn gtk_separator_tool_item_new() -> *mut GtkToolItem;
22545    pub fn gtk_separator_tool_item_get_draw(item: *mut GtkSeparatorToolItem) -> gboolean;
22546    pub fn gtk_separator_tool_item_set_draw(item: *mut GtkSeparatorToolItem, draw: gboolean);
22547
22548    //=========================================================================
22549    // GtkSettings
22550    //=========================================================================
22551    pub fn gtk_settings_get_type() -> GType;
22552    pub fn gtk_settings_get_default() -> *mut GtkSettings;
22553    pub fn gtk_settings_get_for_screen(screen: *mut gdk::GdkScreen) -> *mut GtkSettings;
22554    pub fn gtk_settings_install_property(pspec: *mut gobject::GParamSpec);
22555    pub fn gtk_settings_install_property_parser(
22556        pspec: *mut gobject::GParamSpec,
22557        parser: GtkRcPropertyParser,
22558    );
22559    #[cfg(any(feature = "v3_20", feature = "dox"))]
22560    pub fn gtk_settings_reset_property(settings: *mut GtkSettings, name: *const c_char);
22561    pub fn gtk_settings_set_double_property(
22562        settings: *mut GtkSettings,
22563        name: *const c_char,
22564        v_double: c_double,
22565        origin: *const c_char,
22566    );
22567    pub fn gtk_settings_set_long_property(
22568        settings: *mut GtkSettings,
22569        name: *const c_char,
22570        v_long: c_long,
22571        origin: *const c_char,
22572    );
22573    pub fn gtk_settings_set_property_value(
22574        settings: *mut GtkSettings,
22575        name: *const c_char,
22576        svalue: *const GtkSettingsValue,
22577    );
22578    pub fn gtk_settings_set_string_property(
22579        settings: *mut GtkSettings,
22580        name: *const c_char,
22581        v_string: *const c_char,
22582        origin: *const c_char,
22583    );
22584
22585    //=========================================================================
22586    // GtkShortcutLabel
22587    //=========================================================================
22588    pub fn gtk_shortcut_label_get_type() -> GType;
22589    #[cfg(any(feature = "v3_22", feature = "dox"))]
22590    pub fn gtk_shortcut_label_new(accelerator: *const c_char) -> *mut GtkWidget;
22591    #[cfg(any(feature = "v3_22", feature = "dox"))]
22592    pub fn gtk_shortcut_label_get_accelerator(self_: *mut GtkShortcutLabel) -> *const c_char;
22593    #[cfg(any(feature = "v3_22", feature = "dox"))]
22594    pub fn gtk_shortcut_label_get_disabled_text(self_: *mut GtkShortcutLabel) -> *const c_char;
22595    #[cfg(any(feature = "v3_22", feature = "dox"))]
22596    pub fn gtk_shortcut_label_set_accelerator(
22597        self_: *mut GtkShortcutLabel,
22598        accelerator: *const c_char,
22599    );
22600    #[cfg(any(feature = "v3_22", feature = "dox"))]
22601    pub fn gtk_shortcut_label_set_disabled_text(
22602        self_: *mut GtkShortcutLabel,
22603        disabled_text: *const c_char,
22604    );
22605
22606    //=========================================================================
22607    // GtkShortcutsGroup
22608    //=========================================================================
22609    pub fn gtk_shortcuts_group_get_type() -> GType;
22610
22611    //=========================================================================
22612    // GtkShortcutsSection
22613    //=========================================================================
22614    pub fn gtk_shortcuts_section_get_type() -> GType;
22615
22616    //=========================================================================
22617    // GtkShortcutsShortcut
22618    //=========================================================================
22619    pub fn gtk_shortcuts_shortcut_get_type() -> GType;
22620
22621    //=========================================================================
22622    // GtkShortcutsWindow
22623    //=========================================================================
22624    pub fn gtk_shortcuts_window_get_type() -> GType;
22625
22626    //=========================================================================
22627    // GtkSizeGroup
22628    //=========================================================================
22629    pub fn gtk_size_group_get_type() -> GType;
22630    pub fn gtk_size_group_new(mode: GtkSizeGroupMode) -> *mut GtkSizeGroup;
22631    pub fn gtk_size_group_add_widget(size_group: *mut GtkSizeGroup, widget: *mut GtkWidget);
22632    pub fn gtk_size_group_get_ignore_hidden(size_group: *mut GtkSizeGroup) -> gboolean;
22633    pub fn gtk_size_group_get_mode(size_group: *mut GtkSizeGroup) -> GtkSizeGroupMode;
22634    pub fn gtk_size_group_get_widgets(size_group: *mut GtkSizeGroup) -> *mut glib::GSList;
22635    pub fn gtk_size_group_remove_widget(size_group: *mut GtkSizeGroup, widget: *mut GtkWidget);
22636    pub fn gtk_size_group_set_ignore_hidden(size_group: *mut GtkSizeGroup, ignore_hidden: gboolean);
22637    pub fn gtk_size_group_set_mode(size_group: *mut GtkSizeGroup, mode: GtkSizeGroupMode);
22638
22639    //=========================================================================
22640    // GtkSocket
22641    //=========================================================================
22642    pub fn gtk_socket_get_type() -> GType;
22643    pub fn gtk_socket_new() -> *mut GtkWidget;
22644    pub fn gtk_socket_add_id(socket_: *mut GtkSocket, window: xlib::Window);
22645    pub fn gtk_socket_get_id(socket_: *mut GtkSocket) -> xlib::Window;
22646    pub fn gtk_socket_get_plug_window(socket_: *mut GtkSocket) -> *mut gdk::GdkWindow;
22647
22648    //=========================================================================
22649    // GtkSpinButton
22650    //=========================================================================
22651    pub fn gtk_spin_button_get_type() -> GType;
22652    pub fn gtk_spin_button_new(
22653        adjustment: *mut GtkAdjustment,
22654        climb_rate: c_double,
22655        digits: c_uint,
22656    ) -> *mut GtkWidget;
22657    pub fn gtk_spin_button_new_with_range(
22658        min: c_double,
22659        max: c_double,
22660        step: c_double,
22661    ) -> *mut GtkWidget;
22662    pub fn gtk_spin_button_configure(
22663        spin_button: *mut GtkSpinButton,
22664        adjustment: *mut GtkAdjustment,
22665        climb_rate: c_double,
22666        digits: c_uint,
22667    );
22668    pub fn gtk_spin_button_get_adjustment(spin_button: *mut GtkSpinButton) -> *mut GtkAdjustment;
22669    pub fn gtk_spin_button_get_digits(spin_button: *mut GtkSpinButton) -> c_uint;
22670    pub fn gtk_spin_button_get_increments(
22671        spin_button: *mut GtkSpinButton,
22672        step: *mut c_double,
22673        page: *mut c_double,
22674    );
22675    pub fn gtk_spin_button_get_numeric(spin_button: *mut GtkSpinButton) -> gboolean;
22676    pub fn gtk_spin_button_get_range(
22677        spin_button: *mut GtkSpinButton,
22678        min: *mut c_double,
22679        max: *mut c_double,
22680    );
22681    pub fn gtk_spin_button_get_snap_to_ticks(spin_button: *mut GtkSpinButton) -> gboolean;
22682    pub fn gtk_spin_button_get_update_policy(
22683        spin_button: *mut GtkSpinButton,
22684    ) -> GtkSpinButtonUpdatePolicy;
22685    pub fn gtk_spin_button_get_value(spin_button: *mut GtkSpinButton) -> c_double;
22686    pub fn gtk_spin_button_get_value_as_int(spin_button: *mut GtkSpinButton) -> c_int;
22687    pub fn gtk_spin_button_get_wrap(spin_button: *mut GtkSpinButton) -> gboolean;
22688    pub fn gtk_spin_button_set_adjustment(
22689        spin_button: *mut GtkSpinButton,
22690        adjustment: *mut GtkAdjustment,
22691    );
22692    pub fn gtk_spin_button_set_digits(spin_button: *mut GtkSpinButton, digits: c_uint);
22693    pub fn gtk_spin_button_set_increments(
22694        spin_button: *mut GtkSpinButton,
22695        step: c_double,
22696        page: c_double,
22697    );
22698    pub fn gtk_spin_button_set_numeric(spin_button: *mut GtkSpinButton, numeric: gboolean);
22699    pub fn gtk_spin_button_set_range(spin_button: *mut GtkSpinButton, min: c_double, max: c_double);
22700    pub fn gtk_spin_button_set_snap_to_ticks(
22701        spin_button: *mut GtkSpinButton,
22702        snap_to_ticks: gboolean,
22703    );
22704    pub fn gtk_spin_button_set_update_policy(
22705        spin_button: *mut GtkSpinButton,
22706        policy: GtkSpinButtonUpdatePolicy,
22707    );
22708    pub fn gtk_spin_button_set_value(spin_button: *mut GtkSpinButton, value: c_double);
22709    pub fn gtk_spin_button_set_wrap(spin_button: *mut GtkSpinButton, wrap: gboolean);
22710    pub fn gtk_spin_button_spin(
22711        spin_button: *mut GtkSpinButton,
22712        direction: GtkSpinType,
22713        increment: c_double,
22714    );
22715    pub fn gtk_spin_button_update(spin_button: *mut GtkSpinButton);
22716
22717    //=========================================================================
22718    // GtkSpinButtonAccessible
22719    //=========================================================================
22720    pub fn gtk_spin_button_accessible_get_type() -> GType;
22721
22722    //=========================================================================
22723    // GtkSpinner
22724    //=========================================================================
22725    pub fn gtk_spinner_get_type() -> GType;
22726    pub fn gtk_spinner_new() -> *mut GtkWidget;
22727    pub fn gtk_spinner_start(spinner: *mut GtkSpinner);
22728    pub fn gtk_spinner_stop(spinner: *mut GtkSpinner);
22729
22730    //=========================================================================
22731    // GtkSpinnerAccessible
22732    //=========================================================================
22733    pub fn gtk_spinner_accessible_get_type() -> GType;
22734
22735    //=========================================================================
22736    // GtkStack
22737    //=========================================================================
22738    pub fn gtk_stack_get_type() -> GType;
22739    pub fn gtk_stack_new() -> *mut GtkWidget;
22740    pub fn gtk_stack_add_named(stack: *mut GtkStack, child: *mut GtkWidget, name: *const c_char);
22741    pub fn gtk_stack_add_titled(
22742        stack: *mut GtkStack,
22743        child: *mut GtkWidget,
22744        name: *const c_char,
22745        title: *const c_char,
22746    );
22747    pub fn gtk_stack_get_child_by_name(stack: *mut GtkStack, name: *const c_char)
22748        -> *mut GtkWidget;
22749    #[cfg(any(feature = "v3_16", feature = "dox"))]
22750    pub fn gtk_stack_get_hhomogeneous(stack: *mut GtkStack) -> gboolean;
22751    pub fn gtk_stack_get_homogeneous(stack: *mut GtkStack) -> gboolean;
22752    #[cfg(any(feature = "v3_18", feature = "dox"))]
22753    pub fn gtk_stack_get_interpolate_size(stack: *mut GtkStack) -> gboolean;
22754    pub fn gtk_stack_get_transition_duration(stack: *mut GtkStack) -> c_uint;
22755    pub fn gtk_stack_get_transition_running(stack: *mut GtkStack) -> gboolean;
22756    pub fn gtk_stack_get_transition_type(stack: *mut GtkStack) -> GtkStackTransitionType;
22757    #[cfg(any(feature = "v3_16", feature = "dox"))]
22758    pub fn gtk_stack_get_vhomogeneous(stack: *mut GtkStack) -> gboolean;
22759    pub fn gtk_stack_get_visible_child(stack: *mut GtkStack) -> *mut GtkWidget;
22760    pub fn gtk_stack_get_visible_child_name(stack: *mut GtkStack) -> *const c_char;
22761    #[cfg(any(feature = "v3_16", feature = "dox"))]
22762    pub fn gtk_stack_set_hhomogeneous(stack: *mut GtkStack, hhomogeneous: gboolean);
22763    pub fn gtk_stack_set_homogeneous(stack: *mut GtkStack, homogeneous: gboolean);
22764    #[cfg(any(feature = "v3_18", feature = "dox"))]
22765    pub fn gtk_stack_set_interpolate_size(stack: *mut GtkStack, interpolate_size: gboolean);
22766    pub fn gtk_stack_set_transition_duration(stack: *mut GtkStack, duration: c_uint);
22767    pub fn gtk_stack_set_transition_type(stack: *mut GtkStack, transition: GtkStackTransitionType);
22768    #[cfg(any(feature = "v3_16", feature = "dox"))]
22769    pub fn gtk_stack_set_vhomogeneous(stack: *mut GtkStack, vhomogeneous: gboolean);
22770    pub fn gtk_stack_set_visible_child(stack: *mut GtkStack, child: *mut GtkWidget);
22771    pub fn gtk_stack_set_visible_child_full(
22772        stack: *mut GtkStack,
22773        name: *const c_char,
22774        transition: GtkStackTransitionType,
22775    );
22776    pub fn gtk_stack_set_visible_child_name(stack: *mut GtkStack, name: *const c_char);
22777
22778    //=========================================================================
22779    // GtkStackAccessible
22780    //=========================================================================
22781    pub fn gtk_stack_accessible_get_type() -> GType;
22782
22783    //=========================================================================
22784    // GtkStackSidebar
22785    //=========================================================================
22786    pub fn gtk_stack_sidebar_get_type() -> GType;
22787    #[cfg(any(feature = "v3_16", feature = "dox"))]
22788    pub fn gtk_stack_sidebar_new() -> *mut GtkWidget;
22789    #[cfg(any(feature = "v3_16", feature = "dox"))]
22790    pub fn gtk_stack_sidebar_get_stack(sidebar: *mut GtkStackSidebar) -> *mut GtkStack;
22791    #[cfg(any(feature = "v3_16", feature = "dox"))]
22792    pub fn gtk_stack_sidebar_set_stack(sidebar: *mut GtkStackSidebar, stack: *mut GtkStack);
22793
22794    //=========================================================================
22795    // GtkStackSwitcher
22796    //=========================================================================
22797    pub fn gtk_stack_switcher_get_type() -> GType;
22798    pub fn gtk_stack_switcher_new() -> *mut GtkWidget;
22799    pub fn gtk_stack_switcher_get_stack(switcher: *mut GtkStackSwitcher) -> *mut GtkStack;
22800    pub fn gtk_stack_switcher_set_stack(switcher: *mut GtkStackSwitcher, stack: *mut GtkStack);
22801
22802    //=========================================================================
22803    // GtkStatusIcon
22804    //=========================================================================
22805    pub fn gtk_status_icon_get_type() -> GType;
22806    pub fn gtk_status_icon_new() -> *mut GtkStatusIcon;
22807    pub fn gtk_status_icon_new_from_file(filename: *const c_char) -> *mut GtkStatusIcon;
22808    pub fn gtk_status_icon_new_from_gicon(icon: *mut gio::GIcon) -> *mut GtkStatusIcon;
22809    pub fn gtk_status_icon_new_from_icon_name(icon_name: *const c_char) -> *mut GtkStatusIcon;
22810    pub fn gtk_status_icon_new_from_pixbuf(
22811        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
22812    ) -> *mut GtkStatusIcon;
22813    pub fn gtk_status_icon_new_from_stock(stock_id: *const c_char) -> *mut GtkStatusIcon;
22814    pub fn gtk_status_icon_position_menu(
22815        menu: *mut GtkMenu,
22816        x: *mut c_int,
22817        y: *mut c_int,
22818        push_in: *mut gboolean,
22819        user_data: *mut GtkStatusIcon,
22820    );
22821    pub fn gtk_status_icon_get_geometry(
22822        status_icon: *mut GtkStatusIcon,
22823        screen: *mut *mut gdk::GdkScreen,
22824        area: *mut gdk::GdkRectangle,
22825        orientation: *mut GtkOrientation,
22826    ) -> gboolean;
22827    pub fn gtk_status_icon_get_gicon(status_icon: *mut GtkStatusIcon) -> *mut gio::GIcon;
22828    pub fn gtk_status_icon_get_has_tooltip(status_icon: *mut GtkStatusIcon) -> gboolean;
22829    pub fn gtk_status_icon_get_icon_name(status_icon: *mut GtkStatusIcon) -> *const c_char;
22830    pub fn gtk_status_icon_get_pixbuf(
22831        status_icon: *mut GtkStatusIcon,
22832    ) -> *mut gdk_pixbuf::GdkPixbuf;
22833    pub fn gtk_status_icon_get_screen(status_icon: *mut GtkStatusIcon) -> *mut gdk::GdkScreen;
22834    pub fn gtk_status_icon_get_size(status_icon: *mut GtkStatusIcon) -> c_int;
22835    pub fn gtk_status_icon_get_stock(status_icon: *mut GtkStatusIcon) -> *const c_char;
22836    pub fn gtk_status_icon_get_storage_type(status_icon: *mut GtkStatusIcon) -> GtkImageType;
22837    pub fn gtk_status_icon_get_title(status_icon: *mut GtkStatusIcon) -> *const c_char;
22838    pub fn gtk_status_icon_get_tooltip_markup(status_icon: *mut GtkStatusIcon) -> *mut c_char;
22839    pub fn gtk_status_icon_get_tooltip_text(status_icon: *mut GtkStatusIcon) -> *mut c_char;
22840    pub fn gtk_status_icon_get_visible(status_icon: *mut GtkStatusIcon) -> gboolean;
22841    pub fn gtk_status_icon_get_x11_window_id(status_icon: *mut GtkStatusIcon) -> u32;
22842    pub fn gtk_status_icon_is_embedded(status_icon: *mut GtkStatusIcon) -> gboolean;
22843    pub fn gtk_status_icon_set_from_file(status_icon: *mut GtkStatusIcon, filename: *const c_char);
22844    pub fn gtk_status_icon_set_from_gicon(status_icon: *mut GtkStatusIcon, icon: *mut gio::GIcon);
22845    pub fn gtk_status_icon_set_from_icon_name(
22846        status_icon: *mut GtkStatusIcon,
22847        icon_name: *const c_char,
22848    );
22849    pub fn gtk_status_icon_set_from_pixbuf(
22850        status_icon: *mut GtkStatusIcon,
22851        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
22852    );
22853    pub fn gtk_status_icon_set_from_stock(status_icon: *mut GtkStatusIcon, stock_id: *const c_char);
22854    pub fn gtk_status_icon_set_has_tooltip(status_icon: *mut GtkStatusIcon, has_tooltip: gboolean);
22855    pub fn gtk_status_icon_set_name(status_icon: *mut GtkStatusIcon, name: *const c_char);
22856    pub fn gtk_status_icon_set_screen(status_icon: *mut GtkStatusIcon, screen: *mut gdk::GdkScreen);
22857    pub fn gtk_status_icon_set_title(status_icon: *mut GtkStatusIcon, title: *const c_char);
22858    pub fn gtk_status_icon_set_tooltip_markup(
22859        status_icon: *mut GtkStatusIcon,
22860        markup: *const c_char,
22861    );
22862    pub fn gtk_status_icon_set_tooltip_text(status_icon: *mut GtkStatusIcon, text: *const c_char);
22863    pub fn gtk_status_icon_set_visible(status_icon: *mut GtkStatusIcon, visible: gboolean);
22864
22865    //=========================================================================
22866    // GtkStatusbar
22867    //=========================================================================
22868    pub fn gtk_statusbar_get_type() -> GType;
22869    pub fn gtk_statusbar_new() -> *mut GtkWidget;
22870    pub fn gtk_statusbar_get_context_id(
22871        statusbar: *mut GtkStatusbar,
22872        context_description: *const c_char,
22873    ) -> c_uint;
22874    pub fn gtk_statusbar_get_message_area(statusbar: *mut GtkStatusbar) -> *mut GtkBox;
22875    pub fn gtk_statusbar_pop(statusbar: *mut GtkStatusbar, context_id: c_uint);
22876    pub fn gtk_statusbar_push(
22877        statusbar: *mut GtkStatusbar,
22878        context_id: c_uint,
22879        text: *const c_char,
22880    ) -> c_uint;
22881    pub fn gtk_statusbar_remove(
22882        statusbar: *mut GtkStatusbar,
22883        context_id: c_uint,
22884        message_id: c_uint,
22885    );
22886    pub fn gtk_statusbar_remove_all(statusbar: *mut GtkStatusbar, context_id: c_uint);
22887
22888    //=========================================================================
22889    // GtkStatusbarAccessible
22890    //=========================================================================
22891    pub fn gtk_statusbar_accessible_get_type() -> GType;
22892
22893    //=========================================================================
22894    // GtkStyle
22895    //=========================================================================
22896    pub fn gtk_style_get_type() -> GType;
22897    pub fn gtk_style_new() -> *mut GtkStyle;
22898    pub fn gtk_style_apply_default_background(
22899        style: *mut GtkStyle,
22900        cr: *mut cairo::cairo_t,
22901        window: *mut gdk::GdkWindow,
22902        state_type: GtkStateType,
22903        x: c_int,
22904        y: c_int,
22905        width: c_int,
22906        height: c_int,
22907    );
22908    pub fn gtk_style_attach(style: *mut GtkStyle, window: *mut gdk::GdkWindow) -> *mut GtkStyle;
22909    pub fn gtk_style_copy(style: *mut GtkStyle) -> *mut GtkStyle;
22910    pub fn gtk_style_detach(style: *mut GtkStyle);
22911    pub fn gtk_style_get(
22912        style: *mut GtkStyle,
22913        widget_type: GType,
22914        first_property_name: *const c_char,
22915        ...
22916    );
22917    pub fn gtk_style_get_style_property(
22918        style: *mut GtkStyle,
22919        widget_type: GType,
22920        property_name: *const c_char,
22921        value: *mut gobject::GValue,
22922    );
22923    //pub fn gtk_style_get_valist(style: *mut GtkStyle, widget_type: GType, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list);
22924    pub fn gtk_style_has_context(style: *mut GtkStyle) -> gboolean;
22925    pub fn gtk_style_lookup_color(
22926        style: *mut GtkStyle,
22927        color_name: *const c_char,
22928        color: *mut gdk::GdkColor,
22929    ) -> gboolean;
22930    pub fn gtk_style_lookup_icon_set(
22931        style: *mut GtkStyle,
22932        stock_id: *const c_char,
22933    ) -> *mut GtkIconSet;
22934    pub fn gtk_style_render_icon(
22935        style: *mut GtkStyle,
22936        source: *const GtkIconSource,
22937        direction: GtkTextDirection,
22938        state: GtkStateType,
22939        size: GtkIconSize,
22940        widget: *mut GtkWidget,
22941        detail: *const c_char,
22942    ) -> *mut gdk_pixbuf::GdkPixbuf;
22943    pub fn gtk_style_set_background(
22944        style: *mut GtkStyle,
22945        window: *mut gdk::GdkWindow,
22946        state_type: GtkStateType,
22947    );
22948
22949    //=========================================================================
22950    // GtkStyleContext
22951    //=========================================================================
22952    pub fn gtk_style_context_get_type() -> GType;
22953    pub fn gtk_style_context_new() -> *mut GtkStyleContext;
22954    pub fn gtk_style_context_add_provider_for_screen(
22955        screen: *mut gdk::GdkScreen,
22956        provider: *mut GtkStyleProvider,
22957        priority: c_uint,
22958    );
22959    pub fn gtk_style_context_remove_provider_for_screen(
22960        screen: *mut gdk::GdkScreen,
22961        provider: *mut GtkStyleProvider,
22962    );
22963    pub fn gtk_style_context_reset_widgets(screen: *mut gdk::GdkScreen);
22964    pub fn gtk_style_context_add_class(context: *mut GtkStyleContext, class_name: *const c_char);
22965    pub fn gtk_style_context_add_provider(
22966        context: *mut GtkStyleContext,
22967        provider: *mut GtkStyleProvider,
22968        priority: c_uint,
22969    );
22970    pub fn gtk_style_context_add_region(
22971        context: *mut GtkStyleContext,
22972        region_name: *const c_char,
22973        flags: GtkRegionFlags,
22974    );
22975    pub fn gtk_style_context_cancel_animations(context: *mut GtkStyleContext, region_id: gpointer);
22976    pub fn gtk_style_context_get(context: *mut GtkStyleContext, state: GtkStateFlags, ...);
22977    pub fn gtk_style_context_get_background_color(
22978        context: *mut GtkStyleContext,
22979        state: GtkStateFlags,
22980        color: *mut gdk::GdkRGBA,
22981    );
22982    pub fn gtk_style_context_get_border(
22983        context: *mut GtkStyleContext,
22984        state: GtkStateFlags,
22985        border: *mut GtkBorder,
22986    );
22987    pub fn gtk_style_context_get_border_color(
22988        context: *mut GtkStyleContext,
22989        state: GtkStateFlags,
22990        color: *mut gdk::GdkRGBA,
22991    );
22992    pub fn gtk_style_context_get_color(
22993        context: *mut GtkStyleContext,
22994        state: GtkStateFlags,
22995        color: *mut gdk::GdkRGBA,
22996    );
22997    pub fn gtk_style_context_get_direction(context: *mut GtkStyleContext) -> GtkTextDirection;
22998    pub fn gtk_style_context_get_font(
22999        context: *mut GtkStyleContext,
23000        state: GtkStateFlags,
23001    ) -> *const pango::PangoFontDescription;
23002    pub fn gtk_style_context_get_frame_clock(
23003        context: *mut GtkStyleContext,
23004    ) -> *mut gdk::GdkFrameClock;
23005    pub fn gtk_style_context_get_junction_sides(context: *mut GtkStyleContext) -> GtkJunctionSides;
23006    pub fn gtk_style_context_get_margin(
23007        context: *mut GtkStyleContext,
23008        state: GtkStateFlags,
23009        margin: *mut GtkBorder,
23010    );
23011    pub fn gtk_style_context_get_padding(
23012        context: *mut GtkStyleContext,
23013        state: GtkStateFlags,
23014        padding: *mut GtkBorder,
23015    );
23016    pub fn gtk_style_context_get_parent(context: *mut GtkStyleContext) -> *mut GtkStyleContext;
23017    pub fn gtk_style_context_get_path(context: *mut GtkStyleContext) -> *const GtkWidgetPath;
23018    pub fn gtk_style_context_get_property(
23019        context: *mut GtkStyleContext,
23020        property: *const c_char,
23021        state: GtkStateFlags,
23022        value: *mut gobject::GValue,
23023    );
23024    pub fn gtk_style_context_get_scale(context: *mut GtkStyleContext) -> c_int;
23025    pub fn gtk_style_context_get_screen(context: *mut GtkStyleContext) -> *mut gdk::GdkScreen;
23026    pub fn gtk_style_context_get_section(
23027        context: *mut GtkStyleContext,
23028        property: *const c_char,
23029    ) -> *mut GtkCssSection;
23030    pub fn gtk_style_context_get_state(context: *mut GtkStyleContext) -> GtkStateFlags;
23031    pub fn gtk_style_context_get_style(context: *mut GtkStyleContext, ...);
23032    pub fn gtk_style_context_get_style_property(
23033        context: *mut GtkStyleContext,
23034        property_name: *const c_char,
23035        value: *mut gobject::GValue,
23036    );
23037    //pub fn gtk_style_context_get_style_valist(context: *mut GtkStyleContext, args: /*Unimplemented*/va_list);
23038    //pub fn gtk_style_context_get_valist(context: *mut GtkStyleContext, state: GtkStateFlags, args: /*Unimplemented*/va_list);
23039    pub fn gtk_style_context_has_class(
23040        context: *mut GtkStyleContext,
23041        class_name: *const c_char,
23042    ) -> gboolean;
23043    pub fn gtk_style_context_has_region(
23044        context: *mut GtkStyleContext,
23045        region_name: *const c_char,
23046        flags_return: *mut GtkRegionFlags,
23047    ) -> gboolean;
23048    pub fn gtk_style_context_invalidate(context: *mut GtkStyleContext);
23049    pub fn gtk_style_context_list_classes(context: *mut GtkStyleContext) -> *mut glib::GList;
23050    pub fn gtk_style_context_list_regions(context: *mut GtkStyleContext) -> *mut glib::GList;
23051    pub fn gtk_style_context_lookup_color(
23052        context: *mut GtkStyleContext,
23053        color_name: *const c_char,
23054        color: *mut gdk::GdkRGBA,
23055    ) -> gboolean;
23056    pub fn gtk_style_context_lookup_icon_set(
23057        context: *mut GtkStyleContext,
23058        stock_id: *const c_char,
23059    ) -> *mut GtkIconSet;
23060    pub fn gtk_style_context_notify_state_change(
23061        context: *mut GtkStyleContext,
23062        window: *mut gdk::GdkWindow,
23063        region_id: gpointer,
23064        state: GtkStateType,
23065        state_value: gboolean,
23066    );
23067    pub fn gtk_style_context_pop_animatable_region(context: *mut GtkStyleContext);
23068    pub fn gtk_style_context_push_animatable_region(
23069        context: *mut GtkStyleContext,
23070        region_id: gpointer,
23071    );
23072    pub fn gtk_style_context_remove_class(context: *mut GtkStyleContext, class_name: *const c_char);
23073    pub fn gtk_style_context_remove_provider(
23074        context: *mut GtkStyleContext,
23075        provider: *mut GtkStyleProvider,
23076    );
23077    pub fn gtk_style_context_remove_region(
23078        context: *mut GtkStyleContext,
23079        region_name: *const c_char,
23080    );
23081    pub fn gtk_style_context_restore(context: *mut GtkStyleContext);
23082    pub fn gtk_style_context_save(context: *mut GtkStyleContext);
23083    pub fn gtk_style_context_scroll_animations(
23084        context: *mut GtkStyleContext,
23085        window: *mut gdk::GdkWindow,
23086        dx: c_int,
23087        dy: c_int,
23088    );
23089    pub fn gtk_style_context_set_background(
23090        context: *mut GtkStyleContext,
23091        window: *mut gdk::GdkWindow,
23092    );
23093    pub fn gtk_style_context_set_direction(
23094        context: *mut GtkStyleContext,
23095        direction: GtkTextDirection,
23096    );
23097    pub fn gtk_style_context_set_frame_clock(
23098        context: *mut GtkStyleContext,
23099        frame_clock: *mut gdk::GdkFrameClock,
23100    );
23101    pub fn gtk_style_context_set_junction_sides(
23102        context: *mut GtkStyleContext,
23103        sides: GtkJunctionSides,
23104    );
23105    pub fn gtk_style_context_set_parent(
23106        context: *mut GtkStyleContext,
23107        parent: *mut GtkStyleContext,
23108    );
23109    pub fn gtk_style_context_set_path(context: *mut GtkStyleContext, path: *mut GtkWidgetPath);
23110    pub fn gtk_style_context_set_scale(context: *mut GtkStyleContext, scale: c_int);
23111    pub fn gtk_style_context_set_screen(context: *mut GtkStyleContext, screen: *mut gdk::GdkScreen);
23112    pub fn gtk_style_context_set_state(context: *mut GtkStyleContext, flags: GtkStateFlags);
23113    pub fn gtk_style_context_state_is_running(
23114        context: *mut GtkStyleContext,
23115        state: GtkStateType,
23116        progress: *mut c_double,
23117    ) -> gboolean;
23118    #[cfg(any(feature = "v3_20", feature = "dox"))]
23119    pub fn gtk_style_context_to_string(
23120        context: *mut GtkStyleContext,
23121        flags: GtkStyleContextPrintFlags,
23122    ) -> *mut c_char;
23123
23124    //=========================================================================
23125    // GtkStyleProperties
23126    //=========================================================================
23127    pub fn gtk_style_properties_get_type() -> GType;
23128    pub fn gtk_style_properties_new() -> *mut GtkStyleProperties;
23129    pub fn gtk_style_properties_lookup_property(
23130        property_name: *const c_char,
23131        parse_func: *mut GtkStylePropertyParser,
23132        pspec: *mut *mut gobject::GParamSpec,
23133    ) -> gboolean;
23134    pub fn gtk_style_properties_register_property(
23135        parse_func: GtkStylePropertyParser,
23136        pspec: *mut gobject::GParamSpec,
23137    );
23138    pub fn gtk_style_properties_clear(props: *mut GtkStyleProperties);
23139    pub fn gtk_style_properties_get(props: *mut GtkStyleProperties, state: GtkStateFlags, ...);
23140    pub fn gtk_style_properties_get_property(
23141        props: *mut GtkStyleProperties,
23142        property: *const c_char,
23143        state: GtkStateFlags,
23144        value: *mut gobject::GValue,
23145    ) -> gboolean;
23146    //pub fn gtk_style_properties_get_valist(props: *mut GtkStyleProperties, state: GtkStateFlags, args: /*Unimplemented*/va_list);
23147    pub fn gtk_style_properties_lookup_color(
23148        props: *mut GtkStyleProperties,
23149        name: *const c_char,
23150    ) -> *mut GtkSymbolicColor;
23151    pub fn gtk_style_properties_map_color(
23152        props: *mut GtkStyleProperties,
23153        name: *const c_char,
23154        color: *mut GtkSymbolicColor,
23155    );
23156    pub fn gtk_style_properties_merge(
23157        props: *mut GtkStyleProperties,
23158        props_to_merge: *const GtkStyleProperties,
23159        replace: gboolean,
23160    );
23161    pub fn gtk_style_properties_set(props: *mut GtkStyleProperties, state: GtkStateFlags, ...);
23162    pub fn gtk_style_properties_set_property(
23163        props: *mut GtkStyleProperties,
23164        property: *const c_char,
23165        state: GtkStateFlags,
23166        value: *const gobject::GValue,
23167    );
23168    //pub fn gtk_style_properties_set_valist(props: *mut GtkStyleProperties, state: GtkStateFlags, args: /*Unimplemented*/va_list);
23169    pub fn gtk_style_properties_unset_property(
23170        props: *mut GtkStyleProperties,
23171        property: *const c_char,
23172        state: GtkStateFlags,
23173    );
23174
23175    //=========================================================================
23176    // GtkSwitch
23177    //=========================================================================
23178    pub fn gtk_switch_get_type() -> GType;
23179    pub fn gtk_switch_new() -> *mut GtkWidget;
23180    pub fn gtk_switch_get_active(sw: *mut GtkSwitch) -> gboolean;
23181    pub fn gtk_switch_get_state(sw: *mut GtkSwitch) -> gboolean;
23182    pub fn gtk_switch_set_active(sw: *mut GtkSwitch, is_active: gboolean);
23183    pub fn gtk_switch_set_state(sw: *mut GtkSwitch, state: gboolean);
23184
23185    //=========================================================================
23186    // GtkSwitchAccessible
23187    //=========================================================================
23188    pub fn gtk_switch_accessible_get_type() -> GType;
23189
23190    //=========================================================================
23191    // GtkTable
23192    //=========================================================================
23193    pub fn gtk_table_get_type() -> GType;
23194    pub fn gtk_table_new(rows: c_uint, columns: c_uint, homogeneous: gboolean) -> *mut GtkWidget;
23195    pub fn gtk_table_attach(
23196        table: *mut GtkTable,
23197        child: *mut GtkWidget,
23198        left_attach: c_uint,
23199        right_attach: c_uint,
23200        top_attach: c_uint,
23201        bottom_attach: c_uint,
23202        xoptions: GtkAttachOptions,
23203        yoptions: GtkAttachOptions,
23204        xpadding: c_uint,
23205        ypadding: c_uint,
23206    );
23207    pub fn gtk_table_attach_defaults(
23208        table: *mut GtkTable,
23209        widget: *mut GtkWidget,
23210        left_attach: c_uint,
23211        right_attach: c_uint,
23212        top_attach: c_uint,
23213        bottom_attach: c_uint,
23214    );
23215    pub fn gtk_table_get_col_spacing(table: *mut GtkTable, column: c_uint) -> c_uint;
23216    pub fn gtk_table_get_default_col_spacing(table: *mut GtkTable) -> c_uint;
23217    pub fn gtk_table_get_default_row_spacing(table: *mut GtkTable) -> c_uint;
23218    pub fn gtk_table_get_homogeneous(table: *mut GtkTable) -> gboolean;
23219    pub fn gtk_table_get_row_spacing(table: *mut GtkTable, row: c_uint) -> c_uint;
23220    pub fn gtk_table_get_size(table: *mut GtkTable, rows: *mut c_uint, columns: *mut c_uint);
23221    pub fn gtk_table_resize(table: *mut GtkTable, rows: c_uint, columns: c_uint);
23222    pub fn gtk_table_set_col_spacing(table: *mut GtkTable, column: c_uint, spacing: c_uint);
23223    pub fn gtk_table_set_col_spacings(table: *mut GtkTable, spacing: c_uint);
23224    pub fn gtk_table_set_homogeneous(table: *mut GtkTable, homogeneous: gboolean);
23225    pub fn gtk_table_set_row_spacing(table: *mut GtkTable, row: c_uint, spacing: c_uint);
23226    pub fn gtk_table_set_row_spacings(table: *mut GtkTable, spacing: c_uint);
23227
23228    //=========================================================================
23229    // GtkTearoffMenuItem
23230    //=========================================================================
23231    pub fn gtk_tearoff_menu_item_get_type() -> GType;
23232    pub fn gtk_tearoff_menu_item_new() -> *mut GtkWidget;
23233
23234    //=========================================================================
23235    // GtkTextBuffer
23236    //=========================================================================
23237    pub fn gtk_text_buffer_get_type() -> GType;
23238    pub fn gtk_text_buffer_new(table: *mut GtkTextTagTable) -> *mut GtkTextBuffer;
23239    pub fn gtk_text_buffer_add_mark(
23240        buffer: *mut GtkTextBuffer,
23241        mark: *mut GtkTextMark,
23242        where_: *const GtkTextIter,
23243    );
23244    pub fn gtk_text_buffer_add_selection_clipboard(
23245        buffer: *mut GtkTextBuffer,
23246        clipboard: *mut GtkClipboard,
23247    );
23248    pub fn gtk_text_buffer_apply_tag(
23249        buffer: *mut GtkTextBuffer,
23250        tag: *mut GtkTextTag,
23251        start: *const GtkTextIter,
23252        end: *const GtkTextIter,
23253    );
23254    pub fn gtk_text_buffer_apply_tag_by_name(
23255        buffer: *mut GtkTextBuffer,
23256        name: *const c_char,
23257        start: *const GtkTextIter,
23258        end: *const GtkTextIter,
23259    );
23260    pub fn gtk_text_buffer_backspace(
23261        buffer: *mut GtkTextBuffer,
23262        iter: *mut GtkTextIter,
23263        interactive: gboolean,
23264        default_editable: gboolean,
23265    ) -> gboolean;
23266    pub fn gtk_text_buffer_begin_user_action(buffer: *mut GtkTextBuffer);
23267    pub fn gtk_text_buffer_copy_clipboard(buffer: *mut GtkTextBuffer, clipboard: *mut GtkClipboard);
23268    pub fn gtk_text_buffer_create_child_anchor(
23269        buffer: *mut GtkTextBuffer,
23270        iter: *mut GtkTextIter,
23271    ) -> *mut GtkTextChildAnchor;
23272    pub fn gtk_text_buffer_create_mark(
23273        buffer: *mut GtkTextBuffer,
23274        mark_name: *const c_char,
23275        where_: *const GtkTextIter,
23276        left_gravity: gboolean,
23277    ) -> *mut GtkTextMark;
23278    pub fn gtk_text_buffer_create_tag(
23279        buffer: *mut GtkTextBuffer,
23280        tag_name: *const c_char,
23281        first_property_name: *const c_char,
23282        ...
23283    ) -> *mut GtkTextTag;
23284    pub fn gtk_text_buffer_cut_clipboard(
23285        buffer: *mut GtkTextBuffer,
23286        clipboard: *mut GtkClipboard,
23287        default_editable: gboolean,
23288    );
23289    pub fn gtk_text_buffer_delete(
23290        buffer: *mut GtkTextBuffer,
23291        start: *mut GtkTextIter,
23292        end: *mut GtkTextIter,
23293    );
23294    pub fn gtk_text_buffer_delete_interactive(
23295        buffer: *mut GtkTextBuffer,
23296        start_iter: *mut GtkTextIter,
23297        end_iter: *mut GtkTextIter,
23298        default_editable: gboolean,
23299    ) -> gboolean;
23300    pub fn gtk_text_buffer_delete_mark(buffer: *mut GtkTextBuffer, mark: *mut GtkTextMark);
23301    pub fn gtk_text_buffer_delete_mark_by_name(buffer: *mut GtkTextBuffer, name: *const c_char);
23302    pub fn gtk_text_buffer_delete_selection(
23303        buffer: *mut GtkTextBuffer,
23304        interactive: gboolean,
23305        default_editable: gboolean,
23306    ) -> gboolean;
23307    pub fn gtk_text_buffer_deserialize(
23308        register_buffer: *mut GtkTextBuffer,
23309        content_buffer: *mut GtkTextBuffer,
23310        format: gdk::GdkAtom,
23311        iter: *mut GtkTextIter,
23312        data: *const u8,
23313        length: size_t,
23314        error: *mut *mut glib::GError,
23315    ) -> gboolean;
23316    pub fn gtk_text_buffer_deserialize_get_can_create_tags(
23317        buffer: *mut GtkTextBuffer,
23318        format: gdk::GdkAtom,
23319    ) -> gboolean;
23320    pub fn gtk_text_buffer_deserialize_set_can_create_tags(
23321        buffer: *mut GtkTextBuffer,
23322        format: gdk::GdkAtom,
23323        can_create_tags: gboolean,
23324    );
23325    pub fn gtk_text_buffer_end_user_action(buffer: *mut GtkTextBuffer);
23326    pub fn gtk_text_buffer_get_bounds(
23327        buffer: *mut GtkTextBuffer,
23328        start: *mut GtkTextIter,
23329        end: *mut GtkTextIter,
23330    );
23331    pub fn gtk_text_buffer_get_char_count(buffer: *mut GtkTextBuffer) -> c_int;
23332    pub fn gtk_text_buffer_get_copy_target_list(buffer: *mut GtkTextBuffer) -> *mut GtkTargetList;
23333    pub fn gtk_text_buffer_get_deserialize_formats(
23334        buffer: *mut GtkTextBuffer,
23335        n_formats: *mut c_int,
23336    ) -> *mut gdk::GdkAtom;
23337    pub fn gtk_text_buffer_get_end_iter(buffer: *mut GtkTextBuffer, iter: *mut GtkTextIter);
23338    pub fn gtk_text_buffer_get_has_selection(buffer: *mut GtkTextBuffer) -> gboolean;
23339    pub fn gtk_text_buffer_get_insert(buffer: *mut GtkTextBuffer) -> *mut GtkTextMark;
23340    pub fn gtk_text_buffer_get_iter_at_child_anchor(
23341        buffer: *mut GtkTextBuffer,
23342        iter: *mut GtkTextIter,
23343        anchor: *mut GtkTextChildAnchor,
23344    );
23345    pub fn gtk_text_buffer_get_iter_at_line(
23346        buffer: *mut GtkTextBuffer,
23347        iter: *mut GtkTextIter,
23348        line_number: c_int,
23349    );
23350    pub fn gtk_text_buffer_get_iter_at_line_index(
23351        buffer: *mut GtkTextBuffer,
23352        iter: *mut GtkTextIter,
23353        line_number: c_int,
23354        byte_index: c_int,
23355    );
23356    pub fn gtk_text_buffer_get_iter_at_line_offset(
23357        buffer: *mut GtkTextBuffer,
23358        iter: *mut GtkTextIter,
23359        line_number: c_int,
23360        char_offset: c_int,
23361    );
23362    pub fn gtk_text_buffer_get_iter_at_mark(
23363        buffer: *mut GtkTextBuffer,
23364        iter: *mut GtkTextIter,
23365        mark: *mut GtkTextMark,
23366    );
23367    pub fn gtk_text_buffer_get_iter_at_offset(
23368        buffer: *mut GtkTextBuffer,
23369        iter: *mut GtkTextIter,
23370        char_offset: c_int,
23371    );
23372    pub fn gtk_text_buffer_get_line_count(buffer: *mut GtkTextBuffer) -> c_int;
23373    pub fn gtk_text_buffer_get_mark(
23374        buffer: *mut GtkTextBuffer,
23375        name: *const c_char,
23376    ) -> *mut GtkTextMark;
23377    pub fn gtk_text_buffer_get_modified(buffer: *mut GtkTextBuffer) -> gboolean;
23378    pub fn gtk_text_buffer_get_paste_target_list(buffer: *mut GtkTextBuffer) -> *mut GtkTargetList;
23379    pub fn gtk_text_buffer_get_selection_bound(buffer: *mut GtkTextBuffer) -> *mut GtkTextMark;
23380    pub fn gtk_text_buffer_get_selection_bounds(
23381        buffer: *mut GtkTextBuffer,
23382        start: *mut GtkTextIter,
23383        end: *mut GtkTextIter,
23384    ) -> gboolean;
23385    pub fn gtk_text_buffer_get_serialize_formats(
23386        buffer: *mut GtkTextBuffer,
23387        n_formats: *mut c_int,
23388    ) -> *mut gdk::GdkAtom;
23389    pub fn gtk_text_buffer_get_slice(
23390        buffer: *mut GtkTextBuffer,
23391        start: *const GtkTextIter,
23392        end: *const GtkTextIter,
23393        include_hidden_chars: gboolean,
23394    ) -> *mut c_char;
23395    pub fn gtk_text_buffer_get_start_iter(buffer: *mut GtkTextBuffer, iter: *mut GtkTextIter);
23396    pub fn gtk_text_buffer_get_tag_table(buffer: *mut GtkTextBuffer) -> *mut GtkTextTagTable;
23397    pub fn gtk_text_buffer_get_text(
23398        buffer: *mut GtkTextBuffer,
23399        start: *const GtkTextIter,
23400        end: *const GtkTextIter,
23401        include_hidden_chars: gboolean,
23402    ) -> *mut c_char;
23403    pub fn gtk_text_buffer_insert(
23404        buffer: *mut GtkTextBuffer,
23405        iter: *mut GtkTextIter,
23406        text: *const c_char,
23407        len: c_int,
23408    );
23409    pub fn gtk_text_buffer_insert_at_cursor(
23410        buffer: *mut GtkTextBuffer,
23411        text: *const c_char,
23412        len: c_int,
23413    );
23414    pub fn gtk_text_buffer_insert_child_anchor(
23415        buffer: *mut GtkTextBuffer,
23416        iter: *mut GtkTextIter,
23417        anchor: *mut GtkTextChildAnchor,
23418    );
23419    pub fn gtk_text_buffer_insert_interactive(
23420        buffer: *mut GtkTextBuffer,
23421        iter: *mut GtkTextIter,
23422        text: *const c_char,
23423        len: c_int,
23424        default_editable: gboolean,
23425    ) -> gboolean;
23426    pub fn gtk_text_buffer_insert_interactive_at_cursor(
23427        buffer: *mut GtkTextBuffer,
23428        text: *const c_char,
23429        len: c_int,
23430        default_editable: gboolean,
23431    ) -> gboolean;
23432    #[cfg(any(feature = "v3_16", feature = "dox"))]
23433    pub fn gtk_text_buffer_insert_markup(
23434        buffer: *mut GtkTextBuffer,
23435        iter: *mut GtkTextIter,
23436        markup: *const c_char,
23437        len: c_int,
23438    );
23439    pub fn gtk_text_buffer_insert_pixbuf(
23440        buffer: *mut GtkTextBuffer,
23441        iter: *mut GtkTextIter,
23442        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
23443    );
23444    pub fn gtk_text_buffer_insert_range(
23445        buffer: *mut GtkTextBuffer,
23446        iter: *mut GtkTextIter,
23447        start: *const GtkTextIter,
23448        end: *const GtkTextIter,
23449    );
23450    pub fn gtk_text_buffer_insert_range_interactive(
23451        buffer: *mut GtkTextBuffer,
23452        iter: *mut GtkTextIter,
23453        start: *const GtkTextIter,
23454        end: *const GtkTextIter,
23455        default_editable: gboolean,
23456    ) -> gboolean;
23457    pub fn gtk_text_buffer_insert_with_tags(
23458        buffer: *mut GtkTextBuffer,
23459        iter: *mut GtkTextIter,
23460        text: *const c_char,
23461        len: c_int,
23462        first_tag: *mut GtkTextTag,
23463        ...
23464    );
23465    pub fn gtk_text_buffer_insert_with_tags_by_name(
23466        buffer: *mut GtkTextBuffer,
23467        iter: *mut GtkTextIter,
23468        text: *const c_char,
23469        len: c_int,
23470        first_tag_name: *const c_char,
23471        ...
23472    );
23473    pub fn gtk_text_buffer_move_mark(
23474        buffer: *mut GtkTextBuffer,
23475        mark: *mut GtkTextMark,
23476        where_: *const GtkTextIter,
23477    );
23478    pub fn gtk_text_buffer_move_mark_by_name(
23479        buffer: *mut GtkTextBuffer,
23480        name: *const c_char,
23481        where_: *const GtkTextIter,
23482    );
23483    pub fn gtk_text_buffer_paste_clipboard(
23484        buffer: *mut GtkTextBuffer,
23485        clipboard: *mut GtkClipboard,
23486        override_location: *mut GtkTextIter,
23487        default_editable: gboolean,
23488    );
23489    pub fn gtk_text_buffer_place_cursor(buffer: *mut GtkTextBuffer, where_: *const GtkTextIter);
23490    pub fn gtk_text_buffer_register_deserialize_format(
23491        buffer: *mut GtkTextBuffer,
23492        mime_type: *const c_char,
23493        function: GtkTextBufferDeserializeFunc,
23494        user_data: gpointer,
23495        user_data_destroy: glib::GDestroyNotify,
23496    ) -> gdk::GdkAtom;
23497    pub fn gtk_text_buffer_register_deserialize_tagset(
23498        buffer: *mut GtkTextBuffer,
23499        tagset_name: *const c_char,
23500    ) -> gdk::GdkAtom;
23501    pub fn gtk_text_buffer_register_serialize_format(
23502        buffer: *mut GtkTextBuffer,
23503        mime_type: *const c_char,
23504        function: GtkTextBufferSerializeFunc,
23505        user_data: gpointer,
23506        user_data_destroy: glib::GDestroyNotify,
23507    ) -> gdk::GdkAtom;
23508    pub fn gtk_text_buffer_register_serialize_tagset(
23509        buffer: *mut GtkTextBuffer,
23510        tagset_name: *const c_char,
23511    ) -> gdk::GdkAtom;
23512    pub fn gtk_text_buffer_remove_all_tags(
23513        buffer: *mut GtkTextBuffer,
23514        start: *const GtkTextIter,
23515        end: *const GtkTextIter,
23516    );
23517    pub fn gtk_text_buffer_remove_selection_clipboard(
23518        buffer: *mut GtkTextBuffer,
23519        clipboard: *mut GtkClipboard,
23520    );
23521    pub fn gtk_text_buffer_remove_tag(
23522        buffer: *mut GtkTextBuffer,
23523        tag: *mut GtkTextTag,
23524        start: *const GtkTextIter,
23525        end: *const GtkTextIter,
23526    );
23527    pub fn gtk_text_buffer_remove_tag_by_name(
23528        buffer: *mut GtkTextBuffer,
23529        name: *const c_char,
23530        start: *const GtkTextIter,
23531        end: *const GtkTextIter,
23532    );
23533    pub fn gtk_text_buffer_select_range(
23534        buffer: *mut GtkTextBuffer,
23535        ins: *const GtkTextIter,
23536        bound: *const GtkTextIter,
23537    );
23538    pub fn gtk_text_buffer_serialize(
23539        register_buffer: *mut GtkTextBuffer,
23540        content_buffer: *mut GtkTextBuffer,
23541        format: gdk::GdkAtom,
23542        start: *const GtkTextIter,
23543        end: *const GtkTextIter,
23544        length: *mut size_t,
23545    ) -> *mut u8;
23546    pub fn gtk_text_buffer_set_modified(buffer: *mut GtkTextBuffer, setting: gboolean);
23547    pub fn gtk_text_buffer_set_text(buffer: *mut GtkTextBuffer, text: *const c_char, len: c_int);
23548    pub fn gtk_text_buffer_unregister_deserialize_format(
23549        buffer: *mut GtkTextBuffer,
23550        format: gdk::GdkAtom,
23551    );
23552    pub fn gtk_text_buffer_unregister_serialize_format(
23553        buffer: *mut GtkTextBuffer,
23554        format: gdk::GdkAtom,
23555    );
23556
23557    //=========================================================================
23558    // GtkTextCellAccessible
23559    //=========================================================================
23560    pub fn gtk_text_cell_accessible_get_type() -> GType;
23561
23562    //=========================================================================
23563    // GtkTextChildAnchor
23564    //=========================================================================
23565    pub fn gtk_text_child_anchor_get_type() -> GType;
23566    pub fn gtk_text_child_anchor_new() -> *mut GtkTextChildAnchor;
23567    pub fn gtk_text_child_anchor_get_deleted(anchor: *mut GtkTextChildAnchor) -> gboolean;
23568    pub fn gtk_text_child_anchor_get_widgets(anchor: *mut GtkTextChildAnchor) -> *mut glib::GList;
23569
23570    //=========================================================================
23571    // GtkTextMark
23572    //=========================================================================
23573    pub fn gtk_text_mark_get_type() -> GType;
23574    pub fn gtk_text_mark_new(name: *const c_char, left_gravity: gboolean) -> *mut GtkTextMark;
23575    pub fn gtk_text_mark_get_buffer(mark: *mut GtkTextMark) -> *mut GtkTextBuffer;
23576    pub fn gtk_text_mark_get_deleted(mark: *mut GtkTextMark) -> gboolean;
23577    pub fn gtk_text_mark_get_left_gravity(mark: *mut GtkTextMark) -> gboolean;
23578    pub fn gtk_text_mark_get_name(mark: *mut GtkTextMark) -> *const c_char;
23579    pub fn gtk_text_mark_get_visible(mark: *mut GtkTextMark) -> gboolean;
23580    pub fn gtk_text_mark_set_visible(mark: *mut GtkTextMark, setting: gboolean);
23581
23582    //=========================================================================
23583    // GtkTextTag
23584    //=========================================================================
23585    pub fn gtk_text_tag_get_type() -> GType;
23586    pub fn gtk_text_tag_new(name: *const c_char) -> *mut GtkTextTag;
23587    #[cfg(any(feature = "v3_20", feature = "dox"))]
23588    pub fn gtk_text_tag_changed(tag: *mut GtkTextTag, size_changed: gboolean);
23589    pub fn gtk_text_tag_event(
23590        tag: *mut GtkTextTag,
23591        event_object: *mut gobject::GObject,
23592        event: *mut gdk::GdkEvent,
23593        iter: *const GtkTextIter,
23594    ) -> gboolean;
23595    pub fn gtk_text_tag_get_priority(tag: *mut GtkTextTag) -> c_int;
23596    pub fn gtk_text_tag_set_priority(tag: *mut GtkTextTag, priority: c_int);
23597
23598    //=========================================================================
23599    // GtkTextTagTable
23600    //=========================================================================
23601    pub fn gtk_text_tag_table_get_type() -> GType;
23602    pub fn gtk_text_tag_table_new() -> *mut GtkTextTagTable;
23603    pub fn gtk_text_tag_table_add(table: *mut GtkTextTagTable, tag: *mut GtkTextTag) -> gboolean;
23604    pub fn gtk_text_tag_table_foreach(
23605        table: *mut GtkTextTagTable,
23606        func: GtkTextTagTableForeach,
23607        data: gpointer,
23608    );
23609    pub fn gtk_text_tag_table_get_size(table: *mut GtkTextTagTable) -> c_int;
23610    pub fn gtk_text_tag_table_lookup(
23611        table: *mut GtkTextTagTable,
23612        name: *const c_char,
23613    ) -> *mut GtkTextTag;
23614    pub fn gtk_text_tag_table_remove(table: *mut GtkTextTagTable, tag: *mut GtkTextTag);
23615
23616    //=========================================================================
23617    // GtkTextView
23618    //=========================================================================
23619    pub fn gtk_text_view_get_type() -> GType;
23620    pub fn gtk_text_view_new() -> *mut GtkWidget;
23621    pub fn gtk_text_view_new_with_buffer(buffer: *mut GtkTextBuffer) -> *mut GtkWidget;
23622    pub fn gtk_text_view_add_child_at_anchor(
23623        text_view: *mut GtkTextView,
23624        child: *mut GtkWidget,
23625        anchor: *mut GtkTextChildAnchor,
23626    );
23627    pub fn gtk_text_view_add_child_in_window(
23628        text_view: *mut GtkTextView,
23629        child: *mut GtkWidget,
23630        which_window: GtkTextWindowType,
23631        xpos: c_int,
23632        ypos: c_int,
23633    );
23634    pub fn gtk_text_view_backward_display_line(
23635        text_view: *mut GtkTextView,
23636        iter: *mut GtkTextIter,
23637    ) -> gboolean;
23638    pub fn gtk_text_view_backward_display_line_start(
23639        text_view: *mut GtkTextView,
23640        iter: *mut GtkTextIter,
23641    ) -> gboolean;
23642    pub fn gtk_text_view_buffer_to_window_coords(
23643        text_view: *mut GtkTextView,
23644        win: GtkTextWindowType,
23645        buffer_x: c_int,
23646        buffer_y: c_int,
23647        window_x: *mut c_int,
23648        window_y: *mut c_int,
23649    );
23650    pub fn gtk_text_view_forward_display_line(
23651        text_view: *mut GtkTextView,
23652        iter: *mut GtkTextIter,
23653    ) -> gboolean;
23654    pub fn gtk_text_view_forward_display_line_end(
23655        text_view: *mut GtkTextView,
23656        iter: *mut GtkTextIter,
23657    ) -> gboolean;
23658    pub fn gtk_text_view_get_accepts_tab(text_view: *mut GtkTextView) -> gboolean;
23659    pub fn gtk_text_view_get_border_window_size(
23660        text_view: *mut GtkTextView,
23661        type_: GtkTextWindowType,
23662    ) -> c_int;
23663    #[cfg(any(feature = "v3_18", feature = "dox"))]
23664    pub fn gtk_text_view_get_bottom_margin(text_view: *mut GtkTextView) -> c_int;
23665    pub fn gtk_text_view_get_buffer(text_view: *mut GtkTextView) -> *mut GtkTextBuffer;
23666    pub fn gtk_text_view_get_cursor_locations(
23667        text_view: *mut GtkTextView,
23668        iter: *const GtkTextIter,
23669        strong: *mut gdk::GdkRectangle,
23670        weak: *mut gdk::GdkRectangle,
23671    );
23672    pub fn gtk_text_view_get_cursor_visible(text_view: *mut GtkTextView) -> gboolean;
23673    pub fn gtk_text_view_get_default_attributes(
23674        text_view: *mut GtkTextView,
23675    ) -> *mut GtkTextAttributes;
23676    pub fn gtk_text_view_get_editable(text_view: *mut GtkTextView) -> gboolean;
23677    pub fn gtk_text_view_get_hadjustment(text_view: *mut GtkTextView) -> *mut GtkAdjustment;
23678    pub fn gtk_text_view_get_indent(text_view: *mut GtkTextView) -> c_int;
23679    pub fn gtk_text_view_get_input_hints(text_view: *mut GtkTextView) -> GtkInputHints;
23680    pub fn gtk_text_view_get_input_purpose(text_view: *mut GtkTextView) -> GtkInputPurpose;
23681    pub fn gtk_text_view_get_iter_at_location(
23682        text_view: *mut GtkTextView,
23683        iter: *mut GtkTextIter,
23684        x: c_int,
23685        y: c_int,
23686    ) -> gboolean;
23687    pub fn gtk_text_view_get_iter_at_position(
23688        text_view: *mut GtkTextView,
23689        iter: *mut GtkTextIter,
23690        trailing: *mut c_int,
23691        x: c_int,
23692        y: c_int,
23693    ) -> gboolean;
23694    pub fn gtk_text_view_get_iter_location(
23695        text_view: *mut GtkTextView,
23696        iter: *const GtkTextIter,
23697        location: *mut gdk::GdkRectangle,
23698    );
23699    pub fn gtk_text_view_get_justification(text_view: *mut GtkTextView) -> GtkJustification;
23700    pub fn gtk_text_view_get_left_margin(text_view: *mut GtkTextView) -> c_int;
23701    pub fn gtk_text_view_get_line_at_y(
23702        text_view: *mut GtkTextView,
23703        target_iter: *mut GtkTextIter,
23704        y: c_int,
23705        line_top: *mut c_int,
23706    );
23707    pub fn gtk_text_view_get_line_yrange(
23708        text_view: *mut GtkTextView,
23709        iter: *const GtkTextIter,
23710        y: *mut c_int,
23711        height: *mut c_int,
23712    );
23713    #[cfg(any(feature = "v3_16", feature = "dox"))]
23714    pub fn gtk_text_view_get_monospace(text_view: *mut GtkTextView) -> gboolean;
23715    pub fn gtk_text_view_get_overwrite(text_view: *mut GtkTextView) -> gboolean;
23716    pub fn gtk_text_view_get_pixels_above_lines(text_view: *mut GtkTextView) -> c_int;
23717    pub fn gtk_text_view_get_pixels_below_lines(text_view: *mut GtkTextView) -> c_int;
23718    pub fn gtk_text_view_get_pixels_inside_wrap(text_view: *mut GtkTextView) -> c_int;
23719    pub fn gtk_text_view_get_right_margin(text_view: *mut GtkTextView) -> c_int;
23720    pub fn gtk_text_view_get_tabs(text_view: *mut GtkTextView) -> *mut pango::PangoTabArray;
23721    #[cfg(any(feature = "v3_18", feature = "dox"))]
23722    pub fn gtk_text_view_get_top_margin(text_view: *mut GtkTextView) -> c_int;
23723    pub fn gtk_text_view_get_vadjustment(text_view: *mut GtkTextView) -> *mut GtkAdjustment;
23724    pub fn gtk_text_view_get_visible_rect(
23725        text_view: *mut GtkTextView,
23726        visible_rect: *mut gdk::GdkRectangle,
23727    );
23728    pub fn gtk_text_view_get_window(
23729        text_view: *mut GtkTextView,
23730        win: GtkTextWindowType,
23731    ) -> *mut gdk::GdkWindow;
23732    pub fn gtk_text_view_get_window_type(
23733        text_view: *mut GtkTextView,
23734        window: *mut gdk::GdkWindow,
23735    ) -> GtkTextWindowType;
23736    pub fn gtk_text_view_get_wrap_mode(text_view: *mut GtkTextView) -> GtkWrapMode;
23737    pub fn gtk_text_view_im_context_filter_keypress(
23738        text_view: *mut GtkTextView,
23739        event: *mut gdk::GdkEventKey,
23740    ) -> gboolean;
23741    pub fn gtk_text_view_move_child(
23742        text_view: *mut GtkTextView,
23743        child: *mut GtkWidget,
23744        xpos: c_int,
23745        ypos: c_int,
23746    );
23747    pub fn gtk_text_view_move_mark_onscreen(
23748        text_view: *mut GtkTextView,
23749        mark: *mut GtkTextMark,
23750    ) -> gboolean;
23751    pub fn gtk_text_view_move_visually(
23752        text_view: *mut GtkTextView,
23753        iter: *mut GtkTextIter,
23754        count: c_int,
23755    ) -> gboolean;
23756    pub fn gtk_text_view_place_cursor_onscreen(text_view: *mut GtkTextView) -> gboolean;
23757    #[cfg(any(feature = "v3_20", feature = "dox"))]
23758    pub fn gtk_text_view_reset_cursor_blink(text_view: *mut GtkTextView);
23759    pub fn gtk_text_view_reset_im_context(text_view: *mut GtkTextView);
23760    pub fn gtk_text_view_scroll_mark_onscreen(text_view: *mut GtkTextView, mark: *mut GtkTextMark);
23761    pub fn gtk_text_view_scroll_to_iter(
23762        text_view: *mut GtkTextView,
23763        iter: *mut GtkTextIter,
23764        within_margin: c_double,
23765        use_align: gboolean,
23766        xalign: c_double,
23767        yalign: c_double,
23768    ) -> gboolean;
23769    pub fn gtk_text_view_scroll_to_mark(
23770        text_view: *mut GtkTextView,
23771        mark: *mut GtkTextMark,
23772        within_margin: c_double,
23773        use_align: gboolean,
23774        xalign: c_double,
23775        yalign: c_double,
23776    );
23777    pub fn gtk_text_view_set_accepts_tab(text_view: *mut GtkTextView, accepts_tab: gboolean);
23778    pub fn gtk_text_view_set_border_window_size(
23779        text_view: *mut GtkTextView,
23780        type_: GtkTextWindowType,
23781        size: c_int,
23782    );
23783    #[cfg(any(feature = "v3_18", feature = "dox"))]
23784    pub fn gtk_text_view_set_bottom_margin(text_view: *mut GtkTextView, bottom_margin: c_int);
23785    pub fn gtk_text_view_set_buffer(text_view: *mut GtkTextView, buffer: *mut GtkTextBuffer);
23786    pub fn gtk_text_view_set_cursor_visible(text_view: *mut GtkTextView, setting: gboolean);
23787    pub fn gtk_text_view_set_editable(text_view: *mut GtkTextView, setting: gboolean);
23788    pub fn gtk_text_view_set_indent(text_view: *mut GtkTextView, indent: c_int);
23789    pub fn gtk_text_view_set_input_hints(text_view: *mut GtkTextView, hints: GtkInputHints);
23790    pub fn gtk_text_view_set_input_purpose(text_view: *mut GtkTextView, purpose: GtkInputPurpose);
23791    pub fn gtk_text_view_set_justification(
23792        text_view: *mut GtkTextView,
23793        justification: GtkJustification,
23794    );
23795    pub fn gtk_text_view_set_left_margin(text_view: *mut GtkTextView, left_margin: c_int);
23796    #[cfg(any(feature = "v3_16", feature = "dox"))]
23797    pub fn gtk_text_view_set_monospace(text_view: *mut GtkTextView, monospace: gboolean);
23798    pub fn gtk_text_view_set_overwrite(text_view: *mut GtkTextView, overwrite: gboolean);
23799    pub fn gtk_text_view_set_pixels_above_lines(
23800        text_view: *mut GtkTextView,
23801        pixels_above_lines: c_int,
23802    );
23803    pub fn gtk_text_view_set_pixels_below_lines(
23804        text_view: *mut GtkTextView,
23805        pixels_below_lines: c_int,
23806    );
23807    pub fn gtk_text_view_set_pixels_inside_wrap(
23808        text_view: *mut GtkTextView,
23809        pixels_inside_wrap: c_int,
23810    );
23811    pub fn gtk_text_view_set_right_margin(text_view: *mut GtkTextView, right_margin: c_int);
23812    pub fn gtk_text_view_set_tabs(text_view: *mut GtkTextView, tabs: *mut pango::PangoTabArray);
23813    #[cfg(any(feature = "v3_18", feature = "dox"))]
23814    pub fn gtk_text_view_set_top_margin(text_view: *mut GtkTextView, top_margin: c_int);
23815    pub fn gtk_text_view_set_wrap_mode(text_view: *mut GtkTextView, wrap_mode: GtkWrapMode);
23816    pub fn gtk_text_view_starts_display_line(
23817        text_view: *mut GtkTextView,
23818        iter: *const GtkTextIter,
23819    ) -> gboolean;
23820    pub fn gtk_text_view_window_to_buffer_coords(
23821        text_view: *mut GtkTextView,
23822        win: GtkTextWindowType,
23823        window_x: c_int,
23824        window_y: c_int,
23825        buffer_x: *mut c_int,
23826        buffer_y: *mut c_int,
23827    );
23828
23829    //=========================================================================
23830    // GtkTextViewAccessible
23831    //=========================================================================
23832    pub fn gtk_text_view_accessible_get_type() -> GType;
23833
23834    //=========================================================================
23835    // GtkThemingEngine
23836    //=========================================================================
23837    pub fn gtk_theming_engine_get_type() -> GType;
23838    pub fn gtk_theming_engine_load(name: *const c_char) -> *mut GtkThemingEngine;
23839    pub fn gtk_theming_engine_register_property(
23840        name_space: *const c_char,
23841        parse_func: GtkStylePropertyParser,
23842        pspec: *mut gobject::GParamSpec,
23843    );
23844    pub fn gtk_theming_engine_get(engine: *mut GtkThemingEngine, state: GtkStateFlags, ...);
23845    pub fn gtk_theming_engine_get_background_color(
23846        engine: *mut GtkThemingEngine,
23847        state: GtkStateFlags,
23848        color: *mut gdk::GdkRGBA,
23849    );
23850    pub fn gtk_theming_engine_get_border(
23851        engine: *mut GtkThemingEngine,
23852        state: GtkStateFlags,
23853        border: *mut GtkBorder,
23854    );
23855    pub fn gtk_theming_engine_get_border_color(
23856        engine: *mut GtkThemingEngine,
23857        state: GtkStateFlags,
23858        color: *mut gdk::GdkRGBA,
23859    );
23860    pub fn gtk_theming_engine_get_color(
23861        engine: *mut GtkThemingEngine,
23862        state: GtkStateFlags,
23863        color: *mut gdk::GdkRGBA,
23864    );
23865    pub fn gtk_theming_engine_get_direction(engine: *mut GtkThemingEngine) -> GtkTextDirection;
23866    pub fn gtk_theming_engine_get_font(
23867        engine: *mut GtkThemingEngine,
23868        state: GtkStateFlags,
23869    ) -> *const pango::PangoFontDescription;
23870    pub fn gtk_theming_engine_get_junction_sides(engine: *mut GtkThemingEngine)
23871        -> GtkJunctionSides;
23872    pub fn gtk_theming_engine_get_margin(
23873        engine: *mut GtkThemingEngine,
23874        state: GtkStateFlags,
23875        margin: *mut GtkBorder,
23876    );
23877    pub fn gtk_theming_engine_get_padding(
23878        engine: *mut GtkThemingEngine,
23879        state: GtkStateFlags,
23880        padding: *mut GtkBorder,
23881    );
23882    pub fn gtk_theming_engine_get_path(engine: *mut GtkThemingEngine) -> *const GtkWidgetPath;
23883    pub fn gtk_theming_engine_get_property(
23884        engine: *mut GtkThemingEngine,
23885        property: *const c_char,
23886        state: GtkStateFlags,
23887        value: *mut gobject::GValue,
23888    );
23889    pub fn gtk_theming_engine_get_screen(engine: *mut GtkThemingEngine) -> *mut gdk::GdkScreen;
23890    pub fn gtk_theming_engine_get_state(engine: *mut GtkThemingEngine) -> GtkStateFlags;
23891    pub fn gtk_theming_engine_get_style(engine: *mut GtkThemingEngine, ...);
23892    pub fn gtk_theming_engine_get_style_property(
23893        engine: *mut GtkThemingEngine,
23894        property_name: *const c_char,
23895        value: *mut gobject::GValue,
23896    );
23897    //pub fn gtk_theming_engine_get_style_valist(engine: *mut GtkThemingEngine, args: /*Unimplemented*/va_list);
23898    //pub fn gtk_theming_engine_get_valist(engine: *mut GtkThemingEngine, state: GtkStateFlags, args: /*Unimplemented*/va_list);
23899    pub fn gtk_theming_engine_has_class(
23900        engine: *mut GtkThemingEngine,
23901        style_class: *const c_char,
23902    ) -> gboolean;
23903    pub fn gtk_theming_engine_has_region(
23904        engine: *mut GtkThemingEngine,
23905        style_region: *const c_char,
23906        flags: *mut GtkRegionFlags,
23907    ) -> gboolean;
23908    pub fn gtk_theming_engine_lookup_color(
23909        engine: *mut GtkThemingEngine,
23910        color_name: *const c_char,
23911        color: *mut gdk::GdkRGBA,
23912    ) -> gboolean;
23913    pub fn gtk_theming_engine_state_is_running(
23914        engine: *mut GtkThemingEngine,
23915        state: GtkStateType,
23916        progress: *mut c_double,
23917    ) -> gboolean;
23918
23919    //=========================================================================
23920    // GtkToggleAction
23921    //=========================================================================
23922    pub fn gtk_toggle_action_get_type() -> GType;
23923    pub fn gtk_toggle_action_new(
23924        name: *const c_char,
23925        label: *const c_char,
23926        tooltip: *const c_char,
23927        stock_id: *const c_char,
23928    ) -> *mut GtkToggleAction;
23929    pub fn gtk_toggle_action_get_active(action: *mut GtkToggleAction) -> gboolean;
23930    pub fn gtk_toggle_action_get_draw_as_radio(action: *mut GtkToggleAction) -> gboolean;
23931    pub fn gtk_toggle_action_set_active(action: *mut GtkToggleAction, is_active: gboolean);
23932    pub fn gtk_toggle_action_set_draw_as_radio(
23933        action: *mut GtkToggleAction,
23934        draw_as_radio: gboolean,
23935    );
23936    pub fn gtk_toggle_action_toggled(action: *mut GtkToggleAction);
23937
23938    //=========================================================================
23939    // GtkToggleButton
23940    //=========================================================================
23941    pub fn gtk_toggle_button_get_type() -> GType;
23942    pub fn gtk_toggle_button_new() -> *mut GtkWidget;
23943    pub fn gtk_toggle_button_new_with_label(label: *const c_char) -> *mut GtkWidget;
23944    pub fn gtk_toggle_button_new_with_mnemonic(label: *const c_char) -> *mut GtkWidget;
23945    pub fn gtk_toggle_button_get_active(toggle_button: *mut GtkToggleButton) -> gboolean;
23946    pub fn gtk_toggle_button_get_inconsistent(toggle_button: *mut GtkToggleButton) -> gboolean;
23947    pub fn gtk_toggle_button_get_mode(toggle_button: *mut GtkToggleButton) -> gboolean;
23948    pub fn gtk_toggle_button_set_active(toggle_button: *mut GtkToggleButton, is_active: gboolean);
23949    pub fn gtk_toggle_button_set_inconsistent(
23950        toggle_button: *mut GtkToggleButton,
23951        setting: gboolean,
23952    );
23953    pub fn gtk_toggle_button_set_mode(
23954        toggle_button: *mut GtkToggleButton,
23955        draw_indicator: gboolean,
23956    );
23957    pub fn gtk_toggle_button_toggled(toggle_button: *mut GtkToggleButton);
23958
23959    //=========================================================================
23960    // GtkToggleButtonAccessible
23961    //=========================================================================
23962    pub fn gtk_toggle_button_accessible_get_type() -> GType;
23963
23964    //=========================================================================
23965    // GtkToggleToolButton
23966    //=========================================================================
23967    pub fn gtk_toggle_tool_button_get_type() -> GType;
23968    pub fn gtk_toggle_tool_button_new() -> *mut GtkToolItem;
23969    pub fn gtk_toggle_tool_button_new_from_stock(stock_id: *const c_char) -> *mut GtkToolItem;
23970    pub fn gtk_toggle_tool_button_get_active(button: *mut GtkToggleToolButton) -> gboolean;
23971    pub fn gtk_toggle_tool_button_set_active(button: *mut GtkToggleToolButton, is_active: gboolean);
23972
23973    //=========================================================================
23974    // GtkToolButton
23975    //=========================================================================
23976    pub fn gtk_tool_button_get_type() -> GType;
23977    pub fn gtk_tool_button_new(
23978        icon_widget: *mut GtkWidget,
23979        label: *const c_char,
23980    ) -> *mut GtkToolItem;
23981    pub fn gtk_tool_button_new_from_stock(stock_id: *const c_char) -> *mut GtkToolItem;
23982    pub fn gtk_tool_button_get_icon_name(button: *mut GtkToolButton) -> *const c_char;
23983    pub fn gtk_tool_button_get_icon_widget(button: *mut GtkToolButton) -> *mut GtkWidget;
23984    pub fn gtk_tool_button_get_label(button: *mut GtkToolButton) -> *const c_char;
23985    pub fn gtk_tool_button_get_label_widget(button: *mut GtkToolButton) -> *mut GtkWidget;
23986    pub fn gtk_tool_button_get_stock_id(button: *mut GtkToolButton) -> *const c_char;
23987    pub fn gtk_tool_button_get_use_underline(button: *mut GtkToolButton) -> gboolean;
23988    pub fn gtk_tool_button_set_icon_name(button: *mut GtkToolButton, icon_name: *const c_char);
23989    pub fn gtk_tool_button_set_icon_widget(button: *mut GtkToolButton, icon_widget: *mut GtkWidget);
23990    pub fn gtk_tool_button_set_label(button: *mut GtkToolButton, label: *const c_char);
23991    pub fn gtk_tool_button_set_label_widget(
23992        button: *mut GtkToolButton,
23993        label_widget: *mut GtkWidget,
23994    );
23995    pub fn gtk_tool_button_set_stock_id(button: *mut GtkToolButton, stock_id: *const c_char);
23996    pub fn gtk_tool_button_set_use_underline(button: *mut GtkToolButton, use_underline: gboolean);
23997
23998    //=========================================================================
23999    // GtkToolItem
24000    //=========================================================================
24001    pub fn gtk_tool_item_get_type() -> GType;
24002    pub fn gtk_tool_item_new() -> *mut GtkToolItem;
24003    pub fn gtk_tool_item_get_ellipsize_mode(
24004        tool_item: *mut GtkToolItem,
24005    ) -> pango::PangoEllipsizeMode;
24006    pub fn gtk_tool_item_get_expand(tool_item: *mut GtkToolItem) -> gboolean;
24007    pub fn gtk_tool_item_get_homogeneous(tool_item: *mut GtkToolItem) -> gboolean;
24008    pub fn gtk_tool_item_get_icon_size(tool_item: *mut GtkToolItem) -> GtkIconSize;
24009    pub fn gtk_tool_item_get_is_important(tool_item: *mut GtkToolItem) -> gboolean;
24010    pub fn gtk_tool_item_get_orientation(tool_item: *mut GtkToolItem) -> GtkOrientation;
24011    pub fn gtk_tool_item_get_proxy_menu_item(
24012        tool_item: *mut GtkToolItem,
24013        menu_item_id: *const c_char,
24014    ) -> *mut GtkWidget;
24015    pub fn gtk_tool_item_get_relief_style(tool_item: *mut GtkToolItem) -> GtkReliefStyle;
24016    pub fn gtk_tool_item_get_text_alignment(tool_item: *mut GtkToolItem) -> c_float;
24017    pub fn gtk_tool_item_get_text_orientation(tool_item: *mut GtkToolItem) -> GtkOrientation;
24018    pub fn gtk_tool_item_get_text_size_group(tool_item: *mut GtkToolItem) -> *mut GtkSizeGroup;
24019    pub fn gtk_tool_item_get_toolbar_style(tool_item: *mut GtkToolItem) -> GtkToolbarStyle;
24020    pub fn gtk_tool_item_get_use_drag_window(tool_item: *mut GtkToolItem) -> gboolean;
24021    pub fn gtk_tool_item_get_visible_horizontal(tool_item: *mut GtkToolItem) -> gboolean;
24022    pub fn gtk_tool_item_get_visible_vertical(tool_item: *mut GtkToolItem) -> gboolean;
24023    pub fn gtk_tool_item_rebuild_menu(tool_item: *mut GtkToolItem);
24024    pub fn gtk_tool_item_retrieve_proxy_menu_item(tool_item: *mut GtkToolItem) -> *mut GtkWidget;
24025    pub fn gtk_tool_item_set_expand(tool_item: *mut GtkToolItem, expand: gboolean);
24026    pub fn gtk_tool_item_set_homogeneous(tool_item: *mut GtkToolItem, homogeneous: gboolean);
24027    pub fn gtk_tool_item_set_is_important(tool_item: *mut GtkToolItem, is_important: gboolean);
24028    pub fn gtk_tool_item_set_proxy_menu_item(
24029        tool_item: *mut GtkToolItem,
24030        menu_item_id: *const c_char,
24031        menu_item: *mut GtkWidget,
24032    );
24033    pub fn gtk_tool_item_set_tooltip_markup(tool_item: *mut GtkToolItem, markup: *const c_char);
24034    pub fn gtk_tool_item_set_tooltip_text(tool_item: *mut GtkToolItem, text: *const c_char);
24035    pub fn gtk_tool_item_set_use_drag_window(
24036        tool_item: *mut GtkToolItem,
24037        use_drag_window: gboolean,
24038    );
24039    pub fn gtk_tool_item_set_visible_horizontal(
24040        tool_item: *mut GtkToolItem,
24041        visible_horizontal: gboolean,
24042    );
24043    pub fn gtk_tool_item_set_visible_vertical(
24044        tool_item: *mut GtkToolItem,
24045        visible_vertical: gboolean,
24046    );
24047    pub fn gtk_tool_item_toolbar_reconfigured(tool_item: *mut GtkToolItem);
24048
24049    //=========================================================================
24050    // GtkToolItemGroup
24051    //=========================================================================
24052    pub fn gtk_tool_item_group_get_type() -> GType;
24053    pub fn gtk_tool_item_group_new(label: *const c_char) -> *mut GtkWidget;
24054    pub fn gtk_tool_item_group_get_collapsed(group: *mut GtkToolItemGroup) -> gboolean;
24055    pub fn gtk_tool_item_group_get_drop_item(
24056        group: *mut GtkToolItemGroup,
24057        x: c_int,
24058        y: c_int,
24059    ) -> *mut GtkToolItem;
24060    pub fn gtk_tool_item_group_get_ellipsize(
24061        group: *mut GtkToolItemGroup,
24062    ) -> pango::PangoEllipsizeMode;
24063    pub fn gtk_tool_item_group_get_header_relief(group: *mut GtkToolItemGroup) -> GtkReliefStyle;
24064    pub fn gtk_tool_item_group_get_item_position(
24065        group: *mut GtkToolItemGroup,
24066        item: *mut GtkToolItem,
24067    ) -> c_int;
24068    pub fn gtk_tool_item_group_get_label(group: *mut GtkToolItemGroup) -> *const c_char;
24069    pub fn gtk_tool_item_group_get_label_widget(group: *mut GtkToolItemGroup) -> *mut GtkWidget;
24070    pub fn gtk_tool_item_group_get_n_items(group: *mut GtkToolItemGroup) -> c_uint;
24071    pub fn gtk_tool_item_group_get_nth_item(
24072        group: *mut GtkToolItemGroup,
24073        index: c_uint,
24074    ) -> *mut GtkToolItem;
24075    pub fn gtk_tool_item_group_insert(
24076        group: *mut GtkToolItemGroup,
24077        item: *mut GtkToolItem,
24078        position: c_int,
24079    );
24080    pub fn gtk_tool_item_group_set_collapsed(group: *mut GtkToolItemGroup, collapsed: gboolean);
24081    pub fn gtk_tool_item_group_set_ellipsize(
24082        group: *mut GtkToolItemGroup,
24083        ellipsize: pango::PangoEllipsizeMode,
24084    );
24085    pub fn gtk_tool_item_group_set_header_relief(
24086        group: *mut GtkToolItemGroup,
24087        style: GtkReliefStyle,
24088    );
24089    pub fn gtk_tool_item_group_set_item_position(
24090        group: *mut GtkToolItemGroup,
24091        item: *mut GtkToolItem,
24092        position: c_int,
24093    );
24094    pub fn gtk_tool_item_group_set_label(group: *mut GtkToolItemGroup, label: *const c_char);
24095    pub fn gtk_tool_item_group_set_label_widget(
24096        group: *mut GtkToolItemGroup,
24097        label_widget: *mut GtkWidget,
24098    );
24099
24100    //=========================================================================
24101    // GtkToolPalette
24102    //=========================================================================
24103    pub fn gtk_tool_palette_get_type() -> GType;
24104    pub fn gtk_tool_palette_new() -> *mut GtkWidget;
24105    pub fn gtk_tool_palette_get_drag_target_group() -> *const GtkTargetEntry;
24106    pub fn gtk_tool_palette_get_drag_target_item() -> *const GtkTargetEntry;
24107    pub fn gtk_tool_palette_add_drag_dest(
24108        palette: *mut GtkToolPalette,
24109        widget: *mut GtkWidget,
24110        flags: GtkDestDefaults,
24111        targets: GtkToolPaletteDragTargets,
24112        actions: gdk::GdkDragAction,
24113    );
24114    pub fn gtk_tool_palette_get_drag_item(
24115        palette: *mut GtkToolPalette,
24116        selection: *const GtkSelectionData,
24117    ) -> *mut GtkWidget;
24118    pub fn gtk_tool_palette_get_drop_group(
24119        palette: *mut GtkToolPalette,
24120        x: c_int,
24121        y: c_int,
24122    ) -> *mut GtkToolItemGroup;
24123    pub fn gtk_tool_palette_get_drop_item(
24124        palette: *mut GtkToolPalette,
24125        x: c_int,
24126        y: c_int,
24127    ) -> *mut GtkToolItem;
24128    pub fn gtk_tool_palette_get_exclusive(
24129        palette: *mut GtkToolPalette,
24130        group: *mut GtkToolItemGroup,
24131    ) -> gboolean;
24132    pub fn gtk_tool_palette_get_expand(
24133        palette: *mut GtkToolPalette,
24134        group: *mut GtkToolItemGroup,
24135    ) -> gboolean;
24136    pub fn gtk_tool_palette_get_group_position(
24137        palette: *mut GtkToolPalette,
24138        group: *mut GtkToolItemGroup,
24139    ) -> c_int;
24140    pub fn gtk_tool_palette_get_hadjustment(palette: *mut GtkToolPalette) -> *mut GtkAdjustment;
24141    pub fn gtk_tool_palette_get_icon_size(palette: *mut GtkToolPalette) -> GtkIconSize;
24142    pub fn gtk_tool_palette_get_style(palette: *mut GtkToolPalette) -> GtkToolbarStyle;
24143    pub fn gtk_tool_palette_get_vadjustment(palette: *mut GtkToolPalette) -> *mut GtkAdjustment;
24144    pub fn gtk_tool_palette_set_drag_source(
24145        palette: *mut GtkToolPalette,
24146        targets: GtkToolPaletteDragTargets,
24147    );
24148    pub fn gtk_tool_palette_set_exclusive(
24149        palette: *mut GtkToolPalette,
24150        group: *mut GtkToolItemGroup,
24151        exclusive: gboolean,
24152    );
24153    pub fn gtk_tool_palette_set_expand(
24154        palette: *mut GtkToolPalette,
24155        group: *mut GtkToolItemGroup,
24156        expand: gboolean,
24157    );
24158    pub fn gtk_tool_palette_set_group_position(
24159        palette: *mut GtkToolPalette,
24160        group: *mut GtkToolItemGroup,
24161        position: c_int,
24162    );
24163    pub fn gtk_tool_palette_set_icon_size(palette: *mut GtkToolPalette, icon_size: GtkIconSize);
24164    pub fn gtk_tool_palette_set_style(palette: *mut GtkToolPalette, style: GtkToolbarStyle);
24165    pub fn gtk_tool_palette_unset_icon_size(palette: *mut GtkToolPalette);
24166    pub fn gtk_tool_palette_unset_style(palette: *mut GtkToolPalette);
24167
24168    //=========================================================================
24169    // GtkToolbar
24170    //=========================================================================
24171    pub fn gtk_toolbar_get_type() -> GType;
24172    pub fn gtk_toolbar_new() -> *mut GtkWidget;
24173    pub fn gtk_toolbar_get_drop_index(toolbar: *mut GtkToolbar, x: c_int, y: c_int) -> c_int;
24174    pub fn gtk_toolbar_get_icon_size(toolbar: *mut GtkToolbar) -> GtkIconSize;
24175    pub fn gtk_toolbar_get_item_index(toolbar: *mut GtkToolbar, item: *mut GtkToolItem) -> c_int;
24176    pub fn gtk_toolbar_get_n_items(toolbar: *mut GtkToolbar) -> c_int;
24177    pub fn gtk_toolbar_get_nth_item(toolbar: *mut GtkToolbar, n: c_int) -> *mut GtkToolItem;
24178    pub fn gtk_toolbar_get_relief_style(toolbar: *mut GtkToolbar) -> GtkReliefStyle;
24179    pub fn gtk_toolbar_get_show_arrow(toolbar: *mut GtkToolbar) -> gboolean;
24180    pub fn gtk_toolbar_get_style(toolbar: *mut GtkToolbar) -> GtkToolbarStyle;
24181    pub fn gtk_toolbar_insert(toolbar: *mut GtkToolbar, item: *mut GtkToolItem, pos: c_int);
24182    pub fn gtk_toolbar_set_drop_highlight_item(
24183        toolbar: *mut GtkToolbar,
24184        tool_item: *mut GtkToolItem,
24185        index_: c_int,
24186    );
24187    pub fn gtk_toolbar_set_icon_size(toolbar: *mut GtkToolbar, icon_size: GtkIconSize);
24188    pub fn gtk_toolbar_set_show_arrow(toolbar: *mut GtkToolbar, show_arrow: gboolean);
24189    pub fn gtk_toolbar_set_style(toolbar: *mut GtkToolbar, style: GtkToolbarStyle);
24190    pub fn gtk_toolbar_unset_icon_size(toolbar: *mut GtkToolbar);
24191    pub fn gtk_toolbar_unset_style(toolbar: *mut GtkToolbar);
24192
24193    //=========================================================================
24194    // GtkTooltip
24195    //=========================================================================
24196    pub fn gtk_tooltip_get_type() -> GType;
24197    pub fn gtk_tooltip_trigger_tooltip_query(display: *mut gdk::GdkDisplay);
24198    pub fn gtk_tooltip_set_custom(tooltip: *mut GtkTooltip, custom_widget: *mut GtkWidget);
24199    pub fn gtk_tooltip_set_icon(tooltip: *mut GtkTooltip, pixbuf: *mut gdk_pixbuf::GdkPixbuf);
24200    pub fn gtk_tooltip_set_icon_from_gicon(
24201        tooltip: *mut GtkTooltip,
24202        gicon: *mut gio::GIcon,
24203        size: GtkIconSize,
24204    );
24205    pub fn gtk_tooltip_set_icon_from_icon_name(
24206        tooltip: *mut GtkTooltip,
24207        icon_name: *const c_char,
24208        size: GtkIconSize,
24209    );
24210    pub fn gtk_tooltip_set_icon_from_stock(
24211        tooltip: *mut GtkTooltip,
24212        stock_id: *const c_char,
24213        size: GtkIconSize,
24214    );
24215    pub fn gtk_tooltip_set_markup(tooltip: *mut GtkTooltip, markup: *const c_char);
24216    pub fn gtk_tooltip_set_text(tooltip: *mut GtkTooltip, text: *const c_char);
24217    pub fn gtk_tooltip_set_tip_area(tooltip: *mut GtkTooltip, rect: *const gdk::GdkRectangle);
24218
24219    //=========================================================================
24220    // GtkToplevelAccessible
24221    //=========================================================================
24222    pub fn gtk_toplevel_accessible_get_type() -> GType;
24223    pub fn gtk_toplevel_accessible_get_children(
24224        accessible: *mut GtkToplevelAccessible,
24225    ) -> *mut glib::GList;
24226
24227    //=========================================================================
24228    // GtkTreeModelFilter
24229    //=========================================================================
24230    pub fn gtk_tree_model_filter_get_type() -> GType;
24231    pub fn gtk_tree_model_filter_clear_cache(filter: *mut GtkTreeModelFilter);
24232    pub fn gtk_tree_model_filter_convert_child_iter_to_iter(
24233        filter: *mut GtkTreeModelFilter,
24234        filter_iter: *mut GtkTreeIter,
24235        child_iter: *mut GtkTreeIter,
24236    ) -> gboolean;
24237    pub fn gtk_tree_model_filter_convert_child_path_to_path(
24238        filter: *mut GtkTreeModelFilter,
24239        child_path: *mut GtkTreePath,
24240    ) -> *mut GtkTreePath;
24241    pub fn gtk_tree_model_filter_convert_iter_to_child_iter(
24242        filter: *mut GtkTreeModelFilter,
24243        child_iter: *mut GtkTreeIter,
24244        filter_iter: *mut GtkTreeIter,
24245    );
24246    pub fn gtk_tree_model_filter_convert_path_to_child_path(
24247        filter: *mut GtkTreeModelFilter,
24248        filter_path: *mut GtkTreePath,
24249    ) -> *mut GtkTreePath;
24250    pub fn gtk_tree_model_filter_get_model(filter: *mut GtkTreeModelFilter) -> *mut GtkTreeModel;
24251    pub fn gtk_tree_model_filter_refilter(filter: *mut GtkTreeModelFilter);
24252    pub fn gtk_tree_model_filter_set_modify_func(
24253        filter: *mut GtkTreeModelFilter,
24254        n_columns: c_int,
24255        types: *mut GType,
24256        func: GtkTreeModelFilterModifyFunc,
24257        data: gpointer,
24258        destroy: glib::GDestroyNotify,
24259    );
24260    pub fn gtk_tree_model_filter_set_visible_column(filter: *mut GtkTreeModelFilter, column: c_int);
24261    pub fn gtk_tree_model_filter_set_visible_func(
24262        filter: *mut GtkTreeModelFilter,
24263        func: GtkTreeModelFilterVisibleFunc,
24264        data: gpointer,
24265        destroy: glib::GDestroyNotify,
24266    );
24267
24268    //=========================================================================
24269    // GtkTreeModelSort
24270    //=========================================================================
24271    pub fn gtk_tree_model_sort_get_type() -> GType;
24272    pub fn gtk_tree_model_sort_clear_cache(tree_model_sort: *mut GtkTreeModelSort);
24273    pub fn gtk_tree_model_sort_convert_child_iter_to_iter(
24274        tree_model_sort: *mut GtkTreeModelSort,
24275        sort_iter: *mut GtkTreeIter,
24276        child_iter: *mut GtkTreeIter,
24277    ) -> gboolean;
24278    pub fn gtk_tree_model_sort_convert_child_path_to_path(
24279        tree_model_sort: *mut GtkTreeModelSort,
24280        child_path: *mut GtkTreePath,
24281    ) -> *mut GtkTreePath;
24282    pub fn gtk_tree_model_sort_convert_iter_to_child_iter(
24283        tree_model_sort: *mut GtkTreeModelSort,
24284        child_iter: *mut GtkTreeIter,
24285        sorted_iter: *mut GtkTreeIter,
24286    );
24287    pub fn gtk_tree_model_sort_convert_path_to_child_path(
24288        tree_model_sort: *mut GtkTreeModelSort,
24289        sorted_path: *mut GtkTreePath,
24290    ) -> *mut GtkTreePath;
24291    pub fn gtk_tree_model_sort_get_model(tree_model: *mut GtkTreeModelSort) -> *mut GtkTreeModel;
24292    pub fn gtk_tree_model_sort_iter_is_valid(
24293        tree_model_sort: *mut GtkTreeModelSort,
24294        iter: *mut GtkTreeIter,
24295    ) -> gboolean;
24296    pub fn gtk_tree_model_sort_reset_default_sort_func(tree_model_sort: *mut GtkTreeModelSort);
24297
24298    //=========================================================================
24299    // GtkTreeSelection
24300    //=========================================================================
24301    pub fn gtk_tree_selection_get_type() -> GType;
24302    pub fn gtk_tree_selection_count_selected_rows(selection: *mut GtkTreeSelection) -> c_int;
24303    pub fn gtk_tree_selection_get_mode(selection: *mut GtkTreeSelection) -> GtkSelectionMode;
24304    pub fn gtk_tree_selection_get_select_function(
24305        selection: *mut GtkTreeSelection,
24306    ) -> GtkTreeSelectionFunc;
24307    pub fn gtk_tree_selection_get_selected(
24308        selection: *mut GtkTreeSelection,
24309        model: *mut *mut GtkTreeModel,
24310        iter: *mut GtkTreeIter,
24311    ) -> gboolean;
24312    pub fn gtk_tree_selection_get_selected_rows(
24313        selection: *mut GtkTreeSelection,
24314        model: *mut *mut GtkTreeModel,
24315    ) -> *mut glib::GList;
24316    pub fn gtk_tree_selection_get_tree_view(selection: *mut GtkTreeSelection) -> *mut GtkTreeView;
24317    pub fn gtk_tree_selection_get_user_data(selection: *mut GtkTreeSelection) -> gpointer;
24318    pub fn gtk_tree_selection_iter_is_selected(
24319        selection: *mut GtkTreeSelection,
24320        iter: *mut GtkTreeIter,
24321    ) -> gboolean;
24322    pub fn gtk_tree_selection_path_is_selected(
24323        selection: *mut GtkTreeSelection,
24324        path: *mut GtkTreePath,
24325    ) -> gboolean;
24326    pub fn gtk_tree_selection_select_all(selection: *mut GtkTreeSelection);
24327    pub fn gtk_tree_selection_select_iter(selection: *mut GtkTreeSelection, iter: *mut GtkTreeIter);
24328    pub fn gtk_tree_selection_select_path(selection: *mut GtkTreeSelection, path: *mut GtkTreePath);
24329    pub fn gtk_tree_selection_select_range(
24330        selection: *mut GtkTreeSelection,
24331        start_path: *mut GtkTreePath,
24332        end_path: *mut GtkTreePath,
24333    );
24334    pub fn gtk_tree_selection_selected_foreach(
24335        selection: *mut GtkTreeSelection,
24336        func: GtkTreeSelectionForeachFunc,
24337        data: gpointer,
24338    );
24339    pub fn gtk_tree_selection_set_mode(selection: *mut GtkTreeSelection, type_: GtkSelectionMode);
24340    pub fn gtk_tree_selection_set_select_function(
24341        selection: *mut GtkTreeSelection,
24342        func: GtkTreeSelectionFunc,
24343        data: gpointer,
24344        destroy: glib::GDestroyNotify,
24345    );
24346    pub fn gtk_tree_selection_unselect_all(selection: *mut GtkTreeSelection);
24347    pub fn gtk_tree_selection_unselect_iter(
24348        selection: *mut GtkTreeSelection,
24349        iter: *mut GtkTreeIter,
24350    );
24351    pub fn gtk_tree_selection_unselect_path(
24352        selection: *mut GtkTreeSelection,
24353        path: *mut GtkTreePath,
24354    );
24355    pub fn gtk_tree_selection_unselect_range(
24356        selection: *mut GtkTreeSelection,
24357        start_path: *mut GtkTreePath,
24358        end_path: *mut GtkTreePath,
24359    );
24360
24361    //=========================================================================
24362    // GtkTreeStore
24363    //=========================================================================
24364    pub fn gtk_tree_store_get_type() -> GType;
24365    pub fn gtk_tree_store_new(n_columns: c_int, ...) -> *mut GtkTreeStore;
24366    pub fn gtk_tree_store_newv(n_columns: c_int, types: *mut GType) -> *mut GtkTreeStore;
24367    pub fn gtk_tree_store_append(
24368        tree_store: *mut GtkTreeStore,
24369        iter: *mut GtkTreeIter,
24370        parent: *mut GtkTreeIter,
24371    );
24372    pub fn gtk_tree_store_clear(tree_store: *mut GtkTreeStore);
24373    pub fn gtk_tree_store_insert(
24374        tree_store: *mut GtkTreeStore,
24375        iter: *mut GtkTreeIter,
24376        parent: *mut GtkTreeIter,
24377        position: c_int,
24378    );
24379    pub fn gtk_tree_store_insert_after(
24380        tree_store: *mut GtkTreeStore,
24381        iter: *mut GtkTreeIter,
24382        parent: *mut GtkTreeIter,
24383        sibling: *mut GtkTreeIter,
24384    );
24385    pub fn gtk_tree_store_insert_before(
24386        tree_store: *mut GtkTreeStore,
24387        iter: *mut GtkTreeIter,
24388        parent: *mut GtkTreeIter,
24389        sibling: *mut GtkTreeIter,
24390    );
24391    pub fn gtk_tree_store_insert_with_values(
24392        tree_store: *mut GtkTreeStore,
24393        iter: *mut GtkTreeIter,
24394        parent: *mut GtkTreeIter,
24395        position: c_int,
24396        ...
24397    );
24398    pub fn gtk_tree_store_insert_with_valuesv(
24399        tree_store: *mut GtkTreeStore,
24400        iter: *mut GtkTreeIter,
24401        parent: *mut GtkTreeIter,
24402        position: c_int,
24403        columns: *mut c_int,
24404        values: *mut gobject::GValue,
24405        n_values: c_int,
24406    );
24407    pub fn gtk_tree_store_is_ancestor(
24408        tree_store: *mut GtkTreeStore,
24409        iter: *mut GtkTreeIter,
24410        descendant: *mut GtkTreeIter,
24411    ) -> gboolean;
24412    pub fn gtk_tree_store_iter_depth(
24413        tree_store: *mut GtkTreeStore,
24414        iter: *mut GtkTreeIter,
24415    ) -> c_int;
24416    pub fn gtk_tree_store_iter_is_valid(
24417        tree_store: *mut GtkTreeStore,
24418        iter: *mut GtkTreeIter,
24419    ) -> gboolean;
24420    pub fn gtk_tree_store_move_after(
24421        tree_store: *mut GtkTreeStore,
24422        iter: *mut GtkTreeIter,
24423        position: *mut GtkTreeIter,
24424    );
24425    pub fn gtk_tree_store_move_before(
24426        tree_store: *mut GtkTreeStore,
24427        iter: *mut GtkTreeIter,
24428        position: *mut GtkTreeIter,
24429    );
24430    pub fn gtk_tree_store_prepend(
24431        tree_store: *mut GtkTreeStore,
24432        iter: *mut GtkTreeIter,
24433        parent: *mut GtkTreeIter,
24434    );
24435    pub fn gtk_tree_store_remove(tree_store: *mut GtkTreeStore, iter: *mut GtkTreeIter)
24436        -> gboolean;
24437    pub fn gtk_tree_store_reorder(
24438        tree_store: *mut GtkTreeStore,
24439        parent: *mut GtkTreeIter,
24440        new_order: *mut c_int,
24441    );
24442    pub fn gtk_tree_store_set(tree_store: *mut GtkTreeStore, iter: *mut GtkTreeIter, ...);
24443    pub fn gtk_tree_store_set_column_types(
24444        tree_store: *mut GtkTreeStore,
24445        n_columns: c_int,
24446        types: *mut GType,
24447    );
24448    //pub fn gtk_tree_store_set_valist(tree_store: *mut GtkTreeStore, iter: *mut GtkTreeIter, var_args: /*Unimplemented*/va_list);
24449    pub fn gtk_tree_store_set_value(
24450        tree_store: *mut GtkTreeStore,
24451        iter: *mut GtkTreeIter,
24452        column: c_int,
24453        value: *mut gobject::GValue,
24454    );
24455    pub fn gtk_tree_store_set_valuesv(
24456        tree_store: *mut GtkTreeStore,
24457        iter: *mut GtkTreeIter,
24458        columns: *mut c_int,
24459        values: *mut gobject::GValue,
24460        n_values: c_int,
24461    );
24462    pub fn gtk_tree_store_swap(
24463        tree_store: *mut GtkTreeStore,
24464        a: *mut GtkTreeIter,
24465        b: *mut GtkTreeIter,
24466    );
24467
24468    //=========================================================================
24469    // GtkTreeView
24470    //=========================================================================
24471    pub fn gtk_tree_view_get_type() -> GType;
24472    pub fn gtk_tree_view_new() -> *mut GtkWidget;
24473    pub fn gtk_tree_view_new_with_model(model: *mut GtkTreeModel) -> *mut GtkWidget;
24474    pub fn gtk_tree_view_append_column(
24475        tree_view: *mut GtkTreeView,
24476        column: *mut GtkTreeViewColumn,
24477    ) -> c_int;
24478    pub fn gtk_tree_view_collapse_all(tree_view: *mut GtkTreeView);
24479    pub fn gtk_tree_view_collapse_row(
24480        tree_view: *mut GtkTreeView,
24481        path: *mut GtkTreePath,
24482    ) -> gboolean;
24483    pub fn gtk_tree_view_columns_autosize(tree_view: *mut GtkTreeView);
24484    pub fn gtk_tree_view_convert_bin_window_to_tree_coords(
24485        tree_view: *mut GtkTreeView,
24486        bx: c_int,
24487        by: c_int,
24488        tx: *mut c_int,
24489        ty: *mut c_int,
24490    );
24491    pub fn gtk_tree_view_convert_bin_window_to_widget_coords(
24492        tree_view: *mut GtkTreeView,
24493        bx: c_int,
24494        by: c_int,
24495        wx: *mut c_int,
24496        wy: *mut c_int,
24497    );
24498    pub fn gtk_tree_view_convert_tree_to_bin_window_coords(
24499        tree_view: *mut GtkTreeView,
24500        tx: c_int,
24501        ty: c_int,
24502        bx: *mut c_int,
24503        by: *mut c_int,
24504    );
24505    pub fn gtk_tree_view_convert_tree_to_widget_coords(
24506        tree_view: *mut GtkTreeView,
24507        tx: c_int,
24508        ty: c_int,
24509        wx: *mut c_int,
24510        wy: *mut c_int,
24511    );
24512    pub fn gtk_tree_view_convert_widget_to_bin_window_coords(
24513        tree_view: *mut GtkTreeView,
24514        wx: c_int,
24515        wy: c_int,
24516        bx: *mut c_int,
24517        by: *mut c_int,
24518    );
24519    pub fn gtk_tree_view_convert_widget_to_tree_coords(
24520        tree_view: *mut GtkTreeView,
24521        wx: c_int,
24522        wy: c_int,
24523        tx: *mut c_int,
24524        ty: *mut c_int,
24525    );
24526    pub fn gtk_tree_view_create_row_drag_icon(
24527        tree_view: *mut GtkTreeView,
24528        path: *mut GtkTreePath,
24529    ) -> *mut cairo::cairo_surface_t;
24530    pub fn gtk_tree_view_enable_model_drag_dest(
24531        tree_view: *mut GtkTreeView,
24532        targets: *const GtkTargetEntry,
24533        n_targets: c_int,
24534        actions: gdk::GdkDragAction,
24535    );
24536    pub fn gtk_tree_view_enable_model_drag_source(
24537        tree_view: *mut GtkTreeView,
24538        start_button_mask: gdk::GdkModifierType,
24539        targets: *const GtkTargetEntry,
24540        n_targets: c_int,
24541        actions: gdk::GdkDragAction,
24542    );
24543    pub fn gtk_tree_view_expand_all(tree_view: *mut GtkTreeView);
24544    pub fn gtk_tree_view_expand_row(
24545        tree_view: *mut GtkTreeView,
24546        path: *mut GtkTreePath,
24547        open_all: gboolean,
24548    ) -> gboolean;
24549    pub fn gtk_tree_view_expand_to_path(tree_view: *mut GtkTreeView, path: *mut GtkTreePath);
24550    pub fn gtk_tree_view_get_activate_on_single_click(tree_view: *mut GtkTreeView) -> gboolean;
24551    pub fn gtk_tree_view_get_background_area(
24552        tree_view: *mut GtkTreeView,
24553        path: *mut GtkTreePath,
24554        column: *mut GtkTreeViewColumn,
24555        rect: *mut gdk::GdkRectangle,
24556    );
24557    pub fn gtk_tree_view_get_bin_window(tree_view: *mut GtkTreeView) -> *mut gdk::GdkWindow;
24558    pub fn gtk_tree_view_get_cell_area(
24559        tree_view: *mut GtkTreeView,
24560        path: *mut GtkTreePath,
24561        column: *mut GtkTreeViewColumn,
24562        rect: *mut gdk::GdkRectangle,
24563    );
24564    pub fn gtk_tree_view_get_column(
24565        tree_view: *mut GtkTreeView,
24566        n: c_int,
24567    ) -> *mut GtkTreeViewColumn;
24568    pub fn gtk_tree_view_get_columns(tree_view: *mut GtkTreeView) -> *mut glib::GList;
24569    pub fn gtk_tree_view_get_cursor(
24570        tree_view: *mut GtkTreeView,
24571        path: *mut *mut GtkTreePath,
24572        focus_column: *mut *mut GtkTreeViewColumn,
24573    );
24574    pub fn gtk_tree_view_get_dest_row_at_pos(
24575        tree_view: *mut GtkTreeView,
24576        drag_x: c_int,
24577        drag_y: c_int,
24578        path: *mut *mut GtkTreePath,
24579        pos: *mut GtkTreeViewDropPosition,
24580    ) -> gboolean;
24581    pub fn gtk_tree_view_get_drag_dest_row(
24582        tree_view: *mut GtkTreeView,
24583        path: *mut *mut GtkTreePath,
24584        pos: *mut GtkTreeViewDropPosition,
24585    );
24586    pub fn gtk_tree_view_get_enable_search(tree_view: *mut GtkTreeView) -> gboolean;
24587    pub fn gtk_tree_view_get_enable_tree_lines(tree_view: *mut GtkTreeView) -> gboolean;
24588    pub fn gtk_tree_view_get_expander_column(tree_view: *mut GtkTreeView)
24589        -> *mut GtkTreeViewColumn;
24590    pub fn gtk_tree_view_get_fixed_height_mode(tree_view: *mut GtkTreeView) -> gboolean;
24591    pub fn gtk_tree_view_get_grid_lines(tree_view: *mut GtkTreeView) -> GtkTreeViewGridLines;
24592    pub fn gtk_tree_view_get_hadjustment(tree_view: *mut GtkTreeView) -> *mut GtkAdjustment;
24593    pub fn gtk_tree_view_get_headers_clickable(tree_view: *mut GtkTreeView) -> gboolean;
24594    pub fn gtk_tree_view_get_headers_visible(tree_view: *mut GtkTreeView) -> gboolean;
24595    pub fn gtk_tree_view_get_hover_expand(tree_view: *mut GtkTreeView) -> gboolean;
24596    pub fn gtk_tree_view_get_hover_selection(tree_view: *mut GtkTreeView) -> gboolean;
24597    pub fn gtk_tree_view_get_level_indentation(tree_view: *mut GtkTreeView) -> c_int;
24598    pub fn gtk_tree_view_get_model(tree_view: *mut GtkTreeView) -> *mut GtkTreeModel;
24599    pub fn gtk_tree_view_get_n_columns(tree_view: *mut GtkTreeView) -> c_uint;
24600    pub fn gtk_tree_view_get_path_at_pos(
24601        tree_view: *mut GtkTreeView,
24602        x: c_int,
24603        y: c_int,
24604        path: *mut *mut GtkTreePath,
24605        column: *mut *mut GtkTreeViewColumn,
24606        cell_x: *mut c_int,
24607        cell_y: *mut c_int,
24608    ) -> gboolean;
24609    pub fn gtk_tree_view_get_reorderable(tree_view: *mut GtkTreeView) -> gboolean;
24610    pub fn gtk_tree_view_get_row_separator_func(
24611        tree_view: *mut GtkTreeView,
24612    ) -> GtkTreeViewRowSeparatorFunc;
24613    pub fn gtk_tree_view_get_rubber_banding(tree_view: *mut GtkTreeView) -> gboolean;
24614    pub fn gtk_tree_view_get_rules_hint(tree_view: *mut GtkTreeView) -> gboolean;
24615    pub fn gtk_tree_view_get_search_column(tree_view: *mut GtkTreeView) -> c_int;
24616    pub fn gtk_tree_view_get_search_entry(tree_view: *mut GtkTreeView) -> *mut GtkEntry;
24617    pub fn gtk_tree_view_get_search_equal_func(
24618        tree_view: *mut GtkTreeView,
24619    ) -> GtkTreeViewSearchEqualFunc;
24620    pub fn gtk_tree_view_get_search_position_func(
24621        tree_view: *mut GtkTreeView,
24622    ) -> GtkTreeViewSearchPositionFunc;
24623    pub fn gtk_tree_view_get_selection(tree_view: *mut GtkTreeView) -> *mut GtkTreeSelection;
24624    pub fn gtk_tree_view_get_show_expanders(tree_view: *mut GtkTreeView) -> gboolean;
24625    pub fn gtk_tree_view_get_tooltip_column(tree_view: *mut GtkTreeView) -> c_int;
24626    pub fn gtk_tree_view_get_tooltip_context(
24627        tree_view: *mut GtkTreeView,
24628        x: *mut c_int,
24629        y: *mut c_int,
24630        keyboard_tip: gboolean,
24631        model: *mut *mut GtkTreeModel,
24632        path: *mut *mut GtkTreePath,
24633        iter: *mut GtkTreeIter,
24634    ) -> gboolean;
24635    pub fn gtk_tree_view_get_vadjustment(tree_view: *mut GtkTreeView) -> *mut GtkAdjustment;
24636    pub fn gtk_tree_view_get_visible_range(
24637        tree_view: *mut GtkTreeView,
24638        start_path: *mut *mut GtkTreePath,
24639        end_path: *mut *mut GtkTreePath,
24640    ) -> gboolean;
24641    pub fn gtk_tree_view_get_visible_rect(
24642        tree_view: *mut GtkTreeView,
24643        visible_rect: *mut gdk::GdkRectangle,
24644    );
24645    pub fn gtk_tree_view_insert_column(
24646        tree_view: *mut GtkTreeView,
24647        column: *mut GtkTreeViewColumn,
24648        position: c_int,
24649    ) -> c_int;
24650    pub fn gtk_tree_view_insert_column_with_attributes(
24651        tree_view: *mut GtkTreeView,
24652        position: c_int,
24653        title: *const c_char,
24654        cell: *mut GtkCellRenderer,
24655        ...
24656    ) -> c_int;
24657    pub fn gtk_tree_view_insert_column_with_data_func(
24658        tree_view: *mut GtkTreeView,
24659        position: c_int,
24660        title: *const c_char,
24661        cell: *mut GtkCellRenderer,
24662        func: GtkTreeCellDataFunc,
24663        data: gpointer,
24664        dnotify: glib::GDestroyNotify,
24665    ) -> c_int;
24666    pub fn gtk_tree_view_is_blank_at_pos(
24667        tree_view: *mut GtkTreeView,
24668        x: c_int,
24669        y: c_int,
24670        path: *mut *mut GtkTreePath,
24671        column: *mut *mut GtkTreeViewColumn,
24672        cell_x: *mut c_int,
24673        cell_y: *mut c_int,
24674    ) -> gboolean;
24675    pub fn gtk_tree_view_is_rubber_banding_active(tree_view: *mut GtkTreeView) -> gboolean;
24676    pub fn gtk_tree_view_map_expanded_rows(
24677        tree_view: *mut GtkTreeView,
24678        func: GtkTreeViewMappingFunc,
24679        data: gpointer,
24680    );
24681    pub fn gtk_tree_view_move_column_after(
24682        tree_view: *mut GtkTreeView,
24683        column: *mut GtkTreeViewColumn,
24684        base_column: *mut GtkTreeViewColumn,
24685    );
24686    pub fn gtk_tree_view_remove_column(
24687        tree_view: *mut GtkTreeView,
24688        column: *mut GtkTreeViewColumn,
24689    ) -> c_int;
24690    pub fn gtk_tree_view_row_activated(
24691        tree_view: *mut GtkTreeView,
24692        path: *mut GtkTreePath,
24693        column: *mut GtkTreeViewColumn,
24694    );
24695    pub fn gtk_tree_view_row_expanded(
24696        tree_view: *mut GtkTreeView,
24697        path: *mut GtkTreePath,
24698    ) -> gboolean;
24699    pub fn gtk_tree_view_scroll_to_cell(
24700        tree_view: *mut GtkTreeView,
24701        path: *mut GtkTreePath,
24702        column: *mut GtkTreeViewColumn,
24703        use_align: gboolean,
24704        row_align: c_float,
24705        col_align: c_float,
24706    );
24707    pub fn gtk_tree_view_scroll_to_point(tree_view: *mut GtkTreeView, tree_x: c_int, tree_y: c_int);
24708    pub fn gtk_tree_view_set_activate_on_single_click(
24709        tree_view: *mut GtkTreeView,
24710        single: gboolean,
24711    );
24712    pub fn gtk_tree_view_set_column_drag_function(
24713        tree_view: *mut GtkTreeView,
24714        func: GtkTreeViewColumnDropFunc,
24715        user_data: gpointer,
24716        destroy: glib::GDestroyNotify,
24717    );
24718    pub fn gtk_tree_view_set_cursor(
24719        tree_view: *mut GtkTreeView,
24720        path: *mut GtkTreePath,
24721        focus_column: *mut GtkTreeViewColumn,
24722        start_editing: gboolean,
24723    );
24724    pub fn gtk_tree_view_set_cursor_on_cell(
24725        tree_view: *mut GtkTreeView,
24726        path: *mut GtkTreePath,
24727        focus_column: *mut GtkTreeViewColumn,
24728        focus_cell: *mut GtkCellRenderer,
24729        start_editing: gboolean,
24730    );
24731    pub fn gtk_tree_view_set_destroy_count_func(
24732        tree_view: *mut GtkTreeView,
24733        func: GtkTreeDestroyCountFunc,
24734        data: gpointer,
24735        destroy: glib::GDestroyNotify,
24736    );
24737    pub fn gtk_tree_view_set_drag_dest_row(
24738        tree_view: *mut GtkTreeView,
24739        path: *mut GtkTreePath,
24740        pos: GtkTreeViewDropPosition,
24741    );
24742    pub fn gtk_tree_view_set_enable_search(tree_view: *mut GtkTreeView, enable_search: gboolean);
24743    pub fn gtk_tree_view_set_enable_tree_lines(tree_view: *mut GtkTreeView, enabled: gboolean);
24744    pub fn gtk_tree_view_set_expander_column(
24745        tree_view: *mut GtkTreeView,
24746        column: *mut GtkTreeViewColumn,
24747    );
24748    pub fn gtk_tree_view_set_fixed_height_mode(tree_view: *mut GtkTreeView, enable: gboolean);
24749    pub fn gtk_tree_view_set_grid_lines(
24750        tree_view: *mut GtkTreeView,
24751        grid_lines: GtkTreeViewGridLines,
24752    );
24753    pub fn gtk_tree_view_set_hadjustment(
24754        tree_view: *mut GtkTreeView,
24755        adjustment: *mut GtkAdjustment,
24756    );
24757    pub fn gtk_tree_view_set_headers_clickable(tree_view: *mut GtkTreeView, setting: gboolean);
24758    pub fn gtk_tree_view_set_headers_visible(
24759        tree_view: *mut GtkTreeView,
24760        headers_visible: gboolean,
24761    );
24762    pub fn gtk_tree_view_set_hover_expand(tree_view: *mut GtkTreeView, expand: gboolean);
24763    pub fn gtk_tree_view_set_hover_selection(tree_view: *mut GtkTreeView, hover: gboolean);
24764    pub fn gtk_tree_view_set_level_indentation(tree_view: *mut GtkTreeView, indentation: c_int);
24765    pub fn gtk_tree_view_set_model(tree_view: *mut GtkTreeView, model: *mut GtkTreeModel);
24766    pub fn gtk_tree_view_set_reorderable(tree_view: *mut GtkTreeView, reorderable: gboolean);
24767    pub fn gtk_tree_view_set_row_separator_func(
24768        tree_view: *mut GtkTreeView,
24769        func: GtkTreeViewRowSeparatorFunc,
24770        data: gpointer,
24771        destroy: glib::GDestroyNotify,
24772    );
24773    pub fn gtk_tree_view_set_rubber_banding(tree_view: *mut GtkTreeView, enable: gboolean);
24774    pub fn gtk_tree_view_set_rules_hint(tree_view: *mut GtkTreeView, setting: gboolean);
24775    pub fn gtk_tree_view_set_search_column(tree_view: *mut GtkTreeView, column: c_int);
24776    pub fn gtk_tree_view_set_search_entry(tree_view: *mut GtkTreeView, entry: *mut GtkEntry);
24777    pub fn gtk_tree_view_set_search_equal_func(
24778        tree_view: *mut GtkTreeView,
24779        search_equal_func: GtkTreeViewSearchEqualFunc,
24780        search_user_data: gpointer,
24781        search_destroy: glib::GDestroyNotify,
24782    );
24783    pub fn gtk_tree_view_set_search_position_func(
24784        tree_view: *mut GtkTreeView,
24785        func: GtkTreeViewSearchPositionFunc,
24786        data: gpointer,
24787        destroy: glib::GDestroyNotify,
24788    );
24789    pub fn gtk_tree_view_set_show_expanders(tree_view: *mut GtkTreeView, enabled: gboolean);
24790    pub fn gtk_tree_view_set_tooltip_cell(
24791        tree_view: *mut GtkTreeView,
24792        tooltip: *mut GtkTooltip,
24793        path: *mut GtkTreePath,
24794        column: *mut GtkTreeViewColumn,
24795        cell: *mut GtkCellRenderer,
24796    );
24797    pub fn gtk_tree_view_set_tooltip_column(tree_view: *mut GtkTreeView, column: c_int);
24798    pub fn gtk_tree_view_set_tooltip_row(
24799        tree_view: *mut GtkTreeView,
24800        tooltip: *mut GtkTooltip,
24801        path: *mut GtkTreePath,
24802    );
24803    pub fn gtk_tree_view_set_vadjustment(
24804        tree_view: *mut GtkTreeView,
24805        adjustment: *mut GtkAdjustment,
24806    );
24807    pub fn gtk_tree_view_unset_rows_drag_dest(tree_view: *mut GtkTreeView);
24808    pub fn gtk_tree_view_unset_rows_drag_source(tree_view: *mut GtkTreeView);
24809
24810    //=========================================================================
24811    // GtkTreeViewAccessible
24812    //=========================================================================
24813    pub fn gtk_tree_view_accessible_get_type() -> GType;
24814
24815    //=========================================================================
24816    // GtkTreeViewColumn
24817    //=========================================================================
24818    pub fn gtk_tree_view_column_get_type() -> GType;
24819    pub fn gtk_tree_view_column_new() -> *mut GtkTreeViewColumn;
24820    pub fn gtk_tree_view_column_new_with_area(area: *mut GtkCellArea) -> *mut GtkTreeViewColumn;
24821    pub fn gtk_tree_view_column_new_with_attributes(
24822        title: *const c_char,
24823        cell: *mut GtkCellRenderer,
24824        ...
24825    ) -> *mut GtkTreeViewColumn;
24826    pub fn gtk_tree_view_column_add_attribute(
24827        tree_column: *mut GtkTreeViewColumn,
24828        cell_renderer: *mut GtkCellRenderer,
24829        attribute: *const c_char,
24830        column: c_int,
24831    );
24832    pub fn gtk_tree_view_column_cell_get_position(
24833        tree_column: *mut GtkTreeViewColumn,
24834        cell_renderer: *mut GtkCellRenderer,
24835        x_offset: *mut c_int,
24836        width: *mut c_int,
24837    ) -> gboolean;
24838    pub fn gtk_tree_view_column_cell_get_size(
24839        tree_column: *mut GtkTreeViewColumn,
24840        cell_area: *const gdk::GdkRectangle,
24841        x_offset: *mut c_int,
24842        y_offset: *mut c_int,
24843        width: *mut c_int,
24844        height: *mut c_int,
24845    );
24846    pub fn gtk_tree_view_column_cell_is_visible(tree_column: *mut GtkTreeViewColumn) -> gboolean;
24847    pub fn gtk_tree_view_column_cell_set_cell_data(
24848        tree_column: *mut GtkTreeViewColumn,
24849        tree_model: *mut GtkTreeModel,
24850        iter: *mut GtkTreeIter,
24851        is_expander: gboolean,
24852        is_expanded: gboolean,
24853    );
24854    pub fn gtk_tree_view_column_clear(tree_column: *mut GtkTreeViewColumn);
24855    pub fn gtk_tree_view_column_clear_attributes(
24856        tree_column: *mut GtkTreeViewColumn,
24857        cell_renderer: *mut GtkCellRenderer,
24858    );
24859    pub fn gtk_tree_view_column_clicked(tree_column: *mut GtkTreeViewColumn);
24860    pub fn gtk_tree_view_column_focus_cell(
24861        tree_column: *mut GtkTreeViewColumn,
24862        cell: *mut GtkCellRenderer,
24863    );
24864    pub fn gtk_tree_view_column_get_alignment(tree_column: *mut GtkTreeViewColumn) -> c_float;
24865    pub fn gtk_tree_view_column_get_button(tree_column: *mut GtkTreeViewColumn) -> *mut GtkWidget;
24866    pub fn gtk_tree_view_column_get_clickable(tree_column: *mut GtkTreeViewColumn) -> gboolean;
24867    pub fn gtk_tree_view_column_get_expand(tree_column: *mut GtkTreeViewColumn) -> gboolean;
24868    pub fn gtk_tree_view_column_get_fixed_width(tree_column: *mut GtkTreeViewColumn) -> c_int;
24869    pub fn gtk_tree_view_column_get_max_width(tree_column: *mut GtkTreeViewColumn) -> c_int;
24870    pub fn gtk_tree_view_column_get_min_width(tree_column: *mut GtkTreeViewColumn) -> c_int;
24871    pub fn gtk_tree_view_column_get_reorderable(tree_column: *mut GtkTreeViewColumn) -> gboolean;
24872    pub fn gtk_tree_view_column_get_resizable(tree_column: *mut GtkTreeViewColumn) -> gboolean;
24873    pub fn gtk_tree_view_column_get_sizing(
24874        tree_column: *mut GtkTreeViewColumn,
24875    ) -> GtkTreeViewColumnSizing;
24876    pub fn gtk_tree_view_column_get_sort_column_id(tree_column: *mut GtkTreeViewColumn) -> c_int;
24877    pub fn gtk_tree_view_column_get_sort_indicator(tree_column: *mut GtkTreeViewColumn)
24878        -> gboolean;
24879    pub fn gtk_tree_view_column_get_sort_order(tree_column: *mut GtkTreeViewColumn) -> GtkSortType;
24880    pub fn gtk_tree_view_column_get_spacing(tree_column: *mut GtkTreeViewColumn) -> c_int;
24881    pub fn gtk_tree_view_column_get_title(tree_column: *mut GtkTreeViewColumn) -> *const c_char;
24882    pub fn gtk_tree_view_column_get_tree_view(
24883        tree_column: *mut GtkTreeViewColumn,
24884    ) -> *mut GtkWidget;
24885    pub fn gtk_tree_view_column_get_visible(tree_column: *mut GtkTreeViewColumn) -> gboolean;
24886    pub fn gtk_tree_view_column_get_widget(tree_column: *mut GtkTreeViewColumn) -> *mut GtkWidget;
24887    pub fn gtk_tree_view_column_get_width(tree_column: *mut GtkTreeViewColumn) -> c_int;
24888    pub fn gtk_tree_view_column_get_x_offset(tree_column: *mut GtkTreeViewColumn) -> c_int;
24889    pub fn gtk_tree_view_column_pack_end(
24890        tree_column: *mut GtkTreeViewColumn,
24891        cell: *mut GtkCellRenderer,
24892        expand: gboolean,
24893    );
24894    pub fn gtk_tree_view_column_pack_start(
24895        tree_column: *mut GtkTreeViewColumn,
24896        cell: *mut GtkCellRenderer,
24897        expand: gboolean,
24898    );
24899    pub fn gtk_tree_view_column_queue_resize(tree_column: *mut GtkTreeViewColumn);
24900    pub fn gtk_tree_view_column_set_alignment(tree_column: *mut GtkTreeViewColumn, xalign: c_float);
24901    pub fn gtk_tree_view_column_set_attributes(
24902        tree_column: *mut GtkTreeViewColumn,
24903        cell_renderer: *mut GtkCellRenderer,
24904        ...
24905    );
24906    pub fn gtk_tree_view_column_set_cell_data_func(
24907        tree_column: *mut GtkTreeViewColumn,
24908        cell_renderer: *mut GtkCellRenderer,
24909        func: GtkTreeCellDataFunc,
24910        func_data: gpointer,
24911        destroy: glib::GDestroyNotify,
24912    );
24913    pub fn gtk_tree_view_column_set_clickable(
24914        tree_column: *mut GtkTreeViewColumn,
24915        clickable: gboolean,
24916    );
24917    pub fn gtk_tree_view_column_set_expand(tree_column: *mut GtkTreeViewColumn, expand: gboolean);
24918    pub fn gtk_tree_view_column_set_fixed_width(
24919        tree_column: *mut GtkTreeViewColumn,
24920        fixed_width: c_int,
24921    );
24922    pub fn gtk_tree_view_column_set_max_width(
24923        tree_column: *mut GtkTreeViewColumn,
24924        max_width: c_int,
24925    );
24926    pub fn gtk_tree_view_column_set_min_width(
24927        tree_column: *mut GtkTreeViewColumn,
24928        min_width: c_int,
24929    );
24930    pub fn gtk_tree_view_column_set_reorderable(
24931        tree_column: *mut GtkTreeViewColumn,
24932        reorderable: gboolean,
24933    );
24934    pub fn gtk_tree_view_column_set_resizable(
24935        tree_column: *mut GtkTreeViewColumn,
24936        resizable: gboolean,
24937    );
24938    pub fn gtk_tree_view_column_set_sizing(
24939        tree_column: *mut GtkTreeViewColumn,
24940        type_: GtkTreeViewColumnSizing,
24941    );
24942    pub fn gtk_tree_view_column_set_sort_column_id(
24943        tree_column: *mut GtkTreeViewColumn,
24944        sort_column_id: c_int,
24945    );
24946    pub fn gtk_tree_view_column_set_sort_indicator(
24947        tree_column: *mut GtkTreeViewColumn,
24948        setting: gboolean,
24949    );
24950    pub fn gtk_tree_view_column_set_sort_order(
24951        tree_column: *mut GtkTreeViewColumn,
24952        order: GtkSortType,
24953    );
24954    pub fn gtk_tree_view_column_set_spacing(tree_column: *mut GtkTreeViewColumn, spacing: c_int);
24955    pub fn gtk_tree_view_column_set_title(
24956        tree_column: *mut GtkTreeViewColumn,
24957        title: *const c_char,
24958    );
24959    pub fn gtk_tree_view_column_set_visible(tree_column: *mut GtkTreeViewColumn, visible: gboolean);
24960    pub fn gtk_tree_view_column_set_widget(
24961        tree_column: *mut GtkTreeViewColumn,
24962        widget: *mut GtkWidget,
24963    );
24964
24965    //=========================================================================
24966    // GtkUIManager
24967    //=========================================================================
24968    pub fn gtk_ui_manager_get_type() -> GType;
24969    pub fn gtk_ui_manager_new() -> *mut GtkUIManager;
24970    pub fn gtk_ui_manager_add_ui(
24971        manager: *mut GtkUIManager,
24972        merge_id: c_uint,
24973        path: *const c_char,
24974        name: *const c_char,
24975        action: *const c_char,
24976        type_: GtkUIManagerItemType,
24977        top: gboolean,
24978    );
24979    pub fn gtk_ui_manager_add_ui_from_file(
24980        manager: *mut GtkUIManager,
24981        filename: *const c_char,
24982        error: *mut *mut glib::GError,
24983    ) -> c_uint;
24984    pub fn gtk_ui_manager_add_ui_from_resource(
24985        manager: *mut GtkUIManager,
24986        resource_path: *const c_char,
24987        error: *mut *mut glib::GError,
24988    ) -> c_uint;
24989    pub fn gtk_ui_manager_add_ui_from_string(
24990        manager: *mut GtkUIManager,
24991        buffer: *const c_char,
24992        length: ssize_t,
24993        error: *mut *mut glib::GError,
24994    ) -> c_uint;
24995    pub fn gtk_ui_manager_ensure_update(manager: *mut GtkUIManager);
24996    pub fn gtk_ui_manager_get_accel_group(manager: *mut GtkUIManager) -> *mut GtkAccelGroup;
24997    pub fn gtk_ui_manager_get_action(
24998        manager: *mut GtkUIManager,
24999        path: *const c_char,
25000    ) -> *mut GtkAction;
25001    pub fn gtk_ui_manager_get_action_groups(manager: *mut GtkUIManager) -> *mut glib::GList;
25002    pub fn gtk_ui_manager_get_add_tearoffs(manager: *mut GtkUIManager) -> gboolean;
25003    pub fn gtk_ui_manager_get_toplevels(
25004        manager: *mut GtkUIManager,
25005        types: GtkUIManagerItemType,
25006    ) -> *mut glib::GSList;
25007    pub fn gtk_ui_manager_get_ui(manager: *mut GtkUIManager) -> *mut c_char;
25008    pub fn gtk_ui_manager_get_widget(
25009        manager: *mut GtkUIManager,
25010        path: *const c_char,
25011    ) -> *mut GtkWidget;
25012    pub fn gtk_ui_manager_insert_action_group(
25013        manager: *mut GtkUIManager,
25014        action_group: *mut GtkActionGroup,
25015        pos: c_int,
25016    );
25017    pub fn gtk_ui_manager_new_merge_id(manager: *mut GtkUIManager) -> c_uint;
25018    pub fn gtk_ui_manager_remove_action_group(
25019        manager: *mut GtkUIManager,
25020        action_group: *mut GtkActionGroup,
25021    );
25022    pub fn gtk_ui_manager_remove_ui(manager: *mut GtkUIManager, merge_id: c_uint);
25023    pub fn gtk_ui_manager_set_add_tearoffs(manager: *mut GtkUIManager, add_tearoffs: gboolean);
25024
25025    //=========================================================================
25026    // GtkVBox
25027    //=========================================================================
25028    pub fn gtk_vbox_get_type() -> GType;
25029    pub fn gtk_vbox_new(homogeneous: gboolean, spacing: c_int) -> *mut GtkWidget;
25030
25031    //=========================================================================
25032    // GtkVButtonBox
25033    //=========================================================================
25034    pub fn gtk_vbutton_box_get_type() -> GType;
25035    pub fn gtk_vbutton_box_new() -> *mut GtkWidget;
25036
25037    //=========================================================================
25038    // GtkVPaned
25039    //=========================================================================
25040    pub fn gtk_vpaned_get_type() -> GType;
25041    pub fn gtk_vpaned_new() -> *mut GtkWidget;
25042
25043    //=========================================================================
25044    // GtkVScale
25045    //=========================================================================
25046    pub fn gtk_vscale_get_type() -> GType;
25047    pub fn gtk_vscale_new(adjustment: *mut GtkAdjustment) -> *mut GtkWidget;
25048    pub fn gtk_vscale_new_with_range(
25049        min: c_double,
25050        max: c_double,
25051        step: c_double,
25052    ) -> *mut GtkWidget;
25053
25054    //=========================================================================
25055    // GtkVScrollbar
25056    //=========================================================================
25057    pub fn gtk_vscrollbar_get_type() -> GType;
25058    pub fn gtk_vscrollbar_new(adjustment: *mut GtkAdjustment) -> *mut GtkWidget;
25059
25060    //=========================================================================
25061    // GtkVSeparator
25062    //=========================================================================
25063    pub fn gtk_vseparator_get_type() -> GType;
25064    pub fn gtk_vseparator_new() -> *mut GtkWidget;
25065
25066    //=========================================================================
25067    // GtkViewport
25068    //=========================================================================
25069    pub fn gtk_viewport_get_type() -> GType;
25070    pub fn gtk_viewport_new(
25071        hadjustment: *mut GtkAdjustment,
25072        vadjustment: *mut GtkAdjustment,
25073    ) -> *mut GtkWidget;
25074    pub fn gtk_viewport_get_bin_window(viewport: *mut GtkViewport) -> *mut gdk::GdkWindow;
25075    pub fn gtk_viewport_get_hadjustment(viewport: *mut GtkViewport) -> *mut GtkAdjustment;
25076    pub fn gtk_viewport_get_shadow_type(viewport: *mut GtkViewport) -> GtkShadowType;
25077    pub fn gtk_viewport_get_vadjustment(viewport: *mut GtkViewport) -> *mut GtkAdjustment;
25078    pub fn gtk_viewport_get_view_window(viewport: *mut GtkViewport) -> *mut gdk::GdkWindow;
25079    pub fn gtk_viewport_set_hadjustment(viewport: *mut GtkViewport, adjustment: *mut GtkAdjustment);
25080    pub fn gtk_viewport_set_shadow_type(viewport: *mut GtkViewport, type_: GtkShadowType);
25081    pub fn gtk_viewport_set_vadjustment(viewport: *mut GtkViewport, adjustment: *mut GtkAdjustment);
25082
25083    //=========================================================================
25084    // GtkVolumeButton
25085    //=========================================================================
25086    pub fn gtk_volume_button_get_type() -> GType;
25087    pub fn gtk_volume_button_new() -> *mut GtkWidget;
25088
25089    //=========================================================================
25090    // GtkWidget
25091    //=========================================================================
25092    pub fn gtk_widget_get_type() -> GType;
25093    pub fn gtk_widget_new(type_: GType, first_property_name: *const c_char, ...) -> *mut GtkWidget;
25094    pub fn gtk_widget_get_default_direction() -> GtkTextDirection;
25095    pub fn gtk_widget_get_default_style() -> *mut GtkStyle;
25096    pub fn gtk_widget_pop_composite_child();
25097    pub fn gtk_widget_push_composite_child();
25098    pub fn gtk_widget_set_default_direction(dir: GtkTextDirection);
25099    pub fn gtk_widget_activate(widget: *mut GtkWidget) -> gboolean;
25100    pub fn gtk_widget_add_accelerator(
25101        widget: *mut GtkWidget,
25102        accel_signal: *const c_char,
25103        accel_group: *mut GtkAccelGroup,
25104        accel_key: c_uint,
25105        accel_mods: gdk::GdkModifierType,
25106        accel_flags: GtkAccelFlags,
25107    );
25108    pub fn gtk_widget_add_device_events(
25109        widget: *mut GtkWidget,
25110        device: *mut gdk::GdkDevice,
25111        events: gdk::GdkEventMask,
25112    );
25113    pub fn gtk_widget_add_events(widget: *mut GtkWidget, events: c_int);
25114    pub fn gtk_widget_add_mnemonic_label(widget: *mut GtkWidget, label: *mut GtkWidget);
25115    pub fn gtk_widget_add_tick_callback(
25116        widget: *mut GtkWidget,
25117        callback: GtkTickCallback,
25118        user_data: gpointer,
25119        notify: glib::GDestroyNotify,
25120    ) -> c_uint;
25121    pub fn gtk_widget_can_activate_accel(widget: *mut GtkWidget, signal_id: c_uint) -> gboolean;
25122    pub fn gtk_widget_child_focus(widget: *mut GtkWidget, direction: GtkDirectionType) -> gboolean;
25123    pub fn gtk_widget_child_notify(widget: *mut GtkWidget, child_property: *const c_char);
25124    pub fn gtk_widget_class_path(
25125        widget: *mut GtkWidget,
25126        path_length: *mut c_uint,
25127        path: *mut *mut c_char,
25128        path_reversed: *mut *mut c_char,
25129    );
25130    pub fn gtk_widget_compute_expand(
25131        widget: *mut GtkWidget,
25132        orientation: GtkOrientation,
25133    ) -> gboolean;
25134    pub fn gtk_widget_create_pango_context(widget: *mut GtkWidget) -> *mut pango::PangoContext;
25135    pub fn gtk_widget_create_pango_layout(
25136        widget: *mut GtkWidget,
25137        text: *const c_char,
25138    ) -> *mut pango::PangoLayout;
25139    pub fn gtk_widget_destroy(widget: *mut GtkWidget);
25140    pub fn gtk_widget_destroyed(widget: *mut GtkWidget, widget_pointer: *mut *mut GtkWidget);
25141    pub fn gtk_widget_device_is_shadowed(
25142        widget: *mut GtkWidget,
25143        device: *mut gdk::GdkDevice,
25144    ) -> gboolean;
25145    pub fn gtk_drag_begin(
25146        widget: *mut GtkWidget,
25147        targets: *mut GtkTargetList,
25148        actions: gdk::GdkDragAction,
25149        button: c_int,
25150        event: *mut gdk::GdkEvent,
25151    ) -> *mut gdk::GdkDragContext;
25152    pub fn gtk_drag_begin_with_coordinates(
25153        widget: *mut GtkWidget,
25154        targets: *mut GtkTargetList,
25155        actions: gdk::GdkDragAction,
25156        button: c_int,
25157        event: *mut gdk::GdkEvent,
25158        x: c_int,
25159        y: c_int,
25160    ) -> *mut gdk::GdkDragContext;
25161    pub fn gtk_drag_check_threshold(
25162        widget: *mut GtkWidget,
25163        start_x: c_int,
25164        start_y: c_int,
25165        current_x: c_int,
25166        current_y: c_int,
25167    ) -> gboolean;
25168    pub fn gtk_drag_dest_add_image_targets(widget: *mut GtkWidget);
25169    pub fn gtk_drag_dest_add_text_targets(widget: *mut GtkWidget);
25170    pub fn gtk_drag_dest_add_uri_targets(widget: *mut GtkWidget);
25171    pub fn gtk_drag_dest_find_target(
25172        widget: *mut GtkWidget,
25173        context: *mut gdk::GdkDragContext,
25174        target_list: *mut GtkTargetList,
25175    ) -> gdk::GdkAtom;
25176    pub fn gtk_drag_dest_get_target_list(widget: *mut GtkWidget) -> *mut GtkTargetList;
25177    pub fn gtk_drag_dest_get_track_motion(widget: *mut GtkWidget) -> gboolean;
25178    pub fn gtk_drag_dest_set(
25179        widget: *mut GtkWidget,
25180        flags: GtkDestDefaults,
25181        targets: *const GtkTargetEntry,
25182        n_targets: c_int,
25183        actions: gdk::GdkDragAction,
25184    );
25185    pub fn gtk_drag_dest_set_proxy(
25186        widget: *mut GtkWidget,
25187        proxy_window: *mut gdk::GdkWindow,
25188        protocol: gdk::GdkDragProtocol,
25189        use_coordinates: gboolean,
25190    );
25191    pub fn gtk_drag_dest_set_target_list(widget: *mut GtkWidget, target_list: *mut GtkTargetList);
25192    pub fn gtk_drag_dest_set_track_motion(widget: *mut GtkWidget, track_motion: gboolean);
25193    pub fn gtk_drag_dest_unset(widget: *mut GtkWidget);
25194    pub fn gtk_drag_get_data(
25195        widget: *mut GtkWidget,
25196        context: *mut gdk::GdkDragContext,
25197        target: gdk::GdkAtom,
25198        time_: u32,
25199    );
25200    pub fn gtk_drag_highlight(widget: *mut GtkWidget);
25201    pub fn gtk_drag_source_add_image_targets(widget: *mut GtkWidget);
25202    pub fn gtk_drag_source_add_text_targets(widget: *mut GtkWidget);
25203    pub fn gtk_drag_source_add_uri_targets(widget: *mut GtkWidget);
25204    pub fn gtk_drag_source_get_target_list(widget: *mut GtkWidget) -> *mut GtkTargetList;
25205    pub fn gtk_drag_source_set(
25206        widget: *mut GtkWidget,
25207        start_button_mask: gdk::GdkModifierType,
25208        targets: *const GtkTargetEntry,
25209        n_targets: c_int,
25210        actions: gdk::GdkDragAction,
25211    );
25212    pub fn gtk_drag_source_set_icon_gicon(widget: *mut GtkWidget, icon: *mut gio::GIcon);
25213    pub fn gtk_drag_source_set_icon_name(widget: *mut GtkWidget, icon_name: *const c_char);
25214    pub fn gtk_drag_source_set_icon_pixbuf(
25215        widget: *mut GtkWidget,
25216        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
25217    );
25218    pub fn gtk_drag_source_set_icon_stock(widget: *mut GtkWidget, stock_id: *const c_char);
25219    pub fn gtk_drag_source_set_target_list(widget: *mut GtkWidget, target_list: *mut GtkTargetList);
25220    pub fn gtk_drag_source_unset(widget: *mut GtkWidget);
25221    pub fn gtk_drag_unhighlight(widget: *mut GtkWidget);
25222    pub fn gtk_widget_draw(widget: *mut GtkWidget, cr: *mut cairo::cairo_t);
25223    pub fn gtk_widget_ensure_style(widget: *mut GtkWidget);
25224    pub fn gtk_widget_error_bell(widget: *mut GtkWidget);
25225    pub fn gtk_widget_event(widget: *mut GtkWidget, event: *mut gdk::GdkEvent) -> gboolean;
25226    pub fn gtk_widget_freeze_child_notify(widget: *mut GtkWidget);
25227    pub fn gtk_widget_get_accessible(widget: *mut GtkWidget) -> *mut atk::AtkObject;
25228    #[cfg(any(feature = "v3_16", feature = "dox"))]
25229    pub fn gtk_widget_get_action_group(
25230        widget: *mut GtkWidget,
25231        prefix: *const c_char,
25232    ) -> *mut gio::GActionGroup;
25233    pub fn gtk_widget_get_allocated_baseline(widget: *mut GtkWidget) -> c_int;
25234    pub fn gtk_widget_get_allocated_height(widget: *mut GtkWidget) -> c_int;
25235    #[cfg(any(feature = "v3_20", feature = "dox"))]
25236    pub fn gtk_widget_get_allocated_size(
25237        widget: *mut GtkWidget,
25238        allocation: *mut GtkAllocation,
25239        baseline: *mut c_int,
25240    );
25241    pub fn gtk_widget_get_allocated_width(widget: *mut GtkWidget) -> c_int;
25242    pub fn gtk_widget_get_allocation(widget: *mut GtkWidget, allocation: *mut GtkAllocation);
25243    pub fn gtk_widget_get_ancestor(widget: *mut GtkWidget, widget_type: GType) -> *mut GtkWidget;
25244    pub fn gtk_widget_get_app_paintable(widget: *mut GtkWidget) -> gboolean;
25245    pub fn gtk_widget_get_can_default(widget: *mut GtkWidget) -> gboolean;
25246    pub fn gtk_widget_get_can_focus(widget: *mut GtkWidget) -> gboolean;
25247    pub fn gtk_widget_get_child_requisition(
25248        widget: *mut GtkWidget,
25249        requisition: *mut GtkRequisition,
25250    );
25251    pub fn gtk_widget_get_child_visible(widget: *mut GtkWidget) -> gboolean;
25252    pub fn gtk_widget_get_clip(widget: *mut GtkWidget, clip: *mut GtkAllocation);
25253    pub fn gtk_widget_get_clipboard(
25254        widget: *mut GtkWidget,
25255        selection: gdk::GdkAtom,
25256    ) -> *mut GtkClipboard;
25257    pub fn gtk_widget_get_composite_name(widget: *mut GtkWidget) -> *mut c_char;
25258    pub fn gtk_widget_get_device_enabled(
25259        widget: *mut GtkWidget,
25260        device: *mut gdk::GdkDevice,
25261    ) -> gboolean;
25262    pub fn gtk_widget_get_device_events(
25263        widget: *mut GtkWidget,
25264        device: *mut gdk::GdkDevice,
25265    ) -> gdk::GdkEventMask;
25266    pub fn gtk_widget_get_direction(widget: *mut GtkWidget) -> GtkTextDirection;
25267    pub fn gtk_widget_get_display(widget: *mut GtkWidget) -> *mut gdk::GdkDisplay;
25268    pub fn gtk_widget_get_double_buffered(widget: *mut GtkWidget) -> gboolean;
25269    pub fn gtk_widget_get_events(widget: *mut GtkWidget) -> c_int;
25270    #[cfg(any(feature = "v3_20", feature = "dox"))]
25271    pub fn gtk_widget_get_focus_on_click(widget: *mut GtkWidget) -> gboolean;
25272    #[cfg(any(feature = "v3_18", feature = "dox"))]
25273    pub fn gtk_widget_get_font_map(widget: *mut GtkWidget) -> *mut pango::PangoFontMap;
25274    #[cfg(any(feature = "v3_18", feature = "dox"))]
25275    pub fn gtk_widget_get_font_options(
25276        widget: *mut GtkWidget,
25277    ) -> *const cairo::cairo_font_options_t;
25278    pub fn gtk_widget_get_frame_clock(widget: *mut GtkWidget) -> *mut gdk::GdkFrameClock;
25279    pub fn gtk_widget_get_halign(widget: *mut GtkWidget) -> GtkAlign;
25280    pub fn gtk_widget_get_has_tooltip(widget: *mut GtkWidget) -> gboolean;
25281    pub fn gtk_widget_get_has_window(widget: *mut GtkWidget) -> gboolean;
25282    pub fn gtk_widget_get_hexpand(widget: *mut GtkWidget) -> gboolean;
25283    pub fn gtk_widget_get_hexpand_set(widget: *mut GtkWidget) -> gboolean;
25284    pub fn gtk_widget_get_mapped(widget: *mut GtkWidget) -> gboolean;
25285    pub fn gtk_widget_get_margin_bottom(widget: *mut GtkWidget) -> c_int;
25286    pub fn gtk_widget_get_margin_end(widget: *mut GtkWidget) -> c_int;
25287    pub fn gtk_widget_get_margin_left(widget: *mut GtkWidget) -> c_int;
25288    pub fn gtk_widget_get_margin_right(widget: *mut GtkWidget) -> c_int;
25289    pub fn gtk_widget_get_margin_start(widget: *mut GtkWidget) -> c_int;
25290    pub fn gtk_widget_get_margin_top(widget: *mut GtkWidget) -> c_int;
25291    pub fn gtk_widget_get_modifier_mask(
25292        widget: *mut GtkWidget,
25293        intent: gdk::GdkModifierIntent,
25294    ) -> gdk::GdkModifierType;
25295    pub fn gtk_widget_get_modifier_style(widget: *mut GtkWidget) -> *mut GtkRcStyle;
25296    pub fn gtk_widget_get_name(widget: *mut GtkWidget) -> *const c_char;
25297    pub fn gtk_widget_get_no_show_all(widget: *mut GtkWidget) -> gboolean;
25298    pub fn gtk_widget_get_opacity(widget: *mut GtkWidget) -> c_double;
25299    pub fn gtk_widget_get_pango_context(widget: *mut GtkWidget) -> *mut pango::PangoContext;
25300    pub fn gtk_widget_get_parent(widget: *mut GtkWidget) -> *mut GtkWidget;
25301    pub fn gtk_widget_get_parent_window(widget: *mut GtkWidget) -> *mut gdk::GdkWindow;
25302    pub fn gtk_widget_get_path(widget: *mut GtkWidget) -> *mut GtkWidgetPath;
25303    pub fn gtk_widget_get_pointer(widget: *mut GtkWidget, x: *mut c_int, y: *mut c_int);
25304    pub fn gtk_widget_get_preferred_height(
25305        widget: *mut GtkWidget,
25306        minimum_height: *mut c_int,
25307        natural_height: *mut c_int,
25308    );
25309    pub fn gtk_widget_get_preferred_height_and_baseline_for_width(
25310        widget: *mut GtkWidget,
25311        width: c_int,
25312        minimum_height: *mut c_int,
25313        natural_height: *mut c_int,
25314        minimum_baseline: *mut c_int,
25315        natural_baseline: *mut c_int,
25316    );
25317    pub fn gtk_widget_get_preferred_height_for_width(
25318        widget: *mut GtkWidget,
25319        width: c_int,
25320        minimum_height: *mut c_int,
25321        natural_height: *mut c_int,
25322    );
25323    pub fn gtk_widget_get_preferred_size(
25324        widget: *mut GtkWidget,
25325        minimum_size: *mut GtkRequisition,
25326        natural_size: *mut GtkRequisition,
25327    );
25328    pub fn gtk_widget_get_preferred_width(
25329        widget: *mut GtkWidget,
25330        minimum_width: *mut c_int,
25331        natural_width: *mut c_int,
25332    );
25333    pub fn gtk_widget_get_preferred_width_for_height(
25334        widget: *mut GtkWidget,
25335        height: c_int,
25336        minimum_width: *mut c_int,
25337        natural_width: *mut c_int,
25338    );
25339    pub fn gtk_widget_get_realized(widget: *mut GtkWidget) -> gboolean;
25340    pub fn gtk_widget_get_receives_default(widget: *mut GtkWidget) -> gboolean;
25341    pub fn gtk_widget_get_request_mode(widget: *mut GtkWidget) -> GtkSizeRequestMode;
25342    pub fn gtk_widget_get_requisition(widget: *mut GtkWidget, requisition: *mut GtkRequisition);
25343    pub fn gtk_widget_get_root_window(widget: *mut GtkWidget) -> *mut gdk::GdkWindow;
25344    pub fn gtk_widget_get_scale_factor(widget: *mut GtkWidget) -> c_int;
25345    pub fn gtk_widget_get_screen(widget: *mut GtkWidget) -> *mut gdk::GdkScreen;
25346    pub fn gtk_widget_get_sensitive(widget: *mut GtkWidget) -> gboolean;
25347    pub fn gtk_widget_get_settings(widget: *mut GtkWidget) -> *mut GtkSettings;
25348    pub fn gtk_widget_get_size_request(
25349        widget: *mut GtkWidget,
25350        width: *mut c_int,
25351        height: *mut c_int,
25352    );
25353    pub fn gtk_widget_get_state(widget: *mut GtkWidget) -> GtkStateType;
25354    pub fn gtk_widget_get_state_flags(widget: *mut GtkWidget) -> GtkStateFlags;
25355    pub fn gtk_widget_get_style(widget: *mut GtkWidget) -> *mut GtkStyle;
25356    pub fn gtk_widget_get_style_context(widget: *mut GtkWidget) -> *mut GtkStyleContext;
25357    pub fn gtk_widget_get_support_multidevice(widget: *mut GtkWidget) -> gboolean;
25358    pub fn gtk_widget_get_template_child(
25359        widget: *mut GtkWidget,
25360        widget_type: GType,
25361        name: *const c_char,
25362    ) -> *mut gobject::GObject;
25363    pub fn gtk_widget_get_tooltip_markup(widget: *mut GtkWidget) -> *mut c_char;
25364    pub fn gtk_widget_get_tooltip_text(widget: *mut GtkWidget) -> *mut c_char;
25365    pub fn gtk_widget_get_tooltip_window(widget: *mut GtkWidget) -> *mut GtkWindow;
25366    pub fn gtk_widget_get_toplevel(widget: *mut GtkWidget) -> *mut GtkWidget;
25367    pub fn gtk_widget_get_valign(widget: *mut GtkWidget) -> GtkAlign;
25368    pub fn gtk_widget_get_valign_with_baseline(widget: *mut GtkWidget) -> GtkAlign;
25369    pub fn gtk_widget_get_vexpand(widget: *mut GtkWidget) -> gboolean;
25370    pub fn gtk_widget_get_vexpand_set(widget: *mut GtkWidget) -> gboolean;
25371    pub fn gtk_widget_get_visible(widget: *mut GtkWidget) -> gboolean;
25372    pub fn gtk_widget_get_visual(widget: *mut GtkWidget) -> *mut gdk::GdkVisual;
25373    pub fn gtk_widget_get_window(widget: *mut GtkWidget) -> *mut gdk::GdkWindow;
25374    pub fn gtk_grab_add(widget: *mut GtkWidget);
25375    pub fn gtk_widget_grab_default(widget: *mut GtkWidget);
25376    pub fn gtk_widget_grab_focus(widget: *mut GtkWidget);
25377    pub fn gtk_grab_remove(widget: *mut GtkWidget);
25378    pub fn gtk_widget_has_default(widget: *mut GtkWidget) -> gboolean;
25379    pub fn gtk_widget_has_focus(widget: *mut GtkWidget) -> gboolean;
25380    pub fn gtk_widget_has_grab(widget: *mut GtkWidget) -> gboolean;
25381    pub fn gtk_widget_has_rc_style(widget: *mut GtkWidget) -> gboolean;
25382    pub fn gtk_widget_has_screen(widget: *mut GtkWidget) -> gboolean;
25383    pub fn gtk_widget_has_visible_focus(widget: *mut GtkWidget) -> gboolean;
25384    pub fn gtk_widget_hide(widget: *mut GtkWidget);
25385    pub fn gtk_widget_hide_on_delete(widget: *mut GtkWidget) -> gboolean;
25386    pub fn gtk_widget_in_destruction(widget: *mut GtkWidget) -> gboolean;
25387    pub fn gtk_widget_init_template(widget: *mut GtkWidget);
25388    pub fn gtk_widget_input_shape_combine_region(
25389        widget: *mut GtkWidget,
25390        region: *mut cairo::cairo_region_t,
25391    );
25392    pub fn gtk_widget_insert_action_group(
25393        widget: *mut GtkWidget,
25394        name: *const c_char,
25395        group: *mut gio::GActionGroup,
25396    );
25397    pub fn gtk_widget_intersect(
25398        widget: *mut GtkWidget,
25399        area: *const gdk::GdkRectangle,
25400        intersection: *mut gdk::GdkRectangle,
25401    ) -> gboolean;
25402    pub fn gtk_widget_is_ancestor(widget: *mut GtkWidget, ancestor: *mut GtkWidget) -> gboolean;
25403    pub fn gtk_widget_is_composited(widget: *mut GtkWidget) -> gboolean;
25404    pub fn gtk_widget_is_drawable(widget: *mut GtkWidget) -> gboolean;
25405    pub fn gtk_widget_is_focus(widget: *mut GtkWidget) -> gboolean;
25406    pub fn gtk_widget_is_sensitive(widget: *mut GtkWidget) -> gboolean;
25407    pub fn gtk_widget_is_toplevel(widget: *mut GtkWidget) -> gboolean;
25408    pub fn gtk_widget_is_visible(widget: *mut GtkWidget) -> gboolean;
25409    pub fn gtk_widget_keynav_failed(
25410        widget: *mut GtkWidget,
25411        direction: GtkDirectionType,
25412    ) -> gboolean;
25413    pub fn gtk_widget_list_accel_closures(widget: *mut GtkWidget) -> *mut glib::GList;
25414    #[cfg(any(feature = "v3_16", feature = "dox"))]
25415    pub fn gtk_widget_list_action_prefixes(widget: *mut GtkWidget) -> *mut *const c_char;
25416    pub fn gtk_widget_list_mnemonic_labels(widget: *mut GtkWidget) -> *mut glib::GList;
25417    pub fn gtk_widget_map(widget: *mut GtkWidget);
25418    pub fn gtk_widget_mnemonic_activate(
25419        widget: *mut GtkWidget,
25420        group_cycling: gboolean,
25421    ) -> gboolean;
25422    pub fn gtk_widget_modify_base(
25423        widget: *mut GtkWidget,
25424        state: GtkStateType,
25425        color: *const gdk::GdkColor,
25426    );
25427    pub fn gtk_widget_modify_bg(
25428        widget: *mut GtkWidget,
25429        state: GtkStateType,
25430        color: *const gdk::GdkColor,
25431    );
25432    pub fn gtk_widget_modify_cursor(
25433        widget: *mut GtkWidget,
25434        primary: *const gdk::GdkColor,
25435        secondary: *const gdk::GdkColor,
25436    );
25437    pub fn gtk_widget_modify_fg(
25438        widget: *mut GtkWidget,
25439        state: GtkStateType,
25440        color: *const gdk::GdkColor,
25441    );
25442    pub fn gtk_widget_modify_font(
25443        widget: *mut GtkWidget,
25444        font_desc: *mut pango::PangoFontDescription,
25445    );
25446    pub fn gtk_widget_modify_style(widget: *mut GtkWidget, style: *mut GtkRcStyle);
25447    pub fn gtk_widget_modify_text(
25448        widget: *mut GtkWidget,
25449        state: GtkStateType,
25450        color: *const gdk::GdkColor,
25451    );
25452    pub fn gtk_widget_override_background_color(
25453        widget: *mut GtkWidget,
25454        state: GtkStateFlags,
25455        color: *const gdk::GdkRGBA,
25456    );
25457    pub fn gtk_widget_override_color(
25458        widget: *mut GtkWidget,
25459        state: GtkStateFlags,
25460        color: *const gdk::GdkRGBA,
25461    );
25462    pub fn gtk_widget_override_cursor(
25463        widget: *mut GtkWidget,
25464        cursor: *const gdk::GdkRGBA,
25465        secondary_cursor: *const gdk::GdkRGBA,
25466    );
25467    pub fn gtk_widget_override_font(
25468        widget: *mut GtkWidget,
25469        font_desc: *const pango::PangoFontDescription,
25470    );
25471    pub fn gtk_widget_override_symbolic_color(
25472        widget: *mut GtkWidget,
25473        name: *const c_char,
25474        color: *const gdk::GdkRGBA,
25475    );
25476    pub fn gtk_widget_path(
25477        widget: *mut GtkWidget,
25478        path_length: *mut c_uint,
25479        path: *mut *mut c_char,
25480        path_reversed: *mut *mut c_char,
25481    );
25482    #[cfg(any(feature = "v3_20", feature = "dox"))]
25483    pub fn gtk_widget_queue_allocate(widget: *mut GtkWidget);
25484    pub fn gtk_widget_queue_compute_expand(widget: *mut GtkWidget);
25485    pub fn gtk_widget_queue_draw(widget: *mut GtkWidget);
25486    pub fn gtk_widget_queue_draw_area(
25487        widget: *mut GtkWidget,
25488        x: c_int,
25489        y: c_int,
25490        width: c_int,
25491        height: c_int,
25492    );
25493    pub fn gtk_widget_queue_draw_region(
25494        widget: *mut GtkWidget,
25495        region: *const cairo::cairo_region_t,
25496    );
25497    pub fn gtk_widget_queue_resize(widget: *mut GtkWidget);
25498    pub fn gtk_widget_queue_resize_no_redraw(widget: *mut GtkWidget);
25499    pub fn gtk_widget_realize(widget: *mut GtkWidget);
25500    pub fn gtk_widget_region_intersect(
25501        widget: *mut GtkWidget,
25502        region: *const cairo::cairo_region_t,
25503    ) -> *mut cairo::cairo_region_t;
25504    pub fn gtk_widget_register_window(widget: *mut GtkWidget, window: *mut gdk::GdkWindow);
25505    pub fn gtk_widget_remove_accelerator(
25506        widget: *mut GtkWidget,
25507        accel_group: *mut GtkAccelGroup,
25508        accel_key: c_uint,
25509        accel_mods: gdk::GdkModifierType,
25510    ) -> gboolean;
25511    pub fn gtk_widget_remove_mnemonic_label(widget: *mut GtkWidget, label: *mut GtkWidget);
25512    pub fn gtk_widget_remove_tick_callback(widget: *mut GtkWidget, id: c_uint);
25513    pub fn gtk_widget_render_icon(
25514        widget: *mut GtkWidget,
25515        stock_id: *const c_char,
25516        size: GtkIconSize,
25517        detail: *const c_char,
25518    ) -> *mut gdk_pixbuf::GdkPixbuf;
25519    pub fn gtk_widget_render_icon_pixbuf(
25520        widget: *mut GtkWidget,
25521        stock_id: *const c_char,
25522        size: GtkIconSize,
25523    ) -> *mut gdk_pixbuf::GdkPixbuf;
25524    pub fn gtk_widget_reparent(widget: *mut GtkWidget, new_parent: *mut GtkWidget);
25525    pub fn gtk_widget_reset_rc_styles(widget: *mut GtkWidget);
25526    pub fn gtk_widget_reset_style(widget: *mut GtkWidget);
25527    pub fn gtk_widget_send_expose(widget: *mut GtkWidget, event: *mut gdk::GdkEvent) -> c_int;
25528    pub fn gtk_widget_send_focus_change(
25529        widget: *mut GtkWidget,
25530        event: *mut gdk::GdkEvent,
25531    ) -> gboolean;
25532    pub fn gtk_widget_set_accel_path(
25533        widget: *mut GtkWidget,
25534        accel_path: *const c_char,
25535        accel_group: *mut GtkAccelGroup,
25536    );
25537    pub fn gtk_widget_set_allocation(widget: *mut GtkWidget, allocation: *const GtkAllocation);
25538    pub fn gtk_widget_set_app_paintable(widget: *mut GtkWidget, app_paintable: gboolean);
25539    pub fn gtk_widget_set_can_default(widget: *mut GtkWidget, can_default: gboolean);
25540    pub fn gtk_widget_set_can_focus(widget: *mut GtkWidget, can_focus: gboolean);
25541    pub fn gtk_widget_set_child_visible(widget: *mut GtkWidget, is_visible: gboolean);
25542    pub fn gtk_widget_set_clip(widget: *mut GtkWidget, clip: *const GtkAllocation);
25543    pub fn gtk_widget_set_composite_name(widget: *mut GtkWidget, name: *const c_char);
25544    pub fn gtk_widget_set_device_enabled(
25545        widget: *mut GtkWidget,
25546        device: *mut gdk::GdkDevice,
25547        enabled: gboolean,
25548    );
25549    pub fn gtk_widget_set_device_events(
25550        widget: *mut GtkWidget,
25551        device: *mut gdk::GdkDevice,
25552        events: gdk::GdkEventMask,
25553    );
25554    pub fn gtk_widget_set_direction(widget: *mut GtkWidget, dir: GtkTextDirection);
25555    pub fn gtk_widget_set_double_buffered(widget: *mut GtkWidget, double_buffered: gboolean);
25556    pub fn gtk_widget_set_events(widget: *mut GtkWidget, events: c_int);
25557    #[cfg(any(feature = "v3_20", feature = "dox"))]
25558    pub fn gtk_widget_set_focus_on_click(widget: *mut GtkWidget, focus_on_click: gboolean);
25559    #[cfg(any(feature = "v3_18", feature = "dox"))]
25560    pub fn gtk_widget_set_font_map(widget: *mut GtkWidget, font_map: *mut pango::PangoFontMap);
25561    #[cfg(any(feature = "v3_18", feature = "dox"))]
25562    pub fn gtk_widget_set_font_options(
25563        widget: *mut GtkWidget,
25564        options: *const cairo::cairo_font_options_t,
25565    );
25566    pub fn gtk_widget_set_halign(widget: *mut GtkWidget, align: GtkAlign);
25567    pub fn gtk_widget_set_has_tooltip(widget: *mut GtkWidget, has_tooltip: gboolean);
25568    pub fn gtk_widget_set_has_window(widget: *mut GtkWidget, has_window: gboolean);
25569    pub fn gtk_widget_set_hexpand(widget: *mut GtkWidget, expand: gboolean);
25570    pub fn gtk_widget_set_hexpand_set(widget: *mut GtkWidget, set: gboolean);
25571    pub fn gtk_widget_set_mapped(widget: *mut GtkWidget, mapped: gboolean);
25572    pub fn gtk_widget_set_margin_bottom(widget: *mut GtkWidget, margin: c_int);
25573    pub fn gtk_widget_set_margin_end(widget: *mut GtkWidget, margin: c_int);
25574    pub fn gtk_widget_set_margin_left(widget: *mut GtkWidget, margin: c_int);
25575    pub fn gtk_widget_set_margin_right(widget: *mut GtkWidget, margin: c_int);
25576    pub fn gtk_widget_set_margin_start(widget: *mut GtkWidget, margin: c_int);
25577    pub fn gtk_widget_set_margin_top(widget: *mut GtkWidget, margin: c_int);
25578    pub fn gtk_widget_set_name(widget: *mut GtkWidget, name: *const c_char);
25579    pub fn gtk_widget_set_no_show_all(widget: *mut GtkWidget, no_show_all: gboolean);
25580    pub fn gtk_widget_set_opacity(widget: *mut GtkWidget, opacity: c_double);
25581    pub fn gtk_widget_set_parent(widget: *mut GtkWidget, parent: *mut GtkWidget);
25582    pub fn gtk_widget_set_parent_window(widget: *mut GtkWidget, parent_window: *mut gdk::GdkWindow);
25583    pub fn gtk_widget_set_realized(widget: *mut GtkWidget, realized: gboolean);
25584    pub fn gtk_widget_set_receives_default(widget: *mut GtkWidget, receives_default: gboolean);
25585    pub fn gtk_widget_set_redraw_on_allocate(widget: *mut GtkWidget, redraw_on_allocate: gboolean);
25586    pub fn gtk_widget_set_sensitive(widget: *mut GtkWidget, sensitive: gboolean);
25587    pub fn gtk_widget_set_size_request(widget: *mut GtkWidget, width: c_int, height: c_int);
25588    pub fn gtk_widget_set_state(widget: *mut GtkWidget, state: GtkStateType);
25589    pub fn gtk_widget_set_state_flags(
25590        widget: *mut GtkWidget,
25591        flags: GtkStateFlags,
25592        clear: gboolean,
25593    );
25594    pub fn gtk_widget_set_style(widget: *mut GtkWidget, style: *mut GtkStyle);
25595    pub fn gtk_widget_set_support_multidevice(
25596        widget: *mut GtkWidget,
25597        support_multidevice: gboolean,
25598    );
25599    pub fn gtk_widget_set_tooltip_markup(widget: *mut GtkWidget, markup: *const c_char);
25600    pub fn gtk_widget_set_tooltip_text(widget: *mut GtkWidget, text: *const c_char);
25601    pub fn gtk_widget_set_tooltip_window(widget: *mut GtkWidget, custom_window: *mut GtkWindow);
25602    pub fn gtk_widget_set_valign(widget: *mut GtkWidget, align: GtkAlign);
25603    pub fn gtk_widget_set_vexpand(widget: *mut GtkWidget, expand: gboolean);
25604    pub fn gtk_widget_set_vexpand_set(widget: *mut GtkWidget, set: gboolean);
25605    pub fn gtk_widget_set_visible(widget: *mut GtkWidget, visible: gboolean);
25606    pub fn gtk_widget_set_visual(widget: *mut GtkWidget, visual: *mut gdk::GdkVisual);
25607    pub fn gtk_widget_set_window(widget: *mut GtkWidget, window: *mut gdk::GdkWindow);
25608    pub fn gtk_widget_shape_combine_region(
25609        widget: *mut GtkWidget,
25610        region: *mut cairo::cairo_region_t,
25611    );
25612    pub fn gtk_widget_show(widget: *mut GtkWidget);
25613    pub fn gtk_widget_show_all(widget: *mut GtkWidget);
25614    pub fn gtk_widget_show_now(widget: *mut GtkWidget);
25615    pub fn gtk_widget_size_allocate(widget: *mut GtkWidget, allocation: *mut GtkAllocation);
25616    pub fn gtk_widget_size_allocate_with_baseline(
25617        widget: *mut GtkWidget,
25618        allocation: *mut GtkAllocation,
25619        baseline: c_int,
25620    );
25621    pub fn gtk_widget_size_request(widget: *mut GtkWidget, requisition: *mut GtkRequisition);
25622    pub fn gtk_widget_style_attach(widget: *mut GtkWidget);
25623    pub fn gtk_widget_style_get(widget: *mut GtkWidget, first_property_name: *const c_char, ...);
25624    pub fn gtk_widget_style_get_property(
25625        widget: *mut GtkWidget,
25626        property_name: *const c_char,
25627        value: *mut gobject::GValue,
25628    );
25629    //pub fn gtk_widget_style_get_valist(widget: *mut GtkWidget, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list);
25630    pub fn gtk_widget_thaw_child_notify(widget: *mut GtkWidget);
25631    pub fn gtk_widget_translate_coordinates(
25632        src_widget: *mut GtkWidget,
25633        dest_widget: *mut GtkWidget,
25634        src_x: c_int,
25635        src_y: c_int,
25636        dest_x: *mut c_int,
25637        dest_y: *mut c_int,
25638    ) -> gboolean;
25639    pub fn gtk_widget_trigger_tooltip_query(widget: *mut GtkWidget);
25640    pub fn gtk_widget_unmap(widget: *mut GtkWidget);
25641    pub fn gtk_widget_unparent(widget: *mut GtkWidget);
25642    pub fn gtk_widget_unrealize(widget: *mut GtkWidget);
25643    pub fn gtk_widget_unregister_window(widget: *mut GtkWidget, window: *mut gdk::GdkWindow);
25644    pub fn gtk_widget_unset_state_flags(widget: *mut GtkWidget, flags: GtkStateFlags);
25645
25646    //=========================================================================
25647    // GtkWidgetAccessible
25648    //=========================================================================
25649    pub fn gtk_widget_accessible_get_type() -> GType;
25650
25651    //=========================================================================
25652    // GtkWindow
25653    //=========================================================================
25654    pub fn gtk_window_get_type() -> GType;
25655    pub fn gtk_window_new(type_: GtkWindowType) -> *mut GtkWidget;
25656    pub fn gtk_window_get_default_icon_list() -> *mut glib::GList;
25657    pub fn gtk_window_get_default_icon_name() -> *const c_char;
25658    pub fn gtk_window_list_toplevels() -> *mut glib::GList;
25659    pub fn gtk_window_set_auto_startup_notification(setting: gboolean);
25660    pub fn gtk_window_set_default_icon(icon: *mut gdk_pixbuf::GdkPixbuf);
25661    pub fn gtk_window_set_default_icon_from_file(
25662        filename: *const c_char,
25663        error: *mut *mut glib::GError,
25664    ) -> gboolean;
25665    pub fn gtk_window_set_default_icon_list(list: *mut glib::GList);
25666    pub fn gtk_window_set_default_icon_name(name: *const c_char);
25667    pub fn gtk_window_set_interactive_debugging(enable: gboolean);
25668    pub fn gtk_window_activate_default(window: *mut GtkWindow) -> gboolean;
25669    pub fn gtk_window_activate_focus(window: *mut GtkWindow) -> gboolean;
25670    pub fn gtk_window_activate_key(
25671        window: *mut GtkWindow,
25672        event: *mut gdk::GdkEventKey,
25673    ) -> gboolean;
25674    pub fn gtk_window_add_accel_group(window: *mut GtkWindow, accel_group: *mut GtkAccelGroup);
25675    pub fn gtk_window_add_mnemonic(window: *mut GtkWindow, keyval: c_uint, target: *mut GtkWidget);
25676    pub fn gtk_window_begin_move_drag(
25677        window: *mut GtkWindow,
25678        button: c_int,
25679        root_x: c_int,
25680        root_y: c_int,
25681        timestamp: u32,
25682    );
25683    pub fn gtk_window_begin_resize_drag(
25684        window: *mut GtkWindow,
25685        edge: gdk::GdkWindowEdge,
25686        button: c_int,
25687        root_x: c_int,
25688        root_y: c_int,
25689        timestamp: u32,
25690    );
25691    pub fn gtk_window_close(window: *mut GtkWindow);
25692    pub fn gtk_window_deiconify(window: *mut GtkWindow);
25693    pub fn gtk_window_fullscreen(window: *mut GtkWindow);
25694    #[cfg(any(feature = "v3_18", feature = "dox"))]
25695    pub fn gtk_window_fullscreen_on_monitor(
25696        window: *mut GtkWindow,
25697        screen: *mut gdk::GdkScreen,
25698        monitor: c_int,
25699    );
25700    pub fn gtk_window_get_accept_focus(window: *mut GtkWindow) -> gboolean;
25701    pub fn gtk_window_get_application(window: *mut GtkWindow) -> *mut GtkApplication;
25702    pub fn gtk_window_get_attached_to(window: *mut GtkWindow) -> *mut GtkWidget;
25703    pub fn gtk_window_get_decorated(window: *mut GtkWindow) -> gboolean;
25704    pub fn gtk_window_get_default_size(
25705        window: *mut GtkWindow,
25706        width: *mut c_int,
25707        height: *mut c_int,
25708    );
25709    pub fn gtk_window_get_default_widget(window: *mut GtkWindow) -> *mut GtkWidget;
25710    pub fn gtk_window_get_deletable(window: *mut GtkWindow) -> gboolean;
25711    pub fn gtk_window_get_destroy_with_parent(window: *mut GtkWindow) -> gboolean;
25712    pub fn gtk_window_get_focus(window: *mut GtkWindow) -> *mut GtkWidget;
25713    pub fn gtk_window_get_focus_on_map(window: *mut GtkWindow) -> gboolean;
25714    pub fn gtk_window_get_focus_visible(window: *mut GtkWindow) -> gboolean;
25715    pub fn gtk_window_get_gravity(window: *mut GtkWindow) -> gdk::GdkGravity;
25716    pub fn gtk_window_get_group(window: *mut GtkWindow) -> *mut GtkWindowGroup;
25717    pub fn gtk_window_get_has_resize_grip(window: *mut GtkWindow) -> gboolean;
25718    pub fn gtk_window_get_hide_titlebar_when_maximized(window: *mut GtkWindow) -> gboolean;
25719    pub fn gtk_window_get_icon(window: *mut GtkWindow) -> *mut gdk_pixbuf::GdkPixbuf;
25720    pub fn gtk_window_get_icon_list(window: *mut GtkWindow) -> *mut glib::GList;
25721    pub fn gtk_window_get_icon_name(window: *mut GtkWindow) -> *const c_char;
25722    pub fn gtk_window_get_mnemonic_modifier(window: *mut GtkWindow) -> gdk::GdkModifierType;
25723    pub fn gtk_window_get_mnemonics_visible(window: *mut GtkWindow) -> gboolean;
25724    pub fn gtk_window_get_modal(window: *mut GtkWindow) -> gboolean;
25725    pub fn gtk_window_get_opacity(window: *mut GtkWindow) -> c_double;
25726    pub fn gtk_window_get_position(window: *mut GtkWindow, root_x: *mut c_int, root_y: *mut c_int);
25727    pub fn gtk_window_get_resizable(window: *mut GtkWindow) -> gboolean;
25728    pub fn gtk_window_get_resize_grip_area(
25729        window: *mut GtkWindow,
25730        rect: *mut gdk::GdkRectangle,
25731    ) -> gboolean;
25732    pub fn gtk_window_get_role(window: *mut GtkWindow) -> *const c_char;
25733    pub fn gtk_window_get_screen(window: *mut GtkWindow) -> *mut gdk::GdkScreen;
25734    pub fn gtk_window_get_size(window: *mut GtkWindow, width: *mut c_int, height: *mut c_int);
25735    pub fn gtk_window_get_skip_pager_hint(window: *mut GtkWindow) -> gboolean;
25736    pub fn gtk_window_get_skip_taskbar_hint(window: *mut GtkWindow) -> gboolean;
25737    pub fn gtk_window_get_title(window: *mut GtkWindow) -> *const c_char;
25738    #[cfg(any(feature = "v3_16", feature = "dox"))]
25739    pub fn gtk_window_get_titlebar(window: *mut GtkWindow) -> *mut GtkWidget;
25740    pub fn gtk_window_get_transient_for(window: *mut GtkWindow) -> *mut GtkWindow;
25741    pub fn gtk_window_get_type_hint(window: *mut GtkWindow) -> gdk::GdkWindowTypeHint;
25742    pub fn gtk_window_get_urgency_hint(window: *mut GtkWindow) -> gboolean;
25743    pub fn gtk_window_get_window_type(window: *mut GtkWindow) -> GtkWindowType;
25744    pub fn gtk_window_has_group(window: *mut GtkWindow) -> gboolean;
25745    pub fn gtk_window_has_toplevel_focus(window: *mut GtkWindow) -> gboolean;
25746    pub fn gtk_window_iconify(window: *mut GtkWindow);
25747    pub fn gtk_window_is_active(window: *mut GtkWindow) -> gboolean;
25748    pub fn gtk_window_is_maximized(window: *mut GtkWindow) -> gboolean;
25749    pub fn gtk_window_maximize(window: *mut GtkWindow);
25750    pub fn gtk_window_mnemonic_activate(
25751        window: *mut GtkWindow,
25752        keyval: c_uint,
25753        modifier: gdk::GdkModifierType,
25754    ) -> gboolean;
25755    pub fn gtk_window_move(window: *mut GtkWindow, x: c_int, y: c_int);
25756    pub fn gtk_window_parse_geometry(window: *mut GtkWindow, geometry: *const c_char) -> gboolean;
25757    pub fn gtk_window_present(window: *mut GtkWindow);
25758    pub fn gtk_window_present_with_time(window: *mut GtkWindow, timestamp: u32);
25759    pub fn gtk_window_propagate_key_event(
25760        window: *mut GtkWindow,
25761        event: *mut gdk::GdkEventKey,
25762    ) -> gboolean;
25763    pub fn gtk_window_remove_accel_group(window: *mut GtkWindow, accel_group: *mut GtkAccelGroup);
25764    pub fn gtk_window_remove_mnemonic(
25765        window: *mut GtkWindow,
25766        keyval: c_uint,
25767        target: *mut GtkWidget,
25768    );
25769    pub fn gtk_window_reshow_with_initial_size(window: *mut GtkWindow);
25770    pub fn gtk_window_resize(window: *mut GtkWindow, width: c_int, height: c_int);
25771    pub fn gtk_window_resize_grip_is_visible(window: *mut GtkWindow) -> gboolean;
25772    pub fn gtk_window_resize_to_geometry(window: *mut GtkWindow, width: c_int, height: c_int);
25773    pub fn gtk_window_set_accept_focus(window: *mut GtkWindow, setting: gboolean);
25774    pub fn gtk_window_set_application(window: *mut GtkWindow, application: *mut GtkApplication);
25775    pub fn gtk_window_set_attached_to(window: *mut GtkWindow, attach_widget: *mut GtkWidget);
25776    pub fn gtk_window_set_decorated(window: *mut GtkWindow, setting: gboolean);
25777    pub fn gtk_window_set_default(window: *mut GtkWindow, default_widget: *mut GtkWidget);
25778    pub fn gtk_window_set_default_geometry(window: *mut GtkWindow, width: c_int, height: c_int);
25779    pub fn gtk_window_set_default_size(window: *mut GtkWindow, width: c_int, height: c_int);
25780    pub fn gtk_window_set_deletable(window: *mut GtkWindow, setting: gboolean);
25781    pub fn gtk_window_set_destroy_with_parent(window: *mut GtkWindow, setting: gboolean);
25782    pub fn gtk_window_set_focus(window: *mut GtkWindow, focus: *mut GtkWidget);
25783    pub fn gtk_window_set_focus_on_map(window: *mut GtkWindow, setting: gboolean);
25784    pub fn gtk_window_set_focus_visible(window: *mut GtkWindow, setting: gboolean);
25785    pub fn gtk_window_set_geometry_hints(
25786        window: *mut GtkWindow,
25787        geometry_widget: *mut GtkWidget,
25788        geometry: *mut gdk::GdkGeometry,
25789        geom_mask: gdk::GdkWindowHints,
25790    );
25791    pub fn gtk_window_set_gravity(window: *mut GtkWindow, gravity: gdk::GdkGravity);
25792    pub fn gtk_window_set_has_resize_grip(window: *mut GtkWindow, value: gboolean);
25793    pub fn gtk_window_set_has_user_ref_count(window: *mut GtkWindow, setting: gboolean);
25794    pub fn gtk_window_set_hide_titlebar_when_maximized(window: *mut GtkWindow, setting: gboolean);
25795    pub fn gtk_window_set_icon(window: *mut GtkWindow, icon: *mut gdk_pixbuf::GdkPixbuf);
25796    pub fn gtk_window_set_icon_from_file(
25797        window: *mut GtkWindow,
25798        filename: *const c_char,
25799        error: *mut *mut glib::GError,
25800    ) -> gboolean;
25801    pub fn gtk_window_set_icon_list(window: *mut GtkWindow, list: *mut glib::GList);
25802    pub fn gtk_window_set_icon_name(window: *mut GtkWindow, name: *const c_char);
25803    pub fn gtk_window_set_keep_above(window: *mut GtkWindow, setting: gboolean);
25804    pub fn gtk_window_set_keep_below(window: *mut GtkWindow, setting: gboolean);
25805    pub fn gtk_window_set_mnemonic_modifier(window: *mut GtkWindow, modifier: gdk::GdkModifierType);
25806    pub fn gtk_window_set_mnemonics_visible(window: *mut GtkWindow, setting: gboolean);
25807    pub fn gtk_window_set_modal(window: *mut GtkWindow, modal: gboolean);
25808    pub fn gtk_window_set_opacity(window: *mut GtkWindow, opacity: c_double);
25809    pub fn gtk_window_set_position(window: *mut GtkWindow, position: GtkWindowPosition);
25810    pub fn gtk_window_set_resizable(window: *mut GtkWindow, resizable: gboolean);
25811    pub fn gtk_window_set_role(window: *mut GtkWindow, role: *const c_char);
25812    pub fn gtk_window_set_screen(window: *mut GtkWindow, screen: *mut gdk::GdkScreen);
25813    pub fn gtk_window_set_skip_pager_hint(window: *mut GtkWindow, setting: gboolean);
25814    pub fn gtk_window_set_skip_taskbar_hint(window: *mut GtkWindow, setting: gboolean);
25815    pub fn gtk_window_set_startup_id(window: *mut GtkWindow, startup_id: *const c_char);
25816    pub fn gtk_window_set_title(window: *mut GtkWindow, title: *const c_char);
25817    pub fn gtk_window_set_titlebar(window: *mut GtkWindow, titlebar: *mut GtkWidget);
25818    pub fn gtk_window_set_transient_for(window: *mut GtkWindow, parent: *mut GtkWindow);
25819    pub fn gtk_window_set_type_hint(window: *mut GtkWindow, hint: gdk::GdkWindowTypeHint);
25820    pub fn gtk_window_set_urgency_hint(window: *mut GtkWindow, setting: gboolean);
25821    pub fn gtk_window_set_wmclass(
25822        window: *mut GtkWindow,
25823        wmclass_name: *const c_char,
25824        wmclass_class: *const c_char,
25825    );
25826    pub fn gtk_window_stick(window: *mut GtkWindow);
25827    pub fn gtk_window_unfullscreen(window: *mut GtkWindow);
25828    pub fn gtk_window_unmaximize(window: *mut GtkWindow);
25829    pub fn gtk_window_unstick(window: *mut GtkWindow);
25830
25831    //=========================================================================
25832    // GtkWindowAccessible
25833    //=========================================================================
25834    pub fn gtk_window_accessible_get_type() -> GType;
25835
25836    //=========================================================================
25837    // GtkWindowGroup
25838    //=========================================================================
25839    pub fn gtk_window_group_get_type() -> GType;
25840    pub fn gtk_window_group_new() -> *mut GtkWindowGroup;
25841    pub fn gtk_window_group_add_window(window_group: *mut GtkWindowGroup, window: *mut GtkWindow);
25842    pub fn gtk_window_group_get_current_device_grab(
25843        window_group: *mut GtkWindowGroup,
25844        device: *mut gdk::GdkDevice,
25845    ) -> *mut GtkWidget;
25846    pub fn gtk_window_group_get_current_grab(window_group: *mut GtkWindowGroup) -> *mut GtkWidget;
25847    pub fn gtk_window_group_list_windows(window_group: *mut GtkWindowGroup) -> *mut glib::GList;
25848    pub fn gtk_window_group_remove_window(
25849        window_group: *mut GtkWindowGroup,
25850        window: *mut GtkWindow,
25851    );
25852
25853    //=========================================================================
25854    // GtkActionable
25855    //=========================================================================
25856    pub fn gtk_actionable_get_type() -> GType;
25857    pub fn gtk_actionable_get_action_name(actionable: *mut GtkActionable) -> *const c_char;
25858    pub fn gtk_actionable_get_action_target_value(
25859        actionable: *mut GtkActionable,
25860    ) -> *mut glib::GVariant;
25861    pub fn gtk_actionable_set_action_name(
25862        actionable: *mut GtkActionable,
25863        action_name: *const c_char,
25864    );
25865    pub fn gtk_actionable_set_action_target(
25866        actionable: *mut GtkActionable,
25867        format_string: *const c_char,
25868        ...
25869    );
25870    pub fn gtk_actionable_set_action_target_value(
25871        actionable: *mut GtkActionable,
25872        target_value: *mut glib::GVariant,
25873    );
25874    pub fn gtk_actionable_set_detailed_action_name(
25875        actionable: *mut GtkActionable,
25876        detailed_action_name: *const c_char,
25877    );
25878
25879    //=========================================================================
25880    // GtkActivatable
25881    //=========================================================================
25882    pub fn gtk_activatable_get_type() -> GType;
25883    pub fn gtk_activatable_do_set_related_action(
25884        activatable: *mut GtkActivatable,
25885        action: *mut GtkAction,
25886    );
25887    pub fn gtk_activatable_get_related_action(activatable: *mut GtkActivatable) -> *mut GtkAction;
25888    pub fn gtk_activatable_get_use_action_appearance(activatable: *mut GtkActivatable) -> gboolean;
25889    pub fn gtk_activatable_set_related_action(
25890        activatable: *mut GtkActivatable,
25891        action: *mut GtkAction,
25892    );
25893    pub fn gtk_activatable_set_use_action_appearance(
25894        activatable: *mut GtkActivatable,
25895        use_appearance: gboolean,
25896    );
25897    pub fn gtk_activatable_sync_action_properties(
25898        activatable: *mut GtkActivatable,
25899        action: *mut GtkAction,
25900    );
25901
25902    //=========================================================================
25903    // GtkAppChooser
25904    //=========================================================================
25905    pub fn gtk_app_chooser_get_type() -> GType;
25906    pub fn gtk_app_chooser_get_app_info(self_: *mut GtkAppChooser) -> *mut gio::GAppInfo;
25907    pub fn gtk_app_chooser_get_content_type(self_: *mut GtkAppChooser) -> *mut c_char;
25908    pub fn gtk_app_chooser_refresh(self_: *mut GtkAppChooser);
25909
25910    //=========================================================================
25911    // GtkBuildable
25912    //=========================================================================
25913    pub fn gtk_buildable_get_type() -> GType;
25914    pub fn gtk_buildable_add_child(
25915        buildable: *mut GtkBuildable,
25916        builder: *mut GtkBuilder,
25917        child: *mut gobject::GObject,
25918        type_: *const c_char,
25919    );
25920    pub fn gtk_buildable_construct_child(
25921        buildable: *mut GtkBuildable,
25922        builder: *mut GtkBuilder,
25923        name: *const c_char,
25924    ) -> *mut gobject::GObject;
25925    pub fn gtk_buildable_custom_finished(
25926        buildable: *mut GtkBuildable,
25927        builder: *mut GtkBuilder,
25928        child: *mut gobject::GObject,
25929        tagname: *const c_char,
25930        data: gpointer,
25931    );
25932    pub fn gtk_buildable_custom_tag_end(
25933        buildable: *mut GtkBuildable,
25934        builder: *mut GtkBuilder,
25935        child: *mut gobject::GObject,
25936        tagname: *const c_char,
25937        data: *mut gpointer,
25938    );
25939    pub fn gtk_buildable_custom_tag_start(
25940        buildable: *mut GtkBuildable,
25941        builder: *mut GtkBuilder,
25942        child: *mut gobject::GObject,
25943        tagname: *const c_char,
25944        parser: *mut glib::GMarkupParser,
25945        data: *mut gpointer,
25946    ) -> gboolean;
25947    pub fn gtk_buildable_get_internal_child(
25948        buildable: *mut GtkBuildable,
25949        builder: *mut GtkBuilder,
25950        childname: *const c_char,
25951    ) -> *mut gobject::GObject;
25952    pub fn gtk_buildable_get_name(buildable: *mut GtkBuildable) -> *const c_char;
25953    pub fn gtk_buildable_parser_finished(buildable: *mut GtkBuildable, builder: *mut GtkBuilder);
25954    pub fn gtk_buildable_set_buildable_property(
25955        buildable: *mut GtkBuildable,
25956        builder: *mut GtkBuilder,
25957        name: *const c_char,
25958        value: *const gobject::GValue,
25959    );
25960    pub fn gtk_buildable_set_name(buildable: *mut GtkBuildable, name: *const c_char);
25961
25962    //=========================================================================
25963    // GtkCellAccessibleParent
25964    //=========================================================================
25965    pub fn gtk_cell_accessible_parent_get_type() -> GType;
25966    pub fn gtk_cell_accessible_parent_activate(
25967        parent: *mut GtkCellAccessibleParent,
25968        cell: *mut GtkCellAccessible,
25969    );
25970    pub fn gtk_cell_accessible_parent_edit(
25971        parent: *mut GtkCellAccessibleParent,
25972        cell: *mut GtkCellAccessible,
25973    );
25974    pub fn gtk_cell_accessible_parent_expand_collapse(
25975        parent: *mut GtkCellAccessibleParent,
25976        cell: *mut GtkCellAccessible,
25977    );
25978    pub fn gtk_cell_accessible_parent_get_cell_area(
25979        parent: *mut GtkCellAccessibleParent,
25980        cell: *mut GtkCellAccessible,
25981        cell_rect: *mut gdk::GdkRectangle,
25982    );
25983    pub fn gtk_cell_accessible_parent_get_cell_extents(
25984        parent: *mut GtkCellAccessibleParent,
25985        cell: *mut GtkCellAccessible,
25986        x: *mut c_int,
25987        y: *mut c_int,
25988        width: *mut c_int,
25989        height: *mut c_int,
25990        coord_type: atk::AtkCoordType,
25991    );
25992    pub fn gtk_cell_accessible_parent_get_child_index(
25993        parent: *mut GtkCellAccessibleParent,
25994        cell: *mut GtkCellAccessible,
25995    ) -> c_int;
25996    pub fn gtk_cell_accessible_parent_get_renderer_state(
25997        parent: *mut GtkCellAccessibleParent,
25998        cell: *mut GtkCellAccessible,
25999    ) -> GtkCellRendererState;
26000    pub fn gtk_cell_accessible_parent_grab_focus(
26001        parent: *mut GtkCellAccessibleParent,
26002        cell: *mut GtkCellAccessible,
26003    ) -> gboolean;
26004    pub fn gtk_cell_accessible_parent_update_relationset(
26005        parent: *mut GtkCellAccessibleParent,
26006        cell: *mut GtkCellAccessible,
26007        relationset: *mut atk::AtkRelationSet,
26008    );
26009
26010    //=========================================================================
26011    // GtkCellEditable
26012    //=========================================================================
26013    pub fn gtk_cell_editable_get_type() -> GType;
26014    pub fn gtk_cell_editable_editing_done(cell_editable: *mut GtkCellEditable);
26015    pub fn gtk_cell_editable_remove_widget(cell_editable: *mut GtkCellEditable);
26016    pub fn gtk_cell_editable_start_editing(
26017        cell_editable: *mut GtkCellEditable,
26018        event: *mut gdk::GdkEvent,
26019    );
26020
26021    //=========================================================================
26022    // GtkCellLayout
26023    //=========================================================================
26024    pub fn gtk_cell_layout_get_type() -> GType;
26025    pub fn gtk_cell_layout_add_attribute(
26026        cell_layout: *mut GtkCellLayout,
26027        cell: *mut GtkCellRenderer,
26028        attribute: *const c_char,
26029        column: c_int,
26030    );
26031    pub fn gtk_cell_layout_clear(cell_layout: *mut GtkCellLayout);
26032    pub fn gtk_cell_layout_clear_attributes(
26033        cell_layout: *mut GtkCellLayout,
26034        cell: *mut GtkCellRenderer,
26035    );
26036    pub fn gtk_cell_layout_get_area(cell_layout: *mut GtkCellLayout) -> *mut GtkCellArea;
26037    pub fn gtk_cell_layout_get_cells(cell_layout: *mut GtkCellLayout) -> *mut glib::GList;
26038    pub fn gtk_cell_layout_pack_end(
26039        cell_layout: *mut GtkCellLayout,
26040        cell: *mut GtkCellRenderer,
26041        expand: gboolean,
26042    );
26043    pub fn gtk_cell_layout_pack_start(
26044        cell_layout: *mut GtkCellLayout,
26045        cell: *mut GtkCellRenderer,
26046        expand: gboolean,
26047    );
26048    pub fn gtk_cell_layout_reorder(
26049        cell_layout: *mut GtkCellLayout,
26050        cell: *mut GtkCellRenderer,
26051        position: c_int,
26052    );
26053    pub fn gtk_cell_layout_set_attributes(
26054        cell_layout: *mut GtkCellLayout,
26055        cell: *mut GtkCellRenderer,
26056        ...
26057    );
26058    pub fn gtk_cell_layout_set_cell_data_func(
26059        cell_layout: *mut GtkCellLayout,
26060        cell: *mut GtkCellRenderer,
26061        func: GtkCellLayoutDataFunc,
26062        func_data: gpointer,
26063        destroy: glib::GDestroyNotify,
26064    );
26065
26066    //=========================================================================
26067    // GtkColorChooser
26068    //=========================================================================
26069    pub fn gtk_color_chooser_get_type() -> GType;
26070    pub fn gtk_color_chooser_add_palette(
26071        chooser: *mut GtkColorChooser,
26072        orientation: GtkOrientation,
26073        colors_per_line: c_int,
26074        n_colors: c_int,
26075        colors: *mut gdk::GdkRGBA,
26076    );
26077    pub fn gtk_color_chooser_get_rgba(chooser: *mut GtkColorChooser, color: *mut gdk::GdkRGBA);
26078    pub fn gtk_color_chooser_get_use_alpha(chooser: *mut GtkColorChooser) -> gboolean;
26079    pub fn gtk_color_chooser_set_rgba(chooser: *mut GtkColorChooser, color: *const gdk::GdkRGBA);
26080    pub fn gtk_color_chooser_set_use_alpha(chooser: *mut GtkColorChooser, use_alpha: gboolean);
26081
26082    //=========================================================================
26083    // GtkEditable
26084    //=========================================================================
26085    pub fn gtk_editable_get_type() -> GType;
26086    pub fn gtk_editable_copy_clipboard(editable: *mut GtkEditable);
26087    pub fn gtk_editable_cut_clipboard(editable: *mut GtkEditable);
26088    pub fn gtk_editable_delete_selection(editable: *mut GtkEditable);
26089    pub fn gtk_editable_delete_text(editable: *mut GtkEditable, start_pos: c_int, end_pos: c_int);
26090    pub fn gtk_editable_get_chars(
26091        editable: *mut GtkEditable,
26092        start_pos: c_int,
26093        end_pos: c_int,
26094    ) -> *mut c_char;
26095    pub fn gtk_editable_get_editable(editable: *mut GtkEditable) -> gboolean;
26096    pub fn gtk_editable_get_position(editable: *mut GtkEditable) -> c_int;
26097    pub fn gtk_editable_get_selection_bounds(
26098        editable: *mut GtkEditable,
26099        start_pos: *mut c_int,
26100        end_pos: *mut c_int,
26101    ) -> gboolean;
26102    pub fn gtk_editable_insert_text(
26103        editable: *mut GtkEditable,
26104        new_text: *const c_char,
26105        new_text_length: c_int,
26106        position: *mut c_int,
26107    );
26108    pub fn gtk_editable_paste_clipboard(editable: *mut GtkEditable);
26109    pub fn gtk_editable_select_region(editable: *mut GtkEditable, start_pos: c_int, end_pos: c_int);
26110    pub fn gtk_editable_set_editable(editable: *mut GtkEditable, is_editable: gboolean);
26111    pub fn gtk_editable_set_position(editable: *mut GtkEditable, position: c_int);
26112
26113    //=========================================================================
26114    // GtkFileChooser
26115    //=========================================================================
26116    pub fn gtk_file_chooser_get_type() -> GType;
26117    #[cfg(any(feature = "v3_22", feature = "dox"))]
26118    pub fn gtk_file_chooser_add_choice(
26119        chooser: *mut GtkFileChooser,
26120        id: *const c_char,
26121        label: *const c_char,
26122        options: *mut *const c_char,
26123        option_labels: *mut *const c_char,
26124    );
26125    pub fn gtk_file_chooser_add_filter(chooser: *mut GtkFileChooser, filter: *mut GtkFileFilter);
26126    pub fn gtk_file_chooser_add_shortcut_folder(
26127        chooser: *mut GtkFileChooser,
26128        folder: *const c_char,
26129        error: *mut *mut glib::GError,
26130    ) -> gboolean;
26131    pub fn gtk_file_chooser_add_shortcut_folder_uri(
26132        chooser: *mut GtkFileChooser,
26133        uri: *const c_char,
26134        error: *mut *mut glib::GError,
26135    ) -> gboolean;
26136    pub fn gtk_file_chooser_get_action(chooser: *mut GtkFileChooser) -> GtkFileChooserAction;
26137    #[cfg(any(feature = "v3_22", feature = "dox"))]
26138    pub fn gtk_file_chooser_get_choice(
26139        chooser: *mut GtkFileChooser,
26140        id: *const c_char,
26141    ) -> *const c_char;
26142    pub fn gtk_file_chooser_get_create_folders(chooser: *mut GtkFileChooser) -> gboolean;
26143    pub fn gtk_file_chooser_get_current_folder(chooser: *mut GtkFileChooser) -> *mut c_char;
26144    pub fn gtk_file_chooser_get_current_folder_file(
26145        chooser: *mut GtkFileChooser,
26146    ) -> *mut gio::GFile;
26147    pub fn gtk_file_chooser_get_current_folder_uri(chooser: *mut GtkFileChooser) -> *mut c_char;
26148    pub fn gtk_file_chooser_get_current_name(chooser: *mut GtkFileChooser) -> *mut c_char;
26149    pub fn gtk_file_chooser_get_do_overwrite_confirmation(chooser: *mut GtkFileChooser)
26150        -> gboolean;
26151    pub fn gtk_file_chooser_get_extra_widget(chooser: *mut GtkFileChooser) -> *mut GtkWidget;
26152    pub fn gtk_file_chooser_get_file(chooser: *mut GtkFileChooser) -> *mut gio::GFile;
26153    pub fn gtk_file_chooser_get_filename(chooser: *mut GtkFileChooser) -> *mut c_char;
26154    pub fn gtk_file_chooser_get_filenames(chooser: *mut GtkFileChooser) -> *mut glib::GSList;
26155    pub fn gtk_file_chooser_get_files(chooser: *mut GtkFileChooser) -> *mut glib::GSList;
26156    pub fn gtk_file_chooser_get_filter(chooser: *mut GtkFileChooser) -> *mut GtkFileFilter;
26157    pub fn gtk_file_chooser_get_local_only(chooser: *mut GtkFileChooser) -> gboolean;
26158    pub fn gtk_file_chooser_get_preview_file(chooser: *mut GtkFileChooser) -> *mut gio::GFile;
26159    pub fn gtk_file_chooser_get_preview_filename(chooser: *mut GtkFileChooser) -> *mut c_char;
26160    pub fn gtk_file_chooser_get_preview_uri(chooser: *mut GtkFileChooser) -> *mut c_char;
26161    pub fn gtk_file_chooser_get_preview_widget(chooser: *mut GtkFileChooser) -> *mut GtkWidget;
26162    pub fn gtk_file_chooser_get_preview_widget_active(chooser: *mut GtkFileChooser) -> gboolean;
26163    pub fn gtk_file_chooser_get_select_multiple(chooser: *mut GtkFileChooser) -> gboolean;
26164    pub fn gtk_file_chooser_get_show_hidden(chooser: *mut GtkFileChooser) -> gboolean;
26165    pub fn gtk_file_chooser_get_uri(chooser: *mut GtkFileChooser) -> *mut c_char;
26166    pub fn gtk_file_chooser_get_uris(chooser: *mut GtkFileChooser) -> *mut glib::GSList;
26167    pub fn gtk_file_chooser_get_use_preview_label(chooser: *mut GtkFileChooser) -> gboolean;
26168    pub fn gtk_file_chooser_list_filters(chooser: *mut GtkFileChooser) -> *mut glib::GSList;
26169    pub fn gtk_file_chooser_list_shortcut_folder_uris(
26170        chooser: *mut GtkFileChooser,
26171    ) -> *mut glib::GSList;
26172    pub fn gtk_file_chooser_list_shortcut_folders(
26173        chooser: *mut GtkFileChooser,
26174    ) -> *mut glib::GSList;
26175    #[cfg(any(feature = "v3_22", feature = "dox"))]
26176    pub fn gtk_file_chooser_remove_choice(chooser: *mut GtkFileChooser, id: *const c_char);
26177    pub fn gtk_file_chooser_remove_filter(chooser: *mut GtkFileChooser, filter: *mut GtkFileFilter);
26178    pub fn gtk_file_chooser_remove_shortcut_folder(
26179        chooser: *mut GtkFileChooser,
26180        folder: *const c_char,
26181        error: *mut *mut glib::GError,
26182    ) -> gboolean;
26183    pub fn gtk_file_chooser_remove_shortcut_folder_uri(
26184        chooser: *mut GtkFileChooser,
26185        uri: *const c_char,
26186        error: *mut *mut glib::GError,
26187    ) -> gboolean;
26188    pub fn gtk_file_chooser_select_all(chooser: *mut GtkFileChooser);
26189    pub fn gtk_file_chooser_select_file(
26190        chooser: *mut GtkFileChooser,
26191        file: *mut gio::GFile,
26192        error: *mut *mut glib::GError,
26193    ) -> gboolean;
26194    pub fn gtk_file_chooser_select_filename(
26195        chooser: *mut GtkFileChooser,
26196        filename: *const c_char,
26197    ) -> gboolean;
26198    pub fn gtk_file_chooser_select_uri(
26199        chooser: *mut GtkFileChooser,
26200        uri: *const c_char,
26201    ) -> gboolean;
26202    pub fn gtk_file_chooser_set_action(chooser: *mut GtkFileChooser, action: GtkFileChooserAction);
26203    #[cfg(any(feature = "v3_22", feature = "dox"))]
26204    pub fn gtk_file_chooser_set_choice(
26205        chooser: *mut GtkFileChooser,
26206        id: *const c_char,
26207        option: *const c_char,
26208    );
26209    pub fn gtk_file_chooser_set_create_folders(
26210        chooser: *mut GtkFileChooser,
26211        create_folders: gboolean,
26212    );
26213    pub fn gtk_file_chooser_set_current_folder(
26214        chooser: *mut GtkFileChooser,
26215        filename: *const c_char,
26216    ) -> gboolean;
26217    pub fn gtk_file_chooser_set_current_folder_file(
26218        chooser: *mut GtkFileChooser,
26219        file: *mut gio::GFile,
26220        error: *mut *mut glib::GError,
26221    ) -> gboolean;
26222    pub fn gtk_file_chooser_set_current_folder_uri(
26223        chooser: *mut GtkFileChooser,
26224        uri: *const c_char,
26225    ) -> gboolean;
26226    pub fn gtk_file_chooser_set_current_name(chooser: *mut GtkFileChooser, name: *const c_char);
26227    pub fn gtk_file_chooser_set_do_overwrite_confirmation(
26228        chooser: *mut GtkFileChooser,
26229        do_overwrite_confirmation: gboolean,
26230    );
26231    pub fn gtk_file_chooser_set_extra_widget(
26232        chooser: *mut GtkFileChooser,
26233        extra_widget: *mut GtkWidget,
26234    );
26235    pub fn gtk_file_chooser_set_file(
26236        chooser: *mut GtkFileChooser,
26237        file: *mut gio::GFile,
26238        error: *mut *mut glib::GError,
26239    ) -> gboolean;
26240    pub fn gtk_file_chooser_set_filename(
26241        chooser: *mut GtkFileChooser,
26242        filename: *const c_char,
26243    ) -> gboolean;
26244    pub fn gtk_file_chooser_set_filter(chooser: *mut GtkFileChooser, filter: *mut GtkFileFilter);
26245    pub fn gtk_file_chooser_set_local_only(chooser: *mut GtkFileChooser, local_only: gboolean);
26246    pub fn gtk_file_chooser_set_preview_widget(
26247        chooser: *mut GtkFileChooser,
26248        preview_widget: *mut GtkWidget,
26249    );
26250    pub fn gtk_file_chooser_set_preview_widget_active(
26251        chooser: *mut GtkFileChooser,
26252        active: gboolean,
26253    );
26254    pub fn gtk_file_chooser_set_select_multiple(
26255        chooser: *mut GtkFileChooser,
26256        select_multiple: gboolean,
26257    );
26258    pub fn gtk_file_chooser_set_show_hidden(chooser: *mut GtkFileChooser, show_hidden: gboolean);
26259    pub fn gtk_file_chooser_set_uri(chooser: *mut GtkFileChooser, uri: *const c_char) -> gboolean;
26260    pub fn gtk_file_chooser_set_use_preview_label(
26261        chooser: *mut GtkFileChooser,
26262        use_label: gboolean,
26263    );
26264    pub fn gtk_file_chooser_unselect_all(chooser: *mut GtkFileChooser);
26265    pub fn gtk_file_chooser_unselect_file(chooser: *mut GtkFileChooser, file: *mut gio::GFile);
26266    pub fn gtk_file_chooser_unselect_filename(
26267        chooser: *mut GtkFileChooser,
26268        filename: *const c_char,
26269    );
26270    pub fn gtk_file_chooser_unselect_uri(chooser: *mut GtkFileChooser, uri: *const c_char);
26271
26272    //=========================================================================
26273    // GtkFontChooser
26274    //=========================================================================
26275    pub fn gtk_font_chooser_get_type() -> GType;
26276    pub fn gtk_font_chooser_get_font(fontchooser: *mut GtkFontChooser) -> *mut c_char;
26277    pub fn gtk_font_chooser_get_font_desc(
26278        fontchooser: *mut GtkFontChooser,
26279    ) -> *mut pango::PangoFontDescription;
26280    pub fn gtk_font_chooser_get_font_face(
26281        fontchooser: *mut GtkFontChooser,
26282    ) -> *mut pango::PangoFontFace;
26283    pub fn gtk_font_chooser_get_font_family(
26284        fontchooser: *mut GtkFontChooser,
26285    ) -> *mut pango::PangoFontFamily;
26286    #[cfg(any(feature = "v3_24", feature = "dox"))]
26287    pub fn gtk_font_chooser_get_font_features(fontchooser: *mut GtkFontChooser) -> *mut c_char;
26288    #[cfg(any(feature = "v3_18", feature = "dox"))]
26289    pub fn gtk_font_chooser_get_font_map(
26290        fontchooser: *mut GtkFontChooser,
26291    ) -> *mut pango::PangoFontMap;
26292    pub fn gtk_font_chooser_get_font_size(fontchooser: *mut GtkFontChooser) -> c_int;
26293    #[cfg(any(feature = "v3_24", feature = "dox"))]
26294    pub fn gtk_font_chooser_get_language(fontchooser: *mut GtkFontChooser) -> *mut c_char;
26295    #[cfg(any(feature = "v3_24", feature = "dox"))]
26296    pub fn gtk_font_chooser_get_level(fontchooser: *mut GtkFontChooser) -> GtkFontChooserLevel;
26297    pub fn gtk_font_chooser_get_preview_text(fontchooser: *mut GtkFontChooser) -> *mut c_char;
26298    pub fn gtk_font_chooser_get_show_preview_entry(fontchooser: *mut GtkFontChooser) -> gboolean;
26299    pub fn gtk_font_chooser_set_filter_func(
26300        fontchooser: *mut GtkFontChooser,
26301        filter: GtkFontFilterFunc,
26302        user_data: gpointer,
26303        destroy: glib::GDestroyNotify,
26304    );
26305    pub fn gtk_font_chooser_set_font(fontchooser: *mut GtkFontChooser, fontname: *const c_char);
26306    pub fn gtk_font_chooser_set_font_desc(
26307        fontchooser: *mut GtkFontChooser,
26308        font_desc: *const pango::PangoFontDescription,
26309    );
26310    #[cfg(any(feature = "v3_18", feature = "dox"))]
26311    pub fn gtk_font_chooser_set_font_map(
26312        fontchooser: *mut GtkFontChooser,
26313        fontmap: *mut pango::PangoFontMap,
26314    );
26315    #[cfg(any(feature = "v3_24", feature = "dox"))]
26316    pub fn gtk_font_chooser_set_language(fontchooser: *mut GtkFontChooser, language: *const c_char);
26317    #[cfg(any(feature = "v3_24", feature = "dox"))]
26318    pub fn gtk_font_chooser_set_level(fontchooser: *mut GtkFontChooser, level: GtkFontChooserLevel);
26319    pub fn gtk_font_chooser_set_preview_text(fontchooser: *mut GtkFontChooser, text: *const c_char);
26320    pub fn gtk_font_chooser_set_show_preview_entry(
26321        fontchooser: *mut GtkFontChooser,
26322        show_preview_entry: gboolean,
26323    );
26324
26325    //=========================================================================
26326    // GtkOrientable
26327    //=========================================================================
26328    pub fn gtk_orientable_get_type() -> GType;
26329    pub fn gtk_orientable_get_orientation(orientable: *mut GtkOrientable) -> GtkOrientation;
26330    pub fn gtk_orientable_set_orientation(
26331        orientable: *mut GtkOrientable,
26332        orientation: GtkOrientation,
26333    );
26334
26335    //=========================================================================
26336    // GtkPrintOperationPreview
26337    //=========================================================================
26338    pub fn gtk_print_operation_preview_get_type() -> GType;
26339    pub fn gtk_print_operation_preview_end_preview(preview: *mut GtkPrintOperationPreview);
26340    pub fn gtk_print_operation_preview_is_selected(
26341        preview: *mut GtkPrintOperationPreview,
26342        page_nr: c_int,
26343    ) -> gboolean;
26344    pub fn gtk_print_operation_preview_render_page(
26345        preview: *mut GtkPrintOperationPreview,
26346        page_nr: c_int,
26347    );
26348
26349    //=========================================================================
26350    // GtkRecentChooser
26351    //=========================================================================
26352    pub fn gtk_recent_chooser_get_type() -> GType;
26353    pub fn gtk_recent_chooser_add_filter(
26354        chooser: *mut GtkRecentChooser,
26355        filter: *mut GtkRecentFilter,
26356    );
26357    pub fn gtk_recent_chooser_get_current_item(
26358        chooser: *mut GtkRecentChooser,
26359    ) -> *mut GtkRecentInfo;
26360    pub fn gtk_recent_chooser_get_current_uri(chooser: *mut GtkRecentChooser) -> *mut c_char;
26361    pub fn gtk_recent_chooser_get_filter(chooser: *mut GtkRecentChooser) -> *mut GtkRecentFilter;
26362    pub fn gtk_recent_chooser_get_items(chooser: *mut GtkRecentChooser) -> *mut glib::GList;
26363    pub fn gtk_recent_chooser_get_limit(chooser: *mut GtkRecentChooser) -> c_int;
26364    pub fn gtk_recent_chooser_get_local_only(chooser: *mut GtkRecentChooser) -> gboolean;
26365    pub fn gtk_recent_chooser_get_select_multiple(chooser: *mut GtkRecentChooser) -> gboolean;
26366    pub fn gtk_recent_chooser_get_show_icons(chooser: *mut GtkRecentChooser) -> gboolean;
26367    pub fn gtk_recent_chooser_get_show_not_found(chooser: *mut GtkRecentChooser) -> gboolean;
26368    pub fn gtk_recent_chooser_get_show_private(chooser: *mut GtkRecentChooser) -> gboolean;
26369    pub fn gtk_recent_chooser_get_show_tips(chooser: *mut GtkRecentChooser) -> gboolean;
26370    pub fn gtk_recent_chooser_get_sort_type(chooser: *mut GtkRecentChooser) -> GtkRecentSortType;
26371    pub fn gtk_recent_chooser_get_uris(
26372        chooser: *mut GtkRecentChooser,
26373        length: *mut size_t,
26374    ) -> *mut *mut c_char;
26375    pub fn gtk_recent_chooser_list_filters(chooser: *mut GtkRecentChooser) -> *mut glib::GSList;
26376    pub fn gtk_recent_chooser_remove_filter(
26377        chooser: *mut GtkRecentChooser,
26378        filter: *mut GtkRecentFilter,
26379    );
26380    pub fn gtk_recent_chooser_select_all(chooser: *mut GtkRecentChooser);
26381    pub fn gtk_recent_chooser_select_uri(
26382        chooser: *mut GtkRecentChooser,
26383        uri: *const c_char,
26384        error: *mut *mut glib::GError,
26385    ) -> gboolean;
26386    pub fn gtk_recent_chooser_set_current_uri(
26387        chooser: *mut GtkRecentChooser,
26388        uri: *const c_char,
26389        error: *mut *mut glib::GError,
26390    ) -> gboolean;
26391    pub fn gtk_recent_chooser_set_filter(
26392        chooser: *mut GtkRecentChooser,
26393        filter: *mut GtkRecentFilter,
26394    );
26395    pub fn gtk_recent_chooser_set_limit(chooser: *mut GtkRecentChooser, limit: c_int);
26396    pub fn gtk_recent_chooser_set_local_only(chooser: *mut GtkRecentChooser, local_only: gboolean);
26397    pub fn gtk_recent_chooser_set_select_multiple(
26398        chooser: *mut GtkRecentChooser,
26399        select_multiple: gboolean,
26400    );
26401    pub fn gtk_recent_chooser_set_show_icons(chooser: *mut GtkRecentChooser, show_icons: gboolean);
26402    pub fn gtk_recent_chooser_set_show_not_found(
26403        chooser: *mut GtkRecentChooser,
26404        show_not_found: gboolean,
26405    );
26406    pub fn gtk_recent_chooser_set_show_private(
26407        chooser: *mut GtkRecentChooser,
26408        show_private: gboolean,
26409    );
26410    pub fn gtk_recent_chooser_set_show_tips(chooser: *mut GtkRecentChooser, show_tips: gboolean);
26411    pub fn gtk_recent_chooser_set_sort_func(
26412        chooser: *mut GtkRecentChooser,
26413        sort_func: GtkRecentSortFunc,
26414        sort_data: gpointer,
26415        data_destroy: glib::GDestroyNotify,
26416    );
26417    pub fn gtk_recent_chooser_set_sort_type(
26418        chooser: *mut GtkRecentChooser,
26419        sort_type: GtkRecentSortType,
26420    );
26421    pub fn gtk_recent_chooser_unselect_all(chooser: *mut GtkRecentChooser);
26422    pub fn gtk_recent_chooser_unselect_uri(chooser: *mut GtkRecentChooser, uri: *const c_char);
26423
26424    //=========================================================================
26425    // GtkScrollable
26426    //=========================================================================
26427    pub fn gtk_scrollable_get_type() -> GType;
26428    #[cfg(any(feature = "v3_16", feature = "dox"))]
26429    pub fn gtk_scrollable_get_border(
26430        scrollable: *mut GtkScrollable,
26431        border: *mut GtkBorder,
26432    ) -> gboolean;
26433    pub fn gtk_scrollable_get_hadjustment(scrollable: *mut GtkScrollable) -> *mut GtkAdjustment;
26434    pub fn gtk_scrollable_get_hscroll_policy(scrollable: *mut GtkScrollable)
26435        -> GtkScrollablePolicy;
26436    pub fn gtk_scrollable_get_vadjustment(scrollable: *mut GtkScrollable) -> *mut GtkAdjustment;
26437    pub fn gtk_scrollable_get_vscroll_policy(scrollable: *mut GtkScrollable)
26438        -> GtkScrollablePolicy;
26439    pub fn gtk_scrollable_set_hadjustment(
26440        scrollable: *mut GtkScrollable,
26441        hadjustment: *mut GtkAdjustment,
26442    );
26443    pub fn gtk_scrollable_set_hscroll_policy(
26444        scrollable: *mut GtkScrollable,
26445        policy: GtkScrollablePolicy,
26446    );
26447    pub fn gtk_scrollable_set_vadjustment(
26448        scrollable: *mut GtkScrollable,
26449        vadjustment: *mut GtkAdjustment,
26450    );
26451    pub fn gtk_scrollable_set_vscroll_policy(
26452        scrollable: *mut GtkScrollable,
26453        policy: GtkScrollablePolicy,
26454    );
26455
26456    //=========================================================================
26457    // GtkStyleProvider
26458    //=========================================================================
26459    pub fn gtk_style_provider_get_type() -> GType;
26460    pub fn gtk_style_provider_get_icon_factory(
26461        provider: *mut GtkStyleProvider,
26462        path: *mut GtkWidgetPath,
26463    ) -> *mut GtkIconFactory;
26464    pub fn gtk_style_provider_get_style(
26465        provider: *mut GtkStyleProvider,
26466        path: *mut GtkWidgetPath,
26467    ) -> *mut GtkStyleProperties;
26468    pub fn gtk_style_provider_get_style_property(
26469        provider: *mut GtkStyleProvider,
26470        path: *mut GtkWidgetPath,
26471        state: GtkStateFlags,
26472        pspec: *mut gobject::GParamSpec,
26473        value: *mut gobject::GValue,
26474    ) -> gboolean;
26475
26476    //=========================================================================
26477    // GtkToolShell
26478    //=========================================================================
26479    pub fn gtk_tool_shell_get_type() -> GType;
26480    pub fn gtk_tool_shell_get_ellipsize_mode(shell: *mut GtkToolShell)
26481        -> pango::PangoEllipsizeMode;
26482    pub fn gtk_tool_shell_get_icon_size(shell: *mut GtkToolShell) -> GtkIconSize;
26483    pub fn gtk_tool_shell_get_orientation(shell: *mut GtkToolShell) -> GtkOrientation;
26484    pub fn gtk_tool_shell_get_relief_style(shell: *mut GtkToolShell) -> GtkReliefStyle;
26485    pub fn gtk_tool_shell_get_style(shell: *mut GtkToolShell) -> GtkToolbarStyle;
26486    pub fn gtk_tool_shell_get_text_alignment(shell: *mut GtkToolShell) -> c_float;
26487    pub fn gtk_tool_shell_get_text_orientation(shell: *mut GtkToolShell) -> GtkOrientation;
26488    pub fn gtk_tool_shell_get_text_size_group(shell: *mut GtkToolShell) -> *mut GtkSizeGroup;
26489    pub fn gtk_tool_shell_rebuild_menu(shell: *mut GtkToolShell);
26490
26491    //=========================================================================
26492    // GtkTreeDragDest
26493    //=========================================================================
26494    pub fn gtk_tree_drag_dest_get_type() -> GType;
26495    pub fn gtk_tree_drag_dest_drag_data_received(
26496        drag_dest: *mut GtkTreeDragDest,
26497        dest: *mut GtkTreePath,
26498        selection_data: *mut GtkSelectionData,
26499    ) -> gboolean;
26500    pub fn gtk_tree_drag_dest_row_drop_possible(
26501        drag_dest: *mut GtkTreeDragDest,
26502        dest_path: *mut GtkTreePath,
26503        selection_data: *mut GtkSelectionData,
26504    ) -> gboolean;
26505
26506    //=========================================================================
26507    // GtkTreeDragSource
26508    //=========================================================================
26509    pub fn gtk_tree_drag_source_get_type() -> GType;
26510    pub fn gtk_tree_drag_source_drag_data_delete(
26511        drag_source: *mut GtkTreeDragSource,
26512        path: *mut GtkTreePath,
26513    ) -> gboolean;
26514    pub fn gtk_tree_drag_source_drag_data_get(
26515        drag_source: *mut GtkTreeDragSource,
26516        path: *mut GtkTreePath,
26517        selection_data: *mut GtkSelectionData,
26518    ) -> gboolean;
26519    pub fn gtk_tree_drag_source_row_draggable(
26520        drag_source: *mut GtkTreeDragSource,
26521        path: *mut GtkTreePath,
26522    ) -> gboolean;
26523
26524    //=========================================================================
26525    // GtkTreeModel
26526    //=========================================================================
26527    pub fn gtk_tree_model_get_type() -> GType;
26528    pub fn gtk_tree_model_filter_new(
26529        child_model: *mut GtkTreeModel,
26530        root: *mut GtkTreePath,
26531    ) -> *mut GtkTreeModel;
26532    pub fn gtk_tree_model_foreach(
26533        model: *mut GtkTreeModel,
26534        func: GtkTreeModelForeachFunc,
26535        user_data: gpointer,
26536    );
26537    pub fn gtk_tree_model_get(tree_model: *mut GtkTreeModel, iter: *mut GtkTreeIter, ...);
26538    pub fn gtk_tree_model_get_column_type(tree_model: *mut GtkTreeModel, index_: c_int) -> GType;
26539    pub fn gtk_tree_model_get_flags(tree_model: *mut GtkTreeModel) -> GtkTreeModelFlags;
26540    pub fn gtk_tree_model_get_iter(
26541        tree_model: *mut GtkTreeModel,
26542        iter: *mut GtkTreeIter,
26543        path: *mut GtkTreePath,
26544    ) -> gboolean;
26545    pub fn gtk_tree_model_get_iter_first(
26546        tree_model: *mut GtkTreeModel,
26547        iter: *mut GtkTreeIter,
26548    ) -> gboolean;
26549    pub fn gtk_tree_model_get_iter_from_string(
26550        tree_model: *mut GtkTreeModel,
26551        iter: *mut GtkTreeIter,
26552        path_string: *const c_char,
26553    ) -> gboolean;
26554    pub fn gtk_tree_model_get_n_columns(tree_model: *mut GtkTreeModel) -> c_int;
26555    pub fn gtk_tree_model_get_path(
26556        tree_model: *mut GtkTreeModel,
26557        iter: *mut GtkTreeIter,
26558    ) -> *mut GtkTreePath;
26559    pub fn gtk_tree_model_get_string_from_iter(
26560        tree_model: *mut GtkTreeModel,
26561        iter: *mut GtkTreeIter,
26562    ) -> *mut c_char;
26563    //pub fn gtk_tree_model_get_valist(tree_model: *mut GtkTreeModel, iter: *mut GtkTreeIter, var_args: /*Unimplemented*/va_list);
26564    pub fn gtk_tree_model_get_value(
26565        tree_model: *mut GtkTreeModel,
26566        iter: *mut GtkTreeIter,
26567        column: c_int,
26568        value: *mut gobject::GValue,
26569    );
26570    pub fn gtk_tree_model_iter_children(
26571        tree_model: *mut GtkTreeModel,
26572        iter: *mut GtkTreeIter,
26573        parent: *mut GtkTreeIter,
26574    ) -> gboolean;
26575    pub fn gtk_tree_model_iter_has_child(
26576        tree_model: *mut GtkTreeModel,
26577        iter: *mut GtkTreeIter,
26578    ) -> gboolean;
26579    pub fn gtk_tree_model_iter_n_children(
26580        tree_model: *mut GtkTreeModel,
26581        iter: *mut GtkTreeIter,
26582    ) -> c_int;
26583    pub fn gtk_tree_model_iter_next(
26584        tree_model: *mut GtkTreeModel,
26585        iter: *mut GtkTreeIter,
26586    ) -> gboolean;
26587    pub fn gtk_tree_model_iter_nth_child(
26588        tree_model: *mut GtkTreeModel,
26589        iter: *mut GtkTreeIter,
26590        parent: *mut GtkTreeIter,
26591        n: c_int,
26592    ) -> gboolean;
26593    pub fn gtk_tree_model_iter_parent(
26594        tree_model: *mut GtkTreeModel,
26595        iter: *mut GtkTreeIter,
26596        child: *mut GtkTreeIter,
26597    ) -> gboolean;
26598    pub fn gtk_tree_model_iter_previous(
26599        tree_model: *mut GtkTreeModel,
26600        iter: *mut GtkTreeIter,
26601    ) -> gboolean;
26602    pub fn gtk_tree_model_ref_node(tree_model: *mut GtkTreeModel, iter: *mut GtkTreeIter);
26603    pub fn gtk_tree_model_row_changed(
26604        tree_model: *mut GtkTreeModel,
26605        path: *mut GtkTreePath,
26606        iter: *mut GtkTreeIter,
26607    );
26608    pub fn gtk_tree_model_row_deleted(tree_model: *mut GtkTreeModel, path: *mut GtkTreePath);
26609    pub fn gtk_tree_model_row_has_child_toggled(
26610        tree_model: *mut GtkTreeModel,
26611        path: *mut GtkTreePath,
26612        iter: *mut GtkTreeIter,
26613    );
26614    pub fn gtk_tree_model_row_inserted(
26615        tree_model: *mut GtkTreeModel,
26616        path: *mut GtkTreePath,
26617        iter: *mut GtkTreeIter,
26618    );
26619    pub fn gtk_tree_model_rows_reordered(
26620        tree_model: *mut GtkTreeModel,
26621        path: *mut GtkTreePath,
26622        iter: *mut GtkTreeIter,
26623        new_order: *mut c_int,
26624    );
26625    pub fn gtk_tree_model_rows_reordered_with_length(
26626        tree_model: *mut GtkTreeModel,
26627        path: *mut GtkTreePath,
26628        iter: *mut GtkTreeIter,
26629        new_order: *mut c_int,
26630        length: c_int,
26631    );
26632    pub fn gtk_tree_model_sort_new_with_model(child_model: *mut GtkTreeModel) -> *mut GtkTreeModel;
26633    pub fn gtk_tree_model_unref_node(tree_model: *mut GtkTreeModel, iter: *mut GtkTreeIter);
26634
26635    //=========================================================================
26636    // GtkTreeSortable
26637    //=========================================================================
26638    pub fn gtk_tree_sortable_get_type() -> GType;
26639    pub fn gtk_tree_sortable_get_sort_column_id(
26640        sortable: *mut GtkTreeSortable,
26641        sort_column_id: *mut c_int,
26642        order: *mut GtkSortType,
26643    ) -> gboolean;
26644    pub fn gtk_tree_sortable_has_default_sort_func(sortable: *mut GtkTreeSortable) -> gboolean;
26645    pub fn gtk_tree_sortable_set_default_sort_func(
26646        sortable: *mut GtkTreeSortable,
26647        sort_func: GtkTreeIterCompareFunc,
26648        user_data: gpointer,
26649        destroy: glib::GDestroyNotify,
26650    );
26651    pub fn gtk_tree_sortable_set_sort_column_id(
26652        sortable: *mut GtkTreeSortable,
26653        sort_column_id: c_int,
26654        order: GtkSortType,
26655    );
26656    pub fn gtk_tree_sortable_set_sort_func(
26657        sortable: *mut GtkTreeSortable,
26658        sort_column_id: c_int,
26659        sort_func: GtkTreeIterCompareFunc,
26660        user_data: gpointer,
26661        destroy: glib::GDestroyNotify,
26662    );
26663    pub fn gtk_tree_sortable_sort_column_changed(sortable: *mut GtkTreeSortable);
26664
26665    //=========================================================================
26666    // Other functions
26667    //=========================================================================
26668    pub fn gtk_accel_groups_activate(
26669        object: *mut gobject::GObject,
26670        accel_key: c_uint,
26671        accel_mods: gdk::GdkModifierType,
26672    ) -> gboolean;
26673    pub fn gtk_accel_groups_from_object(object: *mut gobject::GObject) -> *mut glib::GSList;
26674    pub fn gtk_accelerator_get_default_mod_mask() -> gdk::GdkModifierType;
26675    pub fn gtk_accelerator_get_label(
26676        accelerator_key: c_uint,
26677        accelerator_mods: gdk::GdkModifierType,
26678    ) -> *mut c_char;
26679    pub fn gtk_accelerator_get_label_with_keycode(
26680        display: *mut gdk::GdkDisplay,
26681        accelerator_key: c_uint,
26682        keycode: c_uint,
26683        accelerator_mods: gdk::GdkModifierType,
26684    ) -> *mut c_char;
26685    pub fn gtk_accelerator_name(
26686        accelerator_key: c_uint,
26687        accelerator_mods: gdk::GdkModifierType,
26688    ) -> *mut c_char;
26689    pub fn gtk_accelerator_name_with_keycode(
26690        display: *mut gdk::GdkDisplay,
26691        accelerator_key: c_uint,
26692        keycode: c_uint,
26693        accelerator_mods: gdk::GdkModifierType,
26694    ) -> *mut c_char;
26695    pub fn gtk_accelerator_parse(
26696        accelerator: *const c_char,
26697        accelerator_key: *mut c_uint,
26698        accelerator_mods: *mut gdk::GdkModifierType,
26699    );
26700    pub fn gtk_accelerator_parse_with_keycode(
26701        accelerator: *const c_char,
26702        accelerator_key: *mut c_uint,
26703        accelerator_codes: *mut *mut c_uint,
26704        accelerator_mods: *mut gdk::GdkModifierType,
26705    );
26706    pub fn gtk_accelerator_set_default_mod_mask(default_mod_mask: gdk::GdkModifierType);
26707    pub fn gtk_accelerator_valid(keyval: c_uint, modifiers: gdk::GdkModifierType) -> gboolean;
26708    pub fn gtk_alternative_dialog_button_order(screen: *mut gdk::GdkScreen) -> gboolean;
26709    pub fn gtk_bindings_activate(
26710        object: *mut gobject::GObject,
26711        keyval: c_uint,
26712        modifiers: gdk::GdkModifierType,
26713    ) -> gboolean;
26714    pub fn gtk_bindings_activate_event(
26715        object: *mut gobject::GObject,
26716        event: *mut gdk::GdkEventKey,
26717    ) -> gboolean;
26718    pub fn gtk_cairo_should_draw_window(
26719        cr: *mut cairo::cairo_t,
26720        window: *mut gdk::GdkWindow,
26721    ) -> gboolean;
26722    pub fn gtk_cairo_transform_to_window(
26723        cr: *mut cairo::cairo_t,
26724        widget: *mut GtkWidget,
26725        window: *mut gdk::GdkWindow,
26726    );
26727    pub fn gtk_check_version(
26728        required_major: c_uint,
26729        required_minor: c_uint,
26730        required_micro: c_uint,
26731    ) -> *const c_char;
26732    pub fn gtk_device_grab_add(
26733        widget: *mut GtkWidget,
26734        device: *mut gdk::GdkDevice,
26735        block_others: gboolean,
26736    );
26737    pub fn gtk_device_grab_remove(widget: *mut GtkWidget, device: *mut gdk::GdkDevice);
26738    pub fn gtk_disable_setlocale();
26739    pub fn gtk_distribute_natural_allocation(
26740        extra_space: c_int,
26741        n_requested_sizes: c_uint,
26742        sizes: *mut GtkRequestedSize,
26743    ) -> c_int;
26744    #[cfg(any(feature = "v3_16", feature = "dox"))]
26745    pub fn gtk_drag_cancel(context: *mut gdk::GdkDragContext);
26746    pub fn gtk_drag_finish(
26747        context: *mut gdk::GdkDragContext,
26748        success: gboolean,
26749        del: gboolean,
26750        time_: u32,
26751    );
26752    pub fn gtk_drag_get_source_widget(context: *mut gdk::GdkDragContext) -> *mut GtkWidget;
26753    pub fn gtk_drag_set_icon_default(context: *mut gdk::GdkDragContext);
26754    pub fn gtk_drag_set_icon_gicon(
26755        context: *mut gdk::GdkDragContext,
26756        icon: *mut gio::GIcon,
26757        hot_x: c_int,
26758        hot_y: c_int,
26759    );
26760    pub fn gtk_drag_set_icon_name(
26761        context: *mut gdk::GdkDragContext,
26762        icon_name: *const c_char,
26763        hot_x: c_int,
26764        hot_y: c_int,
26765    );
26766    pub fn gtk_drag_set_icon_pixbuf(
26767        context: *mut gdk::GdkDragContext,
26768        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
26769        hot_x: c_int,
26770        hot_y: c_int,
26771    );
26772    pub fn gtk_drag_set_icon_stock(
26773        context: *mut gdk::GdkDragContext,
26774        stock_id: *const c_char,
26775        hot_x: c_int,
26776        hot_y: c_int,
26777    );
26778    pub fn gtk_drag_set_icon_surface(
26779        context: *mut gdk::GdkDragContext,
26780        surface: *mut cairo::cairo_surface_t,
26781    );
26782    pub fn gtk_drag_set_icon_widget(
26783        context: *mut gdk::GdkDragContext,
26784        widget: *mut GtkWidget,
26785        hot_x: c_int,
26786        hot_y: c_int,
26787    );
26788    pub fn gtk_draw_insertion_cursor(
26789        widget: *mut GtkWidget,
26790        cr: *mut cairo::cairo_t,
26791        location: *const gdk::GdkRectangle,
26792        is_primary: gboolean,
26793        direction: GtkTextDirection,
26794        draw_arrow: gboolean,
26795    );
26796    pub fn gtk_events_pending() -> gboolean;
26797    pub fn gtk_false() -> gboolean;
26798    pub fn gtk_get_binary_age() -> c_uint;
26799    pub fn gtk_get_current_event() -> *mut gdk::GdkEvent;
26800    pub fn gtk_get_current_event_device() -> *mut gdk::GdkDevice;
26801    pub fn gtk_get_current_event_state(state: *mut gdk::GdkModifierType) -> gboolean;
26802    pub fn gtk_get_current_event_time() -> u32;
26803    pub fn gtk_get_debug_flags() -> c_uint;
26804    pub fn gtk_get_default_language() -> *mut pango::PangoLanguage;
26805    pub fn gtk_get_event_widget(event: *mut gdk::GdkEvent) -> *mut GtkWidget;
26806    pub fn gtk_get_interface_age() -> c_uint;
26807    pub fn gtk_get_locale_direction() -> GtkTextDirection;
26808    pub fn gtk_get_major_version() -> c_uint;
26809    pub fn gtk_get_micro_version() -> c_uint;
26810    pub fn gtk_get_minor_version() -> c_uint;
26811    pub fn gtk_get_option_group(open_default_display: gboolean) -> *mut glib::GOptionGroup;
26812    pub fn gtk_grab_get_current() -> *mut GtkWidget;
26813    pub fn gtk_init(argc: *mut c_int, argv: *mut *mut *mut c_char);
26814    pub fn gtk_init_check(argc: *mut c_int, argv: *mut *mut *mut c_char) -> gboolean;
26815    pub fn gtk_init_with_args(
26816        argc: *mut c_int,
26817        argv: *mut *mut *mut c_char,
26818        parameter_string: *const c_char,
26819        entries: *const glib::GOptionEntry,
26820        translation_domain: *const c_char,
26821        error: *mut *mut glib::GError,
26822    ) -> gboolean;
26823    pub fn gtk_key_snooper_install(snooper: GtkKeySnoopFunc, func_data: gpointer) -> c_uint;
26824    pub fn gtk_key_snooper_remove(snooper_handler_id: c_uint);
26825    pub fn gtk_main();
26826    pub fn gtk_main_do_event(event: *mut gdk::GdkEvent);
26827    pub fn gtk_main_iteration() -> gboolean;
26828    pub fn gtk_main_iteration_do(blocking: gboolean) -> gboolean;
26829    pub fn gtk_main_level() -> c_uint;
26830    pub fn gtk_main_quit();
26831    pub fn gtk_paint_arrow(
26832        style: *mut GtkStyle,
26833        cr: *mut cairo::cairo_t,
26834        state_type: GtkStateType,
26835        shadow_type: GtkShadowType,
26836        widget: *mut GtkWidget,
26837        detail: *const c_char,
26838        arrow_type: GtkArrowType,
26839        fill: gboolean,
26840        x: c_int,
26841        y: c_int,
26842        width: c_int,
26843        height: c_int,
26844    );
26845    pub fn gtk_paint_box(
26846        style: *mut GtkStyle,
26847        cr: *mut cairo::cairo_t,
26848        state_type: GtkStateType,
26849        shadow_type: GtkShadowType,
26850        widget: *mut GtkWidget,
26851        detail: *const c_char,
26852        x: c_int,
26853        y: c_int,
26854        width: c_int,
26855        height: c_int,
26856    );
26857    pub fn gtk_paint_box_gap(
26858        style: *mut GtkStyle,
26859        cr: *mut cairo::cairo_t,
26860        state_type: GtkStateType,
26861        shadow_type: GtkShadowType,
26862        widget: *mut GtkWidget,
26863        detail: *const c_char,
26864        x: c_int,
26865        y: c_int,
26866        width: c_int,
26867        height: c_int,
26868        gap_side: GtkPositionType,
26869        gap_x: c_int,
26870        gap_width: c_int,
26871    );
26872    pub fn gtk_paint_check(
26873        style: *mut GtkStyle,
26874        cr: *mut cairo::cairo_t,
26875        state_type: GtkStateType,
26876        shadow_type: GtkShadowType,
26877        widget: *mut GtkWidget,
26878        detail: *const c_char,
26879        x: c_int,
26880        y: c_int,
26881        width: c_int,
26882        height: c_int,
26883    );
26884    pub fn gtk_paint_diamond(
26885        style: *mut GtkStyle,
26886        cr: *mut cairo::cairo_t,
26887        state_type: GtkStateType,
26888        shadow_type: GtkShadowType,
26889        widget: *mut GtkWidget,
26890        detail: *const c_char,
26891        x: c_int,
26892        y: c_int,
26893        width: c_int,
26894        height: c_int,
26895    );
26896    pub fn gtk_paint_expander(
26897        style: *mut GtkStyle,
26898        cr: *mut cairo::cairo_t,
26899        state_type: GtkStateType,
26900        widget: *mut GtkWidget,
26901        detail: *const c_char,
26902        x: c_int,
26903        y: c_int,
26904        expander_style: GtkExpanderStyle,
26905    );
26906    pub fn gtk_paint_extension(
26907        style: *mut GtkStyle,
26908        cr: *mut cairo::cairo_t,
26909        state_type: GtkStateType,
26910        shadow_type: GtkShadowType,
26911        widget: *mut GtkWidget,
26912        detail: *const c_char,
26913        x: c_int,
26914        y: c_int,
26915        width: c_int,
26916        height: c_int,
26917        gap_side: GtkPositionType,
26918    );
26919    pub fn gtk_paint_flat_box(
26920        style: *mut GtkStyle,
26921        cr: *mut cairo::cairo_t,
26922        state_type: GtkStateType,
26923        shadow_type: GtkShadowType,
26924        widget: *mut GtkWidget,
26925        detail: *const c_char,
26926        x: c_int,
26927        y: c_int,
26928        width: c_int,
26929        height: c_int,
26930    );
26931    pub fn gtk_paint_focus(
26932        style: *mut GtkStyle,
26933        cr: *mut cairo::cairo_t,
26934        state_type: GtkStateType,
26935        widget: *mut GtkWidget,
26936        detail: *const c_char,
26937        x: c_int,
26938        y: c_int,
26939        width: c_int,
26940        height: c_int,
26941    );
26942    pub fn gtk_paint_handle(
26943        style: *mut GtkStyle,
26944        cr: *mut cairo::cairo_t,
26945        state_type: GtkStateType,
26946        shadow_type: GtkShadowType,
26947        widget: *mut GtkWidget,
26948        detail: *const c_char,
26949        x: c_int,
26950        y: c_int,
26951        width: c_int,
26952        height: c_int,
26953        orientation: GtkOrientation,
26954    );
26955    pub fn gtk_paint_hline(
26956        style: *mut GtkStyle,
26957        cr: *mut cairo::cairo_t,
26958        state_type: GtkStateType,
26959        widget: *mut GtkWidget,
26960        detail: *const c_char,
26961        x1: c_int,
26962        x2: c_int,
26963        y: c_int,
26964    );
26965    pub fn gtk_paint_layout(
26966        style: *mut GtkStyle,
26967        cr: *mut cairo::cairo_t,
26968        state_type: GtkStateType,
26969        use_text: gboolean,
26970        widget: *mut GtkWidget,
26971        detail: *const c_char,
26972        x: c_int,
26973        y: c_int,
26974        layout: *mut pango::PangoLayout,
26975    );
26976    pub fn gtk_paint_option(
26977        style: *mut GtkStyle,
26978        cr: *mut cairo::cairo_t,
26979        state_type: GtkStateType,
26980        shadow_type: GtkShadowType,
26981        widget: *mut GtkWidget,
26982        detail: *const c_char,
26983        x: c_int,
26984        y: c_int,
26985        width: c_int,
26986        height: c_int,
26987    );
26988    pub fn gtk_paint_resize_grip(
26989        style: *mut GtkStyle,
26990        cr: *mut cairo::cairo_t,
26991        state_type: GtkStateType,
26992        widget: *mut GtkWidget,
26993        detail: *const c_char,
26994        edge: gdk::GdkWindowEdge,
26995        x: c_int,
26996        y: c_int,
26997        width: c_int,
26998        height: c_int,
26999    );
27000    pub fn gtk_paint_shadow(
27001        style: *mut GtkStyle,
27002        cr: *mut cairo::cairo_t,
27003        state_type: GtkStateType,
27004        shadow_type: GtkShadowType,
27005        widget: *mut GtkWidget,
27006        detail: *const c_char,
27007        x: c_int,
27008        y: c_int,
27009        width: c_int,
27010        height: c_int,
27011    );
27012    pub fn gtk_paint_shadow_gap(
27013        style: *mut GtkStyle,
27014        cr: *mut cairo::cairo_t,
27015        state_type: GtkStateType,
27016        shadow_type: GtkShadowType,
27017        widget: *mut GtkWidget,
27018        detail: *const c_char,
27019        x: c_int,
27020        y: c_int,
27021        width: c_int,
27022        height: c_int,
27023        gap_side: GtkPositionType,
27024        gap_x: c_int,
27025        gap_width: c_int,
27026    );
27027    pub fn gtk_paint_slider(
27028        style: *mut GtkStyle,
27029        cr: *mut cairo::cairo_t,
27030        state_type: GtkStateType,
27031        shadow_type: GtkShadowType,
27032        widget: *mut GtkWidget,
27033        detail: *const c_char,
27034        x: c_int,
27035        y: c_int,
27036        width: c_int,
27037        height: c_int,
27038        orientation: GtkOrientation,
27039    );
27040    pub fn gtk_paint_spinner(
27041        style: *mut GtkStyle,
27042        cr: *mut cairo::cairo_t,
27043        state_type: GtkStateType,
27044        widget: *mut GtkWidget,
27045        detail: *const c_char,
27046        step: c_uint,
27047        x: c_int,
27048        y: c_int,
27049        width: c_int,
27050        height: c_int,
27051    );
27052    pub fn gtk_paint_tab(
27053        style: *mut GtkStyle,
27054        cr: *mut cairo::cairo_t,
27055        state_type: GtkStateType,
27056        shadow_type: GtkShadowType,
27057        widget: *mut GtkWidget,
27058        detail: *const c_char,
27059        x: c_int,
27060        y: c_int,
27061        width: c_int,
27062        height: c_int,
27063    );
27064    pub fn gtk_paint_vline(
27065        style: *mut GtkStyle,
27066        cr: *mut cairo::cairo_t,
27067        state_type: GtkStateType,
27068        widget: *mut GtkWidget,
27069        detail: *const c_char,
27070        y1_: c_int,
27071        y2_: c_int,
27072        x: c_int,
27073    );
27074    pub fn gtk_parse_args(argc: *mut c_int, argv: *mut *mut *mut c_char) -> gboolean;
27075    pub fn gtk_print_run_page_setup_dialog(
27076        parent: *mut GtkWindow,
27077        page_setup: *mut GtkPageSetup,
27078        settings: *mut GtkPrintSettings,
27079    ) -> *mut GtkPageSetup;
27080    pub fn gtk_print_run_page_setup_dialog_async(
27081        parent: *mut GtkWindow,
27082        page_setup: *mut GtkPageSetup,
27083        settings: *mut GtkPrintSettings,
27084        done_cb: GtkPageSetupDoneFunc,
27085        data: gpointer,
27086    );
27087    pub fn gtk_propagate_event(widget: *mut GtkWidget, event: *mut gdk::GdkEvent);
27088    pub fn gtk_rc_add_default_file(filename: *const c_char);
27089    pub fn gtk_rc_find_module_in_path(module_file: *const c_char) -> *mut c_char;
27090    pub fn gtk_rc_find_pixmap_in_path(
27091        settings: *mut GtkSettings,
27092        scanner: *mut glib::GScanner,
27093        pixmap_file: *const c_char,
27094    ) -> *mut c_char;
27095    pub fn gtk_rc_get_default_files() -> *mut *mut c_char;
27096    pub fn gtk_rc_get_im_module_file() -> *mut c_char;
27097    pub fn gtk_rc_get_im_module_path() -> *mut c_char;
27098    pub fn gtk_rc_get_module_dir() -> *mut c_char;
27099    pub fn gtk_rc_get_style(widget: *mut GtkWidget) -> *mut GtkStyle;
27100    pub fn gtk_rc_get_style_by_paths(
27101        settings: *mut GtkSettings,
27102        widget_path: *const c_char,
27103        class_path: *const c_char,
27104        type_: GType,
27105    ) -> *mut GtkStyle;
27106    pub fn gtk_rc_get_theme_dir() -> *mut c_char;
27107    pub fn gtk_rc_parse(filename: *const c_char);
27108    pub fn gtk_rc_parse_color(scanner: *mut glib::GScanner, color: *mut gdk::GdkColor) -> c_uint;
27109    pub fn gtk_rc_parse_color_full(
27110        scanner: *mut glib::GScanner,
27111        style: *mut GtkRcStyle,
27112        color: *mut gdk::GdkColor,
27113    ) -> c_uint;
27114    pub fn gtk_rc_parse_priority(
27115        scanner: *mut glib::GScanner,
27116        priority: *mut GtkPathPriorityType,
27117    ) -> c_uint;
27118    pub fn gtk_rc_parse_state(scanner: *mut glib::GScanner, state: *mut GtkStateType) -> c_uint;
27119    pub fn gtk_rc_parse_string(rc_string: *const c_char);
27120    pub fn gtk_rc_reparse_all() -> gboolean;
27121    pub fn gtk_rc_reparse_all_for_settings(
27122        settings: *mut GtkSettings,
27123        force_load: gboolean,
27124    ) -> gboolean;
27125    pub fn gtk_rc_reset_styles(settings: *mut GtkSettings);
27126    pub fn gtk_rc_scanner_new() -> *mut glib::GScanner;
27127    pub fn gtk_rc_set_default_files(filenames: *mut *mut c_char);
27128    pub fn gtk_render_activity(
27129        context: *mut GtkStyleContext,
27130        cr: *mut cairo::cairo_t,
27131        x: c_double,
27132        y: c_double,
27133        width: c_double,
27134        height: c_double,
27135    );
27136    pub fn gtk_render_arrow(
27137        context: *mut GtkStyleContext,
27138        cr: *mut cairo::cairo_t,
27139        angle: c_double,
27140        x: c_double,
27141        y: c_double,
27142        size: c_double,
27143    );
27144    pub fn gtk_render_background(
27145        context: *mut GtkStyleContext,
27146        cr: *mut cairo::cairo_t,
27147        x: c_double,
27148        y: c_double,
27149        width: c_double,
27150        height: c_double,
27151    );
27152    #[cfg(any(feature = "v3_20", feature = "dox"))]
27153    pub fn gtk_render_background_get_clip(
27154        context: *mut GtkStyleContext,
27155        x: c_double,
27156        y: c_double,
27157        width: c_double,
27158        height: c_double,
27159        out_clip: *mut gdk::GdkRectangle,
27160    );
27161    pub fn gtk_render_check(
27162        context: *mut GtkStyleContext,
27163        cr: *mut cairo::cairo_t,
27164        x: c_double,
27165        y: c_double,
27166        width: c_double,
27167        height: c_double,
27168    );
27169    pub fn gtk_render_expander(
27170        context: *mut GtkStyleContext,
27171        cr: *mut cairo::cairo_t,
27172        x: c_double,
27173        y: c_double,
27174        width: c_double,
27175        height: c_double,
27176    );
27177    pub fn gtk_render_extension(
27178        context: *mut GtkStyleContext,
27179        cr: *mut cairo::cairo_t,
27180        x: c_double,
27181        y: c_double,
27182        width: c_double,
27183        height: c_double,
27184        gap_side: GtkPositionType,
27185    );
27186    pub fn gtk_render_focus(
27187        context: *mut GtkStyleContext,
27188        cr: *mut cairo::cairo_t,
27189        x: c_double,
27190        y: c_double,
27191        width: c_double,
27192        height: c_double,
27193    );
27194    pub fn gtk_render_frame(
27195        context: *mut GtkStyleContext,
27196        cr: *mut cairo::cairo_t,
27197        x: c_double,
27198        y: c_double,
27199        width: c_double,
27200        height: c_double,
27201    );
27202    pub fn gtk_render_frame_gap(
27203        context: *mut GtkStyleContext,
27204        cr: *mut cairo::cairo_t,
27205        x: c_double,
27206        y: c_double,
27207        width: c_double,
27208        height: c_double,
27209        gap_side: GtkPositionType,
27210        xy0_gap: c_double,
27211        xy1_gap: c_double,
27212    );
27213    pub fn gtk_render_handle(
27214        context: *mut GtkStyleContext,
27215        cr: *mut cairo::cairo_t,
27216        x: c_double,
27217        y: c_double,
27218        width: c_double,
27219        height: c_double,
27220    );
27221    pub fn gtk_render_icon(
27222        context: *mut GtkStyleContext,
27223        cr: *mut cairo::cairo_t,
27224        pixbuf: *mut gdk_pixbuf::GdkPixbuf,
27225        x: c_double,
27226        y: c_double,
27227    );
27228    pub fn gtk_render_icon_pixbuf(
27229        context: *mut GtkStyleContext,
27230        source: *const GtkIconSource,
27231        size: GtkIconSize,
27232    ) -> *mut gdk_pixbuf::GdkPixbuf;
27233    pub fn gtk_render_icon_surface(
27234        context: *mut GtkStyleContext,
27235        cr: *mut cairo::cairo_t,
27236        surface: *mut cairo::cairo_surface_t,
27237        x: c_double,
27238        y: c_double,
27239    );
27240    pub fn gtk_render_insertion_cursor(
27241        context: *mut GtkStyleContext,
27242        cr: *mut cairo::cairo_t,
27243        x: c_double,
27244        y: c_double,
27245        layout: *mut pango::PangoLayout,
27246        index: c_int,
27247        direction: pango::PangoDirection,
27248    );
27249    pub fn gtk_render_layout(
27250        context: *mut GtkStyleContext,
27251        cr: *mut cairo::cairo_t,
27252        x: c_double,
27253        y: c_double,
27254        layout: *mut pango::PangoLayout,
27255    );
27256    pub fn gtk_render_line(
27257        context: *mut GtkStyleContext,
27258        cr: *mut cairo::cairo_t,
27259        x0: c_double,
27260        y0: c_double,
27261        x1: c_double,
27262        y1: c_double,
27263    );
27264    pub fn gtk_render_option(
27265        context: *mut GtkStyleContext,
27266        cr: *mut cairo::cairo_t,
27267        x: c_double,
27268        y: c_double,
27269        width: c_double,
27270        height: c_double,
27271    );
27272    pub fn gtk_render_slider(
27273        context: *mut GtkStyleContext,
27274        cr: *mut cairo::cairo_t,
27275        x: c_double,
27276        y: c_double,
27277        width: c_double,
27278        height: c_double,
27279        orientation: GtkOrientation,
27280    );
27281    pub fn gtk_rgb_to_hsv(
27282        r: c_double,
27283        g: c_double,
27284        b: c_double,
27285        h: *mut c_double,
27286        s: *mut c_double,
27287        v: *mut c_double,
27288    );
27289    pub fn gtk_selection_add_target(
27290        widget: *mut GtkWidget,
27291        selection: gdk::GdkAtom,
27292        target: gdk::GdkAtom,
27293        info: c_uint,
27294    );
27295    pub fn gtk_selection_add_targets(
27296        widget: *mut GtkWidget,
27297        selection: gdk::GdkAtom,
27298        targets: *const GtkTargetEntry,
27299        ntargets: c_uint,
27300    );
27301    pub fn gtk_selection_clear_targets(widget: *mut GtkWidget, selection: gdk::GdkAtom);
27302    pub fn gtk_selection_convert(
27303        widget: *mut GtkWidget,
27304        selection: gdk::GdkAtom,
27305        target: gdk::GdkAtom,
27306        time_: u32,
27307    ) -> gboolean;
27308    pub fn gtk_selection_owner_set(
27309        widget: *mut GtkWidget,
27310        selection: gdk::GdkAtom,
27311        time_: u32,
27312    ) -> gboolean;
27313    pub fn gtk_selection_owner_set_for_display(
27314        display: *mut gdk::GdkDisplay,
27315        widget: *mut GtkWidget,
27316        selection: gdk::GdkAtom,
27317        time_: u32,
27318    ) -> gboolean;
27319    pub fn gtk_selection_remove_all(widget: *mut GtkWidget);
27320    pub fn gtk_set_debug_flags(flags: c_uint);
27321    pub fn gtk_show_about_dialog(parent: *mut GtkWindow, first_property_name: *const c_char, ...);
27322    pub fn gtk_show_uri(
27323        screen: *mut gdk::GdkScreen,
27324        uri: *const c_char,
27325        timestamp: u32,
27326        error: *mut *mut glib::GError,
27327    ) -> gboolean;
27328    #[cfg(any(feature = "v3_22", feature = "dox"))]
27329    pub fn gtk_show_uri_on_window(
27330        parent: *mut GtkWindow,
27331        uri: *const c_char,
27332        timestamp: u32,
27333        error: *mut *mut glib::GError,
27334    ) -> gboolean;
27335    pub fn gtk_stock_add(items: *const GtkStockItem, n_items: c_uint);
27336    pub fn gtk_stock_add_static(items: *const GtkStockItem, n_items: c_uint);
27337    pub fn gtk_stock_list_ids() -> *mut glib::GSList;
27338    pub fn gtk_stock_lookup(stock_id: *const c_char, item: *mut GtkStockItem) -> gboolean;
27339    pub fn gtk_stock_set_translate_func(
27340        domain: *const c_char,
27341        func: GtkTranslateFunc,
27342        data: gpointer,
27343        notify: glib::GDestroyNotify,
27344    );
27345    pub fn gtk_target_table_free(targets: *mut GtkTargetEntry, n_targets: c_int);
27346    pub fn gtk_target_table_new_from_list(
27347        list: *mut GtkTargetList,
27348        n_targets: *mut c_int,
27349    ) -> *mut GtkTargetEntry;
27350    pub fn gtk_targets_include_image(
27351        targets: *mut gdk::GdkAtom,
27352        n_targets: c_int,
27353        writable: gboolean,
27354    ) -> gboolean;
27355    pub fn gtk_targets_include_rich_text(
27356        targets: *mut gdk::GdkAtom,
27357        n_targets: c_int,
27358        buffer: *mut GtkTextBuffer,
27359    ) -> gboolean;
27360    pub fn gtk_targets_include_text(targets: *mut gdk::GdkAtom, n_targets: c_int) -> gboolean;
27361    pub fn gtk_targets_include_uri(targets: *mut gdk::GdkAtom, n_targets: c_int) -> gboolean;
27362    pub fn gtk_test_create_simple_window(
27363        window_title: *const c_char,
27364        dialog_text: *const c_char,
27365    ) -> *mut GtkWidget;
27366    pub fn gtk_test_create_widget(
27367        widget_type: GType,
27368        first_property_name: *const c_char,
27369        ...
27370    ) -> *mut GtkWidget;
27371    pub fn gtk_test_display_button_window(
27372        window_title: *const c_char,
27373        dialog_text: *const c_char,
27374        ...
27375    ) -> *mut GtkWidget;
27376    pub fn gtk_test_find_label(
27377        widget: *mut GtkWidget,
27378        label_pattern: *const c_char,
27379    ) -> *mut GtkWidget;
27380    pub fn gtk_test_find_sibling(base_widget: *mut GtkWidget, widget_type: GType)
27381        -> *mut GtkWidget;
27382    pub fn gtk_test_find_widget(
27383        widget: *mut GtkWidget,
27384        label_pattern: *const c_char,
27385        widget_type: GType,
27386    ) -> *mut GtkWidget;
27387    pub fn gtk_test_init(argcp: *mut c_int, argvp: *mut *mut *mut c_char, ...);
27388    pub fn gtk_test_list_all_types(n_types: *mut c_uint) -> *const GType;
27389    pub fn gtk_test_register_all_types();
27390    pub fn gtk_test_slider_get_value(widget: *mut GtkWidget) -> c_double;
27391    pub fn gtk_test_slider_set_perc(widget: *mut GtkWidget, percentage: c_double);
27392    pub fn gtk_test_spin_button_click(
27393        spinner: *mut GtkSpinButton,
27394        button: c_uint,
27395        upwards: gboolean,
27396    ) -> gboolean;
27397    pub fn gtk_test_text_get(widget: *mut GtkWidget) -> *mut c_char;
27398    pub fn gtk_test_text_set(widget: *mut GtkWidget, string: *const c_char);
27399    pub fn gtk_test_widget_click(
27400        widget: *mut GtkWidget,
27401        button: c_uint,
27402        modifiers: gdk::GdkModifierType,
27403    ) -> gboolean;
27404    pub fn gtk_test_widget_send_key(
27405        widget: *mut GtkWidget,
27406        keyval: c_uint,
27407        modifiers: gdk::GdkModifierType,
27408    ) -> gboolean;
27409    pub fn gtk_test_widget_wait_for_draw(widget: *mut GtkWidget);
27410    pub fn gtk_tree_get_row_drag_data(
27411        selection_data: *mut GtkSelectionData,
27412        tree_model: *mut *mut GtkTreeModel,
27413        path: *mut *mut GtkTreePath,
27414    ) -> gboolean;
27415    pub fn gtk_tree_set_row_drag_data(
27416        selection_data: *mut GtkSelectionData,
27417        tree_model: *mut GtkTreeModel,
27418        path: *mut GtkTreePath,
27419    ) -> gboolean;
27420    pub fn gtk_true() -> gboolean;
27421
27422}