1 // This file was generated by gir (https://github.com/gtk-rs/gir @ 894f9e5) 2 // from gir-files (https://github.com/gtk-rs/gir-files @ 22748fa) 3 // DO NOT EDIT 4 5 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] 6 #![allow(clippy::approx_constant, clippy::type_complexity, clippy::unreadable_literal)] 7 8 extern crate libc; 9 extern crate glib_sys as glib; 10 extern crate gobject_sys as gobject; 11 extern crate gio_sys as gio; 12 extern crate gtk_sys as gtk; 13 extern crate gdk_sys as gdk; 14 extern crate pango_sys as pango; 15 16 #[allow(unused_imports)] 17 use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double, 18 c_short, c_ushort, c_long, c_ulong, 19 c_void, size_t, ssize_t, intptr_t, uintptr_t, time_t, FILE}; 20 21 #[allow(unused_imports)] 22 use glib::{gboolean, gconstpointer, gpointer, GType}; 23 24 // Enums 25 pub type HdyArrowsDirection = c_int; 26 pub const HDY_ARROWS_DIRECTION_UP: HdyArrowsDirection = 0; 27 pub const HDY_ARROWS_DIRECTION_DOWN: HdyArrowsDirection = 1; 28 pub const HDY_ARROWS_DIRECTION_LEFT: HdyArrowsDirection = 2; 29 pub const HDY_ARROWS_DIRECTION_RIGHT: HdyArrowsDirection = 3; 30 31 pub type HdyCenteringPolicy = c_int; 32 pub const HDY_CENTERING_POLICY_LOOSE: HdyCenteringPolicy = 0; 33 pub const HDY_CENTERING_POLICY_STRICT: HdyCenteringPolicy = 1; 34 35 pub type HdyFold = c_int; 36 pub const HDY_FOLD_UNFOLDED: HdyFold = 0; 37 pub const HDY_FOLD_FOLDED: HdyFold = 1; 38 39 pub type HdyLeafletChildTransitionType = c_int; 40 pub const HDY_LEAFLET_CHILD_TRANSITION_TYPE_NONE: HdyLeafletChildTransitionType = 0; 41 pub const HDY_LEAFLET_CHILD_TRANSITION_TYPE_CROSSFADE: HdyLeafletChildTransitionType = 1; 42 pub const HDY_LEAFLET_CHILD_TRANSITION_TYPE_SLIDE: HdyLeafletChildTransitionType = 2; 43 pub const HDY_LEAFLET_CHILD_TRANSITION_TYPE_OVER: HdyLeafletChildTransitionType = 3; 44 pub const HDY_LEAFLET_CHILD_TRANSITION_TYPE_UNDER: HdyLeafletChildTransitionType = 4; 45 46 pub type HdyLeafletModeTransitionType = c_int; 47 pub const HDY_LEAFLET_MODE_TRANSITION_TYPE_NONE: HdyLeafletModeTransitionType = 0; 48 pub const HDY_LEAFLET_MODE_TRANSITION_TYPE_SLIDE: HdyLeafletModeTransitionType = 1; 49 50 pub type HdyLeafletTransitionType = c_int; 51 pub const HDY_LEAFLET_TRANSITION_TYPE_NONE: HdyLeafletTransitionType = 0; 52 pub const HDY_LEAFLET_TRANSITION_TYPE_SLIDE: HdyLeafletTransitionType = 1; 53 pub const HDY_LEAFLET_TRANSITION_TYPE_OVER: HdyLeafletTransitionType = 2; 54 pub const HDY_LEAFLET_TRANSITION_TYPE_UNDER: HdyLeafletTransitionType = 3; 55 56 pub type HdyPaginatorIndicatorStyle = c_int; 57 pub const HDY_PAGINATOR_INDICATOR_STYLE_NONE: HdyPaginatorIndicatorStyle = 0; 58 pub const HDY_PAGINATOR_INDICATOR_STYLE_DOTS: HdyPaginatorIndicatorStyle = 1; 59 pub const HDY_PAGINATOR_INDICATOR_STYLE_LINES: HdyPaginatorIndicatorStyle = 2; 60 61 pub type HdySqueezerTransitionType = c_int; 62 pub const HDY_SQUEEZER_TRANSITION_TYPE_NONE: HdySqueezerTransitionType = 0; 63 pub const HDY_SQUEEZER_TRANSITION_TYPE_CROSSFADE: HdySqueezerTransitionType = 1; 64 65 pub type HdyViewSwitcherPolicy = c_int; 66 pub const HDY_VIEW_SWITCHER_POLICY_AUTO: HdyViewSwitcherPolicy = 0; 67 pub const HDY_VIEW_SWITCHER_POLICY_NARROW: HdyViewSwitcherPolicy = 1; 68 pub const HDY_VIEW_SWITCHER_POLICY_WIDE: HdyViewSwitcherPolicy = 2; 69 70 // Callbacks 71 pub type HdyComboRowGetEnumValueNameFunc = Option<unsafe extern "C" fn(*mut HdyEnumValueObject, gpointer) -> *mut c_char>; 72 pub type HdyComboRowGetNameFunc = Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> *mut c_char>; 73 74 // Records 75 #[repr(C)] 76 #[derive(Copy, Clone)] 77 pub struct HdyActionRowClass { 78 pub parent_class: gtk::GtkListBoxRowClass, 79 pub activate: Option<unsafe extern "C" fn(*mut HdyActionRow)>, 80 } 81 82 impl ::std::fmt::Debug for HdyActionRowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result83 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 84 f.debug_struct(&format!("HdyActionRowClass @ {:?}", self as *const _)) 85 .field("parent_class", &self.parent_class) 86 .field("activate", &self.activate) 87 .finish() 88 } 89 } 90 91 #[repr(C)] 92 #[derive(Copy, Clone)] 93 pub struct HdyArrowsClass { 94 pub parent_class: gtk::GtkDrawingAreaClass, 95 } 96 97 impl ::std::fmt::Debug for HdyArrowsClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result98 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 99 f.debug_struct(&format!("HdyArrowsClass @ {:?}", self as *const _)) 100 .field("parent_class", &self.parent_class) 101 .finish() 102 } 103 } 104 105 #[repr(C)] 106 #[derive(Copy, Clone)] 107 pub struct HdyColumnClass { 108 pub parent_class: gtk::GtkBinClass, 109 } 110 111 impl ::std::fmt::Debug for HdyColumnClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result112 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 113 f.debug_struct(&format!("HdyColumnClass @ {:?}", self as *const _)) 114 .field("parent_class", &self.parent_class) 115 .finish() 116 } 117 } 118 119 #[repr(C)] 120 #[derive(Copy, Clone)] 121 pub struct HdyComboRowClass { 122 pub parent_class: HdyActionRowClass, 123 } 124 125 impl ::std::fmt::Debug for HdyComboRowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result126 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 127 f.debug_struct(&format!("HdyComboRowClass @ {:?}", self as *const _)) 128 .field("parent_class", &self.parent_class) 129 .finish() 130 } 131 } 132 133 #[repr(C)] 134 #[derive(Copy, Clone)] 135 pub struct HdyDialerButtonClass { 136 pub parent_class: gtk::GtkButtonClass, 137 } 138 139 impl ::std::fmt::Debug for HdyDialerButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result140 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 141 f.debug_struct(&format!("HdyDialerButtonClass @ {:?}", self as *const _)) 142 .field("parent_class", &self.parent_class) 143 .finish() 144 } 145 } 146 147 #[repr(C)] 148 #[derive(Copy, Clone)] 149 pub struct HdyDialerClass { 150 pub parent_class: gtk::GtkBinClass, 151 pub submitted: Option<unsafe extern "C" fn(*mut HdyDialer, *const c_char)>, 152 } 153 154 impl ::std::fmt::Debug for HdyDialerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result155 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 156 f.debug_struct(&format!("HdyDialerClass @ {:?}", self as *const _)) 157 .field("parent_class", &self.parent_class) 158 .field("submitted", &self.submitted) 159 .finish() 160 } 161 } 162 163 #[repr(C)] 164 #[derive(Copy, Clone)] 165 pub struct HdyDialerCycleButtonClass { 166 pub parent_class: HdyDialerButtonClass, 167 pub cycle_start: Option<unsafe extern "C" fn(*mut HdyDialerCycleButton)>, 168 pub cycle_end: Option<unsafe extern "C" fn(*mut HdyDialerCycleButton)>, 169 } 170 171 impl ::std::fmt::Debug for HdyDialerCycleButtonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result172 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 173 f.debug_struct(&format!("HdyDialerCycleButtonClass @ {:?}", self as *const _)) 174 .field("parent_class", &self.parent_class) 175 .field("cycle_start", &self.cycle_start) 176 .field("cycle_end", &self.cycle_end) 177 .finish() 178 } 179 } 180 181 #[repr(C)] 182 #[derive(Copy, Clone)] 183 pub struct HdyDialogClass { 184 pub parent_class: gtk::GtkDialogClass, 185 } 186 187 impl ::std::fmt::Debug for HdyDialogClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result188 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 189 f.debug_struct(&format!("HdyDialogClass @ {:?}", self as *const _)) 190 .field("parent_class", &self.parent_class) 191 .finish() 192 } 193 } 194 195 #[repr(C)] 196 #[derive(Copy, Clone)] 197 pub struct HdyEnumValueObjectClass { 198 pub parent_class: gobject::GObjectClass, 199 } 200 201 impl ::std::fmt::Debug for HdyEnumValueObjectClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result202 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 203 f.debug_struct(&format!("HdyEnumValueObjectClass @ {:?}", self as *const _)) 204 .field("parent_class", &self.parent_class) 205 .finish() 206 } 207 } 208 209 #[repr(C)] 210 #[derive(Copy, Clone)] 211 pub struct HdyExpanderRowClass { 212 pub parent_class: HdyActionRowClass, 213 } 214 215 impl ::std::fmt::Debug for HdyExpanderRowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result216 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 217 f.debug_struct(&format!("HdyExpanderRowClass @ {:?}", self as *const _)) 218 .field("parent_class", &self.parent_class) 219 .finish() 220 } 221 } 222 223 #[repr(C)] 224 #[derive(Copy, Clone)] 225 pub struct HdyHeaderBarClass { 226 pub parent_class: gtk::GtkContainerClass, 227 } 228 229 impl ::std::fmt::Debug for HdyHeaderBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result230 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 231 f.debug_struct(&format!("HdyHeaderBarClass @ {:?}", self as *const _)) 232 .field("parent_class", &self.parent_class) 233 .finish() 234 } 235 } 236 237 #[repr(C)] 238 #[derive(Copy, Clone)] 239 pub struct HdyHeaderGroupClass { 240 pub parent_class: gobject::GObjectClass, 241 } 242 243 impl ::std::fmt::Debug for HdyHeaderGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result244 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 245 f.debug_struct(&format!("HdyHeaderGroupClass @ {:?}", self as *const _)) 246 .field("parent_class", &self.parent_class) 247 .finish() 248 } 249 } 250 251 #[repr(C)] 252 #[derive(Copy, Clone)] 253 pub struct HdyKeypadClass { 254 pub parent_class: gtk::GtkGridClass, 255 } 256 257 impl ::std::fmt::Debug for HdyKeypadClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result258 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 259 f.debug_struct(&format!("HdyKeypadClass @ {:?}", self as *const _)) 260 .field("parent_class", &self.parent_class) 261 .finish() 262 } 263 } 264 265 #[repr(C)] 266 #[derive(Copy, Clone)] 267 pub struct HdyLeafletClass { 268 pub parent_class: gtk::GtkContainerClass, 269 pub todo: Option<unsafe extern "C" fn(*mut HdyLeaflet)>, 270 } 271 272 impl ::std::fmt::Debug for HdyLeafletClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result273 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 274 f.debug_struct(&format!("HdyLeafletClass @ {:?}", self as *const _)) 275 .field("parent_class", &self.parent_class) 276 .field("todo", &self.todo) 277 .finish() 278 } 279 } 280 281 #[repr(C)] 282 #[derive(Copy, Clone)] 283 pub struct HdyPaginatorClass { 284 pub parent_class: gtk::GtkEventBoxClass, 285 } 286 287 impl ::std::fmt::Debug for HdyPaginatorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result288 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 289 f.debug_struct(&format!("HdyPaginatorClass @ {:?}", self as *const _)) 290 .field("parent_class", &self.parent_class) 291 .finish() 292 } 293 } 294 295 #[repr(C)] 296 #[derive(Copy, Clone)] 297 pub struct HdyPreferencesGroupClass { 298 pub parent_class: gtk::GtkBoxClass, 299 } 300 301 impl ::std::fmt::Debug for HdyPreferencesGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result302 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 303 f.debug_struct(&format!("HdyPreferencesGroupClass @ {:?}", self as *const _)) 304 .field("parent_class", &self.parent_class) 305 .finish() 306 } 307 } 308 309 #[repr(C)] 310 #[derive(Copy, Clone)] 311 pub struct HdyPreferencesPageClass { 312 pub parent_class: gtk::GtkScrolledWindowClass, 313 } 314 315 impl ::std::fmt::Debug for HdyPreferencesPageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result316 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 317 f.debug_struct(&format!("HdyPreferencesPageClass @ {:?}", self as *const _)) 318 .field("parent_class", &self.parent_class) 319 .finish() 320 } 321 } 322 323 #[repr(C)] 324 #[derive(Copy, Clone)] 325 pub struct HdyPreferencesRowClass { 326 pub parent_class: gtk::GtkListBoxRowClass, 327 } 328 329 impl ::std::fmt::Debug for HdyPreferencesRowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result330 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 331 f.debug_struct(&format!("HdyPreferencesRowClass @ {:?}", self as *const _)) 332 .field("parent_class", &self.parent_class) 333 .finish() 334 } 335 } 336 337 #[repr(C)] 338 #[derive(Copy, Clone)] 339 pub struct HdyPreferencesWindowClass { 340 pub parent_class: gtk::GtkWindowClass, 341 } 342 343 impl ::std::fmt::Debug for HdyPreferencesWindowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result344 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 345 f.debug_struct(&format!("HdyPreferencesWindowClass @ {:?}", self as *const _)) 346 .field("parent_class", &self.parent_class) 347 .finish() 348 } 349 } 350 351 #[repr(C)] 352 #[derive(Copy, Clone)] 353 pub struct HdySearchBarClass { 354 pub parent_class: gtk::GtkBinClass, 355 } 356 357 impl ::std::fmt::Debug for HdySearchBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result358 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 359 f.debug_struct(&format!("HdySearchBarClass @ {:?}", self as *const _)) 360 .field("parent_class", &self.parent_class) 361 .finish() 362 } 363 } 364 365 #[repr(C)] 366 #[derive(Copy, Clone)] 367 pub struct HdySqueezerClass { 368 pub parent_class: gtk::GtkContainerClass, 369 } 370 371 impl ::std::fmt::Debug for HdySqueezerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result372 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 373 f.debug_struct(&format!("HdySqueezerClass @ {:?}", self as *const _)) 374 .field("parent_class", &self.parent_class) 375 .finish() 376 } 377 } 378 379 #[repr(C)] 380 #[derive(Copy, Clone)] 381 pub struct HdySwipeGroupClass { 382 pub parent_class: gobject::GObjectClass, 383 } 384 385 impl ::std::fmt::Debug for HdySwipeGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result386 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 387 f.debug_struct(&format!("HdySwipeGroupClass @ {:?}", self as *const _)) 388 .field("parent_class", &self.parent_class) 389 .finish() 390 } 391 } 392 393 #[repr(C)] 394 #[derive(Copy, Clone)] 395 pub struct HdySwipeableInterface { 396 pub parent: gobject::GTypeInterface, 397 pub switch_child: Option<unsafe extern "C" fn(*mut HdySwipeable, c_uint, i64)>, 398 pub begin_swipe: Option<unsafe extern "C" fn(*mut HdySwipeable, c_int, gboolean)>, 399 pub update_swipe: Option<unsafe extern "C" fn(*mut HdySwipeable, c_double)>, 400 pub end_swipe: Option<unsafe extern "C" fn(*mut HdySwipeable, i64, c_double)>, 401 } 402 403 impl ::std::fmt::Debug for HdySwipeableInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result404 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 405 f.debug_struct(&format!("HdySwipeableInterface @ {:?}", self as *const _)) 406 .field("parent", &self.parent) 407 .field("switch_child", &self.switch_child) 408 .field("begin_swipe", &self.begin_swipe) 409 .field("update_swipe", &self.update_swipe) 410 .field("end_swipe", &self.end_swipe) 411 .finish() 412 } 413 } 414 415 #[repr(C)] 416 #[derive(Copy, Clone)] 417 pub struct HdyTitleBarClass { 418 pub parent_class: gtk::GtkBinClass, 419 } 420 421 impl ::std::fmt::Debug for HdyTitleBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result422 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 423 f.debug_struct(&format!("HdyTitleBarClass @ {:?}", self as *const _)) 424 .field("parent_class", &self.parent_class) 425 .finish() 426 } 427 } 428 429 #[repr(C)] 430 #[derive(Copy, Clone)] 431 pub struct HdyValueObjectClass { 432 pub parent_class: gobject::GObjectClass, 433 } 434 435 impl ::std::fmt::Debug for HdyValueObjectClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result436 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 437 f.debug_struct(&format!("HdyValueObjectClass @ {:?}", self as *const _)) 438 .field("parent_class", &self.parent_class) 439 .finish() 440 } 441 } 442 443 #[repr(C)] 444 #[derive(Copy, Clone)] 445 pub struct HdyViewSwitcherBarClass { 446 pub parent_class: gtk::GtkBinClass, 447 } 448 449 impl ::std::fmt::Debug for HdyViewSwitcherBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result450 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 451 f.debug_struct(&format!("HdyViewSwitcherBarClass @ {:?}", self as *const _)) 452 .field("parent_class", &self.parent_class) 453 .finish() 454 } 455 } 456 457 #[repr(C)] 458 #[derive(Copy, Clone)] 459 pub struct HdyViewSwitcherClass { 460 pub parent_class: gtk::GtkBoxClass, 461 } 462 463 impl ::std::fmt::Debug for HdyViewSwitcherClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result464 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 465 f.debug_struct(&format!("HdyViewSwitcherClass @ {:?}", self as *const _)) 466 .field("parent_class", &self.parent_class) 467 .finish() 468 } 469 } 470 471 // Classes 472 #[repr(C)] 473 #[derive(Copy, Clone)] 474 pub struct HdyActionRow { 475 pub parent_instance: HdyPreferencesRow, 476 } 477 478 impl ::std::fmt::Debug for HdyActionRow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result479 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 480 f.debug_struct(&format!("HdyActionRow @ {:?}", self as *const _)) 481 .field("parent_instance", &self.parent_instance) 482 .finish() 483 } 484 } 485 486 #[repr(C)] 487 #[derive(Copy, Clone)] 488 pub struct HdyArrows { 489 pub parent_instance: gtk::GtkDrawingArea, 490 } 491 492 impl ::std::fmt::Debug for HdyArrows { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result493 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 494 f.debug_struct(&format!("HdyArrows @ {:?}", self as *const _)) 495 .field("parent_instance", &self.parent_instance) 496 .finish() 497 } 498 } 499 500 #[repr(C)] 501 pub struct HdyColumn(c_void); 502 503 impl ::std::fmt::Debug for HdyColumn { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result504 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 505 f.debug_struct(&format!("HdyColumn @ {:?}", self as *const _)) 506 .finish() 507 } 508 } 509 510 #[repr(C)] 511 #[derive(Copy, Clone)] 512 pub struct HdyComboRow { 513 pub parent_instance: HdyActionRow, 514 } 515 516 impl ::std::fmt::Debug for HdyComboRow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result517 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 518 f.debug_struct(&format!("HdyComboRow @ {:?}", self as *const _)) 519 .field("parent_instance", &self.parent_instance) 520 .finish() 521 } 522 } 523 524 #[repr(C)] 525 #[derive(Copy, Clone)] 526 pub struct HdyDialer { 527 pub parent_instance: gtk::GtkBin, 528 } 529 530 impl ::std::fmt::Debug for HdyDialer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result531 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 532 f.debug_struct(&format!("HdyDialer @ {:?}", self as *const _)) 533 .field("parent_instance", &self.parent_instance) 534 .finish() 535 } 536 } 537 538 #[repr(C)] 539 #[derive(Copy, Clone)] 540 pub struct HdyDialerButton { 541 pub parent_instance: gtk::GtkButton, 542 } 543 544 impl ::std::fmt::Debug for HdyDialerButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result545 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 546 f.debug_struct(&format!("HdyDialerButton @ {:?}", self as *const _)) 547 .field("parent_instance", &self.parent_instance) 548 .finish() 549 } 550 } 551 552 #[repr(C)] 553 #[derive(Copy, Clone)] 554 pub struct HdyDialerCycleButton { 555 pub parent_instance: HdyDialerButton, 556 } 557 558 impl ::std::fmt::Debug for HdyDialerCycleButton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result559 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 560 f.debug_struct(&format!("HdyDialerCycleButton @ {:?}", self as *const _)) 561 .field("parent_instance", &self.parent_instance) 562 .finish() 563 } 564 } 565 566 #[repr(C)] 567 #[derive(Copy, Clone)] 568 pub struct HdyDialog { 569 pub parent_instance: gtk::GtkDialog, 570 } 571 572 impl ::std::fmt::Debug for HdyDialog { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result573 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 574 f.debug_struct(&format!("HdyDialog @ {:?}", self as *const _)) 575 .field("parent_instance", &self.parent_instance) 576 .finish() 577 } 578 } 579 580 #[repr(C)] 581 pub struct HdyEnumValueObject(c_void); 582 583 impl ::std::fmt::Debug for HdyEnumValueObject { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result584 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 585 f.debug_struct(&format!("HdyEnumValueObject @ {:?}", self as *const _)) 586 .finish() 587 } 588 } 589 590 #[repr(C)] 591 #[derive(Copy, Clone)] 592 pub struct HdyExpanderRow { 593 pub parent_instance: HdyActionRow, 594 } 595 596 impl ::std::fmt::Debug for HdyExpanderRow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result597 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 598 f.debug_struct(&format!("HdyExpanderRow @ {:?}", self as *const _)) 599 .field("parent_instance", &self.parent_instance) 600 .finish() 601 } 602 } 603 604 #[repr(C)] 605 #[derive(Copy, Clone)] 606 pub struct HdyHeaderBar { 607 pub parent_instance: gtk::GtkContainer, 608 } 609 610 impl ::std::fmt::Debug for HdyHeaderBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result611 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 612 f.debug_struct(&format!("HdyHeaderBar @ {:?}", self as *const _)) 613 .field("parent_instance", &self.parent_instance) 614 .finish() 615 } 616 } 617 618 #[repr(C)] 619 #[derive(Copy, Clone)] 620 pub struct HdyHeaderGroup { 621 pub parent_instance: gobject::GObject, 622 } 623 624 impl ::std::fmt::Debug for HdyHeaderGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result625 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 626 f.debug_struct(&format!("HdyHeaderGroup @ {:?}", self as *const _)) 627 .field("parent_instance", &self.parent_instance) 628 .finish() 629 } 630 } 631 632 #[repr(C)] 633 #[derive(Copy, Clone)] 634 pub struct HdyKeypad { 635 pub parent_instance: gtk::GtkGrid, 636 } 637 638 impl ::std::fmt::Debug for HdyKeypad { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result639 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 640 f.debug_struct(&format!("HdyKeypad @ {:?}", self as *const _)) 641 .field("parent_instance", &self.parent_instance) 642 .finish() 643 } 644 } 645 646 #[repr(C)] 647 #[derive(Copy, Clone)] 648 pub struct HdyLeaflet { 649 pub parent_instance: gtk::GtkContainer, 650 } 651 652 impl ::std::fmt::Debug for HdyLeaflet { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result653 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 654 f.debug_struct(&format!("HdyLeaflet @ {:?}", self as *const _)) 655 .field("parent_instance", &self.parent_instance) 656 .finish() 657 } 658 } 659 660 #[repr(C)] 661 pub struct HdyPaginator(c_void); 662 663 impl ::std::fmt::Debug for HdyPaginator { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result664 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 665 f.debug_struct(&format!("HdyPaginator @ {:?}", self as *const _)) 666 .finish() 667 } 668 } 669 670 #[repr(C)] 671 #[derive(Copy, Clone)] 672 pub struct HdyPreferencesGroup { 673 pub parent_instance: gtk::GtkBox, 674 } 675 676 impl ::std::fmt::Debug for HdyPreferencesGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result677 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 678 f.debug_struct(&format!("HdyPreferencesGroup @ {:?}", self as *const _)) 679 .field("parent_instance", &self.parent_instance) 680 .finish() 681 } 682 } 683 684 #[repr(C)] 685 #[derive(Copy, Clone)] 686 pub struct HdyPreferencesPage { 687 pub parent_instance: gtk::GtkScrolledWindow, 688 } 689 690 impl ::std::fmt::Debug for HdyPreferencesPage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result691 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 692 f.debug_struct(&format!("HdyPreferencesPage @ {:?}", self as *const _)) 693 .field("parent_instance", &self.parent_instance) 694 .finish() 695 } 696 } 697 698 #[repr(C)] 699 #[derive(Copy, Clone)] 700 pub struct HdyPreferencesRow { 701 pub parent_instance: gtk::GtkListBoxRow, 702 } 703 704 impl ::std::fmt::Debug for HdyPreferencesRow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result705 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 706 f.debug_struct(&format!("HdyPreferencesRow @ {:?}", self as *const _)) 707 .field("parent_instance", &self.parent_instance) 708 .finish() 709 } 710 } 711 712 #[repr(C)] 713 #[derive(Copy, Clone)] 714 pub struct HdyPreferencesWindow { 715 pub parent_instance: gtk::GtkWindow, 716 } 717 718 impl ::std::fmt::Debug for HdyPreferencesWindow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result719 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 720 f.debug_struct(&format!("HdyPreferencesWindow @ {:?}", self as *const _)) 721 .field("parent_instance", &self.parent_instance) 722 .finish() 723 } 724 } 725 726 #[repr(C)] 727 #[derive(Copy, Clone)] 728 pub struct HdySearchBar { 729 pub parent_instance: gtk::GtkBin, 730 } 731 732 impl ::std::fmt::Debug for HdySearchBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result733 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 734 f.debug_struct(&format!("HdySearchBar @ {:?}", self as *const _)) 735 .field("parent_instance", &self.parent_instance) 736 .finish() 737 } 738 } 739 740 #[repr(C)] 741 #[derive(Copy, Clone)] 742 pub struct HdySqueezer { 743 pub parent_instance: gtk::GtkContainer, 744 } 745 746 impl ::std::fmt::Debug for HdySqueezer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result747 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 748 f.debug_struct(&format!("HdySqueezer @ {:?}", self as *const _)) 749 .field("parent_instance", &self.parent_instance) 750 .finish() 751 } 752 } 753 754 #[repr(C)] 755 pub struct HdySwipeGroup(c_void); 756 757 impl ::std::fmt::Debug for HdySwipeGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result758 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 759 f.debug_struct(&format!("HdySwipeGroup @ {:?}", self as *const _)) 760 .finish() 761 } 762 } 763 764 #[repr(C)] 765 pub struct HdyTitleBar(c_void); 766 767 impl ::std::fmt::Debug for HdyTitleBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result768 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 769 f.debug_struct(&format!("HdyTitleBar @ {:?}", self as *const _)) 770 .finish() 771 } 772 } 773 774 #[repr(C)] 775 pub struct HdyValueObject(c_void); 776 777 impl ::std::fmt::Debug for HdyValueObject { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result778 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 779 f.debug_struct(&format!("HdyValueObject @ {:?}", self as *const _)) 780 .finish() 781 } 782 } 783 784 #[repr(C)] 785 #[derive(Copy, Clone)] 786 pub struct HdyViewSwitcher { 787 pub parent_instance: gtk::GtkBox, 788 } 789 790 impl ::std::fmt::Debug for HdyViewSwitcher { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result791 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 792 f.debug_struct(&format!("HdyViewSwitcher @ {:?}", self as *const _)) 793 .field("parent_instance", &self.parent_instance) 794 .finish() 795 } 796 } 797 798 #[repr(C)] 799 #[derive(Copy, Clone)] 800 pub struct HdyViewSwitcherBar { 801 pub parent_instance: gtk::GtkBin, 802 } 803 804 impl ::std::fmt::Debug for HdyViewSwitcherBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result805 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 806 f.debug_struct(&format!("HdyViewSwitcherBar @ {:?}", self as *const _)) 807 .field("parent_instance", &self.parent_instance) 808 .finish() 809 } 810 } 811 812 // Interfaces 813 #[repr(C)] 814 pub struct HdySwipeable(c_void); 815 816 impl ::std::fmt::Debug for HdySwipeable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result817 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 818 write!(f, "HdySwipeable @ {:?}", self as *const _) 819 } 820 } 821 822 823 extern "C" { 824 825 //========================================================================= 826 // HdyArrowsDirection 827 //========================================================================= hdy_arrows_direction_get_type() -> GType828 pub fn hdy_arrows_direction_get_type() -> GType; 829 830 //========================================================================= 831 // HdyCenteringPolicy 832 //========================================================================= hdy_centering_policy_get_type() -> GType833 pub fn hdy_centering_policy_get_type() -> GType; 834 835 //========================================================================= 836 // HdyFold 837 //========================================================================= hdy_fold_get_type() -> GType838 pub fn hdy_fold_get_type() -> GType; 839 840 //========================================================================= 841 // HdyLeafletChildTransitionType 842 //========================================================================= hdy_leaflet_child_transition_type_get_type() -> GType843 pub fn hdy_leaflet_child_transition_type_get_type() -> GType; 844 845 //========================================================================= 846 // HdyLeafletModeTransitionType 847 //========================================================================= hdy_leaflet_mode_transition_type_get_type() -> GType848 pub fn hdy_leaflet_mode_transition_type_get_type() -> GType; 849 850 //========================================================================= 851 // HdyLeafletTransitionType 852 //========================================================================= hdy_leaflet_transition_type_get_type() -> GType853 pub fn hdy_leaflet_transition_type_get_type() -> GType; 854 855 //========================================================================= 856 // HdyPaginatorIndicatorStyle 857 //========================================================================= hdy_paginator_indicator_style_get_type() -> GType858 pub fn hdy_paginator_indicator_style_get_type() -> GType; 859 860 //========================================================================= 861 // HdySqueezerTransitionType 862 //========================================================================= hdy_squeezer_transition_type_get_type() -> GType863 pub fn hdy_squeezer_transition_type_get_type() -> GType; 864 865 //========================================================================= 866 // HdyViewSwitcherPolicy 867 //========================================================================= hdy_view_switcher_policy_get_type() -> GType868 pub fn hdy_view_switcher_policy_get_type() -> GType; 869 870 //========================================================================= 871 // HdyActionRow 872 //========================================================================= hdy_action_row_get_type() -> GType873 pub fn hdy_action_row_get_type() -> GType; 874 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_new() -> *mut HdyActionRow875 pub fn hdy_action_row_new() -> *mut HdyActionRow; hdy_action_row_activate(self_: *mut HdyActionRow)876 pub fn hdy_action_row_activate(self_: *mut HdyActionRow); 877 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_add_action(self_: *mut HdyActionRow, widget: *mut gtk::GtkWidget)878 pub fn hdy_action_row_add_action(self_: *mut HdyActionRow, widget: *mut gtk::GtkWidget); 879 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_add_prefix(self_: *mut HdyActionRow, widget: *mut gtk::GtkWidget)880 pub fn hdy_action_row_add_prefix(self_: *mut HdyActionRow, widget: *mut gtk::GtkWidget); 881 #[cfg(any(feature = "v0_0_7", feature = "dox"))] hdy_action_row_get_activatable_widget(self_: *mut HdyActionRow) -> *mut gtk::GtkWidget882 pub fn hdy_action_row_get_activatable_widget(self_: *mut HdyActionRow) -> *mut gtk::GtkWidget; 883 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_get_icon_name(self_: *mut HdyActionRow) -> *const c_char884 pub fn hdy_action_row_get_icon_name(self_: *mut HdyActionRow) -> *const c_char; 885 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_get_subtitle(self_: *mut HdyActionRow) -> *const c_char886 pub fn hdy_action_row_get_subtitle(self_: *mut HdyActionRow) -> *const c_char; 887 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_get_title(self_: *mut HdyActionRow) -> *const c_char888 pub fn hdy_action_row_get_title(self_: *mut HdyActionRow) -> *const c_char; 889 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_get_use_underline(self_: *mut HdyActionRow) -> gboolean890 pub fn hdy_action_row_get_use_underline(self_: *mut HdyActionRow) -> gboolean; 891 #[cfg(any(feature = "v0_0_7", feature = "dox"))] hdy_action_row_set_activatable_widget(self_: *mut HdyActionRow, widget: *mut gtk::GtkWidget)892 pub fn hdy_action_row_set_activatable_widget(self_: *mut HdyActionRow, widget: *mut gtk::GtkWidget); 893 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_set_icon_name(self_: *mut HdyActionRow, icon_name: *const c_char)894 pub fn hdy_action_row_set_icon_name(self_: *mut HdyActionRow, icon_name: *const c_char); 895 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_set_subtitle(self_: *mut HdyActionRow, subtitle: *const c_char)896 pub fn hdy_action_row_set_subtitle(self_: *mut HdyActionRow, subtitle: *const c_char); 897 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_set_title(self_: *mut HdyActionRow, title: *const c_char)898 pub fn hdy_action_row_set_title(self_: *mut HdyActionRow, title: *const c_char); 899 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_action_row_set_use_underline(self_: *mut HdyActionRow, use_underline: gboolean)900 pub fn hdy_action_row_set_use_underline(self_: *mut HdyActionRow, use_underline: gboolean); 901 902 //========================================================================= 903 // HdyArrows 904 //========================================================================= hdy_arrows_get_type() -> GType905 pub fn hdy_arrows_get_type() -> GType; hdy_arrows_new() -> *mut gtk::GtkWidget906 pub fn hdy_arrows_new() -> *mut gtk::GtkWidget; hdy_arrows_animate(self_: *mut HdyArrows)907 pub fn hdy_arrows_animate(self_: *mut HdyArrows); hdy_arrows_get_count(self_: *mut HdyArrows) -> c_uint908 pub fn hdy_arrows_get_count(self_: *mut HdyArrows) -> c_uint; hdy_arrows_get_direction(self_: *mut HdyArrows) -> HdyArrowsDirection909 pub fn hdy_arrows_get_direction(self_: *mut HdyArrows) -> HdyArrowsDirection; hdy_arrows_get_duration(self_: *mut HdyArrows) -> c_uint910 pub fn hdy_arrows_get_duration(self_: *mut HdyArrows) -> c_uint; hdy_arrows_set_count(self_: *mut HdyArrows, count: c_uint)911 pub fn hdy_arrows_set_count(self_: *mut HdyArrows, count: c_uint); hdy_arrows_set_direction(self_: *mut HdyArrows, direction: HdyArrowsDirection)912 pub fn hdy_arrows_set_direction(self_: *mut HdyArrows, direction: HdyArrowsDirection); hdy_arrows_set_duration(self_: *mut HdyArrows, duration: c_uint)913 pub fn hdy_arrows_set_duration(self_: *mut HdyArrows, duration: c_uint); 914 915 //========================================================================= 916 // HdyColumn 917 //========================================================================= hdy_column_get_type() -> GType918 pub fn hdy_column_get_type() -> GType; hdy_column_new() -> *mut HdyColumn919 pub fn hdy_column_new() -> *mut HdyColumn; hdy_column_get_linear_growth_width(self_: *mut HdyColumn) -> c_int920 pub fn hdy_column_get_linear_growth_width(self_: *mut HdyColumn) -> c_int; hdy_column_get_maximum_width(self_: *mut HdyColumn) -> c_int921 pub fn hdy_column_get_maximum_width(self_: *mut HdyColumn) -> c_int; hdy_column_set_linear_growth_width(self_: *mut HdyColumn, linear_growth_width: c_int)922 pub fn hdy_column_set_linear_growth_width(self_: *mut HdyColumn, linear_growth_width: c_int); hdy_column_set_maximum_width(self_: *mut HdyColumn, maximum_width: c_int)923 pub fn hdy_column_set_maximum_width(self_: *mut HdyColumn, maximum_width: c_int); 924 925 //========================================================================= 926 // HdyComboRow 927 //========================================================================= hdy_combo_row_get_type() -> GType928 pub fn hdy_combo_row_get_type() -> GType; 929 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_combo_row_new() -> *mut HdyComboRow930 pub fn hdy_combo_row_new() -> *mut HdyComboRow; 931 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_combo_row_bind_model(self_: *mut HdyComboRow, model: *mut gio::GListModel, create_list_widget_func: gtk::GtkListBoxCreateWidgetFunc, create_current_widget_func: gtk::GtkListBoxCreateWidgetFunc, user_data: gpointer, user_data_free_func: glib::GDestroyNotify)932 pub fn hdy_combo_row_bind_model(self_: *mut HdyComboRow, model: *mut gio::GListModel, create_list_widget_func: gtk::GtkListBoxCreateWidgetFunc, create_current_widget_func: gtk::GtkListBoxCreateWidgetFunc, user_data: gpointer, user_data_free_func: glib::GDestroyNotify); 933 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_combo_row_bind_name_model(self_: *mut HdyComboRow, model: *mut gio::GListModel, get_name_func: HdyComboRowGetNameFunc, user_data: gpointer, user_data_free_func: glib::GDestroyNotify)934 pub fn hdy_combo_row_bind_name_model(self_: *mut HdyComboRow, model: *mut gio::GListModel, get_name_func: HdyComboRowGetNameFunc, user_data: gpointer, user_data_free_func: glib::GDestroyNotify); 935 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_combo_row_get_model(self_: *mut HdyComboRow) -> *mut gio::GListModel936 pub fn hdy_combo_row_get_model(self_: *mut HdyComboRow) -> *mut gio::GListModel; 937 #[cfg(any(feature = "v0_0_7", feature = "dox"))] hdy_combo_row_get_selected_index(self_: *mut HdyComboRow) -> c_int938 pub fn hdy_combo_row_get_selected_index(self_: *mut HdyComboRow) -> c_int; 939 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_combo_row_get_use_subtitle(self_: *mut HdyComboRow) -> gboolean940 pub fn hdy_combo_row_get_use_subtitle(self_: *mut HdyComboRow) -> gboolean; 941 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_combo_row_set_for_enum(self_: *mut HdyComboRow, enum_type: GType, get_name_func: HdyComboRowGetEnumValueNameFunc, user_data: gpointer, user_data_free_func: glib::GDestroyNotify)942 pub fn hdy_combo_row_set_for_enum(self_: *mut HdyComboRow, enum_type: GType, get_name_func: HdyComboRowGetEnumValueNameFunc, user_data: gpointer, user_data_free_func: glib::GDestroyNotify); 943 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_combo_row_set_get_name_func(self_: *mut HdyComboRow, get_name_func: HdyComboRowGetNameFunc, user_data: gpointer, user_data_free_func: glib::GDestroyNotify)944 pub fn hdy_combo_row_set_get_name_func(self_: *mut HdyComboRow, get_name_func: HdyComboRowGetNameFunc, user_data: gpointer, user_data_free_func: glib::GDestroyNotify); 945 #[cfg(any(feature = "v0_0_7", feature = "dox"))] hdy_combo_row_set_selected_index(self_: *mut HdyComboRow, selected_index: c_int)946 pub fn hdy_combo_row_set_selected_index(self_: *mut HdyComboRow, selected_index: c_int); 947 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_combo_row_set_use_subtitle(self_: *mut HdyComboRow, use_subtitle: gboolean)948 pub fn hdy_combo_row_set_use_subtitle(self_: *mut HdyComboRow, use_subtitle: gboolean); 949 950 //========================================================================= 951 // HdyDialer 952 //========================================================================= hdy_dialer_get_type() -> GType953 pub fn hdy_dialer_get_type() -> GType; hdy_dialer_new() -> *mut gtk::GtkWidget954 pub fn hdy_dialer_new() -> *mut gtk::GtkWidget; hdy_dialer_clear_number(self_: *mut HdyDialer)955 pub fn hdy_dialer_clear_number(self_: *mut HdyDialer); hdy_dialer_get_number(self_: *mut HdyDialer) -> *const c_char956 pub fn hdy_dialer_get_number(self_: *mut HdyDialer) -> *const c_char; hdy_dialer_get_relief(self_: *mut HdyDialer) -> gtk::GtkReliefStyle957 pub fn hdy_dialer_get_relief(self_: *mut HdyDialer) -> gtk::GtkReliefStyle; hdy_dialer_get_show_action_buttons(self_: *mut HdyDialer) -> gboolean958 pub fn hdy_dialer_get_show_action_buttons(self_: *mut HdyDialer) -> gboolean; hdy_dialer_set_number(self_: *mut HdyDialer, number: *const c_char)959 pub fn hdy_dialer_set_number(self_: *mut HdyDialer, number: *const c_char); hdy_dialer_set_relief(self_: *mut HdyDialer, relief: gtk::GtkReliefStyle)960 pub fn hdy_dialer_set_relief(self_: *mut HdyDialer, relief: gtk::GtkReliefStyle); hdy_dialer_set_show_action_buttons(self_: *mut HdyDialer, show: gboolean)961 pub fn hdy_dialer_set_show_action_buttons(self_: *mut HdyDialer, show: gboolean); 962 963 //========================================================================= 964 // HdyDialerButton 965 //========================================================================= hdy_dialer_button_get_type() -> GType966 pub fn hdy_dialer_button_get_type() -> GType; hdy_dialer_button_new(symbols: *const c_char) -> *mut gtk::GtkWidget967 pub fn hdy_dialer_button_new(symbols: *const c_char) -> *mut gtk::GtkWidget; hdy_dialer_button_get_digit(self_: *mut HdyDialerButton) -> c_int968 pub fn hdy_dialer_button_get_digit(self_: *mut HdyDialerButton) -> c_int; hdy_dialer_button_get_symbols(self_: *mut HdyDialerButton) -> *const c_char969 pub fn hdy_dialer_button_get_symbols(self_: *mut HdyDialerButton) -> *const c_char; 970 971 //========================================================================= 972 // HdyDialerCycleButton 973 //========================================================================= hdy_dialer_cycle_button_get_type() -> GType974 pub fn hdy_dialer_cycle_button_get_type() -> GType; hdy_dialer_cycle_button_new(symbols: *const c_char) -> *mut gtk::GtkWidget975 pub fn hdy_dialer_cycle_button_new(symbols: *const c_char) -> *mut gtk::GtkWidget; hdy_dialer_cycle_button_get_current_symbol(self_: *mut HdyDialerCycleButton) -> u32976 pub fn hdy_dialer_cycle_button_get_current_symbol(self_: *mut HdyDialerCycleButton) -> u32; hdy_dialer_cycle_button_get_cycle_timeout(self_: *mut HdyDialerCycleButton) -> c_int977 pub fn hdy_dialer_cycle_button_get_cycle_timeout(self_: *mut HdyDialerCycleButton) -> c_int; hdy_dialer_cycle_button_is_cycling(self_: *mut HdyDialerCycleButton) -> gboolean978 pub fn hdy_dialer_cycle_button_is_cycling(self_: *mut HdyDialerCycleButton) -> gboolean; hdy_dialer_cycle_button_set_cycle_timeout(self_: *mut HdyDialerCycleButton, timeout: c_int)979 pub fn hdy_dialer_cycle_button_set_cycle_timeout(self_: *mut HdyDialerCycleButton, timeout: c_int); hdy_dialer_cycle_button_stop_cycle(self_: *mut HdyDialerCycleButton)980 pub fn hdy_dialer_cycle_button_stop_cycle(self_: *mut HdyDialerCycleButton); 981 982 //========================================================================= 983 // HdyDialog 984 //========================================================================= hdy_dialog_get_type() -> GType985 pub fn hdy_dialog_get_type() -> GType; 986 #[cfg(any(feature = "v0_0_7", feature = "dox"))] hdy_dialog_new(parent: *mut gtk::GtkWindow) -> *mut gtk::GtkWidget987 pub fn hdy_dialog_new(parent: *mut gtk::GtkWindow) -> *mut gtk::GtkWidget; 988 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_dialog_get_narrow(self_: *mut HdyDialog) -> gboolean989 pub fn hdy_dialog_get_narrow(self_: *mut HdyDialog) -> gboolean; 990 991 //========================================================================= 992 // HdyEnumValueObject 993 //========================================================================= hdy_enum_value_object_get_type() -> GType994 pub fn hdy_enum_value_object_get_type() -> GType; hdy_enum_value_object_new(enum_value: *mut gobject::GEnumValue) -> *mut HdyEnumValueObject995 pub fn hdy_enum_value_object_new(enum_value: *mut gobject::GEnumValue) -> *mut HdyEnumValueObject; hdy_enum_value_object_get_name(self_: *mut HdyEnumValueObject) -> *const c_char996 pub fn hdy_enum_value_object_get_name(self_: *mut HdyEnumValueObject) -> *const c_char; hdy_enum_value_object_get_nick(self_: *mut HdyEnumValueObject) -> *const c_char997 pub fn hdy_enum_value_object_get_nick(self_: *mut HdyEnumValueObject) -> *const c_char; hdy_enum_value_object_get_value(self_: *mut HdyEnumValueObject) -> c_int998 pub fn hdy_enum_value_object_get_value(self_: *mut HdyEnumValueObject) -> c_int; 999 1000 //========================================================================= 1001 // HdyExpanderRow 1002 //========================================================================= hdy_expander_row_get_type() -> GType1003 pub fn hdy_expander_row_get_type() -> GType; 1004 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_expander_row_new() -> *mut HdyExpanderRow1005 pub fn hdy_expander_row_new() -> *mut HdyExpanderRow; 1006 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_expander_row_get_enable_expansion(self_: *mut HdyExpanderRow) -> gboolean1007 pub fn hdy_expander_row_get_enable_expansion(self_: *mut HdyExpanderRow) -> gboolean; hdy_expander_row_get_expanded(self_: *mut HdyExpanderRow) -> gboolean1008 pub fn hdy_expander_row_get_expanded(self_: *mut HdyExpanderRow) -> gboolean; 1009 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_expander_row_get_show_enable_switch(self_: *mut HdyExpanderRow) -> gboolean1010 pub fn hdy_expander_row_get_show_enable_switch(self_: *mut HdyExpanderRow) -> gboolean; 1011 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_expander_row_set_enable_expansion(self_: *mut HdyExpanderRow, enable_expansion: gboolean)1012 pub fn hdy_expander_row_set_enable_expansion(self_: *mut HdyExpanderRow, enable_expansion: gboolean); hdy_expander_row_set_expanded(self_: *mut HdyExpanderRow, expanded: gboolean)1013 pub fn hdy_expander_row_set_expanded(self_: *mut HdyExpanderRow, expanded: gboolean); 1014 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_expander_row_set_show_enable_switch(self_: *mut HdyExpanderRow, show_enable_switch: gboolean)1015 pub fn hdy_expander_row_set_show_enable_switch(self_: *mut HdyExpanderRow, show_enable_switch: gboolean); 1016 1017 //========================================================================= 1018 // HdyHeaderBar 1019 //========================================================================= hdy_header_bar_get_type() -> GType1020 pub fn hdy_header_bar_get_type() -> GType; 1021 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_new() -> *mut gtk::GtkWidget1022 pub fn hdy_header_bar_new() -> *mut gtk::GtkWidget; 1023 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_get_centering_policy(self_: *mut HdyHeaderBar) -> HdyCenteringPolicy1024 pub fn hdy_header_bar_get_centering_policy(self_: *mut HdyHeaderBar) -> HdyCenteringPolicy; 1025 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_get_custom_title(self_: *mut HdyHeaderBar) -> *mut gtk::GtkWidget1026 pub fn hdy_header_bar_get_custom_title(self_: *mut HdyHeaderBar) -> *mut gtk::GtkWidget; 1027 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_get_decoration_layout(self_: *mut HdyHeaderBar) -> *const c_char1028 pub fn hdy_header_bar_get_decoration_layout(self_: *mut HdyHeaderBar) -> *const c_char; 1029 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_get_has_subtitle(self_: *mut HdyHeaderBar) -> gboolean1030 pub fn hdy_header_bar_get_has_subtitle(self_: *mut HdyHeaderBar) -> gboolean; 1031 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_get_interpolate_size(self_: *mut HdyHeaderBar) -> gboolean1032 pub fn hdy_header_bar_get_interpolate_size(self_: *mut HdyHeaderBar) -> gboolean; 1033 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_get_show_close_button(self_: *mut HdyHeaderBar) -> gboolean1034 pub fn hdy_header_bar_get_show_close_button(self_: *mut HdyHeaderBar) -> gboolean; 1035 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_get_subtitle(self_: *mut HdyHeaderBar) -> *const c_char1036 pub fn hdy_header_bar_get_subtitle(self_: *mut HdyHeaderBar) -> *const c_char; 1037 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_get_title(self_: *mut HdyHeaderBar) -> *const c_char1038 pub fn hdy_header_bar_get_title(self_: *mut HdyHeaderBar) -> *const c_char; 1039 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_get_transition_duration(self_: *mut HdyHeaderBar) -> c_uint1040 pub fn hdy_header_bar_get_transition_duration(self_: *mut HdyHeaderBar) -> c_uint; 1041 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_get_transition_running(self_: *mut HdyHeaderBar) -> gboolean1042 pub fn hdy_header_bar_get_transition_running(self_: *mut HdyHeaderBar) -> gboolean; 1043 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_pack_end(self_: *mut HdyHeaderBar, child: *mut gtk::GtkWidget)1044 pub fn hdy_header_bar_pack_end(self_: *mut HdyHeaderBar, child: *mut gtk::GtkWidget); 1045 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_pack_start(self_: *mut HdyHeaderBar, child: *mut gtk::GtkWidget)1046 pub fn hdy_header_bar_pack_start(self_: *mut HdyHeaderBar, child: *mut gtk::GtkWidget); 1047 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_set_centering_policy(self_: *mut HdyHeaderBar, centering_policy: HdyCenteringPolicy)1048 pub fn hdy_header_bar_set_centering_policy(self_: *mut HdyHeaderBar, centering_policy: HdyCenteringPolicy); 1049 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_set_custom_title(self_: *mut HdyHeaderBar, title_widget: *mut gtk::GtkWidget)1050 pub fn hdy_header_bar_set_custom_title(self_: *mut HdyHeaderBar, title_widget: *mut gtk::GtkWidget); 1051 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_set_decoration_layout(self_: *mut HdyHeaderBar, layout: *const c_char)1052 pub fn hdy_header_bar_set_decoration_layout(self_: *mut HdyHeaderBar, layout: *const c_char); 1053 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_set_has_subtitle(self_: *mut HdyHeaderBar, setting: gboolean)1054 pub fn hdy_header_bar_set_has_subtitle(self_: *mut HdyHeaderBar, setting: gboolean); 1055 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_set_interpolate_size(self_: *mut HdyHeaderBar, interpolate_size: gboolean)1056 pub fn hdy_header_bar_set_interpolate_size(self_: *mut HdyHeaderBar, interpolate_size: gboolean); 1057 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_set_show_close_button(self_: *mut HdyHeaderBar, setting: gboolean)1058 pub fn hdy_header_bar_set_show_close_button(self_: *mut HdyHeaderBar, setting: gboolean); 1059 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_set_subtitle(self_: *mut HdyHeaderBar, subtitle: *const c_char)1060 pub fn hdy_header_bar_set_subtitle(self_: *mut HdyHeaderBar, subtitle: *const c_char); 1061 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_set_title(self_: *mut HdyHeaderBar, title: *const c_char)1062 pub fn hdy_header_bar_set_title(self_: *mut HdyHeaderBar, title: *const c_char); 1063 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_header_bar_set_transition_duration(self_: *mut HdyHeaderBar, duration: c_uint)1064 pub fn hdy_header_bar_set_transition_duration(self_: *mut HdyHeaderBar, duration: c_uint); 1065 1066 //========================================================================= 1067 // HdyHeaderGroup 1068 //========================================================================= hdy_header_group_get_type() -> GType1069 pub fn hdy_header_group_get_type() -> GType; hdy_header_group_new() -> *mut HdyHeaderGroup1070 pub fn hdy_header_group_new() -> *mut HdyHeaderGroup; hdy_header_group_add_header_bar(self_: *mut HdyHeaderGroup, header_bar: *mut gtk::GtkHeaderBar)1071 pub fn hdy_header_group_add_header_bar(self_: *mut HdyHeaderGroup, header_bar: *mut gtk::GtkHeaderBar); hdy_header_group_get_focus(self_: *mut HdyHeaderGroup) -> *mut gtk::GtkHeaderBar1072 pub fn hdy_header_group_get_focus(self_: *mut HdyHeaderGroup) -> *mut gtk::GtkHeaderBar; hdy_header_group_get_header_bars(self_: *mut HdyHeaderGroup) -> *mut glib::GSList1073 pub fn hdy_header_group_get_header_bars(self_: *mut HdyHeaderGroup) -> *mut glib::GSList; hdy_header_group_remove_header_bar(self_: *mut HdyHeaderGroup, header_bar: *mut gtk::GtkHeaderBar)1074 pub fn hdy_header_group_remove_header_bar(self_: *mut HdyHeaderGroup, header_bar: *mut gtk::GtkHeaderBar); hdy_header_group_set_focus(self_: *mut HdyHeaderGroup, header_bar: *mut gtk::GtkHeaderBar)1075 pub fn hdy_header_group_set_focus(self_: *mut HdyHeaderGroup, header_bar: *mut gtk::GtkHeaderBar); 1076 1077 //========================================================================= 1078 // HdyKeypad 1079 //========================================================================= hdy_keypad_get_type() -> GType1080 pub fn hdy_keypad_get_type() -> GType; hdy_keypad_new(only_digits: gboolean, show_symbols: gboolean) -> *mut gtk::GtkWidget1081 pub fn hdy_keypad_new(only_digits: gboolean, show_symbols: gboolean) -> *mut gtk::GtkWidget; hdy_keypad_get_entry(self_: *mut HdyKeypad) -> *mut gtk::GtkWidget1082 pub fn hdy_keypad_get_entry(self_: *mut HdyKeypad) -> *mut gtk::GtkWidget; hdy_keypad_set_entry(self_: *mut HdyKeypad, entry: *mut gtk::GtkEntry)1083 pub fn hdy_keypad_set_entry(self_: *mut HdyKeypad, entry: *mut gtk::GtkEntry); hdy_keypad_set_left_action(self_: *mut HdyKeypad, widget: *mut gtk::GtkWidget)1084 pub fn hdy_keypad_set_left_action(self_: *mut HdyKeypad, widget: *mut gtk::GtkWidget); hdy_keypad_set_right_action(self_: *mut HdyKeypad, widget: *mut gtk::GtkWidget)1085 pub fn hdy_keypad_set_right_action(self_: *mut HdyKeypad, widget: *mut gtk::GtkWidget); hdy_keypad_show_symbols(self_: *mut HdyKeypad, visible: gboolean)1086 pub fn hdy_keypad_show_symbols(self_: *mut HdyKeypad, visible: gboolean); 1087 1088 //========================================================================= 1089 // HdyLeaflet 1090 //========================================================================= hdy_leaflet_get_type() -> GType1091 pub fn hdy_leaflet_get_type() -> GType; hdy_leaflet_new() -> *mut gtk::GtkWidget1092 pub fn hdy_leaflet_new() -> *mut gtk::GtkWidget; 1093 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_leaflet_get_can_swipe_back(self_: *mut HdyLeaflet) -> gboolean1094 pub fn hdy_leaflet_get_can_swipe_back(self_: *mut HdyLeaflet) -> gboolean; 1095 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_leaflet_get_can_swipe_forward(self_: *mut HdyLeaflet) -> gboolean1096 pub fn hdy_leaflet_get_can_swipe_forward(self_: *mut HdyLeaflet) -> gboolean; hdy_leaflet_get_child_transition_duration(self_: *mut HdyLeaflet) -> c_uint1097 pub fn hdy_leaflet_get_child_transition_duration(self_: *mut HdyLeaflet) -> c_uint; hdy_leaflet_get_child_transition_running(self_: *mut HdyLeaflet) -> gboolean1098 pub fn hdy_leaflet_get_child_transition_running(self_: *mut HdyLeaflet) -> gboolean; hdy_leaflet_get_child_transition_type(self_: *mut HdyLeaflet) -> HdyLeafletChildTransitionType1099 pub fn hdy_leaflet_get_child_transition_type(self_: *mut HdyLeaflet) -> HdyLeafletChildTransitionType; hdy_leaflet_get_fold(self_: *mut HdyLeaflet) -> HdyFold1100 pub fn hdy_leaflet_get_fold(self_: *mut HdyLeaflet) -> HdyFold; hdy_leaflet_get_homogeneous(self_: *mut HdyLeaflet, fold: HdyFold, orientation: gtk::GtkOrientation) -> gboolean1101 pub fn hdy_leaflet_get_homogeneous(self_: *mut HdyLeaflet, fold: HdyFold, orientation: gtk::GtkOrientation) -> gboolean; hdy_leaflet_get_interpolate_size(self_: *mut HdyLeaflet) -> gboolean1102 pub fn hdy_leaflet_get_interpolate_size(self_: *mut HdyLeaflet) -> gboolean; hdy_leaflet_get_mode_transition_duration(self_: *mut HdyLeaflet) -> c_uint1103 pub fn hdy_leaflet_get_mode_transition_duration(self_: *mut HdyLeaflet) -> c_uint; hdy_leaflet_get_mode_transition_type(self_: *mut HdyLeaflet) -> HdyLeafletModeTransitionType1104 pub fn hdy_leaflet_get_mode_transition_type(self_: *mut HdyLeaflet) -> HdyLeafletModeTransitionType; 1105 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_leaflet_get_transition_type(self_: *mut HdyLeaflet) -> HdyLeafletTransitionType1106 pub fn hdy_leaflet_get_transition_type(self_: *mut HdyLeaflet) -> HdyLeafletTransitionType; hdy_leaflet_get_visible_child(self_: *mut HdyLeaflet) -> *mut gtk::GtkWidget1107 pub fn hdy_leaflet_get_visible_child(self_: *mut HdyLeaflet) -> *mut gtk::GtkWidget; hdy_leaflet_get_visible_child_name(self_: *mut HdyLeaflet) -> *const c_char1108 pub fn hdy_leaflet_get_visible_child_name(self_: *mut HdyLeaflet) -> *const c_char; 1109 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_leaflet_set_can_swipe_back(self_: *mut HdyLeaflet, can_swipe_back: gboolean)1110 pub fn hdy_leaflet_set_can_swipe_back(self_: *mut HdyLeaflet, can_swipe_back: gboolean); 1111 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_leaflet_set_can_swipe_forward(self_: *mut HdyLeaflet, can_swipe_forward: gboolean)1112 pub fn hdy_leaflet_set_can_swipe_forward(self_: *mut HdyLeaflet, can_swipe_forward: gboolean); hdy_leaflet_set_child_transition_duration(self_: *mut HdyLeaflet, duration: c_uint)1113 pub fn hdy_leaflet_set_child_transition_duration(self_: *mut HdyLeaflet, duration: c_uint); hdy_leaflet_set_child_transition_type(self_: *mut HdyLeaflet, transition: HdyLeafletChildTransitionType)1114 pub fn hdy_leaflet_set_child_transition_type(self_: *mut HdyLeaflet, transition: HdyLeafletChildTransitionType); hdy_leaflet_set_homogeneous(self_: *mut HdyLeaflet, fold: HdyFold, orientation: gtk::GtkOrientation, homogeneous: gboolean)1115 pub fn hdy_leaflet_set_homogeneous(self_: *mut HdyLeaflet, fold: HdyFold, orientation: gtk::GtkOrientation, homogeneous: gboolean); hdy_leaflet_set_interpolate_size(self_: *mut HdyLeaflet, interpolate_size: gboolean)1116 pub fn hdy_leaflet_set_interpolate_size(self_: *mut HdyLeaflet, interpolate_size: gboolean); hdy_leaflet_set_mode_transition_duration(self_: *mut HdyLeaflet, duration: c_uint)1117 pub fn hdy_leaflet_set_mode_transition_duration(self_: *mut HdyLeaflet, duration: c_uint); hdy_leaflet_set_mode_transition_type(self_: *mut HdyLeaflet, transition: HdyLeafletModeTransitionType)1118 pub fn hdy_leaflet_set_mode_transition_type(self_: *mut HdyLeaflet, transition: HdyLeafletModeTransitionType); 1119 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_leaflet_set_transition_type(self_: *mut HdyLeaflet, transition: HdyLeafletTransitionType)1120 pub fn hdy_leaflet_set_transition_type(self_: *mut HdyLeaflet, transition: HdyLeafletTransitionType); hdy_leaflet_set_visible_child(self_: *mut HdyLeaflet, visible_child: *mut gtk::GtkWidget)1121 pub fn hdy_leaflet_set_visible_child(self_: *mut HdyLeaflet, visible_child: *mut gtk::GtkWidget); hdy_leaflet_set_visible_child_name(self_: *mut HdyLeaflet, name: *const c_char)1122 pub fn hdy_leaflet_set_visible_child_name(self_: *mut HdyLeaflet, name: *const c_char); 1123 1124 //========================================================================= 1125 // HdyPaginator 1126 //========================================================================= hdy_paginator_get_type() -> GType1127 pub fn hdy_paginator_get_type() -> GType; 1128 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_new() -> *mut HdyPaginator1129 pub fn hdy_paginator_new() -> *mut HdyPaginator; 1130 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_paginator_get_allow_mouse_drag(self_: *mut HdyPaginator) -> gboolean1131 pub fn hdy_paginator_get_allow_mouse_drag(self_: *mut HdyPaginator) -> gboolean; 1132 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_get_animation_duration(self_: *mut HdyPaginator) -> c_uint1133 pub fn hdy_paginator_get_animation_duration(self_: *mut HdyPaginator) -> c_uint; 1134 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_get_center_content(self_: *mut HdyPaginator) -> gboolean1135 pub fn hdy_paginator_get_center_content(self_: *mut HdyPaginator) -> gboolean; 1136 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_get_indicator_spacing(self_: *mut HdyPaginator) -> c_uint1137 pub fn hdy_paginator_get_indicator_spacing(self_: *mut HdyPaginator) -> c_uint; 1138 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_get_indicator_style(self_: *mut HdyPaginator) -> HdyPaginatorIndicatorStyle1139 pub fn hdy_paginator_get_indicator_style(self_: *mut HdyPaginator) -> HdyPaginatorIndicatorStyle; 1140 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_get_interactive(self_: *mut HdyPaginator) -> gboolean1141 pub fn hdy_paginator_get_interactive(self_: *mut HdyPaginator) -> gboolean; 1142 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_get_n_pages(self_: *mut HdyPaginator) -> c_uint1143 pub fn hdy_paginator_get_n_pages(self_: *mut HdyPaginator) -> c_uint; 1144 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_get_position(self_: *mut HdyPaginator) -> c_double1145 pub fn hdy_paginator_get_position(self_: *mut HdyPaginator) -> c_double; 1146 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_get_spacing(self_: *mut HdyPaginator) -> c_uint1147 pub fn hdy_paginator_get_spacing(self_: *mut HdyPaginator) -> c_uint; 1148 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_insert(self_: *mut HdyPaginator, child: *mut gtk::GtkWidget, position: c_int)1149 pub fn hdy_paginator_insert(self_: *mut HdyPaginator, child: *mut gtk::GtkWidget, position: c_int); 1150 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_prepend(self_: *mut HdyPaginator, child: *mut gtk::GtkWidget)1151 pub fn hdy_paginator_prepend(self_: *mut HdyPaginator, child: *mut gtk::GtkWidget); 1152 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_reorder(self_: *mut HdyPaginator, child: *mut gtk::GtkWidget, position: c_int)1153 pub fn hdy_paginator_reorder(self_: *mut HdyPaginator, child: *mut gtk::GtkWidget, position: c_int); 1154 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_scroll_to(self_: *mut HdyPaginator, widget: *mut gtk::GtkWidget)1155 pub fn hdy_paginator_scroll_to(self_: *mut HdyPaginator, widget: *mut gtk::GtkWidget); 1156 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_scroll_to_full(self_: *mut HdyPaginator, widget: *mut gtk::GtkWidget, duration: i64)1157 pub fn hdy_paginator_scroll_to_full(self_: *mut HdyPaginator, widget: *mut gtk::GtkWidget, duration: i64); 1158 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_paginator_set_allow_mouse_drag(self_: *mut HdyPaginator, allow_mouse_drag: gboolean)1159 pub fn hdy_paginator_set_allow_mouse_drag(self_: *mut HdyPaginator, allow_mouse_drag: gboolean); 1160 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_set_animation_duration(self_: *mut HdyPaginator, duration: c_uint)1161 pub fn hdy_paginator_set_animation_duration(self_: *mut HdyPaginator, duration: c_uint); 1162 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_set_center_content(self_: *mut HdyPaginator, center_content: gboolean)1163 pub fn hdy_paginator_set_center_content(self_: *mut HdyPaginator, center_content: gboolean); 1164 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_set_indicator_spacing(self_: *mut HdyPaginator, spacing: c_uint)1165 pub fn hdy_paginator_set_indicator_spacing(self_: *mut HdyPaginator, spacing: c_uint); 1166 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_set_indicator_style(self_: *mut HdyPaginator, style: HdyPaginatorIndicatorStyle)1167 pub fn hdy_paginator_set_indicator_style(self_: *mut HdyPaginator, style: HdyPaginatorIndicatorStyle); 1168 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_set_interactive(self_: *mut HdyPaginator, interactive: gboolean)1169 pub fn hdy_paginator_set_interactive(self_: *mut HdyPaginator, interactive: gboolean); 1170 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_paginator_set_spacing(self_: *mut HdyPaginator, spacing: c_uint)1171 pub fn hdy_paginator_set_spacing(self_: *mut HdyPaginator, spacing: c_uint); 1172 1173 //========================================================================= 1174 // HdyPreferencesGroup 1175 //========================================================================= hdy_preferences_group_get_type() -> GType1176 pub fn hdy_preferences_group_get_type() -> GType; 1177 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_group_new() -> *mut HdyPreferencesGroup1178 pub fn hdy_preferences_group_new() -> *mut HdyPreferencesGroup; 1179 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_group_get_description(self_: *mut HdyPreferencesGroup) -> *const c_char1180 pub fn hdy_preferences_group_get_description(self_: *mut HdyPreferencesGroup) -> *const c_char; 1181 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_group_get_title(self_: *mut HdyPreferencesGroup) -> *const c_char1182 pub fn hdy_preferences_group_get_title(self_: *mut HdyPreferencesGroup) -> *const c_char; 1183 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_group_set_description(self_: *mut HdyPreferencesGroup, description: *const c_char)1184 pub fn hdy_preferences_group_set_description(self_: *mut HdyPreferencesGroup, description: *const c_char); 1185 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_group_set_title(self_: *mut HdyPreferencesGroup, title: *const c_char)1186 pub fn hdy_preferences_group_set_title(self_: *mut HdyPreferencesGroup, title: *const c_char); 1187 1188 //========================================================================= 1189 // HdyPreferencesPage 1190 //========================================================================= hdy_preferences_page_get_type() -> GType1191 pub fn hdy_preferences_page_get_type() -> GType; 1192 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_page_new() -> *mut HdyPreferencesPage1193 pub fn hdy_preferences_page_new() -> *mut HdyPreferencesPage; 1194 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_page_get_icon_name(self_: *mut HdyPreferencesPage) -> *const c_char1195 pub fn hdy_preferences_page_get_icon_name(self_: *mut HdyPreferencesPage) -> *const c_char; 1196 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_page_get_title(self_: *mut HdyPreferencesPage) -> *const c_char1197 pub fn hdy_preferences_page_get_title(self_: *mut HdyPreferencesPage) -> *const c_char; 1198 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_page_set_icon_name(self_: *mut HdyPreferencesPage, icon_name: *const c_char)1199 pub fn hdy_preferences_page_set_icon_name(self_: *mut HdyPreferencesPage, icon_name: *const c_char); 1200 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_page_set_title(self_: *mut HdyPreferencesPage, title: *const c_char)1201 pub fn hdy_preferences_page_set_title(self_: *mut HdyPreferencesPage, title: *const c_char); 1202 1203 //========================================================================= 1204 // HdyPreferencesRow 1205 //========================================================================= hdy_preferences_row_get_type() -> GType1206 pub fn hdy_preferences_row_get_type() -> GType; 1207 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_row_new() -> *mut HdyPreferencesRow1208 pub fn hdy_preferences_row_new() -> *mut HdyPreferencesRow; 1209 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_row_get_title(self_: *mut HdyPreferencesRow) -> *const c_char1210 pub fn hdy_preferences_row_get_title(self_: *mut HdyPreferencesRow) -> *const c_char; 1211 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_row_get_use_underline(self_: *mut HdyPreferencesRow) -> gboolean1212 pub fn hdy_preferences_row_get_use_underline(self_: *mut HdyPreferencesRow) -> gboolean; 1213 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_row_set_title(self_: *mut HdyPreferencesRow, title: *const c_char)1214 pub fn hdy_preferences_row_set_title(self_: *mut HdyPreferencesRow, title: *const c_char); 1215 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_row_set_use_underline(self_: *mut HdyPreferencesRow, use_underline: gboolean)1216 pub fn hdy_preferences_row_set_use_underline(self_: *mut HdyPreferencesRow, use_underline: gboolean); 1217 1218 //========================================================================= 1219 // HdyPreferencesWindow 1220 //========================================================================= hdy_preferences_window_get_type() -> GType1221 pub fn hdy_preferences_window_get_type() -> GType; 1222 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_preferences_window_new() -> *mut HdyPreferencesWindow1223 pub fn hdy_preferences_window_new() -> *mut HdyPreferencesWindow; 1224 1225 //========================================================================= 1226 // HdySearchBar 1227 //========================================================================= hdy_search_bar_get_type() -> GType1228 pub fn hdy_search_bar_get_type() -> GType; 1229 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_search_bar_new() -> *mut gtk::GtkWidget1230 pub fn hdy_search_bar_new() -> *mut gtk::GtkWidget; 1231 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_search_bar_connect_entry(self_: *mut HdySearchBar, entry: *mut gtk::GtkEntry)1232 pub fn hdy_search_bar_connect_entry(self_: *mut HdySearchBar, entry: *mut gtk::GtkEntry); 1233 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_search_bar_get_search_mode(self_: *mut HdySearchBar) -> gboolean1234 pub fn hdy_search_bar_get_search_mode(self_: *mut HdySearchBar) -> gboolean; 1235 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_search_bar_get_show_close_button(self_: *mut HdySearchBar) -> gboolean1236 pub fn hdy_search_bar_get_show_close_button(self_: *mut HdySearchBar) -> gboolean; 1237 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_search_bar_handle_event(self_: *mut HdySearchBar, event: *mut gdk::GdkEvent) -> gboolean1238 pub fn hdy_search_bar_handle_event(self_: *mut HdySearchBar, event: *mut gdk::GdkEvent) -> gboolean; 1239 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_search_bar_set_search_mode(self_: *mut HdySearchBar, search_mode: gboolean)1240 pub fn hdy_search_bar_set_search_mode(self_: *mut HdySearchBar, search_mode: gboolean); 1241 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_search_bar_set_show_close_button(self_: *mut HdySearchBar, visible: gboolean)1242 pub fn hdy_search_bar_set_show_close_button(self_: *mut HdySearchBar, visible: gboolean); 1243 1244 //========================================================================= 1245 // HdySqueezer 1246 //========================================================================= hdy_squeezer_get_type() -> GType1247 pub fn hdy_squeezer_get_type() -> GType; hdy_squeezer_new() -> *mut HdySqueezer1248 pub fn hdy_squeezer_new() -> *mut HdySqueezer; hdy_squeezer_get_child_enabled(self_: *mut HdySqueezer, child: *mut gtk::GtkWidget) -> gboolean1249 pub fn hdy_squeezer_get_child_enabled(self_: *mut HdySqueezer, child: *mut gtk::GtkWidget) -> gboolean; 1250 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_squeezer_get_homogeneous(self_: *mut HdySqueezer) -> gboolean1251 pub fn hdy_squeezer_get_homogeneous(self_: *mut HdySqueezer) -> gboolean; 1252 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_squeezer_get_interpolate_size(self_: *mut HdySqueezer) -> gboolean1253 pub fn hdy_squeezer_get_interpolate_size(self_: *mut HdySqueezer) -> gboolean; hdy_squeezer_get_transition_duration(self_: *mut HdySqueezer) -> c_uint1254 pub fn hdy_squeezer_get_transition_duration(self_: *mut HdySqueezer) -> c_uint; hdy_squeezer_get_transition_running(self_: *mut HdySqueezer) -> gboolean1255 pub fn hdy_squeezer_get_transition_running(self_: *mut HdySqueezer) -> gboolean; hdy_squeezer_get_transition_type(self_: *mut HdySqueezer) -> HdySqueezerTransitionType1256 pub fn hdy_squeezer_get_transition_type(self_: *mut HdySqueezer) -> HdySqueezerTransitionType; hdy_squeezer_get_visible_child(self_: *mut HdySqueezer) -> *mut gtk::GtkWidget1257 pub fn hdy_squeezer_get_visible_child(self_: *mut HdySqueezer) -> *mut gtk::GtkWidget; hdy_squeezer_set_child_enabled(self_: *mut HdySqueezer, child: *mut gtk::GtkWidget, enabled: gboolean)1258 pub fn hdy_squeezer_set_child_enabled(self_: *mut HdySqueezer, child: *mut gtk::GtkWidget, enabled: gboolean); 1259 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_squeezer_set_homogeneous(self_: *mut HdySqueezer, homogeneous: gboolean)1260 pub fn hdy_squeezer_set_homogeneous(self_: *mut HdySqueezer, homogeneous: gboolean); 1261 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_squeezer_set_interpolate_size(self_: *mut HdySqueezer, interpolate_size: gboolean)1262 pub fn hdy_squeezer_set_interpolate_size(self_: *mut HdySqueezer, interpolate_size: gboolean); hdy_squeezer_set_transition_duration(self_: *mut HdySqueezer, duration: c_uint)1263 pub fn hdy_squeezer_set_transition_duration(self_: *mut HdySqueezer, duration: c_uint); hdy_squeezer_set_transition_type(self_: *mut HdySqueezer, transition: HdySqueezerTransitionType)1264 pub fn hdy_squeezer_set_transition_type(self_: *mut HdySqueezer, transition: HdySqueezerTransitionType); 1265 1266 //========================================================================= 1267 // HdySwipeGroup 1268 //========================================================================= hdy_swipe_group_get_type() -> GType1269 pub fn hdy_swipe_group_get_type() -> GType; 1270 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_swipe_group_new() -> *mut HdySwipeGroup1271 pub fn hdy_swipe_group_new() -> *mut HdySwipeGroup; 1272 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_swipe_group_add_swipeable(self_: *mut HdySwipeGroup, swipeable: *mut HdySwipeable)1273 pub fn hdy_swipe_group_add_swipeable(self_: *mut HdySwipeGroup, swipeable: *mut HdySwipeable); 1274 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_swipe_group_get_swipeables(self_: *mut HdySwipeGroup) -> *mut glib::GSList1275 pub fn hdy_swipe_group_get_swipeables(self_: *mut HdySwipeGroup) -> *mut glib::GSList; 1276 #[cfg(any(feature = "v0_0_12", feature = "dox"))] hdy_swipe_group_remove_swipeable(self_: *mut HdySwipeGroup, swipeable: *mut HdySwipeable)1277 pub fn hdy_swipe_group_remove_swipeable(self_: *mut HdySwipeGroup, swipeable: *mut HdySwipeable); 1278 1279 //========================================================================= 1280 // HdyTitleBar 1281 //========================================================================= hdy_title_bar_get_type() -> GType1282 pub fn hdy_title_bar_get_type() -> GType; hdy_title_bar_new() -> *mut HdyTitleBar1283 pub fn hdy_title_bar_new() -> *mut HdyTitleBar; hdy_title_bar_get_selection_mode(self_: *mut HdyTitleBar) -> gboolean1284 pub fn hdy_title_bar_get_selection_mode(self_: *mut HdyTitleBar) -> gboolean; hdy_title_bar_set_selection_mode(self_: *mut HdyTitleBar, selection_mode: gboolean)1285 pub fn hdy_title_bar_set_selection_mode(self_: *mut HdyTitleBar, selection_mode: gboolean); 1286 1287 //========================================================================= 1288 // HdyValueObject 1289 //========================================================================= hdy_value_object_get_type() -> GType1290 pub fn hdy_value_object_get_type() -> GType; 1291 #[cfg(any(feature = "v0_0_8", feature = "dox"))] hdy_value_object_new(value: *const gobject::GValue) -> *mut HdyValueObject1292 pub fn hdy_value_object_new(value: *const gobject::GValue) -> *mut HdyValueObject; 1293 #[cfg(any(feature = "v0_0_8", feature = "dox"))] hdy_value_object_new_collect(type_: GType, ...) -> *mut HdyValueObject1294 pub fn hdy_value_object_new_collect(type_: GType, ...) -> *mut HdyValueObject; 1295 #[cfg(any(feature = "v0_0_8", feature = "dox"))] hdy_value_object_new_string(string: *const c_char) -> *mut HdyValueObject1296 pub fn hdy_value_object_new_string(string: *const c_char) -> *mut HdyValueObject; 1297 #[cfg(any(feature = "v0_0_8", feature = "dox"))] hdy_value_object_new_take_string(string: *mut c_char) -> *mut HdyValueObject1298 pub fn hdy_value_object_new_take_string(string: *mut c_char) -> *mut HdyValueObject; 1299 #[cfg(any(feature = "v0_0_8", feature = "dox"))] hdy_value_object_copy_value(value: *mut HdyValueObject, dest: *mut gobject::GValue)1300 pub fn hdy_value_object_copy_value(value: *mut HdyValueObject, dest: *mut gobject::GValue); 1301 #[cfg(any(feature = "v0_0_8", feature = "dox"))] hdy_value_object_dup_string(value: *mut HdyValueObject) -> *mut c_char1302 pub fn hdy_value_object_dup_string(value: *mut HdyValueObject) -> *mut c_char; 1303 #[cfg(any(feature = "v0_0_8", feature = "dox"))] hdy_value_object_get_string(value: *mut HdyValueObject) -> *const c_char1304 pub fn hdy_value_object_get_string(value: *mut HdyValueObject) -> *const c_char; 1305 #[cfg(any(feature = "v0_0_8", feature = "dox"))] hdy_value_object_get_value(value: *mut HdyValueObject) -> *const gobject::GValue1306 pub fn hdy_value_object_get_value(value: *mut HdyValueObject) -> *const gobject::GValue; 1307 1308 //========================================================================= 1309 // HdyViewSwitcher 1310 //========================================================================= hdy_view_switcher_get_type() -> GType1311 pub fn hdy_view_switcher_get_type() -> GType; 1312 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_new() -> *mut HdyViewSwitcher1313 pub fn hdy_view_switcher_new() -> *mut HdyViewSwitcher; 1314 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_get_icon_size(self_: *mut HdyViewSwitcher) -> gtk::GtkIconSize1315 pub fn hdy_view_switcher_get_icon_size(self_: *mut HdyViewSwitcher) -> gtk::GtkIconSize; 1316 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_get_narrow_ellipsize(self_: *mut HdyViewSwitcher) -> pango::PangoEllipsizeMode1317 pub fn hdy_view_switcher_get_narrow_ellipsize(self_: *mut HdyViewSwitcher) -> pango::PangoEllipsizeMode; 1318 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_get_policy(self_: *mut HdyViewSwitcher) -> HdyViewSwitcherPolicy1319 pub fn hdy_view_switcher_get_policy(self_: *mut HdyViewSwitcher) -> HdyViewSwitcherPolicy; 1320 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_get_stack(self_: *mut HdyViewSwitcher) -> *mut gtk::GtkStack1321 pub fn hdy_view_switcher_get_stack(self_: *mut HdyViewSwitcher) -> *mut gtk::GtkStack; 1322 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_set_icon_size(self_: *mut HdyViewSwitcher, icon_size: gtk::GtkIconSize)1323 pub fn hdy_view_switcher_set_icon_size(self_: *mut HdyViewSwitcher, icon_size: gtk::GtkIconSize); 1324 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_set_narrow_ellipsize(self_: *mut HdyViewSwitcher, mode: pango::PangoEllipsizeMode)1325 pub fn hdy_view_switcher_set_narrow_ellipsize(self_: *mut HdyViewSwitcher, mode: pango::PangoEllipsizeMode); 1326 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_set_policy(self_: *mut HdyViewSwitcher, policy: HdyViewSwitcherPolicy)1327 pub fn hdy_view_switcher_set_policy(self_: *mut HdyViewSwitcher, policy: HdyViewSwitcherPolicy); 1328 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_set_stack(self_: *mut HdyViewSwitcher, stack: *mut gtk::GtkStack)1329 pub fn hdy_view_switcher_set_stack(self_: *mut HdyViewSwitcher, stack: *mut gtk::GtkStack); 1330 1331 //========================================================================= 1332 // HdyViewSwitcherBar 1333 //========================================================================= hdy_view_switcher_bar_get_type() -> GType1334 pub fn hdy_view_switcher_bar_get_type() -> GType; 1335 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_bar_new() -> *mut HdyViewSwitcherBar1336 pub fn hdy_view_switcher_bar_new() -> *mut HdyViewSwitcherBar; 1337 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_bar_get_icon_size(self_: *mut HdyViewSwitcherBar) -> gtk::GtkIconSize1338 pub fn hdy_view_switcher_bar_get_icon_size(self_: *mut HdyViewSwitcherBar) -> gtk::GtkIconSize; 1339 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_bar_get_policy(self_: *mut HdyViewSwitcherBar) -> HdyViewSwitcherPolicy1340 pub fn hdy_view_switcher_bar_get_policy(self_: *mut HdyViewSwitcherBar) -> HdyViewSwitcherPolicy; 1341 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_bar_get_reveal(self_: *mut HdyViewSwitcherBar) -> gboolean1342 pub fn hdy_view_switcher_bar_get_reveal(self_: *mut HdyViewSwitcherBar) -> gboolean; 1343 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_bar_get_stack(self_: *mut HdyViewSwitcherBar) -> *mut gtk::GtkStack1344 pub fn hdy_view_switcher_bar_get_stack(self_: *mut HdyViewSwitcherBar) -> *mut gtk::GtkStack; 1345 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_bar_set_icon_size(self_: *mut HdyViewSwitcherBar, icon_size: gtk::GtkIconSize)1346 pub fn hdy_view_switcher_bar_set_icon_size(self_: *mut HdyViewSwitcherBar, icon_size: gtk::GtkIconSize); 1347 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_bar_set_policy(self_: *mut HdyViewSwitcherBar, policy: HdyViewSwitcherPolicy)1348 pub fn hdy_view_switcher_bar_set_policy(self_: *mut HdyViewSwitcherBar, policy: HdyViewSwitcherPolicy); 1349 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_bar_set_reveal(self_: *mut HdyViewSwitcherBar, reveal: gboolean)1350 pub fn hdy_view_switcher_bar_set_reveal(self_: *mut HdyViewSwitcherBar, reveal: gboolean); 1351 #[cfg(any(feature = "v0_0_10", feature = "dox"))] hdy_view_switcher_bar_set_stack(self_: *mut HdyViewSwitcherBar, stack: *mut gtk::GtkStack)1352 pub fn hdy_view_switcher_bar_set_stack(self_: *mut HdyViewSwitcherBar, stack: *mut gtk::GtkStack); 1353 1354 //========================================================================= 1355 // HdySwipeable 1356 //========================================================================= hdy_swipeable_get_type() -> GType1357 pub fn hdy_swipeable_get_type() -> GType; 1358 1359 //========================================================================= 1360 // Other functions 1361 //========================================================================= 1362 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_ease_out_cubic(t: c_double) -> c_double1363 pub fn hdy_ease_out_cubic(t: c_double) -> c_double; 1364 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_enum_value_row_name(value: *mut HdyEnumValueObject, user_data: gpointer) -> *mut c_char1365 pub fn hdy_enum_value_row_name(value: *mut HdyEnumValueObject, user_data: gpointer) -> *mut c_char; 1366 #[cfg(any(feature = "v0_0_11", feature = "dox"))] hdy_get_enable_animations(widget: *mut gtk::GtkWidget) -> gboolean1367 pub fn hdy_get_enable_animations(widget: *mut gtk::GtkWidget) -> gboolean; hdy_init(argc: *mut c_int, argv: *mut *mut *mut c_char) -> gboolean1368 pub fn hdy_init(argc: *mut c_int, argv: *mut *mut *mut c_char) -> gboolean; 1369 #[cfg(any(feature = "v0_0_6", feature = "dox"))] hdy_list_box_separator_header(row: *mut gtk::GtkListBoxRow, before: *mut gtk::GtkListBoxRow, unused_user_data: gpointer)1370 pub fn hdy_list_box_separator_header(row: *mut gtk::GtkListBoxRow, before: *mut gtk::GtkListBoxRow, unused_user_data: gpointer); hdy_string_utf8_len(string: *mut glib::GString) -> c_long1371 pub fn hdy_string_utf8_len(string: *mut glib::GString) -> c_long; hdy_string_utf8_truncate(string: *mut glib::GString, len: size_t) -> *mut glib::GString1372 pub fn hdy_string_utf8_truncate(string: *mut glib::GString, len: size_t) -> *mut glib::GString; 1373 1374 } 1375