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 12 extern crate atk_sys as atk; 13 extern crate cairo_sys as cairo; 14 extern crate gdk_pixbuf_sys as gdk_pixbuf; 15 extern crate gdk_sys as gdk; 16 extern crate gio_sys as gio; 17 extern crate glib_sys as glib; 18 extern crate gobject_sys as gobject; 19 extern crate libc; 20 extern crate pango_sys as pango; 21 22 mod manual; 23 24 pub use manual::*; 25 26 #[allow(unused_imports)] 27 use 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)] 33 use glib::{gboolean, gconstpointer, gpointer, GType}; 34 35 pub const GTK_ENTRY_BUFFER_MAX_SIZE: u16 = ::std::u16::MAX; 36 37 // Aliases 38 pub type GtkAllocation = gdk::GdkRectangle; 39 pub type GtkStock = *mut c_char; 40 41 // Enums 42 pub type GtkAlign = c_int; 43 pub const GTK_ALIGN_FILL: GtkAlign = 0; 44 pub const GTK_ALIGN_START: GtkAlign = 1; 45 pub const GTK_ALIGN_END: GtkAlign = 2; 46 pub const GTK_ALIGN_CENTER: GtkAlign = 3; 47 pub const GTK_ALIGN_BASELINE: GtkAlign = 4; 48 49 pub type GtkArrowPlacement = c_int; 50 pub const GTK_ARROWS_BOTH: GtkArrowPlacement = 0; 51 pub const GTK_ARROWS_START: GtkArrowPlacement = 1; 52 pub const GTK_ARROWS_END: GtkArrowPlacement = 2; 53 54 pub type GtkArrowType = c_int; 55 pub const GTK_ARROW_UP: GtkArrowType = 0; 56 pub const GTK_ARROW_DOWN: GtkArrowType = 1; 57 pub const GTK_ARROW_LEFT: GtkArrowType = 2; 58 pub const GTK_ARROW_RIGHT: GtkArrowType = 3; 59 pub const GTK_ARROW_NONE: GtkArrowType = 4; 60 61 pub type GtkAssistantPageType = c_int; 62 pub const GTK_ASSISTANT_PAGE_CONTENT: GtkAssistantPageType = 0; 63 pub const GTK_ASSISTANT_PAGE_INTRO: GtkAssistantPageType = 1; 64 pub const GTK_ASSISTANT_PAGE_CONFIRM: GtkAssistantPageType = 2; 65 pub const GTK_ASSISTANT_PAGE_SUMMARY: GtkAssistantPageType = 3; 66 pub const GTK_ASSISTANT_PAGE_PROGRESS: GtkAssistantPageType = 4; 67 pub const GTK_ASSISTANT_PAGE_CUSTOM: GtkAssistantPageType = 5; 68 69 pub type GtkBaselinePosition = c_int; 70 pub const GTK_BASELINE_POSITION_TOP: GtkBaselinePosition = 0; 71 pub const GTK_BASELINE_POSITION_CENTER: GtkBaselinePosition = 1; 72 pub const GTK_BASELINE_POSITION_BOTTOM: GtkBaselinePosition = 2; 73 74 pub type GtkBorderStyle = c_int; 75 pub const GTK_BORDER_STYLE_NONE: GtkBorderStyle = 0; 76 pub const GTK_BORDER_STYLE_SOLID: GtkBorderStyle = 1; 77 pub const GTK_BORDER_STYLE_INSET: GtkBorderStyle = 2; 78 pub const GTK_BORDER_STYLE_OUTSET: GtkBorderStyle = 3; 79 pub const GTK_BORDER_STYLE_HIDDEN: GtkBorderStyle = 4; 80 pub const GTK_BORDER_STYLE_DOTTED: GtkBorderStyle = 5; 81 pub const GTK_BORDER_STYLE_DASHED: GtkBorderStyle = 6; 82 pub const GTK_BORDER_STYLE_DOUBLE: GtkBorderStyle = 7; 83 pub const GTK_BORDER_STYLE_GROOVE: GtkBorderStyle = 8; 84 pub const GTK_BORDER_STYLE_RIDGE: GtkBorderStyle = 9; 85 86 pub type GtkBuilderError = c_int; 87 pub const GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION: GtkBuilderError = 0; 88 pub const GTK_BUILDER_ERROR_UNHANDLED_TAG: GtkBuilderError = 1; 89 pub const GTK_BUILDER_ERROR_MISSING_ATTRIBUTE: GtkBuilderError = 2; 90 pub const GTK_BUILDER_ERROR_INVALID_ATTRIBUTE: GtkBuilderError = 3; 91 pub const GTK_BUILDER_ERROR_INVALID_TAG: GtkBuilderError = 4; 92 pub const GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE: GtkBuilderError = 5; 93 pub const GTK_BUILDER_ERROR_INVALID_VALUE: GtkBuilderError = 6; 94 pub const GTK_BUILDER_ERROR_VERSION_MISMATCH: GtkBuilderError = 7; 95 pub const GTK_BUILDER_ERROR_DUPLICATE_ID: GtkBuilderError = 8; 96 pub const GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED: GtkBuilderError = 9; 97 pub const GTK_BUILDER_ERROR_TEMPLATE_MISMATCH: GtkBuilderError = 10; 98 pub const GTK_BUILDER_ERROR_INVALID_PROPERTY: GtkBuilderError = 11; 99 pub const GTK_BUILDER_ERROR_INVALID_SIGNAL: GtkBuilderError = 12; 100 pub const GTK_BUILDER_ERROR_INVALID_ID: GtkBuilderError = 13; 101 102 pub type GtkButtonBoxStyle = c_int; 103 pub const GTK_BUTTONBOX_SPREAD: GtkButtonBoxStyle = 1; 104 pub const GTK_BUTTONBOX_EDGE: GtkButtonBoxStyle = 2; 105 pub const GTK_BUTTONBOX_START: GtkButtonBoxStyle = 3; 106 pub const GTK_BUTTONBOX_END: GtkButtonBoxStyle = 4; 107 pub const GTK_BUTTONBOX_CENTER: GtkButtonBoxStyle = 5; 108 pub const GTK_BUTTONBOX_EXPAND: GtkButtonBoxStyle = 6; 109 110 pub type GtkButtonRole = c_int; 111 pub const GTK_BUTTON_ROLE_NORMAL: GtkButtonRole = 0; 112 pub const GTK_BUTTON_ROLE_CHECK: GtkButtonRole = 1; 113 pub const GTK_BUTTON_ROLE_RADIO: GtkButtonRole = 2; 114 115 pub type GtkButtonsType = c_int; 116 pub const GTK_BUTTONS_NONE: GtkButtonsType = 0; 117 pub const GTK_BUTTONS_OK: GtkButtonsType = 1; 118 pub const GTK_BUTTONS_CLOSE: GtkButtonsType = 2; 119 pub const GTK_BUTTONS_CANCEL: GtkButtonsType = 3; 120 pub const GTK_BUTTONS_YES_NO: GtkButtonsType = 4; 121 pub const GTK_BUTTONS_OK_CANCEL: GtkButtonsType = 5; 122 123 pub type GtkCellRendererAccelMode = c_int; 124 pub const GTK_CELL_RENDERER_ACCEL_MODE_GTK: GtkCellRendererAccelMode = 0; 125 pub const GTK_CELL_RENDERER_ACCEL_MODE_OTHER: GtkCellRendererAccelMode = 1; 126 pub const GTK_CELL_RENDERER_ACCEL_MODE_MODIFIER_TAP: GtkCellRendererAccelMode = 2; 127 128 pub type GtkCellRendererMode = c_int; 129 pub const GTK_CELL_RENDERER_MODE_INERT: GtkCellRendererMode = 0; 130 pub const GTK_CELL_RENDERER_MODE_ACTIVATABLE: GtkCellRendererMode = 1; 131 pub const GTK_CELL_RENDERER_MODE_EDITABLE: GtkCellRendererMode = 2; 132 133 pub type GtkCornerType = c_int; 134 pub const GTK_CORNER_TOP_LEFT: GtkCornerType = 0; 135 pub const GTK_CORNER_BOTTOM_LEFT: GtkCornerType = 1; 136 pub const GTK_CORNER_TOP_RIGHT: GtkCornerType = 2; 137 pub const GTK_CORNER_BOTTOM_RIGHT: GtkCornerType = 3; 138 139 pub type GtkCssProviderError = c_int; 140 pub const GTK_CSS_PROVIDER_ERROR_FAILED: GtkCssProviderError = 0; 141 pub const GTK_CSS_PROVIDER_ERROR_SYNTAX: GtkCssProviderError = 1; 142 pub const GTK_CSS_PROVIDER_ERROR_IMPORT: GtkCssProviderError = 2; 143 pub const GTK_CSS_PROVIDER_ERROR_NAME: GtkCssProviderError = 3; 144 pub const GTK_CSS_PROVIDER_ERROR_DEPRECATED: GtkCssProviderError = 4; 145 pub const GTK_CSS_PROVIDER_ERROR_UNKNOWN_VALUE: GtkCssProviderError = 5; 146 147 pub type GtkCssSectionType = c_int; 148 pub const GTK_CSS_SECTION_DOCUMENT: GtkCssSectionType = 0; 149 pub const GTK_CSS_SECTION_IMPORT: GtkCssSectionType = 1; 150 pub const GTK_CSS_SECTION_COLOR_DEFINITION: GtkCssSectionType = 2; 151 pub const GTK_CSS_SECTION_BINDING_SET: GtkCssSectionType = 3; 152 pub const GTK_CSS_SECTION_RULESET: GtkCssSectionType = 4; 153 pub const GTK_CSS_SECTION_SELECTOR: GtkCssSectionType = 5; 154 pub const GTK_CSS_SECTION_DECLARATION: GtkCssSectionType = 6; 155 pub const GTK_CSS_SECTION_VALUE: GtkCssSectionType = 7; 156 pub const GTK_CSS_SECTION_KEYFRAMES: GtkCssSectionType = 8; 157 158 pub type GtkDeleteType = c_int; 159 pub const GTK_DELETE_CHARS: GtkDeleteType = 0; 160 pub const GTK_DELETE_WORD_ENDS: GtkDeleteType = 1; 161 pub const GTK_DELETE_WORDS: GtkDeleteType = 2; 162 pub const GTK_DELETE_DISPLAY_LINES: GtkDeleteType = 3; 163 pub const GTK_DELETE_DISPLAY_LINE_ENDS: GtkDeleteType = 4; 164 pub const GTK_DELETE_PARAGRAPH_ENDS: GtkDeleteType = 5; 165 pub const GTK_DELETE_PARAGRAPHS: GtkDeleteType = 6; 166 pub const GTK_DELETE_WHITESPACE: GtkDeleteType = 7; 167 168 pub type GtkDirectionType = c_int; 169 pub const GTK_DIR_TAB_FORWARD: GtkDirectionType = 0; 170 pub const GTK_DIR_TAB_BACKWARD: GtkDirectionType = 1; 171 pub const GTK_DIR_UP: GtkDirectionType = 2; 172 pub const GTK_DIR_DOWN: GtkDirectionType = 3; 173 pub const GTK_DIR_LEFT: GtkDirectionType = 4; 174 pub const GTK_DIR_RIGHT: GtkDirectionType = 5; 175 176 pub type GtkDragResult = c_int; 177 pub const GTK_DRAG_RESULT_SUCCESS: GtkDragResult = 0; 178 pub const GTK_DRAG_RESULT_NO_TARGET: GtkDragResult = 1; 179 pub const GTK_DRAG_RESULT_USER_CANCELLED: GtkDragResult = 2; 180 pub const GTK_DRAG_RESULT_TIMEOUT_EXPIRED: GtkDragResult = 3; 181 pub const GTK_DRAG_RESULT_GRAB_BROKEN: GtkDragResult = 4; 182 pub const GTK_DRAG_RESULT_ERROR: GtkDragResult = 5; 183 184 pub type GtkEntryIconPosition = c_int; 185 pub const GTK_ENTRY_ICON_PRIMARY: GtkEntryIconPosition = 0; 186 pub const GTK_ENTRY_ICON_SECONDARY: GtkEntryIconPosition = 1; 187 188 pub type GtkEventSequenceState = c_int; 189 pub const GTK_EVENT_SEQUENCE_NONE: GtkEventSequenceState = 0; 190 pub const GTK_EVENT_SEQUENCE_CLAIMED: GtkEventSequenceState = 1; 191 pub const GTK_EVENT_SEQUENCE_DENIED: GtkEventSequenceState = 2; 192 193 pub type GtkExpanderStyle = c_int; 194 pub const GTK_EXPANDER_COLLAPSED: GtkExpanderStyle = 0; 195 pub const GTK_EXPANDER_SEMI_COLLAPSED: GtkExpanderStyle = 1; 196 pub const GTK_EXPANDER_SEMI_EXPANDED: GtkExpanderStyle = 2; 197 pub const GTK_EXPANDER_EXPANDED: GtkExpanderStyle = 3; 198 199 pub type GtkFileChooserAction = c_int; 200 pub const GTK_FILE_CHOOSER_ACTION_OPEN: GtkFileChooserAction = 0; 201 pub const GTK_FILE_CHOOSER_ACTION_SAVE: GtkFileChooserAction = 1; 202 pub const GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER: GtkFileChooserAction = 2; 203 pub const GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER: GtkFileChooserAction = 3; 204 205 pub type GtkFileChooserConfirmation = c_int; 206 pub const GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM: GtkFileChooserConfirmation = 0; 207 pub const GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME: GtkFileChooserConfirmation = 1; 208 pub const GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN: GtkFileChooserConfirmation = 2; 209 210 pub type GtkFileChooserError = c_int; 211 pub const GTK_FILE_CHOOSER_ERROR_NONEXISTENT: GtkFileChooserError = 0; 212 pub const GTK_FILE_CHOOSER_ERROR_BAD_FILENAME: GtkFileChooserError = 1; 213 pub const GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS: GtkFileChooserError = 2; 214 pub const GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME: GtkFileChooserError = 3; 215 216 pub type GtkIMPreeditStyle = c_int; 217 pub const GTK_IM_PREEDIT_NOTHING: GtkIMPreeditStyle = 0; 218 pub const GTK_IM_PREEDIT_CALLBACK: GtkIMPreeditStyle = 1; 219 pub const GTK_IM_PREEDIT_NONE: GtkIMPreeditStyle = 2; 220 221 pub type GtkIMStatusStyle = c_int; 222 pub const GTK_IM_STATUS_NOTHING: GtkIMStatusStyle = 0; 223 pub const GTK_IM_STATUS_CALLBACK: GtkIMStatusStyle = 1; 224 pub const GTK_IM_STATUS_NONE: GtkIMStatusStyle = 2; 225 226 pub type GtkIconSize = c_int; 227 pub const GTK_ICON_SIZE_INVALID: GtkIconSize = 0; 228 pub const GTK_ICON_SIZE_MENU: GtkIconSize = 1; 229 pub const GTK_ICON_SIZE_SMALL_TOOLBAR: GtkIconSize = 2; 230 pub const GTK_ICON_SIZE_LARGE_TOOLBAR: GtkIconSize = 3; 231 pub const GTK_ICON_SIZE_BUTTON: GtkIconSize = 4; 232 pub const GTK_ICON_SIZE_DND: GtkIconSize = 5; 233 pub const GTK_ICON_SIZE_DIALOG: GtkIconSize = 6; 234 235 pub type GtkIconThemeError = c_int; 236 pub const GTK_ICON_THEME_NOT_FOUND: GtkIconThemeError = 0; 237 pub const GTK_ICON_THEME_FAILED: GtkIconThemeError = 1; 238 239 pub type GtkIconViewDropPosition = c_int; 240 pub const GTK_ICON_VIEW_NO_DROP: GtkIconViewDropPosition = 0; 241 pub const GTK_ICON_VIEW_DROP_INTO: GtkIconViewDropPosition = 1; 242 pub const GTK_ICON_VIEW_DROP_LEFT: GtkIconViewDropPosition = 2; 243 pub const GTK_ICON_VIEW_DROP_RIGHT: GtkIconViewDropPosition = 3; 244 pub const GTK_ICON_VIEW_DROP_ABOVE: GtkIconViewDropPosition = 4; 245 pub const GTK_ICON_VIEW_DROP_BELOW: GtkIconViewDropPosition = 5; 246 247 pub type GtkImageType = c_int; 248 pub const GTK_IMAGE_EMPTY: GtkImageType = 0; 249 pub const GTK_IMAGE_PIXBUF: GtkImageType = 1; 250 pub const GTK_IMAGE_STOCK: GtkImageType = 2; 251 pub const GTK_IMAGE_ICON_SET: GtkImageType = 3; 252 pub const GTK_IMAGE_ANIMATION: GtkImageType = 4; 253 pub const GTK_IMAGE_ICON_NAME: GtkImageType = 5; 254 pub const GTK_IMAGE_GICON: GtkImageType = 6; 255 pub const GTK_IMAGE_SURFACE: GtkImageType = 7; 256 257 pub type GtkInputPurpose = c_int; 258 pub const GTK_INPUT_PURPOSE_FREE_FORM: GtkInputPurpose = 0; 259 pub const GTK_INPUT_PURPOSE_ALPHA: GtkInputPurpose = 1; 260 pub const GTK_INPUT_PURPOSE_DIGITS: GtkInputPurpose = 2; 261 pub const GTK_INPUT_PURPOSE_NUMBER: GtkInputPurpose = 3; 262 pub const GTK_INPUT_PURPOSE_PHONE: GtkInputPurpose = 4; 263 pub const GTK_INPUT_PURPOSE_URL: GtkInputPurpose = 5; 264 pub const GTK_INPUT_PURPOSE_EMAIL: GtkInputPurpose = 6; 265 pub const GTK_INPUT_PURPOSE_NAME: GtkInputPurpose = 7; 266 pub const GTK_INPUT_PURPOSE_PASSWORD: GtkInputPurpose = 8; 267 pub const GTK_INPUT_PURPOSE_PIN: GtkInputPurpose = 9; 268 269 pub type GtkJustification = c_int; 270 pub const GTK_JUSTIFY_LEFT: GtkJustification = 0; 271 pub const GTK_JUSTIFY_RIGHT: GtkJustification = 1; 272 pub const GTK_JUSTIFY_CENTER: GtkJustification = 2; 273 pub const GTK_JUSTIFY_FILL: GtkJustification = 3; 274 275 pub type GtkLevelBarMode = c_int; 276 pub const GTK_LEVEL_BAR_MODE_CONTINUOUS: GtkLevelBarMode = 0; 277 pub const GTK_LEVEL_BAR_MODE_DISCRETE: GtkLevelBarMode = 1; 278 279 pub type GtkLicense = c_int; 280 pub const GTK_LICENSE_UNKNOWN: GtkLicense = 0; 281 pub const GTK_LICENSE_CUSTOM: GtkLicense = 1; 282 pub const GTK_LICENSE_GPL_2_0: GtkLicense = 2; 283 pub const GTK_LICENSE_GPL_3_0: GtkLicense = 3; 284 pub const GTK_LICENSE_LGPL_2_1: GtkLicense = 4; 285 pub const GTK_LICENSE_LGPL_3_0: GtkLicense = 5; 286 pub const GTK_LICENSE_BSD: GtkLicense = 6; 287 pub const GTK_LICENSE_MIT_X11: GtkLicense = 7; 288 pub const GTK_LICENSE_ARTISTIC: GtkLicense = 8; 289 pub const GTK_LICENSE_GPL_2_0_ONLY: GtkLicense = 9; 290 pub const GTK_LICENSE_GPL_3_0_ONLY: GtkLicense = 10; 291 pub const GTK_LICENSE_LGPL_2_1_ONLY: GtkLicense = 11; 292 pub const GTK_LICENSE_LGPL_3_0_ONLY: GtkLicense = 12; 293 pub const GTK_LICENSE_AGPL_3_0: GtkLicense = 13; 294 pub const GTK_LICENSE_AGPL_3_0_ONLY: GtkLicense = 14; 295 296 pub type GtkMenuDirectionType = c_int; 297 pub const GTK_MENU_DIR_PARENT: GtkMenuDirectionType = 0; 298 pub const GTK_MENU_DIR_CHILD: GtkMenuDirectionType = 1; 299 pub const GTK_MENU_DIR_NEXT: GtkMenuDirectionType = 2; 300 pub const GTK_MENU_DIR_PREV: GtkMenuDirectionType = 3; 301 302 pub type GtkMessageType = c_int; 303 pub const GTK_MESSAGE_INFO: GtkMessageType = 0; 304 pub const GTK_MESSAGE_WARNING: GtkMessageType = 1; 305 pub const GTK_MESSAGE_QUESTION: GtkMessageType = 2; 306 pub const GTK_MESSAGE_ERROR: GtkMessageType = 3; 307 pub const GTK_MESSAGE_OTHER: GtkMessageType = 4; 308 309 pub type GtkMovementStep = c_int; 310 pub const GTK_MOVEMENT_LOGICAL_POSITIONS: GtkMovementStep = 0; 311 pub const GTK_MOVEMENT_VISUAL_POSITIONS: GtkMovementStep = 1; 312 pub const GTK_MOVEMENT_WORDS: GtkMovementStep = 2; 313 pub const GTK_MOVEMENT_DISPLAY_LINES: GtkMovementStep = 3; 314 pub const GTK_MOVEMENT_DISPLAY_LINE_ENDS: GtkMovementStep = 4; 315 pub const GTK_MOVEMENT_PARAGRAPHS: GtkMovementStep = 5; 316 pub const GTK_MOVEMENT_PARAGRAPH_ENDS: GtkMovementStep = 6; 317 pub const GTK_MOVEMENT_PAGES: GtkMovementStep = 7; 318 pub const GTK_MOVEMENT_BUFFER_ENDS: GtkMovementStep = 8; 319 pub const GTK_MOVEMENT_HORIZONTAL_PAGES: GtkMovementStep = 9; 320 321 pub type GtkNotebookTab = c_int; 322 pub const GTK_NOTEBOOK_TAB_FIRST: GtkNotebookTab = 0; 323 pub const GTK_NOTEBOOK_TAB_LAST: GtkNotebookTab = 1; 324 325 pub type GtkNumberUpLayout = c_int; 326 pub const GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM: GtkNumberUpLayout = 0; 327 pub const GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP: GtkNumberUpLayout = 1; 328 pub const GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM: GtkNumberUpLayout = 2; 329 pub const GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP: GtkNumberUpLayout = 3; 330 pub const GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT: GtkNumberUpLayout = 4; 331 pub const GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT: GtkNumberUpLayout = 5; 332 pub const GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT: GtkNumberUpLayout = 6; 333 pub const GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT: GtkNumberUpLayout = 7; 334 335 pub type GtkOrientation = c_int; 336 pub const GTK_ORIENTATION_HORIZONTAL: GtkOrientation = 0; 337 pub const GTK_ORIENTATION_VERTICAL: GtkOrientation = 1; 338 339 pub type GtkPackDirection = c_int; 340 pub const GTK_PACK_DIRECTION_LTR: GtkPackDirection = 0; 341 pub const GTK_PACK_DIRECTION_RTL: GtkPackDirection = 1; 342 pub const GTK_PACK_DIRECTION_TTB: GtkPackDirection = 2; 343 pub const GTK_PACK_DIRECTION_BTT: GtkPackDirection = 3; 344 345 pub type GtkPackType = c_int; 346 pub const GTK_PACK_START: GtkPackType = 0; 347 pub const GTK_PACK_END: GtkPackType = 1; 348 349 pub type GtkPadActionType = c_int; 350 pub const GTK_PAD_ACTION_BUTTON: GtkPadActionType = 0; 351 pub const GTK_PAD_ACTION_RING: GtkPadActionType = 1; 352 pub const GTK_PAD_ACTION_STRIP: GtkPadActionType = 2; 353 354 pub type GtkPageOrientation = c_int; 355 pub const GTK_PAGE_ORIENTATION_PORTRAIT: GtkPageOrientation = 0; 356 pub const GTK_PAGE_ORIENTATION_LANDSCAPE: GtkPageOrientation = 1; 357 pub const GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT: GtkPageOrientation = 2; 358 pub const GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE: GtkPageOrientation = 3; 359 360 pub type GtkPageSet = c_int; 361 pub const GTK_PAGE_SET_ALL: GtkPageSet = 0; 362 pub const GTK_PAGE_SET_EVEN: GtkPageSet = 1; 363 pub const GTK_PAGE_SET_ODD: GtkPageSet = 2; 364 365 pub type GtkPanDirection = c_int; 366 pub const GTK_PAN_DIRECTION_LEFT: GtkPanDirection = 0; 367 pub const GTK_PAN_DIRECTION_RIGHT: GtkPanDirection = 1; 368 pub const GTK_PAN_DIRECTION_UP: GtkPanDirection = 2; 369 pub const GTK_PAN_DIRECTION_DOWN: GtkPanDirection = 3; 370 371 pub type GtkPathPriorityType = c_int; 372 pub const GTK_PATH_PRIO_LOWEST: GtkPathPriorityType = 0; 373 pub const GTK_PATH_PRIO_GTK: GtkPathPriorityType = 4; 374 pub const GTK_PATH_PRIO_APPLICATION: GtkPathPriorityType = 8; 375 pub const GTK_PATH_PRIO_THEME: GtkPathPriorityType = 10; 376 pub const GTK_PATH_PRIO_RC: GtkPathPriorityType = 12; 377 pub const GTK_PATH_PRIO_HIGHEST: GtkPathPriorityType = 15; 378 379 pub type GtkPathType = c_int; 380 pub const GTK_PATH_WIDGET: GtkPathType = 0; 381 pub const GTK_PATH_WIDGET_CLASS: GtkPathType = 1; 382 pub const GTK_PATH_CLASS: GtkPathType = 2; 383 384 pub type GtkPolicyType = c_int; 385 pub const GTK_POLICY_ALWAYS: GtkPolicyType = 0; 386 pub const GTK_POLICY_AUTOMATIC: GtkPolicyType = 1; 387 pub const GTK_POLICY_NEVER: GtkPolicyType = 2; 388 pub const GTK_POLICY_EXTERNAL: GtkPolicyType = 3; 389 390 pub type GtkPopoverConstraint = c_int; 391 pub const GTK_POPOVER_CONSTRAINT_NONE: GtkPopoverConstraint = 0; 392 pub const GTK_POPOVER_CONSTRAINT_WINDOW: GtkPopoverConstraint = 1; 393 394 pub type GtkPositionType = c_int; 395 pub const GTK_POS_LEFT: GtkPositionType = 0; 396 pub const GTK_POS_RIGHT: GtkPositionType = 1; 397 pub const GTK_POS_TOP: GtkPositionType = 2; 398 pub const GTK_POS_BOTTOM: GtkPositionType = 3; 399 400 pub type GtkPrintDuplex = c_int; 401 pub const GTK_PRINT_DUPLEX_SIMPLEX: GtkPrintDuplex = 0; 402 pub const GTK_PRINT_DUPLEX_HORIZONTAL: GtkPrintDuplex = 1; 403 pub const GTK_PRINT_DUPLEX_VERTICAL: GtkPrintDuplex = 2; 404 405 pub type GtkPrintError = c_int; 406 pub const GTK_PRINT_ERROR_GENERAL: GtkPrintError = 0; 407 pub const GTK_PRINT_ERROR_INTERNAL_ERROR: GtkPrintError = 1; 408 pub const GTK_PRINT_ERROR_NOMEM: GtkPrintError = 2; 409 pub const GTK_PRINT_ERROR_INVALID_FILE: GtkPrintError = 3; 410 411 pub type GtkPrintOperationAction = c_int; 412 pub const GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG: GtkPrintOperationAction = 0; 413 pub const GTK_PRINT_OPERATION_ACTION_PRINT: GtkPrintOperationAction = 1; 414 pub const GTK_PRINT_OPERATION_ACTION_PREVIEW: GtkPrintOperationAction = 2; 415 pub const GTK_PRINT_OPERATION_ACTION_EXPORT: GtkPrintOperationAction = 3; 416 417 pub type GtkPrintOperationResult = c_int; 418 pub const GTK_PRINT_OPERATION_RESULT_ERROR: GtkPrintOperationResult = 0; 419 pub const GTK_PRINT_OPERATION_RESULT_APPLY: GtkPrintOperationResult = 1; 420 pub const GTK_PRINT_OPERATION_RESULT_CANCEL: GtkPrintOperationResult = 2; 421 pub const GTK_PRINT_OPERATION_RESULT_IN_PROGRESS: GtkPrintOperationResult = 3; 422 423 pub type GtkPrintPages = c_int; 424 pub const GTK_PRINT_PAGES_ALL: GtkPrintPages = 0; 425 pub const GTK_PRINT_PAGES_CURRENT: GtkPrintPages = 1; 426 pub const GTK_PRINT_PAGES_RANGES: GtkPrintPages = 2; 427 pub const GTK_PRINT_PAGES_SELECTION: GtkPrintPages = 3; 428 429 pub type GtkPrintQuality = c_int; 430 pub const GTK_PRINT_QUALITY_LOW: GtkPrintQuality = 0; 431 pub const GTK_PRINT_QUALITY_NORMAL: GtkPrintQuality = 1; 432 pub const GTK_PRINT_QUALITY_HIGH: GtkPrintQuality = 2; 433 pub const GTK_PRINT_QUALITY_DRAFT: GtkPrintQuality = 3; 434 435 pub type GtkPrintStatus = c_int; 436 pub const GTK_PRINT_STATUS_INITIAL: GtkPrintStatus = 0; 437 pub const GTK_PRINT_STATUS_PREPARING: GtkPrintStatus = 1; 438 pub const GTK_PRINT_STATUS_GENERATING_DATA: GtkPrintStatus = 2; 439 pub const GTK_PRINT_STATUS_SENDING_DATA: GtkPrintStatus = 3; 440 pub const GTK_PRINT_STATUS_PENDING: GtkPrintStatus = 4; 441 pub const GTK_PRINT_STATUS_PENDING_ISSUE: GtkPrintStatus = 5; 442 pub const GTK_PRINT_STATUS_PRINTING: GtkPrintStatus = 6; 443 pub const GTK_PRINT_STATUS_FINISHED: GtkPrintStatus = 7; 444 pub const GTK_PRINT_STATUS_FINISHED_ABORTED: GtkPrintStatus = 8; 445 446 pub type GtkPropagationPhase = c_int; 447 pub const GTK_PHASE_NONE: GtkPropagationPhase = 0; 448 pub const GTK_PHASE_CAPTURE: GtkPropagationPhase = 1; 449 pub const GTK_PHASE_BUBBLE: GtkPropagationPhase = 2; 450 pub const GTK_PHASE_TARGET: GtkPropagationPhase = 3; 451 452 pub type GtkRcTokenType = c_int; 453 pub const GTK_RC_TOKEN_INVALID: GtkRcTokenType = 270; 454 pub const GTK_RC_TOKEN_INCLUDE: GtkRcTokenType = 271; 455 pub const GTK_RC_TOKEN_NORMAL: GtkRcTokenType = 272; 456 pub const GTK_RC_TOKEN_ACTIVE: GtkRcTokenType = 273; 457 pub const GTK_RC_TOKEN_PRELIGHT: GtkRcTokenType = 274; 458 pub const GTK_RC_TOKEN_SELECTED: GtkRcTokenType = 275; 459 pub const GTK_RC_TOKEN_INSENSITIVE: GtkRcTokenType = 276; 460 pub const GTK_RC_TOKEN_FG: GtkRcTokenType = 277; 461 pub const GTK_RC_TOKEN_BG: GtkRcTokenType = 278; 462 pub const GTK_RC_TOKEN_TEXT: GtkRcTokenType = 279; 463 pub const GTK_RC_TOKEN_BASE: GtkRcTokenType = 280; 464 pub const GTK_RC_TOKEN_XTHICKNESS: GtkRcTokenType = 281; 465 pub const GTK_RC_TOKEN_YTHICKNESS: GtkRcTokenType = 282; 466 pub const GTK_RC_TOKEN_FONT: GtkRcTokenType = 283; 467 pub const GTK_RC_TOKEN_FONTSET: GtkRcTokenType = 284; 468 pub const GTK_RC_TOKEN_FONT_NAME: GtkRcTokenType = 285; 469 pub const GTK_RC_TOKEN_BG_PIXMAP: GtkRcTokenType = 286; 470 pub const GTK_RC_TOKEN_PIXMAP_PATH: GtkRcTokenType = 287; 471 pub const GTK_RC_TOKEN_STYLE: GtkRcTokenType = 288; 472 pub const GTK_RC_TOKEN_BINDING: GtkRcTokenType = 289; 473 pub const GTK_RC_TOKEN_BIND: GtkRcTokenType = 290; 474 pub const GTK_RC_TOKEN_WIDGET: GtkRcTokenType = 291; 475 pub const GTK_RC_TOKEN_WIDGET_CLASS: GtkRcTokenType = 292; 476 pub const GTK_RC_TOKEN_CLASS: GtkRcTokenType = 293; 477 pub const GTK_RC_TOKEN_LOWEST: GtkRcTokenType = 294; 478 pub const GTK_RC_TOKEN_GTK: GtkRcTokenType = 295; 479 pub const GTK_RC_TOKEN_APPLICATION: GtkRcTokenType = 296; 480 pub const GTK_RC_TOKEN_THEME: GtkRcTokenType = 297; 481 pub const GTK_RC_TOKEN_RC: GtkRcTokenType = 298; 482 pub const GTK_RC_TOKEN_HIGHEST: GtkRcTokenType = 299; 483 pub const GTK_RC_TOKEN_ENGINE: GtkRcTokenType = 300; 484 pub const GTK_RC_TOKEN_MODULE_PATH: GtkRcTokenType = 301; 485 pub const GTK_RC_TOKEN_IM_MODULE_PATH: GtkRcTokenType = 302; 486 pub const GTK_RC_TOKEN_IM_MODULE_FILE: GtkRcTokenType = 303; 487 pub const GTK_RC_TOKEN_STOCK: GtkRcTokenType = 304; 488 pub const GTK_RC_TOKEN_LTR: GtkRcTokenType = 305; 489 pub const GTK_RC_TOKEN_RTL: GtkRcTokenType = 306; 490 pub const GTK_RC_TOKEN_COLOR: GtkRcTokenType = 307; 491 pub const GTK_RC_TOKEN_UNBIND: GtkRcTokenType = 308; 492 pub const GTK_RC_TOKEN_LAST: GtkRcTokenType = 309; 493 494 pub type GtkRecentChooserError = c_int; 495 pub const GTK_RECENT_CHOOSER_ERROR_NOT_FOUND: GtkRecentChooserError = 0; 496 pub const GTK_RECENT_CHOOSER_ERROR_INVALID_URI: GtkRecentChooserError = 1; 497 498 pub type GtkRecentManagerError = c_int; 499 pub const GTK_RECENT_MANAGER_ERROR_NOT_FOUND: GtkRecentManagerError = 0; 500 pub const GTK_RECENT_MANAGER_ERROR_INVALID_URI: GtkRecentManagerError = 1; 501 pub const GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING: GtkRecentManagerError = 2; 502 pub const GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED: GtkRecentManagerError = 3; 503 pub const GTK_RECENT_MANAGER_ERROR_READ: GtkRecentManagerError = 4; 504 pub const GTK_RECENT_MANAGER_ERROR_WRITE: GtkRecentManagerError = 5; 505 pub const GTK_RECENT_MANAGER_ERROR_UNKNOWN: GtkRecentManagerError = 6; 506 507 pub type GtkRecentSortType = c_int; 508 pub const GTK_RECENT_SORT_NONE: GtkRecentSortType = 0; 509 pub const GTK_RECENT_SORT_MRU: GtkRecentSortType = 1; 510 pub const GTK_RECENT_SORT_LRU: GtkRecentSortType = 2; 511 pub const GTK_RECENT_SORT_CUSTOM: GtkRecentSortType = 3; 512 513 pub type GtkReliefStyle = c_int; 514 pub const GTK_RELIEF_NORMAL: GtkReliefStyle = 0; 515 pub const GTK_RELIEF_HALF: GtkReliefStyle = 1; 516 pub const GTK_RELIEF_NONE: GtkReliefStyle = 2; 517 518 pub type GtkResizeMode = c_int; 519 pub const GTK_RESIZE_PARENT: GtkResizeMode = 0; 520 pub const GTK_RESIZE_QUEUE: GtkResizeMode = 1; 521 pub const GTK_RESIZE_IMMEDIATE: GtkResizeMode = 2; 522 523 pub type GtkResponseType = c_int; 524 pub const GTK_RESPONSE_NONE: GtkResponseType = -1; 525 pub const GTK_RESPONSE_REJECT: GtkResponseType = -2; 526 pub const GTK_RESPONSE_ACCEPT: GtkResponseType = -3; 527 pub const GTK_RESPONSE_DELETE_EVENT: GtkResponseType = -4; 528 pub const GTK_RESPONSE_OK: GtkResponseType = -5; 529 pub const GTK_RESPONSE_CANCEL: GtkResponseType = -6; 530 pub const GTK_RESPONSE_CLOSE: GtkResponseType = -7; 531 pub const GTK_RESPONSE_YES: GtkResponseType = -8; 532 pub const GTK_RESPONSE_NO: GtkResponseType = -9; 533 pub const GTK_RESPONSE_APPLY: GtkResponseType = -10; 534 pub const GTK_RESPONSE_HELP: GtkResponseType = -11; 535 536 pub type GtkRevealerTransitionType = c_int; 537 pub const GTK_REVEALER_TRANSITION_TYPE_NONE: GtkRevealerTransitionType = 0; 538 pub const GTK_REVEALER_TRANSITION_TYPE_CROSSFADE: GtkRevealerTransitionType = 1; 539 pub const GTK_REVEALER_TRANSITION_TYPE_SLIDE_RIGHT: GtkRevealerTransitionType = 2; 540 pub const GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT: GtkRevealerTransitionType = 3; 541 pub const GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP: GtkRevealerTransitionType = 4; 542 pub const GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN: GtkRevealerTransitionType = 5; 543 544 pub type GtkScrollStep = c_int; 545 pub const GTK_SCROLL_STEPS: GtkScrollStep = 0; 546 pub const GTK_SCROLL_PAGES: GtkScrollStep = 1; 547 pub const GTK_SCROLL_ENDS: GtkScrollStep = 2; 548 pub const GTK_SCROLL_HORIZONTAL_STEPS: GtkScrollStep = 3; 549 pub const GTK_SCROLL_HORIZONTAL_PAGES: GtkScrollStep = 4; 550 pub const GTK_SCROLL_HORIZONTAL_ENDS: GtkScrollStep = 5; 551 552 pub type GtkScrollType = c_int; 553 pub const GTK_SCROLL_NONE: GtkScrollType = 0; 554 pub const GTK_SCROLL_JUMP: GtkScrollType = 1; 555 pub const GTK_SCROLL_STEP_BACKWARD: GtkScrollType = 2; 556 pub const GTK_SCROLL_STEP_FORWARD: GtkScrollType = 3; 557 pub const GTK_SCROLL_PAGE_BACKWARD: GtkScrollType = 4; 558 pub const GTK_SCROLL_PAGE_FORWARD: GtkScrollType = 5; 559 pub const GTK_SCROLL_STEP_UP: GtkScrollType = 6; 560 pub const GTK_SCROLL_STEP_DOWN: GtkScrollType = 7; 561 pub const GTK_SCROLL_PAGE_UP: GtkScrollType = 8; 562 pub const GTK_SCROLL_PAGE_DOWN: GtkScrollType = 9; 563 pub const GTK_SCROLL_STEP_LEFT: GtkScrollType = 10; 564 pub const GTK_SCROLL_STEP_RIGHT: GtkScrollType = 11; 565 pub const GTK_SCROLL_PAGE_LEFT: GtkScrollType = 12; 566 pub const GTK_SCROLL_PAGE_RIGHT: GtkScrollType = 13; 567 pub const GTK_SCROLL_START: GtkScrollType = 14; 568 pub const GTK_SCROLL_END: GtkScrollType = 15; 569 570 pub type GtkScrollablePolicy = c_int; 571 pub const GTK_SCROLL_MINIMUM: GtkScrollablePolicy = 0; 572 pub const GTK_SCROLL_NATURAL: GtkScrollablePolicy = 1; 573 574 pub type GtkSelectionMode = c_int; 575 pub const GTK_SELECTION_NONE: GtkSelectionMode = 0; 576 pub const GTK_SELECTION_SINGLE: GtkSelectionMode = 1; 577 pub const GTK_SELECTION_BROWSE: GtkSelectionMode = 2; 578 pub const GTK_SELECTION_MULTIPLE: GtkSelectionMode = 3; 579 580 pub type GtkSensitivityType = c_int; 581 pub const GTK_SENSITIVITY_AUTO: GtkSensitivityType = 0; 582 pub const GTK_SENSITIVITY_ON: GtkSensitivityType = 1; 583 pub const GTK_SENSITIVITY_OFF: GtkSensitivityType = 2; 584 585 pub type GtkShadowType = c_int; 586 pub const GTK_SHADOW_NONE: GtkShadowType = 0; 587 pub const GTK_SHADOW_IN: GtkShadowType = 1; 588 pub const GTK_SHADOW_OUT: GtkShadowType = 2; 589 pub const GTK_SHADOW_ETCHED_IN: GtkShadowType = 3; 590 pub const GTK_SHADOW_ETCHED_OUT: GtkShadowType = 4; 591 592 pub type GtkShortcutType = c_int; 593 pub const GTK_SHORTCUT_ACCELERATOR: GtkShortcutType = 0; 594 pub const GTK_SHORTCUT_GESTURE_PINCH: GtkShortcutType = 1; 595 pub const GTK_SHORTCUT_GESTURE_STRETCH: GtkShortcutType = 2; 596 pub const GTK_SHORTCUT_GESTURE_ROTATE_CLOCKWISE: GtkShortcutType = 3; 597 pub const GTK_SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE: GtkShortcutType = 4; 598 pub const GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT: GtkShortcutType = 5; 599 pub const GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT: GtkShortcutType = 6; 600 pub const GTK_SHORTCUT_GESTURE: GtkShortcutType = 7; 601 602 pub type GtkSizeGroupMode = c_int; 603 pub const GTK_SIZE_GROUP_NONE: GtkSizeGroupMode = 0; 604 pub const GTK_SIZE_GROUP_HORIZONTAL: GtkSizeGroupMode = 1; 605 pub const GTK_SIZE_GROUP_VERTICAL: GtkSizeGroupMode = 2; 606 pub const GTK_SIZE_GROUP_BOTH: GtkSizeGroupMode = 3; 607 608 pub type GtkSizeRequestMode = c_int; 609 pub const GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH: GtkSizeRequestMode = 0; 610 pub const GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT: GtkSizeRequestMode = 1; 611 pub const GTK_SIZE_REQUEST_CONSTANT_SIZE: GtkSizeRequestMode = 2; 612 613 pub type GtkSortType = c_int; 614 pub const GTK_SORT_ASCENDING: GtkSortType = 0; 615 pub const GTK_SORT_DESCENDING: GtkSortType = 1; 616 617 pub type GtkSpinButtonUpdatePolicy = c_int; 618 pub const GTK_UPDATE_ALWAYS: GtkSpinButtonUpdatePolicy = 0; 619 pub const GTK_UPDATE_IF_VALID: GtkSpinButtonUpdatePolicy = 1; 620 621 pub type GtkSpinType = c_int; 622 pub const GTK_SPIN_STEP_FORWARD: GtkSpinType = 0; 623 pub const GTK_SPIN_STEP_BACKWARD: GtkSpinType = 1; 624 pub const GTK_SPIN_PAGE_FORWARD: GtkSpinType = 2; 625 pub const GTK_SPIN_PAGE_BACKWARD: GtkSpinType = 3; 626 pub const GTK_SPIN_HOME: GtkSpinType = 4; 627 pub const GTK_SPIN_END: GtkSpinType = 5; 628 pub const GTK_SPIN_USER_DEFINED: GtkSpinType = 6; 629 630 pub type GtkStackTransitionType = c_int; 631 pub const GTK_STACK_TRANSITION_TYPE_NONE: GtkStackTransitionType = 0; 632 pub const GTK_STACK_TRANSITION_TYPE_CROSSFADE: GtkStackTransitionType = 1; 633 pub const GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT: GtkStackTransitionType = 2; 634 pub const GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT: GtkStackTransitionType = 3; 635 pub const GTK_STACK_TRANSITION_TYPE_SLIDE_UP: GtkStackTransitionType = 4; 636 pub const GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN: GtkStackTransitionType = 5; 637 pub const GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT: GtkStackTransitionType = 6; 638 pub const GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN: GtkStackTransitionType = 7; 639 pub const GTK_STACK_TRANSITION_TYPE_OVER_UP: GtkStackTransitionType = 8; 640 pub const GTK_STACK_TRANSITION_TYPE_OVER_DOWN: GtkStackTransitionType = 9; 641 pub const GTK_STACK_TRANSITION_TYPE_OVER_LEFT: GtkStackTransitionType = 10; 642 pub const GTK_STACK_TRANSITION_TYPE_OVER_RIGHT: GtkStackTransitionType = 11; 643 pub const GTK_STACK_TRANSITION_TYPE_UNDER_UP: GtkStackTransitionType = 12; 644 pub const GTK_STACK_TRANSITION_TYPE_UNDER_DOWN: GtkStackTransitionType = 13; 645 pub const GTK_STACK_TRANSITION_TYPE_UNDER_LEFT: GtkStackTransitionType = 14; 646 pub const GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT: GtkStackTransitionType = 15; 647 pub const GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN: GtkStackTransitionType = 16; 648 pub const GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP: GtkStackTransitionType = 17; 649 pub const GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT: GtkStackTransitionType = 18; 650 pub const GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT: GtkStackTransitionType = 19; 651 652 pub type GtkStateType = c_int; 653 pub const GTK_STATE_NORMAL: GtkStateType = 0; 654 pub const GTK_STATE_ACTIVE: GtkStateType = 1; 655 pub const GTK_STATE_PRELIGHT: GtkStateType = 2; 656 pub const GTK_STATE_SELECTED: GtkStateType = 3; 657 pub const GTK_STATE_INSENSITIVE: GtkStateType = 4; 658 pub const GTK_STATE_INCONSISTENT: GtkStateType = 5; 659 pub const GTK_STATE_FOCUSED: GtkStateType = 6; 660 661 pub type GtkTextBufferTargetInfo = c_int; 662 pub const GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS: GtkTextBufferTargetInfo = -1; 663 pub const GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT: GtkTextBufferTargetInfo = -2; 664 pub const GTK_TEXT_BUFFER_TARGET_INFO_TEXT: GtkTextBufferTargetInfo = -3; 665 666 pub type GtkTextDirection = c_int; 667 pub const GTK_TEXT_DIR_NONE: GtkTextDirection = 0; 668 pub const GTK_TEXT_DIR_LTR: GtkTextDirection = 1; 669 pub const GTK_TEXT_DIR_RTL: GtkTextDirection = 2; 670 671 pub type GtkTextExtendSelection = c_int; 672 pub const GTK_TEXT_EXTEND_SELECTION_WORD: GtkTextExtendSelection = 0; 673 pub const GTK_TEXT_EXTEND_SELECTION_LINE: GtkTextExtendSelection = 1; 674 675 pub type GtkTextViewLayer = c_int; 676 pub const GTK_TEXT_VIEW_LAYER_BELOW: GtkTextViewLayer = 0; 677 pub const GTK_TEXT_VIEW_LAYER_ABOVE: GtkTextViewLayer = 1; 678 pub const GTK_TEXT_VIEW_LAYER_BELOW_TEXT: GtkTextViewLayer = 2; 679 pub const GTK_TEXT_VIEW_LAYER_ABOVE_TEXT: GtkTextViewLayer = 3; 680 681 pub type GtkTextWindowType = c_int; 682 pub const GTK_TEXT_WINDOW_PRIVATE: GtkTextWindowType = 0; 683 pub const GTK_TEXT_WINDOW_WIDGET: GtkTextWindowType = 1; 684 pub const GTK_TEXT_WINDOW_TEXT: GtkTextWindowType = 2; 685 pub const GTK_TEXT_WINDOW_LEFT: GtkTextWindowType = 3; 686 pub const GTK_TEXT_WINDOW_RIGHT: GtkTextWindowType = 4; 687 pub const GTK_TEXT_WINDOW_TOP: GtkTextWindowType = 5; 688 pub const GTK_TEXT_WINDOW_BOTTOM: GtkTextWindowType = 6; 689 690 pub type GtkToolbarSpaceStyle = c_int; 691 pub const GTK_TOOLBAR_SPACE_EMPTY: GtkToolbarSpaceStyle = 0; 692 pub const GTK_TOOLBAR_SPACE_LINE: GtkToolbarSpaceStyle = 1; 693 694 pub type GtkToolbarStyle = c_int; 695 pub const GTK_TOOLBAR_ICONS: GtkToolbarStyle = 0; 696 pub const GTK_TOOLBAR_TEXT: GtkToolbarStyle = 1; 697 pub const GTK_TOOLBAR_BOTH: GtkToolbarStyle = 2; 698 pub const GTK_TOOLBAR_BOTH_HORIZ: GtkToolbarStyle = 3; 699 700 pub type GtkTreeViewColumnSizing = c_int; 701 pub const GTK_TREE_VIEW_COLUMN_GROW_ONLY: GtkTreeViewColumnSizing = 0; 702 pub const GTK_TREE_VIEW_COLUMN_AUTOSIZE: GtkTreeViewColumnSizing = 1; 703 pub const GTK_TREE_VIEW_COLUMN_FIXED: GtkTreeViewColumnSizing = 2; 704 705 pub type GtkTreeViewDropPosition = c_int; 706 pub const GTK_TREE_VIEW_DROP_BEFORE: GtkTreeViewDropPosition = 0; 707 pub const GTK_TREE_VIEW_DROP_AFTER: GtkTreeViewDropPosition = 1; 708 pub const GTK_TREE_VIEW_DROP_INTO_OR_BEFORE: GtkTreeViewDropPosition = 2; 709 pub const GTK_TREE_VIEW_DROP_INTO_OR_AFTER: GtkTreeViewDropPosition = 3; 710 711 pub type GtkTreeViewGridLines = c_int; 712 pub const GTK_TREE_VIEW_GRID_LINES_NONE: GtkTreeViewGridLines = 0; 713 pub const GTK_TREE_VIEW_GRID_LINES_HORIZONTAL: GtkTreeViewGridLines = 1; 714 pub const GTK_TREE_VIEW_GRID_LINES_VERTICAL: GtkTreeViewGridLines = 2; 715 pub const GTK_TREE_VIEW_GRID_LINES_BOTH: GtkTreeViewGridLines = 3; 716 717 pub type GtkUnit = c_int; 718 pub const GTK_UNIT_NONE: GtkUnit = 0; 719 pub const GTK_UNIT_POINTS: GtkUnit = 1; 720 pub const GTK_UNIT_INCH: GtkUnit = 2; 721 pub const GTK_UNIT_MM: GtkUnit = 3; 722 723 pub type GtkWidgetHelpType = c_int; 724 pub const GTK_WIDGET_HELP_TOOLTIP: GtkWidgetHelpType = 0; 725 pub const GTK_WIDGET_HELP_WHATS_THIS: GtkWidgetHelpType = 1; 726 727 pub type GtkWindowPosition = c_int; 728 pub const GTK_WIN_POS_NONE: GtkWindowPosition = 0; 729 pub const GTK_WIN_POS_CENTER: GtkWindowPosition = 1; 730 pub const GTK_WIN_POS_MOUSE: GtkWindowPosition = 2; 731 pub const GTK_WIN_POS_CENTER_ALWAYS: GtkWindowPosition = 3; 732 pub const GTK_WIN_POS_CENTER_ON_PARENT: GtkWindowPosition = 4; 733 734 pub type GtkWindowType = c_int; 735 pub const GTK_WINDOW_TOPLEVEL: GtkWindowType = 0; 736 pub const GTK_WINDOW_POPUP: GtkWindowType = 1; 737 738 pub type GtkWrapMode = c_int; 739 pub const GTK_WRAP_NONE: GtkWrapMode = 0; 740 pub const GTK_WRAP_CHAR: GtkWrapMode = 1; 741 pub const GTK_WRAP_WORD: GtkWrapMode = 2; 742 pub const GTK_WRAP_WORD_CHAR: GtkWrapMode = 3; 743 744 // Constants 745 pub const GTK_INPUT_ERROR: c_int = -1; 746 pub const GTK_LEVEL_BAR_OFFSET_FULL: *const c_char = b"full\0" as *const u8 as *const c_char; 747 pub const GTK_LEVEL_BAR_OFFSET_HIGH: *const c_char = b"high\0" as *const u8 as *const c_char; 748 pub const GTK_LEVEL_BAR_OFFSET_LOW: *const c_char = b"low\0" as *const u8 as *const c_char; 749 pub const GTK_MAX_COMPOSE_LEN: c_int = 7; 750 pub const GTK_PAPER_NAME_A3: *const c_char = b"iso_a3\0" as *const u8 as *const c_char; 751 pub const GTK_PAPER_NAME_A4: *const c_char = b"iso_a4\0" as *const u8 as *const c_char; 752 pub const GTK_PAPER_NAME_A5: *const c_char = b"iso_a5\0" as *const u8 as *const c_char; 753 pub const GTK_PAPER_NAME_B5: *const c_char = b"iso_b5\0" as *const u8 as *const c_char; 754 pub const GTK_PAPER_NAME_EXECUTIVE: *const c_char = b"na_executive\0" as *const u8 as *const c_char; 755 pub const GTK_PAPER_NAME_LEGAL: *const c_char = b"na_legal\0" as *const u8 as *const c_char; 756 pub const GTK_PAPER_NAME_LETTER: *const c_char = b"na_letter\0" as *const u8 as *const c_char; 757 pub const GTK_PATH_PRIO_MASK: c_int = 15; 758 pub const GTK_PRINT_SETTINGS_COLLATE: *const c_char = b"collate\0" as *const u8 as *const c_char; 759 pub const GTK_PRINT_SETTINGS_DEFAULT_SOURCE: *const c_char = 760 b"default-source\0" as *const u8 as *const c_char; 761 pub const GTK_PRINT_SETTINGS_DITHER: *const c_char = b"dither\0" as *const u8 as *const c_char; 762 pub const GTK_PRINT_SETTINGS_DUPLEX: *const c_char = b"duplex\0" as *const u8 as *const c_char; 763 pub const GTK_PRINT_SETTINGS_FINISHINGS: *const c_char = 764 b"finishings\0" as *const u8 as *const c_char; 765 pub const GTK_PRINT_SETTINGS_MEDIA_TYPE: *const c_char = 766 b"media-type\0" as *const u8 as *const c_char; 767 pub const GTK_PRINT_SETTINGS_NUMBER_UP: *const c_char = 768 b"number-up\0" as *const u8 as *const c_char; 769 pub const GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT: *const c_char = 770 b"number-up-layout\0" as *const u8 as *const c_char; 771 pub const GTK_PRINT_SETTINGS_N_COPIES: *const c_char = b"n-copies\0" as *const u8 as *const c_char; 772 pub const GTK_PRINT_SETTINGS_ORIENTATION: *const c_char = 773 b"orientation\0" as *const u8 as *const c_char; 774 pub const GTK_PRINT_SETTINGS_OUTPUT_BASENAME: *const c_char = 775 b"output-basename\0" as *const u8 as *const c_char; 776 pub const GTK_PRINT_SETTINGS_OUTPUT_BIN: *const c_char = 777 b"output-bin\0" as *const u8 as *const c_char; 778 pub const GTK_PRINT_SETTINGS_OUTPUT_DIR: *const c_char = 779 b"output-dir\0" as *const u8 as *const c_char; 780 pub const GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT: *const c_char = 781 b"output-file-format\0" as *const u8 as *const c_char; 782 pub const GTK_PRINT_SETTINGS_OUTPUT_URI: *const c_char = 783 b"output-uri\0" as *const u8 as *const c_char; 784 pub const GTK_PRINT_SETTINGS_PAGE_RANGES: *const c_char = 785 b"page-ranges\0" as *const u8 as *const c_char; 786 pub const GTK_PRINT_SETTINGS_PAGE_SET: *const c_char = b"page-set\0" as *const u8 as *const c_char; 787 pub const GTK_PRINT_SETTINGS_PAPER_FORMAT: *const c_char = 788 b"paper-format\0" as *const u8 as *const c_char; 789 pub const GTK_PRINT_SETTINGS_PAPER_HEIGHT: *const c_char = 790 b"paper-height\0" as *const u8 as *const c_char; 791 pub const GTK_PRINT_SETTINGS_PAPER_WIDTH: *const c_char = 792 b"paper-width\0" as *const u8 as *const c_char; 793 pub const GTK_PRINT_SETTINGS_PRINTER: *const c_char = b"printer\0" as *const u8 as *const c_char; 794 pub const GTK_PRINT_SETTINGS_PRINTER_LPI: *const c_char = 795 b"printer-lpi\0" as *const u8 as *const c_char; 796 pub const GTK_PRINT_SETTINGS_PRINT_PAGES: *const c_char = 797 b"print-pages\0" as *const u8 as *const c_char; 798 pub const GTK_PRINT_SETTINGS_QUALITY: *const c_char = b"quality\0" as *const u8 as *const c_char; 799 pub const GTK_PRINT_SETTINGS_RESOLUTION: *const c_char = 800 b"resolution\0" as *const u8 as *const c_char; 801 pub const GTK_PRINT_SETTINGS_RESOLUTION_X: *const c_char = 802 b"resolution-x\0" as *const u8 as *const c_char; 803 pub const GTK_PRINT_SETTINGS_RESOLUTION_Y: *const c_char = 804 b"resolution-y\0" as *const u8 as *const c_char; 805 pub const GTK_PRINT_SETTINGS_REVERSE: *const c_char = b"reverse\0" as *const u8 as *const c_char; 806 pub const GTK_PRINT_SETTINGS_SCALE: *const c_char = b"scale\0" as *const u8 as *const c_char; 807 pub const GTK_PRINT_SETTINGS_USE_COLOR: *const c_char = 808 b"use-color\0" as *const u8 as *const c_char; 809 pub const GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA: *const c_char = 810 b"win32-driver-extra\0" as *const u8 as *const c_char; 811 pub const GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION: *const c_char = 812 b"win32-driver-version\0" as *const u8 as *const c_char; 813 pub const GTK_PRIORITY_RESIZE: c_int = 110; 814 pub const GTK_STOCK_ABOUT: *const c_char = b"gtk-about\0" as *const u8 as *const c_char; 815 pub const GTK_STOCK_ADD: *const c_char = b"gtk-add\0" as *const u8 as *const c_char; 816 pub const GTK_STOCK_APPLY: *const c_char = b"gtk-apply\0" as *const u8 as *const c_char; 817 pub const GTK_STOCK_BOLD: *const c_char = b"gtk-bold\0" as *const u8 as *const c_char; 818 pub const GTK_STOCK_CANCEL: *const c_char = b"gtk-cancel\0" as *const u8 as *const c_char; 819 pub const GTK_STOCK_CAPS_LOCK_WARNING: *const c_char = 820 b"gtk-caps-lock-warning\0" as *const u8 as *const c_char; 821 pub const GTK_STOCK_CDROM: *const c_char = b"gtk-cdrom\0" as *const u8 as *const c_char; 822 pub const GTK_STOCK_CLEAR: *const c_char = b"gtk-clear\0" as *const u8 as *const c_char; 823 pub const GTK_STOCK_CLOSE: *const c_char = b"gtk-close\0" as *const u8 as *const c_char; 824 pub const GTK_STOCK_COLOR_PICKER: *const c_char = 825 b"gtk-color-picker\0" as *const u8 as *const c_char; 826 pub const GTK_STOCK_CONNECT: *const c_char = b"gtk-connect\0" as *const u8 as *const c_char; 827 pub const GTK_STOCK_CONVERT: *const c_char = b"gtk-convert\0" as *const u8 as *const c_char; 828 pub const GTK_STOCK_COPY: *const c_char = b"gtk-copy\0" as *const u8 as *const c_char; 829 pub const GTK_STOCK_CUT: *const c_char = b"gtk-cut\0" as *const u8 as *const c_char; 830 pub const GTK_STOCK_DELETE: *const c_char = b"gtk-delete\0" as *const u8 as *const c_char; 831 pub const GTK_STOCK_DIALOG_AUTHENTICATION: *const c_char = 832 b"gtk-dialog-authentication\0" as *const u8 as *const c_char; 833 pub const GTK_STOCK_DIALOG_ERROR: *const c_char = 834 b"gtk-dialog-error\0" as *const u8 as *const c_char; 835 pub const GTK_STOCK_DIALOG_INFO: *const c_char = b"gtk-dialog-info\0" as *const u8 as *const c_char; 836 pub const GTK_STOCK_DIALOG_QUESTION: *const c_char = 837 b"gtk-dialog-question\0" as *const u8 as *const c_char; 838 pub const GTK_STOCK_DIALOG_WARNING: *const c_char = 839 b"gtk-dialog-warning\0" as *const u8 as *const c_char; 840 pub const GTK_STOCK_DIRECTORY: *const c_char = b"gtk-directory\0" as *const u8 as *const c_char; 841 pub const GTK_STOCK_DISCARD: *const c_char = b"gtk-discard\0" as *const u8 as *const c_char; 842 pub const GTK_STOCK_DISCONNECT: *const c_char = b"gtk-disconnect\0" as *const u8 as *const c_char; 843 pub const GTK_STOCK_DND: *const c_char = b"gtk-dnd\0" as *const u8 as *const c_char; 844 pub const GTK_STOCK_DND_MULTIPLE: *const c_char = 845 b"gtk-dnd-multiple\0" as *const u8 as *const c_char; 846 pub const GTK_STOCK_EDIT: *const c_char = b"gtk-edit\0" as *const u8 as *const c_char; 847 pub const GTK_STOCK_EXECUTE: *const c_char = b"gtk-execute\0" as *const u8 as *const c_char; 848 pub const GTK_STOCK_FILE: *const c_char = b"gtk-file\0" as *const u8 as *const c_char; 849 pub const GTK_STOCK_FIND: *const c_char = b"gtk-find\0" as *const u8 as *const c_char; 850 pub const GTK_STOCK_FIND_AND_REPLACE: *const c_char = 851 b"gtk-find-and-replace\0" as *const u8 as *const c_char; 852 pub const GTK_STOCK_FLOPPY: *const c_char = b"gtk-floppy\0" as *const u8 as *const c_char; 853 pub const GTK_STOCK_FULLSCREEN: *const c_char = b"gtk-fullscreen\0" as *const u8 as *const c_char; 854 pub const GTK_STOCK_GOTO_BOTTOM: *const c_char = b"gtk-goto-bottom\0" as *const u8 as *const c_char; 855 pub const GTK_STOCK_GOTO_FIRST: *const c_char = b"gtk-goto-first\0" as *const u8 as *const c_char; 856 pub const GTK_STOCK_GOTO_LAST: *const c_char = b"gtk-goto-last\0" as *const u8 as *const c_char; 857 pub const GTK_STOCK_GOTO_TOP: *const c_char = b"gtk-goto-top\0" as *const u8 as *const c_char; 858 pub const GTK_STOCK_GO_BACK: *const c_char = b"gtk-go-back\0" as *const u8 as *const c_char; 859 pub const GTK_STOCK_GO_DOWN: *const c_char = b"gtk-go-down\0" as *const u8 as *const c_char; 860 pub const GTK_STOCK_GO_FORWARD: *const c_char = b"gtk-go-forward\0" as *const u8 as *const c_char; 861 pub const GTK_STOCK_GO_UP: *const c_char = b"gtk-go-up\0" as *const u8 as *const c_char; 862 pub const GTK_STOCK_HARDDISK: *const c_char = b"gtk-harddisk\0" as *const u8 as *const c_char; 863 pub const GTK_STOCK_HELP: *const c_char = b"gtk-help\0" as *const u8 as *const c_char; 864 pub const GTK_STOCK_HOME: *const c_char = b"gtk-home\0" as *const u8 as *const c_char; 865 pub const GTK_STOCK_INDENT: *const c_char = b"gtk-indent\0" as *const u8 as *const c_char; 866 pub const GTK_STOCK_INDEX: *const c_char = b"gtk-index\0" as *const u8 as *const c_char; 867 pub const GTK_STOCK_INFO: *const c_char = b"gtk-info\0" as *const u8 as *const c_char; 868 pub const GTK_STOCK_ITALIC: *const c_char = b"gtk-italic\0" as *const u8 as *const c_char; 869 pub const GTK_STOCK_JUMP_TO: *const c_char = b"gtk-jump-to\0" as *const u8 as *const c_char; 870 pub const GTK_STOCK_JUSTIFY_CENTER: *const c_char = 871 b"gtk-justify-center\0" as *const u8 as *const c_char; 872 pub const GTK_STOCK_JUSTIFY_FILL: *const c_char = 873 b"gtk-justify-fill\0" as *const u8 as *const c_char; 874 pub const GTK_STOCK_JUSTIFY_LEFT: *const c_char = 875 b"gtk-justify-left\0" as *const u8 as *const c_char; 876 pub const GTK_STOCK_JUSTIFY_RIGHT: *const c_char = 877 b"gtk-justify-right\0" as *const u8 as *const c_char; 878 pub const GTK_STOCK_LEAVE_FULLSCREEN: *const c_char = 879 b"gtk-leave-fullscreen\0" as *const u8 as *const c_char; 880 pub const GTK_STOCK_MEDIA_FORWARD: *const c_char = 881 b"gtk-media-forward\0" as *const u8 as *const c_char; 882 pub const GTK_STOCK_MEDIA_NEXT: *const c_char = b"gtk-media-next\0" as *const u8 as *const c_char; 883 pub const GTK_STOCK_MEDIA_PAUSE: *const c_char = b"gtk-media-pause\0" as *const u8 as *const c_char; 884 pub const GTK_STOCK_MEDIA_PLAY: *const c_char = b"gtk-media-play\0" as *const u8 as *const c_char; 885 pub const GTK_STOCK_MEDIA_PREVIOUS: *const c_char = 886 b"gtk-media-previous\0" as *const u8 as *const c_char; 887 pub const GTK_STOCK_MEDIA_RECORD: *const c_char = 888 b"gtk-media-record\0" as *const u8 as *const c_char; 889 pub const GTK_STOCK_MEDIA_REWIND: *const c_char = 890 b"gtk-media-rewind\0" as *const u8 as *const c_char; 891 pub const GTK_STOCK_MEDIA_STOP: *const c_char = b"gtk-media-stop\0" as *const u8 as *const c_char; 892 pub const GTK_STOCK_MISSING_IMAGE: *const c_char = 893 b"gtk-missing-image\0" as *const u8 as *const c_char; 894 pub const GTK_STOCK_NETWORK: *const c_char = b"gtk-network\0" as *const u8 as *const c_char; 895 pub const GTK_STOCK_NEW: *const c_char = b"gtk-new\0" as *const u8 as *const c_char; 896 pub const GTK_STOCK_NO: *const c_char = b"gtk-no\0" as *const u8 as *const c_char; 897 pub const GTK_STOCK_OK: *const c_char = b"gtk-ok\0" as *const u8 as *const c_char; 898 pub const GTK_STOCK_OPEN: *const c_char = b"gtk-open\0" as *const u8 as *const c_char; 899 pub const GTK_STOCK_ORIENTATION_LANDSCAPE: *const c_char = 900 b"gtk-orientation-landscape\0" as *const u8 as *const c_char; 901 pub const GTK_STOCK_ORIENTATION_PORTRAIT: *const c_char = 902 b"gtk-orientation-portrait\0" as *const u8 as *const c_char; 903 pub const GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE: *const c_char = 904 b"gtk-orientation-reverse-landscape\0" as *const u8 as *const c_char; 905 pub const GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT: *const c_char = 906 b"gtk-orientation-reverse-portrait\0" as *const u8 as *const c_char; 907 pub const GTK_STOCK_PAGE_SETUP: *const c_char = b"gtk-page-setup\0" as *const u8 as *const c_char; 908 pub const GTK_STOCK_PASTE: *const c_char = b"gtk-paste\0" as *const u8 as *const c_char; 909 pub const GTK_STOCK_PREFERENCES: *const c_char = b"gtk-preferences\0" as *const u8 as *const c_char; 910 pub const GTK_STOCK_PRINT: *const c_char = b"gtk-print\0" as *const u8 as *const c_char; 911 pub const GTK_STOCK_PRINT_ERROR: *const c_char = b"gtk-print-error\0" as *const u8 as *const c_char; 912 pub const GTK_STOCK_PRINT_PAUSED: *const c_char = 913 b"gtk-print-paused\0" as *const u8 as *const c_char; 914 pub const GTK_STOCK_PRINT_PREVIEW: *const c_char = 915 b"gtk-print-preview\0" as *const u8 as *const c_char; 916 pub const GTK_STOCK_PRINT_REPORT: *const c_char = 917 b"gtk-print-report\0" as *const u8 as *const c_char; 918 pub const GTK_STOCK_PRINT_WARNING: *const c_char = 919 b"gtk-print-warning\0" as *const u8 as *const c_char; 920 pub const GTK_STOCK_PROPERTIES: *const c_char = b"gtk-properties\0" as *const u8 as *const c_char; 921 pub const GTK_STOCK_QUIT: *const c_char = b"gtk-quit\0" as *const u8 as *const c_char; 922 pub const GTK_STOCK_REDO: *const c_char = b"gtk-redo\0" as *const u8 as *const c_char; 923 pub const GTK_STOCK_REFRESH: *const c_char = b"gtk-refresh\0" as *const u8 as *const c_char; 924 pub const GTK_STOCK_REMOVE: *const c_char = b"gtk-remove\0" as *const u8 as *const c_char; 925 pub const GTK_STOCK_REVERT_TO_SAVED: *const c_char = 926 b"gtk-revert-to-saved\0" as *const u8 as *const c_char; 927 pub const GTK_STOCK_SAVE: *const c_char = b"gtk-save\0" as *const u8 as *const c_char; 928 pub const GTK_STOCK_SAVE_AS: *const c_char = b"gtk-save-as\0" as *const u8 as *const c_char; 929 pub const GTK_STOCK_SELECT_ALL: *const c_char = b"gtk-select-all\0" as *const u8 as *const c_char; 930 pub const GTK_STOCK_SELECT_COLOR: *const c_char = 931 b"gtk-select-color\0" as *const u8 as *const c_char; 932 pub const GTK_STOCK_SELECT_FONT: *const c_char = b"gtk-select-font\0" as *const u8 as *const c_char; 933 pub const GTK_STOCK_SORT_ASCENDING: *const c_char = 934 b"gtk-sort-ascending\0" as *const u8 as *const c_char; 935 pub const GTK_STOCK_SORT_DESCENDING: *const c_char = 936 b"gtk-sort-descending\0" as *const u8 as *const c_char; 937 pub const GTK_STOCK_SPELL_CHECK: *const c_char = b"gtk-spell-check\0" as *const u8 as *const c_char; 938 pub const GTK_STOCK_STOP: *const c_char = b"gtk-stop\0" as *const u8 as *const c_char; 939 pub const GTK_STOCK_STRIKETHROUGH: *const c_char = 940 b"gtk-strikethrough\0" as *const u8 as *const c_char; 941 pub const GTK_STOCK_UNDELETE: *const c_char = b"gtk-undelete\0" as *const u8 as *const c_char; 942 pub const GTK_STOCK_UNDERLINE: *const c_char = b"gtk-underline\0" as *const u8 as *const c_char; 943 pub const GTK_STOCK_UNDO: *const c_char = b"gtk-undo\0" as *const u8 as *const c_char; 944 pub const GTK_STOCK_UNINDENT: *const c_char = b"gtk-unindent\0" as *const u8 as *const c_char; 945 pub const GTK_STOCK_YES: *const c_char = b"gtk-yes\0" as *const u8 as *const c_char; 946 pub const GTK_STOCK_ZOOM_100: *const c_char = b"gtk-zoom-100\0" as *const u8 as *const c_char; 947 pub const GTK_STOCK_ZOOM_FIT: *const c_char = b"gtk-zoom-fit\0" as *const u8 as *const c_char; 948 pub const GTK_STOCK_ZOOM_IN: *const c_char = b"gtk-zoom-in\0" as *const u8 as *const c_char; 949 pub const GTK_STOCK_ZOOM_OUT: *const c_char = b"gtk-zoom-out\0" as *const u8 as *const c_char; 950 pub const GTK_STYLE_CLASS_ACCELERATOR: *const c_char = 951 b"accelerator\0" as *const u8 as *const c_char; 952 pub const GTK_STYLE_CLASS_ARROW: *const c_char = b"arrow\0" as *const u8 as *const c_char; 953 pub const GTK_STYLE_CLASS_BACKGROUND: *const c_char = b"background\0" as *const u8 as *const c_char; 954 pub const GTK_STYLE_CLASS_BOTTOM: *const c_char = b"bottom\0" as *const u8 as *const c_char; 955 pub const GTK_STYLE_CLASS_BUTTON: *const c_char = b"button\0" as *const u8 as *const c_char; 956 pub const GTK_STYLE_CLASS_CALENDAR: *const c_char = b"calendar\0" as *const u8 as *const c_char; 957 pub const GTK_STYLE_CLASS_CELL: *const c_char = b"cell\0" as *const u8 as *const c_char; 958 pub const GTK_STYLE_CLASS_CHECK: *const c_char = b"check\0" as *const u8 as *const c_char; 959 pub const GTK_STYLE_CLASS_COMBOBOX_ENTRY: *const c_char = 960 b"combobox-entry\0" as *const u8 as *const c_char; 961 pub const GTK_STYLE_CLASS_CONTEXT_MENU: *const c_char = 962 b"context-menu\0" as *const u8 as *const c_char; 963 pub const GTK_STYLE_CLASS_CSD: *const c_char = b"csd\0" as *const u8 as *const c_char; 964 pub const GTK_STYLE_CLASS_CURSOR_HANDLE: *const c_char = 965 b"cursor-handle\0" as *const u8 as *const c_char; 966 pub const GTK_STYLE_CLASS_DEFAULT: *const c_char = b"default\0" as *const u8 as *const c_char; 967 pub const GTK_STYLE_CLASS_DESTRUCTIVE_ACTION: *const c_char = 968 b"destructive-action\0" as *const u8 as *const c_char; 969 pub const GTK_STYLE_CLASS_DIM_LABEL: *const c_char = b"dim-label\0" as *const u8 as *const c_char; 970 pub const GTK_STYLE_CLASS_DND: *const c_char = b"dnd\0" as *const u8 as *const c_char; 971 pub const GTK_STYLE_CLASS_DOCK: *const c_char = b"dock\0" as *const u8 as *const c_char; 972 pub const GTK_STYLE_CLASS_ENTRY: *const c_char = b"entry\0" as *const u8 as *const c_char; 973 pub const GTK_STYLE_CLASS_ERROR: *const c_char = b"error\0" as *const u8 as *const c_char; 974 pub const GTK_STYLE_CLASS_EXPANDER: *const c_char = b"expander\0" as *const u8 as *const c_char; 975 pub const GTK_STYLE_CLASS_FLAT: *const c_char = b"flat\0" as *const u8 as *const c_char; 976 pub const GTK_STYLE_CLASS_FRAME: *const c_char = b"frame\0" as *const u8 as *const c_char; 977 pub const GTK_STYLE_CLASS_GRIP: *const c_char = b"grip\0" as *const u8 as *const c_char; 978 pub const GTK_STYLE_CLASS_HEADER: *const c_char = b"header\0" as *const u8 as *const c_char; 979 pub const GTK_STYLE_CLASS_HIGHLIGHT: *const c_char = b"highlight\0" as *const u8 as *const c_char; 980 pub const GTK_STYLE_CLASS_HORIZONTAL: *const c_char = b"horizontal\0" as *const u8 as *const c_char; 981 pub const GTK_STYLE_CLASS_IMAGE: *const c_char = b"image\0" as *const u8 as *const c_char; 982 pub const GTK_STYLE_CLASS_INFO: *const c_char = b"info\0" as *const u8 as *const c_char; 983 pub const GTK_STYLE_CLASS_INLINE_TOOLBAR: *const c_char = 984 b"inline-toolbar\0" as *const u8 as *const c_char; 985 pub const GTK_STYLE_CLASS_INSERTION_CURSOR: *const c_char = 986 b"insertion-cursor\0" as *const u8 as *const c_char; 987 pub const GTK_STYLE_CLASS_LABEL: *const c_char = b"label\0" as *const u8 as *const c_char; 988 pub const GTK_STYLE_CLASS_LEFT: *const c_char = b"left\0" as *const u8 as *const c_char; 989 pub const GTK_STYLE_CLASS_LEVEL_BAR: *const c_char = b"level-bar\0" as *const u8 as *const c_char; 990 pub const GTK_STYLE_CLASS_LINKED: *const c_char = b"linked\0" as *const u8 as *const c_char; 991 pub const GTK_STYLE_CLASS_LIST: *const c_char = b"list\0" as *const u8 as *const c_char; 992 pub const GTK_STYLE_CLASS_LIST_ROW: *const c_char = b"list-row\0" as *const u8 as *const c_char; 993 pub const GTK_STYLE_CLASS_MARK: *const c_char = b"mark\0" as *const u8 as *const c_char; 994 pub const GTK_STYLE_CLASS_MENU: *const c_char = b"menu\0" as *const u8 as *const c_char; 995 pub const GTK_STYLE_CLASS_MENUBAR: *const c_char = b"menubar\0" as *const u8 as *const c_char; 996 pub const GTK_STYLE_CLASS_MENUITEM: *const c_char = b"menuitem\0" as *const u8 as *const c_char; 997 pub const GTK_STYLE_CLASS_MESSAGE_DIALOG: *const c_char = 998 b"message-dialog\0" as *const u8 as *const c_char; 999 pub const GTK_STYLE_CLASS_MONOSPACE: *const c_char = b"monospace\0" as *const u8 as *const c_char; 1000 pub const GTK_STYLE_CLASS_NEEDS_ATTENTION: *const c_char = 1001 b"needs-attention\0" as *const u8 as *const c_char; 1002 pub const GTK_STYLE_CLASS_NOTEBOOK: *const c_char = b"notebook\0" as *const u8 as *const c_char; 1003 pub const GTK_STYLE_CLASS_OSD: *const c_char = b"osd\0" as *const u8 as *const c_char; 1004 pub const GTK_STYLE_CLASS_OVERSHOOT: *const c_char = b"overshoot\0" as *const u8 as *const c_char; 1005 pub const GTK_STYLE_CLASS_PANE_SEPARATOR: *const c_char = 1006 b"pane-separator\0" as *const u8 as *const c_char; 1007 pub const GTK_STYLE_CLASS_PAPER: *const c_char = b"paper\0" as *const u8 as *const c_char; 1008 pub const GTK_STYLE_CLASS_POPOVER: *const c_char = b"popover\0" as *const u8 as *const c_char; 1009 pub const GTK_STYLE_CLASS_POPUP: *const c_char = b"popup\0" as *const u8 as *const c_char; 1010 pub const GTK_STYLE_CLASS_PRIMARY_TOOLBAR: *const c_char = 1011 b"primary-toolbar\0" as *const u8 as *const c_char; 1012 pub const GTK_STYLE_CLASS_PROGRESSBAR: *const c_char = 1013 b"progressbar\0" as *const u8 as *const c_char; 1014 pub const GTK_STYLE_CLASS_PULSE: *const c_char = b"pulse\0" as *const u8 as *const c_char; 1015 pub const GTK_STYLE_CLASS_QUESTION: *const c_char = b"question\0" as *const u8 as *const c_char; 1016 pub const GTK_STYLE_CLASS_RADIO: *const c_char = b"radio\0" as *const u8 as *const c_char; 1017 pub const GTK_STYLE_CLASS_RAISED: *const c_char = b"raised\0" as *const u8 as *const c_char; 1018 pub const GTK_STYLE_CLASS_READ_ONLY: *const c_char = b"read-only\0" as *const u8 as *const c_char; 1019 pub const GTK_STYLE_CLASS_RIGHT: *const c_char = b"right\0" as *const u8 as *const c_char; 1020 pub const GTK_STYLE_CLASS_RUBBERBAND: *const c_char = b"rubberband\0" as *const u8 as *const c_char; 1021 pub const GTK_STYLE_CLASS_SCALE: *const c_char = b"scale\0" as *const u8 as *const c_char; 1022 pub 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; 1024 pub 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; 1026 pub const GTK_STYLE_CLASS_SCROLLBAR: *const c_char = b"scrollbar\0" as *const u8 as *const c_char; 1027 pub const GTK_STYLE_CLASS_SCROLLBARS_JUNCTION: *const c_char = 1028 b"scrollbars-junction\0" as *const u8 as *const c_char; 1029 pub const GTK_STYLE_CLASS_SEPARATOR: *const c_char = b"separator\0" as *const u8 as *const c_char; 1030 pub const GTK_STYLE_CLASS_SIDEBAR: *const c_char = b"sidebar\0" as *const u8 as *const c_char; 1031 pub const GTK_STYLE_CLASS_SLIDER: *const c_char = b"slider\0" as *const u8 as *const c_char; 1032 pub const GTK_STYLE_CLASS_SPINBUTTON: *const c_char = b"spinbutton\0" as *const u8 as *const c_char; 1033 pub const GTK_STYLE_CLASS_SPINNER: *const c_char = b"spinner\0" as *const u8 as *const c_char; 1034 pub const GTK_STYLE_CLASS_STATUSBAR: *const c_char = b"statusbar\0" as *const u8 as *const c_char; 1035 pub const GTK_STYLE_CLASS_SUBTITLE: *const c_char = b"subtitle\0" as *const u8 as *const c_char; 1036 pub const GTK_STYLE_CLASS_SUGGESTED_ACTION: *const c_char = 1037 b"suggested-action\0" as *const u8 as *const c_char; 1038 pub const GTK_STYLE_CLASS_TITLE: *const c_char = b"title\0" as *const u8 as *const c_char; 1039 pub const GTK_STYLE_CLASS_TITLEBAR: *const c_char = b"titlebar\0" as *const u8 as *const c_char; 1040 pub const GTK_STYLE_CLASS_TOOLBAR: *const c_char = b"toolbar\0" as *const u8 as *const c_char; 1041 pub const GTK_STYLE_CLASS_TOOLTIP: *const c_char = b"tooltip\0" as *const u8 as *const c_char; 1042 pub const GTK_STYLE_CLASS_TOP: *const c_char = b"top\0" as *const u8 as *const c_char; 1043 pub const GTK_STYLE_CLASS_TOUCH_SELECTION: *const c_char = 1044 b"touch-selection\0" as *const u8 as *const c_char; 1045 pub const GTK_STYLE_CLASS_TROUGH: *const c_char = b"trough\0" as *const u8 as *const c_char; 1046 pub const GTK_STYLE_CLASS_UNDERSHOOT: *const c_char = b"undershoot\0" as *const u8 as *const c_char; 1047 pub const GTK_STYLE_CLASS_VERTICAL: *const c_char = b"vertical\0" as *const u8 as *const c_char; 1048 pub const GTK_STYLE_CLASS_VIEW: *const c_char = b"view\0" as *const u8 as *const c_char; 1049 pub const GTK_STYLE_CLASS_WARNING: *const c_char = b"warning\0" as *const u8 as *const c_char; 1050 pub const GTK_STYLE_CLASS_WIDE: *const c_char = b"wide\0" as *const u8 as *const c_char; 1051 pub const GTK_STYLE_PROPERTY_BACKGROUND_COLOR: *const c_char = 1052 b"background-color\0" as *const u8 as *const c_char; 1053 pub const GTK_STYLE_PROPERTY_BACKGROUND_IMAGE: *const c_char = 1054 b"background-image\0" as *const u8 as *const c_char; 1055 pub const GTK_STYLE_PROPERTY_BORDER_COLOR: *const c_char = 1056 b"border-color\0" as *const u8 as *const c_char; 1057 pub const GTK_STYLE_PROPERTY_BORDER_RADIUS: *const c_char = 1058 b"border-radius\0" as *const u8 as *const c_char; 1059 pub const GTK_STYLE_PROPERTY_BORDER_STYLE: *const c_char = 1060 b"border-style\0" as *const u8 as *const c_char; 1061 pub const GTK_STYLE_PROPERTY_BORDER_WIDTH: *const c_char = 1062 b"border-width\0" as *const u8 as *const c_char; 1063 pub const GTK_STYLE_PROPERTY_COLOR: *const c_char = b"color\0" as *const u8 as *const c_char; 1064 pub const GTK_STYLE_PROPERTY_FONT: *const c_char = b"font\0" as *const u8 as *const c_char; 1065 pub const GTK_STYLE_PROPERTY_MARGIN: *const c_char = b"margin\0" as *const u8 as *const c_char; 1066 pub const GTK_STYLE_PROPERTY_PADDING: *const c_char = b"padding\0" as *const u8 as *const c_char; 1067 pub const GTK_STYLE_PROVIDER_PRIORITY_APPLICATION: c_int = 600; 1068 pub const GTK_STYLE_PROVIDER_PRIORITY_FALLBACK: c_int = 1; 1069 pub const GTK_STYLE_PROVIDER_PRIORITY_SETTINGS: c_int = 400; 1070 pub const GTK_STYLE_PROVIDER_PRIORITY_THEME: c_int = 200; 1071 pub const GTK_STYLE_PROVIDER_PRIORITY_USER: c_int = 800; 1072 pub const GTK_STYLE_REGION_COLUMN: *const c_char = b"column\0" as *const u8 as *const c_char; 1073 pub const GTK_STYLE_REGION_COLUMN_HEADER: *const c_char = 1074 b"column-header\0" as *const u8 as *const c_char; 1075 pub const GTK_STYLE_REGION_ROW: *const c_char = b"row\0" as *const u8 as *const c_char; 1076 pub const GTK_STYLE_REGION_TAB: *const c_char = b"tab\0" as *const u8 as *const c_char; 1077 pub const GTK_TEXT_VIEW_PRIORITY_VALIDATE: c_int = 125; 1078 pub const GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID: c_int = -1; 1079 pub const GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID: c_int = -2; 1080 1081 // Flags 1082 pub type GtkAccelFlags = c_uint; 1083 pub const GTK_ACCEL_VISIBLE: GtkAccelFlags = 1; 1084 pub const GTK_ACCEL_LOCKED: GtkAccelFlags = 2; 1085 pub const GTK_ACCEL_MASK: GtkAccelFlags = 7; 1086 1087 pub type GtkApplicationInhibitFlags = c_uint; 1088 pub const GTK_APPLICATION_INHIBIT_LOGOUT: GtkApplicationInhibitFlags = 1; 1089 pub const GTK_APPLICATION_INHIBIT_SWITCH: GtkApplicationInhibitFlags = 2; 1090 pub const GTK_APPLICATION_INHIBIT_SUSPEND: GtkApplicationInhibitFlags = 4; 1091 pub const GTK_APPLICATION_INHIBIT_IDLE: GtkApplicationInhibitFlags = 8; 1092 1093 pub type GtkAttachOptions = c_uint; 1094 pub const GTK_EXPAND: GtkAttachOptions = 1; 1095 pub const GTK_SHRINK: GtkAttachOptions = 2; 1096 pub const GTK_FILL: GtkAttachOptions = 4; 1097 1098 pub type GtkCalendarDisplayOptions = c_uint; 1099 pub const GTK_CALENDAR_SHOW_HEADING: GtkCalendarDisplayOptions = 1; 1100 pub const GTK_CALENDAR_SHOW_DAY_NAMES: GtkCalendarDisplayOptions = 2; 1101 pub const GTK_CALENDAR_NO_MONTH_CHANGE: GtkCalendarDisplayOptions = 4; 1102 pub const GTK_CALENDAR_SHOW_WEEK_NUMBERS: GtkCalendarDisplayOptions = 8; 1103 pub const GTK_CALENDAR_SHOW_DETAILS: GtkCalendarDisplayOptions = 32; 1104 1105 pub type GtkCellRendererState = c_uint; 1106 pub const GTK_CELL_RENDERER_SELECTED: GtkCellRendererState = 1; 1107 pub const GTK_CELL_RENDERER_PRELIT: GtkCellRendererState = 2; 1108 pub const GTK_CELL_RENDERER_INSENSITIVE: GtkCellRendererState = 4; 1109 pub const GTK_CELL_RENDERER_SORTED: GtkCellRendererState = 8; 1110 pub const GTK_CELL_RENDERER_FOCUSED: GtkCellRendererState = 16; 1111 pub const GTK_CELL_RENDERER_EXPANDABLE: GtkCellRendererState = 32; 1112 pub const GTK_CELL_RENDERER_EXPANDED: GtkCellRendererState = 64; 1113 1114 pub type GtkDebugFlag = c_uint; 1115 pub const GTK_DEBUG_MISC: GtkDebugFlag = 1; 1116 pub const GTK_DEBUG_PLUGSOCKET: GtkDebugFlag = 2; 1117 pub const GTK_DEBUG_TEXT: GtkDebugFlag = 4; 1118 pub const GTK_DEBUG_TREE: GtkDebugFlag = 8; 1119 pub const GTK_DEBUG_UPDATES: GtkDebugFlag = 16; 1120 pub const GTK_DEBUG_KEYBINDINGS: GtkDebugFlag = 32; 1121 pub const GTK_DEBUG_MULTIHEAD: GtkDebugFlag = 64; 1122 pub const GTK_DEBUG_MODULES: GtkDebugFlag = 128; 1123 pub const GTK_DEBUG_GEOMETRY: GtkDebugFlag = 256; 1124 pub const GTK_DEBUG_ICONTHEME: GtkDebugFlag = 512; 1125 pub const GTK_DEBUG_PRINTING: GtkDebugFlag = 1024; 1126 pub const GTK_DEBUG_BUILDER: GtkDebugFlag = 2048; 1127 pub const GTK_DEBUG_SIZE_REQUEST: GtkDebugFlag = 4096; 1128 pub const GTK_DEBUG_NO_CSS_CACHE: GtkDebugFlag = 8192; 1129 pub const GTK_DEBUG_BASELINES: GtkDebugFlag = 16384; 1130 pub const GTK_DEBUG_PIXEL_CACHE: GtkDebugFlag = 32768; 1131 pub const GTK_DEBUG_NO_PIXEL_CACHE: GtkDebugFlag = 65536; 1132 pub const GTK_DEBUG_INTERACTIVE: GtkDebugFlag = 131072; 1133 pub const GTK_DEBUG_TOUCHSCREEN: GtkDebugFlag = 262144; 1134 pub const GTK_DEBUG_ACTIONS: GtkDebugFlag = 524288; 1135 pub const GTK_DEBUG_RESIZE: GtkDebugFlag = 1048576; 1136 pub const GTK_DEBUG_LAYOUT: GtkDebugFlag = 2097152; 1137 1138 pub type GtkDestDefaults = c_uint; 1139 pub const GTK_DEST_DEFAULT_MOTION: GtkDestDefaults = 1; 1140 pub const GTK_DEST_DEFAULT_HIGHLIGHT: GtkDestDefaults = 2; 1141 pub const GTK_DEST_DEFAULT_DROP: GtkDestDefaults = 4; 1142 pub const GTK_DEST_DEFAULT_ALL: GtkDestDefaults = 7; 1143 1144 pub type GtkDialogFlags = c_uint; 1145 pub const GTK_DIALOG_MODAL: GtkDialogFlags = 1; 1146 pub const GTK_DIALOG_DESTROY_WITH_PARENT: GtkDialogFlags = 2; 1147 pub const GTK_DIALOG_USE_HEADER_BAR: GtkDialogFlags = 4; 1148 1149 pub type GtkEventControllerScrollFlags = c_uint; 1150 pub const GTK_EVENT_CONTROLLER_SCROLL_NONE: GtkEventControllerScrollFlags = 0; 1151 pub const GTK_EVENT_CONTROLLER_SCROLL_VERTICAL: GtkEventControllerScrollFlags = 1; 1152 pub const GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL: GtkEventControllerScrollFlags = 2; 1153 pub const GTK_EVENT_CONTROLLER_SCROLL_DISCRETE: GtkEventControllerScrollFlags = 4; 1154 pub const GTK_EVENT_CONTROLLER_SCROLL_KINETIC: GtkEventControllerScrollFlags = 8; 1155 pub const GTK_EVENT_CONTROLLER_SCROLL_BOTH_AXES: GtkEventControllerScrollFlags = 3; 1156 1157 pub type GtkFileFilterFlags = c_uint; 1158 pub const GTK_FILE_FILTER_FILENAME: GtkFileFilterFlags = 1; 1159 pub const GTK_FILE_FILTER_URI: GtkFileFilterFlags = 2; 1160 pub const GTK_FILE_FILTER_DISPLAY_NAME: GtkFileFilterFlags = 4; 1161 pub const GTK_FILE_FILTER_MIME_TYPE: GtkFileFilterFlags = 8; 1162 1163 pub type GtkFontChooserLevel = c_uint; 1164 pub const GTK_FONT_CHOOSER_LEVEL_FAMILY: GtkFontChooserLevel = 0; 1165 pub const GTK_FONT_CHOOSER_LEVEL_STYLE: GtkFontChooserLevel = 1; 1166 pub const GTK_FONT_CHOOSER_LEVEL_SIZE: GtkFontChooserLevel = 2; 1167 pub const GTK_FONT_CHOOSER_LEVEL_VARIATIONS: GtkFontChooserLevel = 4; 1168 pub const GTK_FONT_CHOOSER_LEVEL_FEATURES: GtkFontChooserLevel = 8; 1169 1170 pub type GtkIconLookupFlags = c_uint; 1171 pub const GTK_ICON_LOOKUP_NO_SVG: GtkIconLookupFlags = 1; 1172 pub const GTK_ICON_LOOKUP_FORCE_SVG: GtkIconLookupFlags = 2; 1173 pub const GTK_ICON_LOOKUP_USE_BUILTIN: GtkIconLookupFlags = 4; 1174 pub const GTK_ICON_LOOKUP_GENERIC_FALLBACK: GtkIconLookupFlags = 8; 1175 pub const GTK_ICON_LOOKUP_FORCE_SIZE: GtkIconLookupFlags = 16; 1176 pub const GTK_ICON_LOOKUP_FORCE_REGULAR: GtkIconLookupFlags = 32; 1177 pub const GTK_ICON_LOOKUP_FORCE_SYMBOLIC: GtkIconLookupFlags = 64; 1178 pub const GTK_ICON_LOOKUP_DIR_LTR: GtkIconLookupFlags = 128; 1179 pub const GTK_ICON_LOOKUP_DIR_RTL: GtkIconLookupFlags = 256; 1180 1181 pub type GtkInputHints = c_uint; 1182 pub const GTK_INPUT_HINT_NONE: GtkInputHints = 0; 1183 pub const GTK_INPUT_HINT_SPELLCHECK: GtkInputHints = 1; 1184 pub const GTK_INPUT_HINT_NO_SPELLCHECK: GtkInputHints = 2; 1185 pub const GTK_INPUT_HINT_WORD_COMPLETION: GtkInputHints = 4; 1186 pub const GTK_INPUT_HINT_LOWERCASE: GtkInputHints = 8; 1187 pub const GTK_INPUT_HINT_UPPERCASE_CHARS: GtkInputHints = 16; 1188 pub const GTK_INPUT_HINT_UPPERCASE_WORDS: GtkInputHints = 32; 1189 pub const GTK_INPUT_HINT_UPPERCASE_SENTENCES: GtkInputHints = 64; 1190 pub const GTK_INPUT_HINT_INHIBIT_OSK: GtkInputHints = 128; 1191 pub const GTK_INPUT_HINT_VERTICAL_WRITING: GtkInputHints = 256; 1192 pub const GTK_INPUT_HINT_EMOJI: GtkInputHints = 512; 1193 pub const GTK_INPUT_HINT_NO_EMOJI: GtkInputHints = 1024; 1194 1195 pub type GtkJunctionSides = c_uint; 1196 pub const GTK_JUNCTION_NONE: GtkJunctionSides = 0; 1197 pub const GTK_JUNCTION_CORNER_TOPLEFT: GtkJunctionSides = 1; 1198 pub const GTK_JUNCTION_CORNER_TOPRIGHT: GtkJunctionSides = 2; 1199 pub const GTK_JUNCTION_CORNER_BOTTOMLEFT: GtkJunctionSides = 4; 1200 pub const GTK_JUNCTION_CORNER_BOTTOMRIGHT: GtkJunctionSides = 8; 1201 pub const GTK_JUNCTION_TOP: GtkJunctionSides = 3; 1202 pub const GTK_JUNCTION_BOTTOM: GtkJunctionSides = 12; 1203 pub const GTK_JUNCTION_LEFT: GtkJunctionSides = 5; 1204 pub const GTK_JUNCTION_RIGHT: GtkJunctionSides = 10; 1205 1206 pub type GtkPlacesOpenFlags = c_uint; 1207 pub const GTK_PLACES_OPEN_NORMAL: GtkPlacesOpenFlags = 1; 1208 pub const GTK_PLACES_OPEN_NEW_TAB: GtkPlacesOpenFlags = 2; 1209 pub const GTK_PLACES_OPEN_NEW_WINDOW: GtkPlacesOpenFlags = 4; 1210 1211 pub type GtkRcFlags = c_uint; 1212 pub const GTK_RC_FG: GtkRcFlags = 1; 1213 pub const GTK_RC_BG: GtkRcFlags = 2; 1214 pub const GTK_RC_TEXT: GtkRcFlags = 4; 1215 pub const GTK_RC_BASE: GtkRcFlags = 8; 1216 1217 pub type GtkRecentFilterFlags = c_uint; 1218 pub const GTK_RECENT_FILTER_URI: GtkRecentFilterFlags = 1; 1219 pub const GTK_RECENT_FILTER_DISPLAY_NAME: GtkRecentFilterFlags = 2; 1220 pub const GTK_RECENT_FILTER_MIME_TYPE: GtkRecentFilterFlags = 4; 1221 pub const GTK_RECENT_FILTER_APPLICATION: GtkRecentFilterFlags = 8; 1222 pub const GTK_RECENT_FILTER_GROUP: GtkRecentFilterFlags = 16; 1223 pub const GTK_RECENT_FILTER_AGE: GtkRecentFilterFlags = 32; 1224 1225 pub type GtkRegionFlags = c_uint; 1226 pub const GTK_REGION_EVEN: GtkRegionFlags = 1; 1227 pub const GTK_REGION_ODD: GtkRegionFlags = 2; 1228 pub const GTK_REGION_FIRST: GtkRegionFlags = 4; 1229 pub const GTK_REGION_LAST: GtkRegionFlags = 8; 1230 pub const GTK_REGION_ONLY: GtkRegionFlags = 16; 1231 pub const GTK_REGION_SORTED: GtkRegionFlags = 32; 1232 1233 pub type GtkStateFlags = c_uint; 1234 pub const GTK_STATE_FLAG_NORMAL: GtkStateFlags = 0; 1235 pub const GTK_STATE_FLAG_ACTIVE: GtkStateFlags = 1; 1236 pub const GTK_STATE_FLAG_PRELIGHT: GtkStateFlags = 2; 1237 pub const GTK_STATE_FLAG_SELECTED: GtkStateFlags = 4; 1238 pub const GTK_STATE_FLAG_INSENSITIVE: GtkStateFlags = 8; 1239 pub const GTK_STATE_FLAG_INCONSISTENT: GtkStateFlags = 16; 1240 pub const GTK_STATE_FLAG_FOCUSED: GtkStateFlags = 32; 1241 pub const GTK_STATE_FLAG_BACKDROP: GtkStateFlags = 64; 1242 pub const GTK_STATE_FLAG_DIR_LTR: GtkStateFlags = 128; 1243 pub const GTK_STATE_FLAG_DIR_RTL: GtkStateFlags = 256; 1244 pub const GTK_STATE_FLAG_LINK: GtkStateFlags = 512; 1245 pub const GTK_STATE_FLAG_VISITED: GtkStateFlags = 1024; 1246 pub const GTK_STATE_FLAG_CHECKED: GtkStateFlags = 2048; 1247 pub const GTK_STATE_FLAG_DROP_ACTIVE: GtkStateFlags = 4096; 1248 1249 pub type GtkStyleContextPrintFlags = c_uint; 1250 pub const GTK_STYLE_CONTEXT_PRINT_NONE: GtkStyleContextPrintFlags = 0; 1251 pub const GTK_STYLE_CONTEXT_PRINT_RECURSE: GtkStyleContextPrintFlags = 1; 1252 pub const GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE: GtkStyleContextPrintFlags = 2; 1253 1254 pub type GtkTargetFlags = c_uint; 1255 pub const GTK_TARGET_SAME_APP: GtkTargetFlags = 1; 1256 pub const GTK_TARGET_SAME_WIDGET: GtkTargetFlags = 2; 1257 pub const GTK_TARGET_OTHER_APP: GtkTargetFlags = 4; 1258 pub const GTK_TARGET_OTHER_WIDGET: GtkTargetFlags = 8; 1259 1260 pub type GtkTextSearchFlags = c_uint; 1261 pub const GTK_TEXT_SEARCH_VISIBLE_ONLY: GtkTextSearchFlags = 1; 1262 pub const GTK_TEXT_SEARCH_TEXT_ONLY: GtkTextSearchFlags = 2; 1263 pub const GTK_TEXT_SEARCH_CASE_INSENSITIVE: GtkTextSearchFlags = 4; 1264 1265 pub type GtkToolPaletteDragTargets = c_uint; 1266 pub const GTK_TOOL_PALETTE_DRAG_ITEMS: GtkToolPaletteDragTargets = 1; 1267 pub const GTK_TOOL_PALETTE_DRAG_GROUPS: GtkToolPaletteDragTargets = 2; 1268 1269 pub type GtkTreeModelFlags = c_uint; 1270 pub const GTK_TREE_MODEL_ITERS_PERSIST: GtkTreeModelFlags = 1; 1271 pub const GTK_TREE_MODEL_LIST_ONLY: GtkTreeModelFlags = 2; 1272 1273 pub type GtkUIManagerItemType = c_uint; 1274 pub const GTK_UI_MANAGER_AUTO: GtkUIManagerItemType = 0; 1275 pub const GTK_UI_MANAGER_MENUBAR: GtkUIManagerItemType = 1; 1276 pub const GTK_UI_MANAGER_MENU: GtkUIManagerItemType = 2; 1277 pub const GTK_UI_MANAGER_TOOLBAR: GtkUIManagerItemType = 4; 1278 pub const GTK_UI_MANAGER_PLACEHOLDER: GtkUIManagerItemType = 8; 1279 pub const GTK_UI_MANAGER_POPUP: GtkUIManagerItemType = 16; 1280 pub const GTK_UI_MANAGER_MENUITEM: GtkUIManagerItemType = 32; 1281 pub const GTK_UI_MANAGER_TOOLITEM: GtkUIManagerItemType = 64; 1282 pub const GTK_UI_MANAGER_SEPARATOR: GtkUIManagerItemType = 128; 1283 pub const GTK_UI_MANAGER_ACCELERATOR: GtkUIManagerItemType = 256; 1284 pub const GTK_UI_MANAGER_POPUP_WITH_ACCELS: GtkUIManagerItemType = 512; 1285 1286 // Unions 1287 #[repr(C)] 1288 #[derive(Copy, Clone)] 1289 pub union GtkBindingArg_d { 1290 pub long_data: c_long, 1291 pub double_data: c_double, 1292 pub string_data: *mut c_char, 1293 } 1294 1295 impl ::std::fmt::Debug for GtkBindingArg_d { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1296 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)] 1307 pub union GtkTextAppearance_u1 { 1308 pub rgba: [*mut gdk::GdkRGBA; 2], 1309 pub padding: [c_uint; 4], 1310 } 1311 1312 impl ::std::fmt::Debug for GtkTextAppearance_u1 { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1313 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)] 1322 pub union GtkTextAttributes_u1 { 1323 pub font_features: *mut c_char, 1324 pub padding: [c_uint; 2], 1325 } 1326 1327 impl ::std::fmt::Debug for GtkTextAttributes_u1 { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1328 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 1336 pub type GtkAccelGroupActivate = Option< 1337 unsafe extern "C" fn( 1338 *mut GtkAccelGroup, 1339 *mut gobject::GObject, 1340 c_uint, 1341 gdk::GdkModifierType, 1342 ) -> gboolean, 1343 >; 1344 pub type GtkAccelGroupFindFunc = 1345 Option<unsafe extern "C" fn(*mut GtkAccelKey, *mut gobject::GClosure, gpointer) -> gboolean>; 1346 pub type GtkAccelMapForeach = 1347 Option<unsafe extern "C" fn(gpointer, *const c_char, c_uint, gdk::GdkModifierType, gboolean)>; 1348 pub type GtkAssistantPageFunc = Option<unsafe extern "C" fn(c_int, gpointer) -> c_int>; 1349 pub 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 >; 1360 pub type GtkCalendarDetailFunc = 1361 Option<unsafe extern "C" fn(*mut GtkCalendar, c_uint, c_uint, c_uint, gpointer) -> *mut c_char>; 1362 pub type GtkCallback = Option<unsafe extern "C" fn(*mut GtkWidget, gpointer)>; 1363 pub type GtkCellAllocCallback = Option< 1364 unsafe extern "C" fn( 1365 *mut GtkCellRenderer, 1366 *const gdk::GdkRectangle, 1367 *const gdk::GdkRectangle, 1368 gpointer, 1369 ) -> gboolean, 1370 >; 1371 pub type GtkCellCallback = Option<unsafe extern "C" fn(*mut GtkCellRenderer, gpointer) -> gboolean>; 1372 pub type GtkCellLayoutDataFunc = Option< 1373 unsafe extern "C" fn( 1374 *mut GtkCellLayout, 1375 *mut GtkCellRenderer, 1376 *mut GtkTreeModel, 1377 *mut GtkTreeIter, 1378 gpointer, 1379 ), 1380 >; 1381 pub type GtkClipboardClearFunc = Option<unsafe extern "C" fn(*mut GtkClipboard, gpointer)>; 1382 pub type GtkClipboardGetFunc = 1383 Option<unsafe extern "C" fn(*mut GtkClipboard, *mut GtkSelectionData, c_uint, gpointer)>; 1384 pub type GtkClipboardImageReceivedFunc = 1385 Option<unsafe extern "C" fn(*mut GtkClipboard, *mut gdk_pixbuf::GdkPixbuf, gpointer)>; 1386 pub type GtkClipboardReceivedFunc = 1387 Option<unsafe extern "C" fn(*mut GtkClipboard, *mut GtkSelectionData, gpointer)>; 1388 pub type GtkClipboardRichTextReceivedFunc = 1389 Option<unsafe extern "C" fn(*mut GtkClipboard, gdk::GdkAtom, *const c_char, size_t, gpointer)>; 1390 pub type GtkClipboardTargetsReceivedFunc = 1391 Option<unsafe extern "C" fn(*mut GtkClipboard, *mut gdk::GdkAtom, c_int, gpointer)>; 1392 pub type GtkClipboardTextReceivedFunc = 1393 Option<unsafe extern "C" fn(*mut GtkClipboard, *const c_char, gpointer)>; 1394 pub type GtkClipboardURIReceivedFunc = 1395 Option<unsafe extern "C" fn(*mut GtkClipboard, *mut *mut c_char, gpointer)>; 1396 pub type GtkColorSelectionChangePaletteFunc = 1397 Option<unsafe extern "C" fn(*const gdk::GdkColor, c_int)>; 1398 pub type GtkColorSelectionChangePaletteWithScreenFunc = 1399 Option<unsafe extern "C" fn(*mut gdk::GdkScreen, *const gdk::GdkColor, c_int)>; 1400 pub type GtkEntryCompletionMatchFunc = Option< 1401 unsafe extern "C" fn( 1402 *mut GtkEntryCompletion, 1403 *const c_char, 1404 *mut GtkTreeIter, 1405 gpointer, 1406 ) -> gboolean, 1407 >; 1408 pub type GtkFileFilterFunc = 1409 Option<unsafe extern "C" fn(*const GtkFileFilterInfo, gpointer) -> gboolean>; 1410 pub type GtkFlowBoxCreateWidgetFunc = 1411 Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> *mut GtkWidget>; 1412 pub type GtkFlowBoxFilterFunc = 1413 Option<unsafe extern "C" fn(*mut GtkFlowBoxChild, gpointer) -> gboolean>; 1414 pub type GtkFlowBoxForeachFunc = 1415 Option<unsafe extern "C" fn(*mut GtkFlowBox, *mut GtkFlowBoxChild, gpointer)>; 1416 pub type GtkFlowBoxSortFunc = 1417 Option<unsafe extern "C" fn(*mut GtkFlowBoxChild, *mut GtkFlowBoxChild, gpointer) -> c_int>; 1418 pub type GtkFontFilterFunc = Option< 1419 unsafe extern "C" fn( 1420 *const pango::PangoFontFamily, 1421 *const pango::PangoFontFace, 1422 gpointer, 1423 ) -> gboolean, 1424 >; 1425 pub type GtkIconViewForeachFunc = 1426 Option<unsafe extern "C" fn(*mut GtkIconView, *mut GtkTreePath, gpointer)>; 1427 pub type GtkKeySnoopFunc = 1428 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventKey, gpointer) -> c_int>; 1429 pub type GtkListBoxCreateWidgetFunc = 1430 Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> *mut GtkWidget>; 1431 pub type GtkListBoxFilterFunc = 1432 Option<unsafe extern "C" fn(*mut GtkListBoxRow, gpointer) -> gboolean>; 1433 pub type GtkListBoxForeachFunc = 1434 Option<unsafe extern "C" fn(*mut GtkListBox, *mut GtkListBoxRow, gpointer)>; 1435 pub type GtkListBoxSortFunc = 1436 Option<unsafe extern "C" fn(*mut GtkListBoxRow, *mut GtkListBoxRow, gpointer) -> c_int>; 1437 pub type GtkListBoxUpdateHeaderFunc = 1438 Option<unsafe extern "C" fn(*mut GtkListBoxRow, *mut GtkListBoxRow, gpointer)>; 1439 pub type GtkMenuDetachFunc = Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkMenu)>; 1440 pub type GtkMenuPositionFunc = 1441 Option<unsafe extern "C" fn(*mut GtkMenu, *mut c_int, *mut c_int, *mut gboolean, gpointer)>; 1442 pub type GtkModuleDisplayInitFunc = Option<unsafe extern "C" fn(*mut gdk::GdkDisplay)>; 1443 pub type GtkModuleInitFunc = Option<unsafe extern "C" fn(*mut c_int, *mut *mut *mut c_char)>; 1444 pub type GtkPageSetupDoneFunc = Option<unsafe extern "C" fn(*mut GtkPageSetup, gpointer)>; 1445 pub type GtkPrintSettingsFunc = 1446 Option<unsafe extern "C" fn(*const c_char, *const c_char, gpointer)>; 1447 pub type GtkRcPropertyParser = Option< 1448 unsafe extern "C" fn( 1449 *const gobject::GParamSpec, 1450 *const glib::GString, 1451 *mut gobject::GValue, 1452 ) -> gboolean, 1453 >; 1454 pub type GtkRecentFilterFunc = 1455 Option<unsafe extern "C" fn(*const GtkRecentFilterInfo, gpointer) -> gboolean>; 1456 pub type GtkRecentSortFunc = 1457 Option<unsafe extern "C" fn(*mut GtkRecentInfo, *mut GtkRecentInfo, gpointer) -> c_int>; 1458 pub type GtkStylePropertyParser = Option< 1459 unsafe extern "C" fn(*const c_char, *mut gobject::GValue, *mut *mut glib::GError) -> gboolean, 1460 >; 1461 pub 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 >; 1473 pub 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 >; 1483 pub type GtkTextCharPredicate = Option<unsafe extern "C" fn(u32, gpointer) -> gboolean>; 1484 pub type GtkTextTagTableForeach = Option<unsafe extern "C" fn(*mut GtkTextTag, gpointer)>; 1485 pub type GtkTickCallback = 1486 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkFrameClock, gpointer) -> gboolean>; 1487 pub type GtkTranslateFunc = Option<unsafe extern "C" fn(*const c_char, gpointer) -> *mut c_char>; 1488 pub type GtkTreeCellDataFunc = Option< 1489 unsafe extern "C" fn( 1490 *mut GtkTreeViewColumn, 1491 *mut GtkCellRenderer, 1492 *mut GtkTreeModel, 1493 *mut GtkTreeIter, 1494 gpointer, 1495 ), 1496 >; 1497 pub type GtkTreeDestroyCountFunc = 1498 Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreePath, c_int, gpointer)>; 1499 pub type GtkTreeIterCompareFunc = Option< 1500 unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, *mut GtkTreeIter, gpointer) -> c_int, 1501 >; 1502 pub 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 >; 1511 pub type GtkTreeModelFilterVisibleFunc = 1512 Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, gpointer) -> gboolean>; 1513 pub type GtkTreeModelForeachFunc = Option< 1514 unsafe extern "C" fn( 1515 *mut GtkTreeModel, 1516 *mut GtkTreePath, 1517 *mut GtkTreeIter, 1518 gpointer, 1519 ) -> gboolean, 1520 >; 1521 pub type GtkTreeSelectionForeachFunc = 1522 Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath, *mut GtkTreeIter, gpointer)>; 1523 pub type GtkTreeSelectionFunc = Option< 1524 unsafe extern "C" fn( 1525 *mut GtkTreeSelection, 1526 *mut GtkTreeModel, 1527 *mut GtkTreePath, 1528 gboolean, 1529 gpointer, 1530 ) -> gboolean, 1531 >; 1532 pub 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 >; 1541 pub type GtkTreeViewMappingFunc = 1542 Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreePath, gpointer)>; 1543 pub type GtkTreeViewRowSeparatorFunc = 1544 Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, gpointer) -> gboolean>; 1545 pub 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 >; 1554 pub type GtkTreeViewSearchPositionFunc = 1555 Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkWidget, gpointer)>; 1556 1557 // Records 1558 #[repr(C)] 1559 #[derive(Copy, Clone)] 1560 pub 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 1569 impl ::std::fmt::Debug for GtkAboutDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1570 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)] 1583 pub struct _GtkAboutDialogPrivate(c_void); 1584 1585 pub type GtkAboutDialogPrivate = *mut _GtkAboutDialogPrivate; 1586 1587 #[repr(C)] 1588 #[derive(Copy, Clone)] 1589 pub 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 1605 impl ::std::fmt::Debug for GtkAccelGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1606 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)] 1620 pub struct GtkAccelGroupEntry { 1621 pub key: GtkAccelKey, 1622 pub closure: *mut gobject::GClosure, 1623 pub accel_path_quark: glib::GQuark, 1624 } 1625 1626 impl ::std::fmt::Debug for GtkAccelGroupEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1627 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)] 1637 pub struct _GtkAccelGroupPrivate(c_void); 1638 1639 pub type GtkAccelGroupPrivate = *mut _GtkAccelGroupPrivate; 1640 1641 #[repr(C)] 1642 #[derive(Copy, Clone)] 1643 pub struct GtkAccelKey { 1644 pub accel_key: c_uint, 1645 pub accel_mods: gdk::GdkModifierType, 1646 pub accel_flags: c_uint, 1647 } 1648 1649 impl ::std::fmt::Debug for GtkAccelKey { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1650 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)] 1661 pub 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 1675 impl ::std::fmt::Debug for GtkAccelLabelClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1676 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)] 1694 pub struct _GtkAccelLabelPrivate(c_void); 1695 1696 pub type GtkAccelLabelPrivate = *mut _GtkAccelLabelPrivate; 1697 1698 #[repr(C)] 1699 pub struct _GtkAccelMapClass(c_void); 1700 1701 pub type GtkAccelMapClass = *mut _GtkAccelMapClass; 1702 1703 #[repr(C)] 1704 #[derive(Copy, Clone)] 1705 pub 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 1714 impl ::std::fmt::Debug for GtkAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1715 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)] 1728 pub struct _GtkAccessiblePrivate(c_void); 1729 1730 pub type GtkAccessiblePrivate = *mut _GtkAccessiblePrivate; 1731 1732 #[repr(C)] 1733 #[derive(Copy, Clone)] 1734 pub 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 1742 impl ::std::fmt::Debug for GtkActionBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1743 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)] 1754 pub struct _GtkActionBarPrivate(c_void); 1755 1756 pub type GtkActionBarPrivate = *mut _GtkActionBarPrivate; 1757 1758 #[repr(C)] 1759 #[derive(Copy, Clone)] 1760 pub 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 1776 impl ::std::fmt::Debug for GtkActionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1777 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)] 1796 pub 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 1805 impl ::std::fmt::Debug for GtkActionEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1806 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)] 1820 pub 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 1830 impl ::std::fmt::Debug for GtkActionGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1831 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)] 1844 pub struct _GtkActionGroupPrivate(c_void); 1845 1846 pub type GtkActionGroupPrivate = *mut _GtkActionGroupPrivate; 1847 1848 #[repr(C)] 1849 pub struct _GtkActionPrivate(c_void); 1850 1851 pub type GtkActionPrivate = *mut _GtkActionPrivate; 1852 1853 #[repr(C)] 1854 #[derive(Copy, Clone)] 1855 pub 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 1865 impl ::std::fmt::Debug for GtkActionableInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1866 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)] 1878 pub 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 1884 impl ::std::fmt::Debug for GtkActivatableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1885 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)] 1895 pub 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 1905 impl ::std::fmt::Debug for GtkAdjustmentClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1906 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)] 1920 pub struct _GtkAdjustmentPrivate(c_void); 1921 1922 pub type GtkAdjustmentPrivate = *mut _GtkAdjustmentPrivate; 1923 1924 #[repr(C)] 1925 #[derive(Copy, Clone)] 1926 pub 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 1934 impl ::std::fmt::Debug for GtkAlignmentClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1935 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)] 1947 pub struct _GtkAlignmentPrivate(c_void); 1948 1949 pub type GtkAlignmentPrivate = *mut _GtkAlignmentPrivate; 1950 1951 #[repr(C)] 1952 #[derive(Copy, Clone)] 1953 pub 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 1960 impl ::std::fmt::Debug for GtkAppChooserButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1961 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)] 1973 pub struct _GtkAppChooserButtonPrivate(c_void); 1974 1975 pub type GtkAppChooserButtonPrivate = *mut _GtkAppChooserButtonPrivate; 1976 1977 #[repr(C)] 1978 #[derive(Copy, Clone)] 1979 pub struct GtkAppChooserDialogClass { 1980 pub parent_class: GtkDialogClass, 1981 pub padding: [gpointer; 16], 1982 } 1983 1984 impl ::std::fmt::Debug for GtkAppChooserDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1985 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)] 1996 pub struct _GtkAppChooserDialogPrivate(c_void); 1997 1998 pub type GtkAppChooserDialogPrivate = *mut _GtkAppChooserDialogPrivate; 1999 2000 #[repr(C)] 2001 #[derive(Copy, Clone)] 2002 pub 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 2013 impl ::std::fmt::Debug for GtkAppChooserWidgetClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2014 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)] 2028 pub struct _GtkAppChooserWidgetPrivate(c_void); 2029 2030 pub type GtkAppChooserWidgetPrivate = *mut _GtkAppChooserWidgetPrivate; 2031 2032 #[repr(C)] 2033 #[derive(Copy, Clone)] 2034 pub 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 2041 impl ::std::fmt::Debug for GtkApplicationClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2042 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)] 2052 pub struct _GtkApplicationPrivate(c_void); 2053 2054 pub type GtkApplicationPrivate = *mut _GtkApplicationPrivate; 2055 2056 #[repr(C)] 2057 #[derive(Copy, Clone)] 2058 pub struct GtkApplicationWindowClass { 2059 pub parent_class: GtkWindowClass, 2060 pub padding: [gpointer; 14], 2061 } 2062 2063 impl ::std::fmt::Debug for GtkApplicationWindowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2064 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)] 2075 pub struct _GtkApplicationWindowPrivate(c_void); 2076 2077 pub type GtkApplicationWindowPrivate = *mut _GtkApplicationWindowPrivate; 2078 2079 #[repr(C)] 2080 #[derive(Copy, Clone)] 2081 pub struct GtkArrowAccessibleClass { 2082 pub parent_class: GtkWidgetAccessibleClass, 2083 } 2084 2085 impl ::std::fmt::Debug for GtkArrowAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2086 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)] 2094 pub struct _GtkArrowAccessiblePrivate(c_void); 2095 2096 pub type GtkArrowAccessiblePrivate = *mut _GtkArrowAccessiblePrivate; 2097 2098 #[repr(C)] 2099 #[derive(Copy, Clone)] 2100 pub 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 2108 impl ::std::fmt::Debug for GtkArrowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2109 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)] 2121 pub struct _GtkArrowPrivate(c_void); 2122 2123 pub type GtkArrowPrivate = *mut _GtkArrowPrivate; 2124 2125 #[repr(C)] 2126 #[derive(Copy, Clone)] 2127 pub 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 2135 impl ::std::fmt::Debug for GtkAspectFrameClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2136 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)] 2148 pub struct _GtkAspectFramePrivate(c_void); 2149 2150 pub type GtkAspectFramePrivate = *mut _GtkAspectFramePrivate; 2151 2152 #[repr(C)] 2153 #[derive(Copy, Clone)] 2154 pub 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 2167 impl ::std::fmt::Debug for GtkAssistantClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2168 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)] 2185 pub struct _GtkAssistantPrivate(c_void); 2186 2187 pub type GtkAssistantPrivate = *mut _GtkAssistantPrivate; 2188 2189 #[repr(C)] 2190 #[derive(Copy, Clone)] 2191 pub 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 2199 impl ::std::fmt::Debug for GtkBinClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2200 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)] 2212 pub struct _GtkBinPrivate(c_void); 2213 2214 pub type GtkBinPrivate = *mut _GtkBinPrivate; 2215 2216 #[repr(C)] 2217 #[derive(Copy, Clone)] 2218 pub struct GtkBindingArg { 2219 pub arg_type: GType, 2220 pub d: GtkBindingArg_d, 2221 } 2222 2223 impl ::std::fmt::Debug for GtkBindingArg { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2224 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)] 2233 pub 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 2242 impl ::std::fmt::Debug for GtkBindingEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2243 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)] 2255 pub 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 2266 impl ::std::fmt::Debug for GtkBindingSet { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2267 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)] 2283 pub 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 2290 impl ::std::fmt::Debug for GtkBindingSignal { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2291 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)] 2303 pub struct GtkBooleanCellAccessibleClass { 2304 pub parent_class: GtkRendererCellAccessibleClass, 2305 } 2306 2307 impl ::std::fmt::Debug for GtkBooleanCellAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2308 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)] 2319 pub struct _GtkBooleanCellAccessiblePrivate(c_void); 2320 2321 pub type GtkBooleanCellAccessiblePrivate = *mut _GtkBooleanCellAccessiblePrivate; 2322 2323 #[repr(C)] 2324 #[derive(Copy, Clone)] 2325 pub struct GtkBorder { 2326 pub left: i16, 2327 pub right: i16, 2328 pub top: i16, 2329 pub bottom: i16, 2330 } 2331 2332 impl ::std::fmt::Debug for GtkBorder { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2333 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)] 2345 pub 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 2353 impl ::std::fmt::Debug for GtkBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2354 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)] 2366 pub struct _GtkBoxPrivate(c_void); 2367 2368 pub type GtkBoxPrivate = *mut _GtkBoxPrivate; 2369 2370 #[repr(C)] 2371 #[derive(Copy, Clone)] 2372 pub 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 2437 impl ::std::fmt::Debug for GtkBuildableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2438 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)] 2457 pub 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 2470 impl ::std::fmt::Debug for GtkBuilderClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2471 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)] 2488 pub struct _GtkBuilderPrivate(c_void); 2489 2490 pub type GtkBuilderPrivate = *mut _GtkBuilderPrivate; 2491 2492 #[repr(C)] 2493 #[derive(Copy, Clone)] 2494 pub struct GtkButtonAccessibleClass { 2495 pub parent_class: GtkContainerAccessibleClass, 2496 } 2497 2498 impl ::std::fmt::Debug for GtkButtonAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2499 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)] 2510 pub struct _GtkButtonAccessiblePrivate(c_void); 2511 2512 pub type GtkButtonAccessiblePrivate = *mut _GtkButtonAccessiblePrivate; 2513 2514 #[repr(C)] 2515 #[derive(Copy, Clone)] 2516 pub 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 2524 impl ::std::fmt::Debug for GtkButtonBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2525 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)] 2537 pub struct _GtkButtonBoxPrivate(c_void); 2538 2539 pub type GtkButtonBoxPrivate = *mut _GtkButtonBoxPrivate; 2540 2541 #[repr(C)] 2542 #[derive(Copy, Clone)] 2543 pub 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 2557 impl ::std::fmt::Debug for GtkButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2558 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)] 2576 pub struct _GtkButtonPrivate(c_void); 2577 2578 pub type GtkButtonPrivate = *mut _GtkButtonPrivate; 2579 2580 #[repr(C)] 2581 #[derive(Copy, Clone)] 2582 pub 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 2597 impl ::std::fmt::Debug for GtkCalendarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2598 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)] 2617 pub struct _GtkCalendarPrivate(c_void); 2618 2619 pub type GtkCalendarPrivate = *mut _GtkCalendarPrivate; 2620 2621 #[repr(C)] 2622 #[derive(Copy, Clone)] 2623 pub struct GtkCellAccessibleClass { 2624 pub parent_class: GtkAccessibleClass, 2625 pub update_cache: Option<unsafe extern "C" fn(*mut GtkCellAccessible, gboolean)>, 2626 } 2627 2628 impl ::std::fmt::Debug for GtkCellAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2629 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)] 2639 pub 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 pub get_cell_position: Option< 2683 unsafe extern "C" fn( 2684 *mut GtkCellAccessibleParent, 2685 *mut GtkCellAccessible, 2686 *mut c_int, 2687 *mut c_int, 2688 ), 2689 >, 2690 pub get_column_header_cells: Option< 2691 unsafe extern "C" fn( 2692 *mut GtkCellAccessibleParent, 2693 *mut GtkCellAccessible, 2694 ) -> *mut glib::GPtrArray, 2695 >, 2696 pub get_row_header_cells: Option< 2697 unsafe extern "C" fn( 2698 *mut GtkCellAccessibleParent, 2699 *mut GtkCellAccessible, 2700 ) -> *mut glib::GPtrArray, 2701 >, 2702 } 2703 2704 impl ::std::fmt::Debug for GtkCellAccessibleParentIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2705 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2706 f.debug_struct(&format!( 2707 "GtkCellAccessibleParentIface @ {:?}", 2708 self as *const _ 2709 )) 2710 .field("parent", &self.parent) 2711 .field("get_cell_extents", &self.get_cell_extents) 2712 .field("get_cell_area", &self.get_cell_area) 2713 .field("grab_focus", &self.grab_focus) 2714 .field("get_child_index", &self.get_child_index) 2715 .field("get_renderer_state", &self.get_renderer_state) 2716 .field("expand_collapse", &self.expand_collapse) 2717 .field("activate", &self.activate) 2718 .field("edit", &self.edit) 2719 .field("update_relationset", &self.update_relationset) 2720 .field("get_cell_position", &self.get_cell_position) 2721 .field("get_column_header_cells", &self.get_column_header_cells) 2722 .field("get_row_header_cells", &self.get_row_header_cells) 2723 .finish() 2724 } 2725 } 2726 2727 #[repr(C)] 2728 pub struct _GtkCellAccessiblePrivate(c_void); 2729 2730 pub type GtkCellAccessiblePrivate = *mut _GtkCellAccessiblePrivate; 2731 2732 #[repr(C)] 2733 #[derive(Copy, Clone)] 2734 pub struct GtkCellAreaBoxClass { 2735 pub parent_class: GtkCellAreaClass, 2736 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 2737 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 2738 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 2739 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 2740 } 2741 2742 impl ::std::fmt::Debug for GtkCellAreaBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2743 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2744 f.debug_struct(&format!("GtkCellAreaBoxClass @ {:?}", self as *const _)) 2745 .field("_gtk_reserved1", &self._gtk_reserved1) 2746 .field("_gtk_reserved2", &self._gtk_reserved2) 2747 .field("_gtk_reserved3", &self._gtk_reserved3) 2748 .field("_gtk_reserved4", &self._gtk_reserved4) 2749 .finish() 2750 } 2751 } 2752 2753 #[repr(C)] 2754 pub struct _GtkCellAreaBoxPrivate(c_void); 2755 2756 pub type GtkCellAreaBoxPrivate = *mut _GtkCellAreaBoxPrivate; 2757 2758 #[repr(C)] 2759 #[derive(Copy, Clone)] 2760 pub struct GtkCellAreaClass { 2761 pub parent_class: gobject::GInitiallyUnownedClass, 2762 pub add: Option<unsafe extern "C" fn(*mut GtkCellArea, *mut GtkCellRenderer)>, 2763 pub remove: Option<unsafe extern "C" fn(*mut GtkCellArea, *mut GtkCellRenderer)>, 2764 pub foreach: Option<unsafe extern "C" fn(*mut GtkCellArea, GtkCellCallback, gpointer)>, 2765 pub foreach_alloc: Option< 2766 unsafe extern "C" fn( 2767 *mut GtkCellArea, 2768 *mut GtkCellAreaContext, 2769 *mut GtkWidget, 2770 *const gdk::GdkRectangle, 2771 *const gdk::GdkRectangle, 2772 GtkCellAllocCallback, 2773 gpointer, 2774 ), 2775 >, 2776 pub event: Option< 2777 unsafe extern "C" fn( 2778 *mut GtkCellArea, 2779 *mut GtkCellAreaContext, 2780 *mut GtkWidget, 2781 *mut gdk::GdkEvent, 2782 *const gdk::GdkRectangle, 2783 GtkCellRendererState, 2784 ) -> c_int, 2785 >, 2786 pub render: Option< 2787 unsafe extern "C" fn( 2788 *mut GtkCellArea, 2789 *mut GtkCellAreaContext, 2790 *mut GtkWidget, 2791 *mut cairo::cairo_t, 2792 *const gdk::GdkRectangle, 2793 *const gdk::GdkRectangle, 2794 GtkCellRendererState, 2795 gboolean, 2796 ), 2797 >, 2798 pub apply_attributes: Option< 2799 unsafe extern "C" fn( 2800 *mut GtkCellArea, 2801 *mut GtkTreeModel, 2802 *mut GtkTreeIter, 2803 gboolean, 2804 gboolean, 2805 ), 2806 >, 2807 pub create_context: Option<unsafe extern "C" fn(*mut GtkCellArea) -> *mut GtkCellAreaContext>, 2808 pub copy_context: Option< 2809 unsafe extern "C" fn(*mut GtkCellArea, *mut GtkCellAreaContext) -> *mut GtkCellAreaContext, 2810 >, 2811 pub get_request_mode: Option<unsafe extern "C" fn(*mut GtkCellArea) -> GtkSizeRequestMode>, 2812 pub get_preferred_width: Option< 2813 unsafe extern "C" fn( 2814 *mut GtkCellArea, 2815 *mut GtkCellAreaContext, 2816 *mut GtkWidget, 2817 *mut c_int, 2818 *mut c_int, 2819 ), 2820 >, 2821 pub get_preferred_height_for_width: Option< 2822 unsafe extern "C" fn( 2823 *mut GtkCellArea, 2824 *mut GtkCellAreaContext, 2825 *mut GtkWidget, 2826 c_int, 2827 *mut c_int, 2828 *mut c_int, 2829 ), 2830 >, 2831 pub get_preferred_height: Option< 2832 unsafe extern "C" fn( 2833 *mut GtkCellArea, 2834 *mut GtkCellAreaContext, 2835 *mut GtkWidget, 2836 *mut c_int, 2837 *mut c_int, 2838 ), 2839 >, 2840 pub get_preferred_width_for_height: Option< 2841 unsafe extern "C" fn( 2842 *mut GtkCellArea, 2843 *mut GtkCellAreaContext, 2844 *mut GtkWidget, 2845 c_int, 2846 *mut c_int, 2847 *mut c_int, 2848 ), 2849 >, 2850 pub set_cell_property: Option< 2851 unsafe extern "C" fn( 2852 *mut GtkCellArea, 2853 *mut GtkCellRenderer, 2854 c_uint, 2855 *mut gobject::GValue, 2856 *mut gobject::GParamSpec, 2857 ), 2858 >, 2859 pub get_cell_property: Option< 2860 unsafe extern "C" fn( 2861 *mut GtkCellArea, 2862 *mut GtkCellRenderer, 2863 c_uint, 2864 *mut gobject::GValue, 2865 *mut gobject::GParamSpec, 2866 ), 2867 >, 2868 pub focus: Option<unsafe extern "C" fn(*mut GtkCellArea, GtkDirectionType) -> gboolean>, 2869 pub is_activatable: Option<unsafe extern "C" fn(*mut GtkCellArea) -> gboolean>, 2870 pub activate: Option< 2871 unsafe extern "C" fn( 2872 *mut GtkCellArea, 2873 *mut GtkCellAreaContext, 2874 *mut GtkWidget, 2875 *const gdk::GdkRectangle, 2876 GtkCellRendererState, 2877 gboolean, 2878 ) -> gboolean, 2879 >, 2880 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 2881 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 2882 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 2883 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 2884 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 2885 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 2886 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 2887 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 2888 } 2889 2890 impl ::std::fmt::Debug for GtkCellAreaClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2891 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2892 f.debug_struct(&format!("GtkCellAreaClass @ {:?}", self as *const _)) 2893 .field("add", &self.add) 2894 .field("remove", &self.remove) 2895 .field("foreach", &self.foreach) 2896 .field("foreach_alloc", &self.foreach_alloc) 2897 .field("event", &self.event) 2898 .field("render", &self.render) 2899 .field("apply_attributes", &self.apply_attributes) 2900 .field("create_context", &self.create_context) 2901 .field("copy_context", &self.copy_context) 2902 .field("get_request_mode", &self.get_request_mode) 2903 .field("get_preferred_width", &self.get_preferred_width) 2904 .field( 2905 "get_preferred_height_for_width", 2906 &self.get_preferred_height_for_width, 2907 ) 2908 .field("get_preferred_height", &self.get_preferred_height) 2909 .field( 2910 "get_preferred_width_for_height", 2911 &self.get_preferred_width_for_height, 2912 ) 2913 .field("set_cell_property", &self.set_cell_property) 2914 .field("get_cell_property", &self.get_cell_property) 2915 .field("focus", &self.focus) 2916 .field("is_activatable", &self.is_activatable) 2917 .field("activate", &self.activate) 2918 .field("_gtk_reserved1", &self._gtk_reserved1) 2919 .field("_gtk_reserved2", &self._gtk_reserved2) 2920 .field("_gtk_reserved3", &self._gtk_reserved3) 2921 .field("_gtk_reserved4", &self._gtk_reserved4) 2922 .field("_gtk_reserved5", &self._gtk_reserved5) 2923 .field("_gtk_reserved6", &self._gtk_reserved6) 2924 .field("_gtk_reserved7", &self._gtk_reserved7) 2925 .field("_gtk_reserved8", &self._gtk_reserved8) 2926 .finish() 2927 } 2928 } 2929 2930 #[repr(C)] 2931 #[derive(Copy, Clone)] 2932 pub struct GtkCellAreaContextClass { 2933 pub parent_class: gobject::GObjectClass, 2934 pub allocate: Option<unsafe extern "C" fn(*mut GtkCellAreaContext, c_int, c_int)>, 2935 pub reset: Option<unsafe extern "C" fn(*mut GtkCellAreaContext)>, 2936 pub get_preferred_height_for_width: 2937 Option<unsafe extern "C" fn(*mut GtkCellAreaContext, c_int, *mut c_int, *mut c_int)>, 2938 pub get_preferred_width_for_height: 2939 Option<unsafe extern "C" fn(*mut GtkCellAreaContext, c_int, *mut c_int, *mut c_int)>, 2940 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 2941 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 2942 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 2943 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 2944 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 2945 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 2946 } 2947 2948 impl ::std::fmt::Debug for GtkCellAreaContextClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2949 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2950 f.debug_struct(&format!("GtkCellAreaContextClass @ {:?}", self as *const _)) 2951 .field("allocate", &self.allocate) 2952 .field("reset", &self.reset) 2953 .field( 2954 "get_preferred_height_for_width", 2955 &self.get_preferred_height_for_width, 2956 ) 2957 .field( 2958 "get_preferred_width_for_height", 2959 &self.get_preferred_width_for_height, 2960 ) 2961 .field("_gtk_reserved1", &self._gtk_reserved1) 2962 .field("_gtk_reserved2", &self._gtk_reserved2) 2963 .field("_gtk_reserved3", &self._gtk_reserved3) 2964 .field("_gtk_reserved4", &self._gtk_reserved4) 2965 .field("_gtk_reserved5", &self._gtk_reserved5) 2966 .field("_gtk_reserved6", &self._gtk_reserved6) 2967 .finish() 2968 } 2969 } 2970 2971 #[repr(C)] 2972 pub struct _GtkCellAreaContextPrivate(c_void); 2973 2974 pub type GtkCellAreaContextPrivate = *mut _GtkCellAreaContextPrivate; 2975 2976 #[repr(C)] 2977 pub struct _GtkCellAreaPrivate(c_void); 2978 2979 pub type GtkCellAreaPrivate = *mut _GtkCellAreaPrivate; 2980 2981 #[repr(C)] 2982 #[derive(Copy, Clone)] 2983 pub struct GtkCellEditableIface { 2984 pub g_iface: gobject::GTypeInterface, 2985 pub editing_done: Option<unsafe extern "C" fn(*mut GtkCellEditable)>, 2986 pub remove_widget: Option<unsafe extern "C" fn(*mut GtkCellEditable)>, 2987 pub start_editing: Option<unsafe extern "C" fn(*mut GtkCellEditable, *mut gdk::GdkEvent)>, 2988 } 2989 2990 impl ::std::fmt::Debug for GtkCellEditableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2991 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2992 f.debug_struct(&format!("GtkCellEditableIface @ {:?}", self as *const _)) 2993 .field("editing_done", &self.editing_done) 2994 .field("remove_widget", &self.remove_widget) 2995 .field("start_editing", &self.start_editing) 2996 .finish() 2997 } 2998 } 2999 3000 #[repr(C)] 3001 #[derive(Copy, Clone)] 3002 pub struct GtkCellLayoutIface { 3003 pub g_iface: gobject::GTypeInterface, 3004 pub pack_start: 3005 Option<unsafe extern "C" fn(*mut GtkCellLayout, *mut GtkCellRenderer, gboolean)>, 3006 pub pack_end: Option<unsafe extern "C" fn(*mut GtkCellLayout, *mut GtkCellRenderer, gboolean)>, 3007 pub clear: Option<unsafe extern "C" fn(*mut GtkCellLayout)>, 3008 pub add_attribute: Option< 3009 unsafe extern "C" fn(*mut GtkCellLayout, *mut GtkCellRenderer, *const c_char, c_int), 3010 >, 3011 pub set_cell_data_func: Option< 3012 unsafe extern "C" fn( 3013 *mut GtkCellLayout, 3014 *mut GtkCellRenderer, 3015 GtkCellLayoutDataFunc, 3016 gpointer, 3017 glib::GDestroyNotify, 3018 ), 3019 >, 3020 pub clear_attributes: Option<unsafe extern "C" fn(*mut GtkCellLayout, *mut GtkCellRenderer)>, 3021 pub reorder: Option<unsafe extern "C" fn(*mut GtkCellLayout, *mut GtkCellRenderer, c_int)>, 3022 pub get_cells: Option<unsafe extern "C" fn(*mut GtkCellLayout) -> *mut glib::GList>, 3023 pub get_area: Option<unsafe extern "C" fn(*mut GtkCellLayout) -> *mut GtkCellArea>, 3024 } 3025 3026 impl ::std::fmt::Debug for GtkCellLayoutIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3027 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3028 f.debug_struct(&format!("GtkCellLayoutIface @ {:?}", self as *const _)) 3029 .field("pack_start", &self.pack_start) 3030 .field("pack_end", &self.pack_end) 3031 .field("clear", &self.clear) 3032 .field("add_attribute", &self.add_attribute) 3033 .field("set_cell_data_func", &self.set_cell_data_func) 3034 .field("clear_attributes", &self.clear_attributes) 3035 .field("reorder", &self.reorder) 3036 .field("get_cells", &self.get_cells) 3037 .field("get_area", &self.get_area) 3038 .finish() 3039 } 3040 } 3041 3042 #[repr(C)] 3043 #[derive(Copy, Clone)] 3044 pub struct GtkCellRendererAccelClass { 3045 pub parent_class: GtkCellRendererTextClass, 3046 pub accel_edited: Option< 3047 unsafe extern "C" fn( 3048 *mut GtkCellRendererAccel, 3049 *const c_char, 3050 c_uint, 3051 gdk::GdkModifierType, 3052 c_uint, 3053 ), 3054 >, 3055 pub accel_cleared: Option<unsafe extern "C" fn(*mut GtkCellRendererAccel, *const c_char)>, 3056 pub _gtk_reserved0: Option<unsafe extern "C" fn()>, 3057 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3058 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3059 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3060 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3061 } 3062 3063 impl ::std::fmt::Debug for GtkCellRendererAccelClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3064 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3065 f.debug_struct(&format!( 3066 "GtkCellRendererAccelClass @ {:?}", 3067 self as *const _ 3068 )) 3069 .field("parent_class", &self.parent_class) 3070 .field("accel_edited", &self.accel_edited) 3071 .field("accel_cleared", &self.accel_cleared) 3072 .field("_gtk_reserved0", &self._gtk_reserved0) 3073 .field("_gtk_reserved1", &self._gtk_reserved1) 3074 .field("_gtk_reserved2", &self._gtk_reserved2) 3075 .field("_gtk_reserved3", &self._gtk_reserved3) 3076 .field("_gtk_reserved4", &self._gtk_reserved4) 3077 .finish() 3078 } 3079 } 3080 3081 #[repr(C)] 3082 pub struct _GtkCellRendererAccelPrivate(c_void); 3083 3084 pub type GtkCellRendererAccelPrivate = *mut _GtkCellRendererAccelPrivate; 3085 3086 #[repr(C)] 3087 #[derive(Copy, Clone)] 3088 pub struct GtkCellRendererClass { 3089 pub parent_class: gobject::GInitiallyUnownedClass, 3090 pub get_request_mode: Option<unsafe extern "C" fn(*mut GtkCellRenderer) -> GtkSizeRequestMode>, 3091 pub get_preferred_width: 3092 Option<unsafe extern "C" fn(*mut GtkCellRenderer, *mut GtkWidget, *mut c_int, *mut c_int)>, 3093 pub get_preferred_height_for_width: Option< 3094 unsafe extern "C" fn(*mut GtkCellRenderer, *mut GtkWidget, c_int, *mut c_int, *mut c_int), 3095 >, 3096 pub get_preferred_height: 3097 Option<unsafe extern "C" fn(*mut GtkCellRenderer, *mut GtkWidget, *mut c_int, *mut c_int)>, 3098 pub get_preferred_width_for_height: Option< 3099 unsafe extern "C" fn(*mut GtkCellRenderer, *mut GtkWidget, c_int, *mut c_int, *mut c_int), 3100 >, 3101 pub get_aligned_area: Option< 3102 unsafe extern "C" fn( 3103 *mut GtkCellRenderer, 3104 *mut GtkWidget, 3105 GtkCellRendererState, 3106 *const gdk::GdkRectangle, 3107 *mut gdk::GdkRectangle, 3108 ), 3109 >, 3110 pub get_size: Option< 3111 unsafe extern "C" fn( 3112 *mut GtkCellRenderer, 3113 *mut GtkWidget, 3114 *const gdk::GdkRectangle, 3115 *mut c_int, 3116 *mut c_int, 3117 *mut c_int, 3118 *mut c_int, 3119 ), 3120 >, 3121 pub render: Option< 3122 unsafe extern "C" fn( 3123 *mut GtkCellRenderer, 3124 *mut cairo::cairo_t, 3125 *mut GtkWidget, 3126 *const gdk::GdkRectangle, 3127 *const gdk::GdkRectangle, 3128 GtkCellRendererState, 3129 ), 3130 >, 3131 pub activate: Option< 3132 unsafe extern "C" fn( 3133 *mut GtkCellRenderer, 3134 *mut gdk::GdkEvent, 3135 *mut GtkWidget, 3136 *const c_char, 3137 *const gdk::GdkRectangle, 3138 *const gdk::GdkRectangle, 3139 GtkCellRendererState, 3140 ) -> gboolean, 3141 >, 3142 pub start_editing: Option< 3143 unsafe extern "C" fn( 3144 *mut GtkCellRenderer, 3145 *mut gdk::GdkEvent, 3146 *mut GtkWidget, 3147 *const c_char, 3148 *const gdk::GdkRectangle, 3149 *const gdk::GdkRectangle, 3150 GtkCellRendererState, 3151 ) -> *mut GtkCellEditable, 3152 >, 3153 pub editing_canceled: Option<unsafe extern "C" fn(*mut GtkCellRenderer)>, 3154 pub editing_started: 3155 Option<unsafe extern "C" fn(*mut GtkCellRenderer, *mut GtkCellEditable, *const c_char)>, 3156 pub priv_: *mut GtkCellRendererClassPrivate, 3157 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3158 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3159 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3160 } 3161 3162 impl ::std::fmt::Debug for GtkCellRendererClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3163 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3164 f.debug_struct(&format!("GtkCellRendererClass @ {:?}", self as *const _)) 3165 .field("get_request_mode", &self.get_request_mode) 3166 .field("get_preferred_width", &self.get_preferred_width) 3167 .field( 3168 "get_preferred_height_for_width", 3169 &self.get_preferred_height_for_width, 3170 ) 3171 .field("get_preferred_height", &self.get_preferred_height) 3172 .field( 3173 "get_preferred_width_for_height", 3174 &self.get_preferred_width_for_height, 3175 ) 3176 .field("get_aligned_area", &self.get_aligned_area) 3177 .field("get_size", &self.get_size) 3178 .field("render", &self.render) 3179 .field("activate", &self.activate) 3180 .field("start_editing", &self.start_editing) 3181 .field("editing_canceled", &self.editing_canceled) 3182 .field("editing_started", &self.editing_started) 3183 .field("_gtk_reserved2", &self._gtk_reserved2) 3184 .field("_gtk_reserved3", &self._gtk_reserved3) 3185 .field("_gtk_reserved4", &self._gtk_reserved4) 3186 .finish() 3187 } 3188 } 3189 3190 #[repr(C)] 3191 pub struct _GtkCellRendererClassPrivate(c_void); 3192 3193 pub type GtkCellRendererClassPrivate = *mut _GtkCellRendererClassPrivate; 3194 3195 #[repr(C)] 3196 #[derive(Copy, Clone)] 3197 pub struct GtkCellRendererComboClass { 3198 pub parent: GtkCellRendererTextClass, 3199 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3200 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3201 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3202 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3203 } 3204 3205 impl ::std::fmt::Debug for GtkCellRendererComboClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3206 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3207 f.debug_struct(&format!( 3208 "GtkCellRendererComboClass @ {:?}", 3209 self as *const _ 3210 )) 3211 .field("parent", &self.parent) 3212 .field("_gtk_reserved1", &self._gtk_reserved1) 3213 .field("_gtk_reserved2", &self._gtk_reserved2) 3214 .field("_gtk_reserved3", &self._gtk_reserved3) 3215 .field("_gtk_reserved4", &self._gtk_reserved4) 3216 .finish() 3217 } 3218 } 3219 3220 #[repr(C)] 3221 pub struct _GtkCellRendererComboPrivate(c_void); 3222 3223 pub type GtkCellRendererComboPrivate = *mut _GtkCellRendererComboPrivate; 3224 3225 #[repr(C)] 3226 #[derive(Copy, Clone)] 3227 pub struct GtkCellRendererPixbufClass { 3228 pub parent_class: GtkCellRendererClass, 3229 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3230 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3231 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3232 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3233 } 3234 3235 impl ::std::fmt::Debug for GtkCellRendererPixbufClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3236 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3237 f.debug_struct(&format!( 3238 "GtkCellRendererPixbufClass @ {:?}", 3239 self as *const _ 3240 )) 3241 .field("parent_class", &self.parent_class) 3242 .field("_gtk_reserved1", &self._gtk_reserved1) 3243 .field("_gtk_reserved2", &self._gtk_reserved2) 3244 .field("_gtk_reserved3", &self._gtk_reserved3) 3245 .field("_gtk_reserved4", &self._gtk_reserved4) 3246 .finish() 3247 } 3248 } 3249 3250 #[repr(C)] 3251 pub struct _GtkCellRendererPixbufPrivate(c_void); 3252 3253 pub type GtkCellRendererPixbufPrivate = *mut _GtkCellRendererPixbufPrivate; 3254 3255 #[repr(C)] 3256 pub struct _GtkCellRendererPrivate(c_void); 3257 3258 pub type GtkCellRendererPrivate = *mut _GtkCellRendererPrivate; 3259 3260 #[repr(C)] 3261 #[derive(Copy, Clone)] 3262 pub struct GtkCellRendererProgressClass { 3263 pub parent_class: GtkCellRendererClass, 3264 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3265 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3266 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3267 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3268 } 3269 3270 impl ::std::fmt::Debug for GtkCellRendererProgressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3271 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3272 f.debug_struct(&format!( 3273 "GtkCellRendererProgressClass @ {:?}", 3274 self as *const _ 3275 )) 3276 .field("parent_class", &self.parent_class) 3277 .field("_gtk_reserved1", &self._gtk_reserved1) 3278 .field("_gtk_reserved2", &self._gtk_reserved2) 3279 .field("_gtk_reserved3", &self._gtk_reserved3) 3280 .field("_gtk_reserved4", &self._gtk_reserved4) 3281 .finish() 3282 } 3283 } 3284 3285 #[repr(C)] 3286 pub struct _GtkCellRendererProgressPrivate(c_void); 3287 3288 pub type GtkCellRendererProgressPrivate = *mut _GtkCellRendererProgressPrivate; 3289 3290 #[repr(C)] 3291 #[derive(Copy, Clone)] 3292 pub struct GtkCellRendererSpinClass { 3293 pub parent: GtkCellRendererTextClass, 3294 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3295 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3296 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3297 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3298 } 3299 3300 impl ::std::fmt::Debug for GtkCellRendererSpinClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3301 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3302 f.debug_struct(&format!( 3303 "GtkCellRendererSpinClass @ {:?}", 3304 self as *const _ 3305 )) 3306 .field("parent", &self.parent) 3307 .field("_gtk_reserved1", &self._gtk_reserved1) 3308 .field("_gtk_reserved2", &self._gtk_reserved2) 3309 .field("_gtk_reserved3", &self._gtk_reserved3) 3310 .field("_gtk_reserved4", &self._gtk_reserved4) 3311 .finish() 3312 } 3313 } 3314 3315 #[repr(C)] 3316 pub struct _GtkCellRendererSpinPrivate(c_void); 3317 3318 pub type GtkCellRendererSpinPrivate = *mut _GtkCellRendererSpinPrivate; 3319 3320 #[repr(C)] 3321 #[derive(Copy, Clone)] 3322 pub struct GtkCellRendererSpinnerClass { 3323 pub parent_class: GtkCellRendererClass, 3324 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3325 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3326 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3327 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3328 } 3329 3330 impl ::std::fmt::Debug for GtkCellRendererSpinnerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3331 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3332 f.debug_struct(&format!( 3333 "GtkCellRendererSpinnerClass @ {:?}", 3334 self as *const _ 3335 )) 3336 .field("parent_class", &self.parent_class) 3337 .field("_gtk_reserved1", &self._gtk_reserved1) 3338 .field("_gtk_reserved2", &self._gtk_reserved2) 3339 .field("_gtk_reserved3", &self._gtk_reserved3) 3340 .field("_gtk_reserved4", &self._gtk_reserved4) 3341 .finish() 3342 } 3343 } 3344 3345 #[repr(C)] 3346 pub struct _GtkCellRendererSpinnerPrivate(c_void); 3347 3348 pub type GtkCellRendererSpinnerPrivate = *mut _GtkCellRendererSpinnerPrivate; 3349 3350 #[repr(C)] 3351 #[derive(Copy, Clone)] 3352 pub struct GtkCellRendererTextClass { 3353 pub parent_class: GtkCellRendererClass, 3354 pub edited: 3355 Option<unsafe extern "C" fn(*mut GtkCellRendererText, *const c_char, *const c_char)>, 3356 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3357 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3358 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3359 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3360 } 3361 3362 impl ::std::fmt::Debug for GtkCellRendererTextClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3363 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3364 f.debug_struct(&format!( 3365 "GtkCellRendererTextClass @ {:?}", 3366 self as *const _ 3367 )) 3368 .field("parent_class", &self.parent_class) 3369 .field("edited", &self.edited) 3370 .field("_gtk_reserved1", &self._gtk_reserved1) 3371 .field("_gtk_reserved2", &self._gtk_reserved2) 3372 .field("_gtk_reserved3", &self._gtk_reserved3) 3373 .field("_gtk_reserved4", &self._gtk_reserved4) 3374 .finish() 3375 } 3376 } 3377 3378 #[repr(C)] 3379 pub struct _GtkCellRendererTextPrivate(c_void); 3380 3381 pub type GtkCellRendererTextPrivate = *mut _GtkCellRendererTextPrivate; 3382 3383 #[repr(C)] 3384 #[derive(Copy, Clone)] 3385 pub struct GtkCellRendererToggleClass { 3386 pub parent_class: GtkCellRendererClass, 3387 pub toggled: Option<unsafe extern "C" fn(*mut GtkCellRendererToggle, *const c_char)>, 3388 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3389 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3390 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3391 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3392 } 3393 3394 impl ::std::fmt::Debug for GtkCellRendererToggleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3395 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3396 f.debug_struct(&format!( 3397 "GtkCellRendererToggleClass @ {:?}", 3398 self as *const _ 3399 )) 3400 .field("parent_class", &self.parent_class) 3401 .field("toggled", &self.toggled) 3402 .field("_gtk_reserved1", &self._gtk_reserved1) 3403 .field("_gtk_reserved2", &self._gtk_reserved2) 3404 .field("_gtk_reserved3", &self._gtk_reserved3) 3405 .field("_gtk_reserved4", &self._gtk_reserved4) 3406 .finish() 3407 } 3408 } 3409 3410 #[repr(C)] 3411 pub struct _GtkCellRendererTogglePrivate(c_void); 3412 3413 pub type GtkCellRendererTogglePrivate = *mut _GtkCellRendererTogglePrivate; 3414 3415 #[repr(C)] 3416 #[derive(Copy, Clone)] 3417 pub struct GtkCellViewClass { 3418 pub parent_class: GtkWidgetClass, 3419 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3420 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3421 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3422 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3423 } 3424 3425 impl ::std::fmt::Debug for GtkCellViewClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3426 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3427 f.debug_struct(&format!("GtkCellViewClass @ {:?}", self as *const _)) 3428 .field("parent_class", &self.parent_class) 3429 .field("_gtk_reserved1", &self._gtk_reserved1) 3430 .field("_gtk_reserved2", &self._gtk_reserved2) 3431 .field("_gtk_reserved3", &self._gtk_reserved3) 3432 .field("_gtk_reserved4", &self._gtk_reserved4) 3433 .finish() 3434 } 3435 } 3436 3437 #[repr(C)] 3438 pub struct _GtkCellViewPrivate(c_void); 3439 3440 pub type GtkCellViewPrivate = *mut _GtkCellViewPrivate; 3441 3442 #[repr(C)] 3443 #[derive(Copy, Clone)] 3444 pub struct GtkCheckButtonClass { 3445 pub parent_class: GtkToggleButtonClass, 3446 pub draw_indicator: Option<unsafe extern "C" fn(*mut GtkCheckButton, *mut cairo::cairo_t)>, 3447 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3448 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3449 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3450 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3451 } 3452 3453 impl ::std::fmt::Debug for GtkCheckButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3454 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3455 f.debug_struct(&format!("GtkCheckButtonClass @ {:?}", self as *const _)) 3456 .field("parent_class", &self.parent_class) 3457 .field("draw_indicator", &self.draw_indicator) 3458 .field("_gtk_reserved1", &self._gtk_reserved1) 3459 .field("_gtk_reserved2", &self._gtk_reserved2) 3460 .field("_gtk_reserved3", &self._gtk_reserved3) 3461 .field("_gtk_reserved4", &self._gtk_reserved4) 3462 .finish() 3463 } 3464 } 3465 3466 #[repr(C)] 3467 #[derive(Copy, Clone)] 3468 pub struct GtkCheckMenuItemAccessibleClass { 3469 pub parent_class: GtkMenuItemAccessibleClass, 3470 } 3471 3472 impl ::std::fmt::Debug for GtkCheckMenuItemAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3473 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3474 f.debug_struct(&format!( 3475 "GtkCheckMenuItemAccessibleClass @ {:?}", 3476 self as *const _ 3477 )) 3478 .field("parent_class", &self.parent_class) 3479 .finish() 3480 } 3481 } 3482 3483 #[repr(C)] 3484 pub struct _GtkCheckMenuItemAccessiblePrivate(c_void); 3485 3486 pub type GtkCheckMenuItemAccessiblePrivate = *mut _GtkCheckMenuItemAccessiblePrivate; 3487 3488 #[repr(C)] 3489 #[derive(Copy, Clone)] 3490 pub struct GtkCheckMenuItemClass { 3491 pub parent_class: GtkMenuItemClass, 3492 pub toggled: Option<unsafe extern "C" fn(*mut GtkCheckMenuItem)>, 3493 pub draw_indicator: Option<unsafe extern "C" fn(*mut GtkCheckMenuItem, *mut cairo::cairo_t)>, 3494 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3495 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3496 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3497 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3498 } 3499 3500 impl ::std::fmt::Debug for GtkCheckMenuItemClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3501 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3502 f.debug_struct(&format!("GtkCheckMenuItemClass @ {:?}", self as *const _)) 3503 .field("parent_class", &self.parent_class) 3504 .field("toggled", &self.toggled) 3505 .field("draw_indicator", &self.draw_indicator) 3506 .field("_gtk_reserved1", &self._gtk_reserved1) 3507 .field("_gtk_reserved2", &self._gtk_reserved2) 3508 .field("_gtk_reserved3", &self._gtk_reserved3) 3509 .field("_gtk_reserved4", &self._gtk_reserved4) 3510 .finish() 3511 } 3512 } 3513 3514 #[repr(C)] 3515 pub struct _GtkCheckMenuItemPrivate(c_void); 3516 3517 pub type GtkCheckMenuItemPrivate = *mut _GtkCheckMenuItemPrivate; 3518 3519 #[repr(C)] 3520 #[derive(Copy, Clone)] 3521 pub struct GtkColorButtonClass { 3522 pub parent_class: GtkButtonClass, 3523 pub color_set: Option<unsafe extern "C" fn(*mut GtkColorButton)>, 3524 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3525 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3526 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3527 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3528 } 3529 3530 impl ::std::fmt::Debug for GtkColorButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3531 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3532 f.debug_struct(&format!("GtkColorButtonClass @ {:?}", self as *const _)) 3533 .field("parent_class", &self.parent_class) 3534 .field("color_set", &self.color_set) 3535 .field("_gtk_reserved1", &self._gtk_reserved1) 3536 .field("_gtk_reserved2", &self._gtk_reserved2) 3537 .field("_gtk_reserved3", &self._gtk_reserved3) 3538 .field("_gtk_reserved4", &self._gtk_reserved4) 3539 .finish() 3540 } 3541 } 3542 3543 #[repr(C)] 3544 pub struct _GtkColorButtonPrivate(c_void); 3545 3546 pub type GtkColorButtonPrivate = *mut _GtkColorButtonPrivate; 3547 3548 #[repr(C)] 3549 #[derive(Copy, Clone)] 3550 pub struct GtkColorChooserDialogClass { 3551 pub parent_class: GtkDialogClass, 3552 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3553 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3554 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3555 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3556 } 3557 3558 impl ::std::fmt::Debug for GtkColorChooserDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3559 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3560 f.debug_struct(&format!( 3561 "GtkColorChooserDialogClass @ {:?}", 3562 self as *const _ 3563 )) 3564 .field("parent_class", &self.parent_class) 3565 .field("_gtk_reserved1", &self._gtk_reserved1) 3566 .field("_gtk_reserved2", &self._gtk_reserved2) 3567 .field("_gtk_reserved3", &self._gtk_reserved3) 3568 .field("_gtk_reserved4", &self._gtk_reserved4) 3569 .finish() 3570 } 3571 } 3572 3573 #[repr(C)] 3574 pub struct _GtkColorChooserDialogPrivate(c_void); 3575 3576 pub type GtkColorChooserDialogPrivate = *mut _GtkColorChooserDialogPrivate; 3577 3578 #[repr(C)] 3579 #[derive(Copy, Clone)] 3580 pub struct GtkColorChooserInterface { 3581 pub base_interface: gobject::GTypeInterface, 3582 pub get_rgba: Option<unsafe extern "C" fn(*mut GtkColorChooser, *const gdk::GdkRGBA)>, 3583 pub set_rgba: Option<unsafe extern "C" fn(*mut GtkColorChooser, *const gdk::GdkRGBA)>, 3584 pub add_palette: Option< 3585 unsafe extern "C" fn(*mut GtkColorChooser, GtkOrientation, c_int, c_int, *mut gdk::GdkRGBA), 3586 >, 3587 pub color_activated: Option<unsafe extern "C" fn(*mut GtkColorChooser, *const gdk::GdkRGBA)>, 3588 pub padding: [gpointer; 12], 3589 } 3590 3591 impl ::std::fmt::Debug for GtkColorChooserInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3592 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3593 f.debug_struct(&format!( 3594 "GtkColorChooserInterface @ {:?}", 3595 self as *const _ 3596 )) 3597 .field("base_interface", &self.base_interface) 3598 .field("get_rgba", &self.get_rgba) 3599 .field("set_rgba", &self.set_rgba) 3600 .field("add_palette", &self.add_palette) 3601 .field("color_activated", &self.color_activated) 3602 .field("padding", &self.padding) 3603 .finish() 3604 } 3605 } 3606 3607 #[repr(C)] 3608 #[derive(Copy, Clone)] 3609 pub struct GtkColorChooserWidgetClass { 3610 pub parent_class: GtkBoxClass, 3611 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3612 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3613 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3614 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3615 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 3616 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 3617 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 3618 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 3619 } 3620 3621 impl ::std::fmt::Debug for GtkColorChooserWidgetClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3622 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3623 f.debug_struct(&format!( 3624 "GtkColorChooserWidgetClass @ {:?}", 3625 self as *const _ 3626 )) 3627 .field("parent_class", &self.parent_class) 3628 .field("_gtk_reserved1", &self._gtk_reserved1) 3629 .field("_gtk_reserved2", &self._gtk_reserved2) 3630 .field("_gtk_reserved3", &self._gtk_reserved3) 3631 .field("_gtk_reserved4", &self._gtk_reserved4) 3632 .field("_gtk_reserved5", &self._gtk_reserved5) 3633 .field("_gtk_reserved6", &self._gtk_reserved6) 3634 .field("_gtk_reserved7", &self._gtk_reserved7) 3635 .field("_gtk_reserved8", &self._gtk_reserved8) 3636 .finish() 3637 } 3638 } 3639 3640 #[repr(C)] 3641 pub struct _GtkColorChooserWidgetPrivate(c_void); 3642 3643 pub type GtkColorChooserWidgetPrivate = *mut _GtkColorChooserWidgetPrivate; 3644 3645 #[repr(C)] 3646 #[derive(Copy, Clone)] 3647 pub struct GtkColorSelectionClass { 3648 pub parent_class: GtkBoxClass, 3649 pub color_changed: Option<unsafe extern "C" fn(*mut GtkColorSelection)>, 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 3656 impl ::std::fmt::Debug for GtkColorSelectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3657 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3658 f.debug_struct(&format!("GtkColorSelectionClass @ {:?}", self as *const _)) 3659 .field("parent_class", &self.parent_class) 3660 .field("color_changed", &self.color_changed) 3661 .field("_gtk_reserved1", &self._gtk_reserved1) 3662 .field("_gtk_reserved2", &self._gtk_reserved2) 3663 .field("_gtk_reserved3", &self._gtk_reserved3) 3664 .field("_gtk_reserved4", &self._gtk_reserved4) 3665 .finish() 3666 } 3667 } 3668 3669 #[repr(C)] 3670 #[derive(Copy, Clone)] 3671 pub struct GtkColorSelectionDialogClass { 3672 pub parent_class: GtkDialogClass, 3673 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3674 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3675 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3676 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3677 } 3678 3679 impl ::std::fmt::Debug for GtkColorSelectionDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3680 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3681 f.debug_struct(&format!( 3682 "GtkColorSelectionDialogClass @ {:?}", 3683 self as *const _ 3684 )) 3685 .field("parent_class", &self.parent_class) 3686 .field("_gtk_reserved1", &self._gtk_reserved1) 3687 .field("_gtk_reserved2", &self._gtk_reserved2) 3688 .field("_gtk_reserved3", &self._gtk_reserved3) 3689 .field("_gtk_reserved4", &self._gtk_reserved4) 3690 .finish() 3691 } 3692 } 3693 3694 #[repr(C)] 3695 pub struct _GtkColorSelectionDialogPrivate(c_void); 3696 3697 pub type GtkColorSelectionDialogPrivate = *mut _GtkColorSelectionDialogPrivate; 3698 3699 #[repr(C)] 3700 pub struct _GtkColorSelectionPrivate(c_void); 3701 3702 pub type GtkColorSelectionPrivate = *mut _GtkColorSelectionPrivate; 3703 3704 #[repr(C)] 3705 #[derive(Copy, Clone)] 3706 pub struct GtkComboBoxAccessibleClass { 3707 pub parent_class: GtkContainerAccessibleClass, 3708 } 3709 3710 impl ::std::fmt::Debug for GtkComboBoxAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3711 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3712 f.debug_struct(&format!( 3713 "GtkComboBoxAccessibleClass @ {:?}", 3714 self as *const _ 3715 )) 3716 .field("parent_class", &self.parent_class) 3717 .finish() 3718 } 3719 } 3720 3721 #[repr(C)] 3722 pub struct _GtkComboBoxAccessiblePrivate(c_void); 3723 3724 pub type GtkComboBoxAccessiblePrivate = *mut _GtkComboBoxAccessiblePrivate; 3725 3726 #[repr(C)] 3727 #[derive(Copy, Clone)] 3728 pub struct GtkComboBoxClass { 3729 pub parent_class: GtkBinClass, 3730 pub changed: Option<unsafe extern "C" fn(*mut GtkComboBox)>, 3731 pub format_entry_text: 3732 Option<unsafe extern "C" fn(*mut GtkComboBox, *const c_char) -> *mut c_char>, 3733 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3734 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3735 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3736 } 3737 3738 impl ::std::fmt::Debug for GtkComboBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3739 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3740 f.debug_struct(&format!("GtkComboBoxClass @ {:?}", self as *const _)) 3741 .field("parent_class", &self.parent_class) 3742 .field("changed", &self.changed) 3743 .field("format_entry_text", &self.format_entry_text) 3744 .field("_gtk_reserved1", &self._gtk_reserved1) 3745 .field("_gtk_reserved2", &self._gtk_reserved2) 3746 .field("_gtk_reserved3", &self._gtk_reserved3) 3747 .finish() 3748 } 3749 } 3750 3751 #[repr(C)] 3752 pub struct _GtkComboBoxPrivate(c_void); 3753 3754 pub type GtkComboBoxPrivate = *mut _GtkComboBoxPrivate; 3755 3756 #[repr(C)] 3757 #[derive(Copy, Clone)] 3758 pub struct GtkComboBoxTextClass { 3759 pub parent_class: GtkComboBoxClass, 3760 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3761 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3762 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3763 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3764 } 3765 3766 impl ::std::fmt::Debug for GtkComboBoxTextClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3767 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3768 f.debug_struct(&format!("GtkComboBoxTextClass @ {:?}", self as *const _)) 3769 .field("parent_class", &self.parent_class) 3770 .field("_gtk_reserved1", &self._gtk_reserved1) 3771 .field("_gtk_reserved2", &self._gtk_reserved2) 3772 .field("_gtk_reserved3", &self._gtk_reserved3) 3773 .field("_gtk_reserved4", &self._gtk_reserved4) 3774 .finish() 3775 } 3776 } 3777 3778 #[repr(C)] 3779 pub struct _GtkComboBoxTextPrivate(c_void); 3780 3781 pub type GtkComboBoxTextPrivate = *mut _GtkComboBoxTextPrivate; 3782 3783 #[repr(C)] 3784 #[derive(Copy, Clone)] 3785 pub struct GtkContainerAccessibleClass { 3786 pub parent_class: GtkWidgetAccessibleClass, 3787 pub add_gtk: Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget, gpointer) -> c_int>, 3788 pub remove_gtk: 3789 Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget, gpointer) -> c_int>, 3790 } 3791 3792 impl ::std::fmt::Debug for GtkContainerAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3793 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3794 f.debug_struct(&format!( 3795 "GtkContainerAccessibleClass @ {:?}", 3796 self as *const _ 3797 )) 3798 .field("parent_class", &self.parent_class) 3799 .field("add_gtk", &self.add_gtk) 3800 .field("remove_gtk", &self.remove_gtk) 3801 .finish() 3802 } 3803 } 3804 3805 #[repr(C)] 3806 pub struct _GtkContainerAccessiblePrivate(c_void); 3807 3808 pub type GtkContainerAccessiblePrivate = *mut _GtkContainerAccessiblePrivate; 3809 3810 #[repr(C)] 3811 #[derive(Copy, Clone)] 3812 pub struct GtkContainerCellAccessibleClass { 3813 pub parent_class: GtkCellAccessibleClass, 3814 } 3815 3816 impl ::std::fmt::Debug for GtkContainerCellAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3817 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3818 f.debug_struct(&format!( 3819 "GtkContainerCellAccessibleClass @ {:?}", 3820 self as *const _ 3821 )) 3822 .field("parent_class", &self.parent_class) 3823 .finish() 3824 } 3825 } 3826 3827 #[repr(C)] 3828 pub struct _GtkContainerCellAccessiblePrivate(c_void); 3829 3830 pub type GtkContainerCellAccessiblePrivate = *mut _GtkContainerCellAccessiblePrivate; 3831 3832 #[repr(C)] 3833 #[derive(Copy, Clone)] 3834 pub struct GtkContainerClass { 3835 pub parent_class: GtkWidgetClass, 3836 pub add: Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget)>, 3837 pub remove: Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget)>, 3838 pub check_resize: Option<unsafe extern "C" fn(*mut GtkContainer)>, 3839 pub forall: Option<unsafe extern "C" fn(*mut GtkContainer, gboolean, GtkCallback, gpointer)>, 3840 pub set_focus_child: Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget)>, 3841 pub child_type: Option<unsafe extern "C" fn(*mut GtkContainer) -> GType>, 3842 pub composite_name: 3843 Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget) -> *mut c_char>, 3844 pub set_child_property: Option< 3845 unsafe extern "C" fn( 3846 *mut GtkContainer, 3847 *mut GtkWidget, 3848 c_uint, 3849 *mut gobject::GValue, 3850 *mut gobject::GParamSpec, 3851 ), 3852 >, 3853 pub get_child_property: Option< 3854 unsafe extern "C" fn( 3855 *mut GtkContainer, 3856 *mut GtkWidget, 3857 c_uint, 3858 *mut gobject::GValue, 3859 *mut gobject::GParamSpec, 3860 ), 3861 >, 3862 pub get_path_for_child: 3863 Option<unsafe extern "C" fn(*mut GtkContainer, *mut GtkWidget) -> *mut GtkWidgetPath>, 3864 pub _handle_border_width: c_uint, 3865 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3866 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3867 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3868 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3869 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 3870 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 3871 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 3872 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 3873 } 3874 3875 impl ::std::fmt::Debug for GtkContainerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3876 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3877 f.debug_struct(&format!("GtkContainerClass @ {:?}", self as *const _)) 3878 .field("parent_class", &self.parent_class) 3879 .field("add", &self.add) 3880 .field("remove", &self.remove) 3881 .field("check_resize", &self.check_resize) 3882 .field("forall", &self.forall) 3883 .field("set_focus_child", &self.set_focus_child) 3884 .field("child_type", &self.child_type) 3885 .field("composite_name", &self.composite_name) 3886 .field("set_child_property", &self.set_child_property) 3887 .field("get_child_property", &self.get_child_property) 3888 .field("get_path_for_child", &self.get_path_for_child) 3889 .field("_gtk_reserved1", &self._gtk_reserved1) 3890 .field("_gtk_reserved2", &self._gtk_reserved2) 3891 .field("_gtk_reserved3", &self._gtk_reserved3) 3892 .field("_gtk_reserved4", &self._gtk_reserved4) 3893 .field("_gtk_reserved5", &self._gtk_reserved5) 3894 .field("_gtk_reserved6", &self._gtk_reserved6) 3895 .field("_gtk_reserved7", &self._gtk_reserved7) 3896 .field("_gtk_reserved8", &self._gtk_reserved8) 3897 .finish() 3898 } 3899 } 3900 3901 #[repr(C)] 3902 pub struct _GtkContainerPrivate(c_void); 3903 3904 pub type GtkContainerPrivate = *mut _GtkContainerPrivate; 3905 3906 #[repr(C)] 3907 #[derive(Copy, Clone)] 3908 pub struct GtkCssProviderClass { 3909 pub parent_class: gobject::GObjectClass, 3910 pub parsing_error: 3911 Option<unsafe extern "C" fn(*mut GtkCssProvider, *mut GtkCssSection, *const glib::GError)>, 3912 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3913 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3914 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3915 } 3916 3917 impl ::std::fmt::Debug for GtkCssProviderClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3918 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3919 f.debug_struct(&format!("GtkCssProviderClass @ {:?}", self as *const _)) 3920 .field("parent_class", &self.parent_class) 3921 .field("parsing_error", &self.parsing_error) 3922 .field("_gtk_reserved2", &self._gtk_reserved2) 3923 .field("_gtk_reserved3", &self._gtk_reserved3) 3924 .field("_gtk_reserved4", &self._gtk_reserved4) 3925 .finish() 3926 } 3927 } 3928 3929 #[repr(C)] 3930 pub struct _GtkCssProviderPrivate(c_void); 3931 3932 pub type GtkCssProviderPrivate = *mut _GtkCssProviderPrivate; 3933 3934 #[repr(C)] 3935 pub struct GtkCssSection(c_void); 3936 3937 impl ::std::fmt::Debug for GtkCssSection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3938 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3939 f.debug_struct(&format!("GtkCssSection @ {:?}", self as *const _)) 3940 .finish() 3941 } 3942 } 3943 3944 #[repr(C)] 3945 #[derive(Copy, Clone)] 3946 pub struct GtkDialogClass { 3947 pub parent_class: GtkWindowClass, 3948 pub response: Option<unsafe extern "C" fn(*mut GtkDialog, GtkResponseType)>, 3949 pub close: Option<unsafe extern "C" fn(*mut GtkDialog)>, 3950 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3951 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3952 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3953 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3954 } 3955 3956 impl ::std::fmt::Debug for GtkDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3957 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3958 f.debug_struct(&format!("GtkDialogClass @ {:?}", self as *const _)) 3959 .field("parent_class", &self.parent_class) 3960 .field("response", &self.response) 3961 .field("close", &self.close) 3962 .field("_gtk_reserved1", &self._gtk_reserved1) 3963 .field("_gtk_reserved2", &self._gtk_reserved2) 3964 .field("_gtk_reserved3", &self._gtk_reserved3) 3965 .field("_gtk_reserved4", &self._gtk_reserved4) 3966 .finish() 3967 } 3968 } 3969 3970 #[repr(C)] 3971 pub struct _GtkDialogPrivate(c_void); 3972 3973 pub type GtkDialogPrivate = *mut _GtkDialogPrivate; 3974 3975 #[repr(C)] 3976 #[derive(Copy, Clone)] 3977 pub struct GtkDrawingAreaClass { 3978 pub parent_class: GtkWidgetClass, 3979 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 3980 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 3981 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 3982 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 3983 } 3984 3985 impl ::std::fmt::Debug for GtkDrawingAreaClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3986 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3987 f.debug_struct(&format!("GtkDrawingAreaClass @ {:?}", self as *const _)) 3988 .field("parent_class", &self.parent_class) 3989 .field("_gtk_reserved1", &self._gtk_reserved1) 3990 .field("_gtk_reserved2", &self._gtk_reserved2) 3991 .field("_gtk_reserved3", &self._gtk_reserved3) 3992 .field("_gtk_reserved4", &self._gtk_reserved4) 3993 .finish() 3994 } 3995 } 3996 3997 #[repr(C)] 3998 #[derive(Copy, Clone)] 3999 pub struct GtkEditableInterface { 4000 pub base_iface: gobject::GTypeInterface, 4001 pub insert_text: 4002 Option<unsafe extern "C" fn(*mut GtkEditable, *const c_char, c_int, *mut c_int)>, 4003 pub delete_text: Option<unsafe extern "C" fn(*mut GtkEditable, c_int, c_int)>, 4004 pub changed: Option<unsafe extern "C" fn(*mut GtkEditable)>, 4005 pub do_insert_text: 4006 Option<unsafe extern "C" fn(*mut GtkEditable, *const c_char, c_int, *mut c_int)>, 4007 pub do_delete_text: Option<unsafe extern "C" fn(*mut GtkEditable, c_int, c_int)>, 4008 pub get_chars: Option<unsafe extern "C" fn(*mut GtkEditable, c_int, c_int) -> *mut c_char>, 4009 pub set_selection_bounds: Option<unsafe extern "C" fn(*mut GtkEditable, c_int, c_int)>, 4010 pub get_selection_bounds: 4011 Option<unsafe extern "C" fn(*mut GtkEditable, *mut c_int, *mut c_int) -> gboolean>, 4012 pub set_position: Option<unsafe extern "C" fn(*mut GtkEditable, c_int)>, 4013 pub get_position: Option<unsafe extern "C" fn(*mut GtkEditable) -> c_int>, 4014 } 4015 4016 impl ::std::fmt::Debug for GtkEditableInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4017 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4018 f.debug_struct(&format!("GtkEditableInterface @ {:?}", self as *const _)) 4019 .field("base_iface", &self.base_iface) 4020 .field("insert_text", &self.insert_text) 4021 .field("delete_text", &self.delete_text) 4022 .field("changed", &self.changed) 4023 .field("do_insert_text", &self.do_insert_text) 4024 .field("do_delete_text", &self.do_delete_text) 4025 .field("get_chars", &self.get_chars) 4026 .field("set_selection_bounds", &self.set_selection_bounds) 4027 .field("get_selection_bounds", &self.get_selection_bounds) 4028 .field("set_position", &self.set_position) 4029 .field("get_position", &self.get_position) 4030 .finish() 4031 } 4032 } 4033 4034 #[repr(C)] 4035 #[derive(Copy, Clone)] 4036 pub struct GtkEntryAccessibleClass { 4037 pub parent_class: GtkWidgetAccessibleClass, 4038 } 4039 4040 impl ::std::fmt::Debug for GtkEntryAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4041 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4042 f.debug_struct(&format!("GtkEntryAccessibleClass @ {:?}", self as *const _)) 4043 .field("parent_class", &self.parent_class) 4044 .finish() 4045 } 4046 } 4047 4048 #[repr(C)] 4049 pub struct _GtkEntryAccessiblePrivate(c_void); 4050 4051 pub type GtkEntryAccessiblePrivate = *mut _GtkEntryAccessiblePrivate; 4052 4053 #[repr(C)] 4054 #[derive(Copy, Clone)] 4055 pub struct GtkEntryBufferClass { 4056 pub parent_class: gobject::GObjectClass, 4057 pub inserted_text: 4058 Option<unsafe extern "C" fn(*mut GtkEntryBuffer, c_uint, *const c_char, c_uint)>, 4059 pub deleted_text: Option<unsafe extern "C" fn(*mut GtkEntryBuffer, c_uint, c_uint)>, 4060 pub get_text: Option<unsafe extern "C" fn(*mut GtkEntryBuffer, *mut size_t) -> *const c_char>, 4061 pub get_length: Option<unsafe extern "C" fn(*mut GtkEntryBuffer) -> c_uint>, 4062 pub insert_text: 4063 Option<unsafe extern "C" fn(*mut GtkEntryBuffer, c_uint, *const c_char, c_uint) -> c_uint>, 4064 pub delete_text: Option<unsafe extern "C" fn(*mut GtkEntryBuffer, c_uint, c_uint) -> c_uint>, 4065 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4066 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4067 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4068 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4069 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 4070 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 4071 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 4072 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 4073 } 4074 4075 impl ::std::fmt::Debug for GtkEntryBufferClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4076 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4077 f.debug_struct(&format!("GtkEntryBufferClass @ {:?}", self as *const _)) 4078 .field("parent_class", &self.parent_class) 4079 .field("inserted_text", &self.inserted_text) 4080 .field("deleted_text", &self.deleted_text) 4081 .field("get_text", &self.get_text) 4082 .field("get_length", &self.get_length) 4083 .field("insert_text", &self.insert_text) 4084 .field("delete_text", &self.delete_text) 4085 .field("_gtk_reserved1", &self._gtk_reserved1) 4086 .field("_gtk_reserved2", &self._gtk_reserved2) 4087 .field("_gtk_reserved3", &self._gtk_reserved3) 4088 .field("_gtk_reserved4", &self._gtk_reserved4) 4089 .field("_gtk_reserved5", &self._gtk_reserved5) 4090 .field("_gtk_reserved6", &self._gtk_reserved6) 4091 .field("_gtk_reserved7", &self._gtk_reserved7) 4092 .field("_gtk_reserved8", &self._gtk_reserved8) 4093 .finish() 4094 } 4095 } 4096 4097 #[repr(C)] 4098 pub struct _GtkEntryBufferPrivate(c_void); 4099 4100 pub type GtkEntryBufferPrivate = *mut _GtkEntryBufferPrivate; 4101 4102 #[repr(C)] 4103 #[derive(Copy, Clone)] 4104 pub struct GtkEntryClass { 4105 pub parent_class: GtkWidgetClass, 4106 pub populate_popup: Option<unsafe extern "C" fn(*mut GtkEntry, *mut GtkWidget)>, 4107 pub activate: Option<unsafe extern "C" fn(*mut GtkEntry)>, 4108 pub move_cursor: Option<unsafe extern "C" fn(*mut GtkEntry, GtkMovementStep, c_int, gboolean)>, 4109 pub insert_at_cursor: Option<unsafe extern "C" fn(*mut GtkEntry, *const c_char)>, 4110 pub delete_from_cursor: Option<unsafe extern "C" fn(*mut GtkEntry, GtkDeleteType, c_int)>, 4111 pub backspace: Option<unsafe extern "C" fn(*mut GtkEntry)>, 4112 pub cut_clipboard: Option<unsafe extern "C" fn(*mut GtkEntry)>, 4113 pub copy_clipboard: Option<unsafe extern "C" fn(*mut GtkEntry)>, 4114 pub paste_clipboard: Option<unsafe extern "C" fn(*mut GtkEntry)>, 4115 pub toggle_overwrite: Option<unsafe extern "C" fn(*mut GtkEntry)>, 4116 pub get_text_area_size: 4117 Option<unsafe extern "C" fn(*mut GtkEntry, *mut c_int, *mut c_int, *mut c_int, *mut c_int)>, 4118 pub get_frame_size: 4119 Option<unsafe extern "C" fn(*mut GtkEntry, *mut c_int, *mut c_int, *mut c_int, *mut c_int)>, 4120 pub insert_emoji: Option<unsafe extern "C" fn(*mut GtkEntry)>, 4121 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4122 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4123 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4124 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4125 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 4126 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 4127 } 4128 4129 impl ::std::fmt::Debug for GtkEntryClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4130 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4131 f.debug_struct(&format!("GtkEntryClass @ {:?}", self as *const _)) 4132 .field("parent_class", &self.parent_class) 4133 .field("populate_popup", &self.populate_popup) 4134 .field("activate", &self.activate) 4135 .field("move_cursor", &self.move_cursor) 4136 .field("insert_at_cursor", &self.insert_at_cursor) 4137 .field("delete_from_cursor", &self.delete_from_cursor) 4138 .field("backspace", &self.backspace) 4139 .field("cut_clipboard", &self.cut_clipboard) 4140 .field("copy_clipboard", &self.copy_clipboard) 4141 .field("paste_clipboard", &self.paste_clipboard) 4142 .field("toggle_overwrite", &self.toggle_overwrite) 4143 .field("get_text_area_size", &self.get_text_area_size) 4144 .field("get_frame_size", &self.get_frame_size) 4145 .field("insert_emoji", &self.insert_emoji) 4146 .field("_gtk_reserved1", &self._gtk_reserved1) 4147 .field("_gtk_reserved2", &self._gtk_reserved2) 4148 .field("_gtk_reserved3", &self._gtk_reserved3) 4149 .field("_gtk_reserved4", &self._gtk_reserved4) 4150 .field("_gtk_reserved5", &self._gtk_reserved5) 4151 .field("_gtk_reserved6", &self._gtk_reserved6) 4152 .finish() 4153 } 4154 } 4155 4156 #[repr(C)] 4157 #[derive(Copy, Clone)] 4158 pub struct GtkEntryCompletionClass { 4159 pub parent_class: gobject::GObjectClass, 4160 pub match_selected: Option< 4161 unsafe extern "C" fn( 4162 *mut GtkEntryCompletion, 4163 *mut GtkTreeModel, 4164 *mut GtkTreeIter, 4165 ) -> gboolean, 4166 >, 4167 pub action_activated: Option<unsafe extern "C" fn(*mut GtkEntryCompletion, c_int)>, 4168 pub insert_prefix: 4169 Option<unsafe extern "C" fn(*mut GtkEntryCompletion, *const c_char) -> gboolean>, 4170 pub cursor_on_match: Option< 4171 unsafe extern "C" fn( 4172 *mut GtkEntryCompletion, 4173 *mut GtkTreeModel, 4174 *mut GtkTreeIter, 4175 ) -> gboolean, 4176 >, 4177 pub no_matches: Option<unsafe extern "C" fn(*mut GtkEntryCompletion)>, 4178 pub _gtk_reserved0: Option<unsafe extern "C" fn()>, 4179 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4180 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4181 } 4182 4183 impl ::std::fmt::Debug for GtkEntryCompletionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4184 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4185 f.debug_struct(&format!("GtkEntryCompletionClass @ {:?}", self as *const _)) 4186 .field("parent_class", &self.parent_class) 4187 .field("match_selected", &self.match_selected) 4188 .field("action_activated", &self.action_activated) 4189 .field("insert_prefix", &self.insert_prefix) 4190 .field("cursor_on_match", &self.cursor_on_match) 4191 .field("no_matches", &self.no_matches) 4192 .field("_gtk_reserved0", &self._gtk_reserved0) 4193 .field("_gtk_reserved1", &self._gtk_reserved1) 4194 .field("_gtk_reserved2", &self._gtk_reserved2) 4195 .finish() 4196 } 4197 } 4198 4199 #[repr(C)] 4200 pub struct _GtkEntryCompletionPrivate(c_void); 4201 4202 pub type GtkEntryCompletionPrivate = *mut _GtkEntryCompletionPrivate; 4203 4204 #[repr(C)] 4205 pub struct _GtkEntryPrivate(c_void); 4206 4207 pub type GtkEntryPrivate = *mut _GtkEntryPrivate; 4208 4209 #[repr(C)] 4210 #[derive(Copy, Clone)] 4211 pub struct GtkEventBoxClass { 4212 pub parent_class: GtkBinClass, 4213 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4214 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4215 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4216 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4217 } 4218 4219 impl ::std::fmt::Debug for GtkEventBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4220 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4221 f.debug_struct(&format!("GtkEventBoxClass @ {:?}", self as *const _)) 4222 .field("parent_class", &self.parent_class) 4223 .field("_gtk_reserved1", &self._gtk_reserved1) 4224 .field("_gtk_reserved2", &self._gtk_reserved2) 4225 .field("_gtk_reserved3", &self._gtk_reserved3) 4226 .field("_gtk_reserved4", &self._gtk_reserved4) 4227 .finish() 4228 } 4229 } 4230 4231 #[repr(C)] 4232 pub struct _GtkEventBoxPrivate(c_void); 4233 4234 pub type GtkEventBoxPrivate = *mut _GtkEventBoxPrivate; 4235 4236 #[repr(C)] 4237 pub struct _GtkEventControllerClass(c_void); 4238 4239 pub type GtkEventControllerClass = *mut _GtkEventControllerClass; 4240 4241 #[repr(C)] 4242 pub struct _GtkEventControllerKeyClass(c_void); 4243 4244 pub type GtkEventControllerKeyClass = *mut _GtkEventControllerKeyClass; 4245 4246 #[repr(C)] 4247 pub struct _GtkEventControllerMotionClass(c_void); 4248 4249 pub type GtkEventControllerMotionClass = *mut _GtkEventControllerMotionClass; 4250 4251 #[repr(C)] 4252 pub struct _GtkEventControllerScrollClass(c_void); 4253 4254 pub type GtkEventControllerScrollClass = *mut _GtkEventControllerScrollClass; 4255 4256 #[repr(C)] 4257 #[derive(Copy, Clone)] 4258 pub struct GtkExpanderAccessibleClass { 4259 pub parent_class: GtkContainerAccessibleClass, 4260 } 4261 4262 impl ::std::fmt::Debug for GtkExpanderAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4263 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4264 f.debug_struct(&format!( 4265 "GtkExpanderAccessibleClass @ {:?}", 4266 self as *const _ 4267 )) 4268 .field("parent_class", &self.parent_class) 4269 .finish() 4270 } 4271 } 4272 4273 #[repr(C)] 4274 pub struct _GtkExpanderAccessiblePrivate(c_void); 4275 4276 pub type GtkExpanderAccessiblePrivate = *mut _GtkExpanderAccessiblePrivate; 4277 4278 #[repr(C)] 4279 #[derive(Copy, Clone)] 4280 pub struct GtkExpanderClass { 4281 pub parent_class: GtkBinClass, 4282 pub activate: Option<unsafe extern "C" fn(*mut GtkExpander)>, 4283 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4284 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4285 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4286 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4287 } 4288 4289 impl ::std::fmt::Debug for GtkExpanderClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4290 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4291 f.debug_struct(&format!("GtkExpanderClass @ {:?}", self as *const _)) 4292 .field("parent_class", &self.parent_class) 4293 .field("activate", &self.activate) 4294 .field("_gtk_reserved1", &self._gtk_reserved1) 4295 .field("_gtk_reserved2", &self._gtk_reserved2) 4296 .field("_gtk_reserved3", &self._gtk_reserved3) 4297 .field("_gtk_reserved4", &self._gtk_reserved4) 4298 .finish() 4299 } 4300 } 4301 4302 #[repr(C)] 4303 pub struct _GtkExpanderPrivate(c_void); 4304 4305 pub type GtkExpanderPrivate = *mut _GtkExpanderPrivate; 4306 4307 #[repr(C)] 4308 #[derive(Copy, Clone)] 4309 pub struct GtkFileChooserButtonClass { 4310 pub parent_class: GtkBoxClass, 4311 pub file_set: Option<unsafe extern "C" fn(*mut GtkFileChooserButton)>, 4312 pub __gtk_reserved1: Option<unsafe extern "C" fn()>, 4313 pub __gtk_reserved2: Option<unsafe extern "C" fn()>, 4314 pub __gtk_reserved3: Option<unsafe extern "C" fn()>, 4315 pub __gtk_reserved4: Option<unsafe extern "C" fn()>, 4316 } 4317 4318 impl ::std::fmt::Debug for GtkFileChooserButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4319 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4320 f.debug_struct(&format!( 4321 "GtkFileChooserButtonClass @ {:?}", 4322 self as *const _ 4323 )) 4324 .field("parent_class", &self.parent_class) 4325 .field("file_set", &self.file_set) 4326 .field("__gtk_reserved1", &self.__gtk_reserved1) 4327 .field("__gtk_reserved2", &self.__gtk_reserved2) 4328 .field("__gtk_reserved3", &self.__gtk_reserved3) 4329 .field("__gtk_reserved4", &self.__gtk_reserved4) 4330 .finish() 4331 } 4332 } 4333 4334 #[repr(C)] 4335 pub struct _GtkFileChooserButtonPrivate(c_void); 4336 4337 pub type GtkFileChooserButtonPrivate = *mut _GtkFileChooserButtonPrivate; 4338 4339 #[repr(C)] 4340 #[derive(Copy, Clone)] 4341 pub struct GtkFileChooserDialogClass { 4342 pub parent_class: GtkDialogClass, 4343 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4344 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4345 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4346 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4347 } 4348 4349 impl ::std::fmt::Debug for GtkFileChooserDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4350 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4351 f.debug_struct(&format!( 4352 "GtkFileChooserDialogClass @ {:?}", 4353 self as *const _ 4354 )) 4355 .field("parent_class", &self.parent_class) 4356 .field("_gtk_reserved1", &self._gtk_reserved1) 4357 .field("_gtk_reserved2", &self._gtk_reserved2) 4358 .field("_gtk_reserved3", &self._gtk_reserved3) 4359 .field("_gtk_reserved4", &self._gtk_reserved4) 4360 .finish() 4361 } 4362 } 4363 4364 #[repr(C)] 4365 pub struct _GtkFileChooserDialogPrivate(c_void); 4366 4367 pub type GtkFileChooserDialogPrivate = *mut _GtkFileChooserDialogPrivate; 4368 4369 #[repr(C)] 4370 #[derive(Copy, Clone)] 4371 pub struct GtkFileChooserNativeClass { 4372 pub parent_class: GtkNativeDialogClass, 4373 } 4374 4375 impl ::std::fmt::Debug for GtkFileChooserNativeClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4376 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4377 f.debug_struct(&format!( 4378 "GtkFileChooserNativeClass @ {:?}", 4379 self as *const _ 4380 )) 4381 .field("parent_class", &self.parent_class) 4382 .finish() 4383 } 4384 } 4385 4386 #[repr(C)] 4387 #[derive(Copy, Clone)] 4388 pub struct GtkFileChooserWidgetClass { 4389 pub parent_class: GtkBoxClass, 4390 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4391 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4392 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4393 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4394 } 4395 4396 impl ::std::fmt::Debug for GtkFileChooserWidgetClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4397 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4398 f.debug_struct(&format!( 4399 "GtkFileChooserWidgetClass @ {:?}", 4400 self as *const _ 4401 )) 4402 .field("parent_class", &self.parent_class) 4403 .field("_gtk_reserved1", &self._gtk_reserved1) 4404 .field("_gtk_reserved2", &self._gtk_reserved2) 4405 .field("_gtk_reserved3", &self._gtk_reserved3) 4406 .field("_gtk_reserved4", &self._gtk_reserved4) 4407 .finish() 4408 } 4409 } 4410 4411 #[repr(C)] 4412 pub struct _GtkFileChooserWidgetPrivate(c_void); 4413 4414 pub type GtkFileChooserWidgetPrivate = *mut _GtkFileChooserWidgetPrivate; 4415 4416 #[repr(C)] 4417 #[derive(Copy, Clone)] 4418 pub struct GtkFileFilterInfo { 4419 pub contains: GtkFileFilterFlags, 4420 pub filename: *const c_char, 4421 pub uri: *const c_char, 4422 pub display_name: *const c_char, 4423 pub mime_type: *const c_char, 4424 } 4425 4426 impl ::std::fmt::Debug for GtkFileFilterInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4427 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4428 f.debug_struct(&format!("GtkFileFilterInfo @ {:?}", self as *const _)) 4429 .field("contains", &self.contains) 4430 .field("filename", &self.filename) 4431 .field("uri", &self.uri) 4432 .field("display_name", &self.display_name) 4433 .field("mime_type", &self.mime_type) 4434 .finish() 4435 } 4436 } 4437 4438 #[repr(C)] 4439 #[derive(Copy, Clone)] 4440 pub struct GtkFixedChild { 4441 pub widget: *mut GtkWidget, 4442 pub x: c_int, 4443 pub y: c_int, 4444 } 4445 4446 impl ::std::fmt::Debug for GtkFixedChild { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4447 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4448 f.debug_struct(&format!("GtkFixedChild @ {:?}", self as *const _)) 4449 .field("widget", &self.widget) 4450 .field("x", &self.x) 4451 .field("y", &self.y) 4452 .finish() 4453 } 4454 } 4455 4456 #[repr(C)] 4457 #[derive(Copy, Clone)] 4458 pub struct GtkFixedClass { 4459 pub parent_class: GtkContainerClass, 4460 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4461 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4462 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4463 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4464 } 4465 4466 impl ::std::fmt::Debug for GtkFixedClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4467 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4468 f.debug_struct(&format!("GtkFixedClass @ {:?}", self as *const _)) 4469 .field("parent_class", &self.parent_class) 4470 .field("_gtk_reserved1", &self._gtk_reserved1) 4471 .field("_gtk_reserved2", &self._gtk_reserved2) 4472 .field("_gtk_reserved3", &self._gtk_reserved3) 4473 .field("_gtk_reserved4", &self._gtk_reserved4) 4474 .finish() 4475 } 4476 } 4477 4478 #[repr(C)] 4479 pub struct _GtkFixedPrivate(c_void); 4480 4481 pub type GtkFixedPrivate = *mut _GtkFixedPrivate; 4482 4483 #[repr(C)] 4484 #[derive(Copy, Clone)] 4485 pub struct GtkFlowBoxAccessibleClass { 4486 pub parent_class: GtkContainerAccessibleClass, 4487 } 4488 4489 impl ::std::fmt::Debug for GtkFlowBoxAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4490 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4491 f.debug_struct(&format!( 4492 "GtkFlowBoxAccessibleClass @ {:?}", 4493 self as *const _ 4494 )) 4495 .field("parent_class", &self.parent_class) 4496 .finish() 4497 } 4498 } 4499 4500 #[repr(C)] 4501 pub struct _GtkFlowBoxAccessiblePrivate(c_void); 4502 4503 pub type GtkFlowBoxAccessiblePrivate = *mut _GtkFlowBoxAccessiblePrivate; 4504 4505 #[repr(C)] 4506 #[derive(Copy, Clone)] 4507 pub struct GtkFlowBoxChildAccessibleClass { 4508 pub parent_class: GtkContainerAccessibleClass, 4509 } 4510 4511 impl ::std::fmt::Debug for GtkFlowBoxChildAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4512 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4513 f.debug_struct(&format!( 4514 "GtkFlowBoxChildAccessibleClass @ {:?}", 4515 self as *const _ 4516 )) 4517 .field("parent_class", &self.parent_class) 4518 .finish() 4519 } 4520 } 4521 4522 #[repr(C)] 4523 #[derive(Copy, Clone)] 4524 pub struct GtkFlowBoxChildClass { 4525 pub parent_class: GtkBinClass, 4526 pub activate: Option<unsafe extern "C" fn(*mut GtkFlowBoxChild)>, 4527 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4528 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4529 } 4530 4531 impl ::std::fmt::Debug for GtkFlowBoxChildClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4532 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4533 f.debug_struct(&format!("GtkFlowBoxChildClass @ {:?}", self as *const _)) 4534 .field("parent_class", &self.parent_class) 4535 .field("activate", &self.activate) 4536 .field("_gtk_reserved1", &self._gtk_reserved1) 4537 .field("_gtk_reserved2", &self._gtk_reserved2) 4538 .finish() 4539 } 4540 } 4541 4542 #[repr(C)] 4543 #[derive(Copy, Clone)] 4544 pub struct GtkFlowBoxClass { 4545 pub parent_class: GtkContainerClass, 4546 pub child_activated: Option<unsafe extern "C" fn(*mut GtkFlowBox, *mut GtkFlowBoxChild)>, 4547 pub selected_children_changed: Option<unsafe extern "C" fn(*mut GtkFlowBox)>, 4548 pub activate_cursor_child: Option<unsafe extern "C" fn(*mut GtkFlowBox)>, 4549 pub toggle_cursor_child: Option<unsafe extern "C" fn(*mut GtkFlowBox)>, 4550 pub move_cursor: 4551 Option<unsafe extern "C" fn(*mut GtkFlowBox, GtkMovementStep, c_int) -> gboolean>, 4552 pub select_all: Option<unsafe extern "C" fn(*mut GtkFlowBox)>, 4553 pub unselect_all: Option<unsafe extern "C" fn(*mut GtkFlowBox)>, 4554 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4555 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4556 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4557 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4558 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 4559 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 4560 } 4561 4562 impl ::std::fmt::Debug for GtkFlowBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4563 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4564 f.debug_struct(&format!("GtkFlowBoxClass @ {:?}", self as *const _)) 4565 .field("parent_class", &self.parent_class) 4566 .field("child_activated", &self.child_activated) 4567 .field("selected_children_changed", &self.selected_children_changed) 4568 .field("activate_cursor_child", &self.activate_cursor_child) 4569 .field("toggle_cursor_child", &self.toggle_cursor_child) 4570 .field("move_cursor", &self.move_cursor) 4571 .field("select_all", &self.select_all) 4572 .field("unselect_all", &self.unselect_all) 4573 .field("_gtk_reserved1", &self._gtk_reserved1) 4574 .field("_gtk_reserved2", &self._gtk_reserved2) 4575 .field("_gtk_reserved3", &self._gtk_reserved3) 4576 .field("_gtk_reserved4", &self._gtk_reserved4) 4577 .field("_gtk_reserved5", &self._gtk_reserved5) 4578 .field("_gtk_reserved6", &self._gtk_reserved6) 4579 .finish() 4580 } 4581 } 4582 4583 #[repr(C)] 4584 #[derive(Copy, Clone)] 4585 pub struct GtkFontButtonClass { 4586 pub parent_class: GtkButtonClass, 4587 pub font_set: Option<unsafe extern "C" fn(*mut GtkFontButton)>, 4588 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4589 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4590 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4591 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4592 } 4593 4594 impl ::std::fmt::Debug for GtkFontButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4595 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4596 f.debug_struct(&format!("GtkFontButtonClass @ {:?}", self as *const _)) 4597 .field("parent_class", &self.parent_class) 4598 .field("font_set", &self.font_set) 4599 .field("_gtk_reserved1", &self._gtk_reserved1) 4600 .field("_gtk_reserved2", &self._gtk_reserved2) 4601 .field("_gtk_reserved3", &self._gtk_reserved3) 4602 .field("_gtk_reserved4", &self._gtk_reserved4) 4603 .finish() 4604 } 4605 } 4606 4607 #[repr(C)] 4608 pub struct _GtkFontButtonPrivate(c_void); 4609 4610 pub type GtkFontButtonPrivate = *mut _GtkFontButtonPrivate; 4611 4612 #[repr(C)] 4613 #[derive(Copy, Clone)] 4614 pub struct GtkFontChooserDialogClass { 4615 pub parent_class: GtkDialogClass, 4616 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4617 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4618 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4619 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4620 } 4621 4622 impl ::std::fmt::Debug for GtkFontChooserDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4623 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4624 f.debug_struct(&format!( 4625 "GtkFontChooserDialogClass @ {:?}", 4626 self as *const _ 4627 )) 4628 .field("parent_class", &self.parent_class) 4629 .field("_gtk_reserved1", &self._gtk_reserved1) 4630 .field("_gtk_reserved2", &self._gtk_reserved2) 4631 .field("_gtk_reserved3", &self._gtk_reserved3) 4632 .field("_gtk_reserved4", &self._gtk_reserved4) 4633 .finish() 4634 } 4635 } 4636 4637 #[repr(C)] 4638 pub struct _GtkFontChooserDialogPrivate(c_void); 4639 4640 pub type GtkFontChooserDialogPrivate = *mut _GtkFontChooserDialogPrivate; 4641 4642 #[repr(C)] 4643 #[derive(Copy, Clone)] 4644 pub struct GtkFontChooserIface { 4645 pub base_iface: gobject::GTypeInterface, 4646 pub get_font_family: 4647 Option<unsafe extern "C" fn(*mut GtkFontChooser) -> *mut pango::PangoFontFamily>, 4648 pub get_font_face: 4649 Option<unsafe extern "C" fn(*mut GtkFontChooser) -> *mut pango::PangoFontFace>, 4650 pub get_font_size: Option<unsafe extern "C" fn(*mut GtkFontChooser) -> c_int>, 4651 pub set_filter_func: Option< 4652 unsafe extern "C" fn( 4653 *mut GtkFontChooser, 4654 GtkFontFilterFunc, 4655 gpointer, 4656 glib::GDestroyNotify, 4657 ), 4658 >, 4659 pub font_activated: Option<unsafe extern "C" fn(*mut GtkFontChooser, *const c_char)>, 4660 pub set_font_map: Option<unsafe extern "C" fn(*mut GtkFontChooser, *mut pango::PangoFontMap)>, 4661 pub get_font_map: Option<unsafe extern "C" fn(*mut GtkFontChooser) -> *mut pango::PangoFontMap>, 4662 pub padding: [gpointer; 10], 4663 } 4664 4665 impl ::std::fmt::Debug for GtkFontChooserIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4666 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4667 f.debug_struct(&format!("GtkFontChooserIface @ {:?}", self as *const _)) 4668 .field("base_iface", &self.base_iface) 4669 .field("get_font_family", &self.get_font_family) 4670 .field("get_font_face", &self.get_font_face) 4671 .field("get_font_size", &self.get_font_size) 4672 .field("set_filter_func", &self.set_filter_func) 4673 .field("font_activated", &self.font_activated) 4674 .field("set_font_map", &self.set_font_map) 4675 .field("get_font_map", &self.get_font_map) 4676 .field("padding", &self.padding) 4677 .finish() 4678 } 4679 } 4680 4681 #[repr(C)] 4682 #[derive(Copy, Clone)] 4683 pub struct GtkFontChooserWidgetClass { 4684 pub parent_class: GtkBoxClass, 4685 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4686 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4687 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4688 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4689 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 4690 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 4691 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 4692 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 4693 } 4694 4695 impl ::std::fmt::Debug for GtkFontChooserWidgetClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4696 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4697 f.debug_struct(&format!( 4698 "GtkFontChooserWidgetClass @ {:?}", 4699 self as *const _ 4700 )) 4701 .field("parent_class", &self.parent_class) 4702 .field("_gtk_reserved1", &self._gtk_reserved1) 4703 .field("_gtk_reserved2", &self._gtk_reserved2) 4704 .field("_gtk_reserved3", &self._gtk_reserved3) 4705 .field("_gtk_reserved4", &self._gtk_reserved4) 4706 .field("_gtk_reserved5", &self._gtk_reserved5) 4707 .field("_gtk_reserved6", &self._gtk_reserved6) 4708 .field("_gtk_reserved7", &self._gtk_reserved7) 4709 .field("_gtk_reserved8", &self._gtk_reserved8) 4710 .finish() 4711 } 4712 } 4713 4714 #[repr(C)] 4715 pub struct _GtkFontChooserWidgetPrivate(c_void); 4716 4717 pub type GtkFontChooserWidgetPrivate = *mut _GtkFontChooserWidgetPrivate; 4718 4719 #[repr(C)] 4720 #[derive(Copy, Clone)] 4721 pub struct GtkFontSelectionClass { 4722 pub parent_class: GtkBoxClass, 4723 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4724 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4725 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4726 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4727 } 4728 4729 impl ::std::fmt::Debug for GtkFontSelectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4730 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4731 f.debug_struct(&format!("GtkFontSelectionClass @ {:?}", self as *const _)) 4732 .field("parent_class", &self.parent_class) 4733 .field("_gtk_reserved1", &self._gtk_reserved1) 4734 .field("_gtk_reserved2", &self._gtk_reserved2) 4735 .field("_gtk_reserved3", &self._gtk_reserved3) 4736 .field("_gtk_reserved4", &self._gtk_reserved4) 4737 .finish() 4738 } 4739 } 4740 4741 #[repr(C)] 4742 #[derive(Copy, Clone)] 4743 pub struct GtkFontSelectionDialogClass { 4744 pub parent_class: GtkDialogClass, 4745 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4746 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4747 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4748 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4749 } 4750 4751 impl ::std::fmt::Debug for GtkFontSelectionDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4752 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4753 f.debug_struct(&format!( 4754 "GtkFontSelectionDialogClass @ {:?}", 4755 self as *const _ 4756 )) 4757 .field("parent_class", &self.parent_class) 4758 .field("_gtk_reserved1", &self._gtk_reserved1) 4759 .field("_gtk_reserved2", &self._gtk_reserved2) 4760 .field("_gtk_reserved3", &self._gtk_reserved3) 4761 .field("_gtk_reserved4", &self._gtk_reserved4) 4762 .finish() 4763 } 4764 } 4765 4766 #[repr(C)] 4767 pub struct _GtkFontSelectionDialogPrivate(c_void); 4768 4769 pub type GtkFontSelectionDialogPrivate = *mut _GtkFontSelectionDialogPrivate; 4770 4771 #[repr(C)] 4772 pub struct _GtkFontSelectionPrivate(c_void); 4773 4774 pub type GtkFontSelectionPrivate = *mut _GtkFontSelectionPrivate; 4775 4776 #[repr(C)] 4777 #[derive(Copy, Clone)] 4778 pub struct GtkFrameAccessibleClass { 4779 pub parent_class: GtkContainerAccessibleClass, 4780 } 4781 4782 impl ::std::fmt::Debug for GtkFrameAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4783 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4784 f.debug_struct(&format!("GtkFrameAccessibleClass @ {:?}", self as *const _)) 4785 .field("parent_class", &self.parent_class) 4786 .finish() 4787 } 4788 } 4789 4790 #[repr(C)] 4791 pub struct _GtkFrameAccessiblePrivate(c_void); 4792 4793 pub type GtkFrameAccessiblePrivate = *mut _GtkFrameAccessiblePrivate; 4794 4795 #[repr(C)] 4796 #[derive(Copy, Clone)] 4797 pub struct GtkFrameClass { 4798 pub parent_class: GtkBinClass, 4799 pub compute_child_allocation: Option<unsafe extern "C" fn(*mut GtkFrame, *mut GtkAllocation)>, 4800 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4801 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4802 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4803 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4804 } 4805 4806 impl ::std::fmt::Debug for GtkFrameClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4807 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4808 f.debug_struct(&format!("GtkFrameClass @ {:?}", self as *const _)) 4809 .field("parent_class", &self.parent_class) 4810 .field("compute_child_allocation", &self.compute_child_allocation) 4811 .field("_gtk_reserved1", &self._gtk_reserved1) 4812 .field("_gtk_reserved2", &self._gtk_reserved2) 4813 .field("_gtk_reserved3", &self._gtk_reserved3) 4814 .field("_gtk_reserved4", &self._gtk_reserved4) 4815 .finish() 4816 } 4817 } 4818 4819 #[repr(C)] 4820 pub struct _GtkFramePrivate(c_void); 4821 4822 pub type GtkFramePrivate = *mut _GtkFramePrivate; 4823 4824 #[repr(C)] 4825 #[derive(Copy, Clone)] 4826 pub struct GtkGLAreaClass { 4827 pub parent_class: GtkWidgetClass, 4828 pub render: Option<unsafe extern "C" fn(*mut GtkGLArea, *mut gdk::GdkGLContext) -> gboolean>, 4829 pub resize: Option<unsafe extern "C" fn(*mut GtkGLArea, c_int, c_int)>, 4830 pub create_context: Option<unsafe extern "C" fn(*mut GtkGLArea) -> *mut gdk::GdkGLContext>, 4831 pub _padding: [gpointer; 6], 4832 } 4833 4834 impl ::std::fmt::Debug for GtkGLAreaClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4835 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4836 f.debug_struct(&format!("GtkGLAreaClass @ {:?}", self as *const _)) 4837 .field("render", &self.render) 4838 .field("resize", &self.resize) 4839 .field("create_context", &self.create_context) 4840 .finish() 4841 } 4842 } 4843 4844 #[repr(C)] 4845 pub struct _GtkGestureClass(c_void); 4846 4847 pub type GtkGestureClass = *mut _GtkGestureClass; 4848 4849 #[repr(C)] 4850 pub struct _GtkGestureDragClass(c_void); 4851 4852 pub type GtkGestureDragClass = *mut _GtkGestureDragClass; 4853 4854 #[repr(C)] 4855 pub struct _GtkGestureLongPressClass(c_void); 4856 4857 pub type GtkGestureLongPressClass = *mut _GtkGestureLongPressClass; 4858 4859 #[repr(C)] 4860 pub struct _GtkGestureMultiPressClass(c_void); 4861 4862 pub type GtkGestureMultiPressClass = *mut _GtkGestureMultiPressClass; 4863 4864 #[repr(C)] 4865 pub struct _GtkGesturePanClass(c_void); 4866 4867 pub type GtkGesturePanClass = *mut _GtkGesturePanClass; 4868 4869 #[repr(C)] 4870 pub struct _GtkGestureRotateClass(c_void); 4871 4872 pub type GtkGestureRotateClass = *mut _GtkGestureRotateClass; 4873 4874 #[repr(C)] 4875 pub struct _GtkGestureSingleClass(c_void); 4876 4877 pub type GtkGestureSingleClass = *mut _GtkGestureSingleClass; 4878 4879 #[repr(C)] 4880 pub struct _GtkGestureStylusClass(c_void); 4881 4882 pub type GtkGestureStylusClass = *mut _GtkGestureStylusClass; 4883 4884 #[repr(C)] 4885 pub struct _GtkGestureSwipeClass(c_void); 4886 4887 pub type GtkGestureSwipeClass = *mut _GtkGestureSwipeClass; 4888 4889 #[repr(C)] 4890 pub struct _GtkGestureZoomClass(c_void); 4891 4892 pub type GtkGestureZoomClass = *mut _GtkGestureZoomClass; 4893 4894 #[repr(C)] 4895 pub struct GtkGradient(c_void); 4896 4897 impl ::std::fmt::Debug for GtkGradient { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4898 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4899 f.debug_struct(&format!("GtkGradient @ {:?}", self as *const _)) 4900 .finish() 4901 } 4902 } 4903 4904 #[repr(C)] 4905 #[derive(Copy, Clone)] 4906 pub struct GtkGridClass { 4907 pub parent_class: GtkContainerClass, 4908 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4909 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4910 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4911 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4912 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 4913 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 4914 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 4915 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 4916 } 4917 4918 impl ::std::fmt::Debug for GtkGridClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4919 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4920 f.debug_struct(&format!("GtkGridClass @ {:?}", self as *const _)) 4921 .field("parent_class", &self.parent_class) 4922 .field("_gtk_reserved1", &self._gtk_reserved1) 4923 .field("_gtk_reserved2", &self._gtk_reserved2) 4924 .field("_gtk_reserved3", &self._gtk_reserved3) 4925 .field("_gtk_reserved4", &self._gtk_reserved4) 4926 .field("_gtk_reserved5", &self._gtk_reserved5) 4927 .field("_gtk_reserved6", &self._gtk_reserved6) 4928 .field("_gtk_reserved7", &self._gtk_reserved7) 4929 .field("_gtk_reserved8", &self._gtk_reserved8) 4930 .finish() 4931 } 4932 } 4933 4934 #[repr(C)] 4935 pub struct _GtkGridPrivate(c_void); 4936 4937 pub type GtkGridPrivate = *mut _GtkGridPrivate; 4938 4939 #[repr(C)] 4940 #[derive(Copy, Clone)] 4941 pub struct GtkHBoxClass { 4942 pub parent_class: GtkBoxClass, 4943 } 4944 4945 impl ::std::fmt::Debug for GtkHBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4946 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4947 f.debug_struct(&format!("GtkHBoxClass @ {:?}", self as *const _)) 4948 .field("parent_class", &self.parent_class) 4949 .finish() 4950 } 4951 } 4952 4953 #[repr(C)] 4954 #[derive(Copy, Clone)] 4955 pub struct GtkHButtonBoxClass { 4956 pub parent_class: GtkButtonBoxClass, 4957 } 4958 4959 impl ::std::fmt::Debug for GtkHButtonBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4960 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4961 f.debug_struct(&format!("GtkHButtonBoxClass @ {:?}", self as *const _)) 4962 .field("parent_class", &self.parent_class) 4963 .finish() 4964 } 4965 } 4966 4967 #[repr(C)] 4968 #[derive(Copy, Clone)] 4969 pub struct GtkHPanedClass { 4970 pub parent_class: GtkPanedClass, 4971 } 4972 4973 impl ::std::fmt::Debug for GtkHPanedClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4974 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4975 f.debug_struct(&format!("GtkHPanedClass @ {:?}", self as *const _)) 4976 .field("parent_class", &self.parent_class) 4977 .finish() 4978 } 4979 } 4980 4981 #[repr(C)] 4982 #[derive(Copy, Clone)] 4983 pub struct GtkHSVClass { 4984 pub parent_class: GtkWidgetClass, 4985 pub changed: Option<unsafe extern "C" fn(*mut GtkHSV)>, 4986 pub move_: Option<unsafe extern "C" fn(*mut GtkHSV, GtkDirectionType)>, 4987 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 4988 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 4989 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 4990 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 4991 } 4992 4993 impl ::std::fmt::Debug for GtkHSVClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4994 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4995 f.debug_struct(&format!("GtkHSVClass @ {:?}", self as *const _)) 4996 .field("parent_class", &self.parent_class) 4997 .field("changed", &self.changed) 4998 .field("move_", &self.move_) 4999 .field("_gtk_reserved1", &self._gtk_reserved1) 5000 .field("_gtk_reserved2", &self._gtk_reserved2) 5001 .field("_gtk_reserved3", &self._gtk_reserved3) 5002 .field("_gtk_reserved4", &self._gtk_reserved4) 5003 .finish() 5004 } 5005 } 5006 5007 #[repr(C)] 5008 pub struct _GtkHSVPrivate(c_void); 5009 5010 pub type GtkHSVPrivate = *mut _GtkHSVPrivate; 5011 5012 #[repr(C)] 5013 #[derive(Copy, Clone)] 5014 pub struct GtkHScaleClass { 5015 pub parent_class: GtkScaleClass, 5016 } 5017 5018 impl ::std::fmt::Debug for GtkHScaleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5019 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5020 f.debug_struct(&format!("GtkHScaleClass @ {:?}", self as *const _)) 5021 .field("parent_class", &self.parent_class) 5022 .finish() 5023 } 5024 } 5025 5026 #[repr(C)] 5027 #[derive(Copy, Clone)] 5028 pub struct GtkHScrollbarClass { 5029 pub parent_class: GtkScrollbarClass, 5030 } 5031 5032 impl ::std::fmt::Debug for GtkHScrollbarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5033 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5034 f.debug_struct(&format!("GtkHScrollbarClass @ {:?}", self as *const _)) 5035 .field("parent_class", &self.parent_class) 5036 .finish() 5037 } 5038 } 5039 5040 #[repr(C)] 5041 #[derive(Copy, Clone)] 5042 pub struct GtkHSeparatorClass { 5043 pub parent_class: GtkSeparatorClass, 5044 } 5045 5046 impl ::std::fmt::Debug for GtkHSeparatorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5047 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5048 f.debug_struct(&format!("GtkHSeparatorClass @ {:?}", self as *const _)) 5049 .field("parent_class", &self.parent_class) 5050 .finish() 5051 } 5052 } 5053 5054 #[repr(C)] 5055 #[derive(Copy, Clone)] 5056 pub struct GtkHandleBoxClass { 5057 pub parent_class: GtkBinClass, 5058 pub child_attached: Option<unsafe extern "C" fn(*mut GtkHandleBox, *mut GtkWidget)>, 5059 pub child_detached: Option<unsafe extern "C" fn(*mut GtkHandleBox, *mut GtkWidget)>, 5060 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5061 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5062 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5063 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5064 } 5065 5066 impl ::std::fmt::Debug for GtkHandleBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5067 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5068 f.debug_struct(&format!("GtkHandleBoxClass @ {:?}", self as *const _)) 5069 .field("parent_class", &self.parent_class) 5070 .field("child_attached", &self.child_attached) 5071 .field("child_detached", &self.child_detached) 5072 .field("_gtk_reserved1", &self._gtk_reserved1) 5073 .field("_gtk_reserved2", &self._gtk_reserved2) 5074 .field("_gtk_reserved3", &self._gtk_reserved3) 5075 .field("_gtk_reserved4", &self._gtk_reserved4) 5076 .finish() 5077 } 5078 } 5079 5080 #[repr(C)] 5081 pub struct _GtkHandleBoxPrivate(c_void); 5082 5083 pub type GtkHandleBoxPrivate = *mut _GtkHandleBoxPrivate; 5084 5085 #[repr(C)] 5086 #[derive(Copy, Clone)] 5087 pub struct GtkHeaderBarAccessibleClass { 5088 pub parent_class: GtkContainerAccessibleClass, 5089 } 5090 5091 impl ::std::fmt::Debug for GtkHeaderBarAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5092 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5093 f.debug_struct(&format!( 5094 "GtkHeaderBarAccessibleClass @ {:?}", 5095 self as *const _ 5096 )) 5097 .field("parent_class", &self.parent_class) 5098 .finish() 5099 } 5100 } 5101 5102 #[repr(C)] 5103 pub struct _GtkHeaderBarAccessiblePrivate(c_void); 5104 5105 pub type GtkHeaderBarAccessiblePrivate = *mut _GtkHeaderBarAccessiblePrivate; 5106 5107 #[repr(C)] 5108 #[derive(Copy, Clone)] 5109 pub struct GtkHeaderBarClass { 5110 pub parent_class: GtkContainerClass, 5111 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5112 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5113 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5114 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5115 } 5116 5117 impl ::std::fmt::Debug for GtkHeaderBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5118 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5119 f.debug_struct(&format!("GtkHeaderBarClass @ {:?}", self as *const _)) 5120 .field("parent_class", &self.parent_class) 5121 .field("_gtk_reserved1", &self._gtk_reserved1) 5122 .field("_gtk_reserved2", &self._gtk_reserved2) 5123 .field("_gtk_reserved3", &self._gtk_reserved3) 5124 .field("_gtk_reserved4", &self._gtk_reserved4) 5125 .finish() 5126 } 5127 } 5128 5129 #[repr(C)] 5130 pub struct _GtkHeaderBarPrivate(c_void); 5131 5132 pub type GtkHeaderBarPrivate = *mut _GtkHeaderBarPrivate; 5133 5134 #[repr(C)] 5135 #[derive(Copy, Clone)] 5136 pub struct GtkIMContextClass { 5137 pub parent_class: gobject::GObjectClass, 5138 pub preedit_start: Option<unsafe extern "C" fn(*mut GtkIMContext)>, 5139 pub preedit_end: Option<unsafe extern "C" fn(*mut GtkIMContext)>, 5140 pub preedit_changed: Option<unsafe extern "C" fn(*mut GtkIMContext)>, 5141 pub commit: Option<unsafe extern "C" fn(*mut GtkIMContext, *const c_char)>, 5142 pub retrieve_surrounding: Option<unsafe extern "C" fn(*mut GtkIMContext) -> gboolean>, 5143 pub delete_surrounding: 5144 Option<unsafe extern "C" fn(*mut GtkIMContext, c_int, c_int) -> gboolean>, 5145 pub set_client_window: Option<unsafe extern "C" fn(*mut GtkIMContext, *mut gdk::GdkWindow)>, 5146 pub get_preedit_string: Option< 5147 unsafe extern "C" fn( 5148 *mut GtkIMContext, 5149 *mut *mut c_char, 5150 *mut *mut pango::PangoAttrList, 5151 *mut c_int, 5152 ), 5153 >, 5154 pub filter_keypress: 5155 Option<unsafe extern "C" fn(*mut GtkIMContext, *mut gdk::GdkEventKey) -> gboolean>, 5156 pub focus_in: Option<unsafe extern "C" fn(*mut GtkIMContext)>, 5157 pub focus_out: Option<unsafe extern "C" fn(*mut GtkIMContext)>, 5158 pub reset: Option<unsafe extern "C" fn(*mut GtkIMContext)>, 5159 pub set_cursor_location: 5160 Option<unsafe extern "C" fn(*mut GtkIMContext, *mut gdk::GdkRectangle)>, 5161 pub set_use_preedit: Option<unsafe extern "C" fn(*mut GtkIMContext, gboolean)>, 5162 pub set_surrounding: 5163 Option<unsafe extern "C" fn(*mut GtkIMContext, *const c_char, c_int, c_int)>, 5164 pub get_surrounding: 5165 Option<unsafe extern "C" fn(*mut GtkIMContext, *mut *mut c_char, *mut c_int) -> gboolean>, 5166 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5167 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5168 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5169 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5170 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 5171 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 5172 } 5173 5174 impl ::std::fmt::Debug for GtkIMContextClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5175 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5176 f.debug_struct(&format!("GtkIMContextClass @ {:?}", self as *const _)) 5177 .field("preedit_start", &self.preedit_start) 5178 .field("preedit_end", &self.preedit_end) 5179 .field("preedit_changed", &self.preedit_changed) 5180 .field("commit", &self.commit) 5181 .field("retrieve_surrounding", &self.retrieve_surrounding) 5182 .field("delete_surrounding", &self.delete_surrounding) 5183 .field("set_client_window", &self.set_client_window) 5184 .field("get_preedit_string", &self.get_preedit_string) 5185 .field("filter_keypress", &self.filter_keypress) 5186 .field("focus_in", &self.focus_in) 5187 .field("focus_out", &self.focus_out) 5188 .field("reset", &self.reset) 5189 .field("set_cursor_location", &self.set_cursor_location) 5190 .field("set_use_preedit", &self.set_use_preedit) 5191 .field("set_surrounding", &self.set_surrounding) 5192 .field("get_surrounding", &self.get_surrounding) 5193 .field("_gtk_reserved1", &self._gtk_reserved1) 5194 .field("_gtk_reserved2", &self._gtk_reserved2) 5195 .field("_gtk_reserved3", &self._gtk_reserved3) 5196 .field("_gtk_reserved4", &self._gtk_reserved4) 5197 .field("_gtk_reserved5", &self._gtk_reserved5) 5198 .field("_gtk_reserved6", &self._gtk_reserved6) 5199 .finish() 5200 } 5201 } 5202 5203 #[repr(C)] 5204 #[derive(Copy, Clone)] 5205 pub struct GtkIMContextInfo { 5206 pub context_id: *const c_char, 5207 pub context_name: *const c_char, 5208 pub domain: *const c_char, 5209 pub domain_dirname: *const c_char, 5210 pub default_locales: *const c_char, 5211 } 5212 5213 impl ::std::fmt::Debug for GtkIMContextInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5214 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5215 f.debug_struct(&format!("GtkIMContextInfo @ {:?}", self as *const _)) 5216 .field("context_id", &self.context_id) 5217 .field("context_name", &self.context_name) 5218 .field("domain", &self.domain) 5219 .field("domain_dirname", &self.domain_dirname) 5220 .field("default_locales", &self.default_locales) 5221 .finish() 5222 } 5223 } 5224 5225 #[repr(C)] 5226 #[derive(Copy, Clone)] 5227 pub struct GtkIMContextSimpleClass { 5228 pub parent_class: GtkIMContextClass, 5229 } 5230 5231 impl ::std::fmt::Debug for GtkIMContextSimpleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5232 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5233 f.debug_struct(&format!("GtkIMContextSimpleClass @ {:?}", self as *const _)) 5234 .field("parent_class", &self.parent_class) 5235 .finish() 5236 } 5237 } 5238 5239 #[repr(C)] 5240 pub struct _GtkIMContextSimplePrivate(c_void); 5241 5242 pub type GtkIMContextSimplePrivate = *mut _GtkIMContextSimplePrivate; 5243 5244 #[repr(C)] 5245 #[derive(Copy, Clone)] 5246 pub struct GtkIMMulticontextClass { 5247 pub parent_class: GtkIMContextClass, 5248 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5249 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5250 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5251 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5252 } 5253 5254 impl ::std::fmt::Debug for GtkIMMulticontextClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5255 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5256 f.debug_struct(&format!("GtkIMMulticontextClass @ {:?}", self as *const _)) 5257 .field("parent_class", &self.parent_class) 5258 .field("_gtk_reserved1", &self._gtk_reserved1) 5259 .field("_gtk_reserved2", &self._gtk_reserved2) 5260 .field("_gtk_reserved3", &self._gtk_reserved3) 5261 .field("_gtk_reserved4", &self._gtk_reserved4) 5262 .finish() 5263 } 5264 } 5265 5266 #[repr(C)] 5267 pub struct _GtkIMMulticontextPrivate(c_void); 5268 5269 pub type GtkIMMulticontextPrivate = *mut _GtkIMMulticontextPrivate; 5270 5271 #[repr(C)] 5272 #[derive(Copy, Clone)] 5273 pub struct GtkIconFactoryClass { 5274 pub parent_class: gobject::GObjectClass, 5275 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5276 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5277 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5278 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5279 } 5280 5281 impl ::std::fmt::Debug for GtkIconFactoryClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5282 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5283 f.debug_struct(&format!("GtkIconFactoryClass @ {:?}", self as *const _)) 5284 .field("parent_class", &self.parent_class) 5285 .field("_gtk_reserved1", &self._gtk_reserved1) 5286 .field("_gtk_reserved2", &self._gtk_reserved2) 5287 .field("_gtk_reserved3", &self._gtk_reserved3) 5288 .field("_gtk_reserved4", &self._gtk_reserved4) 5289 .finish() 5290 } 5291 } 5292 5293 #[repr(C)] 5294 pub struct _GtkIconFactoryPrivate(c_void); 5295 5296 pub type GtkIconFactoryPrivate = *mut _GtkIconFactoryPrivate; 5297 5298 #[repr(C)] 5299 pub struct _GtkIconInfoClass(c_void); 5300 5301 pub type GtkIconInfoClass = *mut _GtkIconInfoClass; 5302 5303 #[repr(C)] 5304 pub struct GtkIconSet(c_void); 5305 5306 impl ::std::fmt::Debug for GtkIconSet { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5307 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5308 f.debug_struct(&format!("GtkIconSet @ {:?}", self as *const _)) 5309 .finish() 5310 } 5311 } 5312 5313 #[repr(C)] 5314 pub struct GtkIconSource(c_void); 5315 5316 impl ::std::fmt::Debug for GtkIconSource { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5317 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5318 f.debug_struct(&format!("GtkIconSource @ {:?}", self as *const _)) 5319 .finish() 5320 } 5321 } 5322 5323 #[repr(C)] 5324 #[derive(Copy, Clone)] 5325 pub struct GtkIconThemeClass { 5326 pub parent_class: gobject::GObjectClass, 5327 pub changed: Option<unsafe extern "C" fn(*mut GtkIconTheme)>, 5328 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5329 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5330 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5331 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5332 } 5333 5334 impl ::std::fmt::Debug for GtkIconThemeClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5335 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5336 f.debug_struct(&format!("GtkIconThemeClass @ {:?}", self as *const _)) 5337 .field("parent_class", &self.parent_class) 5338 .field("changed", &self.changed) 5339 .field("_gtk_reserved1", &self._gtk_reserved1) 5340 .field("_gtk_reserved2", &self._gtk_reserved2) 5341 .field("_gtk_reserved3", &self._gtk_reserved3) 5342 .field("_gtk_reserved4", &self._gtk_reserved4) 5343 .finish() 5344 } 5345 } 5346 5347 #[repr(C)] 5348 pub struct _GtkIconThemePrivate(c_void); 5349 5350 pub type GtkIconThemePrivate = *mut _GtkIconThemePrivate; 5351 5352 #[repr(C)] 5353 #[derive(Copy, Clone)] 5354 pub struct GtkIconViewAccessibleClass { 5355 pub parent_class: GtkContainerAccessibleClass, 5356 } 5357 5358 impl ::std::fmt::Debug for GtkIconViewAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5359 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5360 f.debug_struct(&format!( 5361 "GtkIconViewAccessibleClass @ {:?}", 5362 self as *const _ 5363 )) 5364 .field("parent_class", &self.parent_class) 5365 .finish() 5366 } 5367 } 5368 5369 #[repr(C)] 5370 pub struct _GtkIconViewAccessiblePrivate(c_void); 5371 5372 pub type GtkIconViewAccessiblePrivate = *mut _GtkIconViewAccessiblePrivate; 5373 5374 #[repr(C)] 5375 #[derive(Copy, Clone)] 5376 pub struct GtkIconViewClass { 5377 pub parent_class: GtkContainerClass, 5378 pub item_activated: Option<unsafe extern "C" fn(*mut GtkIconView, *mut GtkTreePath)>, 5379 pub selection_changed: Option<unsafe extern "C" fn(*mut GtkIconView)>, 5380 pub select_all: Option<unsafe extern "C" fn(*mut GtkIconView)>, 5381 pub unselect_all: Option<unsafe extern "C" fn(*mut GtkIconView)>, 5382 pub select_cursor_item: Option<unsafe extern "C" fn(*mut GtkIconView)>, 5383 pub toggle_cursor_item: Option<unsafe extern "C" fn(*mut GtkIconView)>, 5384 pub move_cursor: 5385 Option<unsafe extern "C" fn(*mut GtkIconView, GtkMovementStep, c_int) -> gboolean>, 5386 pub activate_cursor_item: Option<unsafe extern "C" fn(*mut GtkIconView) -> gboolean>, 5387 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5388 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5389 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5390 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5391 } 5392 5393 impl ::std::fmt::Debug for GtkIconViewClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5394 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5395 f.debug_struct(&format!("GtkIconViewClass @ {:?}", self as *const _)) 5396 .field("parent_class", &self.parent_class) 5397 .field("item_activated", &self.item_activated) 5398 .field("selection_changed", &self.selection_changed) 5399 .field("select_all", &self.select_all) 5400 .field("unselect_all", &self.unselect_all) 5401 .field("select_cursor_item", &self.select_cursor_item) 5402 .field("toggle_cursor_item", &self.toggle_cursor_item) 5403 .field("move_cursor", &self.move_cursor) 5404 .field("activate_cursor_item", &self.activate_cursor_item) 5405 .field("_gtk_reserved1", &self._gtk_reserved1) 5406 .field("_gtk_reserved2", &self._gtk_reserved2) 5407 .field("_gtk_reserved3", &self._gtk_reserved3) 5408 .field("_gtk_reserved4", &self._gtk_reserved4) 5409 .finish() 5410 } 5411 } 5412 5413 #[repr(C)] 5414 pub struct _GtkIconViewPrivate(c_void); 5415 5416 pub type GtkIconViewPrivate = *mut _GtkIconViewPrivate; 5417 5418 #[repr(C)] 5419 #[derive(Copy, Clone)] 5420 pub struct GtkImageAccessibleClass { 5421 pub parent_class: GtkWidgetAccessibleClass, 5422 } 5423 5424 impl ::std::fmt::Debug for GtkImageAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5425 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5426 f.debug_struct(&format!("GtkImageAccessibleClass @ {:?}", self as *const _)) 5427 .field("parent_class", &self.parent_class) 5428 .finish() 5429 } 5430 } 5431 5432 #[repr(C)] 5433 pub struct _GtkImageAccessiblePrivate(c_void); 5434 5435 pub type GtkImageAccessiblePrivate = *mut _GtkImageAccessiblePrivate; 5436 5437 #[repr(C)] 5438 #[derive(Copy, Clone)] 5439 pub struct GtkImageCellAccessibleClass { 5440 pub parent_class: GtkRendererCellAccessibleClass, 5441 } 5442 5443 impl ::std::fmt::Debug for GtkImageCellAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5444 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5445 f.debug_struct(&format!( 5446 "GtkImageCellAccessibleClass @ {:?}", 5447 self as *const _ 5448 )) 5449 .field("parent_class", &self.parent_class) 5450 .finish() 5451 } 5452 } 5453 5454 #[repr(C)] 5455 pub struct _GtkImageCellAccessiblePrivate(c_void); 5456 5457 pub type GtkImageCellAccessiblePrivate = *mut _GtkImageCellAccessiblePrivate; 5458 5459 #[repr(C)] 5460 #[derive(Copy, Clone)] 5461 pub struct GtkImageClass { 5462 pub parent_class: GtkMiscClass, 5463 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5464 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5465 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5466 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5467 } 5468 5469 impl ::std::fmt::Debug for GtkImageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5470 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5471 f.debug_struct(&format!("GtkImageClass @ {:?}", self as *const _)) 5472 .field("parent_class", &self.parent_class) 5473 .field("_gtk_reserved1", &self._gtk_reserved1) 5474 .field("_gtk_reserved2", &self._gtk_reserved2) 5475 .field("_gtk_reserved3", &self._gtk_reserved3) 5476 .field("_gtk_reserved4", &self._gtk_reserved4) 5477 .finish() 5478 } 5479 } 5480 5481 #[repr(C)] 5482 #[derive(Copy, Clone)] 5483 pub struct GtkImageMenuItemClass { 5484 pub parent_class: GtkMenuItemClass, 5485 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5486 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5487 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5488 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5489 } 5490 5491 impl ::std::fmt::Debug for GtkImageMenuItemClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5492 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5493 f.debug_struct(&format!("GtkImageMenuItemClass @ {:?}", self as *const _)) 5494 .field("parent_class", &self.parent_class) 5495 .field("_gtk_reserved1", &self._gtk_reserved1) 5496 .field("_gtk_reserved2", &self._gtk_reserved2) 5497 .field("_gtk_reserved3", &self._gtk_reserved3) 5498 .field("_gtk_reserved4", &self._gtk_reserved4) 5499 .finish() 5500 } 5501 } 5502 5503 #[repr(C)] 5504 pub struct _GtkImageMenuItemPrivate(c_void); 5505 5506 pub type GtkImageMenuItemPrivate = *mut _GtkImageMenuItemPrivate; 5507 5508 #[repr(C)] 5509 pub struct _GtkImagePrivate(c_void); 5510 5511 pub type GtkImagePrivate = *mut _GtkImagePrivate; 5512 5513 #[repr(C)] 5514 #[derive(Copy, Clone)] 5515 pub struct GtkInfoBarClass { 5516 pub parent_class: GtkBoxClass, 5517 pub response: Option<unsafe extern "C" fn(*mut GtkInfoBar, GtkResponseType)>, 5518 pub close: Option<unsafe extern "C" fn(*mut GtkInfoBar)>, 5519 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5520 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5521 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5522 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5523 } 5524 5525 impl ::std::fmt::Debug for GtkInfoBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5526 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5527 f.debug_struct(&format!("GtkInfoBarClass @ {:?}", self as *const _)) 5528 .field("parent_class", &self.parent_class) 5529 .field("response", &self.response) 5530 .field("close", &self.close) 5531 .field("_gtk_reserved1", &self._gtk_reserved1) 5532 .field("_gtk_reserved2", &self._gtk_reserved2) 5533 .field("_gtk_reserved3", &self._gtk_reserved3) 5534 .field("_gtk_reserved4", &self._gtk_reserved4) 5535 .finish() 5536 } 5537 } 5538 5539 #[repr(C)] 5540 pub struct _GtkInfoBarPrivate(c_void); 5541 5542 pub type GtkInfoBarPrivate = *mut _GtkInfoBarPrivate; 5543 5544 #[repr(C)] 5545 #[derive(Copy, Clone)] 5546 pub struct GtkInvisibleClass { 5547 pub parent_class: GtkWidgetClass, 5548 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5549 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5550 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5551 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5552 } 5553 5554 impl ::std::fmt::Debug for GtkInvisibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5555 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5556 f.debug_struct(&format!("GtkInvisibleClass @ {:?}", self as *const _)) 5557 .field("parent_class", &self.parent_class) 5558 .field("_gtk_reserved1", &self._gtk_reserved1) 5559 .field("_gtk_reserved2", &self._gtk_reserved2) 5560 .field("_gtk_reserved3", &self._gtk_reserved3) 5561 .field("_gtk_reserved4", &self._gtk_reserved4) 5562 .finish() 5563 } 5564 } 5565 5566 #[repr(C)] 5567 pub struct _GtkInvisiblePrivate(c_void); 5568 5569 pub type GtkInvisiblePrivate = *mut _GtkInvisiblePrivate; 5570 5571 #[repr(C)] 5572 #[derive(Copy, Clone)] 5573 pub struct GtkLabelAccessibleClass { 5574 pub parent_class: GtkWidgetAccessibleClass, 5575 } 5576 5577 impl ::std::fmt::Debug for GtkLabelAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5578 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5579 f.debug_struct(&format!("GtkLabelAccessibleClass @ {:?}", self as *const _)) 5580 .field("parent_class", &self.parent_class) 5581 .finish() 5582 } 5583 } 5584 5585 #[repr(C)] 5586 pub struct _GtkLabelAccessiblePrivate(c_void); 5587 5588 pub type GtkLabelAccessiblePrivate = *mut _GtkLabelAccessiblePrivate; 5589 5590 #[repr(C)] 5591 #[derive(Copy, Clone)] 5592 pub struct GtkLabelClass { 5593 pub parent_class: GtkMiscClass, 5594 pub move_cursor: Option<unsafe extern "C" fn(*mut GtkLabel, GtkMovementStep, c_int, gboolean)>, 5595 pub copy_clipboard: Option<unsafe extern "C" fn(*mut GtkLabel)>, 5596 pub populate_popup: Option<unsafe extern "C" fn(*mut GtkLabel, *mut GtkMenu)>, 5597 pub activate_link: Option<unsafe extern "C" fn(*mut GtkLabel, *const c_char) -> gboolean>, 5598 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5599 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5600 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5601 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5602 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 5603 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 5604 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 5605 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 5606 } 5607 5608 impl ::std::fmt::Debug for GtkLabelClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5609 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5610 f.debug_struct(&format!("GtkLabelClass @ {:?}", self as *const _)) 5611 .field("parent_class", &self.parent_class) 5612 .field("move_cursor", &self.move_cursor) 5613 .field("copy_clipboard", &self.copy_clipboard) 5614 .field("populate_popup", &self.populate_popup) 5615 .field("activate_link", &self.activate_link) 5616 .field("_gtk_reserved1", &self._gtk_reserved1) 5617 .field("_gtk_reserved2", &self._gtk_reserved2) 5618 .field("_gtk_reserved3", &self._gtk_reserved3) 5619 .field("_gtk_reserved4", &self._gtk_reserved4) 5620 .field("_gtk_reserved5", &self._gtk_reserved5) 5621 .field("_gtk_reserved6", &self._gtk_reserved6) 5622 .field("_gtk_reserved7", &self._gtk_reserved7) 5623 .field("_gtk_reserved8", &self._gtk_reserved8) 5624 .finish() 5625 } 5626 } 5627 5628 #[repr(C)] 5629 pub struct _GtkLabelPrivate(c_void); 5630 5631 pub type GtkLabelPrivate = *mut _GtkLabelPrivate; 5632 5633 #[repr(C)] 5634 pub struct _GtkLabelSelectionInfo(c_void); 5635 5636 pub type GtkLabelSelectionInfo = *mut _GtkLabelSelectionInfo; 5637 5638 #[repr(C)] 5639 #[derive(Copy, Clone)] 5640 pub struct GtkLayoutClass { 5641 pub parent_class: GtkContainerClass, 5642 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5643 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5644 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5645 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5646 } 5647 5648 impl ::std::fmt::Debug for GtkLayoutClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5649 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5650 f.debug_struct(&format!("GtkLayoutClass @ {:?}", self as *const _)) 5651 .field("parent_class", &self.parent_class) 5652 .field("_gtk_reserved1", &self._gtk_reserved1) 5653 .field("_gtk_reserved2", &self._gtk_reserved2) 5654 .field("_gtk_reserved3", &self._gtk_reserved3) 5655 .field("_gtk_reserved4", &self._gtk_reserved4) 5656 .finish() 5657 } 5658 } 5659 5660 #[repr(C)] 5661 pub struct _GtkLayoutPrivate(c_void); 5662 5663 pub type GtkLayoutPrivate = *mut _GtkLayoutPrivate; 5664 5665 #[repr(C)] 5666 #[derive(Copy, Clone)] 5667 pub struct GtkLevelBarAccessibleClass { 5668 pub parent_class: GtkWidgetAccessibleClass, 5669 } 5670 5671 impl ::std::fmt::Debug for GtkLevelBarAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5672 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5673 f.debug_struct(&format!( 5674 "GtkLevelBarAccessibleClass @ {:?}", 5675 self as *const _ 5676 )) 5677 .field("parent_class", &self.parent_class) 5678 .finish() 5679 } 5680 } 5681 5682 #[repr(C)] 5683 pub struct _GtkLevelBarAccessiblePrivate(c_void); 5684 5685 pub type GtkLevelBarAccessiblePrivate = *mut _GtkLevelBarAccessiblePrivate; 5686 5687 #[repr(C)] 5688 #[derive(Copy, Clone)] 5689 pub struct GtkLevelBarClass { 5690 pub parent_class: GtkWidgetClass, 5691 pub offset_changed: Option<unsafe extern "C" fn(*mut GtkLevelBar, *const c_char)>, 5692 pub padding: [gpointer; 16], 5693 } 5694 5695 impl ::std::fmt::Debug for GtkLevelBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5696 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5697 f.debug_struct(&format!("GtkLevelBarClass @ {:?}", self as *const _)) 5698 .field("offset_changed", &self.offset_changed) 5699 .finish() 5700 } 5701 } 5702 5703 #[repr(C)] 5704 pub struct _GtkLevelBarPrivate(c_void); 5705 5706 pub type GtkLevelBarPrivate = *mut _GtkLevelBarPrivate; 5707 5708 #[repr(C)] 5709 #[derive(Copy, Clone)] 5710 pub struct GtkLinkButtonAccessibleClass { 5711 pub parent_class: GtkButtonAccessibleClass, 5712 } 5713 5714 impl ::std::fmt::Debug for GtkLinkButtonAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5715 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5716 f.debug_struct(&format!( 5717 "GtkLinkButtonAccessibleClass @ {:?}", 5718 self as *const _ 5719 )) 5720 .field("parent_class", &self.parent_class) 5721 .finish() 5722 } 5723 } 5724 5725 #[repr(C)] 5726 pub struct _GtkLinkButtonAccessiblePrivate(c_void); 5727 5728 pub type GtkLinkButtonAccessiblePrivate = *mut _GtkLinkButtonAccessiblePrivate; 5729 5730 #[repr(C)] 5731 #[derive(Copy, Clone)] 5732 pub struct GtkLinkButtonClass { 5733 pub parent_class: GtkButtonClass, 5734 pub activate_link: Option<unsafe extern "C" fn(*mut GtkLinkButton) -> gboolean>, 5735 pub _gtk_padding1: Option<unsafe extern "C" fn()>, 5736 pub _gtk_padding2: Option<unsafe extern "C" fn()>, 5737 pub _gtk_padding3: Option<unsafe extern "C" fn()>, 5738 pub _gtk_padding4: Option<unsafe extern "C" fn()>, 5739 } 5740 5741 impl ::std::fmt::Debug for GtkLinkButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5742 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5743 f.debug_struct(&format!("GtkLinkButtonClass @ {:?}", self as *const _)) 5744 .field("activate_link", &self.activate_link) 5745 .field("_gtk_padding1", &self._gtk_padding1) 5746 .field("_gtk_padding2", &self._gtk_padding2) 5747 .field("_gtk_padding3", &self._gtk_padding3) 5748 .field("_gtk_padding4", &self._gtk_padding4) 5749 .finish() 5750 } 5751 } 5752 5753 #[repr(C)] 5754 pub struct _GtkLinkButtonPrivate(c_void); 5755 5756 pub type GtkLinkButtonPrivate = *mut _GtkLinkButtonPrivate; 5757 5758 #[repr(C)] 5759 #[derive(Copy, Clone)] 5760 pub struct GtkListBoxAccessibleClass { 5761 pub parent_class: GtkContainerAccessibleClass, 5762 } 5763 5764 impl ::std::fmt::Debug for GtkListBoxAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5765 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5766 f.debug_struct(&format!( 5767 "GtkListBoxAccessibleClass @ {:?}", 5768 self as *const _ 5769 )) 5770 .field("parent_class", &self.parent_class) 5771 .finish() 5772 } 5773 } 5774 5775 #[repr(C)] 5776 pub struct _GtkListBoxAccessiblePrivate(c_void); 5777 5778 pub type GtkListBoxAccessiblePrivate = *mut _GtkListBoxAccessiblePrivate; 5779 5780 #[repr(C)] 5781 #[derive(Copy, Clone)] 5782 pub struct GtkListBoxClass { 5783 pub parent_class: GtkContainerClass, 5784 pub row_selected: Option<unsafe extern "C" fn(*mut GtkListBox, *mut GtkListBoxRow)>, 5785 pub row_activated: Option<unsafe extern "C" fn(*mut GtkListBox, *mut GtkListBoxRow)>, 5786 pub activate_cursor_row: Option<unsafe extern "C" fn(*mut GtkListBox)>, 5787 pub toggle_cursor_row: Option<unsafe extern "C" fn(*mut GtkListBox)>, 5788 pub move_cursor: Option<unsafe extern "C" fn(*mut GtkListBox, GtkMovementStep, c_int)>, 5789 pub selected_rows_changed: Option<unsafe extern "C" fn(*mut GtkListBox)>, 5790 pub select_all: Option<unsafe extern "C" fn(*mut GtkListBox)>, 5791 pub unselect_all: Option<unsafe extern "C" fn(*mut GtkListBox)>, 5792 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5793 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5794 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5795 } 5796 5797 impl ::std::fmt::Debug for GtkListBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5798 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5799 f.debug_struct(&format!("GtkListBoxClass @ {:?}", self as *const _)) 5800 .field("parent_class", &self.parent_class) 5801 .field("row_selected", &self.row_selected) 5802 .field("row_activated", &self.row_activated) 5803 .field("activate_cursor_row", &self.activate_cursor_row) 5804 .field("toggle_cursor_row", &self.toggle_cursor_row) 5805 .field("move_cursor", &self.move_cursor) 5806 .field("selected_rows_changed", &self.selected_rows_changed) 5807 .field("select_all", &self.select_all) 5808 .field("unselect_all", &self.unselect_all) 5809 .field("_gtk_reserved1", &self._gtk_reserved1) 5810 .field("_gtk_reserved2", &self._gtk_reserved2) 5811 .field("_gtk_reserved3", &self._gtk_reserved3) 5812 .finish() 5813 } 5814 } 5815 5816 #[repr(C)] 5817 #[derive(Copy, Clone)] 5818 pub struct GtkListBoxRowAccessibleClass { 5819 pub parent_class: GtkContainerAccessibleClass, 5820 } 5821 5822 impl ::std::fmt::Debug for GtkListBoxRowAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5823 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5824 f.debug_struct(&format!( 5825 "GtkListBoxRowAccessibleClass @ {:?}", 5826 self as *const _ 5827 )) 5828 .field("parent_class", &self.parent_class) 5829 .finish() 5830 } 5831 } 5832 5833 #[repr(C)] 5834 #[derive(Copy, Clone)] 5835 pub struct GtkListBoxRowClass { 5836 pub parent_class: GtkBinClass, 5837 pub activate: Option<unsafe extern "C" fn(*mut GtkListBoxRow)>, 5838 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5839 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5840 } 5841 5842 impl ::std::fmt::Debug for GtkListBoxRowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5843 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5844 f.debug_struct(&format!("GtkListBoxRowClass @ {:?}", self as *const _)) 5845 .field("parent_class", &self.parent_class) 5846 .field("activate", &self.activate) 5847 .field("_gtk_reserved1", &self._gtk_reserved1) 5848 .field("_gtk_reserved2", &self._gtk_reserved2) 5849 .finish() 5850 } 5851 } 5852 5853 #[repr(C)] 5854 #[derive(Copy, Clone)] 5855 pub struct GtkListStoreClass { 5856 pub parent_class: gobject::GObjectClass, 5857 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5858 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5859 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5860 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5861 } 5862 5863 impl ::std::fmt::Debug for GtkListStoreClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5864 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5865 f.debug_struct(&format!("GtkListStoreClass @ {:?}", self as *const _)) 5866 .field("parent_class", &self.parent_class) 5867 .field("_gtk_reserved1", &self._gtk_reserved1) 5868 .field("_gtk_reserved2", &self._gtk_reserved2) 5869 .field("_gtk_reserved3", &self._gtk_reserved3) 5870 .field("_gtk_reserved4", &self._gtk_reserved4) 5871 .finish() 5872 } 5873 } 5874 5875 #[repr(C)] 5876 pub struct _GtkListStorePrivate(c_void); 5877 5878 pub type GtkListStorePrivate = *mut _GtkListStorePrivate; 5879 5880 #[repr(C)] 5881 #[derive(Copy, Clone)] 5882 pub struct GtkLockButtonAccessibleClass { 5883 pub parent_class: GtkButtonAccessibleClass, 5884 } 5885 5886 impl ::std::fmt::Debug for GtkLockButtonAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5887 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5888 f.debug_struct(&format!( 5889 "GtkLockButtonAccessibleClass @ {:?}", 5890 self as *const _ 5891 )) 5892 .field("parent_class", &self.parent_class) 5893 .finish() 5894 } 5895 } 5896 5897 #[repr(C)] 5898 pub struct _GtkLockButtonAccessiblePrivate(c_void); 5899 5900 pub type GtkLockButtonAccessiblePrivate = *mut _GtkLockButtonAccessiblePrivate; 5901 5902 #[repr(C)] 5903 #[derive(Copy, Clone)] 5904 pub struct GtkLockButtonClass { 5905 pub parent_class: GtkButtonClass, 5906 pub reserved0: Option<unsafe extern "C" fn()>, 5907 pub reserved1: Option<unsafe extern "C" fn()>, 5908 pub reserved2: Option<unsafe extern "C" fn()>, 5909 pub reserved3: Option<unsafe extern "C" fn()>, 5910 pub reserved4: Option<unsafe extern "C" fn()>, 5911 pub reserved5: Option<unsafe extern "C" fn()>, 5912 pub reserved6: Option<unsafe extern "C" fn()>, 5913 pub reserved7: Option<unsafe extern "C" fn()>, 5914 } 5915 5916 impl ::std::fmt::Debug for GtkLockButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5917 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5918 f.debug_struct(&format!("GtkLockButtonClass @ {:?}", self as *const _)) 5919 .field("parent_class", &self.parent_class) 5920 .field("reserved0", &self.reserved0) 5921 .field("reserved1", &self.reserved1) 5922 .field("reserved2", &self.reserved2) 5923 .field("reserved3", &self.reserved3) 5924 .field("reserved4", &self.reserved4) 5925 .field("reserved5", &self.reserved5) 5926 .field("reserved6", &self.reserved6) 5927 .field("reserved7", &self.reserved7) 5928 .finish() 5929 } 5930 } 5931 5932 #[repr(C)] 5933 pub struct _GtkLockButtonPrivate(c_void); 5934 5935 pub type GtkLockButtonPrivate = *mut _GtkLockButtonPrivate; 5936 5937 #[repr(C)] 5938 #[derive(Copy, Clone)] 5939 pub struct GtkMenuAccessibleClass { 5940 pub parent_class: GtkMenuShellAccessibleClass, 5941 } 5942 5943 impl ::std::fmt::Debug for GtkMenuAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5944 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5945 f.debug_struct(&format!("GtkMenuAccessibleClass @ {:?}", self as *const _)) 5946 .field("parent_class", &self.parent_class) 5947 .finish() 5948 } 5949 } 5950 5951 #[repr(C)] 5952 pub struct _GtkMenuAccessiblePrivate(c_void); 5953 5954 pub type GtkMenuAccessiblePrivate = *mut _GtkMenuAccessiblePrivate; 5955 5956 #[repr(C)] 5957 #[derive(Copy, Clone)] 5958 pub struct GtkMenuBarClass { 5959 pub parent_class: GtkMenuShellClass, 5960 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 5961 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 5962 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 5963 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 5964 } 5965 5966 impl ::std::fmt::Debug for GtkMenuBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5967 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5968 f.debug_struct(&format!("GtkMenuBarClass @ {:?}", self as *const _)) 5969 .field("parent_class", &self.parent_class) 5970 .field("_gtk_reserved1", &self._gtk_reserved1) 5971 .field("_gtk_reserved2", &self._gtk_reserved2) 5972 .field("_gtk_reserved3", &self._gtk_reserved3) 5973 .field("_gtk_reserved4", &self._gtk_reserved4) 5974 .finish() 5975 } 5976 } 5977 5978 #[repr(C)] 5979 pub struct _GtkMenuBarPrivate(c_void); 5980 5981 pub type GtkMenuBarPrivate = *mut _GtkMenuBarPrivate; 5982 5983 #[repr(C)] 5984 #[derive(Copy, Clone)] 5985 pub struct GtkMenuButtonAccessibleClass { 5986 pub parent_class: GtkToggleButtonAccessibleClass, 5987 } 5988 5989 impl ::std::fmt::Debug for GtkMenuButtonAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5990 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5991 f.debug_struct(&format!( 5992 "GtkMenuButtonAccessibleClass @ {:?}", 5993 self as *const _ 5994 )) 5995 .field("parent_class", &self.parent_class) 5996 .finish() 5997 } 5998 } 5999 6000 #[repr(C)] 6001 pub struct _GtkMenuButtonAccessiblePrivate(c_void); 6002 6003 pub type GtkMenuButtonAccessiblePrivate = *mut _GtkMenuButtonAccessiblePrivate; 6004 6005 #[repr(C)] 6006 #[derive(Copy, Clone)] 6007 pub struct GtkMenuButtonClass { 6008 pub parent_class: GtkToggleButtonClass, 6009 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6010 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6011 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6012 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6013 } 6014 6015 impl ::std::fmt::Debug for GtkMenuButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6016 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6017 f.debug_struct(&format!("GtkMenuButtonClass @ {:?}", self as *const _)) 6018 .field("parent_class", &self.parent_class) 6019 .field("_gtk_reserved1", &self._gtk_reserved1) 6020 .field("_gtk_reserved2", &self._gtk_reserved2) 6021 .field("_gtk_reserved3", &self._gtk_reserved3) 6022 .field("_gtk_reserved4", &self._gtk_reserved4) 6023 .finish() 6024 } 6025 } 6026 6027 #[repr(C)] 6028 pub struct _GtkMenuButtonPrivate(c_void); 6029 6030 pub type GtkMenuButtonPrivate = *mut _GtkMenuButtonPrivate; 6031 6032 #[repr(C)] 6033 #[derive(Copy, Clone)] 6034 pub struct GtkMenuClass { 6035 pub parent_class: GtkMenuShellClass, 6036 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6037 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6038 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6039 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6040 } 6041 6042 impl ::std::fmt::Debug for GtkMenuClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6043 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6044 f.debug_struct(&format!("GtkMenuClass @ {:?}", self as *const _)) 6045 .field("parent_class", &self.parent_class) 6046 .field("_gtk_reserved1", &self._gtk_reserved1) 6047 .field("_gtk_reserved2", &self._gtk_reserved2) 6048 .field("_gtk_reserved3", &self._gtk_reserved3) 6049 .field("_gtk_reserved4", &self._gtk_reserved4) 6050 .finish() 6051 } 6052 } 6053 6054 #[repr(C)] 6055 #[derive(Copy, Clone)] 6056 pub struct GtkMenuItemAccessibleClass { 6057 pub parent_class: GtkContainerAccessibleClass, 6058 } 6059 6060 impl ::std::fmt::Debug for GtkMenuItemAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6061 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6062 f.debug_struct(&format!( 6063 "GtkMenuItemAccessibleClass @ {:?}", 6064 self as *const _ 6065 )) 6066 .field("parent_class", &self.parent_class) 6067 .finish() 6068 } 6069 } 6070 6071 #[repr(C)] 6072 pub struct _GtkMenuItemAccessiblePrivate(c_void); 6073 6074 pub type GtkMenuItemAccessiblePrivate = *mut _GtkMenuItemAccessiblePrivate; 6075 6076 #[repr(C)] 6077 #[derive(Copy, Clone)] 6078 pub struct GtkMenuItemClass { 6079 pub parent_class: GtkBinClass, 6080 pub hide_on_activate: c_uint, 6081 pub activate: Option<unsafe extern "C" fn(*mut GtkMenuItem)>, 6082 pub activate_item: Option<unsafe extern "C" fn(*mut GtkMenuItem)>, 6083 pub toggle_size_request: Option<unsafe extern "C" fn(*mut GtkMenuItem, c_int)>, 6084 pub toggle_size_allocate: Option<unsafe extern "C" fn(*mut GtkMenuItem, c_int)>, 6085 pub set_label: Option<unsafe extern "C" fn(*mut GtkMenuItem, *const c_char)>, 6086 pub get_label: Option<unsafe extern "C" fn(*mut GtkMenuItem) -> *const c_char>, 6087 pub select: Option<unsafe extern "C" fn(*mut GtkMenuItem)>, 6088 pub deselect: Option<unsafe extern "C" fn(*mut GtkMenuItem)>, 6089 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6090 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6091 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6092 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6093 } 6094 6095 impl ::std::fmt::Debug for GtkMenuItemClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6096 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6097 f.debug_struct(&format!("GtkMenuItemClass @ {:?}", self as *const _)) 6098 .field("parent_class", &self.parent_class) 6099 .field("hide_on_activate", &self.hide_on_activate) 6100 .field("activate", &self.activate) 6101 .field("activate_item", &self.activate_item) 6102 .field("toggle_size_request", &self.toggle_size_request) 6103 .field("toggle_size_allocate", &self.toggle_size_allocate) 6104 .field("set_label", &self.set_label) 6105 .field("get_label", &self.get_label) 6106 .field("select", &self.select) 6107 .field("deselect", &self.deselect) 6108 .field("_gtk_reserved1", &self._gtk_reserved1) 6109 .field("_gtk_reserved2", &self._gtk_reserved2) 6110 .field("_gtk_reserved3", &self._gtk_reserved3) 6111 .field("_gtk_reserved4", &self._gtk_reserved4) 6112 .finish() 6113 } 6114 } 6115 6116 #[repr(C)] 6117 pub struct _GtkMenuItemPrivate(c_void); 6118 6119 pub type GtkMenuItemPrivate = *mut _GtkMenuItemPrivate; 6120 6121 #[repr(C)] 6122 pub struct _GtkMenuPrivate(c_void); 6123 6124 pub type GtkMenuPrivate = *mut _GtkMenuPrivate; 6125 6126 #[repr(C)] 6127 #[derive(Copy, Clone)] 6128 pub struct GtkMenuShellAccessibleClass { 6129 pub parent_class: GtkContainerAccessibleClass, 6130 } 6131 6132 impl ::std::fmt::Debug for GtkMenuShellAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6133 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6134 f.debug_struct(&format!( 6135 "GtkMenuShellAccessibleClass @ {:?}", 6136 self as *const _ 6137 )) 6138 .field("parent_class", &self.parent_class) 6139 .finish() 6140 } 6141 } 6142 6143 #[repr(C)] 6144 pub struct _GtkMenuShellAccessiblePrivate(c_void); 6145 6146 pub type GtkMenuShellAccessiblePrivate = *mut _GtkMenuShellAccessiblePrivate; 6147 6148 #[repr(C)] 6149 #[derive(Copy, Clone)] 6150 pub struct GtkMenuShellClass { 6151 pub parent_class: GtkContainerClass, 6152 pub submenu_placement: c_uint, 6153 pub deactivate: Option<unsafe extern "C" fn(*mut GtkMenuShell)>, 6154 pub selection_done: Option<unsafe extern "C" fn(*mut GtkMenuShell)>, 6155 pub move_current: Option<unsafe extern "C" fn(*mut GtkMenuShell, GtkMenuDirectionType)>, 6156 pub activate_current: Option<unsafe extern "C" fn(*mut GtkMenuShell, gboolean)>, 6157 pub cancel: Option<unsafe extern "C" fn(*mut GtkMenuShell)>, 6158 pub select_item: Option<unsafe extern "C" fn(*mut GtkMenuShell, *mut GtkWidget)>, 6159 pub insert: Option<unsafe extern "C" fn(*mut GtkMenuShell, *mut GtkWidget, c_int)>, 6160 pub get_popup_delay: Option<unsafe extern "C" fn(*mut GtkMenuShell) -> c_int>, 6161 pub move_selected: Option<unsafe extern "C" fn(*mut GtkMenuShell, c_int) -> gboolean>, 6162 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6163 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6164 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6165 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6166 } 6167 6168 impl ::std::fmt::Debug for GtkMenuShellClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6169 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6170 f.debug_struct(&format!("GtkMenuShellClass @ {:?}", self as *const _)) 6171 .field("parent_class", &self.parent_class) 6172 .field("submenu_placement", &self.submenu_placement) 6173 .field("deactivate", &self.deactivate) 6174 .field("selection_done", &self.selection_done) 6175 .field("move_current", &self.move_current) 6176 .field("activate_current", &self.activate_current) 6177 .field("cancel", &self.cancel) 6178 .field("select_item", &self.select_item) 6179 .field("insert", &self.insert) 6180 .field("get_popup_delay", &self.get_popup_delay) 6181 .field("move_selected", &self.move_selected) 6182 .field("_gtk_reserved1", &self._gtk_reserved1) 6183 .field("_gtk_reserved2", &self._gtk_reserved2) 6184 .field("_gtk_reserved3", &self._gtk_reserved3) 6185 .field("_gtk_reserved4", &self._gtk_reserved4) 6186 .finish() 6187 } 6188 } 6189 6190 #[repr(C)] 6191 pub struct _GtkMenuShellPrivate(c_void); 6192 6193 pub type GtkMenuShellPrivate = *mut _GtkMenuShellPrivate; 6194 6195 #[repr(C)] 6196 #[derive(Copy, Clone)] 6197 pub struct GtkMenuToolButtonClass { 6198 pub parent_class: GtkToolButtonClass, 6199 pub show_menu: Option<unsafe extern "C" fn(*mut GtkMenuToolButton)>, 6200 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6201 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6202 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6203 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6204 } 6205 6206 impl ::std::fmt::Debug for GtkMenuToolButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6207 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6208 f.debug_struct(&format!("GtkMenuToolButtonClass @ {:?}", self as *const _)) 6209 .field("parent_class", &self.parent_class) 6210 .field("show_menu", &self.show_menu) 6211 .field("_gtk_reserved1", &self._gtk_reserved1) 6212 .field("_gtk_reserved2", &self._gtk_reserved2) 6213 .field("_gtk_reserved3", &self._gtk_reserved3) 6214 .field("_gtk_reserved4", &self._gtk_reserved4) 6215 .finish() 6216 } 6217 } 6218 6219 #[repr(C)] 6220 pub struct _GtkMenuToolButtonPrivate(c_void); 6221 6222 pub type GtkMenuToolButtonPrivate = *mut _GtkMenuToolButtonPrivate; 6223 6224 #[repr(C)] 6225 #[derive(Copy, Clone)] 6226 pub struct GtkMessageDialogClass { 6227 pub parent_class: GtkDialogClass, 6228 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6229 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6230 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6231 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6232 } 6233 6234 impl ::std::fmt::Debug for GtkMessageDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6235 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6236 f.debug_struct(&format!("GtkMessageDialogClass @ {:?}", self as *const _)) 6237 .field("parent_class", &self.parent_class) 6238 .field("_gtk_reserved1", &self._gtk_reserved1) 6239 .field("_gtk_reserved2", &self._gtk_reserved2) 6240 .field("_gtk_reserved3", &self._gtk_reserved3) 6241 .field("_gtk_reserved4", &self._gtk_reserved4) 6242 .finish() 6243 } 6244 } 6245 6246 #[repr(C)] 6247 pub struct _GtkMessageDialogPrivate(c_void); 6248 6249 pub type GtkMessageDialogPrivate = *mut _GtkMessageDialogPrivate; 6250 6251 #[repr(C)] 6252 #[derive(Copy, Clone)] 6253 pub struct GtkMiscClass { 6254 pub parent_class: GtkWidgetClass, 6255 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6256 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6257 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6258 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6259 } 6260 6261 impl ::std::fmt::Debug for GtkMiscClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6262 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6263 f.debug_struct(&format!("GtkMiscClass @ {:?}", self as *const _)) 6264 .field("parent_class", &self.parent_class) 6265 .field("_gtk_reserved1", &self._gtk_reserved1) 6266 .field("_gtk_reserved2", &self._gtk_reserved2) 6267 .field("_gtk_reserved3", &self._gtk_reserved3) 6268 .field("_gtk_reserved4", &self._gtk_reserved4) 6269 .finish() 6270 } 6271 } 6272 6273 #[repr(C)] 6274 pub struct _GtkMiscPrivate(c_void); 6275 6276 pub type GtkMiscPrivate = *mut _GtkMiscPrivate; 6277 6278 #[repr(C)] 6279 #[derive(Copy, Clone)] 6280 pub struct GtkMountOperationClass { 6281 pub parent_class: gio::GMountOperationClass, 6282 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6283 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6284 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6285 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6286 } 6287 6288 impl ::std::fmt::Debug for GtkMountOperationClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6289 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6290 f.debug_struct(&format!("GtkMountOperationClass @ {:?}", self as *const _)) 6291 .field("parent_class", &self.parent_class) 6292 .field("_gtk_reserved1", &self._gtk_reserved1) 6293 .field("_gtk_reserved2", &self._gtk_reserved2) 6294 .field("_gtk_reserved3", &self._gtk_reserved3) 6295 .field("_gtk_reserved4", &self._gtk_reserved4) 6296 .finish() 6297 } 6298 } 6299 6300 #[repr(C)] 6301 pub struct _GtkMountOperationPrivate(c_void); 6302 6303 pub type GtkMountOperationPrivate = *mut _GtkMountOperationPrivate; 6304 6305 #[repr(C)] 6306 #[derive(Copy, Clone)] 6307 pub struct GtkNativeDialogClass { 6308 pub parent_class: gobject::GObjectClass, 6309 pub response: Option<unsafe extern "C" fn(*mut GtkNativeDialog, GtkResponseType)>, 6310 pub show: Option<unsafe extern "C" fn(*mut GtkNativeDialog)>, 6311 pub hide: Option<unsafe extern "C" fn(*mut GtkNativeDialog)>, 6312 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6313 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6314 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6315 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6316 } 6317 6318 impl ::std::fmt::Debug for GtkNativeDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6319 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6320 f.debug_struct(&format!("GtkNativeDialogClass @ {:?}", self as *const _)) 6321 .field("parent_class", &self.parent_class) 6322 .field("response", &self.response) 6323 .field("show", &self.show) 6324 .field("hide", &self.hide) 6325 .field("_gtk_reserved1", &self._gtk_reserved1) 6326 .field("_gtk_reserved2", &self._gtk_reserved2) 6327 .field("_gtk_reserved3", &self._gtk_reserved3) 6328 .field("_gtk_reserved4", &self._gtk_reserved4) 6329 .finish() 6330 } 6331 } 6332 6333 #[repr(C)] 6334 #[derive(Copy, Clone)] 6335 pub struct GtkNotebookAccessibleClass { 6336 pub parent_class: GtkContainerAccessibleClass, 6337 } 6338 6339 impl ::std::fmt::Debug for GtkNotebookAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6340 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6341 f.debug_struct(&format!( 6342 "GtkNotebookAccessibleClass @ {:?}", 6343 self as *const _ 6344 )) 6345 .field("parent_class", &self.parent_class) 6346 .finish() 6347 } 6348 } 6349 6350 #[repr(C)] 6351 pub struct _GtkNotebookAccessiblePrivate(c_void); 6352 6353 pub type GtkNotebookAccessiblePrivate = *mut _GtkNotebookAccessiblePrivate; 6354 6355 #[repr(C)] 6356 #[derive(Copy, Clone)] 6357 pub struct GtkNotebookClass { 6358 pub parent_class: GtkContainerClass, 6359 pub switch_page: Option<unsafe extern "C" fn(*mut GtkNotebook, *mut GtkWidget, c_uint)>, 6360 pub select_page: Option<unsafe extern "C" fn(*mut GtkNotebook, gboolean) -> gboolean>, 6361 pub focus_tab: Option<unsafe extern "C" fn(*mut GtkNotebook, GtkNotebookTab) -> gboolean>, 6362 pub change_current_page: Option<unsafe extern "C" fn(*mut GtkNotebook, c_int) -> gboolean>, 6363 pub move_focus_out: Option<unsafe extern "C" fn(*mut GtkNotebook, GtkDirectionType)>, 6364 pub reorder_tab: 6365 Option<unsafe extern "C" fn(*mut GtkNotebook, GtkDirectionType, gboolean) -> gboolean>, 6366 pub insert_page: Option< 6367 unsafe extern "C" fn( 6368 *mut GtkNotebook, 6369 *mut GtkWidget, 6370 *mut GtkWidget, 6371 *mut GtkWidget, 6372 c_int, 6373 ) -> c_int, 6374 >, 6375 pub create_window: Option< 6376 unsafe extern "C" fn(*mut GtkNotebook, *mut GtkWidget, c_int, c_int) -> *mut GtkNotebook, 6377 >, 6378 pub page_reordered: Option<unsafe extern "C" fn(*mut GtkNotebook, *mut GtkWidget, c_uint)>, 6379 pub page_removed: Option<unsafe extern "C" fn(*mut GtkNotebook, *mut GtkWidget, c_uint)>, 6380 pub page_added: Option<unsafe extern "C" fn(*mut GtkNotebook, *mut GtkWidget, c_uint)>, 6381 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6382 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6383 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6384 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6385 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 6386 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 6387 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 6388 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 6389 } 6390 6391 impl ::std::fmt::Debug for GtkNotebookClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6392 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6393 f.debug_struct(&format!("GtkNotebookClass @ {:?}", self as *const _)) 6394 .field("parent_class", &self.parent_class) 6395 .field("switch_page", &self.switch_page) 6396 .field("select_page", &self.select_page) 6397 .field("focus_tab", &self.focus_tab) 6398 .field("change_current_page", &self.change_current_page) 6399 .field("move_focus_out", &self.move_focus_out) 6400 .field("reorder_tab", &self.reorder_tab) 6401 .field("insert_page", &self.insert_page) 6402 .field("create_window", &self.create_window) 6403 .field("page_reordered", &self.page_reordered) 6404 .field("page_removed", &self.page_removed) 6405 .field("page_added", &self.page_added) 6406 .field("_gtk_reserved1", &self._gtk_reserved1) 6407 .field("_gtk_reserved2", &self._gtk_reserved2) 6408 .field("_gtk_reserved3", &self._gtk_reserved3) 6409 .field("_gtk_reserved4", &self._gtk_reserved4) 6410 .field("_gtk_reserved5", &self._gtk_reserved5) 6411 .field("_gtk_reserved6", &self._gtk_reserved6) 6412 .field("_gtk_reserved7", &self._gtk_reserved7) 6413 .field("_gtk_reserved8", &self._gtk_reserved8) 6414 .finish() 6415 } 6416 } 6417 6418 #[repr(C)] 6419 #[derive(Copy, Clone)] 6420 pub struct GtkNotebookPageAccessibleClass { 6421 pub parent_class: atk::AtkObjectClass, 6422 } 6423 6424 impl ::std::fmt::Debug for GtkNotebookPageAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6425 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6426 f.debug_struct(&format!( 6427 "GtkNotebookPageAccessibleClass @ {:?}", 6428 self as *const _ 6429 )) 6430 .field("parent_class", &self.parent_class) 6431 .finish() 6432 } 6433 } 6434 6435 #[repr(C)] 6436 pub struct _GtkNotebookPageAccessiblePrivate(c_void); 6437 6438 pub type GtkNotebookPageAccessiblePrivate = *mut _GtkNotebookPageAccessiblePrivate; 6439 6440 #[repr(C)] 6441 pub struct _GtkNotebookPrivate(c_void); 6442 6443 pub type GtkNotebookPrivate = *mut _GtkNotebookPrivate; 6444 6445 #[repr(C)] 6446 #[derive(Copy, Clone)] 6447 pub struct GtkNumerableIconClass { 6448 pub parent_class: gio::GEmblemedIconClass, 6449 pub padding: [gpointer; 16], 6450 } 6451 6452 impl ::std::fmt::Debug for GtkNumerableIconClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6453 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6454 f.debug_struct(&format!("GtkNumerableIconClass @ {:?}", self as *const _)) 6455 .field("parent_class", &self.parent_class) 6456 .field("padding", &self.padding) 6457 .finish() 6458 } 6459 } 6460 6461 #[repr(C)] 6462 pub struct _GtkNumerableIconPrivate(c_void); 6463 6464 pub type GtkNumerableIconPrivate = *mut _GtkNumerableIconPrivate; 6465 6466 #[repr(C)] 6467 #[derive(Copy, Clone)] 6468 pub struct GtkOffscreenWindowClass { 6469 pub parent_class: GtkWindowClass, 6470 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6471 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6472 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6473 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6474 } 6475 6476 impl ::std::fmt::Debug for GtkOffscreenWindowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6477 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6478 f.debug_struct(&format!("GtkOffscreenWindowClass @ {:?}", self as *const _)) 6479 .field("parent_class", &self.parent_class) 6480 .field("_gtk_reserved1", &self._gtk_reserved1) 6481 .field("_gtk_reserved2", &self._gtk_reserved2) 6482 .field("_gtk_reserved3", &self._gtk_reserved3) 6483 .field("_gtk_reserved4", &self._gtk_reserved4) 6484 .finish() 6485 } 6486 } 6487 6488 #[repr(C)] 6489 #[derive(Copy, Clone)] 6490 pub struct GtkOrientableIface { 6491 pub base_iface: gobject::GTypeInterface, 6492 } 6493 6494 impl ::std::fmt::Debug for GtkOrientableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6495 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6496 f.debug_struct(&format!("GtkOrientableIface @ {:?}", self as *const _)) 6497 .field("base_iface", &self.base_iface) 6498 .finish() 6499 } 6500 } 6501 6502 #[repr(C)] 6503 #[derive(Copy, Clone)] 6504 pub struct GtkOverlayClass { 6505 pub parent_class: GtkBinClass, 6506 pub get_child_position: Option< 6507 unsafe extern "C" fn(*mut GtkOverlay, *mut GtkWidget, *mut GtkAllocation) -> gboolean, 6508 >, 6509 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6510 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6511 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6512 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6513 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 6514 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 6515 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 6516 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 6517 } 6518 6519 impl ::std::fmt::Debug for GtkOverlayClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6520 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6521 f.debug_struct(&format!("GtkOverlayClass @ {:?}", self as *const _)) 6522 .field("parent_class", &self.parent_class) 6523 .field("get_child_position", &self.get_child_position) 6524 .field("_gtk_reserved1", &self._gtk_reserved1) 6525 .field("_gtk_reserved2", &self._gtk_reserved2) 6526 .field("_gtk_reserved3", &self._gtk_reserved3) 6527 .field("_gtk_reserved4", &self._gtk_reserved4) 6528 .field("_gtk_reserved5", &self._gtk_reserved5) 6529 .field("_gtk_reserved6", &self._gtk_reserved6) 6530 .field("_gtk_reserved7", &self._gtk_reserved7) 6531 .field("_gtk_reserved8", &self._gtk_reserved8) 6532 .finish() 6533 } 6534 } 6535 6536 #[repr(C)] 6537 pub struct _GtkOverlayPrivate(c_void); 6538 6539 pub type GtkOverlayPrivate = *mut _GtkOverlayPrivate; 6540 6541 #[repr(C)] 6542 #[derive(Copy, Clone)] 6543 pub struct GtkPadActionEntry { 6544 pub type_: GtkPadActionType, 6545 pub index: c_int, 6546 pub mode: c_int, 6547 pub label: *mut c_char, 6548 pub action_name: *mut c_char, 6549 } 6550 6551 impl ::std::fmt::Debug for GtkPadActionEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6552 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6553 f.debug_struct(&format!("GtkPadActionEntry @ {:?}", self as *const _)) 6554 .field("type_", &self.type_) 6555 .field("index", &self.index) 6556 .field("mode", &self.mode) 6557 .field("label", &self.label) 6558 .field("action_name", &self.action_name) 6559 .finish() 6560 } 6561 } 6562 6563 #[repr(C)] 6564 pub struct _GtkPadControllerClass(c_void); 6565 6566 pub type GtkPadControllerClass = *mut _GtkPadControllerClass; 6567 6568 #[repr(C)] 6569 #[derive(Copy, Clone)] 6570 pub struct GtkPageRange { 6571 pub start: c_int, 6572 pub end: c_int, 6573 } 6574 6575 impl ::std::fmt::Debug for GtkPageRange { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6576 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6577 f.debug_struct(&format!("GtkPageRange @ {:?}", self as *const _)) 6578 .field("start", &self.start) 6579 .field("end", &self.end) 6580 .finish() 6581 } 6582 } 6583 6584 #[repr(C)] 6585 #[derive(Copy, Clone)] 6586 pub struct GtkPanedAccessibleClass { 6587 pub parent_class: GtkContainerAccessibleClass, 6588 } 6589 6590 impl ::std::fmt::Debug for GtkPanedAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6591 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6592 f.debug_struct(&format!("GtkPanedAccessibleClass @ {:?}", self as *const _)) 6593 .field("parent_class", &self.parent_class) 6594 .finish() 6595 } 6596 } 6597 6598 #[repr(C)] 6599 pub struct _GtkPanedAccessiblePrivate(c_void); 6600 6601 pub type GtkPanedAccessiblePrivate = *mut _GtkPanedAccessiblePrivate; 6602 6603 #[repr(C)] 6604 #[derive(Copy, Clone)] 6605 pub struct GtkPanedClass { 6606 pub parent_class: GtkContainerClass, 6607 pub cycle_child_focus: Option<unsafe extern "C" fn(*mut GtkPaned, gboolean) -> gboolean>, 6608 pub toggle_handle_focus: Option<unsafe extern "C" fn(*mut GtkPaned) -> gboolean>, 6609 pub move_handle: Option<unsafe extern "C" fn(*mut GtkPaned, GtkScrollType) -> gboolean>, 6610 pub cycle_handle_focus: Option<unsafe extern "C" fn(*mut GtkPaned, gboolean) -> gboolean>, 6611 pub accept_position: Option<unsafe extern "C" fn(*mut GtkPaned) -> gboolean>, 6612 pub cancel_position: Option<unsafe extern "C" fn(*mut GtkPaned) -> gboolean>, 6613 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6614 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6615 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6616 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6617 } 6618 6619 impl ::std::fmt::Debug for GtkPanedClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6620 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6621 f.debug_struct(&format!("GtkPanedClass @ {:?}", self as *const _)) 6622 .field("parent_class", &self.parent_class) 6623 .field("cycle_child_focus", &self.cycle_child_focus) 6624 .field("toggle_handle_focus", &self.toggle_handle_focus) 6625 .field("move_handle", &self.move_handle) 6626 .field("cycle_handle_focus", &self.cycle_handle_focus) 6627 .field("accept_position", &self.accept_position) 6628 .field("cancel_position", &self.cancel_position) 6629 .field("_gtk_reserved1", &self._gtk_reserved1) 6630 .field("_gtk_reserved2", &self._gtk_reserved2) 6631 .field("_gtk_reserved3", &self._gtk_reserved3) 6632 .field("_gtk_reserved4", &self._gtk_reserved4) 6633 .finish() 6634 } 6635 } 6636 6637 #[repr(C)] 6638 pub struct _GtkPanedPrivate(c_void); 6639 6640 pub type GtkPanedPrivate = *mut _GtkPanedPrivate; 6641 6642 #[repr(C)] 6643 pub struct GtkPaperSize(c_void); 6644 6645 impl ::std::fmt::Debug for GtkPaperSize { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6646 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6647 f.debug_struct(&format!("GtkPaperSize @ {:?}", self as *const _)) 6648 .finish() 6649 } 6650 } 6651 6652 #[repr(C)] 6653 pub struct _GtkPlacesSidebarClass(c_void); 6654 6655 pub type GtkPlacesSidebarClass = *mut _GtkPlacesSidebarClass; 6656 6657 #[repr(C)] 6658 #[derive(Copy, Clone)] 6659 pub struct GtkPlugClass { 6660 pub parent_class: GtkWindowClass, 6661 pub embedded: Option<unsafe extern "C" fn(*mut GtkPlug)>, 6662 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6663 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6664 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6665 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6666 } 6667 6668 impl ::std::fmt::Debug for GtkPlugClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6669 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6670 f.debug_struct(&format!("GtkPlugClass @ {:?}", self as *const _)) 6671 .field("parent_class", &self.parent_class) 6672 .field("embedded", &self.embedded) 6673 .field("_gtk_reserved1", &self._gtk_reserved1) 6674 .field("_gtk_reserved2", &self._gtk_reserved2) 6675 .field("_gtk_reserved3", &self._gtk_reserved3) 6676 .field("_gtk_reserved4", &self._gtk_reserved4) 6677 .finish() 6678 } 6679 } 6680 6681 #[repr(C)] 6682 pub struct _GtkPlugPrivate(c_void); 6683 6684 pub type GtkPlugPrivate = *mut _GtkPlugPrivate; 6685 6686 #[repr(C)] 6687 #[derive(Copy, Clone)] 6688 pub struct GtkPopoverAccessibleClass { 6689 pub parent_class: GtkContainerAccessibleClass, 6690 } 6691 6692 impl ::std::fmt::Debug for GtkPopoverAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6693 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6694 f.debug_struct(&format!( 6695 "GtkPopoverAccessibleClass @ {:?}", 6696 self as *const _ 6697 )) 6698 .field("parent_class", &self.parent_class) 6699 .finish() 6700 } 6701 } 6702 6703 #[repr(C)] 6704 #[derive(Copy, Clone)] 6705 pub struct GtkPopoverClass { 6706 pub parent_class: GtkBinClass, 6707 pub closed: Option<unsafe extern "C" fn(*mut GtkPopover)>, 6708 pub reserved: [gpointer; 10], 6709 } 6710 6711 impl ::std::fmt::Debug for GtkPopoverClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6712 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6713 f.debug_struct(&format!("GtkPopoverClass @ {:?}", self as *const _)) 6714 .field("parent_class", &self.parent_class) 6715 .field("closed", &self.closed) 6716 .finish() 6717 } 6718 } 6719 6720 #[repr(C)] 6721 #[derive(Copy, Clone)] 6722 pub struct GtkPopoverMenuClass { 6723 pub parent_class: GtkPopoverClass, 6724 pub reserved: [gpointer; 10], 6725 } 6726 6727 impl ::std::fmt::Debug for GtkPopoverMenuClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6728 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6729 f.debug_struct(&format!("GtkPopoverMenuClass @ {:?}", self as *const _)) 6730 .field("parent_class", &self.parent_class) 6731 .finish() 6732 } 6733 } 6734 6735 #[repr(C)] 6736 pub struct _GtkPopoverPrivate(c_void); 6737 6738 pub type GtkPopoverPrivate = *mut _GtkPopoverPrivate; 6739 6740 #[repr(C)] 6741 #[derive(Copy, Clone)] 6742 pub struct GtkPrintOperationClass { 6743 pub parent_class: gobject::GObjectClass, 6744 pub done: Option<unsafe extern "C" fn(*mut GtkPrintOperation, GtkPrintOperationResult)>, 6745 pub begin_print: Option<unsafe extern "C" fn(*mut GtkPrintOperation, *mut GtkPrintContext)>, 6746 pub paginate: 6747 Option<unsafe extern "C" fn(*mut GtkPrintOperation, *mut GtkPrintContext) -> gboolean>, 6748 pub request_page_setup: Option< 6749 unsafe extern "C" fn( 6750 *mut GtkPrintOperation, 6751 *mut GtkPrintContext, 6752 c_int, 6753 *mut GtkPageSetup, 6754 ), 6755 >, 6756 pub draw_page: 6757 Option<unsafe extern "C" fn(*mut GtkPrintOperation, *mut GtkPrintContext, c_int)>, 6758 pub end_print: Option<unsafe extern "C" fn(*mut GtkPrintOperation, *mut GtkPrintContext)>, 6759 pub status_changed: Option<unsafe extern "C" fn(*mut GtkPrintOperation)>, 6760 pub create_custom_widget: 6761 Option<unsafe extern "C" fn(*mut GtkPrintOperation) -> *mut GtkWidget>, 6762 pub custom_widget_apply: Option<unsafe extern "C" fn(*mut GtkPrintOperation, *mut GtkWidget)>, 6763 pub preview: Option< 6764 unsafe extern "C" fn( 6765 *mut GtkPrintOperation, 6766 *mut GtkPrintOperationPreview, 6767 *mut GtkPrintContext, 6768 *mut GtkWindow, 6769 ) -> gboolean, 6770 >, 6771 pub update_custom_widget: Option< 6772 unsafe extern "C" fn( 6773 *mut GtkPrintOperation, 6774 *mut GtkWidget, 6775 *mut GtkPageSetup, 6776 *mut GtkPrintSettings, 6777 ), 6778 >, 6779 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6780 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6781 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6782 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6783 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 6784 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 6785 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 6786 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 6787 } 6788 6789 impl ::std::fmt::Debug for GtkPrintOperationClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6790 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6791 f.debug_struct(&format!("GtkPrintOperationClass @ {:?}", self as *const _)) 6792 .field("parent_class", &self.parent_class) 6793 .field("done", &self.done) 6794 .field("begin_print", &self.begin_print) 6795 .field("paginate", &self.paginate) 6796 .field("request_page_setup", &self.request_page_setup) 6797 .field("draw_page", &self.draw_page) 6798 .field("end_print", &self.end_print) 6799 .field("status_changed", &self.status_changed) 6800 .field("create_custom_widget", &self.create_custom_widget) 6801 .field("custom_widget_apply", &self.custom_widget_apply) 6802 .field("preview", &self.preview) 6803 .field("update_custom_widget", &self.update_custom_widget) 6804 .field("_gtk_reserved1", &self._gtk_reserved1) 6805 .field("_gtk_reserved2", &self._gtk_reserved2) 6806 .field("_gtk_reserved3", &self._gtk_reserved3) 6807 .field("_gtk_reserved4", &self._gtk_reserved4) 6808 .field("_gtk_reserved5", &self._gtk_reserved5) 6809 .field("_gtk_reserved6", &self._gtk_reserved6) 6810 .field("_gtk_reserved7", &self._gtk_reserved7) 6811 .field("_gtk_reserved8", &self._gtk_reserved8) 6812 .finish() 6813 } 6814 } 6815 6816 #[repr(C)] 6817 #[derive(Copy, Clone)] 6818 pub struct GtkPrintOperationPreviewIface { 6819 pub g_iface: gobject::GTypeInterface, 6820 pub ready: Option<unsafe extern "C" fn(*mut GtkPrintOperationPreview, *mut GtkPrintContext)>, 6821 pub got_page_size: Option< 6822 unsafe extern "C" fn( 6823 *mut GtkPrintOperationPreview, 6824 *mut GtkPrintContext, 6825 *mut GtkPageSetup, 6826 ), 6827 >, 6828 pub render_page: Option<unsafe extern "C" fn(*mut GtkPrintOperationPreview, c_int)>, 6829 pub is_selected: Option<unsafe extern "C" fn(*mut GtkPrintOperationPreview, c_int) -> gboolean>, 6830 pub end_preview: Option<unsafe extern "C" fn(*mut GtkPrintOperationPreview)>, 6831 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6832 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6833 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6834 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6835 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 6836 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 6837 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 6838 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 6839 } 6840 6841 impl ::std::fmt::Debug for GtkPrintOperationPreviewIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6842 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6843 f.debug_struct(&format!( 6844 "GtkPrintOperationPreviewIface @ {:?}", 6845 self as *const _ 6846 )) 6847 .field("g_iface", &self.g_iface) 6848 .field("ready", &self.ready) 6849 .field("got_page_size", &self.got_page_size) 6850 .field("render_page", &self.render_page) 6851 .field("is_selected", &self.is_selected) 6852 .field("end_preview", &self.end_preview) 6853 .field("_gtk_reserved1", &self._gtk_reserved1) 6854 .field("_gtk_reserved2", &self._gtk_reserved2) 6855 .field("_gtk_reserved3", &self._gtk_reserved3) 6856 .field("_gtk_reserved4", &self._gtk_reserved4) 6857 .field("_gtk_reserved5", &self._gtk_reserved5) 6858 .field("_gtk_reserved6", &self._gtk_reserved6) 6859 .field("_gtk_reserved7", &self._gtk_reserved7) 6860 .field("_gtk_reserved8", &self._gtk_reserved8) 6861 .finish() 6862 } 6863 } 6864 6865 #[repr(C)] 6866 pub struct _GtkPrintOperationPrivate(c_void); 6867 6868 pub type GtkPrintOperationPrivate = *mut _GtkPrintOperationPrivate; 6869 6870 #[repr(C)] 6871 #[derive(Copy, Clone)] 6872 pub struct GtkProgressBarAccessibleClass { 6873 pub parent_class: GtkWidgetAccessibleClass, 6874 } 6875 6876 impl ::std::fmt::Debug for GtkProgressBarAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6877 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6878 f.debug_struct(&format!( 6879 "GtkProgressBarAccessibleClass @ {:?}", 6880 self as *const _ 6881 )) 6882 .field("parent_class", &self.parent_class) 6883 .finish() 6884 } 6885 } 6886 6887 #[repr(C)] 6888 pub struct _GtkProgressBarAccessiblePrivate(c_void); 6889 6890 pub type GtkProgressBarAccessiblePrivate = *mut _GtkProgressBarAccessiblePrivate; 6891 6892 #[repr(C)] 6893 #[derive(Copy, Clone)] 6894 pub struct GtkProgressBarClass { 6895 pub parent_class: GtkWidgetClass, 6896 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6897 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6898 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6899 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6900 } 6901 6902 impl ::std::fmt::Debug for GtkProgressBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6903 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6904 f.debug_struct(&format!("GtkProgressBarClass @ {:?}", self as *const _)) 6905 .field("parent_class", &self.parent_class) 6906 .field("_gtk_reserved1", &self._gtk_reserved1) 6907 .field("_gtk_reserved2", &self._gtk_reserved2) 6908 .field("_gtk_reserved3", &self._gtk_reserved3) 6909 .field("_gtk_reserved4", &self._gtk_reserved4) 6910 .finish() 6911 } 6912 } 6913 6914 #[repr(C)] 6915 pub struct _GtkProgressBarPrivate(c_void); 6916 6917 pub type GtkProgressBarPrivate = *mut _GtkProgressBarPrivate; 6918 6919 #[repr(C)] 6920 #[derive(Copy, Clone)] 6921 pub struct GtkRadioActionClass { 6922 pub parent_class: GtkToggleActionClass, 6923 pub changed: Option<unsafe extern "C" fn(*mut GtkRadioAction, *mut GtkRadioAction)>, 6924 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 6925 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 6926 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 6927 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 6928 } 6929 6930 impl ::std::fmt::Debug for GtkRadioActionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6931 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6932 f.debug_struct(&format!("GtkRadioActionClass @ {:?}", self as *const _)) 6933 .field("parent_class", &self.parent_class) 6934 .field("changed", &self.changed) 6935 .field("_gtk_reserved1", &self._gtk_reserved1) 6936 .field("_gtk_reserved2", &self._gtk_reserved2) 6937 .field("_gtk_reserved3", &self._gtk_reserved3) 6938 .field("_gtk_reserved4", &self._gtk_reserved4) 6939 .finish() 6940 } 6941 } 6942 6943 #[repr(C)] 6944 #[derive(Copy, Clone)] 6945 pub struct GtkRadioActionEntry { 6946 pub name: *const c_char, 6947 pub stock_id: *const c_char, 6948 pub label: *const c_char, 6949 pub accelerator: *const c_char, 6950 pub tooltip: *const c_char, 6951 pub value: c_int, 6952 } 6953 6954 impl ::std::fmt::Debug for GtkRadioActionEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6955 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6956 f.debug_struct(&format!("GtkRadioActionEntry @ {:?}", self as *const _)) 6957 .field("name", &self.name) 6958 .field("stock_id", &self.stock_id) 6959 .field("label", &self.label) 6960 .field("accelerator", &self.accelerator) 6961 .field("tooltip", &self.tooltip) 6962 .field("value", &self.value) 6963 .finish() 6964 } 6965 } 6966 6967 #[repr(C)] 6968 pub struct _GtkRadioActionPrivate(c_void); 6969 6970 pub type GtkRadioActionPrivate = *mut _GtkRadioActionPrivate; 6971 6972 #[repr(C)] 6973 #[derive(Copy, Clone)] 6974 pub struct GtkRadioButtonAccessibleClass { 6975 pub parent_class: GtkToggleButtonAccessibleClass, 6976 } 6977 6978 impl ::std::fmt::Debug for GtkRadioButtonAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6979 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6980 f.debug_struct(&format!( 6981 "GtkRadioButtonAccessibleClass @ {:?}", 6982 self as *const _ 6983 )) 6984 .field("parent_class", &self.parent_class) 6985 .finish() 6986 } 6987 } 6988 6989 #[repr(C)] 6990 pub struct _GtkRadioButtonAccessiblePrivate(c_void); 6991 6992 pub type GtkRadioButtonAccessiblePrivate = *mut _GtkRadioButtonAccessiblePrivate; 6993 6994 #[repr(C)] 6995 #[derive(Copy, Clone)] 6996 pub struct GtkRadioButtonClass { 6997 pub parent_class: GtkCheckButtonClass, 6998 pub group_changed: Option<unsafe extern "C" fn(*mut GtkRadioButton)>, 6999 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7000 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7001 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7002 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7003 } 7004 7005 impl ::std::fmt::Debug for GtkRadioButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7006 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7007 f.debug_struct(&format!("GtkRadioButtonClass @ {:?}", self as *const _)) 7008 .field("parent_class", &self.parent_class) 7009 .field("group_changed", &self.group_changed) 7010 .field("_gtk_reserved1", &self._gtk_reserved1) 7011 .field("_gtk_reserved2", &self._gtk_reserved2) 7012 .field("_gtk_reserved3", &self._gtk_reserved3) 7013 .field("_gtk_reserved4", &self._gtk_reserved4) 7014 .finish() 7015 } 7016 } 7017 7018 #[repr(C)] 7019 pub struct _GtkRadioButtonPrivate(c_void); 7020 7021 pub type GtkRadioButtonPrivate = *mut _GtkRadioButtonPrivate; 7022 7023 #[repr(C)] 7024 #[derive(Copy, Clone)] 7025 pub struct GtkRadioMenuItemAccessibleClass { 7026 pub parent_class: GtkCheckMenuItemAccessibleClass, 7027 } 7028 7029 impl ::std::fmt::Debug for GtkRadioMenuItemAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7030 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7031 f.debug_struct(&format!( 7032 "GtkRadioMenuItemAccessibleClass @ {:?}", 7033 self as *const _ 7034 )) 7035 .field("parent_class", &self.parent_class) 7036 .finish() 7037 } 7038 } 7039 7040 #[repr(C)] 7041 pub struct _GtkRadioMenuItemAccessiblePrivate(c_void); 7042 7043 pub type GtkRadioMenuItemAccessiblePrivate = *mut _GtkRadioMenuItemAccessiblePrivate; 7044 7045 #[repr(C)] 7046 #[derive(Copy, Clone)] 7047 pub struct GtkRadioMenuItemClass { 7048 pub parent_class: GtkCheckMenuItemClass, 7049 pub group_changed: Option<unsafe extern "C" fn(*mut GtkRadioMenuItem)>, 7050 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7051 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7052 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7053 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7054 } 7055 7056 impl ::std::fmt::Debug for GtkRadioMenuItemClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7057 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7058 f.debug_struct(&format!("GtkRadioMenuItemClass @ {:?}", self as *const _)) 7059 .field("parent_class", &self.parent_class) 7060 .field("group_changed", &self.group_changed) 7061 .field("_gtk_reserved1", &self._gtk_reserved1) 7062 .field("_gtk_reserved2", &self._gtk_reserved2) 7063 .field("_gtk_reserved3", &self._gtk_reserved3) 7064 .field("_gtk_reserved4", &self._gtk_reserved4) 7065 .finish() 7066 } 7067 } 7068 7069 #[repr(C)] 7070 pub struct _GtkRadioMenuItemPrivate(c_void); 7071 7072 pub type GtkRadioMenuItemPrivate = *mut _GtkRadioMenuItemPrivate; 7073 7074 #[repr(C)] 7075 #[derive(Copy, Clone)] 7076 pub struct GtkRadioToolButtonClass { 7077 pub parent_class: GtkToggleToolButtonClass, 7078 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7079 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7080 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7081 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7082 } 7083 7084 impl ::std::fmt::Debug for GtkRadioToolButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7085 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7086 f.debug_struct(&format!("GtkRadioToolButtonClass @ {:?}", self as *const _)) 7087 .field("parent_class", &self.parent_class) 7088 .field("_gtk_reserved1", &self._gtk_reserved1) 7089 .field("_gtk_reserved2", &self._gtk_reserved2) 7090 .field("_gtk_reserved3", &self._gtk_reserved3) 7091 .field("_gtk_reserved4", &self._gtk_reserved4) 7092 .finish() 7093 } 7094 } 7095 7096 #[repr(C)] 7097 #[derive(Copy, Clone)] 7098 pub struct GtkRangeAccessibleClass { 7099 pub parent_class: GtkWidgetAccessibleClass, 7100 } 7101 7102 impl ::std::fmt::Debug for GtkRangeAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7103 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7104 f.debug_struct(&format!("GtkRangeAccessibleClass @ {:?}", self as *const _)) 7105 .field("parent_class", &self.parent_class) 7106 .finish() 7107 } 7108 } 7109 7110 #[repr(C)] 7111 pub struct _GtkRangeAccessiblePrivate(c_void); 7112 7113 pub type GtkRangeAccessiblePrivate = *mut _GtkRangeAccessiblePrivate; 7114 7115 #[repr(C)] 7116 #[derive(Copy, Clone)] 7117 pub struct GtkRangeClass { 7118 pub parent_class: GtkWidgetClass, 7119 pub slider_detail: *mut c_char, 7120 pub stepper_detail: *mut c_char, 7121 pub value_changed: Option<unsafe extern "C" fn(*mut GtkRange)>, 7122 pub adjust_bounds: Option<unsafe extern "C" fn(*mut GtkRange, c_double)>, 7123 pub move_slider: Option<unsafe extern "C" fn(*mut GtkRange, GtkScrollType)>, 7124 pub get_range_border: Option<unsafe extern "C" fn(*mut GtkRange, *mut GtkBorder)>, 7125 pub change_value: 7126 Option<unsafe extern "C" fn(*mut GtkRange, GtkScrollType, c_double) -> gboolean>, 7127 pub get_range_size_request: 7128 Option<unsafe extern "C" fn(*mut GtkRange, GtkOrientation, *mut c_int, *mut c_int)>, 7129 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7130 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7131 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7132 } 7133 7134 impl ::std::fmt::Debug for GtkRangeClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7135 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7136 f.debug_struct(&format!("GtkRangeClass @ {:?}", self as *const _)) 7137 .field("parent_class", &self.parent_class) 7138 .field("slider_detail", &self.slider_detail) 7139 .field("stepper_detail", &self.stepper_detail) 7140 .field("value_changed", &self.value_changed) 7141 .field("adjust_bounds", &self.adjust_bounds) 7142 .field("move_slider", &self.move_slider) 7143 .field("get_range_border", &self.get_range_border) 7144 .field("change_value", &self.change_value) 7145 .field("get_range_size_request", &self.get_range_size_request) 7146 .field("_gtk_reserved1", &self._gtk_reserved1) 7147 .field("_gtk_reserved2", &self._gtk_reserved2) 7148 .field("_gtk_reserved3", &self._gtk_reserved3) 7149 .finish() 7150 } 7151 } 7152 7153 #[repr(C)] 7154 pub struct _GtkRangePrivate(c_void); 7155 7156 pub type GtkRangePrivate = *mut _GtkRangePrivate; 7157 7158 #[repr(C)] 7159 pub struct _GtkRcContext(c_void); 7160 7161 pub type GtkRcContext = *mut _GtkRcContext; 7162 7163 #[repr(C)] 7164 #[derive(Copy, Clone)] 7165 pub struct GtkRcProperty { 7166 pub type_name: glib::GQuark, 7167 pub property_name: glib::GQuark, 7168 pub origin: *mut c_char, 7169 pub value: gobject::GValue, 7170 } 7171 7172 impl ::std::fmt::Debug for GtkRcProperty { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7173 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7174 f.debug_struct(&format!("GtkRcProperty @ {:?}", self as *const _)) 7175 .field("type_name", &self.type_name) 7176 .field("property_name", &self.property_name) 7177 .field("origin", &self.origin) 7178 .field("value", &self.value) 7179 .finish() 7180 } 7181 } 7182 7183 #[repr(C)] 7184 #[derive(Copy, Clone)] 7185 pub struct GtkRcStyleClass { 7186 pub parent_class: gobject::GObjectClass, 7187 pub create_rc_style: Option<unsafe extern "C" fn(*mut GtkRcStyle) -> *mut GtkRcStyle>, 7188 pub parse: Option< 7189 unsafe extern "C" fn(*mut GtkRcStyle, *mut GtkSettings, *mut glib::GScanner) -> c_uint, 7190 >, 7191 pub merge: Option<unsafe extern "C" fn(*mut GtkRcStyle, *mut GtkRcStyle)>, 7192 pub create_style: Option<unsafe extern "C" fn(*mut GtkRcStyle) -> *mut GtkStyle>, 7193 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7194 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7195 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7196 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7197 } 7198 7199 impl ::std::fmt::Debug for GtkRcStyleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7200 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7201 f.debug_struct(&format!("GtkRcStyleClass @ {:?}", self as *const _)) 7202 .field("parent_class", &self.parent_class) 7203 .field("create_rc_style", &self.create_rc_style) 7204 .field("parse", &self.parse) 7205 .field("merge", &self.merge) 7206 .field("create_style", &self.create_style) 7207 .field("_gtk_reserved1", &self._gtk_reserved1) 7208 .field("_gtk_reserved2", &self._gtk_reserved2) 7209 .field("_gtk_reserved3", &self._gtk_reserved3) 7210 .field("_gtk_reserved4", &self._gtk_reserved4) 7211 .finish() 7212 } 7213 } 7214 7215 #[repr(C)] 7216 #[derive(Copy, Clone)] 7217 pub struct GtkRecentActionClass { 7218 pub parent_class: GtkActionClass, 7219 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7220 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7221 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7222 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7223 } 7224 7225 impl ::std::fmt::Debug for GtkRecentActionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7226 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7227 f.debug_struct(&format!("GtkRecentActionClass @ {:?}", self as *const _)) 7228 .field("parent_class", &self.parent_class) 7229 .field("_gtk_reserved1", &self._gtk_reserved1) 7230 .field("_gtk_reserved2", &self._gtk_reserved2) 7231 .field("_gtk_reserved3", &self._gtk_reserved3) 7232 .field("_gtk_reserved4", &self._gtk_reserved4) 7233 .finish() 7234 } 7235 } 7236 7237 #[repr(C)] 7238 pub struct _GtkRecentActionPrivate(c_void); 7239 7240 pub type GtkRecentActionPrivate = *mut _GtkRecentActionPrivate; 7241 7242 #[repr(C)] 7243 #[derive(Copy, Clone)] 7244 pub struct GtkRecentChooserDialogClass { 7245 pub parent_class: GtkDialogClass, 7246 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7247 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7248 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7249 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7250 } 7251 7252 impl ::std::fmt::Debug for GtkRecentChooserDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7253 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7254 f.debug_struct(&format!( 7255 "GtkRecentChooserDialogClass @ {:?}", 7256 self as *const _ 7257 )) 7258 .field("parent_class", &self.parent_class) 7259 .field("_gtk_reserved1", &self._gtk_reserved1) 7260 .field("_gtk_reserved2", &self._gtk_reserved2) 7261 .field("_gtk_reserved3", &self._gtk_reserved3) 7262 .field("_gtk_reserved4", &self._gtk_reserved4) 7263 .finish() 7264 } 7265 } 7266 7267 #[repr(C)] 7268 pub struct _GtkRecentChooserDialogPrivate(c_void); 7269 7270 pub type GtkRecentChooserDialogPrivate = *mut _GtkRecentChooserDialogPrivate; 7271 7272 #[repr(C)] 7273 #[derive(Copy, Clone)] 7274 pub struct GtkRecentChooserIface { 7275 pub base_iface: gobject::GTypeInterface, 7276 pub set_current_uri: Option< 7277 unsafe extern "C" fn( 7278 *mut GtkRecentChooser, 7279 *const c_char, 7280 *mut *mut glib::GError, 7281 ) -> gboolean, 7282 >, 7283 pub get_current_uri: Option<unsafe extern "C" fn(*mut GtkRecentChooser) -> *mut c_char>, 7284 pub select_uri: Option< 7285 unsafe extern "C" fn( 7286 *mut GtkRecentChooser, 7287 *const c_char, 7288 *mut *mut glib::GError, 7289 ) -> gboolean, 7290 >, 7291 pub unselect_uri: Option<unsafe extern "C" fn(*mut GtkRecentChooser, *const c_char)>, 7292 pub select_all: Option<unsafe extern "C" fn(*mut GtkRecentChooser)>, 7293 pub unselect_all: Option<unsafe extern "C" fn(*mut GtkRecentChooser)>, 7294 pub get_items: Option<unsafe extern "C" fn(*mut GtkRecentChooser) -> *mut glib::GList>, 7295 pub get_recent_manager: 7296 Option<unsafe extern "C" fn(*mut GtkRecentChooser) -> *mut GtkRecentManager>, 7297 pub add_filter: Option<unsafe extern "C" fn(*mut GtkRecentChooser, *mut GtkRecentFilter)>, 7298 pub remove_filter: Option<unsafe extern "C" fn(*mut GtkRecentChooser, *mut GtkRecentFilter)>, 7299 pub list_filters: Option<unsafe extern "C" fn(*mut GtkRecentChooser) -> *mut glib::GSList>, 7300 pub set_sort_func: Option< 7301 unsafe extern "C" fn( 7302 *mut GtkRecentChooser, 7303 GtkRecentSortFunc, 7304 gpointer, 7305 glib::GDestroyNotify, 7306 ), 7307 >, 7308 pub item_activated: Option<unsafe extern "C" fn(*mut GtkRecentChooser)>, 7309 pub selection_changed: Option<unsafe extern "C" fn(*mut GtkRecentChooser)>, 7310 } 7311 7312 impl ::std::fmt::Debug for GtkRecentChooserIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7313 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7314 f.debug_struct(&format!("GtkRecentChooserIface @ {:?}", self as *const _)) 7315 .field("set_current_uri", &self.set_current_uri) 7316 .field("get_current_uri", &self.get_current_uri) 7317 .field("select_uri", &self.select_uri) 7318 .field("unselect_uri", &self.unselect_uri) 7319 .field("select_all", &self.select_all) 7320 .field("unselect_all", &self.unselect_all) 7321 .field("get_items", &self.get_items) 7322 .field("get_recent_manager", &self.get_recent_manager) 7323 .field("add_filter", &self.add_filter) 7324 .field("remove_filter", &self.remove_filter) 7325 .field("list_filters", &self.list_filters) 7326 .field("set_sort_func", &self.set_sort_func) 7327 .field("item_activated", &self.item_activated) 7328 .field("selection_changed", &self.selection_changed) 7329 .finish() 7330 } 7331 } 7332 7333 #[repr(C)] 7334 #[derive(Copy, Clone)] 7335 pub struct GtkRecentChooserMenuClass { 7336 pub parent_class: GtkMenuClass, 7337 pub gtk_recent1: Option<unsafe extern "C" fn()>, 7338 pub gtk_recent2: Option<unsafe extern "C" fn()>, 7339 pub gtk_recent3: Option<unsafe extern "C" fn()>, 7340 pub gtk_recent4: Option<unsafe extern "C" fn()>, 7341 } 7342 7343 impl ::std::fmt::Debug for GtkRecentChooserMenuClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7344 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7345 f.debug_struct(&format!( 7346 "GtkRecentChooserMenuClass @ {:?}", 7347 self as *const _ 7348 )) 7349 .field("parent_class", &self.parent_class) 7350 .field("gtk_recent1", &self.gtk_recent1) 7351 .field("gtk_recent2", &self.gtk_recent2) 7352 .field("gtk_recent3", &self.gtk_recent3) 7353 .field("gtk_recent4", &self.gtk_recent4) 7354 .finish() 7355 } 7356 } 7357 7358 #[repr(C)] 7359 pub struct _GtkRecentChooserMenuPrivate(c_void); 7360 7361 pub type GtkRecentChooserMenuPrivate = *mut _GtkRecentChooserMenuPrivate; 7362 7363 #[repr(C)] 7364 #[derive(Copy, Clone)] 7365 pub struct GtkRecentChooserWidgetClass { 7366 pub parent_class: GtkBoxClass, 7367 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7368 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7369 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7370 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7371 } 7372 7373 impl ::std::fmt::Debug for GtkRecentChooserWidgetClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7374 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7375 f.debug_struct(&format!( 7376 "GtkRecentChooserWidgetClass @ {:?}", 7377 self as *const _ 7378 )) 7379 .field("parent_class", &self.parent_class) 7380 .field("_gtk_reserved1", &self._gtk_reserved1) 7381 .field("_gtk_reserved2", &self._gtk_reserved2) 7382 .field("_gtk_reserved3", &self._gtk_reserved3) 7383 .field("_gtk_reserved4", &self._gtk_reserved4) 7384 .finish() 7385 } 7386 } 7387 7388 #[repr(C)] 7389 pub struct _GtkRecentChooserWidgetPrivate(c_void); 7390 7391 pub type GtkRecentChooserWidgetPrivate = *mut _GtkRecentChooserWidgetPrivate; 7392 7393 #[repr(C)] 7394 #[derive(Copy, Clone)] 7395 pub struct GtkRecentData { 7396 pub display_name: *mut c_char, 7397 pub description: *mut c_char, 7398 pub mime_type: *mut c_char, 7399 pub app_name: *mut c_char, 7400 pub app_exec: *mut c_char, 7401 pub groups: *mut *mut c_char, 7402 pub is_private: gboolean, 7403 } 7404 7405 impl ::std::fmt::Debug for GtkRecentData { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7406 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7407 f.debug_struct(&format!("GtkRecentData @ {:?}", self as *const _)) 7408 .field("display_name", &self.display_name) 7409 .field("description", &self.description) 7410 .field("mime_type", &self.mime_type) 7411 .field("app_name", &self.app_name) 7412 .field("app_exec", &self.app_exec) 7413 .field("groups", &self.groups) 7414 .field("is_private", &self.is_private) 7415 .finish() 7416 } 7417 } 7418 7419 #[repr(C)] 7420 #[derive(Copy, Clone)] 7421 pub struct GtkRecentFilterInfo { 7422 pub contains: GtkRecentFilterFlags, 7423 pub uri: *const c_char, 7424 pub display_name: *const c_char, 7425 pub mime_type: *const c_char, 7426 pub applications: *mut *const c_char, 7427 pub groups: *mut *const c_char, 7428 pub age: c_int, 7429 } 7430 7431 impl ::std::fmt::Debug for GtkRecentFilterInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7432 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7433 f.debug_struct(&format!("GtkRecentFilterInfo @ {:?}", self as *const _)) 7434 .field("contains", &self.contains) 7435 .field("uri", &self.uri) 7436 .field("display_name", &self.display_name) 7437 .field("mime_type", &self.mime_type) 7438 .field("applications", &self.applications) 7439 .field("groups", &self.groups) 7440 .field("age", &self.age) 7441 .finish() 7442 } 7443 } 7444 7445 #[repr(C)] 7446 pub struct GtkRecentInfo(c_void); 7447 7448 impl ::std::fmt::Debug for GtkRecentInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7449 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7450 f.debug_struct(&format!("GtkRecentInfo @ {:?}", self as *const _)) 7451 .finish() 7452 } 7453 } 7454 7455 #[repr(C)] 7456 #[derive(Copy, Clone)] 7457 pub struct GtkRecentManagerClass { 7458 pub parent_class: gobject::GObjectClass, 7459 pub changed: Option<unsafe extern "C" fn(*mut GtkRecentManager)>, 7460 pub _gtk_recent1: Option<unsafe extern "C" fn()>, 7461 pub _gtk_recent2: Option<unsafe extern "C" fn()>, 7462 pub _gtk_recent3: Option<unsafe extern "C" fn()>, 7463 pub _gtk_recent4: Option<unsafe extern "C" fn()>, 7464 } 7465 7466 impl ::std::fmt::Debug for GtkRecentManagerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7467 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7468 f.debug_struct(&format!("GtkRecentManagerClass @ {:?}", self as *const _)) 7469 .field("changed", &self.changed) 7470 .field("_gtk_recent1", &self._gtk_recent1) 7471 .field("_gtk_recent2", &self._gtk_recent2) 7472 .field("_gtk_recent3", &self._gtk_recent3) 7473 .field("_gtk_recent4", &self._gtk_recent4) 7474 .finish() 7475 } 7476 } 7477 7478 #[repr(C)] 7479 pub struct _GtkRecentManagerPrivate(c_void); 7480 7481 pub type GtkRecentManagerPrivate = *mut _GtkRecentManagerPrivate; 7482 7483 #[repr(C)] 7484 #[derive(Copy, Clone)] 7485 pub struct GtkRendererCellAccessibleClass { 7486 pub parent_class: GtkCellAccessibleClass, 7487 } 7488 7489 impl ::std::fmt::Debug for GtkRendererCellAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7490 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7491 f.debug_struct(&format!( 7492 "GtkRendererCellAccessibleClass @ {:?}", 7493 self as *const _ 7494 )) 7495 .field("parent_class", &self.parent_class) 7496 .finish() 7497 } 7498 } 7499 7500 #[repr(C)] 7501 pub struct _GtkRendererCellAccessiblePrivate(c_void); 7502 7503 pub type GtkRendererCellAccessiblePrivate = *mut _GtkRendererCellAccessiblePrivate; 7504 7505 #[repr(C)] 7506 #[derive(Copy, Clone)] 7507 pub struct GtkRequestedSize { 7508 pub data: gpointer, 7509 pub minimum_size: c_int, 7510 pub natural_size: c_int, 7511 } 7512 7513 impl ::std::fmt::Debug for GtkRequestedSize { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7514 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7515 f.debug_struct(&format!("GtkRequestedSize @ {:?}", self as *const _)) 7516 .field("data", &self.data) 7517 .field("minimum_size", &self.minimum_size) 7518 .field("natural_size", &self.natural_size) 7519 .finish() 7520 } 7521 } 7522 7523 #[repr(C)] 7524 #[derive(Copy, Clone)] 7525 pub struct GtkRequisition { 7526 pub width: c_int, 7527 pub height: c_int, 7528 } 7529 7530 impl ::std::fmt::Debug for GtkRequisition { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7531 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7532 f.debug_struct(&format!("GtkRequisition @ {:?}", self as *const _)) 7533 .field("width", &self.width) 7534 .field("height", &self.height) 7535 .finish() 7536 } 7537 } 7538 7539 #[repr(C)] 7540 #[derive(Copy, Clone)] 7541 pub struct GtkRevealerClass { 7542 pub parent_class: GtkBinClass, 7543 } 7544 7545 impl ::std::fmt::Debug for GtkRevealerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7546 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7547 f.debug_struct(&format!("GtkRevealerClass @ {:?}", self as *const _)) 7548 .field("parent_class", &self.parent_class) 7549 .finish() 7550 } 7551 } 7552 7553 #[repr(C)] 7554 #[derive(Copy, Clone)] 7555 pub struct GtkScaleAccessibleClass { 7556 pub parent_class: GtkRangeAccessibleClass, 7557 } 7558 7559 impl ::std::fmt::Debug for GtkScaleAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7560 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7561 f.debug_struct(&format!("GtkScaleAccessibleClass @ {:?}", self as *const _)) 7562 .field("parent_class", &self.parent_class) 7563 .finish() 7564 } 7565 } 7566 7567 #[repr(C)] 7568 pub struct _GtkScaleAccessiblePrivate(c_void); 7569 7570 pub type GtkScaleAccessiblePrivate = *mut _GtkScaleAccessiblePrivate; 7571 7572 #[repr(C)] 7573 #[derive(Copy, Clone)] 7574 pub struct GtkScaleButtonAccessibleClass { 7575 pub parent_class: GtkButtonAccessibleClass, 7576 } 7577 7578 impl ::std::fmt::Debug for GtkScaleButtonAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7579 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7580 f.debug_struct(&format!( 7581 "GtkScaleButtonAccessibleClass @ {:?}", 7582 self as *const _ 7583 )) 7584 .field("parent_class", &self.parent_class) 7585 .finish() 7586 } 7587 } 7588 7589 #[repr(C)] 7590 pub struct _GtkScaleButtonAccessiblePrivate(c_void); 7591 7592 pub type GtkScaleButtonAccessiblePrivate = *mut _GtkScaleButtonAccessiblePrivate; 7593 7594 #[repr(C)] 7595 #[derive(Copy, Clone)] 7596 pub struct GtkScaleButtonClass { 7597 pub parent_class: GtkButtonClass, 7598 pub value_changed: Option<unsafe extern "C" fn(*mut GtkScaleButton, c_double)>, 7599 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7600 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7601 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7602 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7603 } 7604 7605 impl ::std::fmt::Debug for GtkScaleButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7606 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7607 f.debug_struct(&format!("GtkScaleButtonClass @ {:?}", self as *const _)) 7608 .field("parent_class", &self.parent_class) 7609 .field("value_changed", &self.value_changed) 7610 .field("_gtk_reserved1", &self._gtk_reserved1) 7611 .field("_gtk_reserved2", &self._gtk_reserved2) 7612 .field("_gtk_reserved3", &self._gtk_reserved3) 7613 .field("_gtk_reserved4", &self._gtk_reserved4) 7614 .finish() 7615 } 7616 } 7617 7618 #[repr(C)] 7619 pub struct _GtkScaleButtonPrivate(c_void); 7620 7621 pub type GtkScaleButtonPrivate = *mut _GtkScaleButtonPrivate; 7622 7623 #[repr(C)] 7624 #[derive(Copy, Clone)] 7625 pub struct GtkScaleClass { 7626 pub parent_class: GtkRangeClass, 7627 pub format_value: Option<unsafe extern "C" fn(*mut GtkScale, c_double) -> *mut c_char>, 7628 pub draw_value: Option<unsafe extern "C" fn(*mut GtkScale)>, 7629 pub get_layout_offsets: Option<unsafe extern "C" fn(*mut GtkScale, *mut c_int, *mut c_int)>, 7630 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7631 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7632 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7633 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7634 } 7635 7636 impl ::std::fmt::Debug for GtkScaleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7637 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7638 f.debug_struct(&format!("GtkScaleClass @ {:?}", self as *const _)) 7639 .field("parent_class", &self.parent_class) 7640 .field("format_value", &self.format_value) 7641 .field("draw_value", &self.draw_value) 7642 .field("get_layout_offsets", &self.get_layout_offsets) 7643 .field("_gtk_reserved1", &self._gtk_reserved1) 7644 .field("_gtk_reserved2", &self._gtk_reserved2) 7645 .field("_gtk_reserved3", &self._gtk_reserved3) 7646 .field("_gtk_reserved4", &self._gtk_reserved4) 7647 .finish() 7648 } 7649 } 7650 7651 #[repr(C)] 7652 pub struct _GtkScalePrivate(c_void); 7653 7654 pub type GtkScalePrivate = *mut _GtkScalePrivate; 7655 7656 #[repr(C)] 7657 #[derive(Copy, Clone)] 7658 pub struct GtkScrollableInterface { 7659 pub base_iface: gobject::GTypeInterface, 7660 pub get_border: Option<unsafe extern "C" fn(*mut GtkScrollable, *mut GtkBorder) -> gboolean>, 7661 } 7662 7663 impl ::std::fmt::Debug for GtkScrollableInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7664 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7665 f.debug_struct(&format!("GtkScrollableInterface @ {:?}", self as *const _)) 7666 .field("base_iface", &self.base_iface) 7667 .field("get_border", &self.get_border) 7668 .finish() 7669 } 7670 } 7671 7672 #[repr(C)] 7673 #[derive(Copy, Clone)] 7674 pub struct GtkScrollbarClass { 7675 pub parent_class: GtkRangeClass, 7676 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7677 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7678 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7679 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7680 } 7681 7682 impl ::std::fmt::Debug for GtkScrollbarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7683 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7684 f.debug_struct(&format!("GtkScrollbarClass @ {:?}", self as *const _)) 7685 .field("parent_class", &self.parent_class) 7686 .field("_gtk_reserved1", &self._gtk_reserved1) 7687 .field("_gtk_reserved2", &self._gtk_reserved2) 7688 .field("_gtk_reserved3", &self._gtk_reserved3) 7689 .field("_gtk_reserved4", &self._gtk_reserved4) 7690 .finish() 7691 } 7692 } 7693 7694 #[repr(C)] 7695 #[derive(Copy, Clone)] 7696 pub struct GtkScrolledWindowAccessibleClass { 7697 pub parent_class: GtkContainerAccessibleClass, 7698 } 7699 7700 impl ::std::fmt::Debug for GtkScrolledWindowAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7701 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7702 f.debug_struct(&format!( 7703 "GtkScrolledWindowAccessibleClass @ {:?}", 7704 self as *const _ 7705 )) 7706 .field("parent_class", &self.parent_class) 7707 .finish() 7708 } 7709 } 7710 7711 #[repr(C)] 7712 pub struct _GtkScrolledWindowAccessiblePrivate(c_void); 7713 7714 pub type GtkScrolledWindowAccessiblePrivate = *mut _GtkScrolledWindowAccessiblePrivate; 7715 7716 #[repr(C)] 7717 #[derive(Copy, Clone)] 7718 pub struct GtkScrolledWindowClass { 7719 pub parent_class: GtkBinClass, 7720 pub scrollbar_spacing: c_int, 7721 pub scroll_child: 7722 Option<unsafe extern "C" fn(*mut GtkScrolledWindow, GtkScrollType, gboolean) -> gboolean>, 7723 pub move_focus_out: Option<unsafe extern "C" fn(*mut GtkScrolledWindow, GtkDirectionType)>, 7724 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7725 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7726 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7727 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7728 } 7729 7730 impl ::std::fmt::Debug for GtkScrolledWindowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7731 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7732 f.debug_struct(&format!("GtkScrolledWindowClass @ {:?}", self as *const _)) 7733 .field("parent_class", &self.parent_class) 7734 .field("scrollbar_spacing", &self.scrollbar_spacing) 7735 .field("scroll_child", &self.scroll_child) 7736 .field("move_focus_out", &self.move_focus_out) 7737 .field("_gtk_reserved1", &self._gtk_reserved1) 7738 .field("_gtk_reserved2", &self._gtk_reserved2) 7739 .field("_gtk_reserved3", &self._gtk_reserved3) 7740 .field("_gtk_reserved4", &self._gtk_reserved4) 7741 .finish() 7742 } 7743 } 7744 7745 #[repr(C)] 7746 pub struct _GtkScrolledWindowPrivate(c_void); 7747 7748 pub type GtkScrolledWindowPrivate = *mut _GtkScrolledWindowPrivate; 7749 7750 #[repr(C)] 7751 #[derive(Copy, Clone)] 7752 pub struct GtkSearchBarClass { 7753 pub parent_class: GtkBinClass, 7754 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7755 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7756 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7757 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7758 } 7759 7760 impl ::std::fmt::Debug for GtkSearchBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7761 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7762 f.debug_struct(&format!("GtkSearchBarClass @ {:?}", self as *const _)) 7763 .field("parent_class", &self.parent_class) 7764 .field("_gtk_reserved1", &self._gtk_reserved1) 7765 .field("_gtk_reserved2", &self._gtk_reserved2) 7766 .field("_gtk_reserved3", &self._gtk_reserved3) 7767 .field("_gtk_reserved4", &self._gtk_reserved4) 7768 .finish() 7769 } 7770 } 7771 7772 #[repr(C)] 7773 #[derive(Copy, Clone)] 7774 pub struct GtkSearchEntryClass { 7775 pub parent_class: GtkEntryClass, 7776 pub search_changed: Option<unsafe extern "C" fn(*mut GtkSearchEntry)>, 7777 pub next_match: Option<unsafe extern "C" fn(*mut GtkSearchEntry)>, 7778 pub previous_match: Option<unsafe extern "C" fn(*mut GtkSearchEntry)>, 7779 pub stop_search: Option<unsafe extern "C" fn(*mut GtkSearchEntry)>, 7780 } 7781 7782 impl ::std::fmt::Debug for GtkSearchEntryClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7783 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7784 f.debug_struct(&format!("GtkSearchEntryClass @ {:?}", self as *const _)) 7785 .field("parent_class", &self.parent_class) 7786 .field("search_changed", &self.search_changed) 7787 .field("next_match", &self.next_match) 7788 .field("previous_match", &self.previous_match) 7789 .field("stop_search", &self.stop_search) 7790 .finish() 7791 } 7792 } 7793 7794 #[repr(C)] 7795 pub struct GtkSelectionData(c_void); 7796 7797 impl ::std::fmt::Debug for GtkSelectionData { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7798 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7799 f.debug_struct(&format!("GtkSelectionData @ {:?}", self as *const _)) 7800 .finish() 7801 } 7802 } 7803 7804 #[repr(C)] 7805 #[derive(Copy, Clone)] 7806 pub struct GtkSeparatorClass { 7807 pub parent_class: GtkWidgetClass, 7808 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7809 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7810 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7811 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7812 } 7813 7814 impl ::std::fmt::Debug for GtkSeparatorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7815 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7816 f.debug_struct(&format!("GtkSeparatorClass @ {:?}", self as *const _)) 7817 .field("parent_class", &self.parent_class) 7818 .field("_gtk_reserved1", &self._gtk_reserved1) 7819 .field("_gtk_reserved2", &self._gtk_reserved2) 7820 .field("_gtk_reserved3", &self._gtk_reserved3) 7821 .field("_gtk_reserved4", &self._gtk_reserved4) 7822 .finish() 7823 } 7824 } 7825 7826 #[repr(C)] 7827 #[derive(Copy, Clone)] 7828 pub struct GtkSeparatorMenuItemClass { 7829 pub parent_class: GtkMenuItemClass, 7830 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7831 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7832 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7833 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7834 } 7835 7836 impl ::std::fmt::Debug for GtkSeparatorMenuItemClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7837 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7838 f.debug_struct(&format!( 7839 "GtkSeparatorMenuItemClass @ {:?}", 7840 self as *const _ 7841 )) 7842 .field("parent_class", &self.parent_class) 7843 .field("_gtk_reserved1", &self._gtk_reserved1) 7844 .field("_gtk_reserved2", &self._gtk_reserved2) 7845 .field("_gtk_reserved3", &self._gtk_reserved3) 7846 .field("_gtk_reserved4", &self._gtk_reserved4) 7847 .finish() 7848 } 7849 } 7850 7851 #[repr(C)] 7852 pub struct _GtkSeparatorPrivate(c_void); 7853 7854 pub type GtkSeparatorPrivate = *mut _GtkSeparatorPrivate; 7855 7856 #[repr(C)] 7857 #[derive(Copy, Clone)] 7858 pub struct GtkSeparatorToolItemClass { 7859 pub parent_class: GtkToolItemClass, 7860 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7861 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7862 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7863 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7864 } 7865 7866 impl ::std::fmt::Debug for GtkSeparatorToolItemClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7867 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7868 f.debug_struct(&format!( 7869 "GtkSeparatorToolItemClass @ {:?}", 7870 self as *const _ 7871 )) 7872 .field("parent_class", &self.parent_class) 7873 .field("_gtk_reserved1", &self._gtk_reserved1) 7874 .field("_gtk_reserved2", &self._gtk_reserved2) 7875 .field("_gtk_reserved3", &self._gtk_reserved3) 7876 .field("_gtk_reserved4", &self._gtk_reserved4) 7877 .finish() 7878 } 7879 } 7880 7881 #[repr(C)] 7882 pub struct _GtkSeparatorToolItemPrivate(c_void); 7883 7884 pub type GtkSeparatorToolItemPrivate = *mut _GtkSeparatorToolItemPrivate; 7885 7886 #[repr(C)] 7887 #[derive(Copy, Clone)] 7888 pub struct GtkSettingsClass { 7889 pub parent_class: gobject::GObjectClass, 7890 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7891 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7892 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7893 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7894 } 7895 7896 impl ::std::fmt::Debug for GtkSettingsClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7897 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7898 f.debug_struct(&format!("GtkSettingsClass @ {:?}", self as *const _)) 7899 .field("parent_class", &self.parent_class) 7900 .field("_gtk_reserved1", &self._gtk_reserved1) 7901 .field("_gtk_reserved2", &self._gtk_reserved2) 7902 .field("_gtk_reserved3", &self._gtk_reserved3) 7903 .field("_gtk_reserved4", &self._gtk_reserved4) 7904 .finish() 7905 } 7906 } 7907 7908 #[repr(C)] 7909 pub struct _GtkSettingsPrivate(c_void); 7910 7911 pub type GtkSettingsPrivate = *mut _GtkSettingsPrivate; 7912 7913 #[repr(C)] 7914 #[derive(Copy, Clone)] 7915 pub struct GtkSettingsValue { 7916 pub origin: *mut c_char, 7917 pub value: gobject::GValue, 7918 } 7919 7920 impl ::std::fmt::Debug for GtkSettingsValue { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7921 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7922 f.debug_struct(&format!("GtkSettingsValue @ {:?}", self as *const _)) 7923 .field("origin", &self.origin) 7924 .field("value", &self.value) 7925 .finish() 7926 } 7927 } 7928 7929 #[repr(C)] 7930 pub struct _GtkShortcutLabelClass(c_void); 7931 7932 pub type GtkShortcutLabelClass = *mut _GtkShortcutLabelClass; 7933 7934 #[repr(C)] 7935 pub struct _GtkShortcutsGroupClass(c_void); 7936 7937 pub type GtkShortcutsGroupClass = *mut _GtkShortcutsGroupClass; 7938 7939 #[repr(C)] 7940 pub struct _GtkShortcutsSectionClass(c_void); 7941 7942 pub type GtkShortcutsSectionClass = *mut _GtkShortcutsSectionClass; 7943 7944 #[repr(C)] 7945 pub struct _GtkShortcutsShortcutClass(c_void); 7946 7947 pub type GtkShortcutsShortcutClass = *mut _GtkShortcutsShortcutClass; 7948 7949 #[repr(C)] 7950 #[derive(Copy, Clone)] 7951 pub struct GtkShortcutsWindowClass { 7952 pub parent_class: GtkWindowClass, 7953 pub close: Option<unsafe extern "C" fn(*mut GtkShortcutsWindow)>, 7954 pub search: Option<unsafe extern "C" fn(*mut GtkShortcutsWindow)>, 7955 } 7956 7957 impl ::std::fmt::Debug for GtkShortcutsWindowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7958 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7959 f.debug_struct(&format!("GtkShortcutsWindowClass @ {:?}", self as *const _)) 7960 .field("parent_class", &self.parent_class) 7961 .field("close", &self.close) 7962 .field("search", &self.search) 7963 .finish() 7964 } 7965 } 7966 7967 #[repr(C)] 7968 #[derive(Copy, Clone)] 7969 pub struct GtkSizeGroupClass { 7970 pub parent_class: gobject::GObjectClass, 7971 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 7972 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 7973 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 7974 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 7975 } 7976 7977 impl ::std::fmt::Debug for GtkSizeGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7978 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7979 f.debug_struct(&format!("GtkSizeGroupClass @ {:?}", self as *const _)) 7980 .field("parent_class", &self.parent_class) 7981 .field("_gtk_reserved1", &self._gtk_reserved1) 7982 .field("_gtk_reserved2", &self._gtk_reserved2) 7983 .field("_gtk_reserved3", &self._gtk_reserved3) 7984 .field("_gtk_reserved4", &self._gtk_reserved4) 7985 .finish() 7986 } 7987 } 7988 7989 #[repr(C)] 7990 pub struct _GtkSizeGroupPrivate(c_void); 7991 7992 pub type GtkSizeGroupPrivate = *mut _GtkSizeGroupPrivate; 7993 7994 #[repr(C)] 7995 #[derive(Copy, Clone)] 7996 pub struct GtkSocketClass { 7997 pub parent_class: GtkContainerClass, 7998 pub plug_added: Option<unsafe extern "C" fn(*mut GtkSocket)>, 7999 pub plug_removed: Option<unsafe extern "C" fn(*mut GtkSocket) -> gboolean>, 8000 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8001 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8002 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8003 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8004 } 8005 8006 impl ::std::fmt::Debug for GtkSocketClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8007 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8008 f.debug_struct(&format!("GtkSocketClass @ {:?}", self as *const _)) 8009 .field("parent_class", &self.parent_class) 8010 .field("plug_added", &self.plug_added) 8011 .field("plug_removed", &self.plug_removed) 8012 .field("_gtk_reserved1", &self._gtk_reserved1) 8013 .field("_gtk_reserved2", &self._gtk_reserved2) 8014 .field("_gtk_reserved3", &self._gtk_reserved3) 8015 .field("_gtk_reserved4", &self._gtk_reserved4) 8016 .finish() 8017 } 8018 } 8019 8020 #[repr(C)] 8021 pub struct _GtkSocketPrivate(c_void); 8022 8023 pub type GtkSocketPrivate = *mut _GtkSocketPrivate; 8024 8025 #[repr(C)] 8026 #[derive(Copy, Clone)] 8027 pub struct GtkSpinButtonAccessibleClass { 8028 pub parent_class: GtkEntryAccessibleClass, 8029 } 8030 8031 impl ::std::fmt::Debug for GtkSpinButtonAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8032 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8033 f.debug_struct(&format!( 8034 "GtkSpinButtonAccessibleClass @ {:?}", 8035 self as *const _ 8036 )) 8037 .field("parent_class", &self.parent_class) 8038 .finish() 8039 } 8040 } 8041 8042 #[repr(C)] 8043 pub struct _GtkSpinButtonAccessiblePrivate(c_void); 8044 8045 pub type GtkSpinButtonAccessiblePrivate = *mut _GtkSpinButtonAccessiblePrivate; 8046 8047 #[repr(C)] 8048 #[derive(Copy, Clone)] 8049 pub struct GtkSpinButtonClass { 8050 pub parent_class: GtkEntryClass, 8051 pub input: Option<unsafe extern "C" fn(*mut GtkSpinButton, *mut c_double) -> c_int>, 8052 pub output: Option<unsafe extern "C" fn(*mut GtkSpinButton) -> c_int>, 8053 pub value_changed: Option<unsafe extern "C" fn(*mut GtkSpinButton)>, 8054 pub change_value: Option<unsafe extern "C" fn(*mut GtkSpinButton, GtkScrollType)>, 8055 pub wrapped: Option<unsafe extern "C" fn(*mut GtkSpinButton)>, 8056 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8057 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8058 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8059 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8060 } 8061 8062 impl ::std::fmt::Debug for GtkSpinButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8063 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8064 f.debug_struct(&format!("GtkSpinButtonClass @ {:?}", self as *const _)) 8065 .field("parent_class", &self.parent_class) 8066 .field("input", &self.input) 8067 .field("output", &self.output) 8068 .field("value_changed", &self.value_changed) 8069 .field("change_value", &self.change_value) 8070 .field("wrapped", &self.wrapped) 8071 .field("_gtk_reserved1", &self._gtk_reserved1) 8072 .field("_gtk_reserved2", &self._gtk_reserved2) 8073 .field("_gtk_reserved3", &self._gtk_reserved3) 8074 .field("_gtk_reserved4", &self._gtk_reserved4) 8075 .finish() 8076 } 8077 } 8078 8079 #[repr(C)] 8080 pub struct _GtkSpinButtonPrivate(c_void); 8081 8082 pub type GtkSpinButtonPrivate = *mut _GtkSpinButtonPrivate; 8083 8084 #[repr(C)] 8085 #[derive(Copy, Clone)] 8086 pub struct GtkSpinnerAccessibleClass { 8087 pub parent_class: GtkWidgetAccessibleClass, 8088 } 8089 8090 impl ::std::fmt::Debug for GtkSpinnerAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8091 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8092 f.debug_struct(&format!( 8093 "GtkSpinnerAccessibleClass @ {:?}", 8094 self as *const _ 8095 )) 8096 .field("parent_class", &self.parent_class) 8097 .finish() 8098 } 8099 } 8100 8101 #[repr(C)] 8102 pub struct _GtkSpinnerAccessiblePrivate(c_void); 8103 8104 pub type GtkSpinnerAccessiblePrivate = *mut _GtkSpinnerAccessiblePrivate; 8105 8106 #[repr(C)] 8107 #[derive(Copy, Clone)] 8108 pub struct GtkSpinnerClass { 8109 pub parent_class: GtkWidgetClass, 8110 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8111 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8112 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8113 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8114 } 8115 8116 impl ::std::fmt::Debug for GtkSpinnerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8117 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8118 f.debug_struct(&format!("GtkSpinnerClass @ {:?}", self as *const _)) 8119 .field("parent_class", &self.parent_class) 8120 .field("_gtk_reserved1", &self._gtk_reserved1) 8121 .field("_gtk_reserved2", &self._gtk_reserved2) 8122 .field("_gtk_reserved3", &self._gtk_reserved3) 8123 .field("_gtk_reserved4", &self._gtk_reserved4) 8124 .finish() 8125 } 8126 } 8127 8128 #[repr(C)] 8129 pub struct _GtkSpinnerPrivate(c_void); 8130 8131 pub type GtkSpinnerPrivate = *mut _GtkSpinnerPrivate; 8132 8133 #[repr(C)] 8134 #[derive(Copy, Clone)] 8135 pub struct GtkStackAccessibleClass { 8136 pub parent_class: GtkContainerAccessibleClass, 8137 } 8138 8139 impl ::std::fmt::Debug for GtkStackAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8140 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8141 f.debug_struct(&format!("GtkStackAccessibleClass @ {:?}", self as *const _)) 8142 .field("parent_class", &self.parent_class) 8143 .finish() 8144 } 8145 } 8146 8147 #[repr(C)] 8148 #[derive(Copy, Clone)] 8149 pub struct GtkStackClass { 8150 pub parent_class: GtkContainerClass, 8151 } 8152 8153 impl ::std::fmt::Debug for GtkStackClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8154 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8155 f.debug_struct(&format!("GtkStackClass @ {:?}", self as *const _)) 8156 .field("parent_class", &self.parent_class) 8157 .finish() 8158 } 8159 } 8160 8161 #[repr(C)] 8162 #[derive(Copy, Clone)] 8163 pub struct GtkStackSidebarClass { 8164 pub parent_class: GtkBinClass, 8165 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8166 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8167 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8168 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8169 } 8170 8171 impl ::std::fmt::Debug for GtkStackSidebarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8172 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8173 f.debug_struct(&format!("GtkStackSidebarClass @ {:?}", self as *const _)) 8174 .field("parent_class", &self.parent_class) 8175 .field("_gtk_reserved1", &self._gtk_reserved1) 8176 .field("_gtk_reserved2", &self._gtk_reserved2) 8177 .field("_gtk_reserved3", &self._gtk_reserved3) 8178 .field("_gtk_reserved4", &self._gtk_reserved4) 8179 .finish() 8180 } 8181 } 8182 8183 #[repr(C)] 8184 pub struct _GtkStackSidebarPrivate(c_void); 8185 8186 pub type GtkStackSidebarPrivate = *mut _GtkStackSidebarPrivate; 8187 8188 #[repr(C)] 8189 #[derive(Copy, Clone)] 8190 pub struct GtkStackSwitcherClass { 8191 pub parent_class: GtkBoxClass, 8192 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8193 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8194 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8195 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8196 } 8197 8198 impl ::std::fmt::Debug for GtkStackSwitcherClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8199 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8200 f.debug_struct(&format!("GtkStackSwitcherClass @ {:?}", self as *const _)) 8201 .field("parent_class", &self.parent_class) 8202 .field("_gtk_reserved1", &self._gtk_reserved1) 8203 .field("_gtk_reserved2", &self._gtk_reserved2) 8204 .field("_gtk_reserved3", &self._gtk_reserved3) 8205 .field("_gtk_reserved4", &self._gtk_reserved4) 8206 .finish() 8207 } 8208 } 8209 8210 #[repr(C)] 8211 #[derive(Copy, Clone)] 8212 pub struct GtkStatusIconClass { 8213 pub parent_class: gobject::GObjectClass, 8214 pub activate: Option<unsafe extern "C" fn(*mut GtkStatusIcon)>, 8215 pub popup_menu: Option<unsafe extern "C" fn(*mut GtkStatusIcon, c_uint, u32)>, 8216 pub size_changed: Option<unsafe extern "C" fn(*mut GtkStatusIcon, c_int) -> gboolean>, 8217 pub button_press_event: 8218 Option<unsafe extern "C" fn(*mut GtkStatusIcon, *mut gdk::GdkEventButton) -> gboolean>, 8219 pub button_release_event: 8220 Option<unsafe extern "C" fn(*mut GtkStatusIcon, *mut gdk::GdkEventButton) -> gboolean>, 8221 pub scroll_event: 8222 Option<unsafe extern "C" fn(*mut GtkStatusIcon, *mut gdk::GdkEventScroll) -> gboolean>, 8223 pub query_tooltip: Option< 8224 unsafe extern "C" fn( 8225 *mut GtkStatusIcon, 8226 c_int, 8227 c_int, 8228 gboolean, 8229 *mut GtkTooltip, 8230 ) -> gboolean, 8231 >, 8232 pub __gtk_reserved1: Option<unsafe extern "C" fn()>, 8233 pub __gtk_reserved2: Option<unsafe extern "C" fn()>, 8234 pub __gtk_reserved3: Option<unsafe extern "C" fn()>, 8235 pub __gtk_reserved4: Option<unsafe extern "C" fn()>, 8236 } 8237 8238 impl ::std::fmt::Debug for GtkStatusIconClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8239 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8240 f.debug_struct(&format!("GtkStatusIconClass @ {:?}", self as *const _)) 8241 .field("parent_class", &self.parent_class) 8242 .field("activate", &self.activate) 8243 .field("popup_menu", &self.popup_menu) 8244 .field("size_changed", &self.size_changed) 8245 .field("button_press_event", &self.button_press_event) 8246 .field("button_release_event", &self.button_release_event) 8247 .field("scroll_event", &self.scroll_event) 8248 .field("query_tooltip", &self.query_tooltip) 8249 .field("__gtk_reserved1", &self.__gtk_reserved1) 8250 .field("__gtk_reserved2", &self.__gtk_reserved2) 8251 .field("__gtk_reserved3", &self.__gtk_reserved3) 8252 .field("__gtk_reserved4", &self.__gtk_reserved4) 8253 .finish() 8254 } 8255 } 8256 8257 #[repr(C)] 8258 pub struct _GtkStatusIconPrivate(c_void); 8259 8260 pub type GtkStatusIconPrivate = *mut _GtkStatusIconPrivate; 8261 8262 #[repr(C)] 8263 #[derive(Copy, Clone)] 8264 pub struct GtkStatusbarAccessibleClass { 8265 pub parent_class: GtkContainerAccessibleClass, 8266 } 8267 8268 impl ::std::fmt::Debug for GtkStatusbarAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8269 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8270 f.debug_struct(&format!( 8271 "GtkStatusbarAccessibleClass @ {:?}", 8272 self as *const _ 8273 )) 8274 .field("parent_class", &self.parent_class) 8275 .finish() 8276 } 8277 } 8278 8279 #[repr(C)] 8280 pub struct _GtkStatusbarAccessiblePrivate(c_void); 8281 8282 pub type GtkStatusbarAccessiblePrivate = *mut _GtkStatusbarAccessiblePrivate; 8283 8284 #[repr(C)] 8285 #[derive(Copy, Clone)] 8286 pub struct GtkStatusbarClass { 8287 pub parent_class: GtkBoxClass, 8288 pub reserved: gpointer, 8289 pub text_pushed: Option<unsafe extern "C" fn(*mut GtkStatusbar, c_uint, *const c_char)>, 8290 pub text_popped: Option<unsafe extern "C" fn(*mut GtkStatusbar, c_uint, *const c_char)>, 8291 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8292 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8293 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8294 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8295 } 8296 8297 impl ::std::fmt::Debug for GtkStatusbarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8298 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8299 f.debug_struct(&format!("GtkStatusbarClass @ {:?}", self as *const _)) 8300 .field("parent_class", &self.parent_class) 8301 .field("reserved", &self.reserved) 8302 .field("text_pushed", &self.text_pushed) 8303 .field("text_popped", &self.text_popped) 8304 .field("_gtk_reserved1", &self._gtk_reserved1) 8305 .field("_gtk_reserved2", &self._gtk_reserved2) 8306 .field("_gtk_reserved3", &self._gtk_reserved3) 8307 .field("_gtk_reserved4", &self._gtk_reserved4) 8308 .finish() 8309 } 8310 } 8311 8312 #[repr(C)] 8313 pub struct _GtkStatusbarPrivate(c_void); 8314 8315 pub type GtkStatusbarPrivate = *mut _GtkStatusbarPrivate; 8316 8317 #[repr(C)] 8318 #[derive(Copy, Clone)] 8319 pub struct GtkStockItem { 8320 pub stock_id: *mut c_char, 8321 pub label: *mut c_char, 8322 pub modifier: gdk::GdkModifierType, 8323 pub keyval: c_uint, 8324 pub translation_domain: *mut c_char, 8325 } 8326 8327 impl ::std::fmt::Debug for GtkStockItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8328 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8329 f.debug_struct(&format!("GtkStockItem @ {:?}", self as *const _)) 8330 .field("stock_id", &self.stock_id) 8331 .field("label", &self.label) 8332 .field("modifier", &self.modifier) 8333 .field("keyval", &self.keyval) 8334 .field("translation_domain", &self.translation_domain) 8335 .finish() 8336 } 8337 } 8338 8339 #[repr(C)] 8340 #[derive(Copy, Clone)] 8341 pub struct GtkStyleClass { 8342 pub parent_class: gobject::GObjectClass, 8343 pub realize: Option<unsafe extern "C" fn(*mut GtkStyle)>, 8344 pub unrealize: Option<unsafe extern "C" fn(*mut GtkStyle)>, 8345 pub copy: Option<unsafe extern "C" fn(*mut GtkStyle, *mut GtkStyle)>, 8346 pub clone: Option<unsafe extern "C" fn(*mut GtkStyle) -> *mut GtkStyle>, 8347 pub init_from_rc: Option<unsafe extern "C" fn(*mut GtkStyle, *mut GtkRcStyle)>, 8348 pub set_background: 8349 Option<unsafe extern "C" fn(*mut GtkStyle, *mut gdk::GdkWindow, GtkStateType)>, 8350 pub render_icon: Option< 8351 unsafe extern "C" fn( 8352 *mut GtkStyle, 8353 *const GtkIconSource, 8354 GtkTextDirection, 8355 GtkStateType, 8356 GtkIconSize, 8357 *mut GtkWidget, 8358 *const c_char, 8359 ) -> *mut gdk_pixbuf::GdkPixbuf, 8360 >, 8361 pub draw_hline: Option< 8362 unsafe extern "C" fn( 8363 *mut GtkStyle, 8364 *mut cairo::cairo_t, 8365 GtkStateType, 8366 *mut GtkWidget, 8367 *const c_char, 8368 c_int, 8369 c_int, 8370 c_int, 8371 ), 8372 >, 8373 pub draw_vline: Option< 8374 unsafe extern "C" fn( 8375 *mut GtkStyle, 8376 *mut cairo::cairo_t, 8377 GtkStateType, 8378 *mut GtkWidget, 8379 *const c_char, 8380 c_int, 8381 c_int, 8382 c_int, 8383 ), 8384 >, 8385 pub draw_shadow: Option< 8386 unsafe extern "C" fn( 8387 *mut GtkStyle, 8388 *mut cairo::cairo_t, 8389 GtkStateType, 8390 GtkShadowType, 8391 *mut GtkWidget, 8392 *const c_char, 8393 c_int, 8394 c_int, 8395 c_int, 8396 c_int, 8397 ), 8398 >, 8399 pub draw_arrow: Option< 8400 unsafe extern "C" fn( 8401 *mut GtkStyle, 8402 *mut cairo::cairo_t, 8403 GtkStateType, 8404 GtkShadowType, 8405 *mut GtkWidget, 8406 *const c_char, 8407 GtkArrowType, 8408 gboolean, 8409 c_int, 8410 c_int, 8411 c_int, 8412 c_int, 8413 ), 8414 >, 8415 pub draw_diamond: Option< 8416 unsafe extern "C" fn( 8417 *mut GtkStyle, 8418 *mut cairo::cairo_t, 8419 GtkStateType, 8420 GtkShadowType, 8421 *mut GtkWidget, 8422 *const c_char, 8423 c_int, 8424 c_int, 8425 c_int, 8426 c_int, 8427 ), 8428 >, 8429 pub draw_box: Option< 8430 unsafe extern "C" fn( 8431 *mut GtkStyle, 8432 *mut cairo::cairo_t, 8433 GtkStateType, 8434 GtkShadowType, 8435 *mut GtkWidget, 8436 *const c_char, 8437 c_int, 8438 c_int, 8439 c_int, 8440 c_int, 8441 ), 8442 >, 8443 pub draw_flat_box: Option< 8444 unsafe extern "C" fn( 8445 *mut GtkStyle, 8446 *mut cairo::cairo_t, 8447 GtkStateType, 8448 GtkShadowType, 8449 *mut GtkWidget, 8450 *const c_char, 8451 c_int, 8452 c_int, 8453 c_int, 8454 c_int, 8455 ), 8456 >, 8457 pub draw_check: Option< 8458 unsafe extern "C" fn( 8459 *mut GtkStyle, 8460 *mut cairo::cairo_t, 8461 GtkStateType, 8462 GtkShadowType, 8463 *mut GtkWidget, 8464 *const c_char, 8465 c_int, 8466 c_int, 8467 c_int, 8468 c_int, 8469 ), 8470 >, 8471 pub draw_option: 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 ), 8484 >, 8485 pub draw_tab: Option< 8486 unsafe extern "C" fn( 8487 *mut GtkStyle, 8488 *mut cairo::cairo_t, 8489 GtkStateType, 8490 GtkShadowType, 8491 *mut GtkWidget, 8492 *const c_char, 8493 c_int, 8494 c_int, 8495 c_int, 8496 c_int, 8497 ), 8498 >, 8499 pub draw_shadow_gap: Option< 8500 unsafe extern "C" fn( 8501 *mut GtkStyle, 8502 *mut cairo::cairo_t, 8503 GtkStateType, 8504 GtkShadowType, 8505 *mut GtkWidget, 8506 *const c_char, 8507 c_int, 8508 c_int, 8509 c_int, 8510 c_int, 8511 GtkPositionType, 8512 c_int, 8513 c_int, 8514 ), 8515 >, 8516 pub draw_box_gap: 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 GtkPositionType, 8529 c_int, 8530 c_int, 8531 ), 8532 >, 8533 pub draw_extension: Option< 8534 unsafe extern "C" fn( 8535 *mut GtkStyle, 8536 *mut cairo::cairo_t, 8537 GtkStateType, 8538 GtkShadowType, 8539 *mut GtkWidget, 8540 *const c_char, 8541 c_int, 8542 c_int, 8543 c_int, 8544 c_int, 8545 GtkPositionType, 8546 ), 8547 >, 8548 pub draw_focus: Option< 8549 unsafe extern "C" fn( 8550 *mut GtkStyle, 8551 *mut cairo::cairo_t, 8552 GtkStateType, 8553 *mut GtkWidget, 8554 *const c_char, 8555 c_int, 8556 c_int, 8557 c_int, 8558 c_int, 8559 ), 8560 >, 8561 pub draw_slider: Option< 8562 unsafe extern "C" fn( 8563 *mut GtkStyle, 8564 *mut cairo::cairo_t, 8565 GtkStateType, 8566 GtkShadowType, 8567 *mut GtkWidget, 8568 *const c_char, 8569 c_int, 8570 c_int, 8571 c_int, 8572 c_int, 8573 GtkOrientation, 8574 ), 8575 >, 8576 pub draw_handle: Option< 8577 unsafe extern "C" fn( 8578 *mut GtkStyle, 8579 *mut cairo::cairo_t, 8580 GtkStateType, 8581 GtkShadowType, 8582 *mut GtkWidget, 8583 *const c_char, 8584 c_int, 8585 c_int, 8586 c_int, 8587 c_int, 8588 GtkOrientation, 8589 ), 8590 >, 8591 pub draw_expander: Option< 8592 unsafe extern "C" fn( 8593 *mut GtkStyle, 8594 *mut cairo::cairo_t, 8595 GtkStateType, 8596 *mut GtkWidget, 8597 *const c_char, 8598 c_int, 8599 c_int, 8600 GtkExpanderStyle, 8601 ), 8602 >, 8603 pub draw_layout: Option< 8604 unsafe extern "C" fn( 8605 *mut GtkStyle, 8606 *mut cairo::cairo_t, 8607 GtkStateType, 8608 gboolean, 8609 *mut GtkWidget, 8610 *const c_char, 8611 c_int, 8612 c_int, 8613 *mut pango::PangoLayout, 8614 ), 8615 >, 8616 pub draw_resize_grip: Option< 8617 unsafe extern "C" fn( 8618 *mut GtkStyle, 8619 *mut cairo::cairo_t, 8620 GtkStateType, 8621 *mut GtkWidget, 8622 *const c_char, 8623 gdk::GdkWindowEdge, 8624 c_int, 8625 c_int, 8626 c_int, 8627 c_int, 8628 ), 8629 >, 8630 pub draw_spinner: Option< 8631 unsafe extern "C" fn( 8632 *mut GtkStyle, 8633 *mut cairo::cairo_t, 8634 GtkStateType, 8635 *mut GtkWidget, 8636 *const c_char, 8637 c_uint, 8638 c_int, 8639 c_int, 8640 c_int, 8641 c_int, 8642 ), 8643 >, 8644 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8645 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8646 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8647 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8648 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 8649 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 8650 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 8651 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 8652 pub _gtk_reserved9: Option<unsafe extern "C" fn()>, 8653 pub _gtk_reserved10: Option<unsafe extern "C" fn()>, 8654 pub _gtk_reserved11: Option<unsafe extern "C" fn()>, 8655 } 8656 8657 impl ::std::fmt::Debug for GtkStyleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8658 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8659 f.debug_struct(&format!("GtkStyleClass @ {:?}", self as *const _)) 8660 .field("parent_class", &self.parent_class) 8661 .field("realize", &self.realize) 8662 .field("unrealize", &self.unrealize) 8663 .field("copy", &self.copy) 8664 .field("clone", &self.clone) 8665 .field("init_from_rc", &self.init_from_rc) 8666 .field("set_background", &self.set_background) 8667 .field("render_icon", &self.render_icon) 8668 .field("draw_hline", &self.draw_hline) 8669 .field("draw_vline", &self.draw_vline) 8670 .field("draw_shadow", &self.draw_shadow) 8671 .field("draw_arrow", &self.draw_arrow) 8672 .field("draw_diamond", &self.draw_diamond) 8673 .field("draw_box", &self.draw_box) 8674 .field("draw_flat_box", &self.draw_flat_box) 8675 .field("draw_check", &self.draw_check) 8676 .field("draw_option", &self.draw_option) 8677 .field("draw_tab", &self.draw_tab) 8678 .field("draw_extension", &self.draw_extension) 8679 .field("draw_focus", &self.draw_focus) 8680 .field("draw_slider", &self.draw_slider) 8681 .field("draw_handle", &self.draw_handle) 8682 .field("draw_expander", &self.draw_expander) 8683 .field("draw_layout", &self.draw_layout) 8684 .field("draw_resize_grip", &self.draw_resize_grip) 8685 .field("draw_spinner", &self.draw_spinner) 8686 .field("_gtk_reserved1", &self._gtk_reserved1) 8687 .field("_gtk_reserved2", &self._gtk_reserved2) 8688 .field("_gtk_reserved3", &self._gtk_reserved3) 8689 .field("_gtk_reserved4", &self._gtk_reserved4) 8690 .field("_gtk_reserved5", &self._gtk_reserved5) 8691 .field("_gtk_reserved6", &self._gtk_reserved6) 8692 .field("_gtk_reserved7", &self._gtk_reserved7) 8693 .field("_gtk_reserved8", &self._gtk_reserved8) 8694 .field("_gtk_reserved9", &self._gtk_reserved9) 8695 .field("_gtk_reserved10", &self._gtk_reserved10) 8696 .field("_gtk_reserved11", &self._gtk_reserved11) 8697 .finish() 8698 } 8699 } 8700 8701 #[repr(C)] 8702 #[derive(Copy, Clone)] 8703 pub struct GtkStyleContextClass { 8704 pub parent_class: gobject::GObjectClass, 8705 pub changed: Option<unsafe extern "C" fn(*mut GtkStyleContext)>, 8706 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8707 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8708 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8709 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8710 } 8711 8712 impl ::std::fmt::Debug for GtkStyleContextClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8713 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8714 f.debug_struct(&format!("GtkStyleContextClass @ {:?}", self as *const _)) 8715 .field("parent_class", &self.parent_class) 8716 .field("changed", &self.changed) 8717 .field("_gtk_reserved1", &self._gtk_reserved1) 8718 .field("_gtk_reserved2", &self._gtk_reserved2) 8719 .field("_gtk_reserved3", &self._gtk_reserved3) 8720 .field("_gtk_reserved4", &self._gtk_reserved4) 8721 .finish() 8722 } 8723 } 8724 8725 #[repr(C)] 8726 pub struct _GtkStyleContextPrivate(c_void); 8727 8728 pub type GtkStyleContextPrivate = *mut _GtkStyleContextPrivate; 8729 8730 #[repr(C)] 8731 #[derive(Copy, Clone)] 8732 pub struct GtkStylePropertiesClass { 8733 pub parent_class: gobject::GObjectClass, 8734 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8735 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8736 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8737 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8738 } 8739 8740 impl ::std::fmt::Debug for GtkStylePropertiesClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8741 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8742 f.debug_struct(&format!("GtkStylePropertiesClass @ {:?}", self as *const _)) 8743 .field("_gtk_reserved1", &self._gtk_reserved1) 8744 .field("_gtk_reserved2", &self._gtk_reserved2) 8745 .field("_gtk_reserved3", &self._gtk_reserved3) 8746 .field("_gtk_reserved4", &self._gtk_reserved4) 8747 .finish() 8748 } 8749 } 8750 8751 #[repr(C)] 8752 pub struct _GtkStylePropertiesPrivate(c_void); 8753 8754 pub type GtkStylePropertiesPrivate = *mut _GtkStylePropertiesPrivate; 8755 8756 #[repr(C)] 8757 #[derive(Copy, Clone)] 8758 pub struct GtkStyleProviderIface { 8759 pub g_iface: gobject::GTypeInterface, 8760 pub get_style: Option< 8761 unsafe extern "C" fn(*mut GtkStyleProvider, *mut GtkWidgetPath) -> *mut GtkStyleProperties, 8762 >, 8763 pub get_style_property: Option< 8764 unsafe extern "C" fn( 8765 *mut GtkStyleProvider, 8766 *mut GtkWidgetPath, 8767 GtkStateFlags, 8768 *mut gobject::GParamSpec, 8769 *mut gobject::GValue, 8770 ) -> gboolean, 8771 >, 8772 pub get_icon_factory: Option< 8773 unsafe extern "C" fn(*mut GtkStyleProvider, *mut GtkWidgetPath) -> *mut GtkIconFactory, 8774 >, 8775 } 8776 8777 impl ::std::fmt::Debug for GtkStyleProviderIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8778 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8779 f.debug_struct(&format!("GtkStyleProviderIface @ {:?}", self as *const _)) 8780 .field("get_style", &self.get_style) 8781 .field("get_style_property", &self.get_style_property) 8782 .field("get_icon_factory", &self.get_icon_factory) 8783 .finish() 8784 } 8785 } 8786 8787 #[repr(C)] 8788 #[derive(Copy, Clone)] 8789 pub struct GtkSwitchAccessibleClass { 8790 pub parent_class: GtkWidgetAccessibleClass, 8791 } 8792 8793 impl ::std::fmt::Debug for GtkSwitchAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8794 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8795 f.debug_struct(&format!( 8796 "GtkSwitchAccessibleClass @ {:?}", 8797 self as *const _ 8798 )) 8799 .field("parent_class", &self.parent_class) 8800 .finish() 8801 } 8802 } 8803 8804 #[repr(C)] 8805 pub struct _GtkSwitchAccessiblePrivate(c_void); 8806 8807 pub type GtkSwitchAccessiblePrivate = *mut _GtkSwitchAccessiblePrivate; 8808 8809 #[repr(C)] 8810 #[derive(Copy, Clone)] 8811 pub struct GtkSwitchClass { 8812 pub parent_class: GtkWidgetClass, 8813 pub activate: Option<unsafe extern "C" fn(*mut GtkSwitch)>, 8814 pub state_set: Option<unsafe extern "C" fn(*mut GtkSwitch, gboolean) -> gboolean>, 8815 pub _switch_padding_1: Option<unsafe extern "C" fn()>, 8816 pub _switch_padding_2: Option<unsafe extern "C" fn()>, 8817 pub _switch_padding_3: Option<unsafe extern "C" fn()>, 8818 pub _switch_padding_4: Option<unsafe extern "C" fn()>, 8819 pub _switch_padding_5: Option<unsafe extern "C" fn()>, 8820 } 8821 8822 impl ::std::fmt::Debug for GtkSwitchClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8823 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8824 f.debug_struct(&format!("GtkSwitchClass @ {:?}", self as *const _)) 8825 .field("parent_class", &self.parent_class) 8826 .field("activate", &self.activate) 8827 .field("state_set", &self.state_set) 8828 .field("_switch_padding_1", &self._switch_padding_1) 8829 .field("_switch_padding_2", &self._switch_padding_2) 8830 .field("_switch_padding_3", &self._switch_padding_3) 8831 .field("_switch_padding_4", &self._switch_padding_4) 8832 .field("_switch_padding_5", &self._switch_padding_5) 8833 .finish() 8834 } 8835 } 8836 8837 #[repr(C)] 8838 pub struct _GtkSwitchPrivate(c_void); 8839 8840 pub type GtkSwitchPrivate = *mut _GtkSwitchPrivate; 8841 8842 #[repr(C)] 8843 pub struct GtkSymbolicColor(c_void); 8844 8845 impl ::std::fmt::Debug for GtkSymbolicColor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8846 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8847 f.debug_struct(&format!("GtkSymbolicColor @ {:?}", self as *const _)) 8848 .finish() 8849 } 8850 } 8851 8852 #[repr(C)] 8853 pub struct GtkTableChild { 8854 pub widget: *mut GtkWidget, 8855 pub left_attach: u16, 8856 pub right_attach: u16, 8857 pub top_attach: u16, 8858 pub bottom_attach: u16, 8859 pub xpadding: u16, 8860 pub ypadding: u16, 8861 pub xexpand: c_uint, 8862 _truncated_record_marker: c_void, 8863 // field yexpand has incomplete type 8864 } 8865 8866 impl ::std::fmt::Debug for GtkTableChild { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8867 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8868 f.debug_struct(&format!("GtkTableChild @ {:?}", self as *const _)) 8869 .field("widget", &self.widget) 8870 .field("left_attach", &self.left_attach) 8871 .field("right_attach", &self.right_attach) 8872 .field("top_attach", &self.top_attach) 8873 .field("bottom_attach", &self.bottom_attach) 8874 .field("xpadding", &self.xpadding) 8875 .field("ypadding", &self.ypadding) 8876 .field("xexpand", &self.xexpand) 8877 .finish() 8878 } 8879 } 8880 8881 #[repr(C)] 8882 #[derive(Copy, Clone)] 8883 pub struct GtkTableClass { 8884 pub parent_class: GtkContainerClass, 8885 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8886 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8887 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8888 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8889 } 8890 8891 impl ::std::fmt::Debug for GtkTableClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8892 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8893 f.debug_struct(&format!("GtkTableClass @ {:?}", self as *const _)) 8894 .field("parent_class", &self.parent_class) 8895 .field("_gtk_reserved1", &self._gtk_reserved1) 8896 .field("_gtk_reserved2", &self._gtk_reserved2) 8897 .field("_gtk_reserved3", &self._gtk_reserved3) 8898 .field("_gtk_reserved4", &self._gtk_reserved4) 8899 .finish() 8900 } 8901 } 8902 8903 #[repr(C)] 8904 pub struct _GtkTablePrivate(c_void); 8905 8906 pub type GtkTablePrivate = *mut _GtkTablePrivate; 8907 8908 #[repr(C)] 8909 pub struct GtkTableRowCol { 8910 pub requisition: u16, 8911 pub allocation: u16, 8912 pub spacing: u16, 8913 pub need_expand: c_uint, 8914 _truncated_record_marker: c_void, 8915 // field need_shrink has incomplete type 8916 } 8917 8918 impl ::std::fmt::Debug for GtkTableRowCol { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8919 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8920 f.debug_struct(&format!("GtkTableRowCol @ {:?}", self as *const _)) 8921 .field("requisition", &self.requisition) 8922 .field("allocation", &self.allocation) 8923 .field("spacing", &self.spacing) 8924 .field("need_expand", &self.need_expand) 8925 .finish() 8926 } 8927 } 8928 8929 #[repr(C)] 8930 #[derive(Copy, Clone)] 8931 pub struct GtkTargetEntry { 8932 pub target: *mut c_char, 8933 pub flags: c_uint, 8934 pub info: c_uint, 8935 } 8936 8937 impl ::std::fmt::Debug for GtkTargetEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8938 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8939 f.debug_struct(&format!("GtkTargetEntry @ {:?}", self as *const _)) 8940 .field("target", &self.target) 8941 .field("flags", &self.flags) 8942 .field("info", &self.info) 8943 .finish() 8944 } 8945 } 8946 8947 #[repr(C)] 8948 pub struct GtkTargetList(c_void); 8949 8950 impl ::std::fmt::Debug for GtkTargetList { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8951 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8952 f.debug_struct(&format!("GtkTargetList @ {:?}", self as *const _)) 8953 .finish() 8954 } 8955 } 8956 8957 #[repr(C)] 8958 #[derive(Copy, Clone)] 8959 pub struct GtkTargetPair { 8960 pub target: gdk::GdkAtom, 8961 pub flags: c_uint, 8962 pub info: c_uint, 8963 } 8964 8965 impl ::std::fmt::Debug for GtkTargetPair { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8966 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8967 f.debug_struct(&format!("GtkTargetPair @ {:?}", self as *const _)) 8968 .field("target", &self.target) 8969 .field("flags", &self.flags) 8970 .field("info", &self.info) 8971 .finish() 8972 } 8973 } 8974 8975 #[repr(C)] 8976 #[derive(Copy, Clone)] 8977 pub struct GtkTearoffMenuItemClass { 8978 pub parent_class: GtkMenuItemClass, 8979 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 8980 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 8981 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 8982 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 8983 } 8984 8985 impl ::std::fmt::Debug for GtkTearoffMenuItemClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8986 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8987 f.debug_struct(&format!("GtkTearoffMenuItemClass @ {:?}", self as *const _)) 8988 .field("parent_class", &self.parent_class) 8989 .field("_gtk_reserved1", &self._gtk_reserved1) 8990 .field("_gtk_reserved2", &self._gtk_reserved2) 8991 .field("_gtk_reserved3", &self._gtk_reserved3) 8992 .field("_gtk_reserved4", &self._gtk_reserved4) 8993 .finish() 8994 } 8995 } 8996 8997 #[repr(C)] 8998 pub struct _GtkTearoffMenuItemPrivate(c_void); 8999 9000 pub type GtkTearoffMenuItemPrivate = *mut _GtkTearoffMenuItemPrivate; 9001 9002 #[repr(C)] 9003 pub struct GtkTextAppearance { 9004 pub bg_color: gdk::GdkColor, 9005 pub fg_color: gdk::GdkColor, 9006 pub rise: c_int, 9007 pub underline: c_uint, 9008 _truncated_record_marker: c_void, 9009 // field strikethrough has incomplete type 9010 } 9011 9012 impl ::std::fmt::Debug for GtkTextAppearance { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9013 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9014 f.debug_struct(&format!("GtkTextAppearance @ {:?}", self as *const _)) 9015 .field("bg_color", &self.bg_color) 9016 .field("fg_color", &self.fg_color) 9017 .field("rise", &self.rise) 9018 .field("underline", &self.underline) 9019 .finish() 9020 } 9021 } 9022 9023 #[repr(C)] 9024 pub struct GtkTextAttributes { 9025 pub refcount: c_uint, 9026 _truncated_record_marker: c_void, 9027 // /*Ignored*/field appearance has incomplete type 9028 } 9029 9030 impl ::std::fmt::Debug for GtkTextAttributes { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9031 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9032 f.debug_struct(&format!("GtkTextAttributes @ {:?}", self as *const _)) 9033 .finish() 9034 } 9035 } 9036 9037 #[repr(C)] 9038 pub struct _GtkTextBTree(c_void); 9039 9040 pub type GtkTextBTree = *mut _GtkTextBTree; 9041 9042 #[repr(C)] 9043 #[derive(Copy, Clone)] 9044 pub struct GtkTextBufferClass { 9045 pub parent_class: gobject::GObjectClass, 9046 pub insert_text: 9047 Option<unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkTextIter, *const c_char, c_int)>, 9048 pub insert_pixbuf: Option< 9049 unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkTextIter, *mut gdk_pixbuf::GdkPixbuf), 9050 >, 9051 pub insert_child_anchor: 9052 Option<unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkTextIter, *mut GtkTextChildAnchor)>, 9053 pub delete_range: 9054 Option<unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkTextIter, *mut GtkTextIter)>, 9055 pub changed: Option<unsafe extern "C" fn(*mut GtkTextBuffer)>, 9056 pub modified_changed: Option<unsafe extern "C" fn(*mut GtkTextBuffer)>, 9057 pub mark_set: 9058 Option<unsafe extern "C" fn(*mut GtkTextBuffer, *const GtkTextIter, *mut GtkTextMark)>, 9059 pub mark_deleted: Option<unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkTextMark)>, 9060 pub apply_tag: Option< 9061 unsafe extern "C" fn( 9062 *mut GtkTextBuffer, 9063 *mut GtkTextTag, 9064 *const GtkTextIter, 9065 *const GtkTextIter, 9066 ), 9067 >, 9068 pub remove_tag: Option< 9069 unsafe extern "C" fn( 9070 *mut GtkTextBuffer, 9071 *mut GtkTextTag, 9072 *const GtkTextIter, 9073 *const GtkTextIter, 9074 ), 9075 >, 9076 pub begin_user_action: Option<unsafe extern "C" fn(*mut GtkTextBuffer)>, 9077 pub end_user_action: Option<unsafe extern "C" fn(*mut GtkTextBuffer)>, 9078 pub paste_done: Option<unsafe extern "C" fn(*mut GtkTextBuffer, *mut GtkClipboard)>, 9079 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9080 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9081 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9082 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9083 } 9084 9085 impl ::std::fmt::Debug for GtkTextBufferClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9086 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9087 f.debug_struct(&format!("GtkTextBufferClass @ {:?}", self as *const _)) 9088 .field("parent_class", &self.parent_class) 9089 .field("insert_text", &self.insert_text) 9090 .field("insert_pixbuf", &self.insert_pixbuf) 9091 .field("insert_child_anchor", &self.insert_child_anchor) 9092 .field("delete_range", &self.delete_range) 9093 .field("changed", &self.changed) 9094 .field("modified_changed", &self.modified_changed) 9095 .field("mark_set", &self.mark_set) 9096 .field("mark_deleted", &self.mark_deleted) 9097 .field("apply_tag", &self.apply_tag) 9098 .field("remove_tag", &self.remove_tag) 9099 .field("begin_user_action", &self.begin_user_action) 9100 .field("end_user_action", &self.end_user_action) 9101 .field("paste_done", &self.paste_done) 9102 .field("_gtk_reserved1", &self._gtk_reserved1) 9103 .field("_gtk_reserved2", &self._gtk_reserved2) 9104 .field("_gtk_reserved3", &self._gtk_reserved3) 9105 .field("_gtk_reserved4", &self._gtk_reserved4) 9106 .finish() 9107 } 9108 } 9109 9110 #[repr(C)] 9111 pub struct _GtkTextBufferPrivate(c_void); 9112 9113 pub type GtkTextBufferPrivate = *mut _GtkTextBufferPrivate; 9114 9115 #[repr(C)] 9116 #[derive(Copy, Clone)] 9117 pub struct GtkTextCellAccessibleClass { 9118 pub parent_class: GtkRendererCellAccessibleClass, 9119 } 9120 9121 impl ::std::fmt::Debug for GtkTextCellAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9122 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9123 f.debug_struct(&format!( 9124 "GtkTextCellAccessibleClass @ {:?}", 9125 self as *const _ 9126 )) 9127 .field("parent_class", &self.parent_class) 9128 .finish() 9129 } 9130 } 9131 9132 #[repr(C)] 9133 pub struct _GtkTextCellAccessiblePrivate(c_void); 9134 9135 pub type GtkTextCellAccessiblePrivate = *mut _GtkTextCellAccessiblePrivate; 9136 9137 #[repr(C)] 9138 #[derive(Copy, Clone)] 9139 pub struct GtkTextChildAnchorClass { 9140 pub parent_class: gobject::GObjectClass, 9141 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9142 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9143 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9144 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9145 } 9146 9147 impl ::std::fmt::Debug for GtkTextChildAnchorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9148 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9149 f.debug_struct(&format!("GtkTextChildAnchorClass @ {:?}", self as *const _)) 9150 .field("parent_class", &self.parent_class) 9151 .field("_gtk_reserved1", &self._gtk_reserved1) 9152 .field("_gtk_reserved2", &self._gtk_reserved2) 9153 .field("_gtk_reserved3", &self._gtk_reserved3) 9154 .field("_gtk_reserved4", &self._gtk_reserved4) 9155 .finish() 9156 } 9157 } 9158 9159 #[repr(C)] 9160 #[derive(Copy, Clone)] 9161 pub struct GtkTextIter { 9162 pub dummy1: gpointer, 9163 pub dummy2: gpointer, 9164 pub dummy3: c_int, 9165 pub dummy4: c_int, 9166 pub dummy5: c_int, 9167 pub dummy6: c_int, 9168 pub dummy7: c_int, 9169 pub dummy8: c_int, 9170 pub dummy9: gpointer, 9171 pub dummy10: gpointer, 9172 pub dummy11: c_int, 9173 pub dummy12: c_int, 9174 pub dummy13: c_int, 9175 pub dummy14: gpointer, 9176 } 9177 9178 impl ::std::fmt::Debug for GtkTextIter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9179 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9180 f.debug_struct(&format!("GtkTextIter @ {:?}", self as *const _)) 9181 .finish() 9182 } 9183 } 9184 9185 #[repr(C)] 9186 #[derive(Copy, Clone)] 9187 pub struct GtkTextMarkClass { 9188 pub parent_class: gobject::GObjectClass, 9189 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9190 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9191 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9192 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9193 } 9194 9195 impl ::std::fmt::Debug for GtkTextMarkClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9196 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9197 f.debug_struct(&format!("GtkTextMarkClass @ {:?}", self as *const _)) 9198 .field("parent_class", &self.parent_class) 9199 .field("_gtk_reserved1", &self._gtk_reserved1) 9200 .field("_gtk_reserved2", &self._gtk_reserved2) 9201 .field("_gtk_reserved3", &self._gtk_reserved3) 9202 .field("_gtk_reserved4", &self._gtk_reserved4) 9203 .finish() 9204 } 9205 } 9206 9207 #[repr(C)] 9208 #[derive(Copy, Clone)] 9209 pub struct GtkTextTagClass { 9210 pub parent_class: gobject::GObjectClass, 9211 pub event: Option< 9212 unsafe extern "C" fn( 9213 *mut GtkTextTag, 9214 *mut gobject::GObject, 9215 *mut gdk::GdkEvent, 9216 *const GtkTextIter, 9217 ) -> gboolean, 9218 >, 9219 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9220 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9221 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9222 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9223 } 9224 9225 impl ::std::fmt::Debug for GtkTextTagClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9226 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9227 f.debug_struct(&format!("GtkTextTagClass @ {:?}", self as *const _)) 9228 .field("parent_class", &self.parent_class) 9229 .field("event", &self.event) 9230 .field("_gtk_reserved1", &self._gtk_reserved1) 9231 .field("_gtk_reserved2", &self._gtk_reserved2) 9232 .field("_gtk_reserved3", &self._gtk_reserved3) 9233 .field("_gtk_reserved4", &self._gtk_reserved4) 9234 .finish() 9235 } 9236 } 9237 9238 #[repr(C)] 9239 pub struct _GtkTextTagPrivate(c_void); 9240 9241 pub type GtkTextTagPrivate = *mut _GtkTextTagPrivate; 9242 9243 #[repr(C)] 9244 #[derive(Copy, Clone)] 9245 pub struct GtkTextTagTableClass { 9246 pub parent_class: gobject::GObjectClass, 9247 pub tag_changed: Option<unsafe extern "C" fn(*mut GtkTextTagTable, *mut GtkTextTag, gboolean)>, 9248 pub tag_added: Option<unsafe extern "C" fn(*mut GtkTextTagTable, *mut GtkTextTag)>, 9249 pub tag_removed: Option<unsafe extern "C" fn(*mut GtkTextTagTable, *mut GtkTextTag)>, 9250 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9251 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9252 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9253 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9254 } 9255 9256 impl ::std::fmt::Debug for GtkTextTagTableClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9257 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9258 f.debug_struct(&format!("GtkTextTagTableClass @ {:?}", self as *const _)) 9259 .field("parent_class", &self.parent_class) 9260 .field("tag_changed", &self.tag_changed) 9261 .field("tag_added", &self.tag_added) 9262 .field("tag_removed", &self.tag_removed) 9263 .field("_gtk_reserved1", &self._gtk_reserved1) 9264 .field("_gtk_reserved2", &self._gtk_reserved2) 9265 .field("_gtk_reserved3", &self._gtk_reserved3) 9266 .field("_gtk_reserved4", &self._gtk_reserved4) 9267 .finish() 9268 } 9269 } 9270 9271 #[repr(C)] 9272 pub struct _GtkTextTagTablePrivate(c_void); 9273 9274 pub type GtkTextTagTablePrivate = *mut _GtkTextTagTablePrivate; 9275 9276 #[repr(C)] 9277 #[derive(Copy, Clone)] 9278 pub struct GtkTextViewAccessibleClass { 9279 pub parent_class: GtkContainerAccessibleClass, 9280 } 9281 9282 impl ::std::fmt::Debug for GtkTextViewAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9283 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9284 f.debug_struct(&format!( 9285 "GtkTextViewAccessibleClass @ {:?}", 9286 self as *const _ 9287 )) 9288 .field("parent_class", &self.parent_class) 9289 .finish() 9290 } 9291 } 9292 9293 #[repr(C)] 9294 pub struct _GtkTextViewAccessiblePrivate(c_void); 9295 9296 pub type GtkTextViewAccessiblePrivate = *mut _GtkTextViewAccessiblePrivate; 9297 9298 #[repr(C)] 9299 #[derive(Copy, Clone)] 9300 pub struct GtkTextViewClass { 9301 pub parent_class: GtkContainerClass, 9302 pub populate_popup: Option<unsafe extern "C" fn(*mut GtkTextView, *mut GtkWidget)>, 9303 pub move_cursor: 9304 Option<unsafe extern "C" fn(*mut GtkTextView, GtkMovementStep, c_int, gboolean)>, 9305 pub set_anchor: Option<unsafe extern "C" fn(*mut GtkTextView)>, 9306 pub insert_at_cursor: Option<unsafe extern "C" fn(*mut GtkTextView, *const c_char)>, 9307 pub delete_from_cursor: Option<unsafe extern "C" fn(*mut GtkTextView, GtkDeleteType, c_int)>, 9308 pub backspace: Option<unsafe extern "C" fn(*mut GtkTextView)>, 9309 pub cut_clipboard: Option<unsafe extern "C" fn(*mut GtkTextView)>, 9310 pub copy_clipboard: Option<unsafe extern "C" fn(*mut GtkTextView)>, 9311 pub paste_clipboard: Option<unsafe extern "C" fn(*mut GtkTextView)>, 9312 pub toggle_overwrite: Option<unsafe extern "C" fn(*mut GtkTextView)>, 9313 pub create_buffer: Option<unsafe extern "C" fn(*mut GtkTextView) -> *mut GtkTextBuffer>, 9314 pub draw_layer: 9315 Option<unsafe extern "C" fn(*mut GtkTextView, GtkTextViewLayer, *mut cairo::cairo_t)>, 9316 pub extend_selection: Option< 9317 unsafe extern "C" fn( 9318 *mut GtkTextView, 9319 GtkTextExtendSelection, 9320 *const GtkTextIter, 9321 *mut GtkTextIter, 9322 *mut GtkTextIter, 9323 ) -> gboolean, 9324 >, 9325 pub insert_emoji: Option<unsafe extern "C" fn(*mut GtkTextView)>, 9326 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9327 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9328 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9329 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9330 } 9331 9332 impl ::std::fmt::Debug for GtkTextViewClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9333 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9334 f.debug_struct(&format!("GtkTextViewClass @ {:?}", self as *const _)) 9335 .field("parent_class", &self.parent_class) 9336 .field("populate_popup", &self.populate_popup) 9337 .field("move_cursor", &self.move_cursor) 9338 .field("set_anchor", &self.set_anchor) 9339 .field("insert_at_cursor", &self.insert_at_cursor) 9340 .field("delete_from_cursor", &self.delete_from_cursor) 9341 .field("backspace", &self.backspace) 9342 .field("cut_clipboard", &self.cut_clipboard) 9343 .field("copy_clipboard", &self.copy_clipboard) 9344 .field("paste_clipboard", &self.paste_clipboard) 9345 .field("toggle_overwrite", &self.toggle_overwrite) 9346 .field("create_buffer", &self.create_buffer) 9347 .field("draw_layer", &self.draw_layer) 9348 .field("extend_selection", &self.extend_selection) 9349 .field("insert_emoji", &self.insert_emoji) 9350 .field("_gtk_reserved1", &self._gtk_reserved1) 9351 .field("_gtk_reserved2", &self._gtk_reserved2) 9352 .field("_gtk_reserved3", &self._gtk_reserved3) 9353 .field("_gtk_reserved4", &self._gtk_reserved4) 9354 .finish() 9355 } 9356 } 9357 9358 #[repr(C)] 9359 pub struct _GtkTextViewPrivate(c_void); 9360 9361 pub type GtkTextViewPrivate = *mut _GtkTextViewPrivate; 9362 9363 #[repr(C)] 9364 pub struct _GtkThemeEngine(c_void); 9365 9366 pub type GtkThemeEngine = *mut _GtkThemeEngine; 9367 9368 #[repr(C)] 9369 #[derive(Copy, Clone)] 9370 pub struct GtkThemingEngineClass { 9371 pub parent_class: gobject::GObjectClass, 9372 pub render_line: Option< 9373 unsafe extern "C" fn( 9374 *mut GtkThemingEngine, 9375 *mut cairo::cairo_t, 9376 c_double, 9377 c_double, 9378 c_double, 9379 c_double, 9380 ), 9381 >, 9382 pub render_background: Option< 9383 unsafe extern "C" fn( 9384 *mut GtkThemingEngine, 9385 *mut cairo::cairo_t, 9386 c_double, 9387 c_double, 9388 c_double, 9389 c_double, 9390 ), 9391 >, 9392 pub render_frame: Option< 9393 unsafe extern "C" fn( 9394 *mut GtkThemingEngine, 9395 *mut cairo::cairo_t, 9396 c_double, 9397 c_double, 9398 c_double, 9399 c_double, 9400 ), 9401 >, 9402 pub render_frame_gap: Option< 9403 unsafe extern "C" fn( 9404 *mut GtkThemingEngine, 9405 *mut cairo::cairo_t, 9406 c_double, 9407 c_double, 9408 c_double, 9409 c_double, 9410 GtkPositionType, 9411 c_double, 9412 c_double, 9413 ), 9414 >, 9415 pub render_extension: Option< 9416 unsafe extern "C" fn( 9417 *mut GtkThemingEngine, 9418 *mut cairo::cairo_t, 9419 c_double, 9420 c_double, 9421 c_double, 9422 c_double, 9423 GtkPositionType, 9424 ), 9425 >, 9426 pub render_check: Option< 9427 unsafe extern "C" fn( 9428 *mut GtkThemingEngine, 9429 *mut cairo::cairo_t, 9430 c_double, 9431 c_double, 9432 c_double, 9433 c_double, 9434 ), 9435 >, 9436 pub render_option: Option< 9437 unsafe extern "C" fn( 9438 *mut GtkThemingEngine, 9439 *mut cairo::cairo_t, 9440 c_double, 9441 c_double, 9442 c_double, 9443 c_double, 9444 ), 9445 >, 9446 pub render_arrow: Option< 9447 unsafe extern "C" fn( 9448 *mut GtkThemingEngine, 9449 *mut cairo::cairo_t, 9450 c_double, 9451 c_double, 9452 c_double, 9453 c_double, 9454 ), 9455 >, 9456 pub render_expander: Option< 9457 unsafe extern "C" fn( 9458 *mut GtkThemingEngine, 9459 *mut cairo::cairo_t, 9460 c_double, 9461 c_double, 9462 c_double, 9463 c_double, 9464 ), 9465 >, 9466 pub render_focus: Option< 9467 unsafe extern "C" fn( 9468 *mut GtkThemingEngine, 9469 *mut cairo::cairo_t, 9470 c_double, 9471 c_double, 9472 c_double, 9473 c_double, 9474 ), 9475 >, 9476 pub render_layout: Option< 9477 unsafe extern "C" fn( 9478 *mut GtkThemingEngine, 9479 *mut cairo::cairo_t, 9480 c_double, 9481 c_double, 9482 *mut pango::PangoLayout, 9483 ), 9484 >, 9485 pub render_slider: Option< 9486 unsafe extern "C" fn( 9487 *mut GtkThemingEngine, 9488 *mut cairo::cairo_t, 9489 c_double, 9490 c_double, 9491 c_double, 9492 c_double, 9493 GtkOrientation, 9494 ), 9495 >, 9496 pub render_handle: Option< 9497 unsafe extern "C" fn( 9498 *mut GtkThemingEngine, 9499 *mut cairo::cairo_t, 9500 c_double, 9501 c_double, 9502 c_double, 9503 c_double, 9504 ), 9505 >, 9506 pub render_activity: Option< 9507 unsafe extern "C" fn( 9508 *mut GtkThemingEngine, 9509 *mut cairo::cairo_t, 9510 c_double, 9511 c_double, 9512 c_double, 9513 c_double, 9514 ), 9515 >, 9516 pub render_icon_pixbuf: Option< 9517 unsafe extern "C" fn( 9518 *mut GtkThemingEngine, 9519 *const GtkIconSource, 9520 GtkIconSize, 9521 ) -> *mut gdk_pixbuf::GdkPixbuf, 9522 >, 9523 pub render_icon: Option< 9524 unsafe extern "C" fn( 9525 *mut GtkThemingEngine, 9526 *mut cairo::cairo_t, 9527 *mut gdk_pixbuf::GdkPixbuf, 9528 c_double, 9529 c_double, 9530 ), 9531 >, 9532 pub render_icon_surface: Option< 9533 unsafe extern "C" fn( 9534 *mut GtkThemingEngine, 9535 *mut cairo::cairo_t, 9536 *mut cairo::cairo_surface_t, 9537 c_double, 9538 c_double, 9539 ), 9540 >, 9541 pub padding: [gpointer; 14], 9542 } 9543 9544 impl ::std::fmt::Debug for GtkThemingEngineClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9545 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9546 f.debug_struct(&format!("GtkThemingEngineClass @ {:?}", self as *const _)) 9547 .field("parent_class", &self.parent_class) 9548 .field("render_line", &self.render_line) 9549 .field("render_background", &self.render_background) 9550 .field("render_frame", &self.render_frame) 9551 .field("render_frame_gap", &self.render_frame_gap) 9552 .field("render_extension", &self.render_extension) 9553 .field("render_check", &self.render_check) 9554 .field("render_option", &self.render_option) 9555 .field("render_arrow", &self.render_arrow) 9556 .field("render_expander", &self.render_expander) 9557 .field("render_focus", &self.render_focus) 9558 .field("render_layout", &self.render_layout) 9559 .field("render_slider", &self.render_slider) 9560 .field("render_handle", &self.render_handle) 9561 .field("render_activity", &self.render_activity) 9562 .field("render_icon_pixbuf", &self.render_icon_pixbuf) 9563 .field("render_icon", &self.render_icon) 9564 .field("render_icon_surface", &self.render_icon_surface) 9565 .finish() 9566 } 9567 } 9568 9569 #[repr(C)] 9570 pub struct _GtkThemingEnginePrivate(c_void); 9571 9572 pub type GtkThemingEnginePrivate = *mut _GtkThemingEnginePrivate; 9573 9574 #[repr(C)] 9575 #[derive(Copy, Clone)] 9576 pub struct GtkToggleActionClass { 9577 pub parent_class: GtkActionClass, 9578 pub toggled: Option<unsafe extern "C" fn(*mut GtkToggleAction)>, 9579 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9580 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9581 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9582 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9583 } 9584 9585 impl ::std::fmt::Debug for GtkToggleActionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9586 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9587 f.debug_struct(&format!("GtkToggleActionClass @ {:?}", self as *const _)) 9588 .field("parent_class", &self.parent_class) 9589 .field("toggled", &self.toggled) 9590 .field("_gtk_reserved1", &self._gtk_reserved1) 9591 .field("_gtk_reserved2", &self._gtk_reserved2) 9592 .field("_gtk_reserved3", &self._gtk_reserved3) 9593 .field("_gtk_reserved4", &self._gtk_reserved4) 9594 .finish() 9595 } 9596 } 9597 9598 #[repr(C)] 9599 #[derive(Copy, Clone)] 9600 pub struct GtkToggleActionEntry { 9601 pub name: *const c_char, 9602 pub stock_id: *const c_char, 9603 pub label: *const c_char, 9604 pub accelerator: *const c_char, 9605 pub tooltip: *const c_char, 9606 pub callback: gobject::GCallback, 9607 pub is_active: gboolean, 9608 } 9609 9610 impl ::std::fmt::Debug for GtkToggleActionEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9611 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9612 f.debug_struct(&format!("GtkToggleActionEntry @ {:?}", self as *const _)) 9613 .field("name", &self.name) 9614 .field("stock_id", &self.stock_id) 9615 .field("label", &self.label) 9616 .field("accelerator", &self.accelerator) 9617 .field("tooltip", &self.tooltip) 9618 .field("callback", &self.callback) 9619 .field("is_active", &self.is_active) 9620 .finish() 9621 } 9622 } 9623 9624 #[repr(C)] 9625 pub struct _GtkToggleActionPrivate(c_void); 9626 9627 pub type GtkToggleActionPrivate = *mut _GtkToggleActionPrivate; 9628 9629 #[repr(C)] 9630 #[derive(Copy, Clone)] 9631 pub struct GtkToggleButtonAccessibleClass { 9632 pub parent_class: GtkButtonAccessibleClass, 9633 } 9634 9635 impl ::std::fmt::Debug for GtkToggleButtonAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9636 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9637 f.debug_struct(&format!( 9638 "GtkToggleButtonAccessibleClass @ {:?}", 9639 self as *const _ 9640 )) 9641 .field("parent_class", &self.parent_class) 9642 .finish() 9643 } 9644 } 9645 9646 #[repr(C)] 9647 pub struct _GtkToggleButtonAccessiblePrivate(c_void); 9648 9649 pub type GtkToggleButtonAccessiblePrivate = *mut _GtkToggleButtonAccessiblePrivate; 9650 9651 #[repr(C)] 9652 #[derive(Copy, Clone)] 9653 pub struct GtkToggleButtonClass { 9654 pub parent_class: GtkButtonClass, 9655 pub toggled: Option<unsafe extern "C" fn(*mut GtkToggleButton)>, 9656 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9657 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9658 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9659 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9660 } 9661 9662 impl ::std::fmt::Debug for GtkToggleButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9663 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9664 f.debug_struct(&format!("GtkToggleButtonClass @ {:?}", self as *const _)) 9665 .field("parent_class", &self.parent_class) 9666 .field("toggled", &self.toggled) 9667 .field("_gtk_reserved1", &self._gtk_reserved1) 9668 .field("_gtk_reserved2", &self._gtk_reserved2) 9669 .field("_gtk_reserved3", &self._gtk_reserved3) 9670 .field("_gtk_reserved4", &self._gtk_reserved4) 9671 .finish() 9672 } 9673 } 9674 9675 #[repr(C)] 9676 pub struct _GtkToggleButtonPrivate(c_void); 9677 9678 pub type GtkToggleButtonPrivate = *mut _GtkToggleButtonPrivate; 9679 9680 #[repr(C)] 9681 #[derive(Copy, Clone)] 9682 pub struct GtkToggleToolButtonClass { 9683 pub parent_class: GtkToolButtonClass, 9684 pub toggled: Option<unsafe extern "C" fn(*mut GtkToggleToolButton)>, 9685 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9686 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9687 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9688 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9689 } 9690 9691 impl ::std::fmt::Debug for GtkToggleToolButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9692 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9693 f.debug_struct(&format!( 9694 "GtkToggleToolButtonClass @ {:?}", 9695 self as *const _ 9696 )) 9697 .field("parent_class", &self.parent_class) 9698 .field("toggled", &self.toggled) 9699 .field("_gtk_reserved1", &self._gtk_reserved1) 9700 .field("_gtk_reserved2", &self._gtk_reserved2) 9701 .field("_gtk_reserved3", &self._gtk_reserved3) 9702 .field("_gtk_reserved4", &self._gtk_reserved4) 9703 .finish() 9704 } 9705 } 9706 9707 #[repr(C)] 9708 pub struct _GtkToggleToolButtonPrivate(c_void); 9709 9710 pub type GtkToggleToolButtonPrivate = *mut _GtkToggleToolButtonPrivate; 9711 9712 #[repr(C)] 9713 #[derive(Copy, Clone)] 9714 pub struct GtkToolButtonClass { 9715 pub parent_class: GtkToolItemClass, 9716 pub button_type: GType, 9717 pub clicked: Option<unsafe extern "C" fn(*mut GtkToolButton)>, 9718 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9719 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9720 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9721 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9722 } 9723 9724 impl ::std::fmt::Debug for GtkToolButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9725 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9726 f.debug_struct(&format!("GtkToolButtonClass @ {:?}", self as *const _)) 9727 .field("parent_class", &self.parent_class) 9728 .field("button_type", &self.button_type) 9729 .field("clicked", &self.clicked) 9730 .field("_gtk_reserved1", &self._gtk_reserved1) 9731 .field("_gtk_reserved2", &self._gtk_reserved2) 9732 .field("_gtk_reserved3", &self._gtk_reserved3) 9733 .field("_gtk_reserved4", &self._gtk_reserved4) 9734 .finish() 9735 } 9736 } 9737 9738 #[repr(C)] 9739 pub struct _GtkToolButtonPrivate(c_void); 9740 9741 pub type GtkToolButtonPrivate = *mut _GtkToolButtonPrivate; 9742 9743 #[repr(C)] 9744 #[derive(Copy, Clone)] 9745 pub struct GtkToolItemClass { 9746 pub parent_class: GtkBinClass, 9747 pub create_menu_proxy: Option<unsafe extern "C" fn(*mut GtkToolItem) -> gboolean>, 9748 pub toolbar_reconfigured: Option<unsafe extern "C" fn(*mut GtkToolItem)>, 9749 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9750 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9751 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9752 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9753 } 9754 9755 impl ::std::fmt::Debug for GtkToolItemClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9756 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9757 f.debug_struct(&format!("GtkToolItemClass @ {:?}", self as *const _)) 9758 .field("parent_class", &self.parent_class) 9759 .field("create_menu_proxy", &self.create_menu_proxy) 9760 .field("toolbar_reconfigured", &self.toolbar_reconfigured) 9761 .field("_gtk_reserved1", &self._gtk_reserved1) 9762 .field("_gtk_reserved2", &self._gtk_reserved2) 9763 .field("_gtk_reserved3", &self._gtk_reserved3) 9764 .field("_gtk_reserved4", &self._gtk_reserved4) 9765 .finish() 9766 } 9767 } 9768 9769 #[repr(C)] 9770 #[derive(Copy, Clone)] 9771 pub struct GtkToolItemGroupClass { 9772 pub parent_class: GtkContainerClass, 9773 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9774 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9775 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9776 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9777 } 9778 9779 impl ::std::fmt::Debug for GtkToolItemGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9780 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9781 f.debug_struct(&format!("GtkToolItemGroupClass @ {:?}", self as *const _)) 9782 .field("parent_class", &self.parent_class) 9783 .field("_gtk_reserved1", &self._gtk_reserved1) 9784 .field("_gtk_reserved2", &self._gtk_reserved2) 9785 .field("_gtk_reserved3", &self._gtk_reserved3) 9786 .field("_gtk_reserved4", &self._gtk_reserved4) 9787 .finish() 9788 } 9789 } 9790 9791 #[repr(C)] 9792 pub struct _GtkToolItemGroupPrivate(c_void); 9793 9794 pub type GtkToolItemGroupPrivate = *mut _GtkToolItemGroupPrivate; 9795 9796 #[repr(C)] 9797 pub struct _GtkToolItemPrivate(c_void); 9798 9799 pub type GtkToolItemPrivate = *mut _GtkToolItemPrivate; 9800 9801 #[repr(C)] 9802 #[derive(Copy, Clone)] 9803 pub struct GtkToolPaletteClass { 9804 pub parent_class: GtkContainerClass, 9805 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9806 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9807 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9808 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9809 } 9810 9811 impl ::std::fmt::Debug for GtkToolPaletteClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9812 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9813 f.debug_struct(&format!("GtkToolPaletteClass @ {:?}", self as *const _)) 9814 .field("parent_class", &self.parent_class) 9815 .field("_gtk_reserved1", &self._gtk_reserved1) 9816 .field("_gtk_reserved2", &self._gtk_reserved2) 9817 .field("_gtk_reserved3", &self._gtk_reserved3) 9818 .field("_gtk_reserved4", &self._gtk_reserved4) 9819 .finish() 9820 } 9821 } 9822 9823 #[repr(C)] 9824 pub struct _GtkToolPalettePrivate(c_void); 9825 9826 pub type GtkToolPalettePrivate = *mut _GtkToolPalettePrivate; 9827 9828 #[repr(C)] 9829 #[derive(Copy, Clone)] 9830 pub struct GtkToolShellIface { 9831 pub g_iface: gobject::GTypeInterface, 9832 pub get_icon_size: Option<unsafe extern "C" fn(*mut GtkToolShell) -> GtkIconSize>, 9833 pub get_orientation: Option<unsafe extern "C" fn(*mut GtkToolShell) -> GtkOrientation>, 9834 pub get_style: Option<unsafe extern "C" fn(*mut GtkToolShell) -> GtkToolbarStyle>, 9835 pub get_relief_style: Option<unsafe extern "C" fn(*mut GtkToolShell) -> GtkReliefStyle>, 9836 pub rebuild_menu: Option<unsafe extern "C" fn(*mut GtkToolShell)>, 9837 pub get_text_orientation: Option<unsafe extern "C" fn(*mut GtkToolShell) -> GtkOrientation>, 9838 pub get_text_alignment: Option<unsafe extern "C" fn(*mut GtkToolShell) -> c_float>, 9839 pub get_ellipsize_mode: 9840 Option<unsafe extern "C" fn(*mut GtkToolShell) -> pango::PangoEllipsizeMode>, 9841 pub get_text_size_group: Option<unsafe extern "C" fn(*mut GtkToolShell) -> *mut GtkSizeGroup>, 9842 } 9843 9844 impl ::std::fmt::Debug for GtkToolShellIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9845 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9846 f.debug_struct(&format!("GtkToolShellIface @ {:?}", self as *const _)) 9847 .field("get_icon_size", &self.get_icon_size) 9848 .field("get_orientation", &self.get_orientation) 9849 .field("get_style", &self.get_style) 9850 .field("get_relief_style", &self.get_relief_style) 9851 .field("rebuild_menu", &self.rebuild_menu) 9852 .field("get_text_orientation", &self.get_text_orientation) 9853 .field("get_text_alignment", &self.get_text_alignment) 9854 .field("get_ellipsize_mode", &self.get_ellipsize_mode) 9855 .field("get_text_size_group", &self.get_text_size_group) 9856 .finish() 9857 } 9858 } 9859 9860 #[repr(C)] 9861 #[derive(Copy, Clone)] 9862 pub struct GtkToolbarClass { 9863 pub parent_class: GtkContainerClass, 9864 pub orientation_changed: Option<unsafe extern "C" fn(*mut GtkToolbar, GtkOrientation)>, 9865 pub style_changed: Option<unsafe extern "C" fn(*mut GtkToolbar, GtkToolbarStyle)>, 9866 pub popup_context_menu: 9867 Option<unsafe extern "C" fn(*mut GtkToolbar, c_int, c_int, c_int) -> gboolean>, 9868 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 9869 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 9870 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 9871 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 9872 } 9873 9874 impl ::std::fmt::Debug for GtkToolbarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9875 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9876 f.debug_struct(&format!("GtkToolbarClass @ {:?}", self as *const _)) 9877 .field("parent_class", &self.parent_class) 9878 .field("orientation_changed", &self.orientation_changed) 9879 .field("style_changed", &self.style_changed) 9880 .field("popup_context_menu", &self.popup_context_menu) 9881 .field("_gtk_reserved1", &self._gtk_reserved1) 9882 .field("_gtk_reserved2", &self._gtk_reserved2) 9883 .field("_gtk_reserved3", &self._gtk_reserved3) 9884 .field("_gtk_reserved4", &self._gtk_reserved4) 9885 .finish() 9886 } 9887 } 9888 9889 #[repr(C)] 9890 pub struct _GtkToolbarPrivate(c_void); 9891 9892 pub type GtkToolbarPrivate = *mut _GtkToolbarPrivate; 9893 9894 #[repr(C)] 9895 #[derive(Copy, Clone)] 9896 pub struct GtkToplevelAccessibleClass { 9897 pub parent_class: atk::AtkObjectClass, 9898 } 9899 9900 impl ::std::fmt::Debug for GtkToplevelAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9901 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9902 f.debug_struct(&format!( 9903 "GtkToplevelAccessibleClass @ {:?}", 9904 self as *const _ 9905 )) 9906 .field("parent_class", &self.parent_class) 9907 .finish() 9908 } 9909 } 9910 9911 #[repr(C)] 9912 pub struct _GtkToplevelAccessiblePrivate(c_void); 9913 9914 pub type GtkToplevelAccessiblePrivate = *mut _GtkToplevelAccessiblePrivate; 9915 9916 #[repr(C)] 9917 #[derive(Copy, Clone)] 9918 pub struct GtkTreeDragDestIface { 9919 pub g_iface: gobject::GTypeInterface, 9920 pub drag_data_received: Option< 9921 unsafe extern "C" fn( 9922 *mut GtkTreeDragDest, 9923 *mut GtkTreePath, 9924 *mut GtkSelectionData, 9925 ) -> gboolean, 9926 >, 9927 pub row_drop_possible: Option< 9928 unsafe extern "C" fn( 9929 *mut GtkTreeDragDest, 9930 *mut GtkTreePath, 9931 *mut GtkSelectionData, 9932 ) -> gboolean, 9933 >, 9934 } 9935 9936 impl ::std::fmt::Debug for GtkTreeDragDestIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9937 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9938 f.debug_struct(&format!("GtkTreeDragDestIface @ {:?}", self as *const _)) 9939 .field("drag_data_received", &self.drag_data_received) 9940 .field("row_drop_possible", &self.row_drop_possible) 9941 .finish() 9942 } 9943 } 9944 9945 #[repr(C)] 9946 #[derive(Copy, Clone)] 9947 pub struct GtkTreeDragSourceIface { 9948 pub g_iface: gobject::GTypeInterface, 9949 pub row_draggable: 9950 Option<unsafe extern "C" fn(*mut GtkTreeDragSource, *mut GtkTreePath) -> gboolean>, 9951 pub drag_data_get: Option< 9952 unsafe extern "C" fn( 9953 *mut GtkTreeDragSource, 9954 *mut GtkTreePath, 9955 *mut GtkSelectionData, 9956 ) -> gboolean, 9957 >, 9958 pub drag_data_delete: 9959 Option<unsafe extern "C" fn(*mut GtkTreeDragSource, *mut GtkTreePath) -> gboolean>, 9960 } 9961 9962 impl ::std::fmt::Debug for GtkTreeDragSourceIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9963 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9964 f.debug_struct(&format!("GtkTreeDragSourceIface @ {:?}", self as *const _)) 9965 .field("row_draggable", &self.row_draggable) 9966 .field("drag_data_get", &self.drag_data_get) 9967 .field("drag_data_delete", &self.drag_data_delete) 9968 .finish() 9969 } 9970 } 9971 9972 #[repr(C)] 9973 #[derive(Copy, Clone)] 9974 pub struct GtkTreeIter { 9975 pub stamp: c_int, 9976 pub user_data: gpointer, 9977 pub user_data2: gpointer, 9978 pub user_data3: gpointer, 9979 } 9980 9981 impl ::std::fmt::Debug for GtkTreeIter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result9982 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 9983 f.debug_struct(&format!("GtkTreeIter @ {:?}", self as *const _)) 9984 .field("stamp", &self.stamp) 9985 .field("user_data", &self.user_data) 9986 .field("user_data2", &self.user_data2) 9987 .field("user_data3", &self.user_data3) 9988 .finish() 9989 } 9990 } 9991 9992 #[repr(C)] 9993 #[derive(Copy, Clone)] 9994 pub struct GtkTreeModelFilterClass { 9995 pub parent_class: gobject::GObjectClass, 9996 pub visible: Option< 9997 unsafe extern "C" fn( 9998 *mut GtkTreeModelFilter, 9999 *mut GtkTreeModel, 10000 *mut GtkTreeIter, 10001 ) -> gboolean, 10002 >, 10003 pub modify: Option< 10004 unsafe extern "C" fn( 10005 *mut GtkTreeModelFilter, 10006 *mut GtkTreeModel, 10007 *mut GtkTreeIter, 10008 *mut gobject::GValue, 10009 c_int, 10010 ), 10011 >, 10012 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 10013 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 10014 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 10015 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 10016 } 10017 10018 impl ::std::fmt::Debug for GtkTreeModelFilterClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10019 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10020 f.debug_struct(&format!("GtkTreeModelFilterClass @ {:?}", self as *const _)) 10021 .field("parent_class", &self.parent_class) 10022 .field("visible", &self.visible) 10023 .field("modify", &self.modify) 10024 .field("_gtk_reserved1", &self._gtk_reserved1) 10025 .field("_gtk_reserved2", &self._gtk_reserved2) 10026 .field("_gtk_reserved3", &self._gtk_reserved3) 10027 .field("_gtk_reserved4", &self._gtk_reserved4) 10028 .finish() 10029 } 10030 } 10031 10032 #[repr(C)] 10033 pub struct _GtkTreeModelFilterPrivate(c_void); 10034 10035 pub type GtkTreeModelFilterPrivate = *mut _GtkTreeModelFilterPrivate; 10036 10037 #[repr(C)] 10038 #[derive(Copy, Clone)] 10039 pub struct GtkTreeModelIface { 10040 pub g_iface: gobject::GTypeInterface, 10041 pub row_changed: 10042 Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath, *mut GtkTreeIter)>, 10043 pub row_inserted: 10044 Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath, *mut GtkTreeIter)>, 10045 pub row_has_child_toggled: 10046 Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath, *mut GtkTreeIter)>, 10047 pub row_deleted: Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath)>, 10048 pub rows_reordered: Option< 10049 unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreePath, *mut GtkTreeIter, *mut c_int), 10050 >, 10051 pub get_flags: Option<unsafe extern "C" fn(*mut GtkTreeModel) -> GtkTreeModelFlags>, 10052 pub get_n_columns: Option<unsafe extern "C" fn(*mut GtkTreeModel) -> c_int>, 10053 pub get_column_type: Option<unsafe extern "C" fn(*mut GtkTreeModel, c_int) -> GType>, 10054 pub get_iter: Option< 10055 unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, *mut GtkTreePath) -> gboolean, 10056 >, 10057 pub get_path: 10058 Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter) -> *mut GtkTreePath>, 10059 pub get_value: Option< 10060 unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, c_int, *mut gobject::GValue), 10061 >, 10062 pub iter_next: Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter) -> gboolean>, 10063 pub iter_previous: 10064 Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter) -> gboolean>, 10065 pub iter_children: Option< 10066 unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, *mut GtkTreeIter) -> gboolean, 10067 >, 10068 pub iter_has_child: 10069 Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter) -> gboolean>, 10070 pub iter_n_children: Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter) -> c_int>, 10071 pub iter_nth_child: Option< 10072 unsafe extern "C" fn( 10073 *mut GtkTreeModel, 10074 *mut GtkTreeIter, 10075 *mut GtkTreeIter, 10076 c_int, 10077 ) -> gboolean, 10078 >, 10079 pub iter_parent: Option< 10080 unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter, *mut GtkTreeIter) -> gboolean, 10081 >, 10082 pub ref_node: Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter)>, 10083 pub unref_node: Option<unsafe extern "C" fn(*mut GtkTreeModel, *mut GtkTreeIter)>, 10084 } 10085 10086 impl ::std::fmt::Debug for GtkTreeModelIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10087 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10088 f.debug_struct(&format!("GtkTreeModelIface @ {:?}", self as *const _)) 10089 .field("row_changed", &self.row_changed) 10090 .field("row_inserted", &self.row_inserted) 10091 .field("row_has_child_toggled", &self.row_has_child_toggled) 10092 .field("row_deleted", &self.row_deleted) 10093 .field("rows_reordered", &self.rows_reordered) 10094 .field("get_flags", &self.get_flags) 10095 .field("get_n_columns", &self.get_n_columns) 10096 .field("get_column_type", &self.get_column_type) 10097 .field("get_iter", &self.get_iter) 10098 .field("get_path", &self.get_path) 10099 .field("get_value", &self.get_value) 10100 .field("iter_next", &self.iter_next) 10101 .field("iter_previous", &self.iter_previous) 10102 .field("iter_children", &self.iter_children) 10103 .field("iter_has_child", &self.iter_has_child) 10104 .field("iter_n_children", &self.iter_n_children) 10105 .field("iter_nth_child", &self.iter_nth_child) 10106 .field("iter_parent", &self.iter_parent) 10107 .field("ref_node", &self.ref_node) 10108 .field("unref_node", &self.unref_node) 10109 .finish() 10110 } 10111 } 10112 10113 #[repr(C)] 10114 #[derive(Copy, Clone)] 10115 pub struct GtkTreeModelSortClass { 10116 pub parent_class: gobject::GObjectClass, 10117 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 10118 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 10119 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 10120 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 10121 } 10122 10123 impl ::std::fmt::Debug for GtkTreeModelSortClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10124 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10125 f.debug_struct(&format!("GtkTreeModelSortClass @ {:?}", self as *const _)) 10126 .field("parent_class", &self.parent_class) 10127 .field("_gtk_reserved1", &self._gtk_reserved1) 10128 .field("_gtk_reserved2", &self._gtk_reserved2) 10129 .field("_gtk_reserved3", &self._gtk_reserved3) 10130 .field("_gtk_reserved4", &self._gtk_reserved4) 10131 .finish() 10132 } 10133 } 10134 10135 #[repr(C)] 10136 pub struct _GtkTreeModelSortPrivate(c_void); 10137 10138 pub type GtkTreeModelSortPrivate = *mut _GtkTreeModelSortPrivate; 10139 10140 #[repr(C)] 10141 pub struct GtkTreePath(c_void); 10142 10143 impl ::std::fmt::Debug for GtkTreePath { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10144 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10145 f.debug_struct(&format!("GtkTreePath @ {:?}", self as *const _)) 10146 .finish() 10147 } 10148 } 10149 10150 #[repr(C)] 10151 pub struct GtkTreeRowReference(c_void); 10152 10153 impl ::std::fmt::Debug for GtkTreeRowReference { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10154 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10155 f.debug_struct(&format!("GtkTreeRowReference @ {:?}", self as *const _)) 10156 .finish() 10157 } 10158 } 10159 10160 #[repr(C)] 10161 #[derive(Copy, Clone)] 10162 pub struct GtkTreeSelectionClass { 10163 pub parent_class: gobject::GObjectClass, 10164 pub changed: Option<unsafe extern "C" fn(*mut GtkTreeSelection)>, 10165 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 10166 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 10167 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 10168 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 10169 } 10170 10171 impl ::std::fmt::Debug for GtkTreeSelectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10172 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10173 f.debug_struct(&format!("GtkTreeSelectionClass @ {:?}", self as *const _)) 10174 .field("parent_class", &self.parent_class) 10175 .field("changed", &self.changed) 10176 .field("_gtk_reserved1", &self._gtk_reserved1) 10177 .field("_gtk_reserved2", &self._gtk_reserved2) 10178 .field("_gtk_reserved3", &self._gtk_reserved3) 10179 .field("_gtk_reserved4", &self._gtk_reserved4) 10180 .finish() 10181 } 10182 } 10183 10184 #[repr(C)] 10185 pub struct _GtkTreeSelectionPrivate(c_void); 10186 10187 pub type GtkTreeSelectionPrivate = *mut _GtkTreeSelectionPrivate; 10188 10189 #[repr(C)] 10190 #[derive(Copy, Clone)] 10191 pub struct GtkTreeSortableIface { 10192 pub g_iface: gobject::GTypeInterface, 10193 pub sort_column_changed: Option<unsafe extern "C" fn(*mut GtkTreeSortable)>, 10194 pub get_sort_column_id: Option< 10195 unsafe extern "C" fn(*mut GtkTreeSortable, *mut c_int, *mut GtkSortType) -> gboolean, 10196 >, 10197 pub set_sort_column_id: Option<unsafe extern "C" fn(*mut GtkTreeSortable, c_int, GtkSortType)>, 10198 pub set_sort_func: Option< 10199 unsafe extern "C" fn( 10200 *mut GtkTreeSortable, 10201 c_int, 10202 GtkTreeIterCompareFunc, 10203 gpointer, 10204 glib::GDestroyNotify, 10205 ), 10206 >, 10207 pub set_default_sort_func: Option< 10208 unsafe extern "C" fn( 10209 *mut GtkTreeSortable, 10210 GtkTreeIterCompareFunc, 10211 gpointer, 10212 glib::GDestroyNotify, 10213 ), 10214 >, 10215 pub has_default_sort_func: Option<unsafe extern "C" fn(*mut GtkTreeSortable) -> gboolean>, 10216 } 10217 10218 impl ::std::fmt::Debug for GtkTreeSortableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10219 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10220 f.debug_struct(&format!("GtkTreeSortableIface @ {:?}", self as *const _)) 10221 .field("sort_column_changed", &self.sort_column_changed) 10222 .field("get_sort_column_id", &self.get_sort_column_id) 10223 .field("set_sort_column_id", &self.set_sort_column_id) 10224 .field("set_sort_func", &self.set_sort_func) 10225 .field("set_default_sort_func", &self.set_default_sort_func) 10226 .field("has_default_sort_func", &self.has_default_sort_func) 10227 .finish() 10228 } 10229 } 10230 10231 #[repr(C)] 10232 #[derive(Copy, Clone)] 10233 pub struct GtkTreeStoreClass { 10234 pub parent_class: gobject::GObjectClass, 10235 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 10236 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 10237 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 10238 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 10239 } 10240 10241 impl ::std::fmt::Debug for GtkTreeStoreClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10242 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10243 f.debug_struct(&format!("GtkTreeStoreClass @ {:?}", self as *const _)) 10244 .field("parent_class", &self.parent_class) 10245 .field("_gtk_reserved1", &self._gtk_reserved1) 10246 .field("_gtk_reserved2", &self._gtk_reserved2) 10247 .field("_gtk_reserved3", &self._gtk_reserved3) 10248 .field("_gtk_reserved4", &self._gtk_reserved4) 10249 .finish() 10250 } 10251 } 10252 10253 #[repr(C)] 10254 pub struct _GtkTreeStorePrivate(c_void); 10255 10256 pub type GtkTreeStorePrivate = *mut _GtkTreeStorePrivate; 10257 10258 #[repr(C)] 10259 #[derive(Copy, Clone)] 10260 pub struct GtkTreeViewAccessibleClass { 10261 pub parent_class: GtkContainerAccessibleClass, 10262 } 10263 10264 impl ::std::fmt::Debug for GtkTreeViewAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10265 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10266 f.debug_struct(&format!( 10267 "GtkTreeViewAccessibleClass @ {:?}", 10268 self as *const _ 10269 )) 10270 .field("parent_class", &self.parent_class) 10271 .finish() 10272 } 10273 } 10274 10275 #[repr(C)] 10276 pub struct _GtkTreeViewAccessiblePrivate(c_void); 10277 10278 pub type GtkTreeViewAccessiblePrivate = *mut _GtkTreeViewAccessiblePrivate; 10279 10280 #[repr(C)] 10281 #[derive(Copy, Clone)] 10282 pub struct GtkTreeViewClass { 10283 pub parent_class: GtkContainerClass, 10284 pub row_activated: 10285 Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreePath, *mut GtkTreeViewColumn)>, 10286 pub test_expand_row: Option< 10287 unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreeIter, *mut GtkTreePath) -> gboolean, 10288 >, 10289 pub test_collapse_row: Option< 10290 unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreeIter, *mut GtkTreePath) -> gboolean, 10291 >, 10292 pub row_expanded: 10293 Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreeIter, *mut GtkTreePath)>, 10294 pub row_collapsed: 10295 Option<unsafe extern "C" fn(*mut GtkTreeView, *mut GtkTreeIter, *mut GtkTreePath)>, 10296 pub columns_changed: Option<unsafe extern "C" fn(*mut GtkTreeView)>, 10297 pub cursor_changed: Option<unsafe extern "C" fn(*mut GtkTreeView)>, 10298 pub move_cursor: 10299 Option<unsafe extern "C" fn(*mut GtkTreeView, GtkMovementStep, c_int) -> gboolean>, 10300 pub select_all: Option<unsafe extern "C" fn(*mut GtkTreeView) -> gboolean>, 10301 pub unselect_all: Option<unsafe extern "C" fn(*mut GtkTreeView) -> gboolean>, 10302 pub select_cursor_row: Option<unsafe extern "C" fn(*mut GtkTreeView, gboolean) -> gboolean>, 10303 pub toggle_cursor_row: Option<unsafe extern "C" fn(*mut GtkTreeView) -> gboolean>, 10304 pub expand_collapse_cursor_row: 10305 Option<unsafe extern "C" fn(*mut GtkTreeView, gboolean, gboolean, gboolean) -> gboolean>, 10306 pub select_cursor_parent: Option<unsafe extern "C" fn(*mut GtkTreeView) -> gboolean>, 10307 pub start_interactive_search: Option<unsafe extern "C" fn(*mut GtkTreeView) -> gboolean>, 10308 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 10309 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 10310 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 10311 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 10312 pub _gtk_reserved5: Option<unsafe extern "C" fn()>, 10313 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 10314 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 10315 pub _gtk_reserved8: Option<unsafe extern "C" fn()>, 10316 } 10317 10318 impl ::std::fmt::Debug for GtkTreeViewClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10319 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10320 f.debug_struct(&format!("GtkTreeViewClass @ {:?}", self as *const _)) 10321 .field("parent_class", &self.parent_class) 10322 .field("row_activated", &self.row_activated) 10323 .field("test_expand_row", &self.test_expand_row) 10324 .field("test_collapse_row", &self.test_collapse_row) 10325 .field("row_expanded", &self.row_expanded) 10326 .field("row_collapsed", &self.row_collapsed) 10327 .field("columns_changed", &self.columns_changed) 10328 .field("cursor_changed", &self.cursor_changed) 10329 .field("move_cursor", &self.move_cursor) 10330 .field("select_all", &self.select_all) 10331 .field("unselect_all", &self.unselect_all) 10332 .field("select_cursor_row", &self.select_cursor_row) 10333 .field("toggle_cursor_row", &self.toggle_cursor_row) 10334 .field( 10335 "expand_collapse_cursor_row", 10336 &self.expand_collapse_cursor_row, 10337 ) 10338 .field("select_cursor_parent", &self.select_cursor_parent) 10339 .field("start_interactive_search", &self.start_interactive_search) 10340 .field("_gtk_reserved1", &self._gtk_reserved1) 10341 .field("_gtk_reserved2", &self._gtk_reserved2) 10342 .field("_gtk_reserved3", &self._gtk_reserved3) 10343 .field("_gtk_reserved4", &self._gtk_reserved4) 10344 .field("_gtk_reserved5", &self._gtk_reserved5) 10345 .field("_gtk_reserved6", &self._gtk_reserved6) 10346 .field("_gtk_reserved7", &self._gtk_reserved7) 10347 .field("_gtk_reserved8", &self._gtk_reserved8) 10348 .finish() 10349 } 10350 } 10351 10352 #[repr(C)] 10353 #[derive(Copy, Clone)] 10354 pub struct GtkTreeViewColumnClass { 10355 pub parent_class: gobject::GInitiallyUnownedClass, 10356 pub clicked: Option<unsafe extern "C" fn(*mut GtkTreeViewColumn)>, 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 10363 impl ::std::fmt::Debug for GtkTreeViewColumnClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10364 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10365 f.debug_struct(&format!("GtkTreeViewColumnClass @ {:?}", self as *const _)) 10366 .field("parent_class", &self.parent_class) 10367 .field("clicked", &self.clicked) 10368 .field("_gtk_reserved1", &self._gtk_reserved1) 10369 .field("_gtk_reserved2", &self._gtk_reserved2) 10370 .field("_gtk_reserved3", &self._gtk_reserved3) 10371 .field("_gtk_reserved4", &self._gtk_reserved4) 10372 .finish() 10373 } 10374 } 10375 10376 #[repr(C)] 10377 pub struct _GtkTreeViewColumnPrivate(c_void); 10378 10379 pub type GtkTreeViewColumnPrivate = *mut _GtkTreeViewColumnPrivate; 10380 10381 #[repr(C)] 10382 pub struct _GtkTreeViewPrivate(c_void); 10383 10384 pub type GtkTreeViewPrivate = *mut _GtkTreeViewPrivate; 10385 10386 #[repr(C)] 10387 #[derive(Copy, Clone)] 10388 pub struct GtkUIManagerClass { 10389 pub parent_class: gobject::GObjectClass, 10390 pub add_widget: Option<unsafe extern "C" fn(*mut GtkUIManager, *mut GtkWidget)>, 10391 pub actions_changed: Option<unsafe extern "C" fn(*mut GtkUIManager)>, 10392 pub connect_proxy: 10393 Option<unsafe extern "C" fn(*mut GtkUIManager, *mut GtkAction, *mut GtkWidget)>, 10394 pub disconnect_proxy: 10395 Option<unsafe extern "C" fn(*mut GtkUIManager, *mut GtkAction, *mut GtkWidget)>, 10396 pub pre_activate: Option<unsafe extern "C" fn(*mut GtkUIManager, *mut GtkAction)>, 10397 pub post_activate: Option<unsafe extern "C" fn(*mut GtkUIManager, *mut GtkAction)>, 10398 pub get_widget: 10399 Option<unsafe extern "C" fn(*mut GtkUIManager, *const c_char) -> *mut GtkWidget>, 10400 pub get_action: 10401 Option<unsafe extern "C" fn(*mut GtkUIManager, *const c_char) -> *mut GtkAction>, 10402 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 10403 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 10404 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 10405 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 10406 } 10407 10408 impl ::std::fmt::Debug for GtkUIManagerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10409 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10410 f.debug_struct(&format!("GtkUIManagerClass @ {:?}", self as *const _)) 10411 .field("parent_class", &self.parent_class) 10412 .field("add_widget", &self.add_widget) 10413 .field("actions_changed", &self.actions_changed) 10414 .field("connect_proxy", &self.connect_proxy) 10415 .field("disconnect_proxy", &self.disconnect_proxy) 10416 .field("pre_activate", &self.pre_activate) 10417 .field("post_activate", &self.post_activate) 10418 .field("get_widget", &self.get_widget) 10419 .field("get_action", &self.get_action) 10420 .field("_gtk_reserved1", &self._gtk_reserved1) 10421 .field("_gtk_reserved2", &self._gtk_reserved2) 10422 .field("_gtk_reserved3", &self._gtk_reserved3) 10423 .field("_gtk_reserved4", &self._gtk_reserved4) 10424 .finish() 10425 } 10426 } 10427 10428 #[repr(C)] 10429 pub struct _GtkUIManagerPrivate(c_void); 10430 10431 pub type GtkUIManagerPrivate = *mut _GtkUIManagerPrivate; 10432 10433 #[repr(C)] 10434 #[derive(Copy, Clone)] 10435 pub struct GtkVBoxClass { 10436 pub parent_class: GtkBoxClass, 10437 } 10438 10439 impl ::std::fmt::Debug for GtkVBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10440 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10441 f.debug_struct(&format!("GtkVBoxClass @ {:?}", self as *const _)) 10442 .field("parent_class", &self.parent_class) 10443 .finish() 10444 } 10445 } 10446 10447 #[repr(C)] 10448 #[derive(Copy, Clone)] 10449 pub struct GtkVButtonBoxClass { 10450 pub parent_class: GtkButtonBoxClass, 10451 } 10452 10453 impl ::std::fmt::Debug for GtkVButtonBoxClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10454 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10455 f.debug_struct(&format!("GtkVButtonBoxClass @ {:?}", self as *const _)) 10456 .field("parent_class", &self.parent_class) 10457 .finish() 10458 } 10459 } 10460 10461 #[repr(C)] 10462 #[derive(Copy, Clone)] 10463 pub struct GtkVPanedClass { 10464 pub parent_class: GtkPanedClass, 10465 } 10466 10467 impl ::std::fmt::Debug for GtkVPanedClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10468 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10469 f.debug_struct(&format!("GtkVPanedClass @ {:?}", self as *const _)) 10470 .field("parent_class", &self.parent_class) 10471 .finish() 10472 } 10473 } 10474 10475 #[repr(C)] 10476 #[derive(Copy, Clone)] 10477 pub struct GtkVScaleClass { 10478 pub parent_class: GtkScaleClass, 10479 } 10480 10481 impl ::std::fmt::Debug for GtkVScaleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10482 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10483 f.debug_struct(&format!("GtkVScaleClass @ {:?}", self as *const _)) 10484 .field("parent_class", &self.parent_class) 10485 .finish() 10486 } 10487 } 10488 10489 #[repr(C)] 10490 #[derive(Copy, Clone)] 10491 pub struct GtkVScrollbarClass { 10492 pub parent_class: GtkScrollbarClass, 10493 } 10494 10495 impl ::std::fmt::Debug for GtkVScrollbarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10496 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10497 f.debug_struct(&format!("GtkVScrollbarClass @ {:?}", self as *const _)) 10498 .field("parent_class", &self.parent_class) 10499 .finish() 10500 } 10501 } 10502 10503 #[repr(C)] 10504 #[derive(Copy, Clone)] 10505 pub struct GtkVSeparatorClass { 10506 pub parent_class: GtkSeparatorClass, 10507 } 10508 10509 impl ::std::fmt::Debug for GtkVSeparatorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10510 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10511 f.debug_struct(&format!("GtkVSeparatorClass @ {:?}", self as *const _)) 10512 .field("parent_class", &self.parent_class) 10513 .finish() 10514 } 10515 } 10516 10517 #[repr(C)] 10518 #[derive(Copy, Clone)] 10519 pub struct GtkViewportClass { 10520 pub parent_class: GtkBinClass, 10521 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 10522 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 10523 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 10524 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 10525 } 10526 10527 impl ::std::fmt::Debug for GtkViewportClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10528 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10529 f.debug_struct(&format!("GtkViewportClass @ {:?}", self as *const _)) 10530 .field("parent_class", &self.parent_class) 10531 .field("_gtk_reserved1", &self._gtk_reserved1) 10532 .field("_gtk_reserved2", &self._gtk_reserved2) 10533 .field("_gtk_reserved3", &self._gtk_reserved3) 10534 .field("_gtk_reserved4", &self._gtk_reserved4) 10535 .finish() 10536 } 10537 } 10538 10539 #[repr(C)] 10540 pub struct _GtkViewportPrivate(c_void); 10541 10542 pub type GtkViewportPrivate = *mut _GtkViewportPrivate; 10543 10544 #[repr(C)] 10545 #[derive(Copy, Clone)] 10546 pub struct GtkVolumeButtonClass { 10547 pub parent_class: GtkScaleButtonClass, 10548 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 10549 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 10550 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 10551 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 10552 } 10553 10554 impl ::std::fmt::Debug for GtkVolumeButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10555 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10556 f.debug_struct(&format!("GtkVolumeButtonClass @ {:?}", self as *const _)) 10557 .field("parent_class", &self.parent_class) 10558 .field("_gtk_reserved1", &self._gtk_reserved1) 10559 .field("_gtk_reserved2", &self._gtk_reserved2) 10560 .field("_gtk_reserved3", &self._gtk_reserved3) 10561 .field("_gtk_reserved4", &self._gtk_reserved4) 10562 .finish() 10563 } 10564 } 10565 10566 #[repr(C)] 10567 #[derive(Copy, Clone)] 10568 pub struct GtkWidgetAccessibleClass { 10569 pub parent_class: GtkAccessibleClass, 10570 pub notify_gtk: Option<unsafe extern "C" fn(*mut gobject::GObject, *mut gobject::GParamSpec)>, 10571 } 10572 10573 impl ::std::fmt::Debug for GtkWidgetAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10574 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10575 f.debug_struct(&format!( 10576 "GtkWidgetAccessibleClass @ {:?}", 10577 self as *const _ 10578 )) 10579 .field("parent_class", &self.parent_class) 10580 .field("notify_gtk", &self.notify_gtk) 10581 .finish() 10582 } 10583 } 10584 10585 #[repr(C)] 10586 pub struct _GtkWidgetAccessiblePrivate(c_void); 10587 10588 pub type GtkWidgetAccessiblePrivate = *mut _GtkWidgetAccessiblePrivate; 10589 10590 #[repr(C)] 10591 #[derive(Copy, Clone)] 10592 pub struct GtkWidgetClass { 10593 pub parent_class: gobject::GInitiallyUnownedClass, 10594 pub activate_signal: c_uint, 10595 pub dispatch_child_properties_changed: 10596 Option<unsafe extern "C" fn(*mut GtkWidget, c_uint, *mut *mut gobject::GParamSpec)>, 10597 pub destroy: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10598 pub show: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10599 pub show_all: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10600 pub hide: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10601 pub map: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10602 pub unmap: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10603 pub realize: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10604 pub unrealize: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10605 pub size_allocate: Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkAllocation)>, 10606 pub state_changed: Option<unsafe extern "C" fn(*mut GtkWidget, GtkStateType)>, 10607 pub state_flags_changed: Option<unsafe extern "C" fn(*mut GtkWidget, GtkStateFlags)>, 10608 pub parent_set: Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkWidget)>, 10609 pub hierarchy_changed: Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkWidget)>, 10610 pub style_set: Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkStyle)>, 10611 pub direction_changed: Option<unsafe extern "C" fn(*mut GtkWidget, GtkTextDirection)>, 10612 pub grab_notify: Option<unsafe extern "C" fn(*mut GtkWidget, gboolean)>, 10613 pub child_notify: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gobject::GParamSpec)>, 10614 pub draw: Option<unsafe extern "C" fn(*mut GtkWidget, *mut cairo::cairo_t) -> gboolean>, 10615 pub get_request_mode: Option<unsafe extern "C" fn(*mut GtkWidget) -> GtkSizeRequestMode>, 10616 pub get_preferred_height: Option<unsafe extern "C" fn(*mut GtkWidget, *mut c_int, *mut c_int)>, 10617 pub get_preferred_width_for_height: 10618 Option<unsafe extern "C" fn(*mut GtkWidget, c_int, *mut c_int, *mut c_int)>, 10619 pub get_preferred_width: Option<unsafe extern "C" fn(*mut GtkWidget, *mut c_int, *mut c_int)>, 10620 pub get_preferred_height_for_width: 10621 Option<unsafe extern "C" fn(*mut GtkWidget, c_int, *mut c_int, *mut c_int)>, 10622 pub mnemonic_activate: Option<unsafe extern "C" fn(*mut GtkWidget, gboolean) -> gboolean>, 10623 pub grab_focus: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10624 pub focus: Option<unsafe extern "C" fn(*mut GtkWidget, GtkDirectionType) -> gboolean>, 10625 pub move_focus: Option<unsafe extern "C" fn(*mut GtkWidget, GtkDirectionType)>, 10626 pub keynav_failed: Option<unsafe extern "C" fn(*mut GtkWidget, GtkDirectionType) -> gboolean>, 10627 pub event: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEvent) -> gboolean>, 10628 pub button_press_event: 10629 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventButton) -> gboolean>, 10630 pub button_release_event: 10631 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventButton) -> gboolean>, 10632 pub scroll_event: 10633 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventScroll) -> gboolean>, 10634 pub motion_notify_event: 10635 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventMotion) -> gboolean>, 10636 pub delete_event: 10637 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventAny) -> gboolean>, 10638 pub destroy_event: 10639 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventAny) -> gboolean>, 10640 pub key_press_event: 10641 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventKey) -> gboolean>, 10642 pub key_release_event: 10643 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventKey) -> gboolean>, 10644 pub enter_notify_event: 10645 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventCrossing) -> gboolean>, 10646 pub leave_notify_event: 10647 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventCrossing) -> gboolean>, 10648 pub configure_event: 10649 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventConfigure) -> gboolean>, 10650 pub focus_in_event: 10651 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventFocus) -> gboolean>, 10652 pub focus_out_event: 10653 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventFocus) -> gboolean>, 10654 pub map_event: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventAny) -> gboolean>, 10655 pub unmap_event: 10656 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventAny) -> gboolean>, 10657 pub property_notify_event: 10658 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventProperty) -> gboolean>, 10659 pub selection_clear_event: 10660 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventSelection) -> gboolean>, 10661 pub selection_request_event: 10662 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventSelection) -> gboolean>, 10663 pub selection_notify_event: 10664 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventSelection) -> gboolean>, 10665 pub proximity_in_event: 10666 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventProximity) -> gboolean>, 10667 pub proximity_out_event: 10668 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventProximity) -> gboolean>, 10669 pub visibility_notify_event: 10670 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventVisibility) -> gboolean>, 10671 pub window_state_event: 10672 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventWindowState) -> gboolean>, 10673 pub damage_event: 10674 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventExpose) -> gboolean>, 10675 pub grab_broken_event: 10676 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventGrabBroken) -> gboolean>, 10677 pub selection_get: 10678 Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkSelectionData, c_uint, c_uint)>, 10679 pub selection_received: 10680 Option<unsafe extern "C" fn(*mut GtkWidget, *mut GtkSelectionData, c_uint)>, 10681 pub drag_begin: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkDragContext)>, 10682 pub drag_end: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkDragContext)>, 10683 pub drag_data_get: Option< 10684 unsafe extern "C" fn( 10685 *mut GtkWidget, 10686 *mut gdk::GdkDragContext, 10687 *mut GtkSelectionData, 10688 c_uint, 10689 c_uint, 10690 ), 10691 >, 10692 pub drag_data_delete: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkDragContext)>, 10693 pub drag_leave: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkDragContext, c_uint)>, 10694 pub drag_motion: Option< 10695 unsafe extern "C" fn( 10696 *mut GtkWidget, 10697 *mut gdk::GdkDragContext, 10698 c_int, 10699 c_int, 10700 c_uint, 10701 ) -> gboolean, 10702 >, 10703 pub drag_drop: Option< 10704 unsafe extern "C" fn( 10705 *mut GtkWidget, 10706 *mut gdk::GdkDragContext, 10707 c_int, 10708 c_int, 10709 c_uint, 10710 ) -> gboolean, 10711 >, 10712 pub drag_data_received: Option< 10713 unsafe extern "C" fn( 10714 *mut GtkWidget, 10715 *mut gdk::GdkDragContext, 10716 c_int, 10717 c_int, 10718 *mut GtkSelectionData, 10719 c_uint, 10720 c_uint, 10721 ), 10722 >, 10723 pub drag_failed: Option< 10724 unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkDragContext, GtkDragResult) -> gboolean, 10725 >, 10726 pub popup_menu: Option<unsafe extern "C" fn(*mut GtkWidget) -> gboolean>, 10727 pub show_help: Option<unsafe extern "C" fn(*mut GtkWidget, GtkWidgetHelpType) -> gboolean>, 10728 pub get_accessible: Option<unsafe extern "C" fn(*mut GtkWidget) -> *mut atk::AtkObject>, 10729 pub screen_changed: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkScreen)>, 10730 pub can_activate_accel: Option<unsafe extern "C" fn(*mut GtkWidget, c_uint) -> gboolean>, 10731 pub composited_changed: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10732 pub query_tooltip: Option< 10733 unsafe extern "C" fn(*mut GtkWidget, c_int, c_int, gboolean, *mut GtkTooltip) -> gboolean, 10734 >, 10735 pub compute_expand: Option<unsafe extern "C" fn(*mut GtkWidget, *mut gboolean, *mut gboolean)>, 10736 pub adjust_size_request: 10737 Option<unsafe extern "C" fn(*mut GtkWidget, GtkOrientation, *mut c_int, *mut c_int)>, 10738 pub adjust_size_allocation: Option< 10739 unsafe extern "C" fn( 10740 *mut GtkWidget, 10741 GtkOrientation, 10742 *mut c_int, 10743 *mut c_int, 10744 *mut c_int, 10745 *mut c_int, 10746 ), 10747 >, 10748 pub style_updated: Option<unsafe extern "C" fn(*mut GtkWidget)>, 10749 pub touch_event: 10750 Option<unsafe extern "C" fn(*mut GtkWidget, *mut gdk::GdkEventTouch) -> gboolean>, 10751 pub get_preferred_height_and_baseline_for_width: Option< 10752 unsafe extern "C" fn(*mut GtkWidget, c_int, *mut c_int, *mut c_int, *mut c_int, *mut c_int), 10753 >, 10754 pub adjust_baseline_request: 10755 Option<unsafe extern "C" fn(*mut GtkWidget, *mut c_int, *mut c_int)>, 10756 pub adjust_baseline_allocation: Option<unsafe extern "C" fn(*mut GtkWidget, *mut c_int)>, 10757 pub queue_draw_region: 10758 Option<unsafe extern "C" fn(*mut GtkWidget, *const cairo::cairo_region_t)>, 10759 pub priv_: *mut GtkWidgetClassPrivate, 10760 pub _gtk_reserved6: Option<unsafe extern "C" fn()>, 10761 pub _gtk_reserved7: Option<unsafe extern "C" fn()>, 10762 } 10763 10764 impl ::std::fmt::Debug for GtkWidgetClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10765 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10766 f.debug_struct(&format!("GtkWidgetClass @ {:?}", self as *const _)) 10767 .field("parent_class", &self.parent_class) 10768 .field("activate_signal", &self.activate_signal) 10769 .field( 10770 "dispatch_child_properties_changed", 10771 &self.dispatch_child_properties_changed, 10772 ) 10773 .field("destroy", &self.destroy) 10774 .field("show", &self.show) 10775 .field("show_all", &self.show_all) 10776 .field("hide", &self.hide) 10777 .field("map", &self.map) 10778 .field("unmap", &self.unmap) 10779 .field("realize", &self.realize) 10780 .field("unrealize", &self.unrealize) 10781 .field("size_allocate", &self.size_allocate) 10782 .field("state_changed", &self.state_changed) 10783 .field("state_flags_changed", &self.state_flags_changed) 10784 .field("parent_set", &self.parent_set) 10785 .field("hierarchy_changed", &self.hierarchy_changed) 10786 .field("style_set", &self.style_set) 10787 .field("direction_changed", &self.direction_changed) 10788 .field("grab_notify", &self.grab_notify) 10789 .field("child_notify", &self.child_notify) 10790 .field("draw", &self.draw) 10791 .field("get_request_mode", &self.get_request_mode) 10792 .field("get_preferred_height", &self.get_preferred_height) 10793 .field( 10794 "get_preferred_width_for_height", 10795 &self.get_preferred_width_for_height, 10796 ) 10797 .field("get_preferred_width", &self.get_preferred_width) 10798 .field( 10799 "get_preferred_height_for_width", 10800 &self.get_preferred_height_for_width, 10801 ) 10802 .field("mnemonic_activate", &self.mnemonic_activate) 10803 .field("grab_focus", &self.grab_focus) 10804 .field("focus", &self.focus) 10805 .field("move_focus", &self.move_focus) 10806 .field("keynav_failed", &self.keynav_failed) 10807 .field("event", &self.event) 10808 .field("button_press_event", &self.button_press_event) 10809 .field("button_release_event", &self.button_release_event) 10810 .field("scroll_event", &self.scroll_event) 10811 .field("motion_notify_event", &self.motion_notify_event) 10812 .field("delete_event", &self.delete_event) 10813 .field("destroy_event", &self.destroy_event) 10814 .field("key_press_event", &self.key_press_event) 10815 .field("key_release_event", &self.key_release_event) 10816 .field("enter_notify_event", &self.enter_notify_event) 10817 .field("leave_notify_event", &self.leave_notify_event) 10818 .field("configure_event", &self.configure_event) 10819 .field("focus_in_event", &self.focus_in_event) 10820 .field("focus_out_event", &self.focus_out_event) 10821 .field("map_event", &self.map_event) 10822 .field("unmap_event", &self.unmap_event) 10823 .field("property_notify_event", &self.property_notify_event) 10824 .field("selection_clear_event", &self.selection_clear_event) 10825 .field("selection_request_event", &self.selection_request_event) 10826 .field("selection_notify_event", &self.selection_notify_event) 10827 .field("proximity_in_event", &self.proximity_in_event) 10828 .field("proximity_out_event", &self.proximity_out_event) 10829 .field("visibility_notify_event", &self.visibility_notify_event) 10830 .field("window_state_event", &self.window_state_event) 10831 .field("damage_event", &self.damage_event) 10832 .field("grab_broken_event", &self.grab_broken_event) 10833 .field("selection_get", &self.selection_get) 10834 .field("selection_received", &self.selection_received) 10835 .field("drag_begin", &self.drag_begin) 10836 .field("drag_end", &self.drag_end) 10837 .field("drag_data_get", &self.drag_data_get) 10838 .field("drag_data_delete", &self.drag_data_delete) 10839 .field("drag_leave", &self.drag_leave) 10840 .field("drag_motion", &self.drag_motion) 10841 .field("drag_drop", &self.drag_drop) 10842 .field("drag_data_received", &self.drag_data_received) 10843 .field("drag_failed", &self.drag_failed) 10844 .field("popup_menu", &self.popup_menu) 10845 .field("show_help", &self.show_help) 10846 .field("get_accessible", &self.get_accessible) 10847 .field("screen_changed", &self.screen_changed) 10848 .field("can_activate_accel", &self.can_activate_accel) 10849 .field("composited_changed", &self.composited_changed) 10850 .field("query_tooltip", &self.query_tooltip) 10851 .field("compute_expand", &self.compute_expand) 10852 .field("adjust_size_request", &self.adjust_size_request) 10853 .field("adjust_size_allocation", &self.adjust_size_allocation) 10854 .field("style_updated", &self.style_updated) 10855 .field("touch_event", &self.touch_event) 10856 .field( 10857 "get_preferred_height_and_baseline_for_width", 10858 &self.get_preferred_height_and_baseline_for_width, 10859 ) 10860 .field("adjust_baseline_request", &self.adjust_baseline_request) 10861 .field( 10862 "adjust_baseline_allocation", 10863 &self.adjust_baseline_allocation, 10864 ) 10865 .field("queue_draw_region", &self.queue_draw_region) 10866 .field("_gtk_reserved6", &self._gtk_reserved6) 10867 .field("_gtk_reserved7", &self._gtk_reserved7) 10868 .finish() 10869 } 10870 } 10871 10872 #[repr(C)] 10873 pub struct _GtkWidgetClassPrivate(c_void); 10874 10875 pub type GtkWidgetClassPrivate = *mut _GtkWidgetClassPrivate; 10876 10877 #[repr(C)] 10878 pub struct GtkWidgetPath(c_void); 10879 10880 impl ::std::fmt::Debug for GtkWidgetPath { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10881 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10882 f.debug_struct(&format!("GtkWidgetPath @ {:?}", self as *const _)) 10883 .finish() 10884 } 10885 } 10886 10887 #[repr(C)] 10888 pub struct _GtkWidgetPrivate(c_void); 10889 10890 pub type GtkWidgetPrivate = *mut _GtkWidgetPrivate; 10891 10892 #[repr(C)] 10893 #[derive(Copy, Clone)] 10894 pub struct GtkWindowAccessibleClass { 10895 pub parent_class: GtkContainerAccessibleClass, 10896 } 10897 10898 impl ::std::fmt::Debug for GtkWindowAccessibleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10899 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10900 f.debug_struct(&format!( 10901 "GtkWindowAccessibleClass @ {:?}", 10902 self as *const _ 10903 )) 10904 .field("parent_class", &self.parent_class) 10905 .finish() 10906 } 10907 } 10908 10909 #[repr(C)] 10910 pub struct _GtkWindowAccessiblePrivate(c_void); 10911 10912 pub type GtkWindowAccessiblePrivate = *mut _GtkWindowAccessiblePrivate; 10913 10914 #[repr(C)] 10915 #[derive(Copy, Clone)] 10916 pub struct GtkWindowClass { 10917 pub parent_class: GtkBinClass, 10918 pub set_focus: Option<unsafe extern "C" fn(*mut GtkWindow, *mut GtkWidget)>, 10919 pub activate_focus: Option<unsafe extern "C" fn(*mut GtkWindow)>, 10920 pub activate_default: Option<unsafe extern "C" fn(*mut GtkWindow)>, 10921 pub keys_changed: Option<unsafe extern "C" fn(*mut GtkWindow)>, 10922 pub enable_debugging: Option<unsafe extern "C" fn(*mut GtkWindow, gboolean) -> gboolean>, 10923 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 10924 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 10925 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 10926 } 10927 10928 impl ::std::fmt::Debug for GtkWindowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10929 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10930 f.debug_struct(&format!("GtkWindowClass @ {:?}", self as *const _)) 10931 .field("parent_class", &self.parent_class) 10932 .field("set_focus", &self.set_focus) 10933 .field("activate_focus", &self.activate_focus) 10934 .field("activate_default", &self.activate_default) 10935 .field("keys_changed", &self.keys_changed) 10936 .field("enable_debugging", &self.enable_debugging) 10937 .field("_gtk_reserved1", &self._gtk_reserved1) 10938 .field("_gtk_reserved2", &self._gtk_reserved2) 10939 .field("_gtk_reserved3", &self._gtk_reserved3) 10940 .finish() 10941 } 10942 } 10943 10944 #[repr(C)] 10945 pub struct _GtkWindowGeometryInfo(c_void); 10946 10947 pub type GtkWindowGeometryInfo = *mut _GtkWindowGeometryInfo; 10948 10949 #[repr(C)] 10950 #[derive(Copy, Clone)] 10951 pub struct GtkWindowGroupClass { 10952 pub parent_class: gobject::GObjectClass, 10953 pub _gtk_reserved1: Option<unsafe extern "C" fn()>, 10954 pub _gtk_reserved2: Option<unsafe extern "C" fn()>, 10955 pub _gtk_reserved3: Option<unsafe extern "C" fn()>, 10956 pub _gtk_reserved4: Option<unsafe extern "C" fn()>, 10957 } 10958 10959 impl ::std::fmt::Debug for GtkWindowGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10960 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10961 f.debug_struct(&format!("GtkWindowGroupClass @ {:?}", self as *const _)) 10962 .field("parent_class", &self.parent_class) 10963 .field("_gtk_reserved1", &self._gtk_reserved1) 10964 .field("_gtk_reserved2", &self._gtk_reserved2) 10965 .field("_gtk_reserved3", &self._gtk_reserved3) 10966 .field("_gtk_reserved4", &self._gtk_reserved4) 10967 .finish() 10968 } 10969 } 10970 10971 #[repr(C)] 10972 pub struct _GtkWindowGroupPrivate(c_void); 10973 10974 pub type GtkWindowGroupPrivate = *mut _GtkWindowGroupPrivate; 10975 10976 #[repr(C)] 10977 pub struct _GtkWindowPrivate(c_void); 10978 10979 pub type GtkWindowPrivate = *mut _GtkWindowPrivate; 10980 10981 // Classes 10982 #[repr(C)] 10983 #[derive(Copy, Clone)] 10984 pub struct GtkAboutDialog { 10985 pub parent_instance: GtkDialog, 10986 pub priv_: *mut GtkAboutDialogPrivate, 10987 } 10988 10989 impl ::std::fmt::Debug for GtkAboutDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result10990 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 10991 f.debug_struct(&format!("GtkAboutDialog @ {:?}", self as *const _)) 10992 .field("parent_instance", &self.parent_instance) 10993 .finish() 10994 } 10995 } 10996 10997 #[repr(C)] 10998 #[derive(Copy, Clone)] 10999 pub struct GtkAccelGroup { 11000 pub parent: gobject::GObject, 11001 pub priv_: *mut GtkAccelGroupPrivate, 11002 } 11003 11004 impl ::std::fmt::Debug for GtkAccelGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11005 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11006 f.debug_struct(&format!("GtkAccelGroup @ {:?}", self as *const _)) 11007 .field("parent", &self.parent) 11008 .field("priv_", &self.priv_) 11009 .finish() 11010 } 11011 } 11012 11013 #[repr(C)] 11014 #[derive(Copy, Clone)] 11015 pub struct GtkAccelLabel { 11016 pub label: GtkLabel, 11017 pub priv_: *mut GtkAccelLabelPrivate, 11018 } 11019 11020 impl ::std::fmt::Debug for GtkAccelLabel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11021 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11022 f.debug_struct(&format!("GtkAccelLabel @ {:?}", self as *const _)) 11023 .field("label", &self.label) 11024 .field("priv_", &self.priv_) 11025 .finish() 11026 } 11027 } 11028 11029 #[repr(C)] 11030 pub struct GtkAccelMap(c_void); 11031 11032 impl ::std::fmt::Debug for GtkAccelMap { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11033 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11034 f.debug_struct(&format!("GtkAccelMap @ {:?}", self as *const _)) 11035 .finish() 11036 } 11037 } 11038 11039 #[repr(C)] 11040 #[derive(Copy, Clone)] 11041 pub struct GtkAccessible { 11042 pub parent: atk::AtkObject, 11043 pub priv_: *mut GtkAccessiblePrivate, 11044 } 11045 11046 impl ::std::fmt::Debug for GtkAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11047 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11048 f.debug_struct(&format!("GtkAccessible @ {:?}", self as *const _)) 11049 .field("parent", &self.parent) 11050 .finish() 11051 } 11052 } 11053 11054 #[repr(C)] 11055 #[derive(Copy, Clone)] 11056 pub struct GtkAction { 11057 pub object: gobject::GObject, 11058 pub private_data: *mut GtkActionPrivate, 11059 } 11060 11061 impl ::std::fmt::Debug for GtkAction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11062 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11063 f.debug_struct(&format!("GtkAction @ {:?}", self as *const _)) 11064 .field("object", &self.object) 11065 .finish() 11066 } 11067 } 11068 11069 #[repr(C)] 11070 #[derive(Copy, Clone)] 11071 pub struct GtkActionBar { 11072 pub bin: GtkBin, 11073 } 11074 11075 impl ::std::fmt::Debug for GtkActionBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11076 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11077 f.debug_struct(&format!("GtkActionBar @ {:?}", self as *const _)) 11078 .finish() 11079 } 11080 } 11081 11082 #[repr(C)] 11083 #[derive(Copy, Clone)] 11084 pub struct GtkActionGroup { 11085 pub parent: gobject::GObject, 11086 pub priv_: *mut GtkActionGroupPrivate, 11087 } 11088 11089 impl ::std::fmt::Debug for GtkActionGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11090 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11091 f.debug_struct(&format!("GtkActionGroup @ {:?}", self as *const _)) 11092 .field("parent", &self.parent) 11093 .finish() 11094 } 11095 } 11096 11097 #[repr(C)] 11098 #[derive(Copy, Clone)] 11099 pub struct GtkAdjustment { 11100 pub parent_instance: gobject::GInitiallyUnowned, 11101 pub priv_: *mut GtkAdjustmentPrivate, 11102 } 11103 11104 impl ::std::fmt::Debug for GtkAdjustment { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11105 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11106 f.debug_struct(&format!("GtkAdjustment @ {:?}", self as *const _)) 11107 .field("parent_instance", &self.parent_instance) 11108 .field("priv_", &self.priv_) 11109 .finish() 11110 } 11111 } 11112 11113 #[repr(C)] 11114 #[derive(Copy, Clone)] 11115 pub struct GtkAlignment { 11116 pub bin: GtkBin, 11117 pub priv_: *mut GtkAlignmentPrivate, 11118 } 11119 11120 impl ::std::fmt::Debug for GtkAlignment { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11121 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11122 f.debug_struct(&format!("GtkAlignment @ {:?}", self as *const _)) 11123 .field("bin", &self.bin) 11124 .finish() 11125 } 11126 } 11127 11128 #[repr(C)] 11129 #[derive(Copy, Clone)] 11130 pub struct GtkAppChooserButton { 11131 pub parent: GtkComboBox, 11132 pub priv_: *mut GtkAppChooserButtonPrivate, 11133 } 11134 11135 impl ::std::fmt::Debug for GtkAppChooserButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11136 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11137 f.debug_struct(&format!("GtkAppChooserButton @ {:?}", self as *const _)) 11138 .field("parent", &self.parent) 11139 .finish() 11140 } 11141 } 11142 11143 #[repr(C)] 11144 #[derive(Copy, Clone)] 11145 pub struct GtkAppChooserDialog { 11146 pub parent: GtkDialog, 11147 pub priv_: *mut GtkAppChooserDialogPrivate, 11148 } 11149 11150 impl ::std::fmt::Debug for GtkAppChooserDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11151 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11152 f.debug_struct(&format!("GtkAppChooserDialog @ {:?}", self as *const _)) 11153 .field("parent", &self.parent) 11154 .finish() 11155 } 11156 } 11157 11158 #[repr(C)] 11159 #[derive(Copy, Clone)] 11160 pub struct GtkAppChooserWidget { 11161 pub parent: GtkBox, 11162 pub priv_: *mut GtkAppChooserWidgetPrivate, 11163 } 11164 11165 impl ::std::fmt::Debug for GtkAppChooserWidget { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11166 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11167 f.debug_struct(&format!("GtkAppChooserWidget @ {:?}", self as *const _)) 11168 .field("parent", &self.parent) 11169 .finish() 11170 } 11171 } 11172 11173 #[repr(C)] 11174 #[derive(Copy, Clone)] 11175 pub struct GtkApplication { 11176 pub parent: gio::GApplication, 11177 pub priv_: *mut GtkApplicationPrivate, 11178 } 11179 11180 impl ::std::fmt::Debug for GtkApplication { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11181 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11182 f.debug_struct(&format!("GtkApplication @ {:?}", self as *const _)) 11183 .field("parent", &self.parent) 11184 .finish() 11185 } 11186 } 11187 11188 #[repr(C)] 11189 #[derive(Copy, Clone)] 11190 pub struct GtkApplicationWindow { 11191 pub parent_instance: GtkWindow, 11192 pub priv_: *mut GtkApplicationWindowPrivate, 11193 } 11194 11195 impl ::std::fmt::Debug for GtkApplicationWindow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11196 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11197 f.debug_struct(&format!("GtkApplicationWindow @ {:?}", self as *const _)) 11198 .field("parent_instance", &self.parent_instance) 11199 .finish() 11200 } 11201 } 11202 11203 #[repr(C)] 11204 #[derive(Copy, Clone)] 11205 pub struct GtkArrow { 11206 pub misc: GtkMisc, 11207 pub priv_: *mut GtkArrowPrivate, 11208 } 11209 11210 impl ::std::fmt::Debug for GtkArrow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11211 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11212 f.debug_struct(&format!("GtkArrow @ {:?}", self as *const _)) 11213 .field("misc", &self.misc) 11214 .finish() 11215 } 11216 } 11217 11218 #[repr(C)] 11219 #[derive(Copy, Clone)] 11220 pub struct GtkArrowAccessible { 11221 pub parent: GtkWidgetAccessible, 11222 pub priv_: *mut GtkArrowAccessiblePrivate, 11223 } 11224 11225 impl ::std::fmt::Debug for GtkArrowAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11226 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11227 f.debug_struct(&format!("GtkArrowAccessible @ {:?}", self as *const _)) 11228 .field("parent", &self.parent) 11229 .field("priv_", &self.priv_) 11230 .finish() 11231 } 11232 } 11233 11234 #[repr(C)] 11235 #[derive(Copy, Clone)] 11236 pub struct GtkAspectFrame { 11237 pub frame: GtkFrame, 11238 pub priv_: *mut GtkAspectFramePrivate, 11239 } 11240 11241 impl ::std::fmt::Debug for GtkAspectFrame { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11242 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11243 f.debug_struct(&format!("GtkAspectFrame @ {:?}", self as *const _)) 11244 .field("frame", &self.frame) 11245 .finish() 11246 } 11247 } 11248 11249 #[repr(C)] 11250 #[derive(Copy, Clone)] 11251 pub struct GtkAssistant { 11252 pub parent: GtkWindow, 11253 pub priv_: *mut GtkAssistantPrivate, 11254 } 11255 11256 impl ::std::fmt::Debug for GtkAssistant { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11257 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11258 f.debug_struct(&format!("GtkAssistant @ {:?}", self as *const _)) 11259 .field("parent", &self.parent) 11260 .finish() 11261 } 11262 } 11263 11264 #[repr(C)] 11265 #[derive(Copy, Clone)] 11266 pub struct GtkBin { 11267 pub container: GtkContainer, 11268 pub priv_: *mut GtkBinPrivate, 11269 } 11270 11271 impl ::std::fmt::Debug for GtkBin { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11272 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11273 f.debug_struct(&format!("GtkBin @ {:?}", self as *const _)) 11274 .field("container", &self.container) 11275 .finish() 11276 } 11277 } 11278 11279 #[repr(C)] 11280 #[derive(Copy, Clone)] 11281 pub struct GtkBooleanCellAccessible { 11282 pub parent: GtkRendererCellAccessible, 11283 pub priv_: *mut GtkBooleanCellAccessiblePrivate, 11284 } 11285 11286 impl ::std::fmt::Debug for GtkBooleanCellAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11287 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11288 f.debug_struct(&format!( 11289 "GtkBooleanCellAccessible @ {:?}", 11290 self as *const _ 11291 )) 11292 .field("parent", &self.parent) 11293 .field("priv_", &self.priv_) 11294 .finish() 11295 } 11296 } 11297 11298 #[repr(C)] 11299 #[derive(Copy, Clone)] 11300 pub struct GtkBox { 11301 pub container: GtkContainer, 11302 pub priv_: *mut GtkBoxPrivate, 11303 } 11304 11305 impl ::std::fmt::Debug for GtkBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11306 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11307 f.debug_struct(&format!("GtkBox @ {:?}", self as *const _)) 11308 .field("container", &self.container) 11309 .finish() 11310 } 11311 } 11312 11313 #[repr(C)] 11314 #[derive(Copy, Clone)] 11315 pub struct GtkBuilder { 11316 pub parent_instance: gobject::GObject, 11317 pub priv_: *mut GtkBuilderPrivate, 11318 } 11319 11320 impl ::std::fmt::Debug for GtkBuilder { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11321 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11322 f.debug_struct(&format!("GtkBuilder @ {:?}", self as *const _)) 11323 .field("parent_instance", &self.parent_instance) 11324 .field("priv_", &self.priv_) 11325 .finish() 11326 } 11327 } 11328 11329 #[repr(C)] 11330 #[derive(Copy, Clone)] 11331 pub struct GtkButton { 11332 pub bin: GtkBin, 11333 pub priv_: *mut GtkButtonPrivate, 11334 } 11335 11336 impl ::std::fmt::Debug for GtkButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11337 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11338 f.debug_struct(&format!("GtkButton @ {:?}", self as *const _)) 11339 .finish() 11340 } 11341 } 11342 11343 #[repr(C)] 11344 #[derive(Copy, Clone)] 11345 pub struct GtkButtonAccessible { 11346 pub parent: GtkContainerAccessible, 11347 pub priv_: *mut GtkButtonAccessiblePrivate, 11348 } 11349 11350 impl ::std::fmt::Debug for GtkButtonAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11351 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11352 f.debug_struct(&format!("GtkButtonAccessible @ {:?}", self as *const _)) 11353 .field("parent", &self.parent) 11354 .field("priv_", &self.priv_) 11355 .finish() 11356 } 11357 } 11358 11359 #[repr(C)] 11360 #[derive(Copy, Clone)] 11361 pub struct GtkButtonBox { 11362 pub box_: GtkBox, 11363 pub priv_: *mut GtkButtonBoxPrivate, 11364 } 11365 11366 impl ::std::fmt::Debug for GtkButtonBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11367 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11368 f.debug_struct(&format!("GtkButtonBox @ {:?}", self as *const _)) 11369 .field("box_", &self.box_) 11370 .finish() 11371 } 11372 } 11373 11374 #[repr(C)] 11375 #[derive(Copy, Clone)] 11376 pub struct GtkCalendar { 11377 pub widget: GtkWidget, 11378 pub priv_: *mut GtkCalendarPrivate, 11379 } 11380 11381 impl ::std::fmt::Debug for GtkCalendar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11382 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11383 f.debug_struct(&format!("GtkCalendar @ {:?}", self as *const _)) 11384 .field("widget", &self.widget) 11385 .field("priv_", &self.priv_) 11386 .finish() 11387 } 11388 } 11389 11390 #[repr(C)] 11391 #[derive(Copy, Clone)] 11392 pub struct GtkCellAccessible { 11393 pub parent: GtkAccessible, 11394 pub priv_: *mut GtkCellAccessiblePrivate, 11395 } 11396 11397 impl ::std::fmt::Debug for GtkCellAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11398 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11399 f.debug_struct(&format!("GtkCellAccessible @ {:?}", self as *const _)) 11400 .field("parent", &self.parent) 11401 .field("priv_", &self.priv_) 11402 .finish() 11403 } 11404 } 11405 11406 #[repr(C)] 11407 #[derive(Copy, Clone)] 11408 pub struct GtkCellArea { 11409 pub parent_instance: gobject::GInitiallyUnowned, 11410 pub priv_: *mut GtkCellAreaPrivate, 11411 } 11412 11413 impl ::std::fmt::Debug for GtkCellArea { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11414 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11415 f.debug_struct(&format!("GtkCellArea @ {:?}", self as *const _)) 11416 .finish() 11417 } 11418 } 11419 11420 #[repr(C)] 11421 #[derive(Copy, Clone)] 11422 pub struct GtkCellAreaBox { 11423 pub parent_instance: GtkCellArea, 11424 pub priv_: *mut GtkCellAreaBoxPrivate, 11425 } 11426 11427 impl ::std::fmt::Debug for GtkCellAreaBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11428 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11429 f.debug_struct(&format!("GtkCellAreaBox @ {:?}", self as *const _)) 11430 .finish() 11431 } 11432 } 11433 11434 #[repr(C)] 11435 #[derive(Copy, Clone)] 11436 pub struct GtkCellAreaContext { 11437 pub parent_instance: gobject::GObject, 11438 pub priv_: *mut GtkCellAreaContextPrivate, 11439 } 11440 11441 impl ::std::fmt::Debug for GtkCellAreaContext { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11442 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11443 f.debug_struct(&format!("GtkCellAreaContext @ {:?}", self as *const _)) 11444 .finish() 11445 } 11446 } 11447 11448 #[repr(C)] 11449 #[derive(Copy, Clone)] 11450 pub struct GtkCellRenderer { 11451 pub parent_instance: gobject::GInitiallyUnowned, 11452 pub priv_: *mut GtkCellRendererPrivate, 11453 } 11454 11455 impl ::std::fmt::Debug for GtkCellRenderer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11456 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11457 f.debug_struct(&format!("GtkCellRenderer @ {:?}", self as *const _)) 11458 .field("parent_instance", &self.parent_instance) 11459 .finish() 11460 } 11461 } 11462 11463 #[repr(C)] 11464 #[derive(Copy, Clone)] 11465 pub struct GtkCellRendererAccel { 11466 pub parent: GtkCellRendererText, 11467 pub priv_: *mut GtkCellRendererAccelPrivate, 11468 } 11469 11470 impl ::std::fmt::Debug for GtkCellRendererAccel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11471 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11472 f.debug_struct(&format!("GtkCellRendererAccel @ {:?}", self as *const _)) 11473 .field("parent", &self.parent) 11474 .finish() 11475 } 11476 } 11477 11478 #[repr(C)] 11479 #[derive(Copy, Clone)] 11480 pub struct GtkCellRendererCombo { 11481 pub parent: GtkCellRendererText, 11482 pub priv_: *mut GtkCellRendererComboPrivate, 11483 } 11484 11485 impl ::std::fmt::Debug for GtkCellRendererCombo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11486 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11487 f.debug_struct(&format!("GtkCellRendererCombo @ {:?}", self as *const _)) 11488 .field("parent", &self.parent) 11489 .finish() 11490 } 11491 } 11492 11493 #[repr(C)] 11494 #[derive(Copy, Clone)] 11495 pub struct GtkCellRendererPixbuf { 11496 pub parent: GtkCellRenderer, 11497 pub priv_: *mut GtkCellRendererPixbufPrivate, 11498 } 11499 11500 impl ::std::fmt::Debug for GtkCellRendererPixbuf { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11501 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11502 f.debug_struct(&format!("GtkCellRendererPixbuf @ {:?}", self as *const _)) 11503 .field("parent", &self.parent) 11504 .finish() 11505 } 11506 } 11507 11508 #[repr(C)] 11509 #[derive(Copy, Clone)] 11510 pub struct GtkCellRendererProgress { 11511 pub parent_instance: GtkCellRenderer, 11512 pub priv_: *mut GtkCellRendererProgressPrivate, 11513 } 11514 11515 impl ::std::fmt::Debug for GtkCellRendererProgress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11516 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11517 f.debug_struct(&format!("GtkCellRendererProgress @ {:?}", self as *const _)) 11518 .field("parent_instance", &self.parent_instance) 11519 .finish() 11520 } 11521 } 11522 11523 #[repr(C)] 11524 #[derive(Copy, Clone)] 11525 pub struct GtkCellRendererSpin { 11526 pub parent: GtkCellRendererText, 11527 pub priv_: *mut GtkCellRendererSpinPrivate, 11528 } 11529 11530 impl ::std::fmt::Debug for GtkCellRendererSpin { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11531 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11532 f.debug_struct(&format!("GtkCellRendererSpin @ {:?}", self as *const _)) 11533 .field("parent", &self.parent) 11534 .finish() 11535 } 11536 } 11537 11538 #[repr(C)] 11539 #[derive(Copy, Clone)] 11540 pub struct GtkCellRendererSpinner { 11541 pub parent: GtkCellRenderer, 11542 pub priv_: *mut GtkCellRendererSpinnerPrivate, 11543 } 11544 11545 impl ::std::fmt::Debug for GtkCellRendererSpinner { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11546 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11547 f.debug_struct(&format!("GtkCellRendererSpinner @ {:?}", self as *const _)) 11548 .field("parent", &self.parent) 11549 .finish() 11550 } 11551 } 11552 11553 #[repr(C)] 11554 #[derive(Copy, Clone)] 11555 pub struct GtkCellRendererText { 11556 pub parent: GtkCellRenderer, 11557 pub priv_: *mut GtkCellRendererTextPrivate, 11558 } 11559 11560 impl ::std::fmt::Debug for GtkCellRendererText { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11561 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11562 f.debug_struct(&format!("GtkCellRendererText @ {:?}", self as *const _)) 11563 .field("parent", &self.parent) 11564 .finish() 11565 } 11566 } 11567 11568 #[repr(C)] 11569 #[derive(Copy, Clone)] 11570 pub struct GtkCellRendererToggle { 11571 pub parent: GtkCellRenderer, 11572 pub priv_: *mut GtkCellRendererTogglePrivate, 11573 } 11574 11575 impl ::std::fmt::Debug for GtkCellRendererToggle { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11576 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11577 f.debug_struct(&format!("GtkCellRendererToggle @ {:?}", self as *const _)) 11578 .field("parent", &self.parent) 11579 .finish() 11580 } 11581 } 11582 11583 #[repr(C)] 11584 #[derive(Copy, Clone)] 11585 pub struct GtkCellView { 11586 pub parent_instance: GtkWidget, 11587 pub priv_: *mut GtkCellViewPrivate, 11588 } 11589 11590 impl ::std::fmt::Debug for GtkCellView { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11591 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11592 f.debug_struct(&format!("GtkCellView @ {:?}", self as *const _)) 11593 .field("parent_instance", &self.parent_instance) 11594 .finish() 11595 } 11596 } 11597 11598 #[repr(C)] 11599 #[derive(Copy, Clone)] 11600 pub struct GtkCheckButton { 11601 pub toggle_button: GtkToggleButton, 11602 } 11603 11604 impl ::std::fmt::Debug for GtkCheckButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11605 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11606 f.debug_struct(&format!("GtkCheckButton @ {:?}", self as *const _)) 11607 .field("toggle_button", &self.toggle_button) 11608 .finish() 11609 } 11610 } 11611 11612 #[repr(C)] 11613 #[derive(Copy, Clone)] 11614 pub struct GtkCheckMenuItem { 11615 pub menu_item: GtkMenuItem, 11616 pub priv_: *mut GtkCheckMenuItemPrivate, 11617 } 11618 11619 impl ::std::fmt::Debug for GtkCheckMenuItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11620 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11621 f.debug_struct(&format!("GtkCheckMenuItem @ {:?}", self as *const _)) 11622 .field("menu_item", &self.menu_item) 11623 .finish() 11624 } 11625 } 11626 11627 #[repr(C)] 11628 #[derive(Copy, Clone)] 11629 pub struct GtkCheckMenuItemAccessible { 11630 pub parent: GtkMenuItemAccessible, 11631 pub priv_: *mut GtkCheckMenuItemAccessiblePrivate, 11632 } 11633 11634 impl ::std::fmt::Debug for GtkCheckMenuItemAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11635 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11636 f.debug_struct(&format!( 11637 "GtkCheckMenuItemAccessible @ {:?}", 11638 self as *const _ 11639 )) 11640 .field("parent", &self.parent) 11641 .field("priv_", &self.priv_) 11642 .finish() 11643 } 11644 } 11645 11646 #[repr(C)] 11647 pub struct GtkClipboard(c_void); 11648 11649 impl ::std::fmt::Debug for GtkClipboard { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11650 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11651 f.debug_struct(&format!("GtkClipboard @ {:?}", self as *const _)) 11652 .finish() 11653 } 11654 } 11655 11656 #[repr(C)] 11657 #[derive(Copy, Clone)] 11658 pub struct GtkColorButton { 11659 pub button: GtkButton, 11660 pub priv_: *mut GtkColorButtonPrivate, 11661 } 11662 11663 impl ::std::fmt::Debug for GtkColorButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11664 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11665 f.debug_struct(&format!("GtkColorButton @ {:?}", self as *const _)) 11666 .field("button", &self.button) 11667 .finish() 11668 } 11669 } 11670 11671 #[repr(C)] 11672 #[derive(Copy, Clone)] 11673 pub struct GtkColorChooserDialog { 11674 pub parent_instance: GtkDialog, 11675 pub priv_: *mut GtkColorChooserDialogPrivate, 11676 } 11677 11678 impl ::std::fmt::Debug for GtkColorChooserDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11679 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11680 f.debug_struct(&format!("GtkColorChooserDialog @ {:?}", self as *const _)) 11681 .field("parent_instance", &self.parent_instance) 11682 .finish() 11683 } 11684 } 11685 11686 #[repr(C)] 11687 #[derive(Copy, Clone)] 11688 pub struct GtkColorChooserWidget { 11689 pub parent_instance: GtkBox, 11690 pub priv_: *mut GtkColorChooserWidgetPrivate, 11691 } 11692 11693 impl ::std::fmt::Debug for GtkColorChooserWidget { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11694 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11695 f.debug_struct(&format!("GtkColorChooserWidget @ {:?}", self as *const _)) 11696 .field("parent_instance", &self.parent_instance) 11697 .finish() 11698 } 11699 } 11700 11701 #[repr(C)] 11702 #[derive(Copy, Clone)] 11703 pub struct GtkColorSelection { 11704 pub parent_instance: GtkBox, 11705 pub private_data: *mut GtkColorSelectionPrivate, 11706 } 11707 11708 impl ::std::fmt::Debug for GtkColorSelection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11709 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11710 f.debug_struct(&format!("GtkColorSelection @ {:?}", self as *const _)) 11711 .field("parent_instance", &self.parent_instance) 11712 .finish() 11713 } 11714 } 11715 11716 #[repr(C)] 11717 #[derive(Copy, Clone)] 11718 pub struct GtkColorSelectionDialog { 11719 pub parent_instance: GtkDialog, 11720 pub priv_: *mut GtkColorSelectionDialogPrivate, 11721 } 11722 11723 impl ::std::fmt::Debug for GtkColorSelectionDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11724 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11725 f.debug_struct(&format!("GtkColorSelectionDialog @ {:?}", self as *const _)) 11726 .field("parent_instance", &self.parent_instance) 11727 .finish() 11728 } 11729 } 11730 11731 #[repr(C)] 11732 #[derive(Copy, Clone)] 11733 pub struct GtkComboBox { 11734 pub parent_instance: GtkBin, 11735 pub priv_: *mut GtkComboBoxPrivate, 11736 } 11737 11738 impl ::std::fmt::Debug for GtkComboBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11739 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11740 f.debug_struct(&format!("GtkComboBox @ {:?}", self as *const _)) 11741 .field("parent_instance", &self.parent_instance) 11742 .finish() 11743 } 11744 } 11745 11746 #[repr(C)] 11747 #[derive(Copy, Clone)] 11748 pub struct GtkComboBoxAccessible { 11749 pub parent: GtkContainerAccessible, 11750 pub priv_: *mut GtkComboBoxAccessiblePrivate, 11751 } 11752 11753 impl ::std::fmt::Debug for GtkComboBoxAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11754 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11755 f.debug_struct(&format!("GtkComboBoxAccessible @ {:?}", 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)] 11764 pub struct GtkComboBoxText { 11765 pub parent_instance: GtkComboBox, 11766 pub priv_: *mut GtkComboBoxTextPrivate, 11767 } 11768 11769 impl ::std::fmt::Debug for GtkComboBoxText { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11770 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11771 f.debug_struct(&format!("GtkComboBoxText @ {:?}", self as *const _)) 11772 .finish() 11773 } 11774 } 11775 11776 #[repr(C)] 11777 #[derive(Copy, Clone)] 11778 pub struct GtkContainer { 11779 pub widget: GtkWidget, 11780 pub priv_: *mut GtkContainerPrivate, 11781 } 11782 11783 impl ::std::fmt::Debug for GtkContainer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11784 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11785 f.debug_struct(&format!("GtkContainer @ {:?}", self as *const _)) 11786 .field("widget", &self.widget) 11787 .finish() 11788 } 11789 } 11790 11791 #[repr(C)] 11792 #[derive(Copy, Clone)] 11793 pub struct GtkContainerAccessible { 11794 pub parent: GtkWidgetAccessible, 11795 pub priv_: *mut GtkContainerAccessiblePrivate, 11796 } 11797 11798 impl ::std::fmt::Debug for GtkContainerAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11799 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11800 f.debug_struct(&format!("GtkContainerAccessible @ {:?}", self as *const _)) 11801 .field("parent", &self.parent) 11802 .field("priv_", &self.priv_) 11803 .finish() 11804 } 11805 } 11806 11807 #[repr(C)] 11808 #[derive(Copy, Clone)] 11809 pub struct GtkContainerCellAccessible { 11810 pub parent: GtkCellAccessible, 11811 pub priv_: *mut GtkContainerCellAccessiblePrivate, 11812 } 11813 11814 impl ::std::fmt::Debug for GtkContainerCellAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11815 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11816 f.debug_struct(&format!( 11817 "GtkContainerCellAccessible @ {:?}", 11818 self as *const _ 11819 )) 11820 .field("parent", &self.parent) 11821 .field("priv_", &self.priv_) 11822 .finish() 11823 } 11824 } 11825 11826 #[repr(C)] 11827 #[derive(Copy, Clone)] 11828 pub struct GtkCssProvider { 11829 pub parent_instance: gobject::GObject, 11830 pub priv_: *mut GtkCssProviderPrivate, 11831 } 11832 11833 impl ::std::fmt::Debug for GtkCssProvider { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11834 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11835 f.debug_struct(&format!("GtkCssProvider @ {:?}", self as *const _)) 11836 .field("parent_instance", &self.parent_instance) 11837 .field("priv_", &self.priv_) 11838 .finish() 11839 } 11840 } 11841 11842 #[repr(C)] 11843 #[derive(Copy, Clone)] 11844 pub struct GtkDialog { 11845 pub window: GtkWindow, 11846 pub priv_: *mut GtkDialogPrivate, 11847 } 11848 11849 impl ::std::fmt::Debug for GtkDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11850 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11851 f.debug_struct(&format!("GtkDialog @ {:?}", self as *const _)) 11852 .field("window", &self.window) 11853 .finish() 11854 } 11855 } 11856 11857 #[repr(C)] 11858 #[derive(Copy, Clone)] 11859 pub struct GtkDrawingArea { 11860 pub widget: GtkWidget, 11861 pub dummy: gpointer, 11862 } 11863 11864 impl ::std::fmt::Debug for GtkDrawingArea { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11865 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11866 f.debug_struct(&format!("GtkDrawingArea @ {:?}", self as *const _)) 11867 .field("widget", &self.widget) 11868 .finish() 11869 } 11870 } 11871 11872 #[repr(C)] 11873 #[derive(Copy, Clone)] 11874 pub struct GtkEntry { 11875 pub parent_instance: GtkWidget, 11876 pub priv_: *mut GtkEntryPrivate, 11877 } 11878 11879 impl ::std::fmt::Debug for GtkEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11880 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11881 f.debug_struct(&format!("GtkEntry @ {:?}", self as *const _)) 11882 .finish() 11883 } 11884 } 11885 11886 #[repr(C)] 11887 #[derive(Copy, Clone)] 11888 pub struct GtkEntryAccessible { 11889 pub parent: GtkWidgetAccessible, 11890 pub priv_: *mut GtkEntryAccessiblePrivate, 11891 } 11892 11893 impl ::std::fmt::Debug for GtkEntryAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11894 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11895 f.debug_struct(&format!("GtkEntryAccessible @ {:?}", self as *const _)) 11896 .field("parent", &self.parent) 11897 .field("priv_", &self.priv_) 11898 .finish() 11899 } 11900 } 11901 11902 #[repr(C)] 11903 #[derive(Copy, Clone)] 11904 pub struct GtkEntryBuffer { 11905 pub parent_instance: gobject::GObject, 11906 pub priv_: *mut GtkEntryBufferPrivate, 11907 } 11908 11909 impl ::std::fmt::Debug for GtkEntryBuffer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11910 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11911 f.debug_struct(&format!("GtkEntryBuffer @ {:?}", self as *const _)) 11912 .field("parent_instance", &self.parent_instance) 11913 .finish() 11914 } 11915 } 11916 11917 #[repr(C)] 11918 #[derive(Copy, Clone)] 11919 pub struct GtkEntryCompletion { 11920 pub parent_instance: gobject::GObject, 11921 pub priv_: *mut GtkEntryCompletionPrivate, 11922 } 11923 11924 impl ::std::fmt::Debug for GtkEntryCompletion { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11925 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11926 f.debug_struct(&format!("GtkEntryCompletion @ {:?}", self as *const _)) 11927 .field("parent_instance", &self.parent_instance) 11928 .finish() 11929 } 11930 } 11931 11932 #[repr(C)] 11933 pub struct GtkEntryIconAccessible(c_void); 11934 11935 impl ::std::fmt::Debug for GtkEntryIconAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11936 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11937 f.debug_struct(&format!("GtkEntryIconAccessible @ {:?}", self as *const _)) 11938 .finish() 11939 } 11940 } 11941 11942 #[repr(C)] 11943 #[derive(Copy, Clone)] 11944 pub struct GtkEventBox { 11945 pub bin: GtkBin, 11946 pub priv_: *mut GtkEventBoxPrivate, 11947 } 11948 11949 impl ::std::fmt::Debug for GtkEventBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11950 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11951 f.debug_struct(&format!("GtkEventBox @ {:?}", self as *const _)) 11952 .field("bin", &self.bin) 11953 .finish() 11954 } 11955 } 11956 11957 #[repr(C)] 11958 pub struct GtkEventController(c_void); 11959 11960 impl ::std::fmt::Debug for GtkEventController { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11961 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11962 f.debug_struct(&format!("GtkEventController @ {:?}", self as *const _)) 11963 .finish() 11964 } 11965 } 11966 11967 #[repr(C)] 11968 pub struct GtkEventControllerKey(c_void); 11969 11970 impl ::std::fmt::Debug for GtkEventControllerKey { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11971 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11972 f.debug_struct(&format!("GtkEventControllerKey @ {:?}", self as *const _)) 11973 .finish() 11974 } 11975 } 11976 11977 #[repr(C)] 11978 pub struct GtkEventControllerMotion(c_void); 11979 11980 impl ::std::fmt::Debug for GtkEventControllerMotion { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11981 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11982 f.debug_struct(&format!( 11983 "GtkEventControllerMotion @ {:?}", 11984 self as *const _ 11985 )) 11986 .finish() 11987 } 11988 } 11989 11990 #[repr(C)] 11991 pub struct GtkEventControllerScroll(c_void); 11992 11993 impl ::std::fmt::Debug for GtkEventControllerScroll { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result11994 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 11995 f.debug_struct(&format!( 11996 "GtkEventControllerScroll @ {:?}", 11997 self as *const _ 11998 )) 11999 .finish() 12000 } 12001 } 12002 12003 #[repr(C)] 12004 #[derive(Copy, Clone)] 12005 pub struct GtkExpander { 12006 pub bin: GtkBin, 12007 pub priv_: *mut GtkExpanderPrivate, 12008 } 12009 12010 impl ::std::fmt::Debug for GtkExpander { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12011 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12012 f.debug_struct(&format!("GtkExpander @ {:?}", self as *const _)) 12013 .field("bin", &self.bin) 12014 .field("priv_", &self.priv_) 12015 .finish() 12016 } 12017 } 12018 12019 #[repr(C)] 12020 #[derive(Copy, Clone)] 12021 pub struct GtkExpanderAccessible { 12022 pub parent: GtkContainerAccessible, 12023 pub priv_: *mut GtkExpanderAccessiblePrivate, 12024 } 12025 12026 impl ::std::fmt::Debug for GtkExpanderAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12027 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12028 f.debug_struct(&format!("GtkExpanderAccessible @ {:?}", self as *const _)) 12029 .field("parent", &self.parent) 12030 .field("priv_", &self.priv_) 12031 .finish() 12032 } 12033 } 12034 12035 #[repr(C)] 12036 #[derive(Copy, Clone)] 12037 pub struct GtkFileChooserButton { 12038 pub parent: GtkBox, 12039 pub priv_: *mut GtkFileChooserButtonPrivate, 12040 } 12041 12042 impl ::std::fmt::Debug for GtkFileChooserButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12043 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12044 f.debug_struct(&format!("GtkFileChooserButton @ {:?}", self as *const _)) 12045 .field("parent", &self.parent) 12046 .finish() 12047 } 12048 } 12049 12050 #[repr(C)] 12051 #[derive(Copy, Clone)] 12052 pub struct GtkFileChooserDialog { 12053 pub parent_instance: GtkDialog, 12054 pub priv_: *mut GtkFileChooserDialogPrivate, 12055 } 12056 12057 impl ::std::fmt::Debug for GtkFileChooserDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12058 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12059 f.debug_struct(&format!("GtkFileChooserDialog @ {:?}", self as *const _)) 12060 .field("parent_instance", &self.parent_instance) 12061 .field("priv_", &self.priv_) 12062 .finish() 12063 } 12064 } 12065 12066 #[repr(C)] 12067 pub struct GtkFileChooserNative(c_void); 12068 12069 impl ::std::fmt::Debug for GtkFileChooserNative { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12070 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12071 f.debug_struct(&format!("GtkFileChooserNative @ {:?}", self as *const _)) 12072 .finish() 12073 } 12074 } 12075 12076 #[repr(C)] 12077 #[derive(Copy, Clone)] 12078 pub struct GtkFileChooserWidget { 12079 pub parent_instance: GtkBox, 12080 pub priv_: *mut GtkFileChooserWidgetPrivate, 12081 } 12082 12083 impl ::std::fmt::Debug for GtkFileChooserWidget { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12084 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12085 f.debug_struct(&format!("GtkFileChooserWidget @ {:?}", self as *const _)) 12086 .field("parent_instance", &self.parent_instance) 12087 .field("priv_", &self.priv_) 12088 .finish() 12089 } 12090 } 12091 12092 #[repr(C)] 12093 pub struct GtkFileFilter(c_void); 12094 12095 impl ::std::fmt::Debug for GtkFileFilter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12096 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12097 f.debug_struct(&format!("GtkFileFilter @ {:?}", self as *const _)) 12098 .finish() 12099 } 12100 } 12101 12102 #[repr(C)] 12103 #[derive(Copy, Clone)] 12104 pub struct GtkFixed { 12105 pub container: GtkContainer, 12106 pub priv_: *mut GtkFixedPrivate, 12107 } 12108 12109 impl ::std::fmt::Debug for GtkFixed { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12110 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12111 f.debug_struct(&format!("GtkFixed @ {:?}", self as *const _)) 12112 .field("container", &self.container) 12113 .finish() 12114 } 12115 } 12116 12117 #[repr(C)] 12118 #[derive(Copy, Clone)] 12119 pub struct GtkFlowBox { 12120 pub container: GtkContainer, 12121 } 12122 12123 impl ::std::fmt::Debug for GtkFlowBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12124 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12125 f.debug_struct(&format!("GtkFlowBox @ {:?}", self as *const _)) 12126 .field("container", &self.container) 12127 .finish() 12128 } 12129 } 12130 12131 #[repr(C)] 12132 #[derive(Copy, Clone)] 12133 pub struct GtkFlowBoxAccessible { 12134 pub parent: GtkContainerAccessible, 12135 pub priv_: *mut GtkFlowBoxAccessiblePrivate, 12136 } 12137 12138 impl ::std::fmt::Debug for GtkFlowBoxAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12139 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12140 f.debug_struct(&format!("GtkFlowBoxAccessible @ {:?}", self as *const _)) 12141 .field("parent", &self.parent) 12142 .field("priv_", &self.priv_) 12143 .finish() 12144 } 12145 } 12146 12147 #[repr(C)] 12148 #[derive(Copy, Clone)] 12149 pub struct GtkFlowBoxChild { 12150 pub parent_instance: GtkBin, 12151 } 12152 12153 impl ::std::fmt::Debug for GtkFlowBoxChild { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12154 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12155 f.debug_struct(&format!("GtkFlowBoxChild @ {:?}", self as *const _)) 12156 .field("parent_instance", &self.parent_instance) 12157 .finish() 12158 } 12159 } 12160 12161 #[repr(C)] 12162 #[derive(Copy, Clone)] 12163 pub struct GtkFlowBoxChildAccessible { 12164 pub parent: GtkContainerAccessible, 12165 } 12166 12167 impl ::std::fmt::Debug for GtkFlowBoxChildAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12168 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12169 f.debug_struct(&format!( 12170 "GtkFlowBoxChildAccessible @ {:?}", 12171 self as *const _ 12172 )) 12173 .field("parent", &self.parent) 12174 .finish() 12175 } 12176 } 12177 12178 #[repr(C)] 12179 #[derive(Copy, Clone)] 12180 pub struct GtkFontButton { 12181 pub button: GtkButton, 12182 pub priv_: *mut GtkFontButtonPrivate, 12183 } 12184 12185 impl ::std::fmt::Debug for GtkFontButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12186 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12187 f.debug_struct(&format!("GtkFontButton @ {:?}", self as *const _)) 12188 .field("button", &self.button) 12189 .finish() 12190 } 12191 } 12192 12193 #[repr(C)] 12194 #[derive(Copy, Clone)] 12195 pub struct GtkFontChooserDialog { 12196 pub parent_instance: GtkDialog, 12197 pub priv_: *mut GtkFontChooserDialogPrivate, 12198 } 12199 12200 impl ::std::fmt::Debug for GtkFontChooserDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12201 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12202 f.debug_struct(&format!("GtkFontChooserDialog @ {:?}", self as *const _)) 12203 .field("parent_instance", &self.parent_instance) 12204 .finish() 12205 } 12206 } 12207 12208 #[repr(C)] 12209 #[derive(Copy, Clone)] 12210 pub struct GtkFontChooserWidget { 12211 pub parent_instance: GtkBox, 12212 pub priv_: *mut GtkFontChooserWidgetPrivate, 12213 } 12214 12215 impl ::std::fmt::Debug for GtkFontChooserWidget { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12216 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12217 f.debug_struct(&format!("GtkFontChooserWidget @ {:?}", self as *const _)) 12218 .field("parent_instance", &self.parent_instance) 12219 .finish() 12220 } 12221 } 12222 12223 #[repr(C)] 12224 #[derive(Copy, Clone)] 12225 pub struct GtkFontSelection { 12226 pub parent_instance: GtkBox, 12227 pub priv_: *mut GtkFontSelectionPrivate, 12228 } 12229 12230 impl ::std::fmt::Debug for GtkFontSelection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12231 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12232 f.debug_struct(&format!("GtkFontSelection @ {:?}", self as *const _)) 12233 .field("parent_instance", &self.parent_instance) 12234 .finish() 12235 } 12236 } 12237 12238 #[repr(C)] 12239 #[derive(Copy, Clone)] 12240 pub struct GtkFontSelectionDialog { 12241 pub parent_instance: GtkDialog, 12242 pub priv_: *mut GtkFontSelectionDialogPrivate, 12243 } 12244 12245 impl ::std::fmt::Debug for GtkFontSelectionDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12246 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12247 f.debug_struct(&format!("GtkFontSelectionDialog @ {:?}", self as *const _)) 12248 .field("parent_instance", &self.parent_instance) 12249 .finish() 12250 } 12251 } 12252 12253 #[repr(C)] 12254 #[derive(Copy, Clone)] 12255 pub struct GtkFrame { 12256 pub bin: GtkBin, 12257 pub priv_: *mut GtkFramePrivate, 12258 } 12259 12260 impl ::std::fmt::Debug for GtkFrame { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12261 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12262 f.debug_struct(&format!("GtkFrame @ {:?}", self as *const _)) 12263 .field("bin", &self.bin) 12264 .finish() 12265 } 12266 } 12267 12268 #[repr(C)] 12269 #[derive(Copy, Clone)] 12270 pub struct GtkFrameAccessible { 12271 pub parent: GtkContainerAccessible, 12272 pub priv_: *mut GtkFrameAccessiblePrivate, 12273 } 12274 12275 impl ::std::fmt::Debug for GtkFrameAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12276 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12277 f.debug_struct(&format!("GtkFrameAccessible @ {:?}", self as *const _)) 12278 .field("parent", &self.parent) 12279 .field("priv_", &self.priv_) 12280 .finish() 12281 } 12282 } 12283 12284 #[repr(C)] 12285 #[derive(Copy, Clone)] 12286 pub struct GtkGLArea { 12287 pub parent_instance: GtkWidget, 12288 } 12289 12290 impl ::std::fmt::Debug for GtkGLArea { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12291 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12292 f.debug_struct(&format!("GtkGLArea @ {:?}", self as *const _)) 12293 .finish() 12294 } 12295 } 12296 12297 #[repr(C)] 12298 pub struct GtkGesture(c_void); 12299 12300 impl ::std::fmt::Debug for GtkGesture { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12301 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12302 f.debug_struct(&format!("GtkGesture @ {:?}", self as *const _)) 12303 .finish() 12304 } 12305 } 12306 12307 #[repr(C)] 12308 pub struct GtkGestureDrag(c_void); 12309 12310 impl ::std::fmt::Debug for GtkGestureDrag { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12311 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12312 f.debug_struct(&format!("GtkGestureDrag @ {:?}", self as *const _)) 12313 .finish() 12314 } 12315 } 12316 12317 #[repr(C)] 12318 pub struct GtkGestureLongPress(c_void); 12319 12320 impl ::std::fmt::Debug for GtkGestureLongPress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12321 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12322 f.debug_struct(&format!("GtkGestureLongPress @ {:?}", self as *const _)) 12323 .finish() 12324 } 12325 } 12326 12327 #[repr(C)] 12328 pub struct GtkGestureMultiPress(c_void); 12329 12330 impl ::std::fmt::Debug for GtkGestureMultiPress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12331 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12332 f.debug_struct(&format!("GtkGestureMultiPress @ {:?}", self as *const _)) 12333 .finish() 12334 } 12335 } 12336 12337 #[repr(C)] 12338 pub struct GtkGesturePan(c_void); 12339 12340 impl ::std::fmt::Debug for GtkGesturePan { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12341 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12342 f.debug_struct(&format!("GtkGesturePan @ {:?}", self as *const _)) 12343 .finish() 12344 } 12345 } 12346 12347 #[repr(C)] 12348 pub struct GtkGestureRotate(c_void); 12349 12350 impl ::std::fmt::Debug for GtkGestureRotate { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12351 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12352 f.debug_struct(&format!("GtkGestureRotate @ {:?}", self as *const _)) 12353 .finish() 12354 } 12355 } 12356 12357 #[repr(C)] 12358 pub struct GtkGestureSingle(c_void); 12359 12360 impl ::std::fmt::Debug for GtkGestureSingle { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12361 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12362 f.debug_struct(&format!("GtkGestureSingle @ {:?}", self as *const _)) 12363 .finish() 12364 } 12365 } 12366 12367 #[repr(C)] 12368 pub struct GtkGestureStylus(c_void); 12369 12370 impl ::std::fmt::Debug for GtkGestureStylus { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12371 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12372 f.debug_struct(&format!("GtkGestureStylus @ {:?}", self as *const _)) 12373 .finish() 12374 } 12375 } 12376 12377 #[repr(C)] 12378 pub struct GtkGestureSwipe(c_void); 12379 12380 impl ::std::fmt::Debug for GtkGestureSwipe { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12381 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12382 f.debug_struct(&format!("GtkGestureSwipe @ {:?}", self as *const _)) 12383 .finish() 12384 } 12385 } 12386 12387 #[repr(C)] 12388 pub struct GtkGestureZoom(c_void); 12389 12390 impl ::std::fmt::Debug for GtkGestureZoom { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12391 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12392 f.debug_struct(&format!("GtkGestureZoom @ {:?}", self as *const _)) 12393 .finish() 12394 } 12395 } 12396 12397 #[repr(C)] 12398 #[derive(Copy, Clone)] 12399 pub struct GtkGrid { 12400 pub container: GtkContainer, 12401 pub priv_: *mut GtkGridPrivate, 12402 } 12403 12404 impl ::std::fmt::Debug for GtkGrid { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12405 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12406 f.debug_struct(&format!("GtkGrid @ {:?}", self as *const _)) 12407 .finish() 12408 } 12409 } 12410 12411 #[repr(C)] 12412 #[derive(Copy, Clone)] 12413 pub struct GtkHBox { 12414 pub box_: GtkBox, 12415 } 12416 12417 impl ::std::fmt::Debug for GtkHBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12418 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12419 f.debug_struct(&format!("GtkHBox @ {:?}", self as *const _)) 12420 .field("box_", &self.box_) 12421 .finish() 12422 } 12423 } 12424 12425 #[repr(C)] 12426 #[derive(Copy, Clone)] 12427 pub struct GtkHButtonBox { 12428 pub button_box: GtkButtonBox, 12429 } 12430 12431 impl ::std::fmt::Debug for GtkHButtonBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12432 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12433 f.debug_struct(&format!("GtkHButtonBox @ {:?}", self as *const _)) 12434 .field("button_box", &self.button_box) 12435 .finish() 12436 } 12437 } 12438 12439 #[repr(C)] 12440 #[derive(Copy, Clone)] 12441 pub struct GtkHPaned { 12442 pub paned: GtkPaned, 12443 } 12444 12445 impl ::std::fmt::Debug for GtkHPaned { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12446 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12447 f.debug_struct(&format!("GtkHPaned @ {:?}", self as *const _)) 12448 .field("paned", &self.paned) 12449 .finish() 12450 } 12451 } 12452 12453 #[repr(C)] 12454 #[derive(Copy, Clone)] 12455 pub struct GtkHSV { 12456 pub parent_instance: GtkWidget, 12457 pub priv_: *mut GtkHSVPrivate, 12458 } 12459 12460 impl ::std::fmt::Debug for GtkHSV { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12461 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12462 f.debug_struct(&format!("GtkHSV @ {:?}", self as *const _)) 12463 .field("parent_instance", &self.parent_instance) 12464 .finish() 12465 } 12466 } 12467 12468 #[repr(C)] 12469 #[derive(Copy, Clone)] 12470 pub struct GtkHScale { 12471 pub scale: GtkScale, 12472 } 12473 12474 impl ::std::fmt::Debug for GtkHScale { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12475 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12476 f.debug_struct(&format!("GtkHScale @ {:?}", self as *const _)) 12477 .field("scale", &self.scale) 12478 .finish() 12479 } 12480 } 12481 12482 #[repr(C)] 12483 #[derive(Copy, Clone)] 12484 pub struct GtkHScrollbar { 12485 pub scrollbar: GtkScrollbar, 12486 } 12487 12488 impl ::std::fmt::Debug for GtkHScrollbar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12489 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12490 f.debug_struct(&format!("GtkHScrollbar @ {:?}", self as *const _)) 12491 .field("scrollbar", &self.scrollbar) 12492 .finish() 12493 } 12494 } 12495 12496 #[repr(C)] 12497 #[derive(Copy, Clone)] 12498 pub struct GtkHSeparator { 12499 pub separator: GtkSeparator, 12500 } 12501 12502 impl ::std::fmt::Debug for GtkHSeparator { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12503 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12504 f.debug_struct(&format!("GtkHSeparator @ {:?}", self as *const _)) 12505 .field("separator", &self.separator) 12506 .finish() 12507 } 12508 } 12509 12510 #[repr(C)] 12511 #[derive(Copy, Clone)] 12512 pub struct GtkHandleBox { 12513 pub bin: GtkBin, 12514 pub priv_: *mut GtkHandleBoxPrivate, 12515 } 12516 12517 impl ::std::fmt::Debug for GtkHandleBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12518 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12519 f.debug_struct(&format!("GtkHandleBox @ {:?}", self as *const _)) 12520 .field("bin", &self.bin) 12521 .finish() 12522 } 12523 } 12524 12525 #[repr(C)] 12526 #[derive(Copy, Clone)] 12527 pub struct GtkHeaderBar { 12528 pub container: GtkContainer, 12529 } 12530 12531 impl ::std::fmt::Debug for GtkHeaderBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12532 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12533 f.debug_struct(&format!("GtkHeaderBar @ {:?}", self as *const _)) 12534 .field("container", &self.container) 12535 .finish() 12536 } 12537 } 12538 12539 #[repr(C)] 12540 #[derive(Copy, Clone)] 12541 pub struct GtkHeaderBarAccessible { 12542 pub parent: GtkContainerAccessible, 12543 } 12544 12545 impl ::std::fmt::Debug for GtkHeaderBarAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12546 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12547 f.debug_struct(&format!("GtkHeaderBarAccessible @ {:?}", self as *const _)) 12548 .field("parent", &self.parent) 12549 .finish() 12550 } 12551 } 12552 12553 #[repr(C)] 12554 #[derive(Copy, Clone)] 12555 pub struct GtkIMContext { 12556 pub parent_instance: gobject::GObject, 12557 } 12558 12559 impl ::std::fmt::Debug for GtkIMContext { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12560 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12561 f.debug_struct(&format!("GtkIMContext @ {:?}", self as *const _)) 12562 .field("parent_instance", &self.parent_instance) 12563 .finish() 12564 } 12565 } 12566 12567 #[repr(C)] 12568 #[derive(Copy, Clone)] 12569 pub struct GtkIMContextSimple { 12570 pub object: GtkIMContext, 12571 pub priv_: *mut GtkIMContextSimplePrivate, 12572 } 12573 12574 impl ::std::fmt::Debug for GtkIMContextSimple { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12575 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12576 f.debug_struct(&format!("GtkIMContextSimple @ {:?}", self as *const _)) 12577 .field("object", &self.object) 12578 .finish() 12579 } 12580 } 12581 12582 #[repr(C)] 12583 #[derive(Copy, Clone)] 12584 pub struct GtkIMMulticontext { 12585 pub object: GtkIMContext, 12586 pub priv_: *mut GtkIMMulticontextPrivate, 12587 } 12588 12589 impl ::std::fmt::Debug for GtkIMMulticontext { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12590 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12591 f.debug_struct(&format!("GtkIMMulticontext @ {:?}", self as *const _)) 12592 .field("object", &self.object) 12593 .finish() 12594 } 12595 } 12596 12597 #[repr(C)] 12598 #[derive(Copy, Clone)] 12599 pub struct GtkIconFactory { 12600 pub parent_instance: gobject::GObject, 12601 pub priv_: *mut GtkIconFactoryPrivate, 12602 } 12603 12604 impl ::std::fmt::Debug for GtkIconFactory { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12605 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12606 f.debug_struct(&format!("GtkIconFactory @ {:?}", self as *const _)) 12607 .field("parent_instance", &self.parent_instance) 12608 .finish() 12609 } 12610 } 12611 12612 #[repr(C)] 12613 pub struct GtkIconInfo(c_void); 12614 12615 impl ::std::fmt::Debug for GtkIconInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12616 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12617 f.debug_struct(&format!("GtkIconInfo @ {:?}", self as *const _)) 12618 .finish() 12619 } 12620 } 12621 12622 #[repr(C)] 12623 #[derive(Copy, Clone)] 12624 pub struct GtkIconTheme { 12625 pub parent_instance: gobject::GObject, 12626 pub priv_: *mut GtkIconThemePrivate, 12627 } 12628 12629 impl ::std::fmt::Debug for GtkIconTheme { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12630 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12631 f.debug_struct(&format!("GtkIconTheme @ {:?}", self as *const _)) 12632 .finish() 12633 } 12634 } 12635 12636 #[repr(C)] 12637 #[derive(Copy, Clone)] 12638 pub struct GtkIconView { 12639 pub parent: GtkContainer, 12640 pub priv_: *mut GtkIconViewPrivate, 12641 } 12642 12643 impl ::std::fmt::Debug for GtkIconView { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12644 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12645 f.debug_struct(&format!("GtkIconView @ {:?}", self as *const _)) 12646 .field("parent", &self.parent) 12647 .finish() 12648 } 12649 } 12650 12651 #[repr(C)] 12652 #[derive(Copy, Clone)] 12653 pub struct GtkIconViewAccessible { 12654 pub parent: GtkContainerAccessible, 12655 pub priv_: *mut GtkIconViewAccessiblePrivate, 12656 } 12657 12658 impl ::std::fmt::Debug for GtkIconViewAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12659 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12660 f.debug_struct(&format!("GtkIconViewAccessible @ {:?}", self as *const _)) 12661 .field("parent", &self.parent) 12662 .field("priv_", &self.priv_) 12663 .finish() 12664 } 12665 } 12666 12667 #[repr(C)] 12668 #[derive(Copy, Clone)] 12669 pub struct GtkImage { 12670 pub misc: GtkMisc, 12671 pub priv_: *mut GtkImagePrivate, 12672 } 12673 12674 impl ::std::fmt::Debug for GtkImage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12675 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12676 f.debug_struct(&format!("GtkImage @ {:?}", self as *const _)) 12677 .field("misc", &self.misc) 12678 .finish() 12679 } 12680 } 12681 12682 #[repr(C)] 12683 #[derive(Copy, Clone)] 12684 pub struct GtkImageAccessible { 12685 pub parent: GtkWidgetAccessible, 12686 pub priv_: *mut GtkImageAccessiblePrivate, 12687 } 12688 12689 impl ::std::fmt::Debug for GtkImageAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12690 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12691 f.debug_struct(&format!("GtkImageAccessible @ {:?}", self as *const _)) 12692 .field("parent", &self.parent) 12693 .field("priv_", &self.priv_) 12694 .finish() 12695 } 12696 } 12697 12698 #[repr(C)] 12699 #[derive(Copy, Clone)] 12700 pub struct GtkImageCellAccessible { 12701 pub parent: GtkRendererCellAccessible, 12702 pub priv_: *mut GtkImageCellAccessiblePrivate, 12703 } 12704 12705 impl ::std::fmt::Debug for GtkImageCellAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12706 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12707 f.debug_struct(&format!("GtkImageCellAccessible @ {:?}", self as *const _)) 12708 .field("parent", &self.parent) 12709 .field("priv_", &self.priv_) 12710 .finish() 12711 } 12712 } 12713 12714 #[repr(C)] 12715 #[derive(Copy, Clone)] 12716 pub struct GtkImageMenuItem { 12717 pub menu_item: GtkMenuItem, 12718 pub priv_: *mut GtkImageMenuItemPrivate, 12719 } 12720 12721 impl ::std::fmt::Debug for GtkImageMenuItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12722 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12723 f.debug_struct(&format!("GtkImageMenuItem @ {:?}", self as *const _)) 12724 .field("menu_item", &self.menu_item) 12725 .finish() 12726 } 12727 } 12728 12729 #[repr(C)] 12730 #[derive(Copy, Clone)] 12731 pub struct GtkInfoBar { 12732 pub parent: GtkBox, 12733 pub priv_: *mut GtkInfoBarPrivate, 12734 } 12735 12736 impl ::std::fmt::Debug for GtkInfoBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12737 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12738 f.debug_struct(&format!("GtkInfoBar @ {:?}", self as *const _)) 12739 .field("parent", &self.parent) 12740 .finish() 12741 } 12742 } 12743 12744 #[repr(C)] 12745 #[derive(Copy, Clone)] 12746 pub struct GtkInvisible { 12747 pub widget: GtkWidget, 12748 pub priv_: *mut GtkInvisiblePrivate, 12749 } 12750 12751 impl ::std::fmt::Debug for GtkInvisible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12752 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12753 f.debug_struct(&format!("GtkInvisible @ {:?}", self as *const _)) 12754 .field("widget", &self.widget) 12755 .finish() 12756 } 12757 } 12758 12759 #[repr(C)] 12760 #[derive(Copy, Clone)] 12761 pub struct GtkLabel { 12762 pub misc: GtkMisc, 12763 pub priv_: *mut GtkLabelPrivate, 12764 } 12765 12766 impl ::std::fmt::Debug for GtkLabel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12767 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12768 f.debug_struct(&format!("GtkLabel @ {:?}", self as *const _)) 12769 .field("misc", &self.misc) 12770 .finish() 12771 } 12772 } 12773 12774 #[repr(C)] 12775 #[derive(Copy, Clone)] 12776 pub struct GtkLabelAccessible { 12777 pub parent: GtkWidgetAccessible, 12778 pub priv_: *mut GtkLabelAccessiblePrivate, 12779 } 12780 12781 impl ::std::fmt::Debug for GtkLabelAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12782 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12783 f.debug_struct(&format!("GtkLabelAccessible @ {:?}", self as *const _)) 12784 .field("parent", &self.parent) 12785 .field("priv_", &self.priv_) 12786 .finish() 12787 } 12788 } 12789 12790 #[repr(C)] 12791 #[derive(Copy, Clone)] 12792 pub struct GtkLayout { 12793 pub container: GtkContainer, 12794 pub priv_: *mut GtkLayoutPrivate, 12795 } 12796 12797 impl ::std::fmt::Debug for GtkLayout { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12798 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12799 f.debug_struct(&format!("GtkLayout @ {:?}", self as *const _)) 12800 .field("container", &self.container) 12801 .finish() 12802 } 12803 } 12804 12805 #[repr(C)] 12806 #[derive(Copy, Clone)] 12807 pub struct GtkLevelBar { 12808 pub parent: GtkWidget, 12809 pub priv_: *mut GtkLevelBarPrivate, 12810 } 12811 12812 impl ::std::fmt::Debug for GtkLevelBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12813 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12814 f.debug_struct(&format!("GtkLevelBar @ {:?}", self as *const _)) 12815 .finish() 12816 } 12817 } 12818 12819 #[repr(C)] 12820 #[derive(Copy, Clone)] 12821 pub struct GtkLevelBarAccessible { 12822 pub parent: GtkWidgetAccessible, 12823 pub priv_: *mut GtkLevelBarAccessiblePrivate, 12824 } 12825 12826 impl ::std::fmt::Debug for GtkLevelBarAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12827 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12828 f.debug_struct(&format!("GtkLevelBarAccessible @ {:?}", self as *const _)) 12829 .field("parent", &self.parent) 12830 .field("priv_", &self.priv_) 12831 .finish() 12832 } 12833 } 12834 12835 #[repr(C)] 12836 #[derive(Copy, Clone)] 12837 pub struct GtkLinkButton { 12838 pub parent_instance: GtkButton, 12839 pub priv_: *mut GtkLinkButtonPrivate, 12840 } 12841 12842 impl ::std::fmt::Debug for GtkLinkButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12843 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12844 f.debug_struct(&format!("GtkLinkButton @ {:?}", self as *const _)) 12845 .finish() 12846 } 12847 } 12848 12849 #[repr(C)] 12850 #[derive(Copy, Clone)] 12851 pub struct GtkLinkButtonAccessible { 12852 pub parent: GtkButtonAccessible, 12853 pub priv_: *mut GtkLinkButtonAccessiblePrivate, 12854 } 12855 12856 impl ::std::fmt::Debug for GtkLinkButtonAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12857 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12858 f.debug_struct(&format!("GtkLinkButtonAccessible @ {:?}", self as *const _)) 12859 .field("parent", &self.parent) 12860 .field("priv_", &self.priv_) 12861 .finish() 12862 } 12863 } 12864 12865 #[repr(C)] 12866 #[derive(Copy, Clone)] 12867 pub struct GtkListBox { 12868 pub parent_instance: GtkContainer, 12869 } 12870 12871 impl ::std::fmt::Debug for GtkListBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12872 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12873 f.debug_struct(&format!("GtkListBox @ {:?}", self as *const _)) 12874 .field("parent_instance", &self.parent_instance) 12875 .finish() 12876 } 12877 } 12878 12879 #[repr(C)] 12880 #[derive(Copy, Clone)] 12881 pub struct GtkListBoxAccessible { 12882 pub parent: GtkContainerAccessible, 12883 pub priv_: *mut GtkListBoxAccessiblePrivate, 12884 } 12885 12886 impl ::std::fmt::Debug for GtkListBoxAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12887 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12888 f.debug_struct(&format!("GtkListBoxAccessible @ {:?}", 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)] 12897 pub struct GtkListBoxRow { 12898 pub parent_instance: GtkBin, 12899 } 12900 12901 impl ::std::fmt::Debug for GtkListBoxRow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12902 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12903 f.debug_struct(&format!("GtkListBoxRow @ {:?}", self as *const _)) 12904 .field("parent_instance", &self.parent_instance) 12905 .finish() 12906 } 12907 } 12908 12909 #[repr(C)] 12910 #[derive(Copy, Clone)] 12911 pub struct GtkListBoxRowAccessible { 12912 pub parent: GtkContainerAccessible, 12913 } 12914 12915 impl ::std::fmt::Debug for GtkListBoxRowAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12916 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12917 f.debug_struct(&format!("GtkListBoxRowAccessible @ {:?}", self as *const _)) 12918 .field("parent", &self.parent) 12919 .finish() 12920 } 12921 } 12922 12923 #[repr(C)] 12924 #[derive(Copy, Clone)] 12925 pub struct GtkListStore { 12926 pub parent: gobject::GObject, 12927 pub priv_: *mut GtkListStorePrivate, 12928 } 12929 12930 impl ::std::fmt::Debug for GtkListStore { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12931 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12932 f.debug_struct(&format!("GtkListStore @ {:?}", self as *const _)) 12933 .field("parent", &self.parent) 12934 .finish() 12935 } 12936 } 12937 12938 #[repr(C)] 12939 #[derive(Copy, Clone)] 12940 pub struct GtkLockButton { 12941 pub parent: GtkButton, 12942 pub priv_: *mut GtkLockButtonPrivate, 12943 } 12944 12945 impl ::std::fmt::Debug for GtkLockButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12946 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12947 f.debug_struct(&format!("GtkLockButton @ {:?}", self as *const _)) 12948 .field("parent", &self.parent) 12949 .field("priv_", &self.priv_) 12950 .finish() 12951 } 12952 } 12953 12954 #[repr(C)] 12955 #[derive(Copy, Clone)] 12956 pub struct GtkLockButtonAccessible { 12957 pub parent: GtkButtonAccessible, 12958 pub priv_: *mut GtkLockButtonAccessiblePrivate, 12959 } 12960 12961 impl ::std::fmt::Debug for GtkLockButtonAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12962 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12963 f.debug_struct(&format!("GtkLockButtonAccessible @ {:?}", self as *const _)) 12964 .field("parent", &self.parent) 12965 .field("priv_", &self.priv_) 12966 .finish() 12967 } 12968 } 12969 12970 #[repr(C)] 12971 #[derive(Copy, Clone)] 12972 pub struct GtkMenu { 12973 pub menu_shell: GtkMenuShell, 12974 pub priv_: *mut GtkMenuPrivate, 12975 } 12976 12977 impl ::std::fmt::Debug for GtkMenu { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12978 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12979 f.debug_struct(&format!("GtkMenu @ {:?}", self as *const _)) 12980 .field("menu_shell", &self.menu_shell) 12981 .finish() 12982 } 12983 } 12984 12985 #[repr(C)] 12986 #[derive(Copy, Clone)] 12987 pub struct GtkMenuAccessible { 12988 pub parent: GtkMenuShellAccessible, 12989 pub priv_: *mut GtkMenuAccessiblePrivate, 12990 } 12991 12992 impl ::std::fmt::Debug for GtkMenuAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result12993 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 12994 f.debug_struct(&format!("GtkMenuAccessible @ {:?}", self as *const _)) 12995 .field("parent", &self.parent) 12996 .field("priv_", &self.priv_) 12997 .finish() 12998 } 12999 } 13000 13001 #[repr(C)] 13002 #[derive(Copy, Clone)] 13003 pub struct GtkMenuBar { 13004 pub menu_shell: GtkMenuShell, 13005 pub priv_: *mut GtkMenuBarPrivate, 13006 } 13007 13008 impl ::std::fmt::Debug for GtkMenuBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13009 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13010 f.debug_struct(&format!("GtkMenuBar @ {:?}", self as *const _)) 13011 .field("menu_shell", &self.menu_shell) 13012 .finish() 13013 } 13014 } 13015 13016 #[repr(C)] 13017 #[derive(Copy, Clone)] 13018 pub struct GtkMenuButton { 13019 pub parent: GtkToggleButton, 13020 pub priv_: *mut GtkMenuButtonPrivate, 13021 } 13022 13023 impl ::std::fmt::Debug for GtkMenuButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13024 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13025 f.debug_struct(&format!("GtkMenuButton @ {:?}", self as *const _)) 13026 .field("parent", &self.parent) 13027 .finish() 13028 } 13029 } 13030 13031 #[repr(C)] 13032 #[derive(Copy, Clone)] 13033 pub struct GtkMenuButtonAccessible { 13034 pub parent: GtkToggleButtonAccessible, 13035 pub priv_: *mut GtkMenuButtonAccessiblePrivate, 13036 } 13037 13038 impl ::std::fmt::Debug for GtkMenuButtonAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13039 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13040 f.debug_struct(&format!("GtkMenuButtonAccessible @ {:?}", self as *const _)) 13041 .field("parent", &self.parent) 13042 .field("priv_", &self.priv_) 13043 .finish() 13044 } 13045 } 13046 13047 #[repr(C)] 13048 #[derive(Copy, Clone)] 13049 pub struct GtkMenuItem { 13050 pub bin: GtkBin, 13051 pub priv_: *mut GtkMenuItemPrivate, 13052 } 13053 13054 impl ::std::fmt::Debug for GtkMenuItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13055 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13056 f.debug_struct(&format!("GtkMenuItem @ {:?}", self as *const _)) 13057 .field("bin", &self.bin) 13058 .finish() 13059 } 13060 } 13061 13062 #[repr(C)] 13063 #[derive(Copy, Clone)] 13064 pub struct GtkMenuItemAccessible { 13065 pub parent: GtkContainerAccessible, 13066 pub priv_: *mut GtkMenuItemAccessiblePrivate, 13067 } 13068 13069 impl ::std::fmt::Debug for GtkMenuItemAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13070 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13071 f.debug_struct(&format!("GtkMenuItemAccessible @ {:?}", self as *const _)) 13072 .field("parent", &self.parent) 13073 .field("priv_", &self.priv_) 13074 .finish() 13075 } 13076 } 13077 13078 #[repr(C)] 13079 #[derive(Copy, Clone)] 13080 pub struct GtkMenuShell { 13081 pub container: GtkContainer, 13082 pub priv_: *mut GtkMenuShellPrivate, 13083 } 13084 13085 impl ::std::fmt::Debug for GtkMenuShell { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13086 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13087 f.debug_struct(&format!("GtkMenuShell @ {:?}", self as *const _)) 13088 .field("container", &self.container) 13089 .finish() 13090 } 13091 } 13092 13093 #[repr(C)] 13094 #[derive(Copy, Clone)] 13095 pub struct GtkMenuShellAccessible { 13096 pub parent: GtkContainerAccessible, 13097 pub priv_: *mut GtkMenuShellAccessiblePrivate, 13098 } 13099 13100 impl ::std::fmt::Debug for GtkMenuShellAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13101 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13102 f.debug_struct(&format!("GtkMenuShellAccessible @ {:?}", self as *const _)) 13103 .field("parent", &self.parent) 13104 .field("priv_", &self.priv_) 13105 .finish() 13106 } 13107 } 13108 13109 #[repr(C)] 13110 #[derive(Copy, Clone)] 13111 pub struct GtkMenuToolButton { 13112 pub parent: GtkToolButton, 13113 pub priv_: *mut GtkMenuToolButtonPrivate, 13114 } 13115 13116 impl ::std::fmt::Debug for GtkMenuToolButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13117 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13118 f.debug_struct(&format!("GtkMenuToolButton @ {:?}", self as *const _)) 13119 .field("parent", &self.parent) 13120 .finish() 13121 } 13122 } 13123 13124 #[repr(C)] 13125 #[derive(Copy, Clone)] 13126 pub struct GtkMessageDialog { 13127 pub parent_instance: GtkDialog, 13128 pub priv_: *mut GtkMessageDialogPrivate, 13129 } 13130 13131 impl ::std::fmt::Debug for GtkMessageDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13132 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13133 f.debug_struct(&format!("GtkMessageDialog @ {:?}", self as *const _)) 13134 .field("parent_instance", &self.parent_instance) 13135 .finish() 13136 } 13137 } 13138 13139 #[repr(C)] 13140 #[derive(Copy, Clone)] 13141 pub struct GtkMisc { 13142 pub widget: GtkWidget, 13143 pub priv_: *mut GtkMiscPrivate, 13144 } 13145 13146 impl ::std::fmt::Debug for GtkMisc { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13147 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13148 f.debug_struct(&format!("GtkMisc @ {:?}", self as *const _)) 13149 .field("widget", &self.widget) 13150 .finish() 13151 } 13152 } 13153 13154 #[repr(C)] 13155 pub struct GtkModelButton(c_void); 13156 13157 impl ::std::fmt::Debug for GtkModelButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13158 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13159 f.debug_struct(&format!("GtkModelButton @ {:?}", self as *const _)) 13160 .finish() 13161 } 13162 } 13163 13164 #[repr(C)] 13165 #[derive(Copy, Clone)] 13166 pub struct GtkMountOperation { 13167 pub parent_instance: gio::GMountOperation, 13168 pub priv_: *mut GtkMountOperationPrivate, 13169 } 13170 13171 impl ::std::fmt::Debug for GtkMountOperation { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13172 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13173 f.debug_struct(&format!("GtkMountOperation @ {:?}", self as *const _)) 13174 .field("parent_instance", &self.parent_instance) 13175 .field("priv_", &self.priv_) 13176 .finish() 13177 } 13178 } 13179 13180 #[repr(C)] 13181 #[derive(Copy, Clone)] 13182 pub struct GtkNativeDialog { 13183 pub parent_instance: gobject::GObject, 13184 } 13185 13186 impl ::std::fmt::Debug for GtkNativeDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13187 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13188 f.debug_struct(&format!("GtkNativeDialog @ {:?}", self as *const _)) 13189 .field("parent_instance", &self.parent_instance) 13190 .finish() 13191 } 13192 } 13193 13194 #[repr(C)] 13195 #[derive(Copy, Clone)] 13196 pub struct GtkNotebook { 13197 pub container: GtkContainer, 13198 pub priv_: *mut GtkNotebookPrivate, 13199 } 13200 13201 impl ::std::fmt::Debug for GtkNotebook { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13202 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13203 f.debug_struct(&format!("GtkNotebook @ {:?}", self as *const _)) 13204 .finish() 13205 } 13206 } 13207 13208 #[repr(C)] 13209 #[derive(Copy, Clone)] 13210 pub struct GtkNotebookAccessible { 13211 pub parent: GtkContainerAccessible, 13212 pub priv_: *mut GtkNotebookAccessiblePrivate, 13213 } 13214 13215 impl ::std::fmt::Debug for GtkNotebookAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13216 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13217 f.debug_struct(&format!("GtkNotebookAccessible @ {:?}", self as *const _)) 13218 .field("parent", &self.parent) 13219 .field("priv_", &self.priv_) 13220 .finish() 13221 } 13222 } 13223 13224 #[repr(C)] 13225 #[derive(Copy, Clone)] 13226 pub struct GtkNotebookPageAccessible { 13227 pub parent: atk::AtkObject, 13228 pub priv_: *mut GtkNotebookPageAccessiblePrivate, 13229 } 13230 13231 impl ::std::fmt::Debug for GtkNotebookPageAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13232 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13233 f.debug_struct(&format!( 13234 "GtkNotebookPageAccessible @ {:?}", 13235 self as *const _ 13236 )) 13237 .field("parent", &self.parent) 13238 .field("priv_", &self.priv_) 13239 .finish() 13240 } 13241 } 13242 13243 #[repr(C)] 13244 #[derive(Copy, Clone)] 13245 pub struct GtkNumerableIcon { 13246 pub parent: gio::GEmblemedIcon, 13247 pub priv_: *mut GtkNumerableIconPrivate, 13248 } 13249 13250 impl ::std::fmt::Debug for GtkNumerableIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13251 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13252 f.debug_struct(&format!("GtkNumerableIcon @ {:?}", self as *const _)) 13253 .field("parent", &self.parent) 13254 .finish() 13255 } 13256 } 13257 13258 #[repr(C)] 13259 #[derive(Copy, Clone)] 13260 pub struct GtkOffscreenWindow { 13261 pub parent_object: GtkWindow, 13262 } 13263 13264 impl ::std::fmt::Debug for GtkOffscreenWindow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13265 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13266 f.debug_struct(&format!("GtkOffscreenWindow @ {:?}", self as *const _)) 13267 .field("parent_object", &self.parent_object) 13268 .finish() 13269 } 13270 } 13271 13272 #[repr(C)] 13273 #[derive(Copy, Clone)] 13274 pub struct GtkOverlay { 13275 pub parent: GtkBin, 13276 pub priv_: *mut GtkOverlayPrivate, 13277 } 13278 13279 impl ::std::fmt::Debug for GtkOverlay { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13280 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13281 f.debug_struct(&format!("GtkOverlay @ {:?}", self as *const _)) 13282 .field("parent", &self.parent) 13283 .field("priv_", &self.priv_) 13284 .finish() 13285 } 13286 } 13287 13288 #[repr(C)] 13289 pub struct GtkPadController(c_void); 13290 13291 impl ::std::fmt::Debug for GtkPadController { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13292 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13293 f.debug_struct(&format!("GtkPadController @ {:?}", self as *const _)) 13294 .finish() 13295 } 13296 } 13297 13298 #[repr(C)] 13299 pub struct GtkPageSetup(c_void); 13300 13301 impl ::std::fmt::Debug for GtkPageSetup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13302 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13303 f.debug_struct(&format!("GtkPageSetup @ {:?}", self as *const _)) 13304 .finish() 13305 } 13306 } 13307 13308 #[repr(C)] 13309 #[derive(Copy, Clone)] 13310 pub struct GtkPaned { 13311 pub container: GtkContainer, 13312 pub priv_: *mut GtkPanedPrivate, 13313 } 13314 13315 impl ::std::fmt::Debug for GtkPaned { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13316 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13317 f.debug_struct(&format!("GtkPaned @ {:?}", self as *const _)) 13318 .field("container", &self.container) 13319 .finish() 13320 } 13321 } 13322 13323 #[repr(C)] 13324 #[derive(Copy, Clone)] 13325 pub struct GtkPanedAccessible { 13326 pub parent: GtkContainerAccessible, 13327 pub priv_: *mut GtkPanedAccessiblePrivate, 13328 } 13329 13330 impl ::std::fmt::Debug for GtkPanedAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13331 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13332 f.debug_struct(&format!("GtkPanedAccessible @ {:?}", self as *const _)) 13333 .field("parent", &self.parent) 13334 .field("priv_", &self.priv_) 13335 .finish() 13336 } 13337 } 13338 13339 #[repr(C)] 13340 pub struct GtkPlacesSidebar(c_void); 13341 13342 impl ::std::fmt::Debug for GtkPlacesSidebar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13343 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13344 f.debug_struct(&format!("GtkPlacesSidebar @ {:?}", self as *const _)) 13345 .finish() 13346 } 13347 } 13348 13349 #[repr(C)] 13350 #[derive(Copy, Clone)] 13351 pub struct GtkPlug { 13352 pub window: GtkWindow, 13353 pub priv_: *mut GtkPlugPrivate, 13354 } 13355 13356 impl ::std::fmt::Debug for GtkPlug { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13357 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13358 f.debug_struct(&format!("GtkPlug @ {:?}", self as *const _)) 13359 .field("window", &self.window) 13360 .field("priv_", &self.priv_) 13361 .finish() 13362 } 13363 } 13364 13365 #[repr(C)] 13366 #[derive(Copy, Clone)] 13367 pub struct GtkPopover { 13368 pub parent_instance: GtkBin, 13369 pub priv_: *mut GtkPopoverPrivate, 13370 } 13371 13372 impl ::std::fmt::Debug for GtkPopover { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13373 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13374 f.debug_struct(&format!("GtkPopover @ {:?}", self as *const _)) 13375 .field("parent_instance", &self.parent_instance) 13376 .finish() 13377 } 13378 } 13379 13380 #[repr(C)] 13381 #[derive(Copy, Clone)] 13382 pub struct GtkPopoverAccessible { 13383 pub parent: GtkContainerAccessible, 13384 } 13385 13386 impl ::std::fmt::Debug for GtkPopoverAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13387 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13388 f.debug_struct(&format!("GtkPopoverAccessible @ {:?}", self as *const _)) 13389 .field("parent", &self.parent) 13390 .finish() 13391 } 13392 } 13393 13394 #[repr(C)] 13395 pub struct GtkPopoverMenu(c_void); 13396 13397 impl ::std::fmt::Debug for GtkPopoverMenu { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13398 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13399 f.debug_struct(&format!("GtkPopoverMenu @ {:?}", self as *const _)) 13400 .finish() 13401 } 13402 } 13403 13404 #[repr(C)] 13405 pub struct GtkPrintContext(c_void); 13406 13407 impl ::std::fmt::Debug for GtkPrintContext { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13408 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13409 f.debug_struct(&format!("GtkPrintContext @ {:?}", self as *const _)) 13410 .finish() 13411 } 13412 } 13413 13414 #[repr(C)] 13415 #[derive(Copy, Clone)] 13416 pub struct GtkPrintOperation { 13417 pub parent_instance: gobject::GObject, 13418 pub priv_: *mut GtkPrintOperationPrivate, 13419 } 13420 13421 impl ::std::fmt::Debug for GtkPrintOperation { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13422 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13423 f.debug_struct(&format!("GtkPrintOperation @ {:?}", self as *const _)) 13424 .field("parent_instance", &self.parent_instance) 13425 .finish() 13426 } 13427 } 13428 13429 #[repr(C)] 13430 pub struct GtkPrintSettings(c_void); 13431 13432 impl ::std::fmt::Debug for GtkPrintSettings { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13433 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13434 f.debug_struct(&format!("GtkPrintSettings @ {:?}", self as *const _)) 13435 .finish() 13436 } 13437 } 13438 13439 #[repr(C)] 13440 #[derive(Copy, Clone)] 13441 pub struct GtkProgressBar { 13442 pub parent: GtkWidget, 13443 pub priv_: *mut GtkProgressBarPrivate, 13444 } 13445 13446 impl ::std::fmt::Debug for GtkProgressBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13447 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13448 f.debug_struct(&format!("GtkProgressBar @ {:?}", self as *const _)) 13449 .field("parent", &self.parent) 13450 .finish() 13451 } 13452 } 13453 13454 #[repr(C)] 13455 #[derive(Copy, Clone)] 13456 pub struct GtkProgressBarAccessible { 13457 pub parent: GtkWidgetAccessible, 13458 pub priv_: *mut GtkProgressBarAccessiblePrivate, 13459 } 13460 13461 impl ::std::fmt::Debug for GtkProgressBarAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13462 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13463 f.debug_struct(&format!( 13464 "GtkProgressBarAccessible @ {:?}", 13465 self as *const _ 13466 )) 13467 .field("parent", &self.parent) 13468 .field("priv_", &self.priv_) 13469 .finish() 13470 } 13471 } 13472 13473 #[repr(C)] 13474 #[derive(Copy, Clone)] 13475 pub struct GtkRadioAction { 13476 pub parent: GtkToggleAction, 13477 pub private_data: *mut GtkRadioActionPrivate, 13478 } 13479 13480 impl ::std::fmt::Debug for GtkRadioAction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13481 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13482 f.debug_struct(&format!("GtkRadioAction @ {:?}", self as *const _)) 13483 .field("parent", &self.parent) 13484 .finish() 13485 } 13486 } 13487 13488 #[repr(C)] 13489 #[derive(Copy, Clone)] 13490 pub struct GtkRadioButton { 13491 pub check_button: GtkCheckButton, 13492 pub priv_: *mut GtkRadioButtonPrivate, 13493 } 13494 13495 impl ::std::fmt::Debug for GtkRadioButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13496 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13497 f.debug_struct(&format!("GtkRadioButton @ {:?}", self as *const _)) 13498 .field("check_button", &self.check_button) 13499 .finish() 13500 } 13501 } 13502 13503 #[repr(C)] 13504 #[derive(Copy, Clone)] 13505 pub struct GtkRadioButtonAccessible { 13506 pub parent: GtkToggleButtonAccessible, 13507 pub priv_: *mut GtkRadioButtonAccessiblePrivate, 13508 } 13509 13510 impl ::std::fmt::Debug for GtkRadioButtonAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13511 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13512 f.debug_struct(&format!( 13513 "GtkRadioButtonAccessible @ {:?}", 13514 self as *const _ 13515 )) 13516 .field("parent", &self.parent) 13517 .field("priv_", &self.priv_) 13518 .finish() 13519 } 13520 } 13521 13522 #[repr(C)] 13523 #[derive(Copy, Clone)] 13524 pub struct GtkRadioMenuItem { 13525 pub check_menu_item: GtkCheckMenuItem, 13526 pub priv_: *mut GtkRadioMenuItemPrivate, 13527 } 13528 13529 impl ::std::fmt::Debug for GtkRadioMenuItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13530 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13531 f.debug_struct(&format!("GtkRadioMenuItem @ {:?}", self as *const _)) 13532 .field("check_menu_item", &self.check_menu_item) 13533 .finish() 13534 } 13535 } 13536 13537 #[repr(C)] 13538 #[derive(Copy, Clone)] 13539 pub struct GtkRadioMenuItemAccessible { 13540 pub parent: GtkCheckMenuItemAccessible, 13541 pub priv_: *mut GtkRadioMenuItemAccessiblePrivate, 13542 } 13543 13544 impl ::std::fmt::Debug for GtkRadioMenuItemAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13545 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13546 f.debug_struct(&format!( 13547 "GtkRadioMenuItemAccessible @ {:?}", 13548 self as *const _ 13549 )) 13550 .field("parent", &self.parent) 13551 .field("priv_", &self.priv_) 13552 .finish() 13553 } 13554 } 13555 13556 #[repr(C)] 13557 #[derive(Copy, Clone)] 13558 pub struct GtkRadioToolButton { 13559 pub parent: GtkToggleToolButton, 13560 } 13561 13562 impl ::std::fmt::Debug for GtkRadioToolButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13563 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13564 f.debug_struct(&format!("GtkRadioToolButton @ {:?}", self as *const _)) 13565 .field("parent", &self.parent) 13566 .finish() 13567 } 13568 } 13569 13570 #[repr(C)] 13571 #[derive(Copy, Clone)] 13572 pub struct GtkRange { 13573 pub widget: GtkWidget, 13574 pub priv_: *mut GtkRangePrivate, 13575 } 13576 13577 impl ::std::fmt::Debug for GtkRange { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13578 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13579 f.debug_struct(&format!("GtkRange @ {:?}", self as *const _)) 13580 .field("widget", &self.widget) 13581 .field("priv_", &self.priv_) 13582 .finish() 13583 } 13584 } 13585 13586 #[repr(C)] 13587 #[derive(Copy, Clone)] 13588 pub struct GtkRangeAccessible { 13589 pub parent: GtkWidgetAccessible, 13590 pub priv_: *mut GtkRangeAccessiblePrivate, 13591 } 13592 13593 impl ::std::fmt::Debug for GtkRangeAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13594 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13595 f.debug_struct(&format!("GtkRangeAccessible @ {:?}", self as *const _)) 13596 .field("parent", &self.parent) 13597 .field("priv_", &self.priv_) 13598 .finish() 13599 } 13600 } 13601 13602 #[repr(C)] 13603 #[derive(Copy, Clone)] 13604 pub struct GtkRcStyle { 13605 pub parent_instance: gobject::GObject, 13606 pub name: *mut c_char, 13607 pub bg_pixmap_name: [*mut c_char; 5], 13608 pub font_desc: *mut pango::PangoFontDescription, 13609 pub color_flags: [GtkRcFlags; 5], 13610 pub fg: [gdk::GdkColor; 5], 13611 pub bg: [gdk::GdkColor; 5], 13612 pub text: [gdk::GdkColor; 5], 13613 pub base: [gdk::GdkColor; 5], 13614 pub xthickness: c_int, 13615 pub ythickness: c_int, 13616 pub rc_properties: *mut glib::GArray, 13617 pub rc_style_lists: *mut glib::GSList, 13618 pub icon_factories: *mut glib::GSList, 13619 pub engine_specified: c_uint, 13620 } 13621 13622 impl ::std::fmt::Debug for GtkRcStyle { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13623 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13624 f.debug_struct(&format!("GtkRcStyle @ {:?}", self as *const _)) 13625 .field("parent_instance", &self.parent_instance) 13626 .field("name", &self.name) 13627 .field("bg_pixmap_name", &self.bg_pixmap_name) 13628 .field("font_desc", &self.font_desc) 13629 .field("color_flags", &self.color_flags) 13630 .field("fg", &self.fg) 13631 .field("bg", &self.bg) 13632 .field("text", &self.text) 13633 .field("base", &self.base) 13634 .field("xthickness", &self.xthickness) 13635 .field("ythickness", &self.ythickness) 13636 .finish() 13637 } 13638 } 13639 13640 #[repr(C)] 13641 #[derive(Copy, Clone)] 13642 pub struct GtkRecentAction { 13643 pub parent_instance: GtkAction, 13644 pub priv_: *mut GtkRecentActionPrivate, 13645 } 13646 13647 impl ::std::fmt::Debug for GtkRecentAction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13648 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13649 f.debug_struct(&format!("GtkRecentAction @ {:?}", self as *const _)) 13650 .field("parent_instance", &self.parent_instance) 13651 .finish() 13652 } 13653 } 13654 13655 #[repr(C)] 13656 #[derive(Copy, Clone)] 13657 pub struct GtkRecentChooserDialog { 13658 pub parent_instance: GtkDialog, 13659 pub priv_: *mut GtkRecentChooserDialogPrivate, 13660 } 13661 13662 impl ::std::fmt::Debug for GtkRecentChooserDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13663 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13664 f.debug_struct(&format!("GtkRecentChooserDialog @ {:?}", self as *const _)) 13665 .field("parent_instance", &self.parent_instance) 13666 .finish() 13667 } 13668 } 13669 13670 #[repr(C)] 13671 #[derive(Copy, Clone)] 13672 pub struct GtkRecentChooserMenu { 13673 pub parent_instance: GtkMenu, 13674 pub priv_: *mut GtkRecentChooserMenuPrivate, 13675 } 13676 13677 impl ::std::fmt::Debug for GtkRecentChooserMenu { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13678 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13679 f.debug_struct(&format!("GtkRecentChooserMenu @ {:?}", self as *const _)) 13680 .field("parent_instance", &self.parent_instance) 13681 .finish() 13682 } 13683 } 13684 13685 #[repr(C)] 13686 #[derive(Copy, Clone)] 13687 pub struct GtkRecentChooserWidget { 13688 pub parent_instance: GtkBox, 13689 pub priv_: *mut GtkRecentChooserWidgetPrivate, 13690 } 13691 13692 impl ::std::fmt::Debug for GtkRecentChooserWidget { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13693 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13694 f.debug_struct(&format!("GtkRecentChooserWidget @ {:?}", self as *const _)) 13695 .field("parent_instance", &self.parent_instance) 13696 .finish() 13697 } 13698 } 13699 13700 #[repr(C)] 13701 pub struct GtkRecentFilter(c_void); 13702 13703 impl ::std::fmt::Debug for GtkRecentFilter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13704 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13705 f.debug_struct(&format!("GtkRecentFilter @ {:?}", self as *const _)) 13706 .finish() 13707 } 13708 } 13709 13710 #[repr(C)] 13711 #[derive(Copy, Clone)] 13712 pub struct GtkRecentManager { 13713 pub parent_instance: gobject::GObject, 13714 pub priv_: *mut GtkRecentManagerPrivate, 13715 } 13716 13717 impl ::std::fmt::Debug for GtkRecentManager { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13718 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13719 f.debug_struct(&format!("GtkRecentManager @ {:?}", self as *const _)) 13720 .finish() 13721 } 13722 } 13723 13724 #[repr(C)] 13725 #[derive(Copy, Clone)] 13726 pub struct GtkRendererCellAccessible { 13727 pub parent: GtkCellAccessible, 13728 pub priv_: *mut GtkRendererCellAccessiblePrivate, 13729 } 13730 13731 impl ::std::fmt::Debug for GtkRendererCellAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13732 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13733 f.debug_struct(&format!( 13734 "GtkRendererCellAccessible @ {:?}", 13735 self as *const _ 13736 )) 13737 .field("parent", &self.parent) 13738 .field("priv_", &self.priv_) 13739 .finish() 13740 } 13741 } 13742 13743 #[repr(C)] 13744 #[derive(Copy, Clone)] 13745 pub struct GtkRevealer { 13746 pub parent_instance: GtkBin, 13747 } 13748 13749 impl ::std::fmt::Debug for GtkRevealer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13750 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13751 f.debug_struct(&format!("GtkRevealer @ {:?}", self as *const _)) 13752 .field("parent_instance", &self.parent_instance) 13753 .finish() 13754 } 13755 } 13756 13757 #[repr(C)] 13758 #[derive(Copy, Clone)] 13759 pub struct GtkScale { 13760 pub range: GtkRange, 13761 pub priv_: *mut GtkScalePrivate, 13762 } 13763 13764 impl ::std::fmt::Debug for GtkScale { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13765 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13766 f.debug_struct(&format!("GtkScale @ {:?}", self as *const _)) 13767 .field("range", &self.range) 13768 .finish() 13769 } 13770 } 13771 13772 #[repr(C)] 13773 #[derive(Copy, Clone)] 13774 pub struct GtkScaleAccessible { 13775 pub parent: GtkRangeAccessible, 13776 pub priv_: *mut GtkScaleAccessiblePrivate, 13777 } 13778 13779 impl ::std::fmt::Debug for GtkScaleAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13780 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13781 f.debug_struct(&format!("GtkScaleAccessible @ {:?}", self as *const _)) 13782 .field("parent", &self.parent) 13783 .field("priv_", &self.priv_) 13784 .finish() 13785 } 13786 } 13787 13788 #[repr(C)] 13789 #[derive(Copy, Clone)] 13790 pub struct GtkScaleButton { 13791 pub parent: GtkButton, 13792 pub priv_: *mut GtkScaleButtonPrivate, 13793 } 13794 13795 impl ::std::fmt::Debug for GtkScaleButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13796 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13797 f.debug_struct(&format!("GtkScaleButton @ {:?}", self as *const _)) 13798 .field("parent", &self.parent) 13799 .finish() 13800 } 13801 } 13802 13803 #[repr(C)] 13804 #[derive(Copy, Clone)] 13805 pub struct GtkScaleButtonAccessible { 13806 pub parent: GtkButtonAccessible, 13807 pub priv_: *mut GtkScaleButtonAccessiblePrivate, 13808 } 13809 13810 impl ::std::fmt::Debug for GtkScaleButtonAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13811 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13812 f.debug_struct(&format!( 13813 "GtkScaleButtonAccessible @ {:?}", 13814 self as *const _ 13815 )) 13816 .field("parent", &self.parent) 13817 .field("priv_", &self.priv_) 13818 .finish() 13819 } 13820 } 13821 13822 #[repr(C)] 13823 #[derive(Copy, Clone)] 13824 pub struct GtkScrollbar { 13825 pub range: GtkRange, 13826 } 13827 13828 impl ::std::fmt::Debug for GtkScrollbar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13829 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13830 f.debug_struct(&format!("GtkScrollbar @ {:?}", self as *const _)) 13831 .field("range", &self.range) 13832 .finish() 13833 } 13834 } 13835 13836 #[repr(C)] 13837 #[derive(Copy, Clone)] 13838 pub struct GtkScrolledWindow { 13839 pub container: GtkBin, 13840 pub priv_: *mut GtkScrolledWindowPrivate, 13841 } 13842 13843 impl ::std::fmt::Debug for GtkScrolledWindow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13844 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13845 f.debug_struct(&format!("GtkScrolledWindow @ {:?}", self as *const _)) 13846 .field("container", &self.container) 13847 .field("priv_", &self.priv_) 13848 .finish() 13849 } 13850 } 13851 13852 #[repr(C)] 13853 #[derive(Copy, Clone)] 13854 pub struct GtkScrolledWindowAccessible { 13855 pub parent: GtkContainerAccessible, 13856 pub priv_: *mut GtkScrolledWindowAccessiblePrivate, 13857 } 13858 13859 impl ::std::fmt::Debug for GtkScrolledWindowAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13860 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13861 f.debug_struct(&format!( 13862 "GtkScrolledWindowAccessible @ {:?}", 13863 self as *const _ 13864 )) 13865 .field("parent", &self.parent) 13866 .field("priv_", &self.priv_) 13867 .finish() 13868 } 13869 } 13870 13871 #[repr(C)] 13872 #[derive(Copy, Clone)] 13873 pub struct GtkSearchBar { 13874 pub parent: GtkBin, 13875 } 13876 13877 impl ::std::fmt::Debug for GtkSearchBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13878 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13879 f.debug_struct(&format!("GtkSearchBar @ {:?}", self as *const _)) 13880 .finish() 13881 } 13882 } 13883 13884 #[repr(C)] 13885 #[derive(Copy, Clone)] 13886 pub struct GtkSearchEntry { 13887 pub parent: GtkEntry, 13888 } 13889 13890 impl ::std::fmt::Debug for GtkSearchEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13891 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13892 f.debug_struct(&format!("GtkSearchEntry @ {:?}", self as *const _)) 13893 .field("parent", &self.parent) 13894 .finish() 13895 } 13896 } 13897 13898 #[repr(C)] 13899 #[derive(Copy, Clone)] 13900 pub struct GtkSeparator { 13901 pub widget: GtkWidget, 13902 pub priv_: *mut GtkSeparatorPrivate, 13903 } 13904 13905 impl ::std::fmt::Debug for GtkSeparator { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13906 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13907 f.debug_struct(&format!("GtkSeparator @ {:?}", self as *const _)) 13908 .field("widget", &self.widget) 13909 .field("priv_", &self.priv_) 13910 .finish() 13911 } 13912 } 13913 13914 #[repr(C)] 13915 #[derive(Copy, Clone)] 13916 pub struct GtkSeparatorMenuItem { 13917 pub menu_item: GtkMenuItem, 13918 } 13919 13920 impl ::std::fmt::Debug for GtkSeparatorMenuItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13921 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13922 f.debug_struct(&format!("GtkSeparatorMenuItem @ {:?}", self as *const _)) 13923 .field("menu_item", &self.menu_item) 13924 .finish() 13925 } 13926 } 13927 13928 #[repr(C)] 13929 #[derive(Copy, Clone)] 13930 pub struct GtkSeparatorToolItem { 13931 pub parent: GtkToolItem, 13932 pub priv_: *mut GtkSeparatorToolItemPrivate, 13933 } 13934 13935 impl ::std::fmt::Debug for GtkSeparatorToolItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13936 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13937 f.debug_struct(&format!("GtkSeparatorToolItem @ {:?}", self as *const _)) 13938 .field("parent", &self.parent) 13939 .finish() 13940 } 13941 } 13942 13943 #[repr(C)] 13944 #[derive(Copy, Clone)] 13945 pub struct GtkSettings { 13946 pub parent_instance: gobject::GObject, 13947 pub priv_: *mut GtkSettingsPrivate, 13948 } 13949 13950 impl ::std::fmt::Debug for GtkSettings { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13951 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13952 f.debug_struct(&format!("GtkSettings @ {:?}", self as *const _)) 13953 .field("parent_instance", &self.parent_instance) 13954 .finish() 13955 } 13956 } 13957 13958 #[repr(C)] 13959 pub struct GtkShortcutLabel(c_void); 13960 13961 impl ::std::fmt::Debug for GtkShortcutLabel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13962 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13963 f.debug_struct(&format!("GtkShortcutLabel @ {:?}", self as *const _)) 13964 .finish() 13965 } 13966 } 13967 13968 #[repr(C)] 13969 pub struct GtkShortcutsGroup(c_void); 13970 13971 impl ::std::fmt::Debug for GtkShortcutsGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13972 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13973 f.debug_struct(&format!("GtkShortcutsGroup @ {:?}", self as *const _)) 13974 .finish() 13975 } 13976 } 13977 13978 #[repr(C)] 13979 pub struct GtkShortcutsSection(c_void); 13980 13981 impl ::std::fmt::Debug for GtkShortcutsSection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13982 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13983 f.debug_struct(&format!("GtkShortcutsSection @ {:?}", self as *const _)) 13984 .finish() 13985 } 13986 } 13987 13988 #[repr(C)] 13989 pub struct GtkShortcutsShortcut(c_void); 13990 13991 impl ::std::fmt::Debug for GtkShortcutsShortcut { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result13992 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 13993 f.debug_struct(&format!("GtkShortcutsShortcut @ {:?}", self as *const _)) 13994 .finish() 13995 } 13996 } 13997 13998 #[repr(C)] 13999 #[derive(Copy, Clone)] 14000 pub struct GtkShortcutsWindow { 14001 pub window: GtkWindow, 14002 } 14003 14004 impl ::std::fmt::Debug for GtkShortcutsWindow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14005 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14006 f.debug_struct(&format!("GtkShortcutsWindow @ {:?}", self as *const _)) 14007 .field("window", &self.window) 14008 .finish() 14009 } 14010 } 14011 14012 #[repr(C)] 14013 #[derive(Copy, Clone)] 14014 pub struct GtkSizeGroup { 14015 pub parent_instance: gobject::GObject, 14016 pub priv_: *mut GtkSizeGroupPrivate, 14017 } 14018 14019 impl ::std::fmt::Debug for GtkSizeGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14020 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14021 f.debug_struct(&format!("GtkSizeGroup @ {:?}", self as *const _)) 14022 .field("parent_instance", &self.parent_instance) 14023 .finish() 14024 } 14025 } 14026 14027 #[repr(C)] 14028 #[derive(Copy, Clone)] 14029 pub struct GtkSocket { 14030 pub container: GtkContainer, 14031 pub priv_: *mut GtkSocketPrivate, 14032 } 14033 14034 impl ::std::fmt::Debug for GtkSocket { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14035 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14036 f.debug_struct(&format!("GtkSocket @ {:?}", self as *const _)) 14037 .field("container", &self.container) 14038 .field("priv_", &self.priv_) 14039 .finish() 14040 } 14041 } 14042 14043 #[repr(C)] 14044 #[derive(Copy, Clone)] 14045 pub struct GtkSpinButton { 14046 pub entry: GtkEntry, 14047 pub priv_: *mut GtkSpinButtonPrivate, 14048 } 14049 14050 impl ::std::fmt::Debug for GtkSpinButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14051 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14052 f.debug_struct(&format!("GtkSpinButton @ {:?}", self as *const _)) 14053 .field("entry", &self.entry) 14054 .finish() 14055 } 14056 } 14057 14058 #[repr(C)] 14059 #[derive(Copy, Clone)] 14060 pub struct GtkSpinButtonAccessible { 14061 pub parent: GtkEntryAccessible, 14062 pub priv_: *mut GtkSpinButtonAccessiblePrivate, 14063 } 14064 14065 impl ::std::fmt::Debug for GtkSpinButtonAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14066 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14067 f.debug_struct(&format!("GtkSpinButtonAccessible @ {:?}", self as *const _)) 14068 .field("parent", &self.parent) 14069 .field("priv_", &self.priv_) 14070 .finish() 14071 } 14072 } 14073 14074 #[repr(C)] 14075 #[derive(Copy, Clone)] 14076 pub struct GtkSpinner { 14077 pub parent: GtkWidget, 14078 pub priv_: *mut GtkSpinnerPrivate, 14079 } 14080 14081 impl ::std::fmt::Debug for GtkSpinner { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14082 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14083 f.debug_struct(&format!("GtkSpinner @ {:?}", self as *const _)) 14084 .field("parent", &self.parent) 14085 .finish() 14086 } 14087 } 14088 14089 #[repr(C)] 14090 #[derive(Copy, Clone)] 14091 pub struct GtkSpinnerAccessible { 14092 pub parent: GtkWidgetAccessible, 14093 pub priv_: *mut GtkSpinnerAccessiblePrivate, 14094 } 14095 14096 impl ::std::fmt::Debug for GtkSpinnerAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14097 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14098 f.debug_struct(&format!("GtkSpinnerAccessible @ {:?}", self as *const _)) 14099 .field("parent", &self.parent) 14100 .field("priv_", &self.priv_) 14101 .finish() 14102 } 14103 } 14104 14105 #[repr(C)] 14106 #[derive(Copy, Clone)] 14107 pub struct GtkStack { 14108 pub parent_instance: GtkContainer, 14109 } 14110 14111 impl ::std::fmt::Debug for GtkStack { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14112 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14113 f.debug_struct(&format!("GtkStack @ {:?}", self as *const _)) 14114 .field("parent_instance", &self.parent_instance) 14115 .finish() 14116 } 14117 } 14118 14119 #[repr(C)] 14120 #[derive(Copy, Clone)] 14121 pub struct GtkStackAccessible { 14122 pub parent: GtkContainerAccessible, 14123 } 14124 14125 impl ::std::fmt::Debug for GtkStackAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14126 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14127 f.debug_struct(&format!("GtkStackAccessible @ {:?}", self as *const _)) 14128 .field("parent", &self.parent) 14129 .finish() 14130 } 14131 } 14132 14133 #[repr(C)] 14134 #[derive(Copy, Clone)] 14135 pub struct GtkStackSidebar { 14136 pub parent: GtkBin, 14137 } 14138 14139 impl ::std::fmt::Debug for GtkStackSidebar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14140 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14141 f.debug_struct(&format!("GtkStackSidebar @ {:?}", self as *const _)) 14142 .field("parent", &self.parent) 14143 .finish() 14144 } 14145 } 14146 14147 #[repr(C)] 14148 #[derive(Copy, Clone)] 14149 pub struct GtkStackSwitcher { 14150 pub widget: GtkBox, 14151 } 14152 14153 impl ::std::fmt::Debug for GtkStackSwitcher { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14154 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14155 f.debug_struct(&format!("GtkStackSwitcher @ {:?}", self as *const _)) 14156 .field("widget", &self.widget) 14157 .finish() 14158 } 14159 } 14160 14161 #[repr(C)] 14162 #[derive(Copy, Clone)] 14163 pub struct GtkStatusIcon { 14164 pub parent_instance: gobject::GObject, 14165 pub priv_: *mut GtkStatusIconPrivate, 14166 } 14167 14168 impl ::std::fmt::Debug for GtkStatusIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14169 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14170 f.debug_struct(&format!("GtkStatusIcon @ {:?}", self as *const _)) 14171 .field("parent_instance", &self.parent_instance) 14172 .field("priv_", &self.priv_) 14173 .finish() 14174 } 14175 } 14176 14177 #[repr(C)] 14178 #[derive(Copy, Clone)] 14179 pub struct GtkStatusbar { 14180 pub parent_widget: GtkBox, 14181 pub priv_: *mut GtkStatusbarPrivate, 14182 } 14183 14184 impl ::std::fmt::Debug for GtkStatusbar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14185 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14186 f.debug_struct(&format!("GtkStatusbar @ {:?}", self as *const _)) 14187 .field("parent_widget", &self.parent_widget) 14188 .finish() 14189 } 14190 } 14191 14192 #[repr(C)] 14193 #[derive(Copy, Clone)] 14194 pub struct GtkStatusbarAccessible { 14195 pub parent: GtkContainerAccessible, 14196 pub priv_: *mut GtkStatusbarAccessiblePrivate, 14197 } 14198 14199 impl ::std::fmt::Debug for GtkStatusbarAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14200 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14201 f.debug_struct(&format!("GtkStatusbarAccessible @ {:?}", self as *const _)) 14202 .field("parent", &self.parent) 14203 .field("priv_", &self.priv_) 14204 .finish() 14205 } 14206 } 14207 14208 #[repr(C)] 14209 pub struct GtkStyle { 14210 pub parent_instance: gobject::GObject, 14211 pub fg: [gdk::GdkColor; 5], 14212 pub bg: [gdk::GdkColor; 5], 14213 pub light: [gdk::GdkColor; 5], 14214 pub dark: [gdk::GdkColor; 5], 14215 pub mid: [gdk::GdkColor; 5], 14216 pub text: [gdk::GdkColor; 5], 14217 pub base: [gdk::GdkColor; 5], 14218 pub text_aa: [gdk::GdkColor; 5], 14219 pub black: gdk::GdkColor, 14220 pub white: gdk::GdkColor, 14221 pub font_desc: *mut pango::PangoFontDescription, 14222 pub xthickness: c_int, 14223 pub ythickness: c_int, 14224 _truncated_record_marker: c_void, 14225 // /*Ignored*/field background has incomplete type 14226 } 14227 14228 impl ::std::fmt::Debug for GtkStyle { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14229 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14230 f.debug_struct(&format!("GtkStyle @ {:?}", self as *const _)) 14231 .field("fg", &self.fg) 14232 .field("bg", &self.bg) 14233 .field("light", &self.light) 14234 .field("dark", &self.dark) 14235 .field("mid", &self.mid) 14236 .field("text", &self.text) 14237 .field("base", &self.base) 14238 .field("text_aa", &self.text_aa) 14239 .field("black", &self.black) 14240 .field("white", &self.white) 14241 .field("font_desc", &self.font_desc) 14242 .field("xthickness", &self.xthickness) 14243 .field("ythickness", &self.ythickness) 14244 .finish() 14245 } 14246 } 14247 14248 #[repr(C)] 14249 #[derive(Copy, Clone)] 14250 pub struct GtkStyleContext { 14251 pub parent_object: gobject::GObject, 14252 pub priv_: *mut GtkStyleContextPrivate, 14253 } 14254 14255 impl ::std::fmt::Debug for GtkStyleContext { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14256 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14257 f.debug_struct(&format!("GtkStyleContext @ {:?}", self as *const _)) 14258 .field("parent_object", &self.parent_object) 14259 .field("priv_", &self.priv_) 14260 .finish() 14261 } 14262 } 14263 14264 #[repr(C)] 14265 #[derive(Copy, Clone)] 14266 pub struct GtkStyleProperties { 14267 pub parent_object: gobject::GObject, 14268 pub priv_: *mut GtkStylePropertiesPrivate, 14269 } 14270 14271 impl ::std::fmt::Debug for GtkStyleProperties { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14272 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14273 f.debug_struct(&format!("GtkStyleProperties @ {:?}", self as *const _)) 14274 .finish() 14275 } 14276 } 14277 14278 #[repr(C)] 14279 #[derive(Copy, Clone)] 14280 pub struct GtkSwitch { 14281 pub parent_instance: GtkWidget, 14282 pub priv_: *mut GtkSwitchPrivate, 14283 } 14284 14285 impl ::std::fmt::Debug for GtkSwitch { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14286 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14287 f.debug_struct(&format!("GtkSwitch @ {:?}", self as *const _)) 14288 .finish() 14289 } 14290 } 14291 14292 #[repr(C)] 14293 #[derive(Copy, Clone)] 14294 pub struct GtkSwitchAccessible { 14295 pub parent: GtkWidgetAccessible, 14296 pub priv_: *mut GtkSwitchAccessiblePrivate, 14297 } 14298 14299 impl ::std::fmt::Debug for GtkSwitchAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14300 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14301 f.debug_struct(&format!("GtkSwitchAccessible @ {:?}", self as *const _)) 14302 .field("parent", &self.parent) 14303 .field("priv_", &self.priv_) 14304 .finish() 14305 } 14306 } 14307 14308 #[repr(C)] 14309 #[derive(Copy, Clone)] 14310 pub struct GtkTable { 14311 pub container: GtkContainer, 14312 pub priv_: *mut GtkTablePrivate, 14313 } 14314 14315 impl ::std::fmt::Debug for GtkTable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14316 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14317 f.debug_struct(&format!("GtkTable @ {:?}", self as *const _)) 14318 .field("container", &self.container) 14319 .finish() 14320 } 14321 } 14322 14323 #[repr(C)] 14324 #[derive(Copy, Clone)] 14325 pub struct GtkTearoffMenuItem { 14326 pub menu_item: GtkMenuItem, 14327 pub priv_: *mut GtkTearoffMenuItemPrivate, 14328 } 14329 14330 impl ::std::fmt::Debug for GtkTearoffMenuItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14331 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14332 f.debug_struct(&format!("GtkTearoffMenuItem @ {:?}", self as *const _)) 14333 .field("menu_item", &self.menu_item) 14334 .finish() 14335 } 14336 } 14337 14338 #[repr(C)] 14339 #[derive(Copy, Clone)] 14340 pub struct GtkTextBuffer { 14341 pub parent_instance: gobject::GObject, 14342 pub priv_: *mut GtkTextBufferPrivate, 14343 } 14344 14345 impl ::std::fmt::Debug for GtkTextBuffer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14346 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14347 f.debug_struct(&format!("GtkTextBuffer @ {:?}", self as *const _)) 14348 .field("parent_instance", &self.parent_instance) 14349 .field("priv_", &self.priv_) 14350 .finish() 14351 } 14352 } 14353 14354 #[repr(C)] 14355 #[derive(Copy, Clone)] 14356 pub struct GtkTextCellAccessible { 14357 pub parent: GtkRendererCellAccessible, 14358 pub priv_: *mut GtkTextCellAccessiblePrivate, 14359 } 14360 14361 impl ::std::fmt::Debug for GtkTextCellAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14362 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14363 f.debug_struct(&format!("GtkTextCellAccessible @ {:?}", self as *const _)) 14364 .field("parent", &self.parent) 14365 .field("priv_", &self.priv_) 14366 .finish() 14367 } 14368 } 14369 14370 #[repr(C)] 14371 #[derive(Copy, Clone)] 14372 pub struct GtkTextChildAnchor { 14373 pub parent_instance: gobject::GObject, 14374 pub segment: gpointer, 14375 } 14376 14377 impl ::std::fmt::Debug for GtkTextChildAnchor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14378 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14379 f.debug_struct(&format!("GtkTextChildAnchor @ {:?}", self as *const _)) 14380 .field("parent_instance", &self.parent_instance) 14381 .finish() 14382 } 14383 } 14384 14385 #[repr(C)] 14386 #[derive(Copy, Clone)] 14387 pub struct GtkTextMark { 14388 pub parent_instance: gobject::GObject, 14389 pub segment: gpointer, 14390 } 14391 14392 impl ::std::fmt::Debug for GtkTextMark { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14393 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14394 f.debug_struct(&format!("GtkTextMark @ {:?}", self as *const _)) 14395 .field("parent_instance", &self.parent_instance) 14396 .finish() 14397 } 14398 } 14399 14400 #[repr(C)] 14401 #[derive(Copy, Clone)] 14402 pub struct GtkTextTag { 14403 pub parent_instance: gobject::GObject, 14404 pub priv_: *mut GtkTextTagPrivate, 14405 } 14406 14407 impl ::std::fmt::Debug for GtkTextTag { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14408 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14409 f.debug_struct(&format!("GtkTextTag @ {:?}", self as *const _)) 14410 .field("parent_instance", &self.parent_instance) 14411 .field("priv_", &self.priv_) 14412 .finish() 14413 } 14414 } 14415 14416 #[repr(C)] 14417 #[derive(Copy, Clone)] 14418 pub struct GtkTextTagTable { 14419 pub parent_instance: gobject::GObject, 14420 pub priv_: *mut GtkTextTagTablePrivate, 14421 } 14422 14423 impl ::std::fmt::Debug for GtkTextTagTable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14424 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14425 f.debug_struct(&format!("GtkTextTagTable @ {:?}", self as *const _)) 14426 .field("parent_instance", &self.parent_instance) 14427 .field("priv_", &self.priv_) 14428 .finish() 14429 } 14430 } 14431 14432 #[repr(C)] 14433 #[derive(Copy, Clone)] 14434 pub struct GtkTextView { 14435 pub parent_instance: GtkContainer, 14436 pub priv_: *mut GtkTextViewPrivate, 14437 } 14438 14439 impl ::std::fmt::Debug for GtkTextView { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14440 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14441 f.debug_struct(&format!("GtkTextView @ {:?}", self as *const _)) 14442 .field("parent_instance", &self.parent_instance) 14443 .finish() 14444 } 14445 } 14446 14447 #[repr(C)] 14448 #[derive(Copy, Clone)] 14449 pub struct GtkTextViewAccessible { 14450 pub parent: GtkContainerAccessible, 14451 pub priv_: *mut GtkTextViewAccessiblePrivate, 14452 } 14453 14454 impl ::std::fmt::Debug for GtkTextViewAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14455 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14456 f.debug_struct(&format!("GtkTextViewAccessible @ {:?}", self as *const _)) 14457 .field("parent", &self.parent) 14458 .field("priv_", &self.priv_) 14459 .finish() 14460 } 14461 } 14462 14463 #[repr(C)] 14464 #[derive(Copy, Clone)] 14465 pub struct GtkThemingEngine { 14466 pub parent_object: gobject::GObject, 14467 pub priv_: *mut GtkThemingEnginePrivate, 14468 } 14469 14470 impl ::std::fmt::Debug for GtkThemingEngine { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14471 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14472 f.debug_struct(&format!("GtkThemingEngine @ {:?}", self as *const _)) 14473 .field("parent_object", &self.parent_object) 14474 .field("priv_", &self.priv_) 14475 .finish() 14476 } 14477 } 14478 14479 #[repr(C)] 14480 #[derive(Copy, Clone)] 14481 pub struct GtkToggleAction { 14482 pub parent: GtkAction, 14483 pub private_data: *mut GtkToggleActionPrivate, 14484 } 14485 14486 impl ::std::fmt::Debug for GtkToggleAction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14487 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14488 f.debug_struct(&format!("GtkToggleAction @ {:?}", self as *const _)) 14489 .field("parent", &self.parent) 14490 .finish() 14491 } 14492 } 14493 14494 #[repr(C)] 14495 #[derive(Copy, Clone)] 14496 pub struct GtkToggleButton { 14497 pub button: GtkButton, 14498 pub priv_: *mut GtkToggleButtonPrivate, 14499 } 14500 14501 impl ::std::fmt::Debug for GtkToggleButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14502 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14503 f.debug_struct(&format!("GtkToggleButton @ {:?}", self as *const _)) 14504 .finish() 14505 } 14506 } 14507 14508 #[repr(C)] 14509 #[derive(Copy, Clone)] 14510 pub struct GtkToggleButtonAccessible { 14511 pub parent: GtkButtonAccessible, 14512 pub priv_: *mut GtkToggleButtonAccessiblePrivate, 14513 } 14514 14515 impl ::std::fmt::Debug for GtkToggleButtonAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14516 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14517 f.debug_struct(&format!( 14518 "GtkToggleButtonAccessible @ {:?}", 14519 self as *const _ 14520 )) 14521 .field("parent", &self.parent) 14522 .field("priv_", &self.priv_) 14523 .finish() 14524 } 14525 } 14526 14527 #[repr(C)] 14528 #[derive(Copy, Clone)] 14529 pub struct GtkToggleToolButton { 14530 pub parent: GtkToolButton, 14531 pub priv_: *mut GtkToggleToolButtonPrivate, 14532 } 14533 14534 impl ::std::fmt::Debug for GtkToggleToolButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14535 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14536 f.debug_struct(&format!("GtkToggleToolButton @ {:?}", self as *const _)) 14537 .field("parent", &self.parent) 14538 .finish() 14539 } 14540 } 14541 14542 #[repr(C)] 14543 #[derive(Copy, Clone)] 14544 pub struct GtkToolButton { 14545 pub parent: GtkToolItem, 14546 pub priv_: *mut GtkToolButtonPrivate, 14547 } 14548 14549 impl ::std::fmt::Debug for GtkToolButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14550 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14551 f.debug_struct(&format!("GtkToolButton @ {:?}", self as *const _)) 14552 .field("parent", &self.parent) 14553 .finish() 14554 } 14555 } 14556 14557 #[repr(C)] 14558 #[derive(Copy, Clone)] 14559 pub struct GtkToolItem { 14560 pub parent: GtkBin, 14561 pub priv_: *mut GtkToolItemPrivate, 14562 } 14563 14564 impl ::std::fmt::Debug for GtkToolItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14565 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14566 f.debug_struct(&format!("GtkToolItem @ {:?}", self as *const _)) 14567 .field("parent", &self.parent) 14568 .finish() 14569 } 14570 } 14571 14572 #[repr(C)] 14573 #[derive(Copy, Clone)] 14574 pub struct GtkToolItemGroup { 14575 pub parent_instance: GtkContainer, 14576 pub priv_: *mut GtkToolItemGroupPrivate, 14577 } 14578 14579 impl ::std::fmt::Debug for GtkToolItemGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14580 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14581 f.debug_struct(&format!("GtkToolItemGroup @ {:?}", self as *const _)) 14582 .field("parent_instance", &self.parent_instance) 14583 .field("priv_", &self.priv_) 14584 .finish() 14585 } 14586 } 14587 14588 #[repr(C)] 14589 #[derive(Copy, Clone)] 14590 pub struct GtkToolPalette { 14591 pub parent_instance: GtkContainer, 14592 pub priv_: *mut GtkToolPalettePrivate, 14593 } 14594 14595 impl ::std::fmt::Debug for GtkToolPalette { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14596 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14597 f.debug_struct(&format!("GtkToolPalette @ {:?}", self as *const _)) 14598 .field("parent_instance", &self.parent_instance) 14599 .field("priv_", &self.priv_) 14600 .finish() 14601 } 14602 } 14603 14604 #[repr(C)] 14605 #[derive(Copy, Clone)] 14606 pub struct GtkToolbar { 14607 pub container: GtkContainer, 14608 pub priv_: *mut GtkToolbarPrivate, 14609 } 14610 14611 impl ::std::fmt::Debug for GtkToolbar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14612 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14613 f.debug_struct(&format!("GtkToolbar @ {:?}", self as *const _)) 14614 .field("container", &self.container) 14615 .field("priv_", &self.priv_) 14616 .finish() 14617 } 14618 } 14619 14620 #[repr(C)] 14621 pub struct GtkTooltip(c_void); 14622 14623 impl ::std::fmt::Debug for GtkTooltip { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14624 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14625 f.debug_struct(&format!("GtkTooltip @ {:?}", self as *const _)) 14626 .finish() 14627 } 14628 } 14629 14630 #[repr(C)] 14631 #[derive(Copy, Clone)] 14632 pub struct GtkToplevelAccessible { 14633 pub parent: atk::AtkObject, 14634 pub priv_: *mut GtkToplevelAccessiblePrivate, 14635 } 14636 14637 impl ::std::fmt::Debug for GtkToplevelAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14638 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14639 f.debug_struct(&format!("GtkToplevelAccessible @ {:?}", self as *const _)) 14640 .field("parent", &self.parent) 14641 .field("priv_", &self.priv_) 14642 .finish() 14643 } 14644 } 14645 14646 #[repr(C)] 14647 #[derive(Copy, Clone)] 14648 pub struct GtkTreeModelFilter { 14649 pub parent: gobject::GObject, 14650 pub priv_: *mut GtkTreeModelFilterPrivate, 14651 } 14652 14653 impl ::std::fmt::Debug for GtkTreeModelFilter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14654 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14655 f.debug_struct(&format!("GtkTreeModelFilter @ {:?}", self as *const _)) 14656 .field("parent", &self.parent) 14657 .finish() 14658 } 14659 } 14660 14661 #[repr(C)] 14662 #[derive(Copy, Clone)] 14663 pub struct GtkTreeModelSort { 14664 pub parent: gobject::GObject, 14665 pub priv_: *mut GtkTreeModelSortPrivate, 14666 } 14667 14668 impl ::std::fmt::Debug for GtkTreeModelSort { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14669 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14670 f.debug_struct(&format!("GtkTreeModelSort @ {:?}", self as *const _)) 14671 .field("parent", &self.parent) 14672 .finish() 14673 } 14674 } 14675 14676 #[repr(C)] 14677 #[derive(Copy, Clone)] 14678 pub struct GtkTreeSelection { 14679 pub parent: gobject::GObject, 14680 pub priv_: *mut GtkTreeSelectionPrivate, 14681 } 14682 14683 impl ::std::fmt::Debug for GtkTreeSelection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14684 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14685 f.debug_struct(&format!("GtkTreeSelection @ {:?}", self as *const _)) 14686 .finish() 14687 } 14688 } 14689 14690 #[repr(C)] 14691 #[derive(Copy, Clone)] 14692 pub struct GtkTreeStore { 14693 pub parent: gobject::GObject, 14694 pub priv_: *mut GtkTreeStorePrivate, 14695 } 14696 14697 impl ::std::fmt::Debug for GtkTreeStore { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14698 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14699 f.debug_struct(&format!("GtkTreeStore @ {:?}", self as *const _)) 14700 .field("parent", &self.parent) 14701 .field("priv_", &self.priv_) 14702 .finish() 14703 } 14704 } 14705 14706 #[repr(C)] 14707 #[derive(Copy, Clone)] 14708 pub struct GtkTreeView { 14709 pub parent: GtkContainer, 14710 pub priv_: *mut GtkTreeViewPrivate, 14711 } 14712 14713 impl ::std::fmt::Debug for GtkTreeView { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14714 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14715 f.debug_struct(&format!("GtkTreeView @ {:?}", self as *const _)) 14716 .field("parent", &self.parent) 14717 .finish() 14718 } 14719 } 14720 14721 #[repr(C)] 14722 #[derive(Copy, Clone)] 14723 pub struct GtkTreeViewAccessible { 14724 pub parent: GtkContainerAccessible, 14725 pub priv_: *mut GtkTreeViewAccessiblePrivate, 14726 } 14727 14728 impl ::std::fmt::Debug for GtkTreeViewAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14729 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14730 f.debug_struct(&format!("GtkTreeViewAccessible @ {:?}", self as *const _)) 14731 .field("parent", &self.parent) 14732 .field("priv_", &self.priv_) 14733 .finish() 14734 } 14735 } 14736 14737 #[repr(C)] 14738 #[derive(Copy, Clone)] 14739 pub struct GtkTreeViewColumn { 14740 pub parent_instance: gobject::GInitiallyUnowned, 14741 pub priv_: *mut GtkTreeViewColumnPrivate, 14742 } 14743 14744 impl ::std::fmt::Debug for GtkTreeViewColumn { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14745 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14746 f.debug_struct(&format!("GtkTreeViewColumn @ {:?}", self as *const _)) 14747 .field("parent_instance", &self.parent_instance) 14748 .field("priv_", &self.priv_) 14749 .finish() 14750 } 14751 } 14752 14753 #[repr(C)] 14754 #[derive(Copy, Clone)] 14755 pub struct GtkUIManager { 14756 pub parent: gobject::GObject, 14757 pub private_data: *mut GtkUIManagerPrivate, 14758 } 14759 14760 impl ::std::fmt::Debug for GtkUIManager { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14761 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14762 f.debug_struct(&format!("GtkUIManager @ {:?}", self as *const _)) 14763 .field("parent", &self.parent) 14764 .finish() 14765 } 14766 } 14767 14768 #[repr(C)] 14769 #[derive(Copy, Clone)] 14770 pub struct GtkVBox { 14771 pub box_: GtkBox, 14772 } 14773 14774 impl ::std::fmt::Debug for GtkVBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14775 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14776 f.debug_struct(&format!("GtkVBox @ {:?}", self as *const _)) 14777 .field("box_", &self.box_) 14778 .finish() 14779 } 14780 } 14781 14782 #[repr(C)] 14783 #[derive(Copy, Clone)] 14784 pub struct GtkVButtonBox { 14785 pub button_box: GtkButtonBox, 14786 } 14787 14788 impl ::std::fmt::Debug for GtkVButtonBox { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14789 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14790 f.debug_struct(&format!("GtkVButtonBox @ {:?}", self as *const _)) 14791 .field("button_box", &self.button_box) 14792 .finish() 14793 } 14794 } 14795 14796 #[repr(C)] 14797 #[derive(Copy, Clone)] 14798 pub struct GtkVPaned { 14799 pub paned: GtkPaned, 14800 } 14801 14802 impl ::std::fmt::Debug for GtkVPaned { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14803 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14804 f.debug_struct(&format!("GtkVPaned @ {:?}", self as *const _)) 14805 .field("paned", &self.paned) 14806 .finish() 14807 } 14808 } 14809 14810 #[repr(C)] 14811 #[derive(Copy, Clone)] 14812 pub struct GtkVScale { 14813 pub scale: GtkScale, 14814 } 14815 14816 impl ::std::fmt::Debug for GtkVScale { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14817 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14818 f.debug_struct(&format!("GtkVScale @ {:?}", self as *const _)) 14819 .field("scale", &self.scale) 14820 .finish() 14821 } 14822 } 14823 14824 #[repr(C)] 14825 #[derive(Copy, Clone)] 14826 pub struct GtkVScrollbar { 14827 pub scrollbar: GtkScrollbar, 14828 } 14829 14830 impl ::std::fmt::Debug for GtkVScrollbar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14831 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14832 f.debug_struct(&format!("GtkVScrollbar @ {:?}", self as *const _)) 14833 .field("scrollbar", &self.scrollbar) 14834 .finish() 14835 } 14836 } 14837 14838 #[repr(C)] 14839 #[derive(Copy, Clone)] 14840 pub struct GtkVSeparator { 14841 pub separator: GtkSeparator, 14842 } 14843 14844 impl ::std::fmt::Debug for GtkVSeparator { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14845 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14846 f.debug_struct(&format!("GtkVSeparator @ {:?}", self as *const _)) 14847 .field("separator", &self.separator) 14848 .finish() 14849 } 14850 } 14851 14852 #[repr(C)] 14853 #[derive(Copy, Clone)] 14854 pub struct GtkViewport { 14855 pub bin: GtkBin, 14856 pub priv_: *mut GtkViewportPrivate, 14857 } 14858 14859 impl ::std::fmt::Debug for GtkViewport { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14860 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14861 f.debug_struct(&format!("GtkViewport @ {:?}", self as *const _)) 14862 .field("bin", &self.bin) 14863 .finish() 14864 } 14865 } 14866 14867 #[repr(C)] 14868 #[derive(Copy, Clone)] 14869 pub struct GtkVolumeButton { 14870 pub parent: GtkScaleButton, 14871 } 14872 14873 impl ::std::fmt::Debug for GtkVolumeButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14874 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14875 f.debug_struct(&format!("GtkVolumeButton @ {:?}", self as *const _)) 14876 .field("parent", &self.parent) 14877 .finish() 14878 } 14879 } 14880 14881 #[repr(C)] 14882 #[derive(Copy, Clone)] 14883 pub struct GtkWidget { 14884 pub parent_instance: gobject::GInitiallyUnowned, 14885 pub priv_: *mut GtkWidgetPrivate, 14886 } 14887 14888 impl ::std::fmt::Debug for GtkWidget { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14889 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14890 f.debug_struct(&format!("GtkWidget @ {:?}", self as *const _)) 14891 .field("parent_instance", &self.parent_instance) 14892 .finish() 14893 } 14894 } 14895 14896 #[repr(C)] 14897 #[derive(Copy, Clone)] 14898 pub struct GtkWidgetAccessible { 14899 pub parent: GtkAccessible, 14900 pub priv_: *mut GtkWidgetAccessiblePrivate, 14901 } 14902 14903 impl ::std::fmt::Debug for GtkWidgetAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14904 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14905 f.debug_struct(&format!("GtkWidgetAccessible @ {:?}", self as *const _)) 14906 .field("parent", &self.parent) 14907 .field("priv_", &self.priv_) 14908 .finish() 14909 } 14910 } 14911 14912 #[repr(C)] 14913 #[derive(Copy, Clone)] 14914 pub struct GtkWindow { 14915 pub bin: GtkBin, 14916 pub priv_: *mut GtkWindowPrivate, 14917 } 14918 14919 impl ::std::fmt::Debug for GtkWindow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14920 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14921 f.debug_struct(&format!("GtkWindow @ {:?}", self as *const _)) 14922 .field("bin", &self.bin) 14923 .field("priv_", &self.priv_) 14924 .finish() 14925 } 14926 } 14927 14928 #[repr(C)] 14929 #[derive(Copy, Clone)] 14930 pub struct GtkWindowAccessible { 14931 pub parent: GtkContainerAccessible, 14932 pub priv_: *mut GtkWindowAccessiblePrivate, 14933 } 14934 14935 impl ::std::fmt::Debug for GtkWindowAccessible { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14936 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14937 f.debug_struct(&format!("GtkWindowAccessible @ {:?}", self as *const _)) 14938 .field("parent", &self.parent) 14939 .field("priv_", &self.priv_) 14940 .finish() 14941 } 14942 } 14943 14944 #[repr(C)] 14945 #[derive(Copy, Clone)] 14946 pub struct GtkWindowGroup { 14947 pub parent_instance: gobject::GObject, 14948 pub priv_: *mut GtkWindowGroupPrivate, 14949 } 14950 14951 impl ::std::fmt::Debug for GtkWindowGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14952 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14953 f.debug_struct(&format!("GtkWindowGroup @ {:?}", self as *const _)) 14954 .field("parent_instance", &self.parent_instance) 14955 .field("priv_", &self.priv_) 14956 .finish() 14957 } 14958 } 14959 14960 // Interfaces 14961 #[repr(C)] 14962 pub struct GtkActionable(c_void); 14963 14964 impl ::std::fmt::Debug for GtkActionable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14965 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14966 write!(f, "GtkActionable @ {:?}", self as *const _) 14967 } 14968 } 14969 14970 #[repr(C)] 14971 pub struct GtkActivatable(c_void); 14972 14973 impl ::std::fmt::Debug for GtkActivatable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14974 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14975 write!(f, "GtkActivatable @ {:?}", self as *const _) 14976 } 14977 } 14978 14979 #[repr(C)] 14980 pub struct GtkAppChooser(c_void); 14981 14982 impl ::std::fmt::Debug for GtkAppChooser { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14983 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14984 write!(f, "GtkAppChooser @ {:?}", self as *const _) 14985 } 14986 } 14987 14988 #[repr(C)] 14989 pub struct GtkBuildable(c_void); 14990 14991 impl ::std::fmt::Debug for GtkBuildable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result14992 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 14993 write!(f, "GtkBuildable @ {:?}", self as *const _) 14994 } 14995 } 14996 14997 #[repr(C)] 14998 pub struct GtkCellAccessibleParent(c_void); 14999 15000 impl ::std::fmt::Debug for GtkCellAccessibleParent { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15001 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15002 write!(f, "GtkCellAccessibleParent @ {:?}", self as *const _) 15003 } 15004 } 15005 15006 #[repr(C)] 15007 pub struct GtkCellEditable(c_void); 15008 15009 impl ::std::fmt::Debug for GtkCellEditable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15010 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15011 write!(f, "GtkCellEditable @ {:?}", self as *const _) 15012 } 15013 } 15014 15015 #[repr(C)] 15016 pub struct GtkCellLayout(c_void); 15017 15018 impl ::std::fmt::Debug for GtkCellLayout { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15019 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15020 write!(f, "GtkCellLayout @ {:?}", self as *const _) 15021 } 15022 } 15023 15024 #[repr(C)] 15025 pub struct GtkColorChooser(c_void); 15026 15027 impl ::std::fmt::Debug for GtkColorChooser { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15028 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15029 write!(f, "GtkColorChooser @ {:?}", self as *const _) 15030 } 15031 } 15032 15033 #[repr(C)] 15034 pub struct GtkEditable(c_void); 15035 15036 impl ::std::fmt::Debug for GtkEditable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15037 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15038 write!(f, "GtkEditable @ {:?}", self as *const _) 15039 } 15040 } 15041 15042 #[repr(C)] 15043 pub struct GtkFileChooser(c_void); 15044 15045 impl ::std::fmt::Debug for GtkFileChooser { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15046 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15047 write!(f, "GtkFileChooser @ {:?}", self as *const _) 15048 } 15049 } 15050 15051 #[repr(C)] 15052 pub struct GtkFontChooser(c_void); 15053 15054 impl ::std::fmt::Debug for GtkFontChooser { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15055 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15056 write!(f, "GtkFontChooser @ {:?}", self as *const _) 15057 } 15058 } 15059 15060 #[repr(C)] 15061 pub struct GtkOrientable(c_void); 15062 15063 impl ::std::fmt::Debug for GtkOrientable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15064 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15065 write!(f, "GtkOrientable @ {:?}", self as *const _) 15066 } 15067 } 15068 15069 #[repr(C)] 15070 pub struct GtkPrintOperationPreview(c_void); 15071 15072 impl ::std::fmt::Debug for GtkPrintOperationPreview { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15073 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15074 write!(f, "GtkPrintOperationPreview @ {:?}", self as *const _) 15075 } 15076 } 15077 15078 #[repr(C)] 15079 pub struct GtkRecentChooser(c_void); 15080 15081 impl ::std::fmt::Debug for GtkRecentChooser { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15082 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15083 write!(f, "GtkRecentChooser @ {:?}", self as *const _) 15084 } 15085 } 15086 15087 #[repr(C)] 15088 pub struct GtkScrollable(c_void); 15089 15090 impl ::std::fmt::Debug for GtkScrollable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15091 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15092 write!(f, "GtkScrollable @ {:?}", self as *const _) 15093 } 15094 } 15095 15096 #[repr(C)] 15097 pub struct GtkStyleProvider(c_void); 15098 15099 impl ::std::fmt::Debug for GtkStyleProvider { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15100 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15101 write!(f, "GtkStyleProvider @ {:?}", self as *const _) 15102 } 15103 } 15104 15105 #[repr(C)] 15106 pub struct GtkToolShell(c_void); 15107 15108 impl ::std::fmt::Debug for GtkToolShell { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15109 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15110 write!(f, "GtkToolShell @ {:?}", self as *const _) 15111 } 15112 } 15113 15114 #[repr(C)] 15115 pub struct GtkTreeDragDest(c_void); 15116 15117 impl ::std::fmt::Debug for GtkTreeDragDest { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15118 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15119 write!(f, "GtkTreeDragDest @ {:?}", self as *const _) 15120 } 15121 } 15122 15123 #[repr(C)] 15124 pub struct GtkTreeDragSource(c_void); 15125 15126 impl ::std::fmt::Debug for GtkTreeDragSource { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15127 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15128 write!(f, "GtkTreeDragSource @ {:?}", self as *const _) 15129 } 15130 } 15131 15132 #[repr(C)] 15133 pub struct GtkTreeModel(c_void); 15134 15135 impl ::std::fmt::Debug for GtkTreeModel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15136 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15137 write!(f, "GtkTreeModel @ {:?}", self as *const _) 15138 } 15139 } 15140 15141 #[repr(C)] 15142 pub struct GtkTreeSortable(c_void); 15143 15144 impl ::std::fmt::Debug for GtkTreeSortable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result15145 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 15146 write!(f, "GtkTreeSortable @ {:?}", self as *const _) 15147 } 15148 } 15149 15150 extern "C" { 15151 15152 //========================================================================= 15153 // GtkAlign 15154 //========================================================================= gtk_align_get_type() -> GType15155 pub fn gtk_align_get_type() -> GType; 15156 15157 //========================================================================= 15158 // GtkArrowPlacement 15159 //========================================================================= gtk_arrow_placement_get_type() -> GType15160 pub fn gtk_arrow_placement_get_type() -> GType; 15161 15162 //========================================================================= 15163 // GtkArrowType 15164 //========================================================================= gtk_arrow_type_get_type() -> GType15165 pub fn gtk_arrow_type_get_type() -> GType; 15166 15167 //========================================================================= 15168 // GtkAssistantPageType 15169 //========================================================================= gtk_assistant_page_type_get_type() -> GType15170 pub fn gtk_assistant_page_type_get_type() -> GType; 15171 15172 //========================================================================= 15173 // GtkBaselinePosition 15174 //========================================================================= gtk_baseline_position_get_type() -> GType15175 pub fn gtk_baseline_position_get_type() -> GType; 15176 15177 //========================================================================= 15178 // GtkBorderStyle 15179 //========================================================================= gtk_border_style_get_type() -> GType15180 pub fn gtk_border_style_get_type() -> GType; 15181 15182 //========================================================================= 15183 // GtkBuilderError 15184 //========================================================================= gtk_builder_error_get_type() -> GType15185 pub fn gtk_builder_error_get_type() -> GType; gtk_builder_error_quark() -> glib::GQuark15186 pub fn gtk_builder_error_quark() -> glib::GQuark; 15187 15188 //========================================================================= 15189 // GtkButtonBoxStyle 15190 //========================================================================= gtk_button_box_style_get_type() -> GType15191 pub fn gtk_button_box_style_get_type() -> GType; 15192 15193 //========================================================================= 15194 // GtkButtonRole 15195 //========================================================================= gtk_button_role_get_type() -> GType15196 pub fn gtk_button_role_get_type() -> GType; 15197 15198 //========================================================================= 15199 // GtkButtonsType 15200 //========================================================================= gtk_buttons_type_get_type() -> GType15201 pub fn gtk_buttons_type_get_type() -> GType; 15202 15203 //========================================================================= 15204 // GtkCellRendererAccelMode 15205 //========================================================================= gtk_cell_renderer_accel_mode_get_type() -> GType15206 pub fn gtk_cell_renderer_accel_mode_get_type() -> GType; 15207 15208 //========================================================================= 15209 // GtkCellRendererMode 15210 //========================================================================= gtk_cell_renderer_mode_get_type() -> GType15211 pub fn gtk_cell_renderer_mode_get_type() -> GType; 15212 15213 //========================================================================= 15214 // GtkCornerType 15215 //========================================================================= gtk_corner_type_get_type() -> GType15216 pub fn gtk_corner_type_get_type() -> GType; 15217 15218 //========================================================================= 15219 // GtkCssProviderError 15220 //========================================================================= gtk_css_provider_error_get_type() -> GType15221 pub fn gtk_css_provider_error_get_type() -> GType; gtk_css_provider_error_quark() -> glib::GQuark15222 pub fn gtk_css_provider_error_quark() -> glib::GQuark; 15223 15224 //========================================================================= 15225 // GtkCssSectionType 15226 //========================================================================= gtk_css_section_type_get_type() -> GType15227 pub fn gtk_css_section_type_get_type() -> GType; 15228 15229 //========================================================================= 15230 // GtkDeleteType 15231 //========================================================================= gtk_delete_type_get_type() -> GType15232 pub fn gtk_delete_type_get_type() -> GType; 15233 15234 //========================================================================= 15235 // GtkDirectionType 15236 //========================================================================= gtk_direction_type_get_type() -> GType15237 pub fn gtk_direction_type_get_type() -> GType; 15238 15239 //========================================================================= 15240 // GtkDragResult 15241 //========================================================================= gtk_drag_result_get_type() -> GType15242 pub fn gtk_drag_result_get_type() -> GType; 15243 15244 //========================================================================= 15245 // GtkEntryIconPosition 15246 //========================================================================= gtk_entry_icon_position_get_type() -> GType15247 pub fn gtk_entry_icon_position_get_type() -> GType; 15248 15249 //========================================================================= 15250 // GtkEventSequenceState 15251 //========================================================================= gtk_event_sequence_state_get_type() -> GType15252 pub fn gtk_event_sequence_state_get_type() -> GType; 15253 15254 //========================================================================= 15255 // GtkExpanderStyle 15256 //========================================================================= gtk_expander_style_get_type() -> GType15257 pub fn gtk_expander_style_get_type() -> GType; 15258 15259 //========================================================================= 15260 // GtkFileChooserAction 15261 //========================================================================= gtk_file_chooser_action_get_type() -> GType15262 pub fn gtk_file_chooser_action_get_type() -> GType; 15263 15264 //========================================================================= 15265 // GtkFileChooserConfirmation 15266 //========================================================================= gtk_file_chooser_confirmation_get_type() -> GType15267 pub fn gtk_file_chooser_confirmation_get_type() -> GType; 15268 15269 //========================================================================= 15270 // GtkFileChooserError 15271 //========================================================================= gtk_file_chooser_error_get_type() -> GType15272 pub fn gtk_file_chooser_error_get_type() -> GType; gtk_file_chooser_error_quark() -> glib::GQuark15273 pub fn gtk_file_chooser_error_quark() -> glib::GQuark; 15274 15275 //========================================================================= 15276 // GtkIMPreeditStyle 15277 //========================================================================= gtk_im_preedit_style_get_type() -> GType15278 pub fn gtk_im_preedit_style_get_type() -> GType; 15279 15280 //========================================================================= 15281 // GtkIMStatusStyle 15282 //========================================================================= gtk_im_status_style_get_type() -> GType15283 pub fn gtk_im_status_style_get_type() -> GType; 15284 15285 //========================================================================= 15286 // GtkIconSize 15287 //========================================================================= gtk_icon_size_get_type() -> GType15288 pub fn gtk_icon_size_get_type() -> GType; gtk_icon_size_from_name(name: *const c_char) -> GtkIconSize15289 pub fn gtk_icon_size_from_name(name: *const c_char) -> GtkIconSize; gtk_icon_size_get_name(size: GtkIconSize) -> *const c_char15290 pub fn gtk_icon_size_get_name(size: GtkIconSize) -> *const c_char; gtk_icon_size_lookup( size: GtkIconSize, width: *mut c_int, height: *mut c_int, ) -> gboolean15291 pub fn gtk_icon_size_lookup( 15292 size: GtkIconSize, 15293 width: *mut c_int, 15294 height: *mut c_int, 15295 ) -> gboolean; gtk_icon_size_lookup_for_settings( settings: *mut GtkSettings, size: GtkIconSize, width: *mut c_int, height: *mut c_int, ) -> gboolean15296 pub fn gtk_icon_size_lookup_for_settings( 15297 settings: *mut GtkSettings, 15298 size: GtkIconSize, 15299 width: *mut c_int, 15300 height: *mut c_int, 15301 ) -> gboolean; gtk_icon_size_register(name: *const c_char, width: c_int, height: c_int) -> GtkIconSize15302 pub fn gtk_icon_size_register(name: *const c_char, width: c_int, height: c_int) -> GtkIconSize; gtk_icon_size_register_alias(alias: *const c_char, target: GtkIconSize)15303 pub fn gtk_icon_size_register_alias(alias: *const c_char, target: GtkIconSize); 15304 15305 //========================================================================= 15306 // GtkIconThemeError 15307 //========================================================================= gtk_icon_theme_error_get_type() -> GType15308 pub fn gtk_icon_theme_error_get_type() -> GType; gtk_icon_theme_error_quark() -> glib::GQuark15309 pub fn gtk_icon_theme_error_quark() -> glib::GQuark; 15310 15311 //========================================================================= 15312 // GtkIconViewDropPosition 15313 //========================================================================= gtk_icon_view_drop_position_get_type() -> GType15314 pub fn gtk_icon_view_drop_position_get_type() -> GType; 15315 15316 //========================================================================= 15317 // GtkImageType 15318 //========================================================================= gtk_image_type_get_type() -> GType15319 pub fn gtk_image_type_get_type() -> GType; 15320 15321 //========================================================================= 15322 // GtkInputPurpose 15323 //========================================================================= gtk_input_purpose_get_type() -> GType15324 pub fn gtk_input_purpose_get_type() -> GType; 15325 15326 //========================================================================= 15327 // GtkJustification 15328 //========================================================================= gtk_justification_get_type() -> GType15329 pub fn gtk_justification_get_type() -> GType; 15330 15331 //========================================================================= 15332 // GtkLevelBarMode 15333 //========================================================================= gtk_level_bar_mode_get_type() -> GType15334 pub fn gtk_level_bar_mode_get_type() -> GType; 15335 15336 //========================================================================= 15337 // GtkLicense 15338 //========================================================================= gtk_license_get_type() -> GType15339 pub fn gtk_license_get_type() -> GType; 15340 15341 //========================================================================= 15342 // GtkMenuDirectionType 15343 //========================================================================= gtk_menu_direction_type_get_type() -> GType15344 pub fn gtk_menu_direction_type_get_type() -> GType; 15345 15346 //========================================================================= 15347 // GtkMessageType 15348 //========================================================================= gtk_message_type_get_type() -> GType15349 pub fn gtk_message_type_get_type() -> GType; 15350 15351 //========================================================================= 15352 // GtkMovementStep 15353 //========================================================================= gtk_movement_step_get_type() -> GType15354 pub fn gtk_movement_step_get_type() -> GType; 15355 15356 //========================================================================= 15357 // GtkNotebookTab 15358 //========================================================================= gtk_notebook_tab_get_type() -> GType15359 pub fn gtk_notebook_tab_get_type() -> GType; 15360 15361 //========================================================================= 15362 // GtkNumberUpLayout 15363 //========================================================================= gtk_number_up_layout_get_type() -> GType15364 pub fn gtk_number_up_layout_get_type() -> GType; 15365 15366 //========================================================================= 15367 // GtkOrientation 15368 //========================================================================= gtk_orientation_get_type() -> GType15369 pub fn gtk_orientation_get_type() -> GType; 15370 15371 //========================================================================= 15372 // GtkPackDirection 15373 //========================================================================= gtk_pack_direction_get_type() -> GType15374 pub fn gtk_pack_direction_get_type() -> GType; 15375 15376 //========================================================================= 15377 // GtkPackType 15378 //========================================================================= gtk_pack_type_get_type() -> GType15379 pub fn gtk_pack_type_get_type() -> GType; 15380 15381 //========================================================================= 15382 // GtkPadActionType 15383 //========================================================================= gtk_pad_action_type_get_type() -> GType15384 pub fn gtk_pad_action_type_get_type() -> GType; 15385 15386 //========================================================================= 15387 // GtkPageOrientation 15388 //========================================================================= gtk_page_orientation_get_type() -> GType15389 pub fn gtk_page_orientation_get_type() -> GType; 15390 15391 //========================================================================= 15392 // GtkPageSet 15393 //========================================================================= gtk_page_set_get_type() -> GType15394 pub fn gtk_page_set_get_type() -> GType; 15395 15396 //========================================================================= 15397 // GtkPanDirection 15398 //========================================================================= gtk_pan_direction_get_type() -> GType15399 pub fn gtk_pan_direction_get_type() -> GType; 15400 15401 //========================================================================= 15402 // GtkPathPriorityType 15403 //========================================================================= gtk_path_priority_type_get_type() -> GType15404 pub fn gtk_path_priority_type_get_type() -> GType; 15405 15406 //========================================================================= 15407 // GtkPathType 15408 //========================================================================= gtk_path_type_get_type() -> GType15409 pub fn gtk_path_type_get_type() -> GType; 15410 15411 //========================================================================= 15412 // GtkPolicyType 15413 //========================================================================= gtk_policy_type_get_type() -> GType15414 pub fn gtk_policy_type_get_type() -> GType; 15415 15416 //========================================================================= 15417 // GtkPopoverConstraint 15418 //========================================================================= gtk_popover_constraint_get_type() -> GType15419 pub fn gtk_popover_constraint_get_type() -> GType; 15420 15421 //========================================================================= 15422 // GtkPositionType 15423 //========================================================================= gtk_position_type_get_type() -> GType15424 pub fn gtk_position_type_get_type() -> GType; 15425 15426 //========================================================================= 15427 // GtkPrintDuplex 15428 //========================================================================= gtk_print_duplex_get_type() -> GType15429 pub fn gtk_print_duplex_get_type() -> GType; 15430 15431 //========================================================================= 15432 // GtkPrintError 15433 //========================================================================= gtk_print_error_get_type() -> GType15434 pub fn gtk_print_error_get_type() -> GType; gtk_print_error_quark() -> glib::GQuark15435 pub fn gtk_print_error_quark() -> glib::GQuark; 15436 15437 //========================================================================= 15438 // GtkPrintOperationAction 15439 //========================================================================= gtk_print_operation_action_get_type() -> GType15440 pub fn gtk_print_operation_action_get_type() -> GType; 15441 15442 //========================================================================= 15443 // GtkPrintOperationResult 15444 //========================================================================= gtk_print_operation_result_get_type() -> GType15445 pub fn gtk_print_operation_result_get_type() -> GType; 15446 15447 //========================================================================= 15448 // GtkPrintPages 15449 //========================================================================= gtk_print_pages_get_type() -> GType15450 pub fn gtk_print_pages_get_type() -> GType; 15451 15452 //========================================================================= 15453 // GtkPrintQuality 15454 //========================================================================= gtk_print_quality_get_type() -> GType15455 pub fn gtk_print_quality_get_type() -> GType; 15456 15457 //========================================================================= 15458 // GtkPrintStatus 15459 //========================================================================= gtk_print_status_get_type() -> GType15460 pub fn gtk_print_status_get_type() -> GType; 15461 15462 //========================================================================= 15463 // GtkPropagationPhase 15464 //========================================================================= gtk_propagation_phase_get_type() -> GType15465 pub fn gtk_propagation_phase_get_type() -> GType; 15466 15467 //========================================================================= 15468 // GtkRcTokenType 15469 //========================================================================= gtk_rc_token_type_get_type() -> GType15470 pub fn gtk_rc_token_type_get_type() -> GType; 15471 15472 //========================================================================= 15473 // GtkRecentChooserError 15474 //========================================================================= gtk_recent_chooser_error_get_type() -> GType15475 pub fn gtk_recent_chooser_error_get_type() -> GType; gtk_recent_chooser_error_quark() -> glib::GQuark15476 pub fn gtk_recent_chooser_error_quark() -> glib::GQuark; 15477 15478 //========================================================================= 15479 // GtkRecentManagerError 15480 //========================================================================= gtk_recent_manager_error_get_type() -> GType15481 pub fn gtk_recent_manager_error_get_type() -> GType; gtk_recent_manager_error_quark() -> glib::GQuark15482 pub fn gtk_recent_manager_error_quark() -> glib::GQuark; 15483 15484 //========================================================================= 15485 // GtkRecentSortType 15486 //========================================================================= gtk_recent_sort_type_get_type() -> GType15487 pub fn gtk_recent_sort_type_get_type() -> GType; 15488 15489 //========================================================================= 15490 // GtkReliefStyle 15491 //========================================================================= gtk_relief_style_get_type() -> GType15492 pub fn gtk_relief_style_get_type() -> GType; 15493 15494 //========================================================================= 15495 // GtkResizeMode 15496 //========================================================================= gtk_resize_mode_get_type() -> GType15497 pub fn gtk_resize_mode_get_type() -> GType; 15498 15499 //========================================================================= 15500 // GtkResponseType 15501 //========================================================================= gtk_response_type_get_type() -> GType15502 pub fn gtk_response_type_get_type() -> GType; 15503 15504 //========================================================================= 15505 // GtkRevealerTransitionType 15506 //========================================================================= gtk_revealer_transition_type_get_type() -> GType15507 pub fn gtk_revealer_transition_type_get_type() -> GType; 15508 15509 //========================================================================= 15510 // GtkScrollStep 15511 //========================================================================= gtk_scroll_step_get_type() -> GType15512 pub fn gtk_scroll_step_get_type() -> GType; 15513 15514 //========================================================================= 15515 // GtkScrollType 15516 //========================================================================= gtk_scroll_type_get_type() -> GType15517 pub fn gtk_scroll_type_get_type() -> GType; 15518 15519 //========================================================================= 15520 // GtkScrollablePolicy 15521 //========================================================================= gtk_scrollable_policy_get_type() -> GType15522 pub fn gtk_scrollable_policy_get_type() -> GType; 15523 15524 //========================================================================= 15525 // GtkSelectionMode 15526 //========================================================================= gtk_selection_mode_get_type() -> GType15527 pub fn gtk_selection_mode_get_type() -> GType; 15528 15529 //========================================================================= 15530 // GtkSensitivityType 15531 //========================================================================= gtk_sensitivity_type_get_type() -> GType15532 pub fn gtk_sensitivity_type_get_type() -> GType; 15533 15534 //========================================================================= 15535 // GtkShadowType 15536 //========================================================================= gtk_shadow_type_get_type() -> GType15537 pub fn gtk_shadow_type_get_type() -> GType; 15538 15539 //========================================================================= 15540 // GtkShortcutType 15541 //========================================================================= gtk_shortcut_type_get_type() -> GType15542 pub fn gtk_shortcut_type_get_type() -> GType; 15543 15544 //========================================================================= 15545 // GtkSizeGroupMode 15546 //========================================================================= gtk_size_group_mode_get_type() -> GType15547 pub fn gtk_size_group_mode_get_type() -> GType; 15548 15549 //========================================================================= 15550 // GtkSizeRequestMode 15551 //========================================================================= gtk_size_request_mode_get_type() -> GType15552 pub fn gtk_size_request_mode_get_type() -> GType; 15553 15554 //========================================================================= 15555 // GtkSortType 15556 //========================================================================= gtk_sort_type_get_type() -> GType15557 pub fn gtk_sort_type_get_type() -> GType; 15558 15559 //========================================================================= 15560 // GtkSpinButtonUpdatePolicy 15561 //========================================================================= gtk_spin_button_update_policy_get_type() -> GType15562 pub fn gtk_spin_button_update_policy_get_type() -> GType; 15563 15564 //========================================================================= 15565 // GtkSpinType 15566 //========================================================================= gtk_spin_type_get_type() -> GType15567 pub fn gtk_spin_type_get_type() -> GType; 15568 15569 //========================================================================= 15570 // GtkStackTransitionType 15571 //========================================================================= gtk_stack_transition_type_get_type() -> GType15572 pub fn gtk_stack_transition_type_get_type() -> GType; 15573 15574 //========================================================================= 15575 // GtkStateType 15576 //========================================================================= gtk_state_type_get_type() -> GType15577 pub fn gtk_state_type_get_type() -> GType; 15578 15579 //========================================================================= 15580 // GtkTextBufferTargetInfo 15581 //========================================================================= gtk_text_buffer_target_info_get_type() -> GType15582 pub fn gtk_text_buffer_target_info_get_type() -> GType; 15583 15584 //========================================================================= 15585 // GtkTextDirection 15586 //========================================================================= gtk_text_direction_get_type() -> GType15587 pub fn gtk_text_direction_get_type() -> GType; 15588 15589 //========================================================================= 15590 // GtkTextExtendSelection 15591 //========================================================================= gtk_text_extend_selection_get_type() -> GType15592 pub fn gtk_text_extend_selection_get_type() -> GType; 15593 15594 //========================================================================= 15595 // GtkTextViewLayer 15596 //========================================================================= gtk_text_view_layer_get_type() -> GType15597 pub fn gtk_text_view_layer_get_type() -> GType; 15598 15599 //========================================================================= 15600 // GtkTextWindowType 15601 //========================================================================= gtk_text_window_type_get_type() -> GType15602 pub fn gtk_text_window_type_get_type() -> GType; 15603 15604 //========================================================================= 15605 // GtkToolbarSpaceStyle 15606 //========================================================================= gtk_toolbar_space_style_get_type() -> GType15607 pub fn gtk_toolbar_space_style_get_type() -> GType; 15608 15609 //========================================================================= 15610 // GtkToolbarStyle 15611 //========================================================================= gtk_toolbar_style_get_type() -> GType15612 pub fn gtk_toolbar_style_get_type() -> GType; 15613 15614 //========================================================================= 15615 // GtkTreeViewColumnSizing 15616 //========================================================================= gtk_tree_view_column_sizing_get_type() -> GType15617 pub fn gtk_tree_view_column_sizing_get_type() -> GType; 15618 15619 //========================================================================= 15620 // GtkTreeViewDropPosition 15621 //========================================================================= gtk_tree_view_drop_position_get_type() -> GType15622 pub fn gtk_tree_view_drop_position_get_type() -> GType; 15623 15624 //========================================================================= 15625 // GtkTreeViewGridLines 15626 //========================================================================= gtk_tree_view_grid_lines_get_type() -> GType15627 pub fn gtk_tree_view_grid_lines_get_type() -> GType; 15628 15629 //========================================================================= 15630 // GtkUnit 15631 //========================================================================= gtk_unit_get_type() -> GType15632 pub fn gtk_unit_get_type() -> GType; 15633 15634 //========================================================================= 15635 // GtkWidgetHelpType 15636 //========================================================================= gtk_widget_help_type_get_type() -> GType15637 pub fn gtk_widget_help_type_get_type() -> GType; 15638 15639 //========================================================================= 15640 // GtkWindowPosition 15641 //========================================================================= gtk_window_position_get_type() -> GType15642 pub fn gtk_window_position_get_type() -> GType; 15643 15644 //========================================================================= 15645 // GtkWindowType 15646 //========================================================================= gtk_window_type_get_type() -> GType15647 pub fn gtk_window_type_get_type() -> GType; 15648 15649 //========================================================================= 15650 // GtkWrapMode 15651 //========================================================================= gtk_wrap_mode_get_type() -> GType15652 pub fn gtk_wrap_mode_get_type() -> GType; 15653 15654 //========================================================================= 15655 // GtkAccelFlags 15656 //========================================================================= gtk_accel_flags_get_type() -> GType15657 pub fn gtk_accel_flags_get_type() -> GType; 15658 15659 //========================================================================= 15660 // GtkApplicationInhibitFlags 15661 //========================================================================= gtk_application_inhibit_flags_get_type() -> GType15662 pub fn gtk_application_inhibit_flags_get_type() -> GType; 15663 15664 //========================================================================= 15665 // GtkAttachOptions 15666 //========================================================================= gtk_attach_options_get_type() -> GType15667 pub fn gtk_attach_options_get_type() -> GType; 15668 15669 //========================================================================= 15670 // GtkCalendarDisplayOptions 15671 //========================================================================= gtk_calendar_display_options_get_type() -> GType15672 pub fn gtk_calendar_display_options_get_type() -> GType; 15673 15674 //========================================================================= 15675 // GtkCellRendererState 15676 //========================================================================= gtk_cell_renderer_state_get_type() -> GType15677 pub fn gtk_cell_renderer_state_get_type() -> GType; 15678 15679 //========================================================================= 15680 // GtkDebugFlag 15681 //========================================================================= gtk_debug_flag_get_type() -> GType15682 pub fn gtk_debug_flag_get_type() -> GType; 15683 15684 //========================================================================= 15685 // GtkDestDefaults 15686 //========================================================================= gtk_dest_defaults_get_type() -> GType15687 pub fn gtk_dest_defaults_get_type() -> GType; 15688 15689 //========================================================================= 15690 // GtkDialogFlags 15691 //========================================================================= gtk_dialog_flags_get_type() -> GType15692 pub fn gtk_dialog_flags_get_type() -> GType; 15693 15694 //========================================================================= 15695 // GtkEventControllerScrollFlags 15696 //========================================================================= gtk_event_controller_scroll_flags_get_type() -> GType15697 pub fn gtk_event_controller_scroll_flags_get_type() -> GType; 15698 15699 //========================================================================= 15700 // GtkFileFilterFlags 15701 //========================================================================= gtk_file_filter_flags_get_type() -> GType15702 pub fn gtk_file_filter_flags_get_type() -> GType; 15703 15704 //========================================================================= 15705 // GtkFontChooserLevel 15706 //========================================================================= gtk_font_chooser_level_get_type() -> GType15707 pub fn gtk_font_chooser_level_get_type() -> GType; 15708 15709 //========================================================================= 15710 // GtkIconLookupFlags 15711 //========================================================================= gtk_icon_lookup_flags_get_type() -> GType15712 pub fn gtk_icon_lookup_flags_get_type() -> GType; 15713 15714 //========================================================================= 15715 // GtkInputHints 15716 //========================================================================= gtk_input_hints_get_type() -> GType15717 pub fn gtk_input_hints_get_type() -> GType; 15718 15719 //========================================================================= 15720 // GtkJunctionSides 15721 //========================================================================= gtk_junction_sides_get_type() -> GType15722 pub fn gtk_junction_sides_get_type() -> GType; 15723 15724 //========================================================================= 15725 // GtkPlacesOpenFlags 15726 //========================================================================= gtk_places_open_flags_get_type() -> GType15727 pub fn gtk_places_open_flags_get_type() -> GType; 15728 15729 //========================================================================= 15730 // GtkRcFlags 15731 //========================================================================= gtk_rc_flags_get_type() -> GType15732 pub fn gtk_rc_flags_get_type() -> GType; 15733 15734 //========================================================================= 15735 // GtkRecentFilterFlags 15736 //========================================================================= gtk_recent_filter_flags_get_type() -> GType15737 pub fn gtk_recent_filter_flags_get_type() -> GType; 15738 15739 //========================================================================= 15740 // GtkRegionFlags 15741 //========================================================================= gtk_region_flags_get_type() -> GType15742 pub fn gtk_region_flags_get_type() -> GType; 15743 15744 //========================================================================= 15745 // GtkStateFlags 15746 //========================================================================= gtk_state_flags_get_type() -> GType15747 pub fn gtk_state_flags_get_type() -> GType; 15748 15749 //========================================================================= 15750 // GtkStyleContextPrintFlags 15751 //========================================================================= gtk_style_context_print_flags_get_type() -> GType15752 pub fn gtk_style_context_print_flags_get_type() -> GType; 15753 15754 //========================================================================= 15755 // GtkTargetFlags 15756 //========================================================================= gtk_target_flags_get_type() -> GType15757 pub fn gtk_target_flags_get_type() -> GType; 15758 15759 //========================================================================= 15760 // GtkTextSearchFlags 15761 //========================================================================= gtk_text_search_flags_get_type() -> GType15762 pub fn gtk_text_search_flags_get_type() -> GType; 15763 15764 //========================================================================= 15765 // GtkToolPaletteDragTargets 15766 //========================================================================= gtk_tool_palette_drag_targets_get_type() -> GType15767 pub fn gtk_tool_palette_drag_targets_get_type() -> GType; 15768 15769 //========================================================================= 15770 // GtkTreeModelFlags 15771 //========================================================================= gtk_tree_model_flags_get_type() -> GType15772 pub fn gtk_tree_model_flags_get_type() -> GType; 15773 15774 //========================================================================= 15775 // GtkUIManagerItemType 15776 //========================================================================= gtk_ui_manager_item_type_get_type() -> GType15777 pub fn gtk_ui_manager_item_type_get_type() -> GType; 15778 15779 //========================================================================= 15780 // GtkBindingEntry 15781 //========================================================================= gtk_binding_entry_add_signal( binding_set: *mut GtkBindingSet, keyval: c_uint, modifiers: gdk::GdkModifierType, signal_name: *const c_char, n_args: c_uint, ... )15782 pub fn gtk_binding_entry_add_signal( 15783 binding_set: *mut GtkBindingSet, 15784 keyval: c_uint, 15785 modifiers: gdk::GdkModifierType, 15786 signal_name: *const c_char, 15787 n_args: c_uint, 15788 ... 15789 ); gtk_binding_entry_add_signal_from_string( binding_set: *mut GtkBindingSet, signal_desc: *const c_char, ) -> glib::GTokenType15790 pub fn gtk_binding_entry_add_signal_from_string( 15791 binding_set: *mut GtkBindingSet, 15792 signal_desc: *const c_char, 15793 ) -> glib::GTokenType; gtk_binding_entry_add_signall( binding_set: *mut GtkBindingSet, keyval: c_uint, modifiers: gdk::GdkModifierType, signal_name: *const c_char, binding_args: *mut glib::GSList, )15794 pub fn gtk_binding_entry_add_signall( 15795 binding_set: *mut GtkBindingSet, 15796 keyval: c_uint, 15797 modifiers: gdk::GdkModifierType, 15798 signal_name: *const c_char, 15799 binding_args: *mut glib::GSList, 15800 ); gtk_binding_entry_remove( binding_set: *mut GtkBindingSet, keyval: c_uint, modifiers: gdk::GdkModifierType, )15801 pub fn gtk_binding_entry_remove( 15802 binding_set: *mut GtkBindingSet, 15803 keyval: c_uint, 15804 modifiers: gdk::GdkModifierType, 15805 ); gtk_binding_entry_skip( binding_set: *mut GtkBindingSet, keyval: c_uint, modifiers: gdk::GdkModifierType, )15806 pub fn gtk_binding_entry_skip( 15807 binding_set: *mut GtkBindingSet, 15808 keyval: c_uint, 15809 modifiers: gdk::GdkModifierType, 15810 ); 15811 15812 //========================================================================= 15813 // GtkBindingSet 15814 //========================================================================= gtk_binding_set_activate( binding_set: *mut GtkBindingSet, keyval: c_uint, modifiers: gdk::GdkModifierType, object: *mut gobject::GObject, ) -> gboolean15815 pub fn gtk_binding_set_activate( 15816 binding_set: *mut GtkBindingSet, 15817 keyval: c_uint, 15818 modifiers: gdk::GdkModifierType, 15819 object: *mut gobject::GObject, 15820 ) -> gboolean; gtk_binding_set_add_path( binding_set: *mut GtkBindingSet, path_type: GtkPathType, path_pattern: *const c_char, priority: GtkPathPriorityType, )15821 pub fn gtk_binding_set_add_path( 15822 binding_set: *mut GtkBindingSet, 15823 path_type: GtkPathType, 15824 path_pattern: *const c_char, 15825 priority: GtkPathPriorityType, 15826 ); gtk_binding_set_by_class(object_class: gpointer) -> *mut GtkBindingSet15827 pub fn gtk_binding_set_by_class(object_class: gpointer) -> *mut GtkBindingSet; gtk_binding_set_find(set_name: *const c_char) -> *mut GtkBindingSet15828 pub fn gtk_binding_set_find(set_name: *const c_char) -> *mut GtkBindingSet; gtk_binding_set_new(set_name: *const c_char) -> *mut GtkBindingSet15829 pub fn gtk_binding_set_new(set_name: *const c_char) -> *mut GtkBindingSet; 15830 15831 //========================================================================= 15832 // GtkBorder 15833 //========================================================================= gtk_border_get_type() -> GType15834 pub fn gtk_border_get_type() -> GType; gtk_border_new() -> *mut GtkBorder15835 pub fn gtk_border_new() -> *mut GtkBorder; gtk_border_copy(border_: *const GtkBorder) -> *mut GtkBorder15836 pub fn gtk_border_copy(border_: *const GtkBorder) -> *mut GtkBorder; gtk_border_free(border_: *mut GtkBorder)15837 pub fn gtk_border_free(border_: *mut GtkBorder); 15838 15839 //========================================================================= 15840 // GtkCellAreaClass 15841 //========================================================================= gtk_cell_area_class_find_cell_property( aclass: *mut GtkCellAreaClass, property_name: *const c_char, ) -> *mut gobject::GParamSpec15842 pub fn gtk_cell_area_class_find_cell_property( 15843 aclass: *mut GtkCellAreaClass, 15844 property_name: *const c_char, 15845 ) -> *mut gobject::GParamSpec; gtk_cell_area_class_install_cell_property( aclass: *mut GtkCellAreaClass, property_id: c_uint, pspec: *mut gobject::GParamSpec, )15846 pub fn gtk_cell_area_class_install_cell_property( 15847 aclass: *mut GtkCellAreaClass, 15848 property_id: c_uint, 15849 pspec: *mut gobject::GParamSpec, 15850 ); gtk_cell_area_class_list_cell_properties( aclass: *mut GtkCellAreaClass, n_properties: *mut c_uint, ) -> *mut *mut gobject::GParamSpec15851 pub fn gtk_cell_area_class_list_cell_properties( 15852 aclass: *mut GtkCellAreaClass, 15853 n_properties: *mut c_uint, 15854 ) -> *mut *mut gobject::GParamSpec; 15855 15856 //========================================================================= 15857 // GtkCellRendererClass 15858 //========================================================================= gtk_cell_renderer_class_set_accessible_type( renderer_class: *mut GtkCellRendererClass, type_: GType, )15859 pub fn gtk_cell_renderer_class_set_accessible_type( 15860 renderer_class: *mut GtkCellRendererClass, 15861 type_: GType, 15862 ); 15863 15864 //========================================================================= 15865 // GtkContainerClass 15866 //========================================================================= 15867 //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; gtk_container_class_handle_border_width(klass: *mut GtkContainerClass)15868 pub fn gtk_container_class_handle_border_width(klass: *mut GtkContainerClass); 15869 #[cfg(any(feature = "v3_18", feature = "dox"))] gtk_container_class_install_child_properties( cclass: *mut GtkContainerClass, n_pspecs: c_uint, pspecs: *mut *mut gobject::GParamSpec, )15870 pub fn gtk_container_class_install_child_properties( 15871 cclass: *mut GtkContainerClass, 15872 n_pspecs: c_uint, 15873 pspecs: *mut *mut gobject::GParamSpec, 15874 ); gtk_container_class_install_child_property( cclass: *mut GtkContainerClass, property_id: c_uint, pspec: *mut gobject::GParamSpec, )15875 pub fn gtk_container_class_install_child_property( 15876 cclass: *mut GtkContainerClass, 15877 property_id: c_uint, 15878 pspec: *mut gobject::GParamSpec, 15879 ); 15880 //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; 15881 15882 //========================================================================= 15883 // GtkCssSection 15884 //========================================================================= gtk_css_section_get_type() -> GType15885 pub fn gtk_css_section_get_type() -> GType; gtk_css_section_get_end_line(section: *const GtkCssSection) -> c_uint15886 pub fn gtk_css_section_get_end_line(section: *const GtkCssSection) -> c_uint; gtk_css_section_get_end_position(section: *const GtkCssSection) -> c_uint15887 pub fn gtk_css_section_get_end_position(section: *const GtkCssSection) -> c_uint; gtk_css_section_get_file(section: *const GtkCssSection) -> *mut gio::GFile15888 pub fn gtk_css_section_get_file(section: *const GtkCssSection) -> *mut gio::GFile; gtk_css_section_get_parent(section: *const GtkCssSection) -> *mut GtkCssSection15889 pub fn gtk_css_section_get_parent(section: *const GtkCssSection) -> *mut GtkCssSection; gtk_css_section_get_section_type(section: *const GtkCssSection) -> GtkCssSectionType15890 pub fn gtk_css_section_get_section_type(section: *const GtkCssSection) -> GtkCssSectionType; gtk_css_section_get_start_line(section: *const GtkCssSection) -> c_uint15891 pub fn gtk_css_section_get_start_line(section: *const GtkCssSection) -> c_uint; gtk_css_section_get_start_position(section: *const GtkCssSection) -> c_uint15892 pub fn gtk_css_section_get_start_position(section: *const GtkCssSection) -> c_uint; gtk_css_section_ref(section: *mut GtkCssSection) -> *mut GtkCssSection15893 pub fn gtk_css_section_ref(section: *mut GtkCssSection) -> *mut GtkCssSection; gtk_css_section_unref(section: *mut GtkCssSection)15894 pub fn gtk_css_section_unref(section: *mut GtkCssSection); 15895 15896 //========================================================================= 15897 // GtkGradient 15898 //========================================================================= gtk_gradient_get_type() -> GType15899 pub fn gtk_gradient_get_type() -> GType; gtk_gradient_new_linear( x0: c_double, y0: c_double, x1: c_double, y1: c_double, ) -> *mut GtkGradient15900 pub fn gtk_gradient_new_linear( 15901 x0: c_double, 15902 y0: c_double, 15903 x1: c_double, 15904 y1: c_double, 15905 ) -> *mut GtkGradient; gtk_gradient_new_radial( x0: c_double, y0: c_double, radius0: c_double, x1: c_double, y1: c_double, radius1: c_double, ) -> *mut GtkGradient15906 pub fn gtk_gradient_new_radial( 15907 x0: c_double, 15908 y0: c_double, 15909 radius0: c_double, 15910 x1: c_double, 15911 y1: c_double, 15912 radius1: c_double, 15913 ) -> *mut GtkGradient; gtk_gradient_add_color_stop( gradient: *mut GtkGradient, offset: c_double, color: *mut GtkSymbolicColor, )15914 pub fn gtk_gradient_add_color_stop( 15915 gradient: *mut GtkGradient, 15916 offset: c_double, 15917 color: *mut GtkSymbolicColor, 15918 ); gtk_gradient_ref(gradient: *mut GtkGradient) -> *mut GtkGradient15919 pub fn gtk_gradient_ref(gradient: *mut GtkGradient) -> *mut GtkGradient; gtk_gradient_resolve( gradient: *mut GtkGradient, props: *mut GtkStyleProperties, resolved_gradient: *mut *mut cairo::cairo_pattern_t, ) -> gboolean15920 pub fn gtk_gradient_resolve( 15921 gradient: *mut GtkGradient, 15922 props: *mut GtkStyleProperties, 15923 resolved_gradient: *mut *mut cairo::cairo_pattern_t, 15924 ) -> gboolean; gtk_gradient_resolve_for_context( gradient: *mut GtkGradient, context: *mut GtkStyleContext, ) -> *mut cairo::cairo_pattern_t15925 pub fn gtk_gradient_resolve_for_context( 15926 gradient: *mut GtkGradient, 15927 context: *mut GtkStyleContext, 15928 ) -> *mut cairo::cairo_pattern_t; gtk_gradient_to_string(gradient: *mut GtkGradient) -> *mut c_char15929 pub fn gtk_gradient_to_string(gradient: *mut GtkGradient) -> *mut c_char; gtk_gradient_unref(gradient: *mut GtkGradient)15930 pub fn gtk_gradient_unref(gradient: *mut GtkGradient); 15931 15932 //========================================================================= 15933 // GtkIconSet 15934 //========================================================================= gtk_icon_set_get_type() -> GType15935 pub fn gtk_icon_set_get_type() -> GType; gtk_icon_set_new() -> *mut GtkIconSet15936 pub fn gtk_icon_set_new() -> *mut GtkIconSet; gtk_icon_set_new_from_pixbuf(pixbuf: *mut gdk_pixbuf::GdkPixbuf) -> *mut GtkIconSet15937 pub fn gtk_icon_set_new_from_pixbuf(pixbuf: *mut gdk_pixbuf::GdkPixbuf) -> *mut GtkIconSet; gtk_icon_set_add_source(icon_set: *mut GtkIconSet, source: *const GtkIconSource)15938 pub fn gtk_icon_set_add_source(icon_set: *mut GtkIconSet, source: *const GtkIconSource); gtk_icon_set_copy(icon_set: *mut GtkIconSet) -> *mut GtkIconSet15939 pub fn gtk_icon_set_copy(icon_set: *mut GtkIconSet) -> *mut GtkIconSet; gtk_icon_set_get_sizes( icon_set: *mut GtkIconSet, sizes: *mut *mut GtkIconSize, n_sizes: *mut c_int, )15940 pub fn gtk_icon_set_get_sizes( 15941 icon_set: *mut GtkIconSet, 15942 sizes: *mut *mut GtkIconSize, 15943 n_sizes: *mut c_int, 15944 ); gtk_icon_set_ref(icon_set: *mut GtkIconSet) -> *mut GtkIconSet15945 pub fn gtk_icon_set_ref(icon_set: *mut GtkIconSet) -> *mut GtkIconSet; gtk_icon_set_render_icon( icon_set: *mut GtkIconSet, style: *mut GtkStyle, direction: GtkTextDirection, state: GtkStateType, size: GtkIconSize, widget: *mut GtkWidget, detail: *const c_char, ) -> *mut gdk_pixbuf::GdkPixbuf15946 pub fn gtk_icon_set_render_icon( 15947 icon_set: *mut GtkIconSet, 15948 style: *mut GtkStyle, 15949 direction: GtkTextDirection, 15950 state: GtkStateType, 15951 size: GtkIconSize, 15952 widget: *mut GtkWidget, 15953 detail: *const c_char, 15954 ) -> *mut gdk_pixbuf::GdkPixbuf; gtk_icon_set_render_icon_pixbuf( icon_set: *mut GtkIconSet, context: *mut GtkStyleContext, size: GtkIconSize, ) -> *mut gdk_pixbuf::GdkPixbuf15955 pub fn gtk_icon_set_render_icon_pixbuf( 15956 icon_set: *mut GtkIconSet, 15957 context: *mut GtkStyleContext, 15958 size: GtkIconSize, 15959 ) -> *mut gdk_pixbuf::GdkPixbuf; gtk_icon_set_render_icon_surface( icon_set: *mut GtkIconSet, context: *mut GtkStyleContext, size: GtkIconSize, scale: c_int, for_window: *mut gdk::GdkWindow, ) -> *mut cairo::cairo_surface_t15960 pub fn gtk_icon_set_render_icon_surface( 15961 icon_set: *mut GtkIconSet, 15962 context: *mut GtkStyleContext, 15963 size: GtkIconSize, 15964 scale: c_int, 15965 for_window: *mut gdk::GdkWindow, 15966 ) -> *mut cairo::cairo_surface_t; gtk_icon_set_unref(icon_set: *mut GtkIconSet)15967 pub fn gtk_icon_set_unref(icon_set: *mut GtkIconSet); 15968 15969 //========================================================================= 15970 // GtkIconSource 15971 //========================================================================= gtk_icon_source_get_type() -> GType15972 pub fn gtk_icon_source_get_type() -> GType; gtk_icon_source_new() -> *mut GtkIconSource15973 pub fn gtk_icon_source_new() -> *mut GtkIconSource; gtk_icon_source_copy(source: *const GtkIconSource) -> *mut GtkIconSource15974 pub fn gtk_icon_source_copy(source: *const GtkIconSource) -> *mut GtkIconSource; gtk_icon_source_free(source: *mut GtkIconSource)15975 pub fn gtk_icon_source_free(source: *mut GtkIconSource); gtk_icon_source_get_direction(source: *const GtkIconSource) -> GtkTextDirection15976 pub fn gtk_icon_source_get_direction(source: *const GtkIconSource) -> GtkTextDirection; gtk_icon_source_get_direction_wildcarded(source: *const GtkIconSource) -> gboolean15977 pub fn gtk_icon_source_get_direction_wildcarded(source: *const GtkIconSource) -> gboolean; gtk_icon_source_get_filename(source: *const GtkIconSource) -> *const c_char15978 pub fn gtk_icon_source_get_filename(source: *const GtkIconSource) -> *const c_char; gtk_icon_source_get_icon_name(source: *const GtkIconSource) -> *const c_char15979 pub fn gtk_icon_source_get_icon_name(source: *const GtkIconSource) -> *const c_char; gtk_icon_source_get_pixbuf(source: *const GtkIconSource) -> *mut gdk_pixbuf::GdkPixbuf15980 pub fn gtk_icon_source_get_pixbuf(source: *const GtkIconSource) -> *mut gdk_pixbuf::GdkPixbuf; gtk_icon_source_get_size(source: *const GtkIconSource) -> GtkIconSize15981 pub fn gtk_icon_source_get_size(source: *const GtkIconSource) -> GtkIconSize; gtk_icon_source_get_size_wildcarded(source: *const GtkIconSource) -> gboolean15982 pub fn gtk_icon_source_get_size_wildcarded(source: *const GtkIconSource) -> gboolean; gtk_icon_source_get_state(source: *const GtkIconSource) -> GtkStateType15983 pub fn gtk_icon_source_get_state(source: *const GtkIconSource) -> GtkStateType; gtk_icon_source_get_state_wildcarded(source: *const GtkIconSource) -> gboolean15984 pub fn gtk_icon_source_get_state_wildcarded(source: *const GtkIconSource) -> gboolean; gtk_icon_source_set_direction(source: *mut GtkIconSource, direction: GtkTextDirection)15985 pub fn gtk_icon_source_set_direction(source: *mut GtkIconSource, direction: GtkTextDirection); gtk_icon_source_set_direction_wildcarded(source: *mut GtkIconSource, setting: gboolean)15986 pub fn gtk_icon_source_set_direction_wildcarded(source: *mut GtkIconSource, setting: gboolean); gtk_icon_source_set_filename(source: *mut GtkIconSource, filename: *const c_char)15987 pub fn gtk_icon_source_set_filename(source: *mut GtkIconSource, filename: *const c_char); gtk_icon_source_set_icon_name(source: *mut GtkIconSource, icon_name: *const c_char)15988 pub fn gtk_icon_source_set_icon_name(source: *mut GtkIconSource, icon_name: *const c_char); gtk_icon_source_set_pixbuf( source: *mut GtkIconSource, pixbuf: *mut gdk_pixbuf::GdkPixbuf, )15989 pub fn gtk_icon_source_set_pixbuf( 15990 source: *mut GtkIconSource, 15991 pixbuf: *mut gdk_pixbuf::GdkPixbuf, 15992 ); gtk_icon_source_set_size(source: *mut GtkIconSource, size: GtkIconSize)15993 pub fn gtk_icon_source_set_size(source: *mut GtkIconSource, size: GtkIconSize); gtk_icon_source_set_size_wildcarded(source: *mut GtkIconSource, setting: gboolean)15994 pub fn gtk_icon_source_set_size_wildcarded(source: *mut GtkIconSource, setting: gboolean); gtk_icon_source_set_state(source: *mut GtkIconSource, state: GtkStateType)15995 pub fn gtk_icon_source_set_state(source: *mut GtkIconSource, state: GtkStateType); gtk_icon_source_set_state_wildcarded(source: *mut GtkIconSource, setting: gboolean)15996 pub fn gtk_icon_source_set_state_wildcarded(source: *mut GtkIconSource, setting: gboolean); 15997 15998 //========================================================================= 15999 // GtkPaperSize 16000 //========================================================================= gtk_paper_size_get_type() -> GType16001 pub fn gtk_paper_size_get_type() -> GType; gtk_paper_size_new(name: *const c_char) -> *mut GtkPaperSize16002 pub fn gtk_paper_size_new(name: *const c_char) -> *mut GtkPaperSize; gtk_paper_size_new_custom( name: *const c_char, display_name: *const c_char, width: c_double, height: c_double, unit: GtkUnit, ) -> *mut GtkPaperSize16003 pub fn gtk_paper_size_new_custom( 16004 name: *const c_char, 16005 display_name: *const c_char, 16006 width: c_double, 16007 height: c_double, 16008 unit: GtkUnit, 16009 ) -> *mut GtkPaperSize; 16010 #[cfg(any(feature = "v3_22", feature = "dox"))] gtk_paper_size_new_from_gvariant(variant: *mut glib::GVariant) -> *mut GtkPaperSize16011 pub fn gtk_paper_size_new_from_gvariant(variant: *mut glib::GVariant) -> *mut GtkPaperSize; 16012 #[cfg(any(feature = "v3_16", feature = "dox"))] gtk_paper_size_new_from_ipp( ipp_name: *const c_char, width: c_double, height: c_double, ) -> *mut GtkPaperSize16013 pub fn gtk_paper_size_new_from_ipp( 16014 ipp_name: *const c_char, 16015 width: c_double, 16016 height: c_double, 16017 ) -> *mut GtkPaperSize; gtk_paper_size_new_from_key_file( key_file: *mut glib::GKeyFile, group_name: *const c_char, error: *mut *mut glib::GError, ) -> *mut GtkPaperSize16018 pub fn gtk_paper_size_new_from_key_file( 16019 key_file: *mut glib::GKeyFile, 16020 group_name: *const c_char, 16021 error: *mut *mut glib::GError, 16022 ) -> *mut GtkPaperSize; gtk_paper_size_new_from_ppd( ppd_name: *const c_char, ppd_display_name: *const c_char, width: c_double, height: c_double, ) -> *mut GtkPaperSize16023 pub fn gtk_paper_size_new_from_ppd( 16024 ppd_name: *const c_char, 16025 ppd_display_name: *const c_char, 16026 width: c_double, 16027 height: c_double, 16028 ) -> *mut GtkPaperSize; gtk_paper_size_copy(other: *mut GtkPaperSize) -> *mut GtkPaperSize16029 pub fn gtk_paper_size_copy(other: *mut GtkPaperSize) -> *mut GtkPaperSize; gtk_paper_size_free(size: *mut GtkPaperSize)16030 pub fn gtk_paper_size_free(size: *mut GtkPaperSize); gtk_paper_size_get_default_bottom_margin( size: *mut GtkPaperSize, unit: GtkUnit, ) -> c_double16031 pub fn gtk_paper_size_get_default_bottom_margin( 16032 size: *mut GtkPaperSize, 16033 unit: GtkUnit, 16034 ) -> c_double; gtk_paper_size_get_default_left_margin( size: *mut GtkPaperSize, unit: GtkUnit, ) -> c_double16035 pub fn gtk_paper_size_get_default_left_margin( 16036 size: *mut GtkPaperSize, 16037 unit: GtkUnit, 16038 ) -> c_double; gtk_paper_size_get_default_right_margin( size: *mut GtkPaperSize, unit: GtkUnit, ) -> c_double16039 pub fn gtk_paper_size_get_default_right_margin( 16040 size: *mut GtkPaperSize, 16041 unit: GtkUnit, 16042 ) -> c_double; gtk_paper_size_get_default_top_margin( size: *mut GtkPaperSize, unit: GtkUnit, ) -> c_double16043 pub fn gtk_paper_size_get_default_top_margin( 16044 size: *mut GtkPaperSize, 16045 unit: GtkUnit, 16046 ) -> c_double; gtk_paper_size_get_display_name(size: *mut GtkPaperSize) -> *const c_char16047 pub fn gtk_paper_size_get_display_name(size: *mut GtkPaperSize) -> *const c_char; gtk_paper_size_get_height(size: *mut GtkPaperSize, unit: GtkUnit) -> c_double16048 pub fn gtk_paper_size_get_height(size: *mut GtkPaperSize, unit: GtkUnit) -> c_double; gtk_paper_size_get_name(size: *mut GtkPaperSize) -> *const c_char16049 pub fn gtk_paper_size_get_name(size: *mut GtkPaperSize) -> *const c_char; gtk_paper_size_get_ppd_name(size: *mut GtkPaperSize) -> *const c_char16050 pub fn gtk_paper_size_get_ppd_name(size: *mut GtkPaperSize) -> *const c_char; gtk_paper_size_get_width(size: *mut GtkPaperSize, unit: GtkUnit) -> c_double16051 pub fn gtk_paper_size_get_width(size: *mut GtkPaperSize, unit: GtkUnit) -> c_double; gtk_paper_size_is_custom(size: *mut GtkPaperSize) -> gboolean16052 pub fn gtk_paper_size_is_custom(size: *mut GtkPaperSize) -> gboolean; gtk_paper_size_is_equal(size1: *mut GtkPaperSize, size2: *mut GtkPaperSize) -> gboolean16053 pub fn gtk_paper_size_is_equal(size1: *mut GtkPaperSize, size2: *mut GtkPaperSize) -> gboolean; gtk_paper_size_is_ipp(size: *mut GtkPaperSize) -> gboolean16054 pub fn gtk_paper_size_is_ipp(size: *mut GtkPaperSize) -> gboolean; gtk_paper_size_set_size( size: *mut GtkPaperSize, width: c_double, height: c_double, unit: GtkUnit, )16055 pub fn gtk_paper_size_set_size( 16056 size: *mut GtkPaperSize, 16057 width: c_double, 16058 height: c_double, 16059 unit: GtkUnit, 16060 ); 16061 #[cfg(any(feature = "v3_22", feature = "dox"))] gtk_paper_size_to_gvariant(paper_size: *mut GtkPaperSize) -> *mut glib::GVariant16062 pub fn gtk_paper_size_to_gvariant(paper_size: *mut GtkPaperSize) -> *mut glib::GVariant; gtk_paper_size_to_key_file( size: *mut GtkPaperSize, key_file: *mut glib::GKeyFile, group_name: *const c_char, )16063 pub fn gtk_paper_size_to_key_file( 16064 size: *mut GtkPaperSize, 16065 key_file: *mut glib::GKeyFile, 16066 group_name: *const c_char, 16067 ); gtk_paper_size_get_default() -> *const c_char16068 pub fn gtk_paper_size_get_default() -> *const c_char; gtk_paper_size_get_paper_sizes(include_custom: gboolean) -> *mut glib::GList16069 pub fn gtk_paper_size_get_paper_sizes(include_custom: gboolean) -> *mut glib::GList; 16070 16071 //========================================================================= 16072 // GtkRcProperty 16073 //========================================================================= gtk_rc_property_parse_border( pspec: *const gobject::GParamSpec, gstring: *const glib::GString, property_value: *mut gobject::GValue, ) -> gboolean16074 pub fn gtk_rc_property_parse_border( 16075 pspec: *const gobject::GParamSpec, 16076 gstring: *const glib::GString, 16077 property_value: *mut gobject::GValue, 16078 ) -> gboolean; gtk_rc_property_parse_color( pspec: *const gobject::GParamSpec, gstring: *const glib::GString, property_value: *mut gobject::GValue, ) -> gboolean16079 pub fn gtk_rc_property_parse_color( 16080 pspec: *const gobject::GParamSpec, 16081 gstring: *const glib::GString, 16082 property_value: *mut gobject::GValue, 16083 ) -> gboolean; gtk_rc_property_parse_enum( pspec: *const gobject::GParamSpec, gstring: *const glib::GString, property_value: *mut gobject::GValue, ) -> gboolean16084 pub fn gtk_rc_property_parse_enum( 16085 pspec: *const gobject::GParamSpec, 16086 gstring: *const glib::GString, 16087 property_value: *mut gobject::GValue, 16088 ) -> gboolean; gtk_rc_property_parse_flags( pspec: *const gobject::GParamSpec, gstring: *const glib::GString, property_value: *mut gobject::GValue, ) -> gboolean16089 pub fn gtk_rc_property_parse_flags( 16090 pspec: *const gobject::GParamSpec, 16091 gstring: *const glib::GString, 16092 property_value: *mut gobject::GValue, 16093 ) -> gboolean; gtk_rc_property_parse_requisition( pspec: *const gobject::GParamSpec, gstring: *const glib::GString, property_value: *mut gobject::GValue, ) -> gboolean16094 pub fn gtk_rc_property_parse_requisition( 16095 pspec: *const gobject::GParamSpec, 16096 gstring: *const glib::GString, 16097 property_value: *mut gobject::GValue, 16098 ) -> gboolean; 16099 16100 //========================================================================= 16101 // GtkRecentInfo 16102 //========================================================================= gtk_recent_info_get_type() -> GType16103 pub fn gtk_recent_info_get_type() -> GType; gtk_recent_info_create_app_info( info: *mut GtkRecentInfo, app_name: *const c_char, error: *mut *mut glib::GError, ) -> *mut gio::GAppInfo16104 pub fn gtk_recent_info_create_app_info( 16105 info: *mut GtkRecentInfo, 16106 app_name: *const c_char, 16107 error: *mut *mut glib::GError, 16108 ) -> *mut gio::GAppInfo; gtk_recent_info_exists(info: *mut GtkRecentInfo) -> gboolean16109 pub fn gtk_recent_info_exists(info: *mut GtkRecentInfo) -> gboolean; gtk_recent_info_get_added(info: *mut GtkRecentInfo) -> c_long16110 pub fn gtk_recent_info_get_added(info: *mut GtkRecentInfo) -> c_long; gtk_recent_info_get_age(info: *mut GtkRecentInfo) -> c_int16111 pub fn gtk_recent_info_get_age(info: *mut GtkRecentInfo) -> c_int; gtk_recent_info_get_application_info( info: *mut GtkRecentInfo, app_name: *const c_char, app_exec: *mut *const c_char, count: *mut c_uint, time_: *mut c_long, ) -> gboolean16112 pub fn gtk_recent_info_get_application_info( 16113 info: *mut GtkRecentInfo, 16114 app_name: *const c_char, 16115 app_exec: *mut *const c_char, 16116 count: *mut c_uint, 16117 time_: *mut c_long, 16118 ) -> gboolean; gtk_recent_info_get_applications( info: *mut GtkRecentInfo, length: *mut size_t, ) -> *mut *mut c_char16119 pub fn gtk_recent_info_get_applications( 16120 info: *mut GtkRecentInfo, 16121 length: *mut size_t, 16122 ) -> *mut *mut c_char; gtk_recent_info_get_description(info: *mut GtkRecentInfo) -> *const c_char16123 pub fn gtk_recent_info_get_description(info: *mut GtkRecentInfo) -> *const c_char; gtk_recent_info_get_display_name(info: *mut GtkRecentInfo) -> *const c_char16124 pub fn gtk_recent_info_get_display_name(info: *mut GtkRecentInfo) -> *const c_char; gtk_recent_info_get_gicon(info: *mut GtkRecentInfo) -> *mut gio::GIcon16125 pub fn gtk_recent_info_get_gicon(info: *mut GtkRecentInfo) -> *mut gio::GIcon; gtk_recent_info_get_groups( info: *mut GtkRecentInfo, length: *mut size_t, ) -> *mut *mut c_char16126 pub fn gtk_recent_info_get_groups( 16127 info: *mut GtkRecentInfo, 16128 length: *mut size_t, 16129 ) -> *mut *mut c_char; gtk_recent_info_get_icon( info: *mut GtkRecentInfo, size: c_int, ) -> *mut gdk_pixbuf::GdkPixbuf16130 pub fn gtk_recent_info_get_icon( 16131 info: *mut GtkRecentInfo, 16132 size: c_int, 16133 ) -> *mut gdk_pixbuf::GdkPixbuf; gtk_recent_info_get_mime_type(info: *mut GtkRecentInfo) -> *const c_char16134 pub fn gtk_recent_info_get_mime_type(info: *mut GtkRecentInfo) -> *const c_char; gtk_recent_info_get_modified(info: *mut GtkRecentInfo) -> c_long16135 pub fn gtk_recent_info_get_modified(info: *mut GtkRecentInfo) -> c_long; gtk_recent_info_get_private_hint(info: *mut GtkRecentInfo) -> gboolean16136 pub fn gtk_recent_info_get_private_hint(info: *mut GtkRecentInfo) -> gboolean; gtk_recent_info_get_short_name(info: *mut GtkRecentInfo) -> *mut c_char16137 pub fn gtk_recent_info_get_short_name(info: *mut GtkRecentInfo) -> *mut c_char; gtk_recent_info_get_uri(info: *mut GtkRecentInfo) -> *const c_char16138 pub fn gtk_recent_info_get_uri(info: *mut GtkRecentInfo) -> *const c_char; gtk_recent_info_get_uri_display(info: *mut GtkRecentInfo) -> *mut c_char16139 pub fn gtk_recent_info_get_uri_display(info: *mut GtkRecentInfo) -> *mut c_char; gtk_recent_info_get_visited(info: *mut GtkRecentInfo) -> c_long16140 pub fn gtk_recent_info_get_visited(info: *mut GtkRecentInfo) -> c_long; gtk_recent_info_has_application( info: *mut GtkRecentInfo, app_name: *const c_char, ) -> gboolean16141 pub fn gtk_recent_info_has_application( 16142 info: *mut GtkRecentInfo, 16143 app_name: *const c_char, 16144 ) -> gboolean; gtk_recent_info_has_group( info: *mut GtkRecentInfo, group_name: *const c_char, ) -> gboolean16145 pub fn gtk_recent_info_has_group( 16146 info: *mut GtkRecentInfo, 16147 group_name: *const c_char, 16148 ) -> gboolean; gtk_recent_info_is_local(info: *mut GtkRecentInfo) -> gboolean16149 pub fn gtk_recent_info_is_local(info: *mut GtkRecentInfo) -> gboolean; gtk_recent_info_last_application(info: *mut GtkRecentInfo) -> *mut c_char16150 pub fn gtk_recent_info_last_application(info: *mut GtkRecentInfo) -> *mut c_char; gtk_recent_info_match( info_a: *mut GtkRecentInfo, info_b: *mut GtkRecentInfo, ) -> gboolean16151 pub fn gtk_recent_info_match( 16152 info_a: *mut GtkRecentInfo, 16153 info_b: *mut GtkRecentInfo, 16154 ) -> gboolean; gtk_recent_info_ref(info: *mut GtkRecentInfo) -> *mut GtkRecentInfo16155 pub fn gtk_recent_info_ref(info: *mut GtkRecentInfo) -> *mut GtkRecentInfo; gtk_recent_info_unref(info: *mut GtkRecentInfo)16156 pub fn gtk_recent_info_unref(info: *mut GtkRecentInfo); 16157 16158 //========================================================================= 16159 // GtkRequisition 16160 //========================================================================= gtk_requisition_get_type() -> GType16161 pub fn gtk_requisition_get_type() -> GType; gtk_requisition_new() -> *mut GtkRequisition16162 pub fn gtk_requisition_new() -> *mut GtkRequisition; gtk_requisition_copy(requisition: *const GtkRequisition) -> *mut GtkRequisition16163 pub fn gtk_requisition_copy(requisition: *const GtkRequisition) -> *mut GtkRequisition; gtk_requisition_free(requisition: *mut GtkRequisition)16164 pub fn gtk_requisition_free(requisition: *mut GtkRequisition); 16165 16166 //========================================================================= 16167 // GtkSelectionData 16168 //========================================================================= gtk_selection_data_get_type() -> GType16169 pub fn gtk_selection_data_get_type() -> GType; gtk_selection_data_copy(data: *const GtkSelectionData) -> *mut GtkSelectionData16170 pub fn gtk_selection_data_copy(data: *const GtkSelectionData) -> *mut GtkSelectionData; gtk_selection_data_free(data: *mut GtkSelectionData)16171 pub fn gtk_selection_data_free(data: *mut GtkSelectionData); gtk_selection_data_get_data(selection_data: *const GtkSelectionData) -> *const u816172 pub fn gtk_selection_data_get_data(selection_data: *const GtkSelectionData) -> *const u8; gtk_selection_data_get_data_type( selection_data: *const GtkSelectionData, ) -> gdk::GdkAtom16173 pub fn gtk_selection_data_get_data_type( 16174 selection_data: *const GtkSelectionData, 16175 ) -> gdk::GdkAtom; gtk_selection_data_get_data_with_length( selection_data: *const GtkSelectionData, length: *mut c_int, ) -> *const u816176 pub fn gtk_selection_data_get_data_with_length( 16177 selection_data: *const GtkSelectionData, 16178 length: *mut c_int, 16179 ) -> *const u8; gtk_selection_data_get_display( selection_data: *const GtkSelectionData, ) -> *mut gdk::GdkDisplay16180 pub fn gtk_selection_data_get_display( 16181 selection_data: *const GtkSelectionData, 16182 ) -> *mut gdk::GdkDisplay; gtk_selection_data_get_format(selection_data: *const GtkSelectionData) -> c_int16183 pub fn gtk_selection_data_get_format(selection_data: *const GtkSelectionData) -> c_int; gtk_selection_data_get_length(selection_data: *const GtkSelectionData) -> c_int16184 pub fn gtk_selection_data_get_length(selection_data: *const GtkSelectionData) -> c_int; gtk_selection_data_get_pixbuf( selection_data: *const GtkSelectionData, ) -> *mut gdk_pixbuf::GdkPixbuf16185 pub fn gtk_selection_data_get_pixbuf( 16186 selection_data: *const GtkSelectionData, 16187 ) -> *mut gdk_pixbuf::GdkPixbuf; gtk_selection_data_get_selection( selection_data: *const GtkSelectionData, ) -> gdk::GdkAtom16188 pub fn gtk_selection_data_get_selection( 16189 selection_data: *const GtkSelectionData, 16190 ) -> gdk::GdkAtom; gtk_selection_data_get_target(selection_data: *const GtkSelectionData) -> gdk::GdkAtom16191 pub fn gtk_selection_data_get_target(selection_data: *const GtkSelectionData) -> gdk::GdkAtom; gtk_selection_data_get_targets( selection_data: *const GtkSelectionData, targets: *mut *mut gdk::GdkAtom, n_atoms: *mut c_int, ) -> gboolean16192 pub fn gtk_selection_data_get_targets( 16193 selection_data: *const GtkSelectionData, 16194 targets: *mut *mut gdk::GdkAtom, 16195 n_atoms: *mut c_int, 16196 ) -> gboolean; gtk_selection_data_get_text(selection_data: *const GtkSelectionData) -> *mut c_char16197 pub fn gtk_selection_data_get_text(selection_data: *const GtkSelectionData) -> *mut c_char; gtk_selection_data_get_uris(selection_data: *const GtkSelectionData) -> *mut *mut c_char16198 pub fn gtk_selection_data_get_uris(selection_data: *const GtkSelectionData) 16199 -> *mut *mut c_char; gtk_selection_data_set( selection_data: *mut GtkSelectionData, type_: gdk::GdkAtom, format: c_int, data: *const u8, length: c_int, )16200 pub fn gtk_selection_data_set( 16201 selection_data: *mut GtkSelectionData, 16202 type_: gdk::GdkAtom, 16203 format: c_int, 16204 data: *const u8, 16205 length: c_int, 16206 ); gtk_selection_data_set_pixbuf( selection_data: *mut GtkSelectionData, pixbuf: *mut gdk_pixbuf::GdkPixbuf, ) -> gboolean16207 pub fn gtk_selection_data_set_pixbuf( 16208 selection_data: *mut GtkSelectionData, 16209 pixbuf: *mut gdk_pixbuf::GdkPixbuf, 16210 ) -> gboolean; gtk_selection_data_set_text( selection_data: *mut GtkSelectionData, str: *const c_char, len: c_int, ) -> gboolean16211 pub fn gtk_selection_data_set_text( 16212 selection_data: *mut GtkSelectionData, 16213 str: *const c_char, 16214 len: c_int, 16215 ) -> gboolean; gtk_selection_data_set_uris( selection_data: *mut GtkSelectionData, uris: *mut *mut c_char, ) -> gboolean16216 pub fn gtk_selection_data_set_uris( 16217 selection_data: *mut GtkSelectionData, 16218 uris: *mut *mut c_char, 16219 ) -> gboolean; gtk_selection_data_targets_include_image( selection_data: *const GtkSelectionData, writable: gboolean, ) -> gboolean16220 pub fn gtk_selection_data_targets_include_image( 16221 selection_data: *const GtkSelectionData, 16222 writable: gboolean, 16223 ) -> gboolean; gtk_selection_data_targets_include_rich_text( selection_data: *const GtkSelectionData, buffer: *mut GtkTextBuffer, ) -> gboolean16224 pub fn gtk_selection_data_targets_include_rich_text( 16225 selection_data: *const GtkSelectionData, 16226 buffer: *mut GtkTextBuffer, 16227 ) -> gboolean; gtk_selection_data_targets_include_text( selection_data: *const GtkSelectionData, ) -> gboolean16228 pub fn gtk_selection_data_targets_include_text( 16229 selection_data: *const GtkSelectionData, 16230 ) -> gboolean; gtk_selection_data_targets_include_uri( selection_data: *const GtkSelectionData, ) -> gboolean16231 pub fn gtk_selection_data_targets_include_uri( 16232 selection_data: *const GtkSelectionData, 16233 ) -> gboolean; 16234 16235 //========================================================================= 16236 // GtkStockItem 16237 //========================================================================= gtk_stock_item_copy(item: *const GtkStockItem) -> *mut GtkStockItem16238 pub fn gtk_stock_item_copy(item: *const GtkStockItem) -> *mut GtkStockItem; gtk_stock_item_free(item: *mut GtkStockItem)16239 pub fn gtk_stock_item_free(item: *mut GtkStockItem); 16240 16241 //========================================================================= 16242 // GtkSymbolicColor 16243 //========================================================================= gtk_symbolic_color_get_type() -> GType16244 pub fn gtk_symbolic_color_get_type() -> GType; gtk_symbolic_color_new_alpha( color: *mut GtkSymbolicColor, factor: c_double, ) -> *mut GtkSymbolicColor16245 pub fn gtk_symbolic_color_new_alpha( 16246 color: *mut GtkSymbolicColor, 16247 factor: c_double, 16248 ) -> *mut GtkSymbolicColor; gtk_symbolic_color_new_literal(color: *const gdk::GdkRGBA) -> *mut GtkSymbolicColor16249 pub fn gtk_symbolic_color_new_literal(color: *const gdk::GdkRGBA) -> *mut GtkSymbolicColor; gtk_symbolic_color_new_mix( color1: *mut GtkSymbolicColor, color2: *mut GtkSymbolicColor, factor: c_double, ) -> *mut GtkSymbolicColor16250 pub fn gtk_symbolic_color_new_mix( 16251 color1: *mut GtkSymbolicColor, 16252 color2: *mut GtkSymbolicColor, 16253 factor: c_double, 16254 ) -> *mut GtkSymbolicColor; gtk_symbolic_color_new_name(name: *const c_char) -> *mut GtkSymbolicColor16255 pub fn gtk_symbolic_color_new_name(name: *const c_char) -> *mut GtkSymbolicColor; gtk_symbolic_color_new_shade( color: *mut GtkSymbolicColor, factor: c_double, ) -> *mut GtkSymbolicColor16256 pub fn gtk_symbolic_color_new_shade( 16257 color: *mut GtkSymbolicColor, 16258 factor: c_double, 16259 ) -> *mut GtkSymbolicColor; gtk_symbolic_color_new_win32( theme_class: *const c_char, id: c_int, ) -> *mut GtkSymbolicColor16260 pub fn gtk_symbolic_color_new_win32( 16261 theme_class: *const c_char, 16262 id: c_int, 16263 ) -> *mut GtkSymbolicColor; gtk_symbolic_color_ref(color: *mut GtkSymbolicColor) -> *mut GtkSymbolicColor16264 pub fn gtk_symbolic_color_ref(color: *mut GtkSymbolicColor) -> *mut GtkSymbolicColor; gtk_symbolic_color_resolve( color: *mut GtkSymbolicColor, props: *mut GtkStyleProperties, resolved_color: *mut gdk::GdkRGBA, ) -> gboolean16265 pub fn gtk_symbolic_color_resolve( 16266 color: *mut GtkSymbolicColor, 16267 props: *mut GtkStyleProperties, 16268 resolved_color: *mut gdk::GdkRGBA, 16269 ) -> gboolean; gtk_symbolic_color_to_string(color: *mut GtkSymbolicColor) -> *mut c_char16270 pub fn gtk_symbolic_color_to_string(color: *mut GtkSymbolicColor) -> *mut c_char; gtk_symbolic_color_unref(color: *mut GtkSymbolicColor)16271 pub fn gtk_symbolic_color_unref(color: *mut GtkSymbolicColor); 16272 16273 //========================================================================= 16274 // GtkTargetEntry 16275 //========================================================================= gtk_target_entry_get_type() -> GType16276 pub fn gtk_target_entry_get_type() -> GType; gtk_target_entry_new( target: *const c_char, flags: c_uint, info: c_uint, ) -> *mut GtkTargetEntry16277 pub fn gtk_target_entry_new( 16278 target: *const c_char, 16279 flags: c_uint, 16280 info: c_uint, 16281 ) -> *mut GtkTargetEntry; gtk_target_entry_copy(data: *mut GtkTargetEntry) -> *mut GtkTargetEntry16282 pub fn gtk_target_entry_copy(data: *mut GtkTargetEntry) -> *mut GtkTargetEntry; gtk_target_entry_free(data: *mut GtkTargetEntry)16283 pub fn gtk_target_entry_free(data: *mut GtkTargetEntry); 16284 16285 //========================================================================= 16286 // GtkTargetList 16287 //========================================================================= gtk_target_list_get_type() -> GType16288 pub fn gtk_target_list_get_type() -> GType; gtk_target_list_new( targets: *const GtkTargetEntry, ntargets: c_uint, ) -> *mut GtkTargetList16289 pub fn gtk_target_list_new( 16290 targets: *const GtkTargetEntry, 16291 ntargets: c_uint, 16292 ) -> *mut GtkTargetList; gtk_target_list_add( list: *mut GtkTargetList, target: gdk::GdkAtom, flags: c_uint, info: c_uint, )16293 pub fn gtk_target_list_add( 16294 list: *mut GtkTargetList, 16295 target: gdk::GdkAtom, 16296 flags: c_uint, 16297 info: c_uint, 16298 ); gtk_target_list_add_image_targets( list: *mut GtkTargetList, info: c_uint, writable: gboolean, )16299 pub fn gtk_target_list_add_image_targets( 16300 list: *mut GtkTargetList, 16301 info: c_uint, 16302 writable: gboolean, 16303 ); gtk_target_list_add_rich_text_targets( list: *mut GtkTargetList, info: c_uint, deserializable: gboolean, buffer: *mut GtkTextBuffer, )16304 pub fn gtk_target_list_add_rich_text_targets( 16305 list: *mut GtkTargetList, 16306 info: c_uint, 16307 deserializable: gboolean, 16308 buffer: *mut GtkTextBuffer, 16309 ); gtk_target_list_add_table( list: *mut GtkTargetList, targets: *const GtkTargetEntry, ntargets: c_uint, )16310 pub fn gtk_target_list_add_table( 16311 list: *mut GtkTargetList, 16312 targets: *const GtkTargetEntry, 16313 ntargets: c_uint, 16314 ); gtk_target_list_add_text_targets(list: *mut GtkTargetList, info: c_uint)16315 pub fn gtk_target_list_add_text_targets(list: *mut GtkTargetList, info: c_uint); gtk_target_list_add_uri_targets(list: *mut GtkTargetList, info: c_uint)16316 pub fn gtk_target_list_add_uri_targets(list: *mut GtkTargetList, info: c_uint); gtk_target_list_find( list: *mut GtkTargetList, target: gdk::GdkAtom, info: *mut c_uint, ) -> gboolean16317 pub fn gtk_target_list_find( 16318 list: *mut GtkTargetList, 16319 target: gdk::GdkAtom, 16320 info: *mut c_uint, 16321 ) -> gboolean; gtk_target_list_ref(list: *mut GtkTargetList) -> *mut GtkTargetList16322 pub fn gtk_target_list_ref(list: *mut GtkTargetList) -> *mut GtkTargetList; gtk_target_list_remove(list: *mut GtkTargetList, target: gdk::GdkAtom)16323 pub fn gtk_target_list_remove(list: *mut GtkTargetList, target: gdk::GdkAtom); gtk_target_list_unref(list: *mut GtkTargetList)16324 pub fn gtk_target_list_unref(list: *mut GtkTargetList); 16325 16326 //========================================================================= 16327 // GtkTextAttributes 16328 //========================================================================= gtk_text_attributes_get_type() -> GType16329 pub fn gtk_text_attributes_get_type() -> GType; gtk_text_attributes_new() -> *mut GtkTextAttributes16330 pub fn gtk_text_attributes_new() -> *mut GtkTextAttributes; gtk_text_attributes_copy(src: *mut GtkTextAttributes) -> *mut GtkTextAttributes16331 pub fn gtk_text_attributes_copy(src: *mut GtkTextAttributes) -> *mut GtkTextAttributes; gtk_text_attributes_copy_values( src: *mut GtkTextAttributes, dest: *mut GtkTextAttributes, )16332 pub fn gtk_text_attributes_copy_values( 16333 src: *mut GtkTextAttributes, 16334 dest: *mut GtkTextAttributes, 16335 ); gtk_text_attributes_ref(values: *mut GtkTextAttributes) -> *mut GtkTextAttributes16336 pub fn gtk_text_attributes_ref(values: *mut GtkTextAttributes) -> *mut GtkTextAttributes; gtk_text_attributes_unref(values: *mut GtkTextAttributes)16337 pub fn gtk_text_attributes_unref(values: *mut GtkTextAttributes); 16338 16339 //========================================================================= 16340 // GtkTextIter 16341 //========================================================================= gtk_text_iter_get_type() -> GType16342 pub fn gtk_text_iter_get_type() -> GType; gtk_text_iter_assign(iter: *mut GtkTextIter, other: *const GtkTextIter)16343 pub fn gtk_text_iter_assign(iter: *mut GtkTextIter, other: *const GtkTextIter); gtk_text_iter_backward_char(iter: *mut GtkTextIter) -> gboolean16344 pub fn gtk_text_iter_backward_char(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_backward_chars(iter: *mut GtkTextIter, count: c_int) -> gboolean16345 pub fn gtk_text_iter_backward_chars(iter: *mut GtkTextIter, count: c_int) -> gboolean; gtk_text_iter_backward_cursor_position(iter: *mut GtkTextIter) -> gboolean16346 pub fn gtk_text_iter_backward_cursor_position(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_backward_cursor_positions( iter: *mut GtkTextIter, count: c_int, ) -> gboolean16347 pub fn gtk_text_iter_backward_cursor_positions( 16348 iter: *mut GtkTextIter, 16349 count: c_int, 16350 ) -> gboolean; gtk_text_iter_backward_find_char( iter: *mut GtkTextIter, pred: GtkTextCharPredicate, user_data: gpointer, limit: *const GtkTextIter, ) -> gboolean16351 pub fn gtk_text_iter_backward_find_char( 16352 iter: *mut GtkTextIter, 16353 pred: GtkTextCharPredicate, 16354 user_data: gpointer, 16355 limit: *const GtkTextIter, 16356 ) -> gboolean; gtk_text_iter_backward_line(iter: *mut GtkTextIter) -> gboolean16357 pub fn gtk_text_iter_backward_line(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_backward_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean16358 pub fn gtk_text_iter_backward_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean; gtk_text_iter_backward_search( iter: *const GtkTextIter, str: *const c_char, flags: GtkTextSearchFlags, match_start: *mut GtkTextIter, match_end: *mut GtkTextIter, limit: *const GtkTextIter, ) -> gboolean16359 pub fn gtk_text_iter_backward_search( 16360 iter: *const GtkTextIter, 16361 str: *const c_char, 16362 flags: GtkTextSearchFlags, 16363 match_start: *mut GtkTextIter, 16364 match_end: *mut GtkTextIter, 16365 limit: *const GtkTextIter, 16366 ) -> gboolean; gtk_text_iter_backward_sentence_start(iter: *mut GtkTextIter) -> gboolean16367 pub fn gtk_text_iter_backward_sentence_start(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_backward_sentence_starts(iter: *mut GtkTextIter, count: c_int) -> gboolean16368 pub fn gtk_text_iter_backward_sentence_starts(iter: *mut GtkTextIter, count: c_int) 16369 -> gboolean; gtk_text_iter_backward_to_tag_toggle( iter: *mut GtkTextIter, tag: *mut GtkTextTag, ) -> gboolean16370 pub fn gtk_text_iter_backward_to_tag_toggle( 16371 iter: *mut GtkTextIter, 16372 tag: *mut GtkTextTag, 16373 ) -> gboolean; gtk_text_iter_backward_visible_cursor_position(iter: *mut GtkTextIter) -> gboolean16374 pub fn gtk_text_iter_backward_visible_cursor_position(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_backward_visible_cursor_positions( iter: *mut GtkTextIter, count: c_int, ) -> gboolean16375 pub fn gtk_text_iter_backward_visible_cursor_positions( 16376 iter: *mut GtkTextIter, 16377 count: c_int, 16378 ) -> gboolean; gtk_text_iter_backward_visible_line(iter: *mut GtkTextIter) -> gboolean16379 pub fn gtk_text_iter_backward_visible_line(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_backward_visible_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean16380 pub fn gtk_text_iter_backward_visible_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean; gtk_text_iter_backward_visible_word_start(iter: *mut GtkTextIter) -> gboolean16381 pub fn gtk_text_iter_backward_visible_word_start(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_backward_visible_word_starts( iter: *mut GtkTextIter, count: c_int, ) -> gboolean16382 pub fn gtk_text_iter_backward_visible_word_starts( 16383 iter: *mut GtkTextIter, 16384 count: c_int, 16385 ) -> gboolean; gtk_text_iter_backward_word_start(iter: *mut GtkTextIter) -> gboolean16386 pub fn gtk_text_iter_backward_word_start(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_backward_word_starts(iter: *mut GtkTextIter, count: c_int) -> gboolean16387 pub fn gtk_text_iter_backward_word_starts(iter: *mut GtkTextIter, count: c_int) -> gboolean; gtk_text_iter_begins_tag(iter: *const GtkTextIter, tag: *mut GtkTextTag) -> gboolean16388 pub fn gtk_text_iter_begins_tag(iter: *const GtkTextIter, tag: *mut GtkTextTag) -> gboolean; gtk_text_iter_can_insert( iter: *const GtkTextIter, default_editability: gboolean, ) -> gboolean16389 pub fn gtk_text_iter_can_insert( 16390 iter: *const GtkTextIter, 16391 default_editability: gboolean, 16392 ) -> gboolean; gtk_text_iter_compare(lhs: *const GtkTextIter, rhs: *const GtkTextIter) -> c_int16393 pub fn gtk_text_iter_compare(lhs: *const GtkTextIter, rhs: *const GtkTextIter) -> c_int; gtk_text_iter_copy(iter: *const GtkTextIter) -> *mut GtkTextIter16394 pub fn gtk_text_iter_copy(iter: *const GtkTextIter) -> *mut GtkTextIter; gtk_text_iter_editable(iter: *const GtkTextIter, default_setting: gboolean) -> gboolean16395 pub fn gtk_text_iter_editable(iter: *const GtkTextIter, default_setting: gboolean) -> gboolean; gtk_text_iter_ends_line(iter: *const GtkTextIter) -> gboolean16396 pub fn gtk_text_iter_ends_line(iter: *const GtkTextIter) -> gboolean; gtk_text_iter_ends_sentence(iter: *const GtkTextIter) -> gboolean16397 pub fn gtk_text_iter_ends_sentence(iter: *const GtkTextIter) -> gboolean; gtk_text_iter_ends_tag(iter: *const GtkTextIter, tag: *mut GtkTextTag) -> gboolean16398 pub fn gtk_text_iter_ends_tag(iter: *const GtkTextIter, tag: *mut GtkTextTag) -> gboolean; gtk_text_iter_ends_word(iter: *const GtkTextIter) -> gboolean16399 pub fn gtk_text_iter_ends_word(iter: *const GtkTextIter) -> gboolean; gtk_text_iter_equal(lhs: *const GtkTextIter, rhs: *const GtkTextIter) -> gboolean16400 pub fn gtk_text_iter_equal(lhs: *const GtkTextIter, rhs: *const GtkTextIter) -> gboolean; gtk_text_iter_forward_char(iter: *mut GtkTextIter) -> gboolean16401 pub fn gtk_text_iter_forward_char(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_forward_chars(iter: *mut GtkTextIter, count: c_int) -> gboolean16402 pub fn gtk_text_iter_forward_chars(iter: *mut GtkTextIter, count: c_int) -> gboolean; gtk_text_iter_forward_cursor_position(iter: *mut GtkTextIter) -> gboolean16403 pub fn gtk_text_iter_forward_cursor_position(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_forward_cursor_positions(iter: *mut GtkTextIter, count: c_int) -> gboolean16404 pub fn gtk_text_iter_forward_cursor_positions(iter: *mut GtkTextIter, count: c_int) 16405 -> gboolean; gtk_text_iter_forward_find_char( iter: *mut GtkTextIter, pred: GtkTextCharPredicate, user_data: gpointer, limit: *const GtkTextIter, ) -> gboolean16406 pub fn gtk_text_iter_forward_find_char( 16407 iter: *mut GtkTextIter, 16408 pred: GtkTextCharPredicate, 16409 user_data: gpointer, 16410 limit: *const GtkTextIter, 16411 ) -> gboolean; gtk_text_iter_forward_line(iter: *mut GtkTextIter) -> gboolean16412 pub fn gtk_text_iter_forward_line(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_forward_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean16413 pub fn gtk_text_iter_forward_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean; gtk_text_iter_forward_search( iter: *const GtkTextIter, str: *const c_char, flags: GtkTextSearchFlags, match_start: *mut GtkTextIter, match_end: *mut GtkTextIter, limit: *const GtkTextIter, ) -> gboolean16414 pub fn gtk_text_iter_forward_search( 16415 iter: *const GtkTextIter, 16416 str: *const c_char, 16417 flags: GtkTextSearchFlags, 16418 match_start: *mut GtkTextIter, 16419 match_end: *mut GtkTextIter, 16420 limit: *const GtkTextIter, 16421 ) -> gboolean; gtk_text_iter_forward_sentence_end(iter: *mut GtkTextIter) -> gboolean16422 pub fn gtk_text_iter_forward_sentence_end(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_forward_sentence_ends(iter: *mut GtkTextIter, count: c_int) -> gboolean16423 pub fn gtk_text_iter_forward_sentence_ends(iter: *mut GtkTextIter, count: c_int) -> gboolean; gtk_text_iter_forward_to_end(iter: *mut GtkTextIter)16424 pub fn gtk_text_iter_forward_to_end(iter: *mut GtkTextIter); gtk_text_iter_forward_to_line_end(iter: *mut GtkTextIter) -> gboolean16425 pub fn gtk_text_iter_forward_to_line_end(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_forward_to_tag_toggle( iter: *mut GtkTextIter, tag: *mut GtkTextTag, ) -> gboolean16426 pub fn gtk_text_iter_forward_to_tag_toggle( 16427 iter: *mut GtkTextIter, 16428 tag: *mut GtkTextTag, 16429 ) -> gboolean; gtk_text_iter_forward_visible_cursor_position(iter: *mut GtkTextIter) -> gboolean16430 pub fn gtk_text_iter_forward_visible_cursor_position(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_forward_visible_cursor_positions( iter: *mut GtkTextIter, count: c_int, ) -> gboolean16431 pub fn gtk_text_iter_forward_visible_cursor_positions( 16432 iter: *mut GtkTextIter, 16433 count: c_int, 16434 ) -> gboolean; gtk_text_iter_forward_visible_line(iter: *mut GtkTextIter) -> gboolean16435 pub fn gtk_text_iter_forward_visible_line(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_forward_visible_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean16436 pub fn gtk_text_iter_forward_visible_lines(iter: *mut GtkTextIter, count: c_int) -> gboolean; gtk_text_iter_forward_visible_word_end(iter: *mut GtkTextIter) -> gboolean16437 pub fn gtk_text_iter_forward_visible_word_end(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_forward_visible_word_ends( iter: *mut GtkTextIter, count: c_int, ) -> gboolean16438 pub fn gtk_text_iter_forward_visible_word_ends( 16439 iter: *mut GtkTextIter, 16440 count: c_int, 16441 ) -> gboolean; gtk_text_iter_forward_word_end(iter: *mut GtkTextIter) -> gboolean16442 pub fn gtk_text_iter_forward_word_end(iter: *mut GtkTextIter) -> gboolean; gtk_text_iter_forward_word_ends(iter: *mut GtkTextIter, count: c_int) -> gboolean16443 pub fn gtk_text_iter_forward_word_ends(iter: *mut GtkTextIter, count: c_int) -> gboolean; gtk_text_iter_free(iter: *mut GtkTextIter)16444 pub fn gtk_text_iter_free(iter: *mut GtkTextIter); gtk_text_iter_get_attributes( iter: *const GtkTextIter, values: *mut GtkTextAttributes, ) -> gboolean16445 pub fn gtk_text_iter_get_attributes( 16446 iter: *const GtkTextIter, 16447 values: *mut GtkTextAttributes, 16448 ) -> gboolean; gtk_text_iter_get_buffer(iter: *const GtkTextIter) -> *mut GtkTextBuffer16449 pub fn gtk_text_iter_get_buffer(iter: *const GtkTextIter) -> *mut GtkTextBuffer; gtk_text_iter_get_bytes_in_line(iter: *const GtkTextIter) -> c_int16450 pub fn gtk_text_iter_get_bytes_in_line(iter: *const GtkTextIter) -> c_int; gtk_text_iter_get_char(iter: *const GtkTextIter) -> u3216451 pub fn gtk_text_iter_get_char(iter: *const GtkTextIter) -> u32; gtk_text_iter_get_chars_in_line(iter: *const GtkTextIter) -> c_int16452 pub fn gtk_text_iter_get_chars_in_line(iter: *const GtkTextIter) -> c_int; gtk_text_iter_get_child_anchor(iter: *const GtkTextIter) -> *mut GtkTextChildAnchor16453 pub fn gtk_text_iter_get_child_anchor(iter: *const GtkTextIter) -> *mut GtkTextChildAnchor; gtk_text_iter_get_language(iter: *const GtkTextIter) -> *mut pango::PangoLanguage16454 pub fn gtk_text_iter_get_language(iter: *const GtkTextIter) -> *mut pango::PangoLanguage; gtk_text_iter_get_line(iter: *const GtkTextIter) -> c_int16455 pub fn gtk_text_iter_get_line(iter: *const GtkTextIter) -> c_int; gtk_text_iter_get_line_index(iter: *const GtkTextIter) -> c_int16456 pub fn gtk_text_iter_get_line_index(iter: *const GtkTextIter) -> c_int; gtk_text_iter_get_line_offset(iter: *const GtkTextIter) -> c_int16457 pub fn gtk_text_iter_get_line_offset(iter: *const GtkTextIter) -> c_int; gtk_text_iter_get_marks(iter: *const GtkTextIter) -> *mut glib::GSList16458 pub fn gtk_text_iter_get_marks(iter: *const GtkTextIter) -> *mut glib::GSList; gtk_text_iter_get_offset(iter: *const GtkTextIter) -> c_int16459 pub fn gtk_text_iter_get_offset(iter: *const GtkTextIter) -> c_int; gtk_text_iter_get_pixbuf(iter: *const GtkTextIter) -> *mut gdk_pixbuf::GdkPixbuf16460 pub fn gtk_text_iter_get_pixbuf(iter: *const GtkTextIter) -> *mut gdk_pixbuf::GdkPixbuf; gtk_text_iter_get_slice( start: *const GtkTextIter, end: *const GtkTextIter, ) -> *mut c_char16461 pub fn gtk_text_iter_get_slice( 16462 start: *const GtkTextIter, 16463 end: *const GtkTextIter, 16464 ) -> *mut c_char; gtk_text_iter_get_tags(iter: *const GtkTextIter) -> *mut glib::GSList16465 pub fn gtk_text_iter_get_tags(iter: *const GtkTextIter) -> *mut glib::GSList; gtk_text_iter_get_text( start: *const GtkTextIter, end: *const GtkTextIter, ) -> *mut c_char16466