1 // Generated by gir (https://github.com/gtk-rs/gir @ 1bef39f) 2 // from 3 // from gir-files (https://github.com/gtk-rs/gir-files.git @ 7d95377) 4 // DO NOT EDIT 5 6 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] 7 #![allow( 8 clippy::approx_constant, 9 clippy::type_complexity, 10 clippy::unreadable_literal, 11 clippy::upper_case_acronyms 12 )] 13 #![cfg_attr(feature = "dox", feature(doc_cfg))] 14 15 use gdk_pixbuf_sys as gdk_pixbuf; 16 use gdk_sys as gdk; 17 use gio_sys as gio; 18 use glib_sys as glib; 19 use gobject_sys as gobject; 20 use gtk_sys as gtk; 21 use pango_sys as pango; 22 23 #[allow(unused_imports)] 24 use libc::{ 25 c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, 26 intptr_t, size_t, ssize_t, time_t, uintptr_t, FILE, 27 }; 28 29 #[allow(unused_imports)] 30 use glib::{gboolean, gconstpointer, gpointer, GType}; 31 32 // Enums 33 pub type HdyCenteringPolicy = c_int; 34 pub const HDY_CENTERING_POLICY_LOOSE: HdyCenteringPolicy = 0; 35 pub const HDY_CENTERING_POLICY_STRICT: HdyCenteringPolicy = 1; 36 37 pub type HdyDeckTransitionType = c_int; 38 pub const HDY_DECK_TRANSITION_TYPE_OVER: HdyDeckTransitionType = 0; 39 pub const HDY_DECK_TRANSITION_TYPE_UNDER: HdyDeckTransitionType = 1; 40 pub const HDY_DECK_TRANSITION_TYPE_SLIDE: HdyDeckTransitionType = 2; 41 42 pub type HdyFlapFoldPolicy = c_int; 43 pub const HDY_FLAP_FOLD_POLICY_NEVER: HdyFlapFoldPolicy = 0; 44 pub const HDY_FLAP_FOLD_POLICY_ALWAYS: HdyFlapFoldPolicy = 1; 45 pub const HDY_FLAP_FOLD_POLICY_AUTO: HdyFlapFoldPolicy = 2; 46 47 pub type HdyFlapTransitionType = c_int; 48 pub const HDY_FLAP_TRANSITION_TYPE_OVER: HdyFlapTransitionType = 0; 49 pub const HDY_FLAP_TRANSITION_TYPE_UNDER: HdyFlapTransitionType = 1; 50 pub const HDY_FLAP_TRANSITION_TYPE_SLIDE: HdyFlapTransitionType = 2; 51 52 pub type HdyHeaderGroupChildType = c_int; 53 pub const HDY_HEADER_GROUP_CHILD_TYPE_HEADER_BAR: HdyHeaderGroupChildType = 0; 54 pub const HDY_HEADER_GROUP_CHILD_TYPE_GTK_HEADER_BAR: HdyHeaderGroupChildType = 1; 55 pub const HDY_HEADER_GROUP_CHILD_TYPE_HEADER_GROUP: HdyHeaderGroupChildType = 2; 56 57 pub type HdyLeafletTransitionType = c_int; 58 pub const HDY_LEAFLET_TRANSITION_TYPE_OVER: HdyLeafletTransitionType = 0; 59 pub const HDY_LEAFLET_TRANSITION_TYPE_UNDER: HdyLeafletTransitionType = 1; 60 pub const HDY_LEAFLET_TRANSITION_TYPE_SLIDE: HdyLeafletTransitionType = 2; 61 62 pub type HdyNavigationDirection = c_int; 63 pub const HDY_NAVIGATION_DIRECTION_BACK: HdyNavigationDirection = 0; 64 pub const HDY_NAVIGATION_DIRECTION_FORWARD: HdyNavigationDirection = 1; 65 66 pub type HdySqueezerTransitionType = c_int; 67 pub const HDY_SQUEEZER_TRANSITION_TYPE_NONE: HdySqueezerTransitionType = 0; 68 pub const HDY_SQUEEZER_TRANSITION_TYPE_CROSSFADE: HdySqueezerTransitionType = 1; 69 70 pub type HdyViewSwitcherPolicy = c_int; 71 pub const HDY_VIEW_SWITCHER_POLICY_AUTO: HdyViewSwitcherPolicy = 0; 72 pub const HDY_VIEW_SWITCHER_POLICY_NARROW: HdyViewSwitcherPolicy = 1; 73 pub const HDY_VIEW_SWITCHER_POLICY_WIDE: HdyViewSwitcherPolicy = 2; 74 75 // Callbacks 76 pub type HdyAvatarImageLoadFunc = 77 Option<unsafe extern "C" fn(c_int, gpointer) -> *mut gdk_pixbuf::GdkPixbuf>; 78 pub type HdyComboRowGetEnumValueNameFunc = 79 Option<unsafe extern "C" fn(*mut HdyEnumValueObject, gpointer) -> *mut c_char>; 80 pub type HdyComboRowGetNameFunc = 81 Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> *mut c_char>; 82 83 // Records 84 #[repr(C)] 85 #[derive(Copy, Clone)] 86 pub struct HdyActionRowClass { 87 pub parent_class: gtk::GtkListBoxRowClass, 88 pub activate: Option<unsafe extern "C" fn(*mut HdyActionRow)>, 89 pub padding: [gpointer; 4], 90 } 91 92 impl ::std::fmt::Debug for HdyActionRowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result93 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 94 f.debug_struct(&format!("HdyActionRowClass @ {:p}", self)) 95 .field("parent_class", &self.parent_class) 96 .field("activate", &self.activate) 97 .finish() 98 } 99 } 100 101 #[repr(C)] 102 #[derive(Copy, Clone)] 103 pub struct HdyApplicationWindowClass { 104 pub parent_class: gtk::GtkApplicationWindowClass, 105 pub padding: [gpointer; 4], 106 } 107 108 impl ::std::fmt::Debug for HdyApplicationWindowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result109 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 110 f.debug_struct(&format!("HdyApplicationWindowClass @ {:p}", self)) 111 .field("parent_class", &self.parent_class) 112 .finish() 113 } 114 } 115 116 #[repr(C)] 117 #[derive(Copy, Clone)] 118 pub struct HdyAvatarClass { 119 pub parent_class: gtk::GtkDrawingAreaClass, 120 } 121 122 impl ::std::fmt::Debug for HdyAvatarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result123 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 124 f.debug_struct(&format!("HdyAvatarClass @ {:p}", self)) 125 .field("parent_class", &self.parent_class) 126 .finish() 127 } 128 } 129 130 #[repr(C)] 131 #[derive(Copy, Clone)] 132 pub struct HdyCarouselClass { 133 pub parent_class: gtk::GtkEventBoxClass, 134 } 135 136 impl ::std::fmt::Debug for HdyCarouselClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result137 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 138 f.debug_struct(&format!("HdyCarouselClass @ {:p}", self)) 139 .field("parent_class", &self.parent_class) 140 .finish() 141 } 142 } 143 144 #[repr(C)] 145 #[derive(Copy, Clone)] 146 pub struct HdyCarouselIndicatorDotsClass { 147 pub parent_class: gtk::GtkDrawingAreaClass, 148 } 149 150 impl ::std::fmt::Debug for HdyCarouselIndicatorDotsClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result151 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 152 f.debug_struct(&format!("HdyCarouselIndicatorDotsClass @ {:p}", self)) 153 .field("parent_class", &self.parent_class) 154 .finish() 155 } 156 } 157 158 #[repr(C)] 159 #[derive(Copy, Clone)] 160 pub struct HdyCarouselIndicatorLinesClass { 161 pub parent_class: gtk::GtkDrawingAreaClass, 162 } 163 164 impl ::std::fmt::Debug for HdyCarouselIndicatorLinesClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result165 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 166 f.debug_struct(&format!("HdyCarouselIndicatorLinesClass @ {:p}", self)) 167 .field("parent_class", &self.parent_class) 168 .finish() 169 } 170 } 171 172 #[repr(C)] 173 #[derive(Copy, Clone)] 174 pub struct HdyClampClass { 175 pub parent_class: gtk::GtkBinClass, 176 } 177 178 impl ::std::fmt::Debug for HdyClampClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result179 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 180 f.debug_struct(&format!("HdyClampClass @ {:p}", self)) 181 .field("parent_class", &self.parent_class) 182 .finish() 183 } 184 } 185 186 #[repr(C)] 187 #[derive(Copy, Clone)] 188 pub struct HdyComboRowClass { 189 pub parent_class: HdyActionRowClass, 190 pub padding: [gpointer; 4], 191 } 192 193 impl ::std::fmt::Debug for HdyComboRowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result194 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 195 f.debug_struct(&format!("HdyComboRowClass @ {:p}", self)) 196 .field("parent_class", &self.parent_class) 197 .finish() 198 } 199 } 200 201 #[repr(C)] 202 #[derive(Copy, Clone)] 203 pub struct HdyDeckClass { 204 pub parent_class: gtk::GtkContainerClass, 205 pub padding: [gpointer; 4], 206 } 207 208 impl ::std::fmt::Debug for HdyDeckClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result209 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 210 f.debug_struct(&format!("HdyDeckClass @ {:p}", self)) 211 .field("parent_class", &self.parent_class) 212 .finish() 213 } 214 } 215 216 #[repr(C)] 217 #[derive(Copy, Clone)] 218 pub struct HdyEnumValueObjectClass { 219 pub parent_class: gobject::GObjectClass, 220 } 221 222 impl ::std::fmt::Debug for HdyEnumValueObjectClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result223 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 224 f.debug_struct(&format!("HdyEnumValueObjectClass @ {:p}", self)) 225 .field("parent_class", &self.parent_class) 226 .finish() 227 } 228 } 229 230 #[repr(C)] 231 #[derive(Copy, Clone)] 232 pub struct HdyExpanderRowClass { 233 pub parent_class: HdyPreferencesRowClass, 234 pub padding: [gpointer; 4], 235 } 236 237 impl ::std::fmt::Debug for HdyExpanderRowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result238 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 239 f.debug_struct(&format!("HdyExpanderRowClass @ {:p}", self)) 240 .field("parent_class", &self.parent_class) 241 .finish() 242 } 243 } 244 245 #[repr(C)] 246 #[derive(Copy, Clone)] 247 pub struct HdyFlapClass { 248 pub parent_class: gtk::GtkContainerClass, 249 } 250 251 impl ::std::fmt::Debug for HdyFlapClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result252 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 253 f.debug_struct(&format!("HdyFlapClass @ {:p}", self)) 254 .field("parent_class", &self.parent_class) 255 .finish() 256 } 257 } 258 259 #[repr(C)] 260 #[derive(Copy, Clone)] 261 pub struct HdyHeaderBarClass { 262 pub parent_class: gtk::GtkContainerClass, 263 pub padding: [gpointer; 4], 264 } 265 266 impl ::std::fmt::Debug for HdyHeaderBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result267 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 268 f.debug_struct(&format!("HdyHeaderBarClass @ {:p}", self)) 269 .field("parent_class", &self.parent_class) 270 .finish() 271 } 272 } 273 274 #[repr(C)] 275 #[derive(Copy, Clone)] 276 pub struct HdyHeaderGroupChildClass { 277 pub parent_class: gobject::GObjectClass, 278 } 279 280 impl ::std::fmt::Debug for HdyHeaderGroupChildClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result281 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 282 f.debug_struct(&format!("HdyHeaderGroupChildClass @ {:p}", self)) 283 .field("parent_class", &self.parent_class) 284 .finish() 285 } 286 } 287 288 #[repr(C)] 289 #[derive(Copy, Clone)] 290 pub struct HdyHeaderGroupClass { 291 pub parent_class: gobject::GObjectClass, 292 } 293 294 impl ::std::fmt::Debug for HdyHeaderGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result295 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 296 f.debug_struct(&format!("HdyHeaderGroupClass @ {:p}", self)) 297 .field("parent_class", &self.parent_class) 298 .finish() 299 } 300 } 301 302 #[repr(C)] 303 #[derive(Copy, Clone)] 304 pub struct HdyKeypadClass { 305 pub parent_class: gtk::GtkBinClass, 306 pub padding: [gpointer; 4], 307 } 308 309 impl ::std::fmt::Debug for HdyKeypadClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result310 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 311 f.debug_struct(&format!("HdyKeypadClass @ {:p}", self)) 312 .field("parent_class", &self.parent_class) 313 .finish() 314 } 315 } 316 317 #[repr(C)] 318 #[derive(Copy, Clone)] 319 pub struct HdyLeafletClass { 320 pub parent_class: gtk::GtkContainerClass, 321 pub padding: [gpointer; 4], 322 } 323 324 impl ::std::fmt::Debug for HdyLeafletClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result325 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 326 f.debug_struct(&format!("HdyLeafletClass @ {:p}", self)) 327 .field("parent_class", &self.parent_class) 328 .finish() 329 } 330 } 331 332 #[repr(C)] 333 #[derive(Copy, Clone)] 334 pub struct HdyPreferencesGroupClass { 335 pub parent_class: gtk::GtkBinClass, 336 pub padding: [gpointer; 4], 337 } 338 339 impl ::std::fmt::Debug for HdyPreferencesGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result340 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 341 f.debug_struct(&format!("HdyPreferencesGroupClass @ {:p}", self)) 342 .field("parent_class", &self.parent_class) 343 .finish() 344 } 345 } 346 347 #[repr(C)] 348 #[derive(Copy, Clone)] 349 pub struct HdyPreferencesPageClass { 350 pub parent_class: gtk::GtkBinClass, 351 pub padding: [gpointer; 4], 352 } 353 354 impl ::std::fmt::Debug for HdyPreferencesPageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result355 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 356 f.debug_struct(&format!("HdyPreferencesPageClass @ {:p}", self)) 357 .field("parent_class", &self.parent_class) 358 .finish() 359 } 360 } 361 362 #[repr(C)] 363 #[derive(Copy, Clone)] 364 pub struct HdyPreferencesRowClass { 365 pub parent_class: gtk::GtkListBoxRowClass, 366 pub padding: [gpointer; 4], 367 } 368 369 impl ::std::fmt::Debug for HdyPreferencesRowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result370 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 371 f.debug_struct(&format!("HdyPreferencesRowClass @ {:p}", self)) 372 .field("parent_class", &self.parent_class) 373 .finish() 374 } 375 } 376 377 #[repr(C)] 378 #[derive(Copy, Clone)] 379 pub struct HdyPreferencesWindowClass { 380 pub parent_class: HdyWindowClass, 381 pub padding: [gpointer; 4], 382 } 383 384 impl ::std::fmt::Debug for HdyPreferencesWindowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result385 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 386 f.debug_struct(&format!("HdyPreferencesWindowClass @ {:p}", self)) 387 .field("parent_class", &self.parent_class) 388 .finish() 389 } 390 } 391 392 #[repr(C)] 393 #[derive(Copy, Clone)] 394 pub struct HdySearchBarClass { 395 pub parent_class: gtk::GtkBinClass, 396 pub padding: [gpointer; 4], 397 } 398 399 impl ::std::fmt::Debug for HdySearchBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result400 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 401 f.debug_struct(&format!("HdySearchBarClass @ {:p}", self)) 402 .field("parent_class", &self.parent_class) 403 .finish() 404 } 405 } 406 407 #[repr(C)] 408 #[derive(Copy, Clone)] 409 pub struct HdySqueezerClass { 410 pub parent_class: gtk::GtkContainerClass, 411 } 412 413 impl ::std::fmt::Debug for HdySqueezerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result414 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 415 f.debug_struct(&format!("HdySqueezerClass @ {:p}", self)) 416 .field("parent_class", &self.parent_class) 417 .finish() 418 } 419 } 420 421 #[repr(C)] 422 #[derive(Copy, Clone)] 423 pub struct HdyStatusPageClass { 424 pub parent_class: gtk::GtkBinClass, 425 } 426 427 impl ::std::fmt::Debug for HdyStatusPageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result428 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 429 f.debug_struct(&format!("HdyStatusPageClass @ {:p}", self)) 430 .field("parent_class", &self.parent_class) 431 .finish() 432 } 433 } 434 435 #[repr(C)] 436 #[derive(Copy, Clone)] 437 pub struct HdySwipeGroupClass { 438 pub parent_class: gobject::GObjectClass, 439 } 440 441 impl ::std::fmt::Debug for HdySwipeGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result442 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 443 f.debug_struct(&format!("HdySwipeGroupClass @ {:p}", self)) 444 .field("parent_class", &self.parent_class) 445 .finish() 446 } 447 } 448 449 #[repr(C)] 450 #[derive(Copy, Clone)] 451 pub struct HdySwipeTrackerClass { 452 pub parent_class: gobject::GObjectClass, 453 } 454 455 impl ::std::fmt::Debug for HdySwipeTrackerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result456 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 457 f.debug_struct(&format!("HdySwipeTrackerClass @ {:p}", self)) 458 .field("parent_class", &self.parent_class) 459 .finish() 460 } 461 } 462 463 #[repr(C)] 464 #[derive(Copy, Clone)] 465 pub struct HdySwipeableInterface { 466 pub parent: gobject::GTypeInterface, 467 pub switch_child: Option<unsafe extern "C" fn(*mut HdySwipeable, c_uint, i64)>, 468 pub get_swipe_tracker: Option<unsafe extern "C" fn(*mut HdySwipeable) -> *mut HdySwipeTracker>, 469 pub get_distance: Option<unsafe extern "C" fn(*mut HdySwipeable) -> c_double>, 470 pub get_snap_points: 471 Option<unsafe extern "C" fn(*mut HdySwipeable, *mut c_int) -> *mut c_double>, 472 pub get_progress: Option<unsafe extern "C" fn(*mut HdySwipeable) -> c_double>, 473 pub get_cancel_progress: Option<unsafe extern "C" fn(*mut HdySwipeable) -> c_double>, 474 pub get_swipe_area: Option< 475 unsafe extern "C" fn( 476 *mut HdySwipeable, 477 HdyNavigationDirection, 478 gboolean, 479 *mut gdk::GdkRectangle, 480 ), 481 >, 482 pub padding: [gpointer; 4], 483 } 484 485 impl ::std::fmt::Debug for HdySwipeableInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result486 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 487 f.debug_struct(&format!("HdySwipeableInterface @ {:p}", self)) 488 .field("parent", &self.parent) 489 .field("switch_child", &self.switch_child) 490 .field("get_swipe_tracker", &self.get_swipe_tracker) 491 .field("get_distance", &self.get_distance) 492 .field("get_snap_points", &self.get_snap_points) 493 .field("get_progress", &self.get_progress) 494 .field("get_cancel_progress", &self.get_cancel_progress) 495 .field("get_swipe_area", &self.get_swipe_area) 496 .finish() 497 } 498 } 499 500 #[repr(C)] 501 #[derive(Copy, Clone)] 502 pub struct HdyTabBarClass { 503 pub parent_class: gtk::GtkBinClass, 504 } 505 506 impl ::std::fmt::Debug for HdyTabBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result507 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 508 f.debug_struct(&format!("HdyTabBarClass @ {:p}", self)) 509 .field("parent_class", &self.parent_class) 510 .finish() 511 } 512 } 513 514 #[repr(C)] 515 #[derive(Copy, Clone)] 516 pub struct HdyTabPageClass { 517 pub parent_class: gobject::GObjectClass, 518 } 519 520 impl ::std::fmt::Debug for HdyTabPageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result521 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 522 f.debug_struct(&format!("HdyTabPageClass @ {:p}", self)) 523 .field("parent_class", &self.parent_class) 524 .finish() 525 } 526 } 527 528 #[repr(C)] 529 #[derive(Copy, Clone)] 530 pub struct HdyTabViewClass { 531 pub parent_class: gtk::GtkBinClass, 532 } 533 534 impl ::std::fmt::Debug for HdyTabViewClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result535 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 536 f.debug_struct(&format!("HdyTabViewClass @ {:p}", self)) 537 .field("parent_class", &self.parent_class) 538 .finish() 539 } 540 } 541 542 #[repr(C)] 543 #[derive(Copy, Clone)] 544 pub struct HdyTitleBarClass { 545 pub parent_class: gtk::GtkBinClass, 546 } 547 548 impl ::std::fmt::Debug for HdyTitleBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result549 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 550 f.debug_struct(&format!("HdyTitleBarClass @ {:p}", self)) 551 .field("parent_class", &self.parent_class) 552 .finish() 553 } 554 } 555 556 #[repr(C)] 557 #[derive(Copy, Clone)] 558 pub struct HdyValueObjectClass { 559 pub parent_class: gobject::GObjectClass, 560 } 561 562 impl ::std::fmt::Debug for HdyValueObjectClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result563 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 564 f.debug_struct(&format!("HdyValueObjectClass @ {:p}", self)) 565 .field("parent_class", &self.parent_class) 566 .finish() 567 } 568 } 569 570 #[repr(C)] 571 #[derive(Copy, Clone)] 572 pub struct HdyViewSwitcherBarClass { 573 pub parent_class: gtk::GtkBinClass, 574 } 575 576 impl ::std::fmt::Debug for HdyViewSwitcherBarClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result577 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 578 f.debug_struct(&format!("HdyViewSwitcherBarClass @ {:p}", self)) 579 .field("parent_class", &self.parent_class) 580 .finish() 581 } 582 } 583 584 #[repr(C)] 585 #[derive(Copy, Clone)] 586 pub struct HdyViewSwitcherClass { 587 pub parent_class: gtk::GtkBinClass, 588 } 589 590 impl ::std::fmt::Debug for HdyViewSwitcherClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result591 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 592 f.debug_struct(&format!("HdyViewSwitcherClass @ {:p}", self)) 593 .field("parent_class", &self.parent_class) 594 .finish() 595 } 596 } 597 598 #[repr(C)] 599 #[derive(Copy, Clone)] 600 pub struct HdyViewSwitcherTitleClass { 601 pub parent_class: gtk::GtkBinClass, 602 } 603 604 impl ::std::fmt::Debug for HdyViewSwitcherTitleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result605 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 606 f.debug_struct(&format!("HdyViewSwitcherTitleClass @ {:p}", self)) 607 .field("parent_class", &self.parent_class) 608 .finish() 609 } 610 } 611 612 #[repr(C)] 613 #[derive(Copy, Clone)] 614 pub struct HdyWindowClass { 615 pub parent_class: gtk::GtkWindowClass, 616 pub padding: [gpointer; 4], 617 } 618 619 impl ::std::fmt::Debug for HdyWindowClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result620 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 621 f.debug_struct(&format!("HdyWindowClass @ {:p}", self)) 622 .field("parent_class", &self.parent_class) 623 .finish() 624 } 625 } 626 627 #[repr(C)] 628 #[derive(Copy, Clone)] 629 pub struct HdyWindowHandleClass { 630 pub parent_class: gtk::GtkEventBoxClass, 631 } 632 633 impl ::std::fmt::Debug for HdyWindowHandleClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result634 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 635 f.debug_struct(&format!("HdyWindowHandleClass @ {:p}", self)) 636 .field("parent_class", &self.parent_class) 637 .finish() 638 } 639 } 640 641 // Classes 642 #[repr(C)] 643 #[derive(Copy, Clone)] 644 pub struct HdyActionRow { 645 pub parent_instance: HdyPreferencesRow, 646 } 647 648 impl ::std::fmt::Debug for HdyActionRow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result649 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 650 f.debug_struct(&format!("HdyActionRow @ {:p}", self)) 651 .field("parent_instance", &self.parent_instance) 652 .finish() 653 } 654 } 655 656 #[repr(C)] 657 #[derive(Copy, Clone)] 658 pub struct HdyApplicationWindow { 659 pub parent_instance: gtk::GtkApplicationWindow, 660 } 661 662 impl ::std::fmt::Debug for HdyApplicationWindow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result663 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 664 f.debug_struct(&format!("HdyApplicationWindow @ {:p}", self)) 665 .field("parent_instance", &self.parent_instance) 666 .finish() 667 } 668 } 669 670 #[repr(C)] 671 pub struct HdyAvatar(c_void); 672 673 impl ::std::fmt::Debug for HdyAvatar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result674 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 675 f.debug_struct(&format!("HdyAvatar @ {:p}", self)).finish() 676 } 677 } 678 679 #[repr(C)] 680 pub struct HdyCarousel(c_void); 681 682 impl ::std::fmt::Debug for HdyCarousel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result683 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 684 f.debug_struct(&format!("HdyCarousel @ {:p}", self)) 685 .finish() 686 } 687 } 688 689 #[repr(C)] 690 pub struct HdyCarouselIndicatorDots(c_void); 691 692 impl ::std::fmt::Debug for HdyCarouselIndicatorDots { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result693 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 694 f.debug_struct(&format!("HdyCarouselIndicatorDots @ {:p}", self)) 695 .finish() 696 } 697 } 698 699 #[repr(C)] 700 pub struct HdyCarouselIndicatorLines(c_void); 701 702 impl ::std::fmt::Debug for HdyCarouselIndicatorLines { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result703 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 704 f.debug_struct(&format!("HdyCarouselIndicatorLines @ {:p}", self)) 705 .finish() 706 } 707 } 708 709 #[repr(C)] 710 pub struct HdyClamp(c_void); 711 712 impl ::std::fmt::Debug for HdyClamp { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result713 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 714 f.debug_struct(&format!("HdyClamp @ {:p}", self)).finish() 715 } 716 } 717 718 #[repr(C)] 719 #[derive(Copy, Clone)] 720 pub struct HdyComboRow { 721 pub parent_instance: HdyActionRow, 722 } 723 724 impl ::std::fmt::Debug for HdyComboRow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result725 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 726 f.debug_struct(&format!("HdyComboRow @ {:p}", self)) 727 .field("parent_instance", &self.parent_instance) 728 .finish() 729 } 730 } 731 732 #[repr(C)] 733 #[derive(Copy, Clone)] 734 pub struct HdyDeck { 735 pub parent_instance: gtk::GtkContainer, 736 } 737 738 impl ::std::fmt::Debug for HdyDeck { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result739 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 740 f.debug_struct(&format!("HdyDeck @ {:p}", self)) 741 .field("parent_instance", &self.parent_instance) 742 .finish() 743 } 744 } 745 746 #[repr(C)] 747 pub struct HdyEnumValueObject(c_void); 748 749 impl ::std::fmt::Debug for HdyEnumValueObject { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result750 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 751 f.debug_struct(&format!("HdyEnumValueObject @ {:p}", self)) 752 .finish() 753 } 754 } 755 756 #[repr(C)] 757 #[derive(Copy, Clone)] 758 pub struct HdyExpanderRow { 759 pub parent_instance: HdyPreferencesRow, 760 } 761 762 impl ::std::fmt::Debug for HdyExpanderRow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result763 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 764 f.debug_struct(&format!("HdyExpanderRow @ {:p}", self)) 765 .field("parent_instance", &self.parent_instance) 766 .finish() 767 } 768 } 769 770 #[repr(C)] 771 pub struct HdyFlap(c_void); 772 773 impl ::std::fmt::Debug for HdyFlap { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result774 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 775 f.debug_struct(&format!("HdyFlap @ {:p}", self)).finish() 776 } 777 } 778 779 #[repr(C)] 780 #[derive(Copy, Clone)] 781 pub struct HdyHeaderBar { 782 pub parent_instance: gtk::GtkContainer, 783 } 784 785 impl ::std::fmt::Debug for HdyHeaderBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result786 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 787 f.debug_struct(&format!("HdyHeaderBar @ {:p}", self)) 788 .field("parent_instance", &self.parent_instance) 789 .finish() 790 } 791 } 792 793 #[repr(C)] 794 pub struct HdyHeaderGroup(c_void); 795 796 impl ::std::fmt::Debug for HdyHeaderGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result797 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 798 f.debug_struct(&format!("HdyHeaderGroup @ {:p}", self)) 799 .finish() 800 } 801 } 802 803 #[repr(C)] 804 pub struct HdyHeaderGroupChild(c_void); 805 806 impl ::std::fmt::Debug for HdyHeaderGroupChild { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result807 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 808 f.debug_struct(&format!("HdyHeaderGroupChild @ {:p}", self)) 809 .finish() 810 } 811 } 812 813 #[repr(C)] 814 #[derive(Copy, Clone)] 815 pub struct HdyKeypad { 816 pub parent_instance: gtk::GtkBin, 817 } 818 819 impl ::std::fmt::Debug for HdyKeypad { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result820 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 821 f.debug_struct(&format!("HdyKeypad @ {:p}", self)) 822 .field("parent_instance", &self.parent_instance) 823 .finish() 824 } 825 } 826 827 #[repr(C)] 828 #[derive(Copy, Clone)] 829 pub struct HdyLeaflet { 830 pub parent_instance: gtk::GtkContainer, 831 } 832 833 impl ::std::fmt::Debug for HdyLeaflet { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result834 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 835 f.debug_struct(&format!("HdyLeaflet @ {:p}", self)) 836 .field("parent_instance", &self.parent_instance) 837 .finish() 838 } 839 } 840 841 #[repr(C)] 842 #[derive(Copy, Clone)] 843 pub struct HdyPreferencesGroup { 844 pub parent_instance: gtk::GtkBin, 845 } 846 847 impl ::std::fmt::Debug for HdyPreferencesGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result848 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 849 f.debug_struct(&format!("HdyPreferencesGroup @ {:p}", self)) 850 .field("parent_instance", &self.parent_instance) 851 .finish() 852 } 853 } 854 855 #[repr(C)] 856 #[derive(Copy, Clone)] 857 pub struct HdyPreferencesPage { 858 pub parent_instance: gtk::GtkBin, 859 } 860 861 impl ::std::fmt::Debug for HdyPreferencesPage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result862 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 863 f.debug_struct(&format!("HdyPreferencesPage @ {:p}", self)) 864 .field("parent_instance", &self.parent_instance) 865 .finish() 866 } 867 } 868 869 #[repr(C)] 870 #[derive(Copy, Clone)] 871 pub struct HdyPreferencesRow { 872 pub parent_instance: gtk::GtkListBoxRow, 873 } 874 875 impl ::std::fmt::Debug for HdyPreferencesRow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result876 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 877 f.debug_struct(&format!("HdyPreferencesRow @ {:p}", self)) 878 .field("parent_instance", &self.parent_instance) 879 .finish() 880 } 881 } 882 883 #[repr(C)] 884 #[derive(Copy, Clone)] 885 pub struct HdyPreferencesWindow { 886 pub parent_instance: HdyWindow, 887 } 888 889 impl ::std::fmt::Debug for HdyPreferencesWindow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result890 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 891 f.debug_struct(&format!("HdyPreferencesWindow @ {:p}", self)) 892 .field("parent_instance", &self.parent_instance) 893 .finish() 894 } 895 } 896 897 #[repr(C)] 898 #[derive(Copy, Clone)] 899 pub struct HdySearchBar { 900 pub parent_instance: gtk::GtkBin, 901 } 902 903 impl ::std::fmt::Debug for HdySearchBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result904 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 905 f.debug_struct(&format!("HdySearchBar @ {:p}", self)) 906 .field("parent_instance", &self.parent_instance) 907 .finish() 908 } 909 } 910 911 #[repr(C)] 912 pub struct HdySqueezer(c_void); 913 914 impl ::std::fmt::Debug for HdySqueezer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result915 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 916 f.debug_struct(&format!("HdySqueezer @ {:p}", self)) 917 .finish() 918 } 919 } 920 921 #[repr(C)] 922 pub struct HdyStatusPage(c_void); 923 924 impl ::std::fmt::Debug for HdyStatusPage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result925 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 926 f.debug_struct(&format!("HdyStatusPage @ {:p}", self)) 927 .finish() 928 } 929 } 930 931 #[repr(C)] 932 pub struct HdySwipeGroup(c_void); 933 934 impl ::std::fmt::Debug for HdySwipeGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result935 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 936 f.debug_struct(&format!("HdySwipeGroup @ {:p}", self)) 937 .finish() 938 } 939 } 940 941 #[repr(C)] 942 pub struct HdySwipeTracker(c_void); 943 944 impl ::std::fmt::Debug for HdySwipeTracker { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result945 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 946 f.debug_struct(&format!("HdySwipeTracker @ {:p}", self)) 947 .finish() 948 } 949 } 950 951 #[repr(C)] 952 pub struct HdyTabBar(c_void); 953 954 impl ::std::fmt::Debug for HdyTabBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result955 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 956 f.debug_struct(&format!("HdyTabBar @ {:p}", self)).finish() 957 } 958 } 959 960 #[repr(C)] 961 pub struct HdyTabPage(c_void); 962 963 impl ::std::fmt::Debug for HdyTabPage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result964 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 965 f.debug_struct(&format!("HdyTabPage @ {:p}", self)).finish() 966 } 967 } 968 969 #[repr(C)] 970 pub struct HdyTabView(c_void); 971 972 impl ::std::fmt::Debug for HdyTabView { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result973 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 974 f.debug_struct(&format!("HdyTabView @ {:p}", self)).finish() 975 } 976 } 977 978 #[repr(C)] 979 pub struct HdyTitleBar(c_void); 980 981 impl ::std::fmt::Debug for HdyTitleBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result982 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 983 f.debug_struct(&format!("HdyTitleBar @ {:p}", self)) 984 .finish() 985 } 986 } 987 988 #[repr(C)] 989 pub struct HdyValueObject(c_void); 990 991 impl ::std::fmt::Debug for HdyValueObject { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result992 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 993 f.debug_struct(&format!("HdyValueObject @ {:p}", self)) 994 .finish() 995 } 996 } 997 998 #[repr(C)] 999 pub struct HdyViewSwitcher(c_void); 1000 1001 impl ::std::fmt::Debug for HdyViewSwitcher { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1002 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1003 f.debug_struct(&format!("HdyViewSwitcher @ {:p}", self)) 1004 .finish() 1005 } 1006 } 1007 1008 #[repr(C)] 1009 pub struct HdyViewSwitcherBar(c_void); 1010 1011 impl ::std::fmt::Debug for HdyViewSwitcherBar { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1012 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1013 f.debug_struct(&format!("HdyViewSwitcherBar @ {:p}", self)) 1014 .finish() 1015 } 1016 } 1017 1018 #[repr(C)] 1019 pub struct HdyViewSwitcherTitle(c_void); 1020 1021 impl ::std::fmt::Debug for HdyViewSwitcherTitle { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1022 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1023 f.debug_struct(&format!("HdyViewSwitcherTitle @ {:p}", self)) 1024 .finish() 1025 } 1026 } 1027 1028 #[repr(C)] 1029 #[derive(Copy, Clone)] 1030 pub struct HdyWindow { 1031 pub parent_instance: gtk::GtkWindow, 1032 } 1033 1034 impl ::std::fmt::Debug for HdyWindow { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1035 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1036 f.debug_struct(&format!("HdyWindow @ {:p}", self)) 1037 .field("parent_instance", &self.parent_instance) 1038 .finish() 1039 } 1040 } 1041 1042 #[repr(C)] 1043 pub struct HdyWindowHandle(c_void); 1044 1045 impl ::std::fmt::Debug for HdyWindowHandle { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1046 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1047 f.debug_struct(&format!("HdyWindowHandle @ {:p}", self)) 1048 .finish() 1049 } 1050 } 1051 1052 // Interfaces 1053 #[repr(C)] 1054 pub struct HdySwipeable(c_void); 1055 1056 impl ::std::fmt::Debug for HdySwipeable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1057 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1058 write!(f, "HdySwipeable @ {:p}", self) 1059 } 1060 } 1061 1062 #[link(name = "handy-1")] 1063 extern "C" { 1064 1065 //========================================================================= 1066 // HdyCenteringPolicy 1067 //========================================================================= hdy_centering_policy_get_type() -> GType1068 pub fn hdy_centering_policy_get_type() -> GType; 1069 1070 //========================================================================= 1071 // HdyDeckTransitionType 1072 //========================================================================= hdy_deck_transition_type_get_type() -> GType1073 pub fn hdy_deck_transition_type_get_type() -> GType; 1074 1075 //========================================================================= 1076 // HdyFlapFoldPolicy 1077 //========================================================================= 1078 #[cfg(any(feature = "v1_2", feature = "dox"))] 1079 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_fold_policy_get_type() -> GType1080 pub fn hdy_flap_fold_policy_get_type() -> GType; 1081 1082 //========================================================================= 1083 // HdyFlapTransitionType 1084 //========================================================================= 1085 #[cfg(any(feature = "v1_2", feature = "dox"))] 1086 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_transition_type_get_type() -> GType1087 pub fn hdy_flap_transition_type_get_type() -> GType; 1088 1089 //========================================================================= 1090 // HdyHeaderGroupChildType 1091 //========================================================================= hdy_header_group_child_type_get_type() -> GType1092 pub fn hdy_header_group_child_type_get_type() -> GType; 1093 1094 //========================================================================= 1095 // HdyLeafletTransitionType 1096 //========================================================================= hdy_leaflet_transition_type_get_type() -> GType1097 pub fn hdy_leaflet_transition_type_get_type() -> GType; 1098 1099 //========================================================================= 1100 // HdyNavigationDirection 1101 //========================================================================= hdy_navigation_direction_get_type() -> GType1102 pub fn hdy_navigation_direction_get_type() -> GType; 1103 1104 //========================================================================= 1105 // HdySqueezerTransitionType 1106 //========================================================================= hdy_squeezer_transition_type_get_type() -> GType1107 pub fn hdy_squeezer_transition_type_get_type() -> GType; 1108 1109 //========================================================================= 1110 // HdyViewSwitcherPolicy 1111 //========================================================================= hdy_view_switcher_policy_get_type() -> GType1112 pub fn hdy_view_switcher_policy_get_type() -> GType; 1113 1114 //========================================================================= 1115 // HdyActionRow 1116 //========================================================================= hdy_action_row_get_type() -> GType1117 pub fn hdy_action_row_get_type() -> GType; hdy_action_row_new() -> *mut gtk::GtkWidget1118 pub fn hdy_action_row_new() -> *mut gtk::GtkWidget; hdy_action_row_activate(self_: *mut HdyActionRow)1119 pub fn hdy_action_row_activate(self_: *mut HdyActionRow); hdy_action_row_add_prefix(self_: *mut HdyActionRow, widget: *mut gtk::GtkWidget)1120 pub fn hdy_action_row_add_prefix(self_: *mut HdyActionRow, widget: *mut gtk::GtkWidget); hdy_action_row_get_activatable_widget(self_: *mut HdyActionRow) -> *mut gtk::GtkWidget1121 pub fn hdy_action_row_get_activatable_widget(self_: *mut HdyActionRow) -> *mut gtk::GtkWidget; hdy_action_row_get_icon_name(self_: *mut HdyActionRow) -> *const c_char1122 pub fn hdy_action_row_get_icon_name(self_: *mut HdyActionRow) -> *const c_char; hdy_action_row_get_subtitle(self_: *mut HdyActionRow) -> *const c_char1123 pub fn hdy_action_row_get_subtitle(self_: *mut HdyActionRow) -> *const c_char; 1124 #[cfg(any(feature = "v1_2", feature = "dox"))] 1125 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_action_row_get_subtitle_lines(self_: *mut HdyActionRow) -> c_int1126 pub fn hdy_action_row_get_subtitle_lines(self_: *mut HdyActionRow) -> c_int; 1127 #[cfg(any(feature = "v1_2", feature = "dox"))] 1128 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_action_row_get_title_lines(self_: *mut HdyActionRow) -> c_int1129 pub fn hdy_action_row_get_title_lines(self_: *mut HdyActionRow) -> c_int; hdy_action_row_get_use_underline(self_: *mut HdyActionRow) -> gboolean1130 pub fn hdy_action_row_get_use_underline(self_: *mut HdyActionRow) -> gboolean; hdy_action_row_set_activatable_widget( self_: *mut HdyActionRow, widget: *mut gtk::GtkWidget, )1131 pub fn hdy_action_row_set_activatable_widget( 1132 self_: *mut HdyActionRow, 1133 widget: *mut gtk::GtkWidget, 1134 ); hdy_action_row_set_icon_name(self_: *mut HdyActionRow, icon_name: *const c_char)1135 pub fn hdy_action_row_set_icon_name(self_: *mut HdyActionRow, icon_name: *const c_char); hdy_action_row_set_subtitle(self_: *mut HdyActionRow, subtitle: *const c_char)1136 pub fn hdy_action_row_set_subtitle(self_: *mut HdyActionRow, subtitle: *const c_char); 1137 #[cfg(any(feature = "v1_2", feature = "dox"))] 1138 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_action_row_set_subtitle_lines(self_: *mut HdyActionRow, subtitle_lines: c_int)1139 pub fn hdy_action_row_set_subtitle_lines(self_: *mut HdyActionRow, subtitle_lines: c_int); 1140 #[cfg(any(feature = "v1_2", feature = "dox"))] 1141 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_action_row_set_title_lines(self_: *mut HdyActionRow, title_lines: c_int)1142 pub fn hdy_action_row_set_title_lines(self_: *mut HdyActionRow, title_lines: c_int); hdy_action_row_set_use_underline(self_: *mut HdyActionRow, use_underline: gboolean)1143 pub fn hdy_action_row_set_use_underline(self_: *mut HdyActionRow, use_underline: gboolean); 1144 1145 //========================================================================= 1146 // HdyApplicationWindow 1147 //========================================================================= hdy_application_window_get_type() -> GType1148 pub fn hdy_application_window_get_type() -> GType; hdy_application_window_new() -> *mut gtk::GtkWidget1149 pub fn hdy_application_window_new() -> *mut gtk::GtkWidget; 1150 1151 //========================================================================= 1152 // HdyAvatar 1153 //========================================================================= hdy_avatar_get_type() -> GType1154 pub fn hdy_avatar_get_type() -> GType; hdy_avatar_new( size: c_int, text: *const c_char, show_initials: gboolean, ) -> *mut gtk::GtkWidget1155 pub fn hdy_avatar_new( 1156 size: c_int, 1157 text: *const c_char, 1158 show_initials: gboolean, 1159 ) -> *mut gtk::GtkWidget; 1160 #[cfg(any(feature = "v1_2", feature = "dox"))] 1161 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_avatar_draw_to_pixbuf( self_: *mut HdyAvatar, size: c_int, scale_factor: c_int, ) -> *mut gdk_pixbuf::GdkPixbuf1162 pub fn hdy_avatar_draw_to_pixbuf( 1163 self_: *mut HdyAvatar, 1164 size: c_int, 1165 scale_factor: c_int, 1166 ) -> *mut gdk_pixbuf::GdkPixbuf; 1167 #[cfg(any(feature = "v1_2", feature = "dox"))] 1168 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_avatar_draw_to_pixbuf_async( self_: *mut HdyAvatar, size: c_int, scale_factor: c_int, cancellable: *mut gio::GCancellable, callback: gio::GAsyncReadyCallback, user_data: gpointer, )1169 pub fn hdy_avatar_draw_to_pixbuf_async( 1170 self_: *mut HdyAvatar, 1171 size: c_int, 1172 scale_factor: c_int, 1173 cancellable: *mut gio::GCancellable, 1174 callback: gio::GAsyncReadyCallback, 1175 user_data: gpointer, 1176 ); 1177 #[cfg(any(feature = "v1_2", feature = "dox"))] 1178 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_avatar_draw_to_pixbuf_finish( self_: *mut HdyAvatar, async_result: *mut gio::GAsyncResult, ) -> *mut gdk_pixbuf::GdkPixbuf1179 pub fn hdy_avatar_draw_to_pixbuf_finish( 1180 self_: *mut HdyAvatar, 1181 async_result: *mut gio::GAsyncResult, 1182 ) -> *mut gdk_pixbuf::GdkPixbuf; hdy_avatar_get_icon_name(self_: *mut HdyAvatar) -> *const c_char1183 pub fn hdy_avatar_get_icon_name(self_: *mut HdyAvatar) -> *const c_char; 1184 #[cfg(any(feature = "v1_2", feature = "dox"))] 1185 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_avatar_get_loadable_icon(self_: *mut HdyAvatar) -> *mut gio::GLoadableIcon1186 pub fn hdy_avatar_get_loadable_icon(self_: *mut HdyAvatar) -> *mut gio::GLoadableIcon; hdy_avatar_get_show_initials(self_: *mut HdyAvatar) -> gboolean1187 pub fn hdy_avatar_get_show_initials(self_: *mut HdyAvatar) -> gboolean; hdy_avatar_get_size(self_: *mut HdyAvatar) -> c_int1188 pub fn hdy_avatar_get_size(self_: *mut HdyAvatar) -> c_int; hdy_avatar_get_text(self_: *mut HdyAvatar) -> *const c_char1189 pub fn hdy_avatar_get_text(self_: *mut HdyAvatar) -> *const c_char; hdy_avatar_set_icon_name(self_: *mut HdyAvatar, icon_name: *const c_char)1190 pub fn hdy_avatar_set_icon_name(self_: *mut HdyAvatar, icon_name: *const c_char); hdy_avatar_set_image_load_func( self_: *mut HdyAvatar, load_image: HdyAvatarImageLoadFunc, user_data: gpointer, destroy: glib::GDestroyNotify, )1191 pub fn hdy_avatar_set_image_load_func( 1192 self_: *mut HdyAvatar, 1193 load_image: HdyAvatarImageLoadFunc, 1194 user_data: gpointer, 1195 destroy: glib::GDestroyNotify, 1196 ); 1197 #[cfg(any(feature = "v1_2", feature = "dox"))] 1198 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_avatar_set_loadable_icon(self_: *mut HdyAvatar, icon: *mut gio::GLoadableIcon)1199 pub fn hdy_avatar_set_loadable_icon(self_: *mut HdyAvatar, icon: *mut gio::GLoadableIcon); hdy_avatar_set_show_initials(self_: *mut HdyAvatar, show_initials: gboolean)1200 pub fn hdy_avatar_set_show_initials(self_: *mut HdyAvatar, show_initials: gboolean); hdy_avatar_set_size(self_: *mut HdyAvatar, size: c_int)1201 pub fn hdy_avatar_set_size(self_: *mut HdyAvatar, size: c_int); hdy_avatar_set_text(self_: *mut HdyAvatar, text: *const c_char)1202 pub fn hdy_avatar_set_text(self_: *mut HdyAvatar, text: *const c_char); 1203 1204 //========================================================================= 1205 // HdyCarousel 1206 //========================================================================= hdy_carousel_get_type() -> GType1207 pub fn hdy_carousel_get_type() -> GType; hdy_carousel_new() -> *mut gtk::GtkWidget1208 pub fn hdy_carousel_new() -> *mut gtk::GtkWidget; 1209 #[cfg(any(feature = "v1_2", feature = "dox"))] 1210 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_carousel_get_allow_long_swipes(self_: *mut HdyCarousel) -> gboolean1211 pub fn hdy_carousel_get_allow_long_swipes(self_: *mut HdyCarousel) -> gboolean; hdy_carousel_get_allow_mouse_drag(self_: *mut HdyCarousel) -> gboolean1212 pub fn hdy_carousel_get_allow_mouse_drag(self_: *mut HdyCarousel) -> gboolean; hdy_carousel_get_animation_duration(self_: *mut HdyCarousel) -> c_uint1213 pub fn hdy_carousel_get_animation_duration(self_: *mut HdyCarousel) -> c_uint; hdy_carousel_get_interactive(self_: *mut HdyCarousel) -> gboolean1214 pub fn hdy_carousel_get_interactive(self_: *mut HdyCarousel) -> gboolean; hdy_carousel_get_n_pages(self_: *mut HdyCarousel) -> c_uint1215 pub fn hdy_carousel_get_n_pages(self_: *mut HdyCarousel) -> c_uint; hdy_carousel_get_position(self_: *mut HdyCarousel) -> c_double1216 pub fn hdy_carousel_get_position(self_: *mut HdyCarousel) -> c_double; hdy_carousel_get_reveal_duration(self_: *mut HdyCarousel) -> c_uint1217 pub fn hdy_carousel_get_reveal_duration(self_: *mut HdyCarousel) -> c_uint; hdy_carousel_get_spacing(self_: *mut HdyCarousel) -> c_uint1218 pub fn hdy_carousel_get_spacing(self_: *mut HdyCarousel) -> c_uint; hdy_carousel_insert( self_: *mut HdyCarousel, child: *mut gtk::GtkWidget, position: c_int, )1219 pub fn hdy_carousel_insert( 1220 self_: *mut HdyCarousel, 1221 child: *mut gtk::GtkWidget, 1222 position: c_int, 1223 ); hdy_carousel_prepend(self_: *mut HdyCarousel, child: *mut gtk::GtkWidget)1224 pub fn hdy_carousel_prepend(self_: *mut HdyCarousel, child: *mut gtk::GtkWidget); hdy_carousel_reorder( self_: *mut HdyCarousel, child: *mut gtk::GtkWidget, position: c_int, )1225 pub fn hdy_carousel_reorder( 1226 self_: *mut HdyCarousel, 1227 child: *mut gtk::GtkWidget, 1228 position: c_int, 1229 ); hdy_carousel_scroll_to(self_: *mut HdyCarousel, widget: *mut gtk::GtkWidget)1230 pub fn hdy_carousel_scroll_to(self_: *mut HdyCarousel, widget: *mut gtk::GtkWidget); hdy_carousel_scroll_to_full( self_: *mut HdyCarousel, widget: *mut gtk::GtkWidget, duration: i64, )1231 pub fn hdy_carousel_scroll_to_full( 1232 self_: *mut HdyCarousel, 1233 widget: *mut gtk::GtkWidget, 1234 duration: i64, 1235 ); 1236 #[cfg(any(feature = "v1_2", feature = "dox"))] 1237 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_carousel_set_allow_long_swipes(self_: *mut HdyCarousel, allow_long_swipes: gboolean)1238 pub fn hdy_carousel_set_allow_long_swipes(self_: *mut HdyCarousel, allow_long_swipes: gboolean); hdy_carousel_set_allow_mouse_drag(self_: *mut HdyCarousel, allow_mouse_drag: gboolean)1239 pub fn hdy_carousel_set_allow_mouse_drag(self_: *mut HdyCarousel, allow_mouse_drag: gboolean); hdy_carousel_set_animation_duration(self_: *mut HdyCarousel, duration: c_uint)1240 pub fn hdy_carousel_set_animation_duration(self_: *mut HdyCarousel, duration: c_uint); hdy_carousel_set_interactive(self_: *mut HdyCarousel, interactive: gboolean)1241 pub fn hdy_carousel_set_interactive(self_: *mut HdyCarousel, interactive: gboolean); hdy_carousel_set_reveal_duration(self_: *mut HdyCarousel, reveal_duration: c_uint)1242 pub fn hdy_carousel_set_reveal_duration(self_: *mut HdyCarousel, reveal_duration: c_uint); hdy_carousel_set_spacing(self_: *mut HdyCarousel, spacing: c_uint)1243 pub fn hdy_carousel_set_spacing(self_: *mut HdyCarousel, spacing: c_uint); 1244 1245 //========================================================================= 1246 // HdyCarouselIndicatorDots 1247 //========================================================================= hdy_carousel_indicator_dots_get_type() -> GType1248 pub fn hdy_carousel_indicator_dots_get_type() -> GType; hdy_carousel_indicator_dots_new() -> *mut gtk::GtkWidget1249 pub fn hdy_carousel_indicator_dots_new() -> *mut gtk::GtkWidget; hdy_carousel_indicator_dots_get_carousel( self_: *mut HdyCarouselIndicatorDots, ) -> *mut HdyCarousel1250 pub fn hdy_carousel_indicator_dots_get_carousel( 1251 self_: *mut HdyCarouselIndicatorDots, 1252 ) -> *mut HdyCarousel; hdy_carousel_indicator_dots_set_carousel( self_: *mut HdyCarouselIndicatorDots, carousel: *mut HdyCarousel, )1253 pub fn hdy_carousel_indicator_dots_set_carousel( 1254 self_: *mut HdyCarouselIndicatorDots, 1255 carousel: *mut HdyCarousel, 1256 ); 1257 1258 //========================================================================= 1259 // HdyCarouselIndicatorLines 1260 //========================================================================= hdy_carousel_indicator_lines_get_type() -> GType1261 pub fn hdy_carousel_indicator_lines_get_type() -> GType; hdy_carousel_indicator_lines_new() -> *mut gtk::GtkWidget1262 pub fn hdy_carousel_indicator_lines_new() -> *mut gtk::GtkWidget; hdy_carousel_indicator_lines_get_carousel( self_: *mut HdyCarouselIndicatorLines, ) -> *mut HdyCarousel1263 pub fn hdy_carousel_indicator_lines_get_carousel( 1264 self_: *mut HdyCarouselIndicatorLines, 1265 ) -> *mut HdyCarousel; hdy_carousel_indicator_lines_set_carousel( self_: *mut HdyCarouselIndicatorLines, carousel: *mut HdyCarousel, )1266 pub fn hdy_carousel_indicator_lines_set_carousel( 1267 self_: *mut HdyCarouselIndicatorLines, 1268 carousel: *mut HdyCarousel, 1269 ); 1270 1271 //========================================================================= 1272 // HdyClamp 1273 //========================================================================= hdy_clamp_get_type() -> GType1274 pub fn hdy_clamp_get_type() -> GType; hdy_clamp_new() -> *mut gtk::GtkWidget1275 pub fn hdy_clamp_new() -> *mut gtk::GtkWidget; hdy_clamp_get_maximum_size(self_: *mut HdyClamp) -> c_int1276 pub fn hdy_clamp_get_maximum_size(self_: *mut HdyClamp) -> c_int; hdy_clamp_get_tightening_threshold(self_: *mut HdyClamp) -> c_int1277 pub fn hdy_clamp_get_tightening_threshold(self_: *mut HdyClamp) -> c_int; hdy_clamp_set_maximum_size(self_: *mut HdyClamp, maximum_size: c_int)1278 pub fn hdy_clamp_set_maximum_size(self_: *mut HdyClamp, maximum_size: c_int); hdy_clamp_set_tightening_threshold(self_: *mut HdyClamp, tightening_threshold: c_int)1279 pub fn hdy_clamp_set_tightening_threshold(self_: *mut HdyClamp, tightening_threshold: c_int); 1280 1281 //========================================================================= 1282 // HdyComboRow 1283 //========================================================================= hdy_combo_row_get_type() -> GType1284 pub fn hdy_combo_row_get_type() -> GType; hdy_combo_row_new() -> *mut gtk::GtkWidget1285 pub fn hdy_combo_row_new() -> *mut gtk::GtkWidget; 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, )1286 pub fn hdy_combo_row_bind_model( 1287 self_: *mut HdyComboRow, 1288 model: *mut gio::GListModel, 1289 create_list_widget_func: gtk::GtkListBoxCreateWidgetFunc, 1290 create_current_widget_func: gtk::GtkListBoxCreateWidgetFunc, 1291 user_data: gpointer, 1292 user_data_free_func: glib::GDestroyNotify, 1293 ); 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, )1294 pub fn hdy_combo_row_bind_name_model( 1295 self_: *mut HdyComboRow, 1296 model: *mut gio::GListModel, 1297 get_name_func: HdyComboRowGetNameFunc, 1298 user_data: gpointer, 1299 user_data_free_func: glib::GDestroyNotify, 1300 ); hdy_combo_row_get_model(self_: *mut HdyComboRow) -> *mut gio::GListModel1301 pub fn hdy_combo_row_get_model(self_: *mut HdyComboRow) -> *mut gio::GListModel; hdy_combo_row_get_selected_index(self_: *mut HdyComboRow) -> c_int1302 pub fn hdy_combo_row_get_selected_index(self_: *mut HdyComboRow) -> c_int; hdy_combo_row_get_use_subtitle(self_: *mut HdyComboRow) -> gboolean1303 pub fn hdy_combo_row_get_use_subtitle(self_: *mut HdyComboRow) -> gboolean; 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, )1304 pub fn hdy_combo_row_set_for_enum( 1305 self_: *mut HdyComboRow, 1306 enum_type: GType, 1307 get_name_func: HdyComboRowGetEnumValueNameFunc, 1308 user_data: gpointer, 1309 user_data_free_func: glib::GDestroyNotify, 1310 ); hdy_combo_row_set_get_name_func( self_: *mut HdyComboRow, get_name_func: HdyComboRowGetNameFunc, user_data: gpointer, user_data_free_func: glib::GDestroyNotify, )1311 pub fn hdy_combo_row_set_get_name_func( 1312 self_: *mut HdyComboRow, 1313 get_name_func: HdyComboRowGetNameFunc, 1314 user_data: gpointer, 1315 user_data_free_func: glib::GDestroyNotify, 1316 ); hdy_combo_row_set_selected_index(self_: *mut HdyComboRow, selected_index: c_int)1317 pub fn hdy_combo_row_set_selected_index(self_: *mut HdyComboRow, selected_index: c_int); hdy_combo_row_set_use_subtitle(self_: *mut HdyComboRow, use_subtitle: gboolean)1318 pub fn hdy_combo_row_set_use_subtitle(self_: *mut HdyComboRow, use_subtitle: gboolean); 1319 1320 //========================================================================= 1321 // HdyDeck 1322 //========================================================================= hdy_deck_get_type() -> GType1323 pub fn hdy_deck_get_type() -> GType; hdy_deck_new() -> *mut gtk::GtkWidget1324 pub fn hdy_deck_new() -> *mut gtk::GtkWidget; hdy_deck_get_adjacent_child( self_: *mut HdyDeck, direction: HdyNavigationDirection, ) -> *mut gtk::GtkWidget1325 pub fn hdy_deck_get_adjacent_child( 1326 self_: *mut HdyDeck, 1327 direction: HdyNavigationDirection, 1328 ) -> *mut gtk::GtkWidget; hdy_deck_get_can_swipe_back(self_: *mut HdyDeck) -> gboolean1329 pub fn hdy_deck_get_can_swipe_back(self_: *mut HdyDeck) -> gboolean; hdy_deck_get_can_swipe_forward(self_: *mut HdyDeck) -> gboolean1330 pub fn hdy_deck_get_can_swipe_forward(self_: *mut HdyDeck) -> gboolean; hdy_deck_get_child_by_name( self_: *mut HdyDeck, name: *const c_char, ) -> *mut gtk::GtkWidget1331 pub fn hdy_deck_get_child_by_name( 1332 self_: *mut HdyDeck, 1333 name: *const c_char, 1334 ) -> *mut gtk::GtkWidget; hdy_deck_get_homogeneous( self_: *mut HdyDeck, orientation: gtk::GtkOrientation, ) -> gboolean1335 pub fn hdy_deck_get_homogeneous( 1336 self_: *mut HdyDeck, 1337 orientation: gtk::GtkOrientation, 1338 ) -> gboolean; hdy_deck_get_interpolate_size(self_: *mut HdyDeck) -> gboolean1339 pub fn hdy_deck_get_interpolate_size(self_: *mut HdyDeck) -> gboolean; hdy_deck_get_transition_duration(self_: *mut HdyDeck) -> c_uint1340 pub fn hdy_deck_get_transition_duration(self_: *mut HdyDeck) -> c_uint; hdy_deck_get_transition_running(self_: *mut HdyDeck) -> gboolean1341 pub fn hdy_deck_get_transition_running(self_: *mut HdyDeck) -> gboolean; hdy_deck_get_transition_type(self_: *mut HdyDeck) -> HdyDeckTransitionType1342 pub fn hdy_deck_get_transition_type(self_: *mut HdyDeck) -> HdyDeckTransitionType; hdy_deck_get_visible_child(self_: *mut HdyDeck) -> *mut gtk::GtkWidget1343 pub fn hdy_deck_get_visible_child(self_: *mut HdyDeck) -> *mut gtk::GtkWidget; hdy_deck_get_visible_child_name(self_: *mut HdyDeck) -> *const c_char1344 pub fn hdy_deck_get_visible_child_name(self_: *mut HdyDeck) -> *const c_char; 1345 #[cfg(any(feature = "v1_2", feature = "dox"))] 1346 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_deck_insert_child_after( self_: *mut HdyDeck, child: *mut gtk::GtkWidget, sibling: *mut gtk::GtkWidget, )1347 pub fn hdy_deck_insert_child_after( 1348 self_: *mut HdyDeck, 1349 child: *mut gtk::GtkWidget, 1350 sibling: *mut gtk::GtkWidget, 1351 ); hdy_deck_navigate(self_: *mut HdyDeck, direction: HdyNavigationDirection) -> gboolean1352 pub fn hdy_deck_navigate(self_: *mut HdyDeck, direction: HdyNavigationDirection) -> gboolean; 1353 #[cfg(any(feature = "v1_2", feature = "dox"))] 1354 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_deck_prepend(self_: *mut HdyDeck, child: *mut gtk::GtkWidget)1355 pub fn hdy_deck_prepend(self_: *mut HdyDeck, child: *mut gtk::GtkWidget); 1356 #[cfg(any(feature = "v1_2", feature = "dox"))] 1357 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_deck_reorder_child_after( self_: *mut HdyDeck, child: *mut gtk::GtkWidget, sibling: *mut gtk::GtkWidget, )1358 pub fn hdy_deck_reorder_child_after( 1359 self_: *mut HdyDeck, 1360 child: *mut gtk::GtkWidget, 1361 sibling: *mut gtk::GtkWidget, 1362 ); hdy_deck_set_can_swipe_back(self_: *mut HdyDeck, can_swipe_back: gboolean)1363 pub fn hdy_deck_set_can_swipe_back(self_: *mut HdyDeck, can_swipe_back: gboolean); hdy_deck_set_can_swipe_forward(self_: *mut HdyDeck, can_swipe_forward: gboolean)1364 pub fn hdy_deck_set_can_swipe_forward(self_: *mut HdyDeck, can_swipe_forward: gboolean); hdy_deck_set_homogeneous( self_: *mut HdyDeck, orientation: gtk::GtkOrientation, homogeneous: gboolean, )1365 pub fn hdy_deck_set_homogeneous( 1366 self_: *mut HdyDeck, 1367 orientation: gtk::GtkOrientation, 1368 homogeneous: gboolean, 1369 ); hdy_deck_set_interpolate_size(self_: *mut HdyDeck, interpolate_size: gboolean)1370 pub fn hdy_deck_set_interpolate_size(self_: *mut HdyDeck, interpolate_size: gboolean); hdy_deck_set_transition_duration(self_: *mut HdyDeck, duration: c_uint)1371 pub fn hdy_deck_set_transition_duration(self_: *mut HdyDeck, duration: c_uint); hdy_deck_set_transition_type(self_: *mut HdyDeck, transition: HdyDeckTransitionType)1372 pub fn hdy_deck_set_transition_type(self_: *mut HdyDeck, transition: HdyDeckTransitionType); hdy_deck_set_visible_child(self_: *mut HdyDeck, visible_child: *mut gtk::GtkWidget)1373 pub fn hdy_deck_set_visible_child(self_: *mut HdyDeck, visible_child: *mut gtk::GtkWidget); hdy_deck_set_visible_child_name(self_: *mut HdyDeck, name: *const c_char)1374 pub fn hdy_deck_set_visible_child_name(self_: *mut HdyDeck, name: *const c_char); 1375 1376 //========================================================================= 1377 // HdyEnumValueObject 1378 //========================================================================= hdy_enum_value_object_get_type() -> GType1379 pub fn hdy_enum_value_object_get_type() -> GType; hdy_enum_value_object_new( enum_value: *mut gobject::GEnumValue, ) -> *mut HdyEnumValueObject1380 pub fn hdy_enum_value_object_new( 1381 enum_value: *mut gobject::GEnumValue, 1382 ) -> *mut HdyEnumValueObject; hdy_enum_value_object_get_name(self_: *mut HdyEnumValueObject) -> *const c_char1383 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_char1384 pub fn hdy_enum_value_object_get_nick(self_: *mut HdyEnumValueObject) -> *const c_char; hdy_enum_value_object_get_value(self_: *mut HdyEnumValueObject) -> c_int1385 pub fn hdy_enum_value_object_get_value(self_: *mut HdyEnumValueObject) -> c_int; 1386 1387 //========================================================================= 1388 // HdyExpanderRow 1389 //========================================================================= hdy_expander_row_get_type() -> GType1390 pub fn hdy_expander_row_get_type() -> GType; hdy_expander_row_new() -> *mut gtk::GtkWidget1391 pub fn hdy_expander_row_new() -> *mut gtk::GtkWidget; hdy_expander_row_add_action(self_: *mut HdyExpanderRow, widget: *mut gtk::GtkWidget)1392 pub fn hdy_expander_row_add_action(self_: *mut HdyExpanderRow, widget: *mut gtk::GtkWidget); hdy_expander_row_add_prefix(self_: *mut HdyExpanderRow, widget: *mut gtk::GtkWidget)1393 pub fn hdy_expander_row_add_prefix(self_: *mut HdyExpanderRow, widget: *mut gtk::GtkWidget); hdy_expander_row_get_enable_expansion(self_: *mut HdyExpanderRow) -> gboolean1394 pub fn hdy_expander_row_get_enable_expansion(self_: *mut HdyExpanderRow) -> gboolean; hdy_expander_row_get_expanded(self_: *mut HdyExpanderRow) -> gboolean1395 pub fn hdy_expander_row_get_expanded(self_: *mut HdyExpanderRow) -> gboolean; hdy_expander_row_get_icon_name(self_: *mut HdyExpanderRow) -> *const c_char1396 pub fn hdy_expander_row_get_icon_name(self_: *mut HdyExpanderRow) -> *const c_char; hdy_expander_row_get_show_enable_switch(self_: *mut HdyExpanderRow) -> gboolean1397 pub fn hdy_expander_row_get_show_enable_switch(self_: *mut HdyExpanderRow) -> gboolean; hdy_expander_row_get_subtitle(self_: *mut HdyExpanderRow) -> *const c_char1398 pub fn hdy_expander_row_get_subtitle(self_: *mut HdyExpanderRow) -> *const c_char; hdy_expander_row_get_use_underline(self_: *mut HdyExpanderRow) -> gboolean1399 pub fn hdy_expander_row_get_use_underline(self_: *mut HdyExpanderRow) -> gboolean; hdy_expander_row_set_enable_expansion( self_: *mut HdyExpanderRow, enable_expansion: gboolean, )1400 pub fn hdy_expander_row_set_enable_expansion( 1401 self_: *mut HdyExpanderRow, 1402 enable_expansion: gboolean, 1403 ); hdy_expander_row_set_expanded(self_: *mut HdyExpanderRow, expanded: gboolean)1404 pub fn hdy_expander_row_set_expanded(self_: *mut HdyExpanderRow, expanded: gboolean); hdy_expander_row_set_icon_name(self_: *mut HdyExpanderRow, icon_name: *const c_char)1405 pub fn hdy_expander_row_set_icon_name(self_: *mut HdyExpanderRow, icon_name: *const c_char); hdy_expander_row_set_show_enable_switch( self_: *mut HdyExpanderRow, show_enable_switch: gboolean, )1406 pub fn hdy_expander_row_set_show_enable_switch( 1407 self_: *mut HdyExpanderRow, 1408 show_enable_switch: gboolean, 1409 ); hdy_expander_row_set_subtitle(self_: *mut HdyExpanderRow, subtitle: *const c_char)1410 pub fn hdy_expander_row_set_subtitle(self_: *mut HdyExpanderRow, subtitle: *const c_char); hdy_expander_row_set_use_underline(self_: *mut HdyExpanderRow, use_underline: gboolean)1411 pub fn hdy_expander_row_set_use_underline(self_: *mut HdyExpanderRow, use_underline: gboolean); 1412 1413 //========================================================================= 1414 // HdyFlap 1415 //========================================================================= hdy_flap_get_type() -> GType1416 pub fn hdy_flap_get_type() -> GType; 1417 #[cfg(any(feature = "v1_2", feature = "dox"))] 1418 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_new() -> *mut gtk::GtkWidget1419 pub fn hdy_flap_new() -> *mut gtk::GtkWidget; 1420 #[cfg(any(feature = "v1_2", feature = "dox"))] 1421 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_content(self_: *mut HdyFlap) -> *mut gtk::GtkWidget1422 pub fn hdy_flap_get_content(self_: *mut HdyFlap) -> *mut gtk::GtkWidget; 1423 #[cfg(any(feature = "v1_2", feature = "dox"))] 1424 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_flap(self_: *mut HdyFlap) -> *mut gtk::GtkWidget1425 pub fn hdy_flap_get_flap(self_: *mut HdyFlap) -> *mut gtk::GtkWidget; 1426 #[cfg(any(feature = "v1_2", feature = "dox"))] 1427 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_flap_position(self_: *mut HdyFlap) -> gtk::GtkPackType1428 pub fn hdy_flap_get_flap_position(self_: *mut HdyFlap) -> gtk::GtkPackType; 1429 #[cfg(any(feature = "v1_2", feature = "dox"))] 1430 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_fold_duration(self_: *mut HdyFlap) -> c_uint1431 pub fn hdy_flap_get_fold_duration(self_: *mut HdyFlap) -> c_uint; 1432 #[cfg(any(feature = "v1_2", feature = "dox"))] 1433 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_fold_policy(self_: *mut HdyFlap) -> HdyFlapFoldPolicy1434 pub fn hdy_flap_get_fold_policy(self_: *mut HdyFlap) -> HdyFlapFoldPolicy; 1435 #[cfg(any(feature = "v1_2", feature = "dox"))] 1436 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_folded(self_: *mut HdyFlap) -> gboolean1437 pub fn hdy_flap_get_folded(self_: *mut HdyFlap) -> gboolean; 1438 #[cfg(any(feature = "v1_2", feature = "dox"))] 1439 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_locked(self_: *mut HdyFlap) -> gboolean1440 pub fn hdy_flap_get_locked(self_: *mut HdyFlap) -> gboolean; 1441 #[cfg(any(feature = "v1_2", feature = "dox"))] 1442 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_modal(self_: *mut HdyFlap) -> gboolean1443 pub fn hdy_flap_get_modal(self_: *mut HdyFlap) -> gboolean; 1444 #[cfg(any(feature = "v1_2", feature = "dox"))] 1445 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_reveal_duration(self_: *mut HdyFlap) -> c_uint1446 pub fn hdy_flap_get_reveal_duration(self_: *mut HdyFlap) -> c_uint; 1447 #[cfg(any(feature = "v1_2", feature = "dox"))] 1448 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_reveal_flap(self_: *mut HdyFlap) -> gboolean1449 pub fn hdy_flap_get_reveal_flap(self_: *mut HdyFlap) -> gboolean; 1450 #[cfg(any(feature = "v1_2", feature = "dox"))] 1451 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_reveal_progress(self_: *mut HdyFlap) -> c_double1452 pub fn hdy_flap_get_reveal_progress(self_: *mut HdyFlap) -> c_double; 1453 #[cfg(any(feature = "v1_2", feature = "dox"))] 1454 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_separator(self_: *mut HdyFlap) -> *mut gtk::GtkWidget1455 pub fn hdy_flap_get_separator(self_: *mut HdyFlap) -> *mut gtk::GtkWidget; 1456 #[cfg(any(feature = "v1_2", feature = "dox"))] 1457 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_swipe_to_close(self_: *mut HdyFlap) -> gboolean1458 pub fn hdy_flap_get_swipe_to_close(self_: *mut HdyFlap) -> gboolean; 1459 #[cfg(any(feature = "v1_2", feature = "dox"))] 1460 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_swipe_to_open(self_: *mut HdyFlap) -> gboolean1461 pub fn hdy_flap_get_swipe_to_open(self_: *mut HdyFlap) -> gboolean; 1462 #[cfg(any(feature = "v1_2", feature = "dox"))] 1463 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_get_transition_type(self_: *mut HdyFlap) -> HdyFlapTransitionType1464 pub fn hdy_flap_get_transition_type(self_: *mut HdyFlap) -> HdyFlapTransitionType; 1465 #[cfg(any(feature = "v1_2", feature = "dox"))] 1466 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_content(self_: *mut HdyFlap, content: *mut gtk::GtkWidget)1467 pub fn hdy_flap_set_content(self_: *mut HdyFlap, content: *mut gtk::GtkWidget); 1468 #[cfg(any(feature = "v1_2", feature = "dox"))] 1469 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_flap(self_: *mut HdyFlap, flap: *mut gtk::GtkWidget)1470 pub fn hdy_flap_set_flap(self_: *mut HdyFlap, flap: *mut gtk::GtkWidget); 1471 #[cfg(any(feature = "v1_2", feature = "dox"))] 1472 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_flap_position(self_: *mut HdyFlap, position: gtk::GtkPackType)1473 pub fn hdy_flap_set_flap_position(self_: *mut HdyFlap, position: gtk::GtkPackType); 1474 #[cfg(any(feature = "v1_2", feature = "dox"))] 1475 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_fold_duration(self_: *mut HdyFlap, duration: c_uint)1476 pub fn hdy_flap_set_fold_duration(self_: *mut HdyFlap, duration: c_uint); 1477 #[cfg(any(feature = "v1_2", feature = "dox"))] 1478 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_fold_policy(self_: *mut HdyFlap, policy: HdyFlapFoldPolicy)1479 pub fn hdy_flap_set_fold_policy(self_: *mut HdyFlap, policy: HdyFlapFoldPolicy); 1480 #[cfg(any(feature = "v1_2", feature = "dox"))] 1481 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_locked(self_: *mut HdyFlap, locked: gboolean)1482 pub fn hdy_flap_set_locked(self_: *mut HdyFlap, locked: gboolean); 1483 #[cfg(any(feature = "v1_2", feature = "dox"))] 1484 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_modal(self_: *mut HdyFlap, modal: gboolean)1485 pub fn hdy_flap_set_modal(self_: *mut HdyFlap, modal: gboolean); 1486 #[cfg(any(feature = "v1_2", feature = "dox"))] 1487 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_reveal_duration(self_: *mut HdyFlap, duration: c_uint)1488 pub fn hdy_flap_set_reveal_duration(self_: *mut HdyFlap, duration: c_uint); 1489 #[cfg(any(feature = "v1_2", feature = "dox"))] 1490 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_reveal_flap(self_: *mut HdyFlap, reveal_flap: gboolean)1491 pub fn hdy_flap_set_reveal_flap(self_: *mut HdyFlap, reveal_flap: gboolean); 1492 #[cfg(any(feature = "v1_2", feature = "dox"))] 1493 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_separator(self_: *mut HdyFlap, separator: *mut gtk::GtkWidget)1494 pub fn hdy_flap_set_separator(self_: *mut HdyFlap, separator: *mut gtk::GtkWidget); 1495 #[cfg(any(feature = "v1_2", feature = "dox"))] 1496 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_swipe_to_close(self_: *mut HdyFlap, swipe_to_close: gboolean)1497 pub fn hdy_flap_set_swipe_to_close(self_: *mut HdyFlap, swipe_to_close: gboolean); 1498 #[cfg(any(feature = "v1_2", feature = "dox"))] 1499 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_swipe_to_open(self_: *mut HdyFlap, swipe_to_open: gboolean)1500 pub fn hdy_flap_set_swipe_to_open(self_: *mut HdyFlap, swipe_to_open: gboolean); 1501 #[cfg(any(feature = "v1_2", feature = "dox"))] 1502 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_flap_set_transition_type( self_: *mut HdyFlap, transition_type: HdyFlapTransitionType, )1503 pub fn hdy_flap_set_transition_type( 1504 self_: *mut HdyFlap, 1505 transition_type: HdyFlapTransitionType, 1506 ); 1507 1508 //========================================================================= 1509 // HdyHeaderBar 1510 //========================================================================= hdy_header_bar_get_type() -> GType1511 pub fn hdy_header_bar_get_type() -> GType; hdy_header_bar_new() -> *mut gtk::GtkWidget1512 pub fn hdy_header_bar_new() -> *mut gtk::GtkWidget; hdy_header_bar_get_centering_policy(self_: *mut HdyHeaderBar) -> HdyCenteringPolicy1513 pub fn hdy_header_bar_get_centering_policy(self_: *mut HdyHeaderBar) -> HdyCenteringPolicy; hdy_header_bar_get_custom_title(self_: *mut HdyHeaderBar) -> *mut gtk::GtkWidget1514 pub fn hdy_header_bar_get_custom_title(self_: *mut HdyHeaderBar) -> *mut gtk::GtkWidget; hdy_header_bar_get_decoration_layout(self_: *mut HdyHeaderBar) -> *const c_char1515 pub fn hdy_header_bar_get_decoration_layout(self_: *mut HdyHeaderBar) -> *const c_char; hdy_header_bar_get_has_subtitle(self_: *mut HdyHeaderBar) -> gboolean1516 pub fn hdy_header_bar_get_has_subtitle(self_: *mut HdyHeaderBar) -> gboolean; hdy_header_bar_get_interpolate_size(self_: *mut HdyHeaderBar) -> gboolean1517 pub fn hdy_header_bar_get_interpolate_size(self_: *mut HdyHeaderBar) -> gboolean; hdy_header_bar_get_show_close_button(self_: *mut HdyHeaderBar) -> gboolean1518 pub fn hdy_header_bar_get_show_close_button(self_: *mut HdyHeaderBar) -> gboolean; hdy_header_bar_get_subtitle(self_: *mut HdyHeaderBar) -> *const c_char1519 pub fn hdy_header_bar_get_subtitle(self_: *mut HdyHeaderBar) -> *const c_char; hdy_header_bar_get_title(self_: *mut HdyHeaderBar) -> *const c_char1520 pub fn hdy_header_bar_get_title(self_: *mut HdyHeaderBar) -> *const c_char; hdy_header_bar_get_transition_duration(self_: *mut HdyHeaderBar) -> c_uint1521 pub fn hdy_header_bar_get_transition_duration(self_: *mut HdyHeaderBar) -> c_uint; hdy_header_bar_get_transition_running(self_: *mut HdyHeaderBar) -> gboolean1522 pub fn hdy_header_bar_get_transition_running(self_: *mut HdyHeaderBar) -> gboolean; hdy_header_bar_pack_end(self_: *mut HdyHeaderBar, child: *mut gtk::GtkWidget)1523 pub fn hdy_header_bar_pack_end(self_: *mut HdyHeaderBar, child: *mut gtk::GtkWidget); hdy_header_bar_pack_start(self_: *mut HdyHeaderBar, child: *mut gtk::GtkWidget)1524 pub fn hdy_header_bar_pack_start(self_: *mut HdyHeaderBar, child: *mut gtk::GtkWidget); hdy_header_bar_set_centering_policy( self_: *mut HdyHeaderBar, centering_policy: HdyCenteringPolicy, )1525 pub fn hdy_header_bar_set_centering_policy( 1526 self_: *mut HdyHeaderBar, 1527 centering_policy: HdyCenteringPolicy, 1528 ); hdy_header_bar_set_custom_title( self_: *mut HdyHeaderBar, title_widget: *mut gtk::GtkWidget, )1529 pub fn hdy_header_bar_set_custom_title( 1530 self_: *mut HdyHeaderBar, 1531 title_widget: *mut gtk::GtkWidget, 1532 ); hdy_header_bar_set_decoration_layout(self_: *mut HdyHeaderBar, layout: *const c_char)1533 pub fn hdy_header_bar_set_decoration_layout(self_: *mut HdyHeaderBar, layout: *const c_char); hdy_header_bar_set_has_subtitle(self_: *mut HdyHeaderBar, setting: gboolean)1534 pub fn hdy_header_bar_set_has_subtitle(self_: *mut HdyHeaderBar, setting: gboolean); hdy_header_bar_set_interpolate_size( self_: *mut HdyHeaderBar, interpolate_size: gboolean, )1535 pub fn hdy_header_bar_set_interpolate_size( 1536 self_: *mut HdyHeaderBar, 1537 interpolate_size: gboolean, 1538 ); hdy_header_bar_set_show_close_button(self_: *mut HdyHeaderBar, setting: gboolean)1539 pub fn hdy_header_bar_set_show_close_button(self_: *mut HdyHeaderBar, setting: gboolean); hdy_header_bar_set_subtitle(self_: *mut HdyHeaderBar, subtitle: *const c_char)1540 pub fn hdy_header_bar_set_subtitle(self_: *mut HdyHeaderBar, subtitle: *const c_char); hdy_header_bar_set_title(self_: *mut HdyHeaderBar, title: *const c_char)1541 pub fn hdy_header_bar_set_title(self_: *mut HdyHeaderBar, title: *const c_char); hdy_header_bar_set_transition_duration(self_: *mut HdyHeaderBar, duration: c_uint)1542 pub fn hdy_header_bar_set_transition_duration(self_: *mut HdyHeaderBar, duration: c_uint); 1543 1544 //========================================================================= 1545 // HdyHeaderGroup 1546 //========================================================================= hdy_header_group_get_type() -> GType1547 pub fn hdy_header_group_get_type() -> GType; hdy_header_group_new() -> *mut HdyHeaderGroup1548 pub fn hdy_header_group_new() -> *mut HdyHeaderGroup; hdy_header_group_add_gtk_header_bar( self_: *mut HdyHeaderGroup, header_bar: *mut gtk::GtkHeaderBar, )1549 pub fn hdy_header_group_add_gtk_header_bar( 1550 self_: *mut HdyHeaderGroup, 1551 header_bar: *mut gtk::GtkHeaderBar, 1552 ); hdy_header_group_add_header_bar( self_: *mut HdyHeaderGroup, header_bar: *mut HdyHeaderBar, )1553 pub fn hdy_header_group_add_header_bar( 1554 self_: *mut HdyHeaderGroup, 1555 header_bar: *mut HdyHeaderBar, 1556 ); hdy_header_group_add_header_group( self_: *mut HdyHeaderGroup, header_group: *mut HdyHeaderGroup, )1557 pub fn hdy_header_group_add_header_group( 1558 self_: *mut HdyHeaderGroup, 1559 header_group: *mut HdyHeaderGroup, 1560 ); hdy_header_group_get_children(self_: *mut HdyHeaderGroup) -> *mut glib::GSList1561 pub fn hdy_header_group_get_children(self_: *mut HdyHeaderGroup) -> *mut glib::GSList; hdy_header_group_get_decorate_all(self_: *mut HdyHeaderGroup) -> gboolean1562 pub fn hdy_header_group_get_decorate_all(self_: *mut HdyHeaderGroup) -> gboolean; hdy_header_group_remove_child( self_: *mut HdyHeaderGroup, child: *mut HdyHeaderGroupChild, )1563 pub fn hdy_header_group_remove_child( 1564 self_: *mut HdyHeaderGroup, 1565 child: *mut HdyHeaderGroupChild, 1566 ); hdy_header_group_remove_gtk_header_bar( self_: *mut HdyHeaderGroup, header_bar: *mut gtk::GtkHeaderBar, )1567 pub fn hdy_header_group_remove_gtk_header_bar( 1568 self_: *mut HdyHeaderGroup, 1569 header_bar: *mut gtk::GtkHeaderBar, 1570 ); hdy_header_group_remove_header_bar( self_: *mut HdyHeaderGroup, header_bar: *mut HdyHeaderBar, )1571 pub fn hdy_header_group_remove_header_bar( 1572 self_: *mut HdyHeaderGroup, 1573 header_bar: *mut HdyHeaderBar, 1574 ); hdy_header_group_remove_header_group( self_: *mut HdyHeaderGroup, header_group: *mut HdyHeaderGroup, )1575 pub fn hdy_header_group_remove_header_group( 1576 self_: *mut HdyHeaderGroup, 1577 header_group: *mut HdyHeaderGroup, 1578 ); hdy_header_group_set_decorate_all(self_: *mut HdyHeaderGroup, decorate_all: gboolean)1579 pub fn hdy_header_group_set_decorate_all(self_: *mut HdyHeaderGroup, decorate_all: gboolean); 1580 1581 //========================================================================= 1582 // HdyHeaderGroupChild 1583 //========================================================================= hdy_header_group_child_get_type() -> GType1584 pub fn hdy_header_group_child_get_type() -> GType; hdy_header_group_child_get_child_type( self_: *mut HdyHeaderGroupChild, ) -> HdyHeaderGroupChildType1585 pub fn hdy_header_group_child_get_child_type( 1586 self_: *mut HdyHeaderGroupChild, 1587 ) -> HdyHeaderGroupChildType; hdy_header_group_child_get_gtk_header_bar( self_: *mut HdyHeaderGroupChild, ) -> *mut gtk::GtkHeaderBar1588 pub fn hdy_header_group_child_get_gtk_header_bar( 1589 self_: *mut HdyHeaderGroupChild, 1590 ) -> *mut gtk::GtkHeaderBar; hdy_header_group_child_get_header_bar( self_: *mut HdyHeaderGroupChild, ) -> *mut HdyHeaderBar1591 pub fn hdy_header_group_child_get_header_bar( 1592 self_: *mut HdyHeaderGroupChild, 1593 ) -> *mut HdyHeaderBar; hdy_header_group_child_get_header_group( self_: *mut HdyHeaderGroupChild, ) -> *mut HdyHeaderGroup1594 pub fn hdy_header_group_child_get_header_group( 1595 self_: *mut HdyHeaderGroupChild, 1596 ) -> *mut HdyHeaderGroup; 1597 1598 //========================================================================= 1599 // HdyKeypad 1600 //========================================================================= hdy_keypad_get_type() -> GType1601 pub fn hdy_keypad_get_type() -> GType; hdy_keypad_new( symbols_visible: gboolean, letters_visible: gboolean, ) -> *mut gtk::GtkWidget1602 pub fn hdy_keypad_new( 1603 symbols_visible: gboolean, 1604 letters_visible: gboolean, 1605 ) -> *mut gtk::GtkWidget; hdy_keypad_get_column_spacing(self_: *mut HdyKeypad) -> c_uint1606 pub fn hdy_keypad_get_column_spacing(self_: *mut HdyKeypad) -> c_uint; hdy_keypad_get_end_action(self_: *mut HdyKeypad) -> *mut gtk::GtkWidget1607 pub fn hdy_keypad_get_end_action(self_: *mut HdyKeypad) -> *mut gtk::GtkWidget; hdy_keypad_get_entry(self_: *mut HdyKeypad) -> *mut gtk::GtkEntry1608 pub fn hdy_keypad_get_entry(self_: *mut HdyKeypad) -> *mut gtk::GtkEntry; hdy_keypad_get_letters_visible(self_: *mut HdyKeypad) -> gboolean1609 pub fn hdy_keypad_get_letters_visible(self_: *mut HdyKeypad) -> gboolean; hdy_keypad_get_row_spacing(self_: *mut HdyKeypad) -> c_uint1610 pub fn hdy_keypad_get_row_spacing(self_: *mut HdyKeypad) -> c_uint; hdy_keypad_get_start_action(self_: *mut HdyKeypad) -> *mut gtk::GtkWidget1611 pub fn hdy_keypad_get_start_action(self_: *mut HdyKeypad) -> *mut gtk::GtkWidget; hdy_keypad_get_symbols_visible(self_: *mut HdyKeypad) -> gboolean1612 pub fn hdy_keypad_get_symbols_visible(self_: *mut HdyKeypad) -> gboolean; hdy_keypad_set_column_spacing(self_: *mut HdyKeypad, spacing: c_uint)1613 pub fn hdy_keypad_set_column_spacing(self_: *mut HdyKeypad, spacing: c_uint); hdy_keypad_set_end_action(self_: *mut HdyKeypad, end_action: *mut gtk::GtkWidget)1614 pub fn hdy_keypad_set_end_action(self_: *mut HdyKeypad, end_action: *mut gtk::GtkWidget); hdy_keypad_set_entry(self_: *mut HdyKeypad, entry: *mut gtk::GtkEntry)1615 pub fn hdy_keypad_set_entry(self_: *mut HdyKeypad, entry: *mut gtk::GtkEntry); hdy_keypad_set_letters_visible(self_: *mut HdyKeypad, letters_visible: gboolean)1616 pub fn hdy_keypad_set_letters_visible(self_: *mut HdyKeypad, letters_visible: gboolean); hdy_keypad_set_row_spacing(self_: *mut HdyKeypad, spacing: c_uint)1617 pub fn hdy_keypad_set_row_spacing(self_: *mut HdyKeypad, spacing: c_uint); hdy_keypad_set_start_action(self_: *mut HdyKeypad, start_action: *mut gtk::GtkWidget)1618 pub fn hdy_keypad_set_start_action(self_: *mut HdyKeypad, start_action: *mut gtk::GtkWidget); hdy_keypad_set_symbols_visible(self_: *mut HdyKeypad, symbols_visible: gboolean)1619 pub fn hdy_keypad_set_symbols_visible(self_: *mut HdyKeypad, symbols_visible: gboolean); 1620 1621 //========================================================================= 1622 // HdyLeaflet 1623 //========================================================================= hdy_leaflet_get_type() -> GType1624 pub fn hdy_leaflet_get_type() -> GType; hdy_leaflet_new() -> *mut gtk::GtkWidget1625 pub fn hdy_leaflet_new() -> *mut gtk::GtkWidget; hdy_leaflet_get_adjacent_child( self_: *mut HdyLeaflet, direction: HdyNavigationDirection, ) -> *mut gtk::GtkWidget1626 pub fn hdy_leaflet_get_adjacent_child( 1627 self_: *mut HdyLeaflet, 1628 direction: HdyNavigationDirection, 1629 ) -> *mut gtk::GtkWidget; hdy_leaflet_get_can_swipe_back(self_: *mut HdyLeaflet) -> gboolean1630 pub fn hdy_leaflet_get_can_swipe_back(self_: *mut HdyLeaflet) -> gboolean; hdy_leaflet_get_can_swipe_forward(self_: *mut HdyLeaflet) -> gboolean1631 pub fn hdy_leaflet_get_can_swipe_forward(self_: *mut HdyLeaflet) -> gboolean; hdy_leaflet_get_child_by_name( self_: *mut HdyLeaflet, name: *const c_char, ) -> *mut gtk::GtkWidget1632 pub fn hdy_leaflet_get_child_by_name( 1633 self_: *mut HdyLeaflet, 1634 name: *const c_char, 1635 ) -> *mut gtk::GtkWidget; hdy_leaflet_get_child_transition_duration(self_: *mut HdyLeaflet) -> c_uint1636 pub fn hdy_leaflet_get_child_transition_duration(self_: *mut HdyLeaflet) -> c_uint; hdy_leaflet_get_child_transition_running(self_: *mut HdyLeaflet) -> gboolean1637 pub fn hdy_leaflet_get_child_transition_running(self_: *mut HdyLeaflet) -> gboolean; hdy_leaflet_get_folded(self_: *mut HdyLeaflet) -> gboolean1638 pub fn hdy_leaflet_get_folded(self_: *mut HdyLeaflet) -> gboolean; hdy_leaflet_get_homogeneous( self_: *mut HdyLeaflet, folded: gboolean, orientation: gtk::GtkOrientation, ) -> gboolean1639 pub fn hdy_leaflet_get_homogeneous( 1640 self_: *mut HdyLeaflet, 1641 folded: gboolean, 1642 orientation: gtk::GtkOrientation, 1643 ) -> gboolean; hdy_leaflet_get_interpolate_size(self_: *mut HdyLeaflet) -> gboolean1644 pub fn hdy_leaflet_get_interpolate_size(self_: *mut HdyLeaflet) -> gboolean; hdy_leaflet_get_mode_transition_duration(self_: *mut HdyLeaflet) -> c_uint1645 pub fn hdy_leaflet_get_mode_transition_duration(self_: *mut HdyLeaflet) -> c_uint; hdy_leaflet_get_transition_type(self_: *mut HdyLeaflet) -> HdyLeafletTransitionType1646 pub fn hdy_leaflet_get_transition_type(self_: *mut HdyLeaflet) -> HdyLeafletTransitionType; hdy_leaflet_get_visible_child(self_: *mut HdyLeaflet) -> *mut gtk::GtkWidget1647 pub fn hdy_leaflet_get_visible_child(self_: *mut HdyLeaflet) -> *mut gtk::GtkWidget; hdy_leaflet_get_visible_child_name(self_: *mut HdyLeaflet) -> *const c_char1648 pub fn hdy_leaflet_get_visible_child_name(self_: *mut HdyLeaflet) -> *const c_char; 1649 #[cfg(any(feature = "v1_2", feature = "dox"))] 1650 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_leaflet_insert_child_after( self_: *mut HdyLeaflet, child: *mut gtk::GtkWidget, sibling: *mut gtk::GtkWidget, )1651 pub fn hdy_leaflet_insert_child_after( 1652 self_: *mut HdyLeaflet, 1653 child: *mut gtk::GtkWidget, 1654 sibling: *mut gtk::GtkWidget, 1655 ); hdy_leaflet_navigate( self_: *mut HdyLeaflet, direction: HdyNavigationDirection, ) -> gboolean1656 pub fn hdy_leaflet_navigate( 1657 self_: *mut HdyLeaflet, 1658 direction: HdyNavigationDirection, 1659 ) -> gboolean; 1660 #[cfg(any(feature = "v1_2", feature = "dox"))] 1661 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_leaflet_prepend(self_: *mut HdyLeaflet, child: *mut gtk::GtkWidget)1662 pub fn hdy_leaflet_prepend(self_: *mut HdyLeaflet, child: *mut gtk::GtkWidget); 1663 #[cfg(any(feature = "v1_2", feature = "dox"))] 1664 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_leaflet_reorder_child_after( self_: *mut HdyLeaflet, child: *mut gtk::GtkWidget, sibling: *mut gtk::GtkWidget, )1665 pub fn hdy_leaflet_reorder_child_after( 1666 self_: *mut HdyLeaflet, 1667 child: *mut gtk::GtkWidget, 1668 sibling: *mut gtk::GtkWidget, 1669 ); hdy_leaflet_set_can_swipe_back(self_: *mut HdyLeaflet, can_swipe_back: gboolean)1670 pub fn hdy_leaflet_set_can_swipe_back(self_: *mut HdyLeaflet, can_swipe_back: gboolean); hdy_leaflet_set_can_swipe_forward(self_: *mut HdyLeaflet, can_swipe_forward: gboolean)1671 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)1672 pub fn hdy_leaflet_set_child_transition_duration(self_: *mut HdyLeaflet, duration: c_uint); hdy_leaflet_set_homogeneous( self_: *mut HdyLeaflet, folded: gboolean, orientation: gtk::GtkOrientation, homogeneous: gboolean, )1673 pub fn hdy_leaflet_set_homogeneous( 1674 self_: *mut HdyLeaflet, 1675 folded: gboolean, 1676 orientation: gtk::GtkOrientation, 1677 homogeneous: gboolean, 1678 ); hdy_leaflet_set_interpolate_size(self_: *mut HdyLeaflet, interpolate_size: gboolean)1679 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)1680 pub fn hdy_leaflet_set_mode_transition_duration(self_: *mut HdyLeaflet, duration: c_uint); hdy_leaflet_set_transition_type( self_: *mut HdyLeaflet, transition: HdyLeafletTransitionType, )1681 pub fn hdy_leaflet_set_transition_type( 1682 self_: *mut HdyLeaflet, 1683 transition: HdyLeafletTransitionType, 1684 ); hdy_leaflet_set_visible_child( self_: *mut HdyLeaflet, visible_child: *mut gtk::GtkWidget, )1685 pub fn hdy_leaflet_set_visible_child( 1686 self_: *mut HdyLeaflet, 1687 visible_child: *mut gtk::GtkWidget, 1688 ); hdy_leaflet_set_visible_child_name(self_: *mut HdyLeaflet, name: *const c_char)1689 pub fn hdy_leaflet_set_visible_child_name(self_: *mut HdyLeaflet, name: *const c_char); 1690 1691 //========================================================================= 1692 // HdyPreferencesGroup 1693 //========================================================================= hdy_preferences_group_get_type() -> GType1694 pub fn hdy_preferences_group_get_type() -> GType; hdy_preferences_group_new() -> *mut gtk::GtkWidget1695 pub fn hdy_preferences_group_new() -> *mut gtk::GtkWidget; hdy_preferences_group_get_description(self_: *mut HdyPreferencesGroup) -> *const c_char1696 pub fn hdy_preferences_group_get_description(self_: *mut HdyPreferencesGroup) -> *const c_char; hdy_preferences_group_get_title(self_: *mut HdyPreferencesGroup) -> *const c_char1697 pub fn hdy_preferences_group_get_title(self_: *mut HdyPreferencesGroup) -> *const c_char; hdy_preferences_group_set_description( self_: *mut HdyPreferencesGroup, description: *const c_char, )1698 pub fn hdy_preferences_group_set_description( 1699 self_: *mut HdyPreferencesGroup, 1700 description: *const c_char, 1701 ); hdy_preferences_group_set_title(self_: *mut HdyPreferencesGroup, title: *const c_char)1702 pub fn hdy_preferences_group_set_title(self_: *mut HdyPreferencesGroup, title: *const c_char); 1703 1704 //========================================================================= 1705 // HdyPreferencesPage 1706 //========================================================================= hdy_preferences_page_get_type() -> GType1707 pub fn hdy_preferences_page_get_type() -> GType; hdy_preferences_page_new() -> *mut gtk::GtkWidget1708 pub fn hdy_preferences_page_new() -> *mut gtk::GtkWidget; hdy_preferences_page_get_icon_name(self_: *mut HdyPreferencesPage) -> *const c_char1709 pub fn hdy_preferences_page_get_icon_name(self_: *mut HdyPreferencesPage) -> *const c_char; hdy_preferences_page_get_title(self_: *mut HdyPreferencesPage) -> *const c_char1710 pub fn hdy_preferences_page_get_title(self_: *mut HdyPreferencesPage) -> *const c_char; hdy_preferences_page_set_icon_name( self_: *mut HdyPreferencesPage, icon_name: *const c_char, )1711 pub fn hdy_preferences_page_set_icon_name( 1712 self_: *mut HdyPreferencesPage, 1713 icon_name: *const c_char, 1714 ); hdy_preferences_page_set_title(self_: *mut HdyPreferencesPage, title: *const c_char)1715 pub fn hdy_preferences_page_set_title(self_: *mut HdyPreferencesPage, title: *const c_char); 1716 1717 //========================================================================= 1718 // HdyPreferencesRow 1719 //========================================================================= hdy_preferences_row_get_type() -> GType1720 pub fn hdy_preferences_row_get_type() -> GType; hdy_preferences_row_new() -> *mut gtk::GtkWidget1721 pub fn hdy_preferences_row_new() -> *mut gtk::GtkWidget; hdy_preferences_row_get_title(self_: *mut HdyPreferencesRow) -> *const c_char1722 pub fn hdy_preferences_row_get_title(self_: *mut HdyPreferencesRow) -> *const c_char; hdy_preferences_row_get_use_underline(self_: *mut HdyPreferencesRow) -> gboolean1723 pub fn hdy_preferences_row_get_use_underline(self_: *mut HdyPreferencesRow) -> gboolean; hdy_preferences_row_set_title(self_: *mut HdyPreferencesRow, title: *const c_char)1724 pub fn hdy_preferences_row_set_title(self_: *mut HdyPreferencesRow, title: *const c_char); hdy_preferences_row_set_use_underline( self_: *mut HdyPreferencesRow, use_underline: gboolean, )1725 pub fn hdy_preferences_row_set_use_underline( 1726 self_: *mut HdyPreferencesRow, 1727 use_underline: gboolean, 1728 ); 1729 1730 //========================================================================= 1731 // HdyPreferencesWindow 1732 //========================================================================= hdy_preferences_window_get_type() -> GType1733 pub fn hdy_preferences_window_get_type() -> GType; hdy_preferences_window_new() -> *mut gtk::GtkWidget1734 pub fn hdy_preferences_window_new() -> *mut gtk::GtkWidget; hdy_preferences_window_close_subpage(self_: *mut HdyPreferencesWindow)1735 pub fn hdy_preferences_window_close_subpage(self_: *mut HdyPreferencesWindow); hdy_preferences_window_get_can_swipe_back(self_: *mut HdyPreferencesWindow) -> gboolean1736 pub fn hdy_preferences_window_get_can_swipe_back(self_: *mut HdyPreferencesWindow) -> gboolean; hdy_preferences_window_get_search_enabled(self_: *mut HdyPreferencesWindow) -> gboolean1737 pub fn hdy_preferences_window_get_search_enabled(self_: *mut HdyPreferencesWindow) -> gboolean; hdy_preferences_window_present_subpage( self_: *mut HdyPreferencesWindow, subpage: *mut gtk::GtkWidget, )1738 pub fn hdy_preferences_window_present_subpage( 1739 self_: *mut HdyPreferencesWindow, 1740 subpage: *mut gtk::GtkWidget, 1741 ); hdy_preferences_window_set_can_swipe_back( self_: *mut HdyPreferencesWindow, can_swipe_back: gboolean, )1742 pub fn hdy_preferences_window_set_can_swipe_back( 1743 self_: *mut HdyPreferencesWindow, 1744 can_swipe_back: gboolean, 1745 ); hdy_preferences_window_set_search_enabled( self_: *mut HdyPreferencesWindow, search_enabled: gboolean, )1746 pub fn hdy_preferences_window_set_search_enabled( 1747 self_: *mut HdyPreferencesWindow, 1748 search_enabled: gboolean, 1749 ); 1750 1751 //========================================================================= 1752 // HdySearchBar 1753 //========================================================================= hdy_search_bar_get_type() -> GType1754 pub fn hdy_search_bar_get_type() -> GType; hdy_search_bar_new() -> *mut gtk::GtkWidget1755 pub fn hdy_search_bar_new() -> *mut gtk::GtkWidget; hdy_search_bar_connect_entry(self_: *mut HdySearchBar, entry: *mut gtk::GtkEntry)1756 pub fn hdy_search_bar_connect_entry(self_: *mut HdySearchBar, entry: *mut gtk::GtkEntry); hdy_search_bar_get_search_mode(self_: *mut HdySearchBar) -> gboolean1757 pub fn hdy_search_bar_get_search_mode(self_: *mut HdySearchBar) -> gboolean; hdy_search_bar_get_show_close_button(self_: *mut HdySearchBar) -> gboolean1758 pub fn hdy_search_bar_get_show_close_button(self_: *mut HdySearchBar) -> gboolean; hdy_search_bar_handle_event( self_: *mut HdySearchBar, event: *mut gdk::GdkEvent, ) -> gboolean1759 pub fn hdy_search_bar_handle_event( 1760 self_: *mut HdySearchBar, 1761 event: *mut gdk::GdkEvent, 1762 ) -> gboolean; hdy_search_bar_set_search_mode(self_: *mut HdySearchBar, search_mode: gboolean)1763 pub fn hdy_search_bar_set_search_mode(self_: *mut HdySearchBar, search_mode: gboolean); hdy_search_bar_set_show_close_button(self_: *mut HdySearchBar, visible: gboolean)1764 pub fn hdy_search_bar_set_show_close_button(self_: *mut HdySearchBar, visible: gboolean); 1765 1766 //========================================================================= 1767 // HdySqueezer 1768 //========================================================================= hdy_squeezer_get_type() -> GType1769 pub fn hdy_squeezer_get_type() -> GType; hdy_squeezer_new() -> *mut gtk::GtkWidget1770 pub fn hdy_squeezer_new() -> *mut gtk::GtkWidget; hdy_squeezer_get_child_enabled( self_: *mut HdySqueezer, child: *mut gtk::GtkWidget, ) -> gboolean1771 pub fn hdy_squeezer_get_child_enabled( 1772 self_: *mut HdySqueezer, 1773 child: *mut gtk::GtkWidget, 1774 ) -> gboolean; hdy_squeezer_get_homogeneous(self_: *mut HdySqueezer) -> gboolean1775 pub fn hdy_squeezer_get_homogeneous(self_: *mut HdySqueezer) -> gboolean; hdy_squeezer_get_interpolate_size(self_: *mut HdySqueezer) -> gboolean1776 pub fn hdy_squeezer_get_interpolate_size(self_: *mut HdySqueezer) -> gboolean; hdy_squeezer_get_transition_duration(self_: *mut HdySqueezer) -> c_uint1777 pub fn hdy_squeezer_get_transition_duration(self_: *mut HdySqueezer) -> c_uint; hdy_squeezer_get_transition_running(self_: *mut HdySqueezer) -> gboolean1778 pub fn hdy_squeezer_get_transition_running(self_: *mut HdySqueezer) -> gboolean; hdy_squeezer_get_transition_type(self_: *mut HdySqueezer) -> HdySqueezerTransitionType1779 pub fn hdy_squeezer_get_transition_type(self_: *mut HdySqueezer) -> HdySqueezerTransitionType; hdy_squeezer_get_visible_child(self_: *mut HdySqueezer) -> *mut gtk::GtkWidget1780 pub fn hdy_squeezer_get_visible_child(self_: *mut HdySqueezer) -> *mut gtk::GtkWidget; hdy_squeezer_get_xalign(self_: *mut HdySqueezer) -> c_float1781 pub fn hdy_squeezer_get_xalign(self_: *mut HdySqueezer) -> c_float; hdy_squeezer_get_yalign(self_: *mut HdySqueezer) -> c_float1782 pub fn hdy_squeezer_get_yalign(self_: *mut HdySqueezer) -> c_float; hdy_squeezer_set_child_enabled( self_: *mut HdySqueezer, child: *mut gtk::GtkWidget, enabled: gboolean, )1783 pub fn hdy_squeezer_set_child_enabled( 1784 self_: *mut HdySqueezer, 1785 child: *mut gtk::GtkWidget, 1786 enabled: gboolean, 1787 ); hdy_squeezer_set_homogeneous(self_: *mut HdySqueezer, homogeneous: gboolean)1788 pub fn hdy_squeezer_set_homogeneous(self_: *mut HdySqueezer, homogeneous: gboolean); hdy_squeezer_set_interpolate_size(self_: *mut HdySqueezer, interpolate_size: gboolean)1789 pub fn hdy_squeezer_set_interpolate_size(self_: *mut HdySqueezer, interpolate_size: gboolean); hdy_squeezer_set_transition_duration(self_: *mut HdySqueezer, duration: c_uint)1790 pub fn hdy_squeezer_set_transition_duration(self_: *mut HdySqueezer, duration: c_uint); hdy_squeezer_set_transition_type( self_: *mut HdySqueezer, transition: HdySqueezerTransitionType, )1791 pub fn hdy_squeezer_set_transition_type( 1792 self_: *mut HdySqueezer, 1793 transition: HdySqueezerTransitionType, 1794 ); hdy_squeezer_set_xalign(self_: *mut HdySqueezer, xalign: c_float)1795 pub fn hdy_squeezer_set_xalign(self_: *mut HdySqueezer, xalign: c_float); hdy_squeezer_set_yalign(self_: *mut HdySqueezer, yalign: c_float)1796 pub fn hdy_squeezer_set_yalign(self_: *mut HdySqueezer, yalign: c_float); 1797 1798 //========================================================================= 1799 // HdyStatusPage 1800 //========================================================================= hdy_status_page_get_type() -> GType1801 pub fn hdy_status_page_get_type() -> GType; 1802 #[cfg(any(feature = "v1_2", feature = "dox"))] 1803 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_status_page_new() -> *mut gtk::GtkWidget1804 pub fn hdy_status_page_new() -> *mut gtk::GtkWidget; 1805 #[cfg(any(feature = "v1_2", feature = "dox"))] 1806 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_status_page_get_description(self_: *mut HdyStatusPage) -> *const c_char1807 pub fn hdy_status_page_get_description(self_: *mut HdyStatusPage) -> *const c_char; 1808 #[cfg(any(feature = "v1_2", feature = "dox"))] 1809 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_status_page_get_icon_name(self_: *mut HdyStatusPage) -> *const c_char1810 pub fn hdy_status_page_get_icon_name(self_: *mut HdyStatusPage) -> *const c_char; 1811 #[cfg(any(feature = "v1_2", feature = "dox"))] 1812 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_status_page_get_title(self_: *mut HdyStatusPage) -> *const c_char1813 pub fn hdy_status_page_get_title(self_: *mut HdyStatusPage) -> *const c_char; 1814 #[cfg(any(feature = "v1_2", feature = "dox"))] 1815 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_status_page_set_description(self_: *mut HdyStatusPage, description: *const c_char)1816 pub fn hdy_status_page_set_description(self_: *mut HdyStatusPage, description: *const c_char); 1817 #[cfg(any(feature = "v1_2", feature = "dox"))] 1818 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_status_page_set_icon_name(self_: *mut HdyStatusPage, icon_name: *const c_char)1819 pub fn hdy_status_page_set_icon_name(self_: *mut HdyStatusPage, icon_name: *const c_char); 1820 #[cfg(any(feature = "v1_2", feature = "dox"))] 1821 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_status_page_set_title(self_: *mut HdyStatusPage, title: *const c_char)1822 pub fn hdy_status_page_set_title(self_: *mut HdyStatusPage, title: *const c_char); 1823 1824 //========================================================================= 1825 // HdySwipeGroup 1826 //========================================================================= hdy_swipe_group_get_type() -> GType1827 pub fn hdy_swipe_group_get_type() -> GType; hdy_swipe_group_new() -> *mut HdySwipeGroup1828 pub fn hdy_swipe_group_new() -> *mut HdySwipeGroup; hdy_swipe_group_add_swipeable(self_: *mut HdySwipeGroup, swipeable: *mut HdySwipeable)1829 pub fn hdy_swipe_group_add_swipeable(self_: *mut HdySwipeGroup, swipeable: *mut HdySwipeable); hdy_swipe_group_get_swipeables(self_: *mut HdySwipeGroup) -> *mut glib::GSList1830 pub fn hdy_swipe_group_get_swipeables(self_: *mut HdySwipeGroup) -> *mut glib::GSList; hdy_swipe_group_remove_swipeable( self_: *mut HdySwipeGroup, swipeable: *mut HdySwipeable, )1831 pub fn hdy_swipe_group_remove_swipeable( 1832 self_: *mut HdySwipeGroup, 1833 swipeable: *mut HdySwipeable, 1834 ); 1835 1836 //========================================================================= 1837 // HdySwipeTracker 1838 //========================================================================= hdy_swipe_tracker_get_type() -> GType1839 pub fn hdy_swipe_tracker_get_type() -> GType; hdy_swipe_tracker_new(swipeable: *mut HdySwipeable) -> *mut HdySwipeTracker1840 pub fn hdy_swipe_tracker_new(swipeable: *mut HdySwipeable) -> *mut HdySwipeTracker; 1841 #[cfg(any(feature = "v1_2", feature = "dox"))] 1842 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_swipe_tracker_get_allow_long_swipes(self_: *mut HdySwipeTracker) -> gboolean1843 pub fn hdy_swipe_tracker_get_allow_long_swipes(self_: *mut HdySwipeTracker) -> gboolean; hdy_swipe_tracker_get_allow_mouse_drag(self_: *mut HdySwipeTracker) -> gboolean1844 pub fn hdy_swipe_tracker_get_allow_mouse_drag(self_: *mut HdySwipeTracker) -> gboolean; hdy_swipe_tracker_get_enabled(self_: *mut HdySwipeTracker) -> gboolean1845 pub fn hdy_swipe_tracker_get_enabled(self_: *mut HdySwipeTracker) -> gboolean; hdy_swipe_tracker_get_reversed(self_: *mut HdySwipeTracker) -> gboolean1846 pub fn hdy_swipe_tracker_get_reversed(self_: *mut HdySwipeTracker) -> gboolean; hdy_swipe_tracker_get_swipeable(self_: *mut HdySwipeTracker) -> *mut HdySwipeable1847 pub fn hdy_swipe_tracker_get_swipeable(self_: *mut HdySwipeTracker) -> *mut HdySwipeable; 1848 #[cfg(any(feature = "v1_2", feature = "dox"))] 1849 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_swipe_tracker_set_allow_long_swipes( self_: *mut HdySwipeTracker, allow_long_swipes: gboolean, )1850 pub fn hdy_swipe_tracker_set_allow_long_swipes( 1851 self_: *mut HdySwipeTracker, 1852 allow_long_swipes: gboolean, 1853 ); hdy_swipe_tracker_set_allow_mouse_drag( self_: *mut HdySwipeTracker, allow_mouse_drag: gboolean, )1854 pub fn hdy_swipe_tracker_set_allow_mouse_drag( 1855 self_: *mut HdySwipeTracker, 1856 allow_mouse_drag: gboolean, 1857 ); hdy_swipe_tracker_set_enabled(self_: *mut HdySwipeTracker, enabled: gboolean)1858 pub fn hdy_swipe_tracker_set_enabled(self_: *mut HdySwipeTracker, enabled: gboolean); hdy_swipe_tracker_set_reversed(self_: *mut HdySwipeTracker, reversed: gboolean)1859 pub fn hdy_swipe_tracker_set_reversed(self_: *mut HdySwipeTracker, reversed: gboolean); hdy_swipe_tracker_shift_position(self_: *mut HdySwipeTracker, delta: c_double)1860 pub fn hdy_swipe_tracker_shift_position(self_: *mut HdySwipeTracker, delta: c_double); 1861 1862 //========================================================================= 1863 // HdyTabBar 1864 //========================================================================= hdy_tab_bar_get_type() -> GType1865 pub fn hdy_tab_bar_get_type() -> GType; 1866 #[cfg(any(feature = "v1_2", feature = "dox"))] 1867 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_new() -> *mut HdyTabBar1868 pub fn hdy_tab_bar_new() -> *mut HdyTabBar; 1869 #[cfg(any(feature = "v1_2", feature = "dox"))] 1870 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_get_autohide(self_: *mut HdyTabBar) -> gboolean1871 pub fn hdy_tab_bar_get_autohide(self_: *mut HdyTabBar) -> gboolean; 1872 #[cfg(any(feature = "v1_2", feature = "dox"))] 1873 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_get_end_action_widget(self_: *mut HdyTabBar) -> *mut gtk::GtkWidget1874 pub fn hdy_tab_bar_get_end_action_widget(self_: *mut HdyTabBar) -> *mut gtk::GtkWidget; 1875 #[cfg(any(feature = "v1_2", feature = "dox"))] 1876 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_get_expand_tabs(self_: *mut HdyTabBar) -> gboolean1877 pub fn hdy_tab_bar_get_expand_tabs(self_: *mut HdyTabBar) -> gboolean; 1878 #[cfg(any(feature = "v1_2", feature = "dox"))] 1879 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_get_extra_drag_dest_targets( self_: *mut HdyTabBar, ) -> *mut gtk::GtkTargetList1880 pub fn hdy_tab_bar_get_extra_drag_dest_targets( 1881 self_: *mut HdyTabBar, 1882 ) -> *mut gtk::GtkTargetList; 1883 #[cfg(any(feature = "v1_2", feature = "dox"))] 1884 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_get_inverted(self_: *mut HdyTabBar) -> gboolean1885 pub fn hdy_tab_bar_get_inverted(self_: *mut HdyTabBar) -> gboolean; 1886 #[cfg(any(feature = "v1_2", feature = "dox"))] 1887 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_get_is_overflowing(self_: *mut HdyTabBar) -> gboolean1888 pub fn hdy_tab_bar_get_is_overflowing(self_: *mut HdyTabBar) -> gboolean; 1889 #[cfg(any(feature = "v1_2", feature = "dox"))] 1890 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_get_start_action_widget(self_: *mut HdyTabBar) -> *mut gtk::GtkWidget1891 pub fn hdy_tab_bar_get_start_action_widget(self_: *mut HdyTabBar) -> *mut gtk::GtkWidget; 1892 #[cfg(any(feature = "v1_2", feature = "dox"))] 1893 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_get_tabs_revealed(self_: *mut HdyTabBar) -> gboolean1894 pub fn hdy_tab_bar_get_tabs_revealed(self_: *mut HdyTabBar) -> gboolean; 1895 #[cfg(any(feature = "v1_2", feature = "dox"))] 1896 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_get_view(self_: *mut HdyTabBar) -> *mut HdyTabView1897 pub fn hdy_tab_bar_get_view(self_: *mut HdyTabBar) -> *mut HdyTabView; 1898 #[cfg(any(feature = "v1_2", feature = "dox"))] 1899 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_set_autohide(self_: *mut HdyTabBar, autohide: gboolean)1900 pub fn hdy_tab_bar_set_autohide(self_: *mut HdyTabBar, autohide: gboolean); 1901 #[cfg(any(feature = "v1_2", feature = "dox"))] 1902 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_set_end_action_widget(self_: *mut HdyTabBar, widget: *mut gtk::GtkWidget)1903 pub fn hdy_tab_bar_set_end_action_widget(self_: *mut HdyTabBar, widget: *mut gtk::GtkWidget); 1904 #[cfg(any(feature = "v1_2", feature = "dox"))] 1905 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_set_expand_tabs(self_: *mut HdyTabBar, expand_tabs: gboolean)1906 pub fn hdy_tab_bar_set_expand_tabs(self_: *mut HdyTabBar, expand_tabs: gboolean); 1907 #[cfg(any(feature = "v1_2", feature = "dox"))] 1908 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_set_extra_drag_dest_targets( self_: *mut HdyTabBar, extra_drag_dest_targets: *mut gtk::GtkTargetList, )1909 pub fn hdy_tab_bar_set_extra_drag_dest_targets( 1910 self_: *mut HdyTabBar, 1911 extra_drag_dest_targets: *mut gtk::GtkTargetList, 1912 ); 1913 #[cfg(any(feature = "v1_2", feature = "dox"))] 1914 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_set_inverted(self_: *mut HdyTabBar, inverted: gboolean)1915 pub fn hdy_tab_bar_set_inverted(self_: *mut HdyTabBar, inverted: gboolean); 1916 #[cfg(any(feature = "v1_2", feature = "dox"))] 1917 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_set_start_action_widget(self_: *mut HdyTabBar, widget: *mut gtk::GtkWidget)1918 pub fn hdy_tab_bar_set_start_action_widget(self_: *mut HdyTabBar, widget: *mut gtk::GtkWidget); 1919 #[cfg(any(feature = "v1_2", feature = "dox"))] 1920 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_bar_set_view(self_: *mut HdyTabBar, view: *mut HdyTabView)1921 pub fn hdy_tab_bar_set_view(self_: *mut HdyTabBar, view: *mut HdyTabView); 1922 1923 //========================================================================= 1924 // HdyTabPage 1925 //========================================================================= hdy_tab_page_get_type() -> GType1926 pub fn hdy_tab_page_get_type() -> GType; 1927 #[cfg(any(feature = "v1_2", feature = "dox"))] 1928 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_child(self_: *mut HdyTabPage) -> *mut gtk::GtkWidget1929 pub fn hdy_tab_page_get_child(self_: *mut HdyTabPage) -> *mut gtk::GtkWidget; 1930 #[cfg(any(feature = "v1_2", feature = "dox"))] 1931 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_icon(self_: *mut HdyTabPage) -> *mut gio::GIcon1932 pub fn hdy_tab_page_get_icon(self_: *mut HdyTabPage) -> *mut gio::GIcon; 1933 #[cfg(any(feature = "v1_2", feature = "dox"))] 1934 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_indicator_activatable(self_: *mut HdyTabPage) -> gboolean1935 pub fn hdy_tab_page_get_indicator_activatable(self_: *mut HdyTabPage) -> gboolean; 1936 #[cfg(any(feature = "v1_2", feature = "dox"))] 1937 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_indicator_icon(self_: *mut HdyTabPage) -> *mut gio::GIcon1938 pub fn hdy_tab_page_get_indicator_icon(self_: *mut HdyTabPage) -> *mut gio::GIcon; 1939 #[cfg(any(feature = "v1_2", feature = "dox"))] 1940 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_loading(self_: *mut HdyTabPage) -> gboolean1941 pub fn hdy_tab_page_get_loading(self_: *mut HdyTabPage) -> gboolean; 1942 #[cfg(any(feature = "v1_2", feature = "dox"))] 1943 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_needs_attention(self_: *mut HdyTabPage) -> gboolean1944 pub fn hdy_tab_page_get_needs_attention(self_: *mut HdyTabPage) -> gboolean; 1945 #[cfg(any(feature = "v1_2", feature = "dox"))] 1946 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_parent(self_: *mut HdyTabPage) -> *mut HdyTabPage1947 pub fn hdy_tab_page_get_parent(self_: *mut HdyTabPage) -> *mut HdyTabPage; 1948 #[cfg(any(feature = "v1_2", feature = "dox"))] 1949 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_pinned(self_: *mut HdyTabPage) -> gboolean1950 pub fn hdy_tab_page_get_pinned(self_: *mut HdyTabPage) -> gboolean; 1951 #[cfg(any(feature = "v1_2", feature = "dox"))] 1952 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_selected(self_: *mut HdyTabPage) -> gboolean1953 pub fn hdy_tab_page_get_selected(self_: *mut HdyTabPage) -> gboolean; 1954 #[cfg(any(feature = "v1_2", feature = "dox"))] 1955 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_title(self_: *mut HdyTabPage) -> *const c_char1956 pub fn hdy_tab_page_get_title(self_: *mut HdyTabPage) -> *const c_char; 1957 #[cfg(any(feature = "v1_2", feature = "dox"))] 1958 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_get_tooltip(self_: *mut HdyTabPage) -> *const c_char1959 pub fn hdy_tab_page_get_tooltip(self_: *mut HdyTabPage) -> *const c_char; 1960 #[cfg(any(feature = "v1_2", feature = "dox"))] 1961 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_set_icon(self_: *mut HdyTabPage, icon: *mut gio::GIcon)1962 pub fn hdy_tab_page_set_icon(self_: *mut HdyTabPage, icon: *mut gio::GIcon); 1963 #[cfg(any(feature = "v1_2", feature = "dox"))] 1964 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_set_indicator_activatable(self_: *mut HdyTabPage, activatable: gboolean)1965 pub fn hdy_tab_page_set_indicator_activatable(self_: *mut HdyTabPage, activatable: gboolean); 1966 #[cfg(any(feature = "v1_2", feature = "dox"))] 1967 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_set_indicator_icon(self_: *mut HdyTabPage, indicator_icon: *mut gio::GIcon)1968 pub fn hdy_tab_page_set_indicator_icon(self_: *mut HdyTabPage, indicator_icon: *mut gio::GIcon); 1969 #[cfg(any(feature = "v1_2", feature = "dox"))] 1970 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_set_loading(self_: *mut HdyTabPage, loading: gboolean)1971 pub fn hdy_tab_page_set_loading(self_: *mut HdyTabPage, loading: gboolean); 1972 #[cfg(any(feature = "v1_2", feature = "dox"))] 1973 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_set_needs_attention(self_: *mut HdyTabPage, needs_attention: gboolean)1974 pub fn hdy_tab_page_set_needs_attention(self_: *mut HdyTabPage, needs_attention: gboolean); 1975 #[cfg(any(feature = "v1_2", feature = "dox"))] 1976 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_set_title(self_: *mut HdyTabPage, title: *const c_char)1977 pub fn hdy_tab_page_set_title(self_: *mut HdyTabPage, title: *const c_char); 1978 #[cfg(any(feature = "v1_2", feature = "dox"))] 1979 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_page_set_tooltip(self_: *mut HdyTabPage, tooltip: *const c_char)1980 pub fn hdy_tab_page_set_tooltip(self_: *mut HdyTabPage, tooltip: *const c_char); 1981 1982 //========================================================================= 1983 // HdyTabView 1984 //========================================================================= hdy_tab_view_get_type() -> GType1985 pub fn hdy_tab_view_get_type() -> GType; 1986 #[cfg(any(feature = "v1_2", feature = "dox"))] 1987 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_new() -> *mut HdyTabView1988 pub fn hdy_tab_view_new() -> *mut HdyTabView; 1989 #[cfg(any(feature = "v1_2", feature = "dox"))] 1990 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_add_page( self_: *mut HdyTabView, child: *mut gtk::GtkWidget, parent: *mut HdyTabPage, ) -> *mut HdyTabPage1991 pub fn hdy_tab_view_add_page( 1992 self_: *mut HdyTabView, 1993 child: *mut gtk::GtkWidget, 1994 parent: *mut HdyTabPage, 1995 ) -> *mut HdyTabPage; 1996 #[cfg(any(feature = "v1_2", feature = "dox"))] 1997 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_append( self_: *mut HdyTabView, child: *mut gtk::GtkWidget, ) -> *mut HdyTabPage1998 pub fn hdy_tab_view_append( 1999 self_: *mut HdyTabView, 2000 child: *mut gtk::GtkWidget, 2001 ) -> *mut HdyTabPage; 2002 #[cfg(any(feature = "v1_2", feature = "dox"))] 2003 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_append_pinned( self_: *mut HdyTabView, child: *mut gtk::GtkWidget, ) -> *mut HdyTabPage2004 pub fn hdy_tab_view_append_pinned( 2005 self_: *mut HdyTabView, 2006 child: *mut gtk::GtkWidget, 2007 ) -> *mut HdyTabPage; 2008 #[cfg(any(feature = "v1_2", feature = "dox"))] 2009 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_close_other_pages(self_: *mut HdyTabView, page: *mut HdyTabPage)2010 pub fn hdy_tab_view_close_other_pages(self_: *mut HdyTabView, page: *mut HdyTabPage); 2011 #[cfg(any(feature = "v1_2", feature = "dox"))] 2012 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_close_page(self_: *mut HdyTabView, page: *mut HdyTabPage)2013 pub fn hdy_tab_view_close_page(self_: *mut HdyTabView, page: *mut HdyTabPage); 2014 #[cfg(any(feature = "v1_2", feature = "dox"))] 2015 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_close_page_finish( self_: *mut HdyTabView, page: *mut HdyTabPage, confirm: gboolean, )2016 pub fn hdy_tab_view_close_page_finish( 2017 self_: *mut HdyTabView, 2018 page: *mut HdyTabPage, 2019 confirm: gboolean, 2020 ); 2021 #[cfg(any(feature = "v1_2", feature = "dox"))] 2022 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_close_pages_after(self_: *mut HdyTabView, page: *mut HdyTabPage)2023 pub fn hdy_tab_view_close_pages_after(self_: *mut HdyTabView, page: *mut HdyTabPage); 2024 #[cfg(any(feature = "v1_2", feature = "dox"))] 2025 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_close_pages_before(self_: *mut HdyTabView, page: *mut HdyTabPage)2026 pub fn hdy_tab_view_close_pages_before(self_: *mut HdyTabView, page: *mut HdyTabPage); 2027 #[cfg(any(feature = "v1_2", feature = "dox"))] 2028 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_default_icon(self_: *mut HdyTabView) -> *mut gio::GIcon2029 pub fn hdy_tab_view_get_default_icon(self_: *mut HdyTabView) -> *mut gio::GIcon; 2030 #[cfg(any(feature = "v1_2", feature = "dox"))] 2031 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_is_transferring_page(self_: *mut HdyTabView) -> gboolean2032 pub fn hdy_tab_view_get_is_transferring_page(self_: *mut HdyTabView) -> gboolean; 2033 #[cfg(any(feature = "v1_2", feature = "dox"))] 2034 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_menu_model(self_: *mut HdyTabView) -> *mut gio::GMenuModel2035 pub fn hdy_tab_view_get_menu_model(self_: *mut HdyTabView) -> *mut gio::GMenuModel; 2036 #[cfg(any(feature = "v1_2", feature = "dox"))] 2037 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_n_pages(self_: *mut HdyTabView) -> c_int2038 pub fn hdy_tab_view_get_n_pages(self_: *mut HdyTabView) -> c_int; 2039 #[cfg(any(feature = "v1_2", feature = "dox"))] 2040 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_n_pinned_pages(self_: *mut HdyTabView) -> c_int2041 pub fn hdy_tab_view_get_n_pinned_pages(self_: *mut HdyTabView) -> c_int; 2042 #[cfg(any(feature = "v1_2", feature = "dox"))] 2043 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_nth_page(self_: *mut HdyTabView, position: c_int) -> *mut HdyTabPage2044 pub fn hdy_tab_view_get_nth_page(self_: *mut HdyTabView, position: c_int) -> *mut HdyTabPage; 2045 #[cfg(any(feature = "v1_2", feature = "dox"))] 2046 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_page( self_: *mut HdyTabView, child: *mut gtk::GtkWidget, ) -> *mut HdyTabPage2047 pub fn hdy_tab_view_get_page( 2048 self_: *mut HdyTabView, 2049 child: *mut gtk::GtkWidget, 2050 ) -> *mut HdyTabPage; 2051 #[cfg(any(feature = "v1_2", feature = "dox"))] 2052 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_page_position(self_: *mut HdyTabView, page: *mut HdyTabPage) -> c_int2053 pub fn hdy_tab_view_get_page_position(self_: *mut HdyTabView, page: *mut HdyTabPage) -> c_int; 2054 #[cfg(any(feature = "v1_2", feature = "dox"))] 2055 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_pages(self_: *mut HdyTabView) -> *mut gio::GListModel2056 pub fn hdy_tab_view_get_pages(self_: *mut HdyTabView) -> *mut gio::GListModel; 2057 #[cfg(any(feature = "v1_2", feature = "dox"))] 2058 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_selected_page(self_: *mut HdyTabView) -> *mut HdyTabPage2059 pub fn hdy_tab_view_get_selected_page(self_: *mut HdyTabView) -> *mut HdyTabPage; 2060 #[cfg(any(feature = "v1_2", feature = "dox"))] 2061 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_get_shortcut_widget(self_: *mut HdyTabView) -> *mut gtk::GtkWidget2062 pub fn hdy_tab_view_get_shortcut_widget(self_: *mut HdyTabView) -> *mut gtk::GtkWidget; 2063 #[cfg(any(feature = "v1_2", feature = "dox"))] 2064 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_insert( self_: *mut HdyTabView, child: *mut gtk::GtkWidget, position: c_int, ) -> *mut HdyTabPage2065 pub fn hdy_tab_view_insert( 2066 self_: *mut HdyTabView, 2067 child: *mut gtk::GtkWidget, 2068 position: c_int, 2069 ) -> *mut HdyTabPage; 2070 #[cfg(any(feature = "v1_2", feature = "dox"))] 2071 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_insert_pinned( self_: *mut HdyTabView, child: *mut gtk::GtkWidget, position: c_int, ) -> *mut HdyTabPage2072 pub fn hdy_tab_view_insert_pinned( 2073 self_: *mut HdyTabView, 2074 child: *mut gtk::GtkWidget, 2075 position: c_int, 2076 ) -> *mut HdyTabPage; 2077 #[cfg(any(feature = "v1_2", feature = "dox"))] 2078 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_prepend( self_: *mut HdyTabView, child: *mut gtk::GtkWidget, ) -> *mut HdyTabPage2079 pub fn hdy_tab_view_prepend( 2080 self_: *mut HdyTabView, 2081 child: *mut gtk::GtkWidget, 2082 ) -> *mut HdyTabPage; 2083 #[cfg(any(feature = "v1_2", feature = "dox"))] 2084 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_prepend_pinned( self_: *mut HdyTabView, child: *mut gtk::GtkWidget, ) -> *mut HdyTabPage2085 pub fn hdy_tab_view_prepend_pinned( 2086 self_: *mut HdyTabView, 2087 child: *mut gtk::GtkWidget, 2088 ) -> *mut HdyTabPage; 2089 #[cfg(any(feature = "v1_2", feature = "dox"))] 2090 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_reorder_backward(self_: *mut HdyTabView, page: *mut HdyTabPage) -> gboolean2091 pub fn hdy_tab_view_reorder_backward(self_: *mut HdyTabView, page: *mut HdyTabPage) 2092 -> gboolean; 2093 #[cfg(any(feature = "v1_2", feature = "dox"))] 2094 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_reorder_first(self_: *mut HdyTabView, page: *mut HdyTabPage) -> gboolean2095 pub fn hdy_tab_view_reorder_first(self_: *mut HdyTabView, page: *mut HdyTabPage) -> gboolean; 2096 #[cfg(any(feature = "v1_2", feature = "dox"))] 2097 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_reorder_forward(self_: *mut HdyTabView, page: *mut HdyTabPage) -> gboolean2098 pub fn hdy_tab_view_reorder_forward(self_: *mut HdyTabView, page: *mut HdyTabPage) -> gboolean; 2099 #[cfg(any(feature = "v1_2", feature = "dox"))] 2100 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_reorder_last(self_: *mut HdyTabView, page: *mut HdyTabPage) -> gboolean2101 pub fn hdy_tab_view_reorder_last(self_: *mut HdyTabView, page: *mut HdyTabPage) -> gboolean; 2102 #[cfg(any(feature = "v1_2", feature = "dox"))] 2103 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_reorder_page( self_: *mut HdyTabView, page: *mut HdyTabPage, position: c_int, ) -> gboolean2104 pub fn hdy_tab_view_reorder_page( 2105 self_: *mut HdyTabView, 2106 page: *mut HdyTabPage, 2107 position: c_int, 2108 ) -> gboolean; 2109 #[cfg(any(feature = "v1_2", feature = "dox"))] 2110 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_select_next_page(self_: *mut HdyTabView) -> gboolean2111 pub fn hdy_tab_view_select_next_page(self_: *mut HdyTabView) -> gboolean; 2112 #[cfg(any(feature = "v1_2", feature = "dox"))] 2113 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_select_previous_page(self_: *mut HdyTabView) -> gboolean2114 pub fn hdy_tab_view_select_previous_page(self_: *mut HdyTabView) -> gboolean; 2115 #[cfg(any(feature = "v1_2", feature = "dox"))] 2116 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_set_default_icon(self_: *mut HdyTabView, default_icon: *mut gio::GIcon)2117 pub fn hdy_tab_view_set_default_icon(self_: *mut HdyTabView, default_icon: *mut gio::GIcon); 2118 #[cfg(any(feature = "v1_2", feature = "dox"))] 2119 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_set_menu_model(self_: *mut HdyTabView, menu_model: *mut gio::GMenuModel)2120 pub fn hdy_tab_view_set_menu_model(self_: *mut HdyTabView, menu_model: *mut gio::GMenuModel); 2121 #[cfg(any(feature = "v1_2", feature = "dox"))] 2122 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_set_page_pinned( self_: *mut HdyTabView, page: *mut HdyTabPage, pinned: gboolean, )2123 pub fn hdy_tab_view_set_page_pinned( 2124 self_: *mut HdyTabView, 2125 page: *mut HdyTabPage, 2126 pinned: gboolean, 2127 ); 2128 #[cfg(any(feature = "v1_2", feature = "dox"))] 2129 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_set_selected_page(self_: *mut HdyTabView, selected_page: *mut HdyTabPage)2130 pub fn hdy_tab_view_set_selected_page(self_: *mut HdyTabView, selected_page: *mut HdyTabPage); 2131 #[cfg(any(feature = "v1_2", feature = "dox"))] 2132 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_set_shortcut_widget(self_: *mut HdyTabView, widget: *mut gtk::GtkWidget)2133 pub fn hdy_tab_view_set_shortcut_widget(self_: *mut HdyTabView, widget: *mut gtk::GtkWidget); 2134 #[cfg(any(feature = "v1_2", feature = "dox"))] 2135 #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_2")))] hdy_tab_view_transfer_page( self_: *mut HdyTabView, page: *mut HdyTabPage, other_view: *mut HdyTabView, position: c_int, )2136 pub fn hdy_tab_view_transfer_page( 2137 self_: *mut HdyTabView, 2138 page: *mut HdyTabPage, 2139 other_view: *mut HdyTabView, 2140 position: c_int, 2141 ); 2142 2143 //========================================================================= 2144 // HdyTitleBar 2145 //========================================================================= hdy_title_bar_get_type() -> GType2146 pub fn hdy_title_bar_get_type() -> GType; hdy_title_bar_new() -> *mut gtk::GtkWidget2147 pub fn hdy_title_bar_new() -> *mut gtk::GtkWidget; hdy_title_bar_get_selection_mode(self_: *mut HdyTitleBar) -> gboolean2148 pub fn hdy_title_bar_get_selection_mode(self_: *mut HdyTitleBar) -> gboolean; hdy_title_bar_set_selection_mode(self_: *mut HdyTitleBar, selection_mode: gboolean)2149 pub fn hdy_title_bar_set_selection_mode(self_: *mut HdyTitleBar, selection_mode: gboolean); 2150 2151 //========================================================================= 2152 // HdyValueObject 2153 //========================================================================= hdy_value_object_get_type() -> GType2154 pub fn hdy_value_object_get_type() -> GType; hdy_value_object_new(value: *const gobject::GValue) -> *mut HdyValueObject2155 pub fn hdy_value_object_new(value: *const gobject::GValue) -> *mut HdyValueObject; hdy_value_object_new_collect(type_: GType, ...) -> *mut HdyValueObject2156 pub fn hdy_value_object_new_collect(type_: GType, ...) -> *mut HdyValueObject; hdy_value_object_new_string(string: *const c_char) -> *mut HdyValueObject2157 pub fn hdy_value_object_new_string(string: *const c_char) -> *mut HdyValueObject; hdy_value_object_new_take_string(string: *mut c_char) -> *mut HdyValueObject2158 pub fn hdy_value_object_new_take_string(string: *mut c_char) -> *mut HdyValueObject; hdy_value_object_copy_value(value: *mut HdyValueObject, dest: *mut gobject::GValue)2159 pub fn hdy_value_object_copy_value(value: *mut HdyValueObject, dest: *mut gobject::GValue); hdy_value_object_dup_string(value: *mut HdyValueObject) -> *mut c_char2160 pub fn hdy_value_object_dup_string(value: *mut HdyValueObject) -> *mut c_char; hdy_value_object_get_string(value: *mut HdyValueObject) -> *const c_char2161 pub fn hdy_value_object_get_string(value: *mut HdyValueObject) -> *const c_char; hdy_value_object_get_value(value: *mut HdyValueObject) -> *const gobject::GValue2162 pub fn hdy_value_object_get_value(value: *mut HdyValueObject) -> *const gobject::GValue; 2163 2164 //========================================================================= 2165 // HdyViewSwitcher 2166 //========================================================================= hdy_view_switcher_get_type() -> GType2167 pub fn hdy_view_switcher_get_type() -> GType; hdy_view_switcher_new() -> *mut gtk::GtkWidget2168 pub fn hdy_view_switcher_new() -> *mut gtk::GtkWidget; hdy_view_switcher_get_narrow_ellipsize( self_: *mut HdyViewSwitcher, ) -> pango::PangoEllipsizeMode2169