1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
#![allow(
clippy::approx_constant,
clippy::type_complexity,
clippy::unreadable_literal,
clippy::upper_case_acronyms
)]
#![cfg_attr(feature = "dox", feature(doc_cfg))]
#[allow(unused_imports)]
use libc::{
c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
intptr_t, size_t, ssize_t, uintptr_t, FILE,
};
#[allow(unused_imports)]
use glib::{gboolean, gconstpointer, gpointer, GType};
pub type PanelArea = c_int;
pub const PANEL_AREA_START: PanelArea = 0;
pub const PANEL_AREA_END: PanelArea = 1;
pub const PANEL_AREA_TOP: PanelArea = 2;
pub const PANEL_AREA_BOTTOM: PanelArea = 3;
pub const PANEL_AREA_CENTER: PanelArea = 4;
pub const PANEL_MAJOR_VERSION: c_int = 1;
pub const PANEL_MICRO_VERSION: c_int = 0;
pub const PANEL_MINOR_VERSION: c_int = 0;
pub const PANEL_VERSION_S: *const c_char = b"1.0.0\0" as *const u8 as *const c_char;
pub const PANEL_WIDGET_KIND_ANY: *const c_char = b"*\0" as *const u8 as *const c_char;
pub const PANEL_WIDGET_KIND_DOCUMENT: *const c_char = b"document\0" as *const u8 as *const c_char;
pub const PANEL_WIDGET_KIND_UNKNOWN: *const c_char = b"unknown\0" as *const u8 as *const c_char;
pub const PANEL_WIDGET_KIND_UTILITY: *const c_char = b"utility\0" as *const u8 as *const c_char;
pub type PanelFrameCallback = Option<unsafe extern "C" fn(*mut PanelFrame, gpointer)>;
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelDockClass {
pub parent_class: gtk::GtkWidgetClass,
pub panel_drag_begin: Option<unsafe extern "C" fn(*mut PanelDock, *mut PanelWidget)>,
pub panel_drag_end: Option<unsafe extern "C" fn(*mut PanelDock, *mut PanelWidget)>,
}
impl ::std::fmt::Debug for PanelDockClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelDockClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("panel_drag_begin", &self.panel_drag_begin)
.field("panel_drag_end", &self.panel_drag_end)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelFrameClass {
pub parent_class: gtk::GtkWidgetClass,
pub _reserved: [gpointer; 8],
}
impl ::std::fmt::Debug for PanelFrameClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelFrameClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelFrameHeaderBarClass {
pub parent_class: gtk::GtkWidgetClass,
}
impl ::std::fmt::Debug for PanelFrameHeaderBarClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelFrameHeaderBarClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelFrameHeaderInterface {
pub parent_iface: gobject::GTypeInterface,
pub page_changed: Option<unsafe extern "C" fn(*mut PanelFrameHeader, *mut PanelWidget)>,
pub can_drop: Option<unsafe extern "C" fn(*mut PanelFrameHeader, *mut PanelWidget) -> gboolean>,
pub add_prefix: Option<unsafe extern "C" fn(*mut PanelFrameHeader, c_int, *mut gtk::GtkWidget)>,
pub add_suffix: Option<unsafe extern "C" fn(*mut PanelFrameHeader, c_int, *mut gtk::GtkWidget)>,
}
impl ::std::fmt::Debug for PanelFrameHeaderInterface {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelFrameHeaderInterface @ {self:p}"))
.field("parent_iface", &self.parent_iface)
.field("page_changed", &self.page_changed)
.field("can_drop", &self.can_drop)
.field("add_prefix", &self.add_prefix)
.field("add_suffix", &self.add_suffix)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelFrameSwitcherClass {
pub parent_class: gtk::GtkWidgetClass,
}
impl ::std::fmt::Debug for PanelFrameSwitcherClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelFrameSwitcherClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelFrameTabBarClass {
pub parent_class: gtk::GtkWidgetClass,
}
impl ::std::fmt::Debug for PanelFrameTabBarClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelFrameTabBarClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelGridClass {
pub parent_class: gtk::GtkWidgetClass,
pub create_frame: Option<unsafe extern "C" fn(*mut PanelGrid) -> *mut PanelFrame>,
pub _reserved: [gpointer; 12],
}
impl ::std::fmt::Debug for PanelGridClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelGridClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("create_frame", &self.create_frame)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelGridColumnClass {
pub parent_class: gtk::GtkWidgetClass,
}
impl ::std::fmt::Debug for PanelGridColumnClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelGridColumnClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelOmniBarClass {
pub parent_class: gtk::GtkWidgetClass,
pub _reserved: [gpointer; 8],
}
impl ::std::fmt::Debug for PanelOmniBarClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelOmniBarClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelPanedClass {
pub parent_class: gtk::GtkWidgetClass,
}
impl ::std::fmt::Debug for PanelPanedClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelPanedClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelPositionClass {
pub parent_class: gobject::GObjectClass,
}
impl ::std::fmt::Debug for PanelPositionClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelPositionClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelSaveDelegateClass {
pub parent_class: gobject::GObjectClass,
pub save_async: Option<
unsafe extern "C" fn(
*mut PanelSaveDelegate,
*mut gio::GCancellable,
gio::GAsyncReadyCallback,
gpointer,
),
>,
pub save_finish: Option<
unsafe extern "C" fn(
*mut PanelSaveDelegate,
*mut gio::GAsyncResult,
*mut *mut glib::GError,
) -> gboolean,
>,
pub save: Option<unsafe extern "C" fn(*mut PanelSaveDelegate, *mut gio::GTask) -> gboolean>,
pub discard: Option<unsafe extern "C" fn(*mut PanelSaveDelegate)>,
pub close: Option<unsafe extern "C" fn(*mut PanelSaveDelegate)>,
pub _reserved: [gpointer; 8],
}
impl ::std::fmt::Debug for PanelSaveDelegateClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelSaveDelegateClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.field("save_async", &self.save_async)
.field("save_finish", &self.save_finish)
.field("save", &self.save)
.field("discard", &self.discard)
.field("close", &self.close)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelSaveDialogClass {
pub parent_class: adw::AdwMessageDialogClass,
}
impl ::std::fmt::Debug for PanelSaveDialogClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelSaveDialogClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelStatusbarClass {
pub parent_class: gtk::GtkWidgetClass,
}
impl ::std::fmt::Debug for PanelStatusbarClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelStatusbarClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelThemeSelectorClass {
pub parent_class: gtk::GtkWidgetClass,
}
impl ::std::fmt::Debug for PanelThemeSelectorClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelThemeSelectorClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelToggleButtonClass {
pub parent_class: gtk::GtkWidgetClass,
}
impl ::std::fmt::Debug for PanelToggleButtonClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelToggleButtonClass @ {self:p}"))
.field("parent_class", &self.parent_class)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelWidgetClass {
pub parent_instance: gtk::GtkWidgetClass,
pub get_default_focus: Option<unsafe extern "C" fn(*mut PanelWidget) -> *mut gtk::GtkWidget>,
pub presented: Option<unsafe extern "C" fn(*mut PanelWidget)>,
pub _reserved: [gpointer; 8],
}
impl ::std::fmt::Debug for PanelWidgetClass {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelWidgetClass @ {self:p}"))
.field("parent_instance", &self.parent_instance)
.field("get_default_focus", &self.get_default_focus)
.field("presented", &self.presented)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelDock {
pub parent_instance: gtk::GtkWidget,
}
impl ::std::fmt::Debug for PanelDock {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelDock @ {self:p}"))
.field("parent_instance", &self.parent_instance)
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelFrame {
pub parent_instance: gtk::GtkWidget,
}
impl ::std::fmt::Debug for PanelFrame {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelFrame @ {self:p}"))
.field("parent_instance", &self.parent_instance)
.finish()
}
}
#[repr(C)]
pub struct PanelFrameHeaderBar {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelFrameHeaderBar {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelFrameHeaderBar @ {self:p}"))
.finish()
}
}
#[repr(C)]
pub struct PanelFrameSwitcher {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelFrameSwitcher {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelFrameSwitcher @ {self:p}"))
.finish()
}
}
#[repr(C)]
pub struct PanelFrameTabBar {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelFrameTabBar {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelFrameTabBar @ {self:p}"))
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelGrid {
pub parent_instance: gtk::GtkWidget,
}
impl ::std::fmt::Debug for PanelGrid {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelGrid @ {self:p}"))
.field("parent_instance", &self.parent_instance)
.finish()
}
}
#[repr(C)]
pub struct PanelGridColumn {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelGridColumn {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelGridColumn @ {self:p}"))
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelOmniBar {
pub parent_instance: gtk::GtkWidget,
}
impl ::std::fmt::Debug for PanelOmniBar {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelOmniBar @ {self:p}"))
.field("parent_instance", &self.parent_instance)
.finish()
}
}
#[repr(C)]
pub struct PanelPaned {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelPaned {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelPaned @ {self:p}")).finish()
}
}
#[repr(C)]
pub struct PanelPosition {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelPosition {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelPosition @ {self:p}"))
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelSaveDelegate {
pub parent_instance: gobject::GObject,
}
impl ::std::fmt::Debug for PanelSaveDelegate {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelSaveDelegate @ {self:p}"))
.field("parent_instance", &self.parent_instance)
.finish()
}
}
#[repr(C)]
pub struct PanelSaveDialog {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelSaveDialog {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelSaveDialog @ {self:p}"))
.finish()
}
}
#[repr(C)]
pub struct PanelStatusbar {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelStatusbar {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelStatusbar @ {self:p}"))
.finish()
}
}
#[repr(C)]
pub struct PanelThemeSelector {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelThemeSelector {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelThemeSelector @ {self:p}"))
.finish()
}
}
#[repr(C)]
pub struct PanelToggleButton {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelToggleButton {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelToggleButton @ {self:p}"))
.finish()
}
}
#[derive(Copy, Clone)]
#[repr(C)]
pub struct PanelWidget {
pub parent_instance: gtk::GtkWidget,
}
impl ::std::fmt::Debug for PanelWidget {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
f.debug_struct(&format!("PanelWidget @ {self:p}"))
.field("parent_instance", &self.parent_instance)
.finish()
}
}
#[repr(C)]
pub struct PanelFrameHeader {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}
impl ::std::fmt::Debug for PanelFrameHeader {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "PanelFrameHeader @ {self:p}")
}
}
#[link(name = "panel-1")]
extern "C" {
pub fn panel_area_get_type() -> GType;
pub fn panel_widget_class_install_action(
widget_class: *mut PanelWidgetClass,
action_name: *const c_char,
parameter_type: *const c_char,
activate: gtk::GtkWidgetActionActivateFunc,
);
pub fn panel_widget_class_install_property_action(
widget_class: *mut PanelWidgetClass,
action_name: *const c_char,
property_name: *const c_char,
);
pub fn panel_dock_get_type() -> GType;
pub fn panel_dock_new() -> *mut gtk::GtkWidget;
pub fn panel_dock_foreach_frame(
self_: *mut PanelDock,
callback: PanelFrameCallback,
user_data: gpointer,
);
pub fn panel_dock_get_can_reveal_area(self_: *mut PanelDock, area: PanelArea) -> gboolean;
pub fn panel_dock_get_can_reveal_bottom(self_: *mut PanelDock) -> gboolean;
pub fn panel_dock_get_can_reveal_end(self_: *mut PanelDock) -> gboolean;
pub fn panel_dock_get_can_reveal_start(self_: *mut PanelDock) -> gboolean;
pub fn panel_dock_get_can_reveal_top(self_: *mut PanelDock) -> gboolean;
pub fn panel_dock_get_reveal_area(self_: *mut PanelDock, area: PanelArea) -> gboolean;
pub fn panel_dock_get_reveal_bottom(self_: *mut PanelDock) -> gboolean;
pub fn panel_dock_get_reveal_end(self_: *mut PanelDock) -> gboolean;
pub fn panel_dock_get_reveal_start(self_: *mut PanelDock) -> gboolean;
pub fn panel_dock_get_reveal_top(self_: *mut PanelDock) -> gboolean;
pub fn panel_dock_remove(self_: *mut PanelDock, child: *mut gtk::GtkWidget);
pub fn panel_dock_set_bottom_height(self_: *mut PanelDock, height: c_int);
pub fn panel_dock_set_end_width(self_: *mut PanelDock, width: c_int);
pub fn panel_dock_set_reveal_area(self_: *mut PanelDock, area: PanelArea, reveal: gboolean);
pub fn panel_dock_set_reveal_bottom(self_: *mut PanelDock, reveal_bottom: gboolean);
pub fn panel_dock_set_reveal_end(self_: *mut PanelDock, reveal_end: gboolean);
pub fn panel_dock_set_reveal_start(self_: *mut PanelDock, reveal_start: gboolean);
pub fn panel_dock_set_reveal_top(self_: *mut PanelDock, reveal_top: gboolean);
pub fn panel_dock_set_start_width(self_: *mut PanelDock, width: c_int);
pub fn panel_dock_set_top_height(self_: *mut PanelDock, height: c_int);
pub fn panel_frame_get_type() -> GType;
pub fn panel_frame_new() -> *mut gtk::GtkWidget;
pub fn panel_frame_add(self_: *mut PanelFrame, panel: *mut PanelWidget);
pub fn panel_frame_add_before(
self_: *mut PanelFrame,
panel: *mut PanelWidget,
sibling: *mut PanelWidget,
);
pub fn panel_frame_get_closeable(self_: *mut PanelFrame) -> gboolean;
pub fn panel_frame_get_empty(self_: *mut PanelFrame) -> gboolean;
pub fn panel_frame_get_header(self_: *mut PanelFrame) -> *mut PanelFrameHeader;
pub fn panel_frame_get_n_pages(self_: *mut PanelFrame) -> c_uint;
pub fn panel_frame_get_page(self_: *mut PanelFrame, n: c_uint) -> *mut PanelWidget;
pub fn panel_frame_get_pages(self_: *mut PanelFrame) -> *mut gtk::GtkSelectionModel;
pub fn panel_frame_get_placeholder(self_: *mut PanelFrame) -> *mut gtk::GtkWidget;
pub fn panel_frame_get_position(self_: *mut PanelFrame) -> *mut PanelPosition;
pub fn panel_frame_get_requested_size(self_: *mut PanelFrame) -> c_int;
pub fn panel_frame_get_visible_child(self_: *mut PanelFrame) -> *mut PanelWidget;
pub fn panel_frame_remove(self_: *mut PanelFrame, panel: *mut PanelWidget);
pub fn panel_frame_set_header(self_: *mut PanelFrame, header: *mut PanelFrameHeader);
pub fn panel_frame_set_placeholder(self_: *mut PanelFrame, placeholder: *mut gtk::GtkWidget);
pub fn panel_frame_set_requested_size(self_: *mut PanelFrame, requested_size: c_int);
pub fn panel_frame_set_visible_child(self_: *mut PanelFrame, widget: *mut PanelWidget);
pub fn panel_frame_header_bar_get_type() -> GType;
pub fn panel_frame_header_bar_new() -> *mut gtk::GtkWidget;
pub fn panel_frame_header_bar_get_menu_popover(
self_: *mut PanelFrameHeaderBar,
) -> *mut gtk::GtkPopoverMenu;
pub fn panel_frame_header_bar_get_show_icon(self_: *mut PanelFrameHeaderBar) -> gboolean;
pub fn panel_frame_header_bar_set_show_icon(
self_: *mut PanelFrameHeaderBar,
show_icon: gboolean,
);
pub fn panel_frame_switcher_get_type() -> GType;
pub fn panel_frame_switcher_new() -> *mut gtk::GtkWidget;
pub fn panel_frame_tab_bar_get_type() -> GType;
pub fn panel_frame_tab_bar_new() -> *mut gtk::GtkWidget;
pub fn panel_frame_tab_bar_get_autohide(self_: *mut PanelFrameTabBar) -> gboolean;
pub fn panel_frame_tab_bar_get_expand_tabs(self_: *mut PanelFrameTabBar) -> gboolean;
pub fn panel_frame_tab_bar_get_inverted(self_: *mut PanelFrameTabBar) -> gboolean;
pub fn panel_frame_tab_bar_set_autohide(self_: *mut PanelFrameTabBar, autohide: gboolean);
pub fn panel_frame_tab_bar_set_expand_tabs(self_: *mut PanelFrameTabBar, expand_tabs: gboolean);
pub fn panel_frame_tab_bar_set_inverted(self_: *mut PanelFrameTabBar, inverted: gboolean);
pub fn panel_grid_get_type() -> GType;
pub fn panel_grid_new() -> *mut gtk::GtkWidget;
pub fn panel_grid_add(self_: *mut PanelGrid, widget: *mut PanelWidget);
pub fn panel_grid_agree_to_close_async(
self_: *mut PanelGrid,
cancellable: *mut gio::GCancellable,
callback: gio::GAsyncReadyCallback,
user_data: gpointer,
);
pub fn panel_grid_agree_to_close_finish(
self_: *mut PanelGrid,
result: *mut gio::GAsyncResult,
error: *mut *mut glib::GError,
) -> gboolean;
pub fn panel_grid_foreach_frame(
self_: *mut PanelGrid,
callback: PanelFrameCallback,
user_data: gpointer,
);
pub fn panel_grid_get_column(self_: *mut PanelGrid, column: c_uint) -> *mut PanelGridColumn;
pub fn panel_grid_get_most_recent_column(self_: *mut PanelGrid) -> *mut PanelGridColumn;
pub fn panel_grid_get_most_recent_frame(self_: *mut PanelGrid) -> *mut PanelFrame;
pub fn panel_grid_get_n_columns(self_: *mut PanelGrid) -> c_uint;
pub fn panel_grid_insert_column(self_: *mut PanelGrid, position: c_uint);
pub fn panel_grid_column_get_type() -> GType;
pub fn panel_grid_column_new() -> *mut gtk::GtkWidget;
pub fn panel_grid_column_foreach_frame(
self_: *mut PanelGridColumn,
callback: PanelFrameCallback,
user_data: gpointer,
);
pub fn panel_grid_column_get_empty(self_: *mut PanelGridColumn) -> gboolean;
pub fn panel_grid_column_get_most_recent_frame(self_: *mut PanelGridColumn) -> *mut PanelFrame;
pub fn panel_grid_column_get_n_rows(self_: *mut PanelGridColumn) -> c_uint;
pub fn panel_grid_column_get_row(self_: *mut PanelGridColumn, row: c_uint) -> *mut PanelFrame;
pub fn panel_omni_bar_get_type() -> GType;
pub fn panel_omni_bar_new() -> *mut gtk::GtkWidget;
pub fn panel_omni_bar_add_prefix(
self_: *mut PanelOmniBar,
priority: c_int,
widget: *mut gtk::GtkWidget,
);
pub fn panel_omni_bar_add_suffix(
self_: *mut PanelOmniBar,
priority: c_int,
widget: *mut gtk::GtkWidget,
);
pub fn panel_omni_bar_get_popover(self_: *mut PanelOmniBar) -> *mut gtk::GtkPopover;
pub fn panel_omni_bar_get_progress(self_: *mut PanelOmniBar) -> c_double;
pub fn panel_omni_bar_remove(self_: *mut PanelOmniBar, widget: *mut gtk::GtkWidget);
pub fn panel_omni_bar_set_popover(self_: *mut PanelOmniBar, popover: *mut gtk::GtkPopover);
pub fn panel_omni_bar_set_progress(self_: *mut PanelOmniBar, progress: c_double);
pub fn panel_omni_bar_start_pulsing(self_: *mut PanelOmniBar);
pub fn panel_omni_bar_stop_pulsing(self_: *mut PanelOmniBar);
pub fn panel_paned_get_type() -> GType;
pub fn panel_paned_new() -> *mut gtk::GtkWidget;
pub fn panel_paned_append(self_: *mut PanelPaned, child: *mut gtk::GtkWidget);
pub fn panel_paned_get_n_children(self_: *mut PanelPaned) -> c_uint;
pub fn panel_paned_get_nth_child(self_: *mut PanelPaned, nth: c_uint) -> *mut gtk::GtkWidget;
pub fn panel_paned_insert(self_: *mut PanelPaned, position: c_int, child: *mut gtk::GtkWidget);
pub fn panel_paned_insert_after(
self_: *mut PanelPaned,
child: *mut gtk::GtkWidget,
sibling: *mut gtk::GtkWidget,
);
pub fn panel_paned_prepend(self_: *mut PanelPaned, child: *mut gtk::GtkWidget);
pub fn panel_paned_remove(self_: *mut PanelPaned, child: *mut gtk::GtkWidget);
pub fn panel_position_get_type() -> GType;
pub fn panel_position_new() -> *mut PanelPosition;
pub fn panel_position_new_from_variant(variant: *mut glib::GVariant) -> *mut PanelPosition;
pub fn panel_position_equal(a: *mut PanelPosition, b: *mut PanelPosition) -> gboolean;
pub fn panel_position_get_area(self_: *mut PanelPosition) -> PanelArea;
pub fn panel_position_get_area_set(self_: *mut PanelPosition) -> gboolean;
pub fn panel_position_get_column(self_: *mut PanelPosition) -> c_uint;
pub fn panel_position_get_column_set(self_: *mut PanelPosition) -> gboolean;
pub fn panel_position_get_depth(self_: *mut PanelPosition) -> c_uint;
pub fn panel_position_get_depth_set(self_: *mut PanelPosition) -> gboolean;
pub fn panel_position_get_row(self_: *mut PanelPosition) -> c_uint;
pub fn panel_position_get_row_set(self_: *mut PanelPosition) -> gboolean;
pub fn panel_position_is_indeterminate(self_: *mut PanelPosition) -> gboolean;
pub fn panel_position_set_area(self_: *mut PanelPosition, area: PanelArea);
pub fn panel_position_set_area_set(self_: *mut PanelPosition, area_set: gboolean);
pub fn panel_position_set_column(self_: *mut PanelPosition, column: c_uint);
pub fn panel_position_set_column_set(self_: *mut PanelPosition, column_set: gboolean);
pub fn panel_position_set_depth(self_: *mut PanelPosition, depth: c_uint);
pub fn panel_position_set_depth_set(self_: *mut PanelPosition, depth_set: gboolean);
pub fn panel_position_set_row(self_: *mut PanelPosition, row: c_uint);
pub fn panel_position_set_row_set(self_: *mut PanelPosition, row_set: gboolean);
pub fn panel_position_to_variant(self_: *mut PanelPosition) -> *mut glib::GVariant;
pub fn panel_save_delegate_get_type() -> GType;
pub fn panel_save_delegate_new() -> *mut PanelSaveDelegate;
pub fn panel_save_delegate_close(self_: *mut PanelSaveDelegate);
pub fn panel_save_delegate_discard(self_: *mut PanelSaveDelegate);
pub fn panel_save_delegate_get_icon(self_: *mut PanelSaveDelegate) -> *mut gio::GIcon;
pub fn panel_save_delegate_get_icon_name(self_: *mut PanelSaveDelegate) -> *const c_char;
pub fn panel_save_delegate_get_is_draft(self_: *mut PanelSaveDelegate) -> gboolean;
pub fn panel_save_delegate_get_progress(self_: *mut PanelSaveDelegate) -> c_double;
pub fn panel_save_delegate_get_subtitle(self_: *mut PanelSaveDelegate) -> *const c_char;
pub fn panel_save_delegate_get_title(self_: *mut PanelSaveDelegate) -> *const c_char;
pub fn panel_save_delegate_save_async(
self_: *mut PanelSaveDelegate,
cancellable: *mut gio::GCancellable,
callback: gio::GAsyncReadyCallback,
user_data: gpointer,
);
pub fn panel_save_delegate_save_finish(
self_: *mut PanelSaveDelegate,
result: *mut gio::GAsyncResult,
error: *mut *mut glib::GError,
) -> gboolean;
pub fn panel_save_delegate_set_icon(self_: *mut PanelSaveDelegate, icon: *mut gio::GIcon);
pub fn panel_save_delegate_set_icon_name(self_: *mut PanelSaveDelegate, icon: *const c_char);
pub fn panel_save_delegate_set_is_draft(self_: *mut PanelSaveDelegate, is_draft: gboolean);
pub fn panel_save_delegate_set_progress(self_: *mut PanelSaveDelegate, progress: c_double);
pub fn panel_save_delegate_set_subtitle(self_: *mut PanelSaveDelegate, subtitle: *const c_char);
pub fn panel_save_delegate_set_title(self_: *mut PanelSaveDelegate, title: *const c_char);
pub fn panel_save_dialog_get_type() -> GType;
pub fn panel_save_dialog_new() -> *mut gtk::GtkWidget;
pub fn panel_save_dialog_add_delegate(
self_: *mut PanelSaveDialog,
delegate: *mut PanelSaveDelegate,
);
pub fn panel_save_dialog_get_close_after_save(self_: *mut PanelSaveDialog) -> gboolean;
pub fn panel_save_dialog_run_async(
self_: *mut PanelSaveDialog,
cancellable: *mut gio::GCancellable,
callback: gio::GAsyncReadyCallback,
user_data: gpointer,
);
pub fn panel_save_dialog_run_finish(
self_: *mut PanelSaveDialog,
result: *mut gio::GAsyncResult,
error: *mut *mut glib::GError,
) -> gboolean;
pub fn panel_save_dialog_set_close_after_save(
self_: *mut PanelSaveDialog,
close_after_save: gboolean,
);
pub fn panel_statusbar_get_type() -> GType;
pub fn panel_statusbar_new() -> *mut gtk::GtkWidget;
pub fn panel_statusbar_add_prefix(
self_: *mut PanelStatusbar,
priority: c_int,
widget: *mut gtk::GtkWidget,
);
pub fn panel_statusbar_add_suffix(
self_: *mut PanelStatusbar,
priority: c_int,
widget: *mut gtk::GtkWidget,
);
pub fn panel_statusbar_remove(self_: *mut PanelStatusbar, widget: *mut gtk::GtkWidget);
pub fn panel_theme_selector_get_type() -> GType;
pub fn panel_theme_selector_new() -> *mut gtk::GtkWidget;
pub fn panel_theme_selector_get_action_name(self_: *mut PanelThemeSelector) -> *const c_char;
pub fn panel_theme_selector_set_action_name(
self_: *mut PanelThemeSelector,
action_name: *const c_char,
);
pub fn panel_toggle_button_get_type() -> GType;
pub fn panel_toggle_button_new(dock: *mut PanelDock, area: PanelArea) -> *mut gtk::GtkWidget;
pub fn panel_widget_get_type() -> GType;
pub fn panel_widget_new() -> *mut gtk::GtkWidget;
pub fn panel_widget_action_set_enabled(
widget: *mut PanelWidget,
action_name: *const c_char,
enabled: gboolean,
);
pub fn panel_widget_close(self_: *mut PanelWidget);
pub fn panel_widget_focus_default(self_: *mut PanelWidget) -> gboolean;
pub fn panel_widget_force_close(self_: *mut PanelWidget);
pub fn panel_widget_get_busy(self_: *mut PanelWidget) -> gboolean;
pub fn panel_widget_get_can_maximize(self_: *mut PanelWidget) -> gboolean;
pub fn panel_widget_get_child(self_: *mut PanelWidget) -> *mut gtk::GtkWidget;
pub fn panel_widget_get_default_focus(self_: *mut PanelWidget) -> *mut gtk::GtkWidget;
pub fn panel_widget_get_icon(self_: *mut PanelWidget) -> *mut gio::GIcon;
pub fn panel_widget_get_icon_name(self_: *mut PanelWidget) -> *const c_char;
pub fn panel_widget_get_id(self_: *mut PanelWidget) -> *const c_char;
pub fn panel_widget_get_kind(self_: *mut PanelWidget) -> *const c_char;
pub fn panel_widget_get_menu_model(self_: *mut PanelWidget) -> *mut gio::GMenuModel;
pub fn panel_widget_get_modified(self_: *mut PanelWidget) -> gboolean;
pub fn panel_widget_get_needs_attention(self_: *mut PanelWidget) -> gboolean;
pub fn panel_widget_get_position(self_: *mut PanelWidget) -> *mut PanelPosition;
pub fn panel_widget_get_reorderable(self_: *mut PanelWidget) -> gboolean;
pub fn panel_widget_get_save_delegate(self_: *mut PanelWidget) -> *mut PanelSaveDelegate;
pub fn panel_widget_get_title(self_: *mut PanelWidget) -> *const c_char;
pub fn panel_widget_insert_action_group(
self_: *mut PanelWidget,
prefix: *const c_char,
group: *mut gio::GActionGroup,
);
pub fn panel_widget_mark_busy(self_: *mut PanelWidget);
pub fn panel_widget_maximize(self_: *mut PanelWidget);
pub fn panel_widget_raise(self_: *mut PanelWidget);
pub fn panel_widget_set_can_maximize(self_: *mut PanelWidget, can_maximize: gboolean);
pub fn panel_widget_set_child(self_: *mut PanelWidget, child: *mut gtk::GtkWidget);
pub fn panel_widget_set_icon(self_: *mut PanelWidget, icon: *mut gio::GIcon);
pub fn panel_widget_set_icon_name(self_: *mut PanelWidget, icon_name: *const c_char);
pub fn panel_widget_set_id(self_: *mut PanelWidget, id: *const c_char);
pub fn panel_widget_set_kind(self_: *mut PanelWidget, kind: *const c_char);
pub fn panel_widget_set_menu_model(self_: *mut PanelWidget, menu_model: *mut gio::GMenuModel);
pub fn panel_widget_set_modified(self_: *mut PanelWidget, modified: gboolean);
pub fn panel_widget_set_needs_attention(self_: *mut PanelWidget, needs_attention: gboolean);
pub fn panel_widget_set_reorderable(self_: *mut PanelWidget, reorderable: gboolean);
pub fn panel_widget_set_save_delegate(
self_: *mut PanelWidget,
save_delegate: *mut PanelSaveDelegate,
);
pub fn panel_widget_set_title(self_: *mut PanelWidget, title: *const c_char);
pub fn panel_widget_unmark_busy(self_: *mut PanelWidget);
pub fn panel_widget_unmaximize(self_: *mut PanelWidget);
pub fn panel_frame_header_get_type() -> GType;
pub fn panel_frame_header_add_prefix(
self_: *mut PanelFrameHeader,
priority: c_int,
child: *mut gtk::GtkWidget,
);
pub fn panel_frame_header_add_suffix(
self_: *mut PanelFrameHeader,
priority: c_int,
child: *mut gtk::GtkWidget,
);
pub fn panel_frame_header_can_drop(
self_: *mut PanelFrameHeader,
widget: *mut PanelWidget,
) -> gboolean;
pub fn panel_frame_header_get_frame(self_: *mut PanelFrameHeader) -> *mut PanelFrame;
pub fn panel_frame_header_page_changed(self_: *mut PanelFrameHeader, widget: *mut PanelWidget);
pub fn panel_frame_header_set_frame(self_: *mut PanelFrameHeader, frame: *mut PanelFrame);
pub fn panel_finalize();
pub fn panel_get_resource() -> *mut gio::GResource;
pub fn panel_init();
}