@girs/meta-13 4.3.0 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +36 -41
  2. package/meta-13.d.ts +497 -416
  3. package/package.json +22 -22
package/meta-13.d.ts CHANGED
@@ -57,23 +57,23 @@ export namespace Meta {
57
57
  /**
58
58
  * Menu
59
59
  */
60
- MENU,
60
+ MENU = 0,
61
61
  /**
62
62
  * Minimize
63
63
  */
64
- MINIMIZE,
64
+ MINIMIZE = 1,
65
65
  /**
66
66
  * Maximize
67
67
  */
68
- MAXIMIZE,
68
+ MAXIMIZE = 2,
69
69
  /**
70
70
  * Close
71
71
  */
72
- CLOSE,
72
+ CLOSE = 3,
73
73
  /**
74
74
  * Marks the end of the {@link Meta.ButtonFunction} enumeration
75
75
  */
76
- LAST,
76
+ LAST = 4,
77
77
  }
78
78
 
79
79
 
@@ -88,8 +88,8 @@ export namespace Meta {
88
88
  * @gir-type Enum
89
89
  */
90
90
  enum CloseDialogResponse {
91
- WAIT,
92
- FORCE_CLOSE,
91
+ WAIT = 0,
92
+ FORCE_CLOSE = 1,
93
93
  }
94
94
 
95
95
 
@@ -112,26 +112,26 @@ export namespace Meta {
112
112
  * workspace and is changed to become visible on the active
113
113
  * workspace.)
114
114
  */
115
- CREATE,
115
+ CREATE = 0,
116
116
  /**
117
117
  * The window should be shown
118
118
  * as unminimizing from its icon geometry.
119
119
  */
120
- UNMINIMIZE,
120
+ UNMINIMIZE = 1,
121
121
  /**
122
122
  * The window is being destroyed
123
123
  */
124
- DESTROY,
124
+ DESTROY = 2,
125
125
  /**
126
126
  * The window should be shown
127
127
  * as minimizing to its icon geometry.
128
128
  */
129
- MINIMIZE,
129
+ MINIMIZE = 3,
130
130
  /**
131
131
  * No effect, the window should be
132
132
  * shown or hidden immediately.
133
133
  */
134
- NONE,
134
+ NONE = 4,
135
135
  }
136
136
 
137
137
 
@@ -146,8 +146,8 @@ export namespace Meta {
146
146
  * @gir-type Enum
147
147
  */
148
148
  enum CompositorType {
149
- WAYLAND,
150
- X11,
149
+ WAYLAND = 0,
150
+ X11 = 1,
151
151
  }
152
152
 
153
153
 
@@ -162,84 +162,84 @@ export namespace Meta {
162
162
  * @gir-type Enum
163
163
  */
164
164
  enum Cursor {
165
- NONE,
165
+ NONE = 0,
166
166
  /**
167
167
  * Default cursor
168
168
  */
169
- DEFAULT,
169
+ DEFAULT = 1,
170
170
  /**
171
171
  * Resize northern edge cursor
172
172
  */
173
- NORTH_RESIZE,
173
+ NORTH_RESIZE = 2,
174
174
  /**
175
175
  * Resize southern edge cursor
176
176
  */
177
- SOUTH_RESIZE,
177
+ SOUTH_RESIZE = 3,
178
178
  /**
179
179
  * Resize western edge cursor
180
180
  */
181
- WEST_RESIZE,
181
+ WEST_RESIZE = 4,
182
182
  /**
183
183
  * Resize eastern edge cursor
184
184
  */
185
- EAST_RESIZE,
185
+ EAST_RESIZE = 5,
186
186
  /**
187
187
  * Resize south-eastern corner cursor
188
188
  */
189
- SE_RESIZE,
189
+ SE_RESIZE = 6,
190
190
  /**
191
191
  * Resize south-western corner cursor
192
192
  */
193
- SW_RESIZE,
193
+ SW_RESIZE = 7,
194
194
  /**
195
195
  * Resize north-eastern corner cursor
196
196
  */
197
- NE_RESIZE,
197
+ NE_RESIZE = 8,
198
198
  /**
199
199
  * Resize north-western corner cursor
200
200
  */
201
- NW_RESIZE,
201
+ NW_RESIZE = 9,
202
202
  /**
203
203
  * Move or resize cursor
204
204
  */
205
- MOVE_OR_RESIZE_WINDOW,
205
+ MOVE_OR_RESIZE_WINDOW = 10,
206
206
  /**
207
207
  * Busy cursor
208
208
  */
209
- BUSY,
209
+ BUSY = 11,
210
210
  /**
211
211
  * DND in drag cursor
212
212
  */
213
- DND_IN_DRAG,
213
+ DND_IN_DRAG = 12,
214
214
  /**
215
215
  * DND move cursor
216
216
  */
217
- DND_MOVE,
217
+ DND_MOVE = 13,
218
218
  /**
219
219
  * DND copy cursor
220
220
  */
221
- DND_COPY,
221
+ DND_COPY = 14,
222
222
  /**
223
223
  * DND unsupported target
224
224
  */
225
- DND_UNSUPPORTED_TARGET,
225
+ DND_UNSUPPORTED_TARGET = 15,
226
226
  /**
227
227
  * pointing hand
228
228
  */
229
- POINTING_HAND,
229
+ POINTING_HAND = 16,
230
230
  /**
231
231
  * crosshair (action forbidden)
232
232
  */
233
- CROSSHAIR,
233
+ CROSSHAIR = 17,
234
234
  /**
235
235
  * I-beam (text input)
236
236
  */
237
- IBEAM,
237
+ IBEAM = 18,
238
238
  /**
239
239
  * Invisible cursor
240
240
  */
241
- BLANK,
242
- LAST,
241
+ BLANK = 19,
242
+ LAST = 20,
243
243
  }
244
244
 
245
245
 
@@ -257,19 +257,19 @@ export namespace Meta {
257
257
  /**
258
258
  * top-left corner
259
259
  */
260
- TOPLEFT,
260
+ TOPLEFT = 0,
261
261
  /**
262
262
  * top-right corner
263
263
  */
264
- TOPRIGHT,
264
+ TOPRIGHT = 1,
265
265
  /**
266
266
  * bottom-left corner
267
267
  */
268
- BOTTOMLEFT,
268
+ BOTTOMLEFT = 2,
269
269
  /**
270
270
  * bottom-right corner
271
271
  */
272
- BOTTOMRIGHT,
272
+ BOTTOMRIGHT = 3,
273
273
  }
274
274
 
275
275
 
@@ -287,19 +287,19 @@ export namespace Meta {
287
287
  /**
288
288
  * up
289
289
  */
290
- UP,
290
+ UP = 0,
291
291
  /**
292
292
  * down
293
293
  */
294
- DOWN,
294
+ DOWN = 1,
295
295
  /**
296
296
  * left
297
297
  */
298
- LEFT,
298
+ LEFT = 2,
299
299
  /**
300
300
  * right
301
301
  */
302
- RIGHT,
302
+ RIGHT = 3,
303
303
  }
304
304
 
305
305
 
@@ -317,15 +317,15 @@ export namespace Meta {
317
317
  /**
318
318
  * Whether the edge belongs to a window
319
319
  */
320
- WINDOW,
320
+ WINDOW = 0,
321
321
  /**
322
322
  * Whether the edge belongs to a monitor
323
323
  */
324
- MONITOR,
324
+ MONITOR = 1,
325
325
  /**
326
326
  * Whether the edge belongs to a screen
327
327
  */
328
- SCREEN,
328
+ SCREEN = 2,
329
329
  }
330
330
 
331
331
 
@@ -343,11 +343,11 @@ export namespace Meta {
343
343
  /**
344
344
  * Success
345
345
  */
346
- SUCCESS,
346
+ SUCCESS = 0,
347
347
  /**
348
348
  * Error
349
349
  */
350
- ERROR,
350
+ ERROR = 1,
351
351
  }
352
352
 
353
353
 
@@ -365,35 +365,35 @@ export namespace Meta {
365
365
  /**
366
366
  * Normal frame
367
367
  */
368
- NORMAL,
368
+ NORMAL = 0,
369
369
  /**
370
370
  * Dialog frame
371
371
  */
372
- DIALOG,
372
+ DIALOG = 1,
373
373
  /**
374
374
  * Modal dialog frame
375
375
  */
376
- MODAL_DIALOG,
376
+ MODAL_DIALOG = 2,
377
377
  /**
378
378
  * Utility frame
379
379
  */
380
- UTILITY,
380
+ UTILITY = 3,
381
381
  /**
382
382
  * Menu frame
383
383
  */
384
- MENU,
384
+ MENU = 4,
385
385
  /**
386
386
  * Border frame
387
387
  */
388
- BORDER,
388
+ BORDER = 5,
389
389
  /**
390
390
  * Attached frame
391
391
  */
392
- ATTACHED,
392
+ ATTACHED = 6,
393
393
  /**
394
394
  * Marks the end of the {@link Meta.FrameType} enumeration
395
395
  */
396
- LAST,
396
+ LAST = 7,
397
397
  }
398
398
 
399
399
 
@@ -411,85 +411,85 @@ export namespace Meta {
411
411
  /**
412
412
  * None
413
413
  */
414
- NONE,
415
- WINDOW_BASE,
414
+ NONE = 0,
415
+ WINDOW_BASE = 1,
416
416
  /**
417
417
  * Moving with pointer
418
418
  */
419
- MOVING,
420
- MOVING_UNCONSTRAINED,
419
+ MOVING = 1,
420
+ MOVING_UNCONSTRAINED = 1025,
421
421
  /**
422
422
  * Resizing NW with pointer
423
423
  */
424
- RESIZING_NW,
424
+ RESIZING_NW = 36865,
425
425
  /**
426
426
  * Resizing N with pointer
427
427
  */
428
- RESIZING_N,
428
+ RESIZING_N = 32769,
429
429
  /**
430
430
  * Resizing NE with pointer
431
431
  */
432
- RESIZING_NE,
432
+ RESIZING_NE = 40961,
433
433
  /**
434
434
  * Resizing E with pointer
435
435
  */
436
- RESIZING_E,
436
+ RESIZING_E = 8193,
437
437
  /**
438
438
  * Resizing SW with pointer
439
439
  */
440
- RESIZING_SW,
440
+ RESIZING_SW = 20481,
441
441
  /**
442
442
  * Resizing S with pointer
443
443
  */
444
- RESIZING_S,
444
+ RESIZING_S = 16385,
445
445
  /**
446
446
  * Resizing SE with pointer
447
447
  */
448
- RESIZING_SE,
448
+ RESIZING_SE = 24577,
449
449
  /**
450
450
  * Resizing W with pointer
451
451
  */
452
- RESIZING_W,
452
+ RESIZING_W = 4097,
453
453
  /**
454
454
  * Moving with keyboard
455
455
  */
456
- KEYBOARD_MOVING,
456
+ KEYBOARD_MOVING = 257,
457
457
  /**
458
458
  * Resizing with keyboard
459
459
  */
460
- KEYBOARD_RESIZING_UNKNOWN,
460
+ KEYBOARD_RESIZING_UNKNOWN = 769,
461
461
  /**
462
462
  * Resizing NS with keyboard
463
463
  */
464
- KEYBOARD_RESIZING_NW,
464
+ KEYBOARD_RESIZING_NW = 37121,
465
465
  /**
466
466
  * Resizing N with keyboard
467
467
  */
468
- KEYBOARD_RESIZING_N,
468
+ KEYBOARD_RESIZING_N = 33025,
469
469
  /**
470
470
  * Resizing NE with keyboard
471
471
  */
472
- KEYBOARD_RESIZING_NE,
472
+ KEYBOARD_RESIZING_NE = 41217,
473
473
  /**
474
474
  * Resizing E with keyboard
475
475
  */
476
- KEYBOARD_RESIZING_E,
476
+ KEYBOARD_RESIZING_E = 8449,
477
477
  /**
478
478
  * Resizing SW with keyboard
479
479
  */
480
- KEYBOARD_RESIZING_SW,
480
+ KEYBOARD_RESIZING_SW = 20737,
481
481
  /**
482
482
  * Resizing S with keyboard
483
483
  */
484
- KEYBOARD_RESIZING_S,
484
+ KEYBOARD_RESIZING_S = 16641,
485
485
  /**
486
486
  * Resizing SE with keyboard
487
487
  */
488
- KEYBOARD_RESIZING_SE,
488
+ KEYBOARD_RESIZING_SE = 24833,
489
489
  /**
490
490
  * Resizing W with keyboard
491
491
  */
492
- KEYBOARD_RESIZING_W,
492
+ KEYBOARD_RESIZING_W = 4353,
493
493
  }
494
494
 
495
495
 
@@ -504,17 +504,17 @@ export namespace Meta {
504
504
  * @gir-type Enum
505
505
  */
506
506
  enum Gravity {
507
- NONE,
508
- NORTH_WEST,
509
- NORTH,
510
- NORTH_EAST,
511
- WEST,
512
- CENTER,
513
- EAST,
514
- SOUTH_WEST,
515
- SOUTH,
516
- SOUTH_EAST,
517
- STATIC,
507
+ NONE = 0,
508
+ NORTH_WEST = 1,
509
+ NORTH = 2,
510
+ NORTH_EAST = 3,
511
+ WEST = 4,
512
+ CENTER = 5,
513
+ EAST = 6,
514
+ SOUTH_WEST = 7,
515
+ SOUTH = 8,
516
+ SOUTH_EAST = 9,
517
+ STATIC = 10,
518
518
  }
519
519
 
520
520
 
@@ -529,8 +529,8 @@ export namespace Meta {
529
529
  * @gir-type Enum
530
530
  */
531
531
  enum InhibitShortcutsDialogResponse {
532
- ALLOW,
533
- DENY,
532
+ ALLOW = 0,
533
+ DENY = 1,
534
534
  }
535
535
 
536
536
 
@@ -548,362 +548,362 @@ export namespace Meta {
548
548
  /**
549
549
  * FILLME
550
550
  */
551
- NONE,
551
+ NONE = 0,
552
552
  /**
553
553
  * FILLME
554
554
  */
555
- WORKSPACE_1,
555
+ WORKSPACE_1 = 1,
556
556
  /**
557
557
  * FILLME
558
558
  */
559
- WORKSPACE_2,
559
+ WORKSPACE_2 = 2,
560
560
  /**
561
561
  * FILLME
562
562
  */
563
- WORKSPACE_3,
563
+ WORKSPACE_3 = 3,
564
564
  /**
565
565
  * FILLME
566
566
  */
567
- WORKSPACE_4,
567
+ WORKSPACE_4 = 4,
568
568
  /**
569
569
  * FILLME
570
570
  */
571
- WORKSPACE_5,
571
+ WORKSPACE_5 = 5,
572
572
  /**
573
573
  * FILLME
574
574
  */
575
- WORKSPACE_6,
575
+ WORKSPACE_6 = 6,
576
576
  /**
577
577
  * FILLME
578
578
  */
579
- WORKSPACE_7,
579
+ WORKSPACE_7 = 7,
580
580
  /**
581
581
  * FILLME
582
582
  */
583
- WORKSPACE_8,
583
+ WORKSPACE_8 = 8,
584
584
  /**
585
585
  * FILLME
586
586
  */
587
- WORKSPACE_9,
587
+ WORKSPACE_9 = 9,
588
588
  /**
589
589
  * FILLME
590
590
  */
591
- WORKSPACE_10,
591
+ WORKSPACE_10 = 10,
592
592
  /**
593
593
  * FILLME
594
594
  */
595
- WORKSPACE_11,
595
+ WORKSPACE_11 = 11,
596
596
  /**
597
597
  * FILLME
598
598
  */
599
- WORKSPACE_12,
599
+ WORKSPACE_12 = 12,
600
600
  /**
601
601
  * FILLME
602
602
  */
603
- WORKSPACE_LEFT,
603
+ WORKSPACE_LEFT = 13,
604
604
  /**
605
605
  * FILLME
606
606
  */
607
- WORKSPACE_RIGHT,
607
+ WORKSPACE_RIGHT = 14,
608
608
  /**
609
609
  * FILLME
610
610
  */
611
- WORKSPACE_UP,
611
+ WORKSPACE_UP = 15,
612
612
  /**
613
613
  * FILLME
614
614
  */
615
- WORKSPACE_DOWN,
615
+ WORKSPACE_DOWN = 16,
616
616
  /**
617
617
  * FILLME
618
618
  */
619
- WORKSPACE_LAST,
619
+ WORKSPACE_LAST = 17,
620
620
  /**
621
621
  * FILLME
622
622
  */
623
- SWITCH_APPLICATIONS,
623
+ SWITCH_APPLICATIONS = 18,
624
624
  /**
625
625
  * FILLME
626
626
  */
627
- SWITCH_APPLICATIONS_BACKWARD,
627
+ SWITCH_APPLICATIONS_BACKWARD = 19,
628
628
  /**
629
629
  * FILLME
630
630
  */
631
- SWITCH_GROUP,
631
+ SWITCH_GROUP = 20,
632
632
  /**
633
633
  * FILLME
634
634
  */
635
- SWITCH_GROUP_BACKWARD,
635
+ SWITCH_GROUP_BACKWARD = 21,
636
636
  /**
637
637
  * FILLME
638
638
  */
639
- SWITCH_WINDOWS,
639
+ SWITCH_WINDOWS = 22,
640
640
  /**
641
641
  * FILLME
642
642
  */
643
- SWITCH_WINDOWS_BACKWARD,
643
+ SWITCH_WINDOWS_BACKWARD = 23,
644
644
  /**
645
645
  * FILLME
646
646
  */
647
- SWITCH_PANELS,
647
+ SWITCH_PANELS = 24,
648
648
  /**
649
649
  * FILLME
650
650
  */
651
- SWITCH_PANELS_BACKWARD,
651
+ SWITCH_PANELS_BACKWARD = 25,
652
652
  /**
653
653
  * FILLME
654
654
  */
655
- CYCLE_GROUP,
655
+ CYCLE_GROUP = 26,
656
656
  /**
657
657
  * FILLME
658
658
  */
659
- CYCLE_GROUP_BACKWARD,
659
+ CYCLE_GROUP_BACKWARD = 27,
660
660
  /**
661
661
  * FILLME
662
662
  */
663
- CYCLE_WINDOWS,
663
+ CYCLE_WINDOWS = 28,
664
664
  /**
665
665
  * FILLME
666
666
  */
667
- CYCLE_WINDOWS_BACKWARD,
667
+ CYCLE_WINDOWS_BACKWARD = 29,
668
668
  /**
669
669
  * FILLME
670
670
  */
671
- CYCLE_PANELS,
671
+ CYCLE_PANELS = 30,
672
672
  /**
673
673
  * FILLME
674
674
  */
675
- CYCLE_PANELS_BACKWARD,
675
+ CYCLE_PANELS_BACKWARD = 31,
676
676
  /**
677
677
  * FILLME
678
678
  */
679
- SHOW_DESKTOP,
679
+ SHOW_DESKTOP = 32,
680
680
  /**
681
681
  * FILLME
682
682
  */
683
- PANEL_RUN_DIALOG,
683
+ PANEL_RUN_DIALOG = 33,
684
684
  /**
685
685
  * FILLME
686
686
  */
687
- TOGGLE_RECORDING,
687
+ TOGGLE_RECORDING = 34,
688
688
  /**
689
689
  * FILLME
690
690
  */
691
- SET_SPEW_MARK,
691
+ SET_SPEW_MARK = 35,
692
692
  /**
693
693
  * FILLME
694
694
  */
695
- ACTIVATE_WINDOW_MENU,
695
+ ACTIVATE_WINDOW_MENU = 36,
696
696
  /**
697
697
  * FILLME
698
698
  */
699
- TOGGLE_FULLSCREEN,
699
+ TOGGLE_FULLSCREEN = 37,
700
700
  /**
701
701
  * FILLME
702
702
  */
703
- TOGGLE_MAXIMIZED,
703
+ TOGGLE_MAXIMIZED = 38,
704
704
  /**
705
705
  * FILLME
706
706
  */
707
- TOGGLE_TILED_LEFT,
707
+ TOGGLE_TILED_LEFT = 39,
708
708
  /**
709
709
  * FILLME
710
710
  */
711
- TOGGLE_TILED_RIGHT,
711
+ TOGGLE_TILED_RIGHT = 40,
712
712
  /**
713
713
  * FILLME
714
714
  */
715
- TOGGLE_ABOVE,
715
+ TOGGLE_ABOVE = 41,
716
716
  /**
717
717
  * FILLME
718
718
  */
719
- MAXIMIZE,
719
+ MAXIMIZE = 42,
720
720
  /**
721
721
  * FILLME
722
722
  */
723
- UNMAXIMIZE,
723
+ UNMAXIMIZE = 43,
724
724
  /**
725
725
  * FILLME
726
726
  */
727
- TOGGLE_SHADED,
727
+ TOGGLE_SHADED = 44,
728
728
  /**
729
729
  * FILLME
730
730
  */
731
- MINIMIZE,
731
+ MINIMIZE = 45,
732
732
  /**
733
733
  * FILLME
734
734
  */
735
- CLOSE,
735
+ CLOSE = 46,
736
736
  /**
737
737
  * FILLME
738
738
  */
739
- BEGIN_MOVE,
739
+ BEGIN_MOVE = 47,
740
740
  /**
741
741
  * FILLME
742
742
  */
743
- BEGIN_RESIZE,
743
+ BEGIN_RESIZE = 48,
744
744
  /**
745
745
  * FILLME
746
746
  */
747
- TOGGLE_ON_ALL_WORKSPACES,
747
+ TOGGLE_ON_ALL_WORKSPACES = 49,
748
748
  /**
749
749
  * FILLME
750
750
  */
751
- MOVE_TO_WORKSPACE_1,
751
+ MOVE_TO_WORKSPACE_1 = 50,
752
752
  /**
753
753
  * FILLME
754
754
  */
755
- MOVE_TO_WORKSPACE_2,
755
+ MOVE_TO_WORKSPACE_2 = 51,
756
756
  /**
757
757
  * FILLME
758
758
  */
759
- MOVE_TO_WORKSPACE_3,
759
+ MOVE_TO_WORKSPACE_3 = 52,
760
760
  /**
761
761
  * FILLME
762
762
  */
763
- MOVE_TO_WORKSPACE_4,
763
+ MOVE_TO_WORKSPACE_4 = 53,
764
764
  /**
765
765
  * FILLME
766
766
  */
767
- MOVE_TO_WORKSPACE_5,
767
+ MOVE_TO_WORKSPACE_5 = 54,
768
768
  /**
769
769
  * FILLME
770
770
  */
771
- MOVE_TO_WORKSPACE_6,
771
+ MOVE_TO_WORKSPACE_6 = 55,
772
772
  /**
773
773
  * FILLME
774
774
  */
775
- MOVE_TO_WORKSPACE_7,
775
+ MOVE_TO_WORKSPACE_7 = 56,
776
776
  /**
777
777
  * FILLME
778
778
  */
779
- MOVE_TO_WORKSPACE_8,
779
+ MOVE_TO_WORKSPACE_8 = 57,
780
780
  /**
781
781
  * FILLME
782
782
  */
783
- MOVE_TO_WORKSPACE_9,
783
+ MOVE_TO_WORKSPACE_9 = 58,
784
784
  /**
785
785
  * FILLME
786
786
  */
787
- MOVE_TO_WORKSPACE_10,
787
+ MOVE_TO_WORKSPACE_10 = 59,
788
788
  /**
789
789
  * FILLME
790
790
  */
791
- MOVE_TO_WORKSPACE_11,
791
+ MOVE_TO_WORKSPACE_11 = 60,
792
792
  /**
793
793
  * FILLME
794
794
  */
795
- MOVE_TO_WORKSPACE_12,
795
+ MOVE_TO_WORKSPACE_12 = 61,
796
796
  /**
797
797
  * FILLME
798
798
  */
799
- MOVE_TO_WORKSPACE_LEFT,
799
+ MOVE_TO_WORKSPACE_LEFT = 62,
800
800
  /**
801
801
  * FILLME
802
802
  */
803
- MOVE_TO_WORKSPACE_RIGHT,
803
+ MOVE_TO_WORKSPACE_RIGHT = 63,
804
804
  /**
805
805
  * FILLME
806
806
  */
807
- MOVE_TO_WORKSPACE_UP,
807
+ MOVE_TO_WORKSPACE_UP = 64,
808
808
  /**
809
809
  * FILLME
810
810
  */
811
- MOVE_TO_WORKSPACE_DOWN,
811
+ MOVE_TO_WORKSPACE_DOWN = 65,
812
812
  /**
813
813
  * FILLME
814
814
  */
815
- MOVE_TO_WORKSPACE_LAST,
815
+ MOVE_TO_WORKSPACE_LAST = 66,
816
816
  /**
817
817
  * FILLME
818
818
  */
819
- MOVE_TO_MONITOR_LEFT,
819
+ MOVE_TO_MONITOR_LEFT = 67,
820
820
  /**
821
821
  * FILLME
822
822
  */
823
- MOVE_TO_MONITOR_RIGHT,
823
+ MOVE_TO_MONITOR_RIGHT = 68,
824
824
  /**
825
825
  * FILLME
826
826
  */
827
- MOVE_TO_MONITOR_UP,
827
+ MOVE_TO_MONITOR_UP = 69,
828
828
  /**
829
829
  * FILLME
830
830
  */
831
- MOVE_TO_MONITOR_DOWN,
831
+ MOVE_TO_MONITOR_DOWN = 70,
832
832
  /**
833
833
  * FILLME
834
834
  */
835
- RAISE_OR_LOWER,
835
+ RAISE_OR_LOWER = 71,
836
836
  /**
837
837
  * FILLME
838
838
  */
839
- RAISE,
839
+ RAISE = 72,
840
840
  /**
841
841
  * FILLME
842
842
  */
843
- LOWER,
843
+ LOWER = 73,
844
844
  /**
845
845
  * FILLME
846
846
  */
847
- MAXIMIZE_VERTICALLY,
847
+ MAXIMIZE_VERTICALLY = 74,
848
848
  /**
849
849
  * FILLME
850
850
  */
851
- MAXIMIZE_HORIZONTALLY,
851
+ MAXIMIZE_HORIZONTALLY = 75,
852
852
  /**
853
853
  * FILLME
854
854
  */
855
- MOVE_TO_CORNER_NW,
855
+ MOVE_TO_CORNER_NW = 76,
856
856
  /**
857
857
  * FILLME
858
858
  */
859
- MOVE_TO_CORNER_NE,
859
+ MOVE_TO_CORNER_NE = 77,
860
860
  /**
861
861
  * FILLME
862
862
  */
863
- MOVE_TO_CORNER_SW,
863
+ MOVE_TO_CORNER_SW = 78,
864
864
  /**
865
865
  * FILLME
866
866
  */
867
- MOVE_TO_CORNER_SE,
867
+ MOVE_TO_CORNER_SE = 79,
868
868
  /**
869
869
  * FILLME
870
870
  */
871
- MOVE_TO_SIDE_N,
871
+ MOVE_TO_SIDE_N = 80,
872
872
  /**
873
873
  * FILLME
874
874
  */
875
- MOVE_TO_SIDE_S,
875
+ MOVE_TO_SIDE_S = 81,
876
876
  /**
877
877
  * FILLME
878
878
  */
879
- MOVE_TO_SIDE_E,
879
+ MOVE_TO_SIDE_E = 82,
880
880
  /**
881
881
  * FILLME
882
882
  */
883
- MOVE_TO_SIDE_W,
883
+ MOVE_TO_SIDE_W = 83,
884
884
  /**
885
885
  * FILLME
886
886
  */
887
- MOVE_TO_CENTER,
887
+ MOVE_TO_CENTER = 84,
888
888
  /**
889
889
  * FILLME
890
890
  */
891
- OVERLAY_KEY,
891
+ OVERLAY_KEY = 85,
892
892
  /**
893
893
  * FILLME
894
894
  */
895
- LOCATE_POINTER_KEY,
896
- ISO_NEXT_GROUP,
895
+ LOCATE_POINTER_KEY = 86,
896
+ ISO_NEXT_GROUP = 87,
897
897
  /**
898
898
  * FILLME
899
899
  */
900
- ALWAYS_ON_TOP,
901
- SWITCH_MONITOR,
902
- ROTATE_MONITOR,
900
+ ALWAYS_ON_TOP = 88,
901
+ SWITCH_MONITOR = 89,
902
+ ROTATE_MONITOR = 90,
903
903
  /**
904
904
  * FILLME
905
905
  */
906
- LAST,
906
+ LAST = 91,
907
907
  }
908
908
 
909
909
 
@@ -922,28 +922,28 @@ export namespace Meta {
922
922
  * call in a resize processing phase that is done
923
923
  * before GTK+ repainting (including window borders) is done.
924
924
  */
925
- RESIZE,
925
+ RESIZE = 0,
926
926
  /**
927
927
  * used by Mutter to compute which windows should be mapped
928
928
  */
929
- CALC_SHOWING,
929
+ CALC_SHOWING = 1,
930
930
  /**
931
931
  * used by Mutter to see if there's a fullscreen window
932
932
  */
933
- CHECK_FULLSCREEN,
933
+ CHECK_FULLSCREEN = 2,
934
934
  /**
935
935
  * used by Mutter to send it's idea of the stacking order to the server
936
936
  */
937
- SYNC_STACK,
937
+ SYNC_STACK = 3,
938
938
  /**
939
939
  * call before the stage is redrawn
940
940
  */
941
- BEFORE_REDRAW,
941
+ BEFORE_REDRAW = 4,
942
942
  /**
943
943
  * call at a very low priority (can be blocked
944
944
  * by running animations or redrawing applications)
945
945
  */
946
- IDLE,
946
+ IDLE = 5,
947
947
  }
948
948
 
949
949
 
@@ -958,8 +958,8 @@ export namespace Meta {
958
958
  * @gir-type Enum
959
959
  */
960
960
  enum LocaleDirection {
961
- LTR,
962
- RTL,
961
+ LTR = 0,
962
+ RTL = 1,
963
963
  }
964
964
 
965
965
 
@@ -974,11 +974,11 @@ export namespace Meta {
974
974
  * @gir-type Enum
975
975
  */
976
976
  enum MonitorSwitchConfigType {
977
- ALL_MIRROR,
978
- ALL_LINEAR,
979
- EXTERNAL,
980
- BUILTIN,
981
- UNKNOWN,
977
+ ALL_MIRROR = 0,
978
+ ALL_LINEAR = 1,
979
+ EXTERNAL = 2,
980
+ BUILTIN = 3,
981
+ UNKNOWN = 4,
982
982
  }
983
983
 
984
984
 
@@ -996,35 +996,35 @@ export namespace Meta {
996
996
  /**
997
997
  * Upwards motion
998
998
  */
999
- UP,
999
+ UP = -1,
1000
1000
  /**
1001
1001
  * Downwards motion
1002
1002
  */
1003
- DOWN,
1003
+ DOWN = -2,
1004
1004
  /**
1005
1005
  * Motion to the left
1006
1006
  */
1007
- LEFT,
1007
+ LEFT = -3,
1008
1008
  /**
1009
1009
  * Motion to the right
1010
1010
  */
1011
- RIGHT,
1011
+ RIGHT = -4,
1012
1012
  /**
1013
1013
  * Motion up and to the left
1014
1014
  */
1015
- UP_LEFT,
1015
+ UP_LEFT = -5,
1016
1016
  /**
1017
1017
  * Motion up and to the right
1018
1018
  */
1019
- UP_RIGHT,
1019
+ UP_RIGHT = -6,
1020
1020
  /**
1021
1021
  * Motion down and to the left
1022
1022
  */
1023
- DOWN_LEFT,
1023
+ DOWN_LEFT = -7,
1024
1024
  /**
1025
1025
  * Motion down and to the right
1026
1026
  */
1027
- DOWN_RIGHT,
1027
+ DOWN_RIGHT = -8,
1028
1028
  }
1029
1029
 
1030
1030
 
@@ -1042,24 +1042,24 @@ export namespace Meta {
1042
1042
  /**
1043
1043
  * Invalid value
1044
1044
  */
1045
- INVALID,
1045
+ INVALID = 0,
1046
1046
  /**
1047
1047
  * Any format supported by Cogl (see {@link Cogl.PixelFormat})
1048
1048
  */
1049
- SIMPLE,
1049
+ SIMPLE = 1,
1050
1050
  /**
1051
1051
  * YUYV, 32 bits, 16 bpc (Y), 8 bpc (U & V)
1052
1052
  */
1053
- YUYV,
1053
+ YUYV = 2,
1054
1054
  /**
1055
1055
  * 2 planes: 1 Y-plane, 1 UV-plane (2x2 subsampled)
1056
1056
  */
1057
- NV12,
1058
- P010,
1057
+ NV12 = 3,
1058
+ P010 = 4,
1059
1059
  /**
1060
1060
  * 3 planes: 1 Y-plane, 1 U-plane (2x2 subsampled), 1 V-plane (2x2 subsampled)
1061
1061
  */
1062
- YUV420,
1062
+ YUV420 = 5,
1063
1063
  }
1064
1064
 
1065
1065
 
@@ -1074,10 +1074,10 @@ export namespace Meta {
1074
1074
  * @gir-type Enum
1075
1075
  */
1076
1076
  enum PadDirection {
1077
- UP,
1078
- DOWN,
1079
- CW,
1080
- CCW,
1077
+ UP = 1,
1078
+ DOWN = 2,
1079
+ CW = 3,
1080
+ CCW = 4,
1081
1081
  }
1082
1082
 
1083
1083
 
@@ -1092,8 +1092,8 @@ export namespace Meta {
1092
1092
  * @gir-type Enum
1093
1093
  */
1094
1094
  enum PadFeatureType {
1095
- RING,
1096
- STRIP,
1095
+ RING = 0,
1096
+ STRIP = 1,
1097
1097
  }
1098
1098
 
1099
1099
 
@@ -1108,8 +1108,8 @@ export namespace Meta {
1108
1108
  * @gir-type Enum
1109
1109
  */
1110
1110
  enum PowerSaveChangeReason {
1111
- MODE_CHANGE,
1112
- HOTPLUG,
1111
+ MODE_CHANGE = 0,
1112
+ HOTPLUG = 1,
1113
1113
  }
1114
1114
 
1115
1115
 
@@ -1127,136 +1127,136 @@ export namespace Meta {
1127
1127
  /**
1128
1128
  * mouse button modifiers
1129
1129
  */
1130
- MOUSE_BUTTON_MODS,
1130
+ MOUSE_BUTTON_MODS = 0,
1131
1131
  /**
1132
1132
  * focus mode
1133
1133
  */
1134
- FOCUS_MODE,
1134
+ FOCUS_MODE = 1,
1135
1135
  /**
1136
1136
  * focus new windows
1137
1137
  */
1138
- FOCUS_NEW_WINDOWS,
1138
+ FOCUS_NEW_WINDOWS = 2,
1139
1139
  /**
1140
1140
  * attach modal dialogs
1141
1141
  */
1142
- ATTACH_MODAL_DIALOGS,
1142
+ ATTACH_MODAL_DIALOGS = 3,
1143
1143
  /**
1144
1144
  * raise on click
1145
1145
  */
1146
- RAISE_ON_CLICK,
1146
+ RAISE_ON_CLICK = 4,
1147
1147
  /**
1148
1148
  * action double click titlebar
1149
1149
  */
1150
- ACTION_DOUBLE_CLICK_TITLEBAR,
1150
+ ACTION_DOUBLE_CLICK_TITLEBAR = 5,
1151
1151
  /**
1152
1152
  * action middle click titlebar
1153
1153
  */
1154
- ACTION_MIDDLE_CLICK_TITLEBAR,
1154
+ ACTION_MIDDLE_CLICK_TITLEBAR = 6,
1155
1155
  /**
1156
1156
  * action right click titlebar
1157
1157
  */
1158
- ACTION_RIGHT_CLICK_TITLEBAR,
1158
+ ACTION_RIGHT_CLICK_TITLEBAR = 7,
1159
1159
  /**
1160
1160
  * auto-raise
1161
1161
  */
1162
- AUTO_RAISE,
1162
+ AUTO_RAISE = 8,
1163
1163
  /**
1164
1164
  * auto-raise delay
1165
1165
  */
1166
- AUTO_RAISE_DELAY,
1166
+ AUTO_RAISE_DELAY = 9,
1167
1167
  /**
1168
1168
  * focus change on pointer rest
1169
1169
  */
1170
- FOCUS_CHANGE_ON_POINTER_REST,
1170
+ FOCUS_CHANGE_ON_POINTER_REST = 10,
1171
1171
  /**
1172
1172
  * number of workspaces
1173
1173
  */
1174
- NUM_WORKSPACES,
1174
+ NUM_WORKSPACES = 11,
1175
1175
  /**
1176
1176
  * dynamic workspaces
1177
1177
  */
1178
- DYNAMIC_WORKSPACES,
1178
+ DYNAMIC_WORKSPACES = 12,
1179
1179
  /**
1180
1180
  * keybindings
1181
1181
  */
1182
- KEYBINDINGS,
1182
+ KEYBINDINGS = 13,
1183
1183
  /**
1184
1184
  * disable workarounds
1185
1185
  */
1186
- DISABLE_WORKAROUNDS,
1186
+ DISABLE_WORKAROUNDS = 14,
1187
1187
  /**
1188
1188
  * button layout
1189
1189
  */
1190
- BUTTON_LAYOUT,
1190
+ BUTTON_LAYOUT = 15,
1191
1191
  /**
1192
1192
  * workspace names
1193
1193
  */
1194
- WORKSPACE_NAMES,
1194
+ WORKSPACE_NAMES = 16,
1195
1195
  /**
1196
1196
  * visual bell
1197
1197
  */
1198
- VISUAL_BELL,
1198
+ VISUAL_BELL = 17,
1199
1199
  /**
1200
1200
  * audible bell
1201
1201
  */
1202
- AUDIBLE_BELL,
1202
+ AUDIBLE_BELL = 18,
1203
1203
  /**
1204
1204
  * visual bell type
1205
1205
  */
1206
- VISUAL_BELL_TYPE,
1206
+ VISUAL_BELL_TYPE = 19,
1207
1207
  /**
1208
1208
  * GNOME accessibility
1209
1209
  */
1210
- GNOME_ACCESSIBILITY,
1210
+ GNOME_ACCESSIBILITY = 20,
1211
1211
  /**
1212
1212
  * GNOME animations
1213
1213
  */
1214
- GNOME_ANIMATIONS,
1214
+ GNOME_ANIMATIONS = 21,
1215
1215
  /**
1216
1216
  * cursor theme
1217
1217
  */
1218
- CURSOR_THEME,
1218
+ CURSOR_THEME = 22,
1219
1219
  /**
1220
1220
  * cursor size
1221
1221
  */
1222
- CURSOR_SIZE,
1222
+ CURSOR_SIZE = 23,
1223
1223
  /**
1224
1224
  * resize with right button
1225
1225
  */
1226
- RESIZE_WITH_RIGHT_BUTTON,
1226
+ RESIZE_WITH_RIGHT_BUTTON = 24,
1227
1227
  /**
1228
1228
  * edge tiling
1229
1229
  */
1230
- EDGE_TILING,
1230
+ EDGE_TILING = 25,
1231
1231
  /**
1232
1232
  * force fullscreen
1233
1233
  */
1234
- FORCE_FULLSCREEN,
1234
+ FORCE_FULLSCREEN = 26,
1235
1235
  /**
1236
1236
  * workspaces only on primary
1237
1237
  */
1238
- WORKSPACES_ONLY_ON_PRIMARY,
1238
+ WORKSPACES_ONLY_ON_PRIMARY = 27,
1239
1239
  /**
1240
1240
  * draggable border width
1241
1241
  */
1242
- DRAGGABLE_BORDER_WIDTH,
1242
+ DRAGGABLE_BORDER_WIDTH = 28,
1243
1243
  /**
1244
1244
  * auto-maximize
1245
1245
  */
1246
- AUTO_MAXIMIZE,
1246
+ AUTO_MAXIMIZE = 29,
1247
1247
  /**
1248
1248
  * center new windows
1249
1249
  */
1250
- CENTER_NEW_WINDOWS,
1250
+ CENTER_NEW_WINDOWS = 30,
1251
1251
  /**
1252
1252
  * drag threshold
1253
1253
  */
1254
- DRAG_THRESHOLD,
1254
+ DRAG_THRESHOLD = 31,
1255
1255
  /**
1256
1256
  * show pointer location
1257
1257
  */
1258
- LOCATE_POINTER,
1259
- CHECK_ALIVE_TIMEOUT,
1258
+ LOCATE_POINTER = 32,
1259
+ CHECK_ALIVE_TIMEOUT = 33,
1260
1260
  }
1261
1261
 
1262
1262
 
@@ -1271,10 +1271,10 @@ export namespace Meta {
1271
1271
  * @gir-type Enum
1272
1272
  */
1273
1273
  enum SelectionType {
1274
- SELECTION_PRIMARY,
1275
- SELECTION_CLIPBOARD,
1276
- SELECTION_DND,
1277
- N_SELECTION_TYPES,
1274
+ SELECTION_PRIMARY = 0,
1275
+ SELECTION_CLIPBOARD = 1,
1276
+ SELECTION_DND = 2,
1277
+ N_SELECTION_TYPES = 3,
1278
1278
  }
1279
1279
 
1280
1280
 
@@ -1289,9 +1289,9 @@ export namespace Meta {
1289
1289
  * @gir-type Enum
1290
1290
  */
1291
1291
  enum ShadowMode {
1292
- AUTO,
1293
- FORCED_OFF,
1294
- FORCED_ON,
1292
+ AUTO = 0,
1293
+ FORCED_OFF = 1,
1294
+ FORCED_ON = 2,
1295
1295
  }
1296
1296
 
1297
1297
 
@@ -1309,19 +1309,19 @@ export namespace Meta {
1309
1309
  /**
1310
1310
  * Left side
1311
1311
  */
1312
- LEFT,
1312
+ LEFT = 1,
1313
1313
  /**
1314
1314
  * Right side
1315
1315
  */
1316
- RIGHT,
1316
+ RIGHT = 2,
1317
1317
  /**
1318
1318
  * Top side
1319
1319
  */
1320
- TOP,
1320
+ TOP = 4,
1321
1321
  /**
1322
1322
  * Bottom side
1323
1323
  */
1324
- BOTTOM,
1324
+ BOTTOM = 8,
1325
1325
  }
1326
1326
 
1327
1327
 
@@ -1336,11 +1336,11 @@ export namespace Meta {
1336
1336
  * @gir-type Enum
1337
1337
  */
1338
1338
  enum SizeChange {
1339
- MAXIMIZE,
1340
- UNMAXIMIZE,
1341
- FULLSCREEN,
1342
- UNFULLSCREEN,
1343
- MONITOR_MOVE,
1339
+ MAXIMIZE = 0,
1340
+ UNMAXIMIZE = 1,
1341
+ FULLSCREEN = 2,
1342
+ UNFULLSCREEN = 3,
1343
+ MONITOR_MOVE = 4,
1344
1344
  }
1345
1345
 
1346
1346
 
@@ -1360,31 +1360,31 @@ export namespace Meta {
1360
1360
  /**
1361
1361
  * Desktop layer
1362
1362
  */
1363
- DESKTOP,
1363
+ DESKTOP = 0,
1364
1364
  /**
1365
1365
  * Bottom layer
1366
1366
  */
1367
- BOTTOM,
1367
+ BOTTOM = 1,
1368
1368
  /**
1369
1369
  * Normal layer
1370
1370
  */
1371
- NORMAL,
1371
+ NORMAL = 2,
1372
1372
  /**
1373
1373
  * Top layer
1374
1374
  */
1375
- TOP,
1375
+ TOP = 4,
1376
1376
  /**
1377
1377
  * Dock layer
1378
1378
  */
1379
- DOCK,
1379
+ DOCK = 4,
1380
1380
  /**
1381
1381
  * Override-redirect layer
1382
1382
  */
1383
- OVERRIDE_REDIRECT,
1383
+ OVERRIDE_REDIRECT = 7,
1384
1384
  /**
1385
1385
  * Marks the end of the {@link Meta.StackLayer} enumeration
1386
1386
  */
1387
- LAST,
1387
+ LAST = 8,
1388
1388
  }
1389
1389
 
1390
1390
 
@@ -1402,19 +1402,19 @@ export namespace Meta {
1402
1402
  /**
1403
1403
  * Normal windows
1404
1404
  */
1405
- NORMAL,
1405
+ NORMAL = 0,
1406
1406
  /**
1407
1407
  * Dock windows
1408
1408
  */
1409
- DOCKS,
1409
+ DOCKS = 1,
1410
1410
  /**
1411
1411
  * Groups
1412
1412
  */
1413
- GROUP,
1413
+ GROUP = 2,
1414
1414
  /**
1415
1415
  * All windows
1416
1416
  */
1417
- NORMAL_ALL,
1417
+ NORMAL_ALL = 3,
1418
1418
  }
1419
1419
 
1420
1420
 
@@ -1432,11 +1432,11 @@ export namespace Meta {
1432
1432
  /**
1433
1433
  * Show icon (Alt-Tab mode)
1434
1434
  */
1435
- ICON,
1435
+ ICON = 0,
1436
1436
  /**
1437
1437
  * Show instantly (Alt-Esc mode)
1438
1438
  */
1439
- INSTANTLY,
1439
+ INSTANTLY = 1,
1440
1440
  }
1441
1441
 
1442
1442
 
@@ -1454,11 +1454,11 @@ export namespace Meta {
1454
1454
  /**
1455
1455
  * A Wayland based window
1456
1456
  */
1457
- WAYLAND,
1457
+ WAYLAND = 0,
1458
1458
  /**
1459
1459
  * An X11 based window
1460
1460
  */
1461
- X11,
1461
+ X11 = 1,
1462
1462
  }
1463
1463
 
1464
1464
 
@@ -1477,11 +1477,11 @@ export namespace Meta {
1477
1477
  /**
1478
1478
  * the window manager menu
1479
1479
  */
1480
- WM,
1480
+ WM = 0,
1481
1481
  /**
1482
1482
  * the (fallback) app menu
1483
1483
  */
1484
- APP,
1484
+ APP = 1,
1485
1485
  }
1486
1486
 
1487
1487
 
@@ -1499,92 +1499,128 @@ export namespace Meta {
1499
1499
  /**
1500
1500
  * Normal
1501
1501
  */
1502
- NORMAL,
1502
+ NORMAL = 0,
1503
1503
  /**
1504
1504
  * Desktop
1505
1505
  */
1506
- DESKTOP,
1506
+ DESKTOP = 1,
1507
1507
  /**
1508
1508
  * Dock
1509
1509
  */
1510
- DOCK,
1510
+ DOCK = 2,
1511
1511
  /**
1512
1512
  * Dialog
1513
1513
  */
1514
- DIALOG,
1514
+ DIALOG = 3,
1515
1515
  /**
1516
1516
  * Modal dialog
1517
1517
  */
1518
- MODAL_DIALOG,
1518
+ MODAL_DIALOG = 4,
1519
1519
  /**
1520
1520
  * Toolbar
1521
1521
  */
1522
- TOOLBAR,
1522
+ TOOLBAR = 5,
1523
1523
  /**
1524
1524
  * Menu
1525
1525
  */
1526
- MENU,
1526
+ MENU = 6,
1527
1527
  /**
1528
1528
  * Utility
1529
1529
  */
1530
- UTILITY,
1530
+ UTILITY = 7,
1531
1531
  /**
1532
1532
  * Splashcreen
1533
1533
  */
1534
- SPLASHSCREEN,
1534
+ SPLASHSCREEN = 8,
1535
1535
  /**
1536
1536
  * Dropdown menu
1537
1537
  */
1538
- DROPDOWN_MENU,
1538
+ DROPDOWN_MENU = 9,
1539
1539
  /**
1540
1540
  * Popup menu
1541
1541
  */
1542
- POPUP_MENU,
1542
+ POPUP_MENU = 10,
1543
1543
  /**
1544
1544
  * Tooltip
1545
1545
  */
1546
- TOOLTIP,
1546
+ TOOLTIP = 11,
1547
1547
  /**
1548
1548
  * Notification
1549
1549
  */
1550
- NOTIFICATION,
1550
+ NOTIFICATION = 12,
1551
1551
  /**
1552
1552
  * Combobox
1553
1553
  */
1554
- COMBO,
1554
+ COMBO = 13,
1555
1555
  /**
1556
1556
  * Drag and drop
1557
1557
  */
1558
- DND,
1558
+ DND = 14,
1559
1559
  /**
1560
1560
  * Other override-redirect window type
1561
1561
  */
1562
- OVERRIDE_OTHER,
1562
+ OVERRIDE_OTHER = 15,
1563
1563
  }
1564
1564
 
1565
1565
 
1566
+ /**
1567
+ * @default 0
1568
+ */
1566
1569
  const CURRENT_TIME: number;
1567
1570
 
1571
+ /**
1572
+ * @default window
1573
+ */
1568
1574
  const DEFAULT_ICON_NAME: string;
1569
1575
 
1576
+ /**
1577
+ * @default 96
1578
+ */
1570
1579
  const ICON_HEIGHT: number;
1571
1580
 
1581
+ /**
1582
+ * @default 96
1583
+ */
1572
1584
  const ICON_WIDTH: number;
1573
1585
 
1586
+ /**
1587
+ * @default 16
1588
+ */
1574
1589
  const MINI_ICON_HEIGHT: number;
1575
1590
 
1591
+ /**
1592
+ * @default 16
1593
+ */
1576
1594
  const MINI_ICON_WIDTH: number;
1577
1595
 
1596
+ /**
1597
+ * @default 40
1598
+ */
1578
1599
  const PRIORITY_BEFORE_REDRAW: number;
1579
1600
 
1601
+ /**
1602
+ * @default 10
1603
+ */
1580
1604
  const PRIORITY_PREFS_NOTIFY: number;
1581
1605
 
1606
+ /**
1607
+ * @default 50
1608
+ */
1582
1609
  const PRIORITY_REDRAW: number;
1583
1610
 
1611
+ /**
1612
+ * @default 15
1613
+ */
1584
1614
  const PRIORITY_RESIZE: number;
1585
1615
 
1616
+ /**
1617
+ * @default 3
1618
+ */
1586
1619
  const VIRTUAL_CORE_KEYBOARD_ID: number;
1587
1620
 
1621
+ /**
1622
+ * @default 2
1623
+ */
1588
1624
  const VIRTUAL_CORE_POINTER_ID: number;
1589
1625
 
1590
1626
  /**
@@ -1958,8 +1994,8 @@ export namespace Meta {
1958
1994
  * @gir-type Flags
1959
1995
  */
1960
1996
  enum BackendCapabilities {
1961
- NONE,
1962
- BARRIERS,
1997
+ NONE = 0,
1998
+ BARRIERS = 1,
1963
1999
  }
1964
2000
 
1965
2001
 
@@ -1977,19 +2013,19 @@ export namespace Meta {
1977
2013
  /**
1978
2014
  * Positive direction in the X axis
1979
2015
  */
1980
- POSITIVE_X,
2016
+ POSITIVE_X = 1,
1981
2017
  /**
1982
2018
  * Positive direction in the Y axis
1983
2019
  */
1984
- POSITIVE_Y,
2020
+ POSITIVE_Y = 2,
1985
2021
  /**
1986
2022
  * Negative direction in the X axis
1987
2023
  */
1988
- NEGATIVE_X,
2024
+ NEGATIVE_X = 4,
1989
2025
  /**
1990
2026
  * Negative direction in the Y axis
1991
2027
  */
1992
- NEGATIVE_Y,
2028
+ NEGATIVE_Y = 8,
1993
2029
  }
1994
2030
 
1995
2031
 
@@ -2004,8 +2040,8 @@ export namespace Meta {
2004
2040
  * @gir-type Flags
2005
2041
  */
2006
2042
  enum BarrierFlags {
2007
- NONE,
2008
- STICKY,
2043
+ NONE = 1,
2044
+ STICKY = 2,
2009
2045
  }
2010
2046
 
2011
2047
 
@@ -2023,11 +2059,11 @@ export namespace Meta {
2023
2059
  /**
2024
2060
  * default
2025
2061
  */
2026
- NONE,
2062
+ NONE = 0,
2027
2063
  /**
2028
2064
  * paint opaque regions
2029
2065
  */
2030
- OPAQUE_REGION,
2066
+ OPAQUE_REGION = 1,
2031
2067
  }
2032
2068
 
2033
2069
 
@@ -2045,117 +2081,117 @@ export namespace Meta {
2045
2081
  /**
2046
2082
  * verbose logging
2047
2083
  */
2048
- VERBOSE,
2084
+ VERBOSE = -1,
2049
2085
  /**
2050
2086
  * focus
2051
2087
  */
2052
- FOCUS,
2088
+ FOCUS = 1,
2053
2089
  /**
2054
2090
  * workarea
2055
2091
  */
2056
- WORKAREA,
2092
+ WORKAREA = 2,
2057
2093
  /**
2058
2094
  * stack
2059
2095
  */
2060
- STACK,
2096
+ STACK = 4,
2061
2097
  /**
2062
2098
  * session management
2063
2099
  */
2064
- SM,
2100
+ SM = 8,
2065
2101
  /**
2066
2102
  * events
2067
2103
  */
2068
- EVENTS,
2104
+ EVENTS = 16,
2069
2105
  /**
2070
2106
  * window state
2071
2107
  */
2072
- WINDOW_STATE,
2108
+ WINDOW_STATE = 32,
2073
2109
  /**
2074
2110
  * window operations
2075
2111
  */
2076
- WINDOW_OPS,
2112
+ WINDOW_OPS = 64,
2077
2113
  /**
2078
2114
  * geometry
2079
2115
  */
2080
- GEOMETRY,
2116
+ GEOMETRY = 128,
2081
2117
  /**
2082
2118
  * window placement
2083
2119
  */
2084
- PLACEMENT,
2120
+ PLACEMENT = 256,
2085
2121
  /**
2086
2122
  * ping
2087
2123
  */
2088
- PING,
2124
+ PING = 512,
2089
2125
  /**
2090
2126
  * keybindings
2091
2127
  */
2092
- KEYBINDINGS,
2128
+ KEYBINDINGS = 1024,
2093
2129
  /**
2094
2130
  * sync
2095
2131
  */
2096
- SYNC,
2132
+ SYNC = 2048,
2097
2133
  /**
2098
2134
  * startup
2099
2135
  */
2100
- STARTUP,
2136
+ STARTUP = 4096,
2101
2137
  /**
2102
2138
  * preferences
2103
2139
  */
2104
- PREFS,
2140
+ PREFS = 8192,
2105
2141
  /**
2106
2142
  * groups
2107
2143
  */
2108
- GROUPS,
2144
+ GROUPS = 16384,
2109
2145
  /**
2110
2146
  * resizing
2111
2147
  */
2112
- RESIZING,
2148
+ RESIZING = 32768,
2113
2149
  /**
2114
2150
  * shapes
2115
2151
  */
2116
- SHAPES,
2152
+ SHAPES = 65536,
2117
2153
  /**
2118
2154
  * edge resistance
2119
2155
  */
2120
- EDGE_RESISTANCE,
2121
- DBUS,
2122
- INPUT,
2156
+ EDGE_RESISTANCE = 131072,
2157
+ DBUS = 262144,
2158
+ INPUT = 524288,
2123
2159
  /**
2124
2160
  * Wayland
2125
2161
  */
2126
- WAYLAND,
2162
+ WAYLAND = 1048576,
2127
2163
  /**
2128
2164
  * kernel mode setting
2129
2165
  */
2130
- KMS,
2166
+ KMS = 2097152,
2131
2167
  /**
2132
2168
  * screencasting
2133
2169
  */
2134
- SCREEN_CAST,
2170
+ SCREEN_CAST = 4194304,
2135
2171
  /**
2136
2172
  * remote desktop
2137
2173
  */
2138
- REMOTE_DESKTOP,
2174
+ REMOTE_DESKTOP = 8388608,
2139
2175
  /**
2140
2176
  * backend
2141
2177
  */
2142
- BACKEND,
2178
+ BACKEND = 16777216,
2143
2179
  /**
2144
2180
  * native backend rendering
2145
2181
  */
2146
- RENDER,
2182
+ RENDER = 33554432,
2147
2183
  /**
2148
2184
  * color management
2149
2185
  */
2150
- COLOR,
2186
+ COLOR = 67108864,
2151
2187
  /**
2152
2188
  * input events
2153
2189
  */
2154
- INPUT_EVENTS,
2190
+ INPUT_EVENTS = 134217728,
2155
2191
  /**
2156
2192
  * eis state
2157
2193
  */
2158
- EIS,
2194
+ EIS = 268435456,
2159
2195
  }
2160
2196
 
2161
2197
 
@@ -2173,35 +2209,35 @@ export namespace Meta {
2173
2209
  /**
2174
2210
  * Left
2175
2211
  */
2176
- LEFT,
2212
+ LEFT = 1,
2177
2213
  /**
2178
2214
  * Right
2179
2215
  */
2180
- RIGHT,
2216
+ RIGHT = 2,
2181
2217
  /**
2182
2218
  * Top
2183
2219
  */
2184
- TOP,
2220
+ TOP = 4,
2185
2221
  /**
2186
2222
  * Bottom
2187
2223
  */
2188
- BOTTOM,
2224
+ BOTTOM = 8,
2189
2225
  /**
2190
2226
  * Up
2191
2227
  */
2192
- UP,
2228
+ UP = 4,
2193
2229
  /**
2194
2230
  * Down
2195
2231
  */
2196
- DOWN,
2232
+ DOWN = 8,
2197
2233
  /**
2198
2234
  * Horizontal
2199
2235
  */
2200
- HORIZONTAL,
2236
+ HORIZONTAL = 3,
2201
2237
  /**
2202
2238
  * Vertical
2203
2239
  */
2204
- VERTICAL,
2240
+ VERTICAL = 12,
2205
2241
  }
2206
2242
 
2207
2243
 
@@ -2219,35 +2255,35 @@ export namespace Meta {
2219
2255
  /**
2220
2256
  * none
2221
2257
  */
2222
- NONE,
2258
+ NONE = 0,
2223
2259
  /**
2224
2260
  * per-window
2225
2261
  */
2226
- PER_WINDOW,
2262
+ PER_WINDOW = 1,
2227
2263
  /**
2228
2264
  * built-in
2229
2265
  */
2230
- BUILTIN,
2266
+ BUILTIN = 2,
2231
2267
  /**
2232
2268
  * is reversed
2233
2269
  */
2234
- IS_REVERSED,
2270
+ IS_REVERSED = 4,
2235
2271
  /**
2236
2272
  * always active
2237
2273
  */
2238
- NON_MASKABLE,
2274
+ NON_MASKABLE = 8,
2239
2275
  /**
2240
2276
  * ignore autorepeat
2241
2277
  */
2242
- IGNORE_AUTOREPEAT,
2278
+ IGNORE_AUTOREPEAT = 16,
2243
2279
  /**
2244
2280
  * not grabbed automatically
2245
2281
  */
2246
- NO_AUTO_GRAB,
2282
+ NO_AUTO_GRAB = 32,
2247
2283
  /**
2248
2284
  * uses a custom keybinding action
2249
2285
  */
2250
- CUSTOM_TRIGGER,
2286
+ CUSTOM_TRIGGER = 64,
2251
2287
  }
2252
2288
 
2253
2289
 
@@ -2263,20 +2299,20 @@ export namespace Meta {
2263
2299
  * @gir-type Flags
2264
2300
  */
2265
2301
  enum KeyboardA11yFlags {
2266
- KEYBOARD_ENABLED,
2267
- TIMEOUT_ENABLED,
2268
- MOUSE_KEYS_ENABLED,
2269
- SLOW_KEYS_ENABLED,
2270
- SLOW_KEYS_BEEP_PRESS,
2271
- SLOW_KEYS_BEEP_ACCEPT,
2272
- SLOW_KEYS_BEEP_REJECT,
2273
- BOUNCE_KEYS_ENABLED,
2274
- BOUNCE_KEYS_BEEP_REJECT,
2275
- TOGGLE_KEYS_ENABLED,
2276
- STICKY_KEYS_ENABLED,
2277
- STICKY_KEYS_TWO_KEY_OFF,
2278
- STICKY_KEYS_BEEP,
2279
- FEATURE_STATE_CHANGE_BEEP,
2302
+ KEYBOARD_ENABLED = 1,
2303
+ TIMEOUT_ENABLED = 2,
2304
+ MOUSE_KEYS_ENABLED = 4,
2305
+ SLOW_KEYS_ENABLED = 8,
2306
+ SLOW_KEYS_BEEP_PRESS = 16,
2307
+ SLOW_KEYS_BEEP_ACCEPT = 32,
2308
+ SLOW_KEYS_BEEP_REJECT = 64,
2309
+ BOUNCE_KEYS_ENABLED = 128,
2310
+ BOUNCE_KEYS_BEEP_REJECT = 256,
2311
+ TOGGLE_KEYS_ENABLED = 512,
2312
+ STICKY_KEYS_ENABLED = 1024,
2313
+ STICKY_KEYS_TWO_KEY_OFF = 2048,
2314
+ STICKY_KEYS_BEEP = 4096,
2315
+ FEATURE_STATE_CHANGE_BEEP = 8192,
2280
2316
  }
2281
2317
 
2282
2318
 
@@ -2294,15 +2330,15 @@ export namespace Meta {
2294
2330
  /**
2295
2331
  * Horizontal
2296
2332
  */
2297
- HORIZONTAL,
2333
+ HORIZONTAL = 1,
2298
2334
  /**
2299
2335
  * Vertical
2300
2336
  */
2301
- VERTICAL,
2337
+ VERTICAL = 2,
2302
2338
  /**
2303
2339
  * Both
2304
2340
  */
2305
- BOTH,
2341
+ BOTH = 3,
2306
2342
  }
2307
2343
 
2308
2344
 
@@ -2320,43 +2356,43 @@ export namespace Meta {
2320
2356
  /**
2321
2357
  * Shift mask
2322
2358
  */
2323
- SHIFT_MASK,
2359
+ SHIFT_MASK = 32,
2324
2360
  /**
2325
2361
  * Control mask
2326
2362
  */
2327
- CONTROL_MASK,
2363
+ CONTROL_MASK = 64,
2328
2364
  /**
2329
2365
  * Alt mask
2330
2366
  */
2331
- ALT_MASK,
2367
+ ALT_MASK = 128,
2332
2368
  /**
2333
2369
  * Meta mask
2334
2370
  */
2335
- META_MASK,
2371
+ META_MASK = 256,
2336
2372
  /**
2337
2373
  * Super mask
2338
2374
  */
2339
- SUPER_MASK,
2375
+ SUPER_MASK = 512,
2340
2376
  /**
2341
2377
  * Hyper mask
2342
2378
  */
2343
- HYPER_MASK,
2379
+ HYPER_MASK = 1024,
2344
2380
  /**
2345
2381
  * Mod2 mask
2346
2382
  */
2347
- MOD2_MASK,
2383
+ MOD2_MASK = 2048,
2348
2384
  /**
2349
2385
  * Mod3 mask
2350
2386
  */
2351
- MOD3_MASK,
2387
+ MOD3_MASK = 4096,
2352
2388
  /**
2353
2389
  * Mod4 mask
2354
2390
  */
2355
- MOD4_MASK,
2391
+ MOD4_MASK = 8192,
2356
2392
  /**
2357
2393
  * Mod5 mask
2358
2394
  */
2359
- MOD5_MASK,
2395
+ MOD5_MASK = 16384,
2360
2396
  }
2361
2397
 
2362
2398
 
@@ -2367,7 +2403,7 @@ export namespace Meta {
2367
2403
  * @signal
2368
2404
  * @run-last
2369
2405
  */
2370
- "gpu-added": (arg0: unknown) => void;
2406
+ "gpu-added": (gpu: unknown) => void;
2371
2407
  /**
2372
2408
  * @signal
2373
2409
  * @run-last
@@ -2377,17 +2413,17 @@ export namespace Meta {
2377
2413
  * @signal
2378
2414
  * @run-last
2379
2415
  */
2380
- "keymap-layout-group-changed": (arg0: number) => void;
2416
+ "keymap-layout-group-changed": (object: number) => void;
2381
2417
  /**
2382
2418
  * @signal
2383
2419
  * @run-last
2384
2420
  */
2385
- "last-device-changed": (arg0: Clutter.InputDevice) => void;
2421
+ "last-device-changed": (object: Clutter.InputDevice) => void;
2386
2422
  /**
2387
2423
  * @signal
2388
2424
  * @run-last
2389
2425
  */
2390
- "lid-is-closed-changed": (arg0: boolean) => void;
2426
+ "lid-is-closed-changed": (object: boolean) => void;
2391
2427
  /**
2392
2428
  * @signal
2393
2429
  * @run-last
@@ -2564,6 +2600,8 @@ export namespace Meta {
2564
2600
  * instance.
2565
2601
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
2566
2602
  * @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
2603
+ * @since 2.22
2604
+ * @throws GLib.Error
2567
2605
  */
2568
2606
  init(cancellable: Gio.Cancellable | null): boolean;
2569
2607
 
@@ -2607,6 +2645,7 @@ export namespace Meta {
2607
2645
  * on the result of `g_object_new()`, regardless of whether it is in fact a new
2608
2646
  * instance.
2609
2647
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
2648
+ * @since 2.22
2610
2649
  * @virtual
2611
2650
  */
2612
2651
  vfunc_init(cancellable: Gio.Cancellable | null): boolean;
@@ -2959,6 +2998,7 @@ export namespace Meta {
2959
2998
  * deprecated virtual function. The default implementation will
2960
2999
  * call `clutter_actor_add_child()`.
2961
3000
  * @param actor the first {@link Clutter.Actor} to add
3001
+ * @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
2962
3002
  */
2963
3003
  add_actor(actor: A): void;
2964
3004
 
@@ -3046,6 +3086,7 @@ export namespace Meta {
3046
3086
  * deprecated virtual function. The default implementation will call
3047
3087
  * `clutter_actor_remove_child()`.
3048
3088
  * @param actor a {@link Clutter.Actor}
3089
+ * @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
3049
3090
  */
3050
3091
  remove_actor(actor: A): void;
3051
3092
 
@@ -3071,6 +3112,7 @@ export namespace Meta {
3071
3112
  * deprecated virtual function. The default implementation will
3072
3113
  * call `clutter_actor_add_child()`.
3073
3114
  * @param actor the first {@link Clutter.Actor} to add
3115
+ * @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
3074
3116
  * @virtual
3075
3117
  */
3076
3118
  vfunc_add(actor: A): void;
@@ -3132,6 +3174,7 @@ export namespace Meta {
3132
3174
  * deprecated virtual function. The default implementation will call
3133
3175
  * `clutter_actor_remove_child()`.
3134
3176
  * @param actor a {@link Clutter.Actor}
3177
+ * @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
3135
3178
  * @virtual
3136
3179
  */
3137
3180
  vfunc_remove(actor: A): void;
@@ -3762,6 +3805,7 @@ export namespace Meta {
3762
3805
  * deprecated virtual function. The default implementation will
3763
3806
  * call `clutter_actor_add_child()`.
3764
3807
  * @param actor the first {@link Clutter.Actor} to add
3808
+ * @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
3765
3809
  */
3766
3810
  add_actor(actor: A): void;
3767
3811
 
@@ -3849,6 +3893,7 @@ export namespace Meta {
3849
3893
  * deprecated virtual function. The default implementation will call
3850
3894
  * `clutter_actor_remove_child()`.
3851
3895
  * @param actor a {@link Clutter.Actor}
3896
+ * @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
3852
3897
  */
3853
3898
  remove_actor(actor: A): void;
3854
3899
 
@@ -3874,6 +3919,7 @@ export namespace Meta {
3874
3919
  * deprecated virtual function. The default implementation will
3875
3920
  * call `clutter_actor_add_child()`.
3876
3921
  * @param actor the first {@link Clutter.Actor} to add
3922
+ * @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
3877
3923
  * @virtual
3878
3924
  */
3879
3925
  vfunc_add(actor: A): void;
@@ -3935,6 +3981,7 @@ export namespace Meta {
3935
3981
  * deprecated virtual function. The default implementation will call
3936
3982
  * `clutter_actor_remove_child()`.
3937
3983
  * @param actor a {@link Clutter.Actor}
3984
+ * @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
3938
3985
  * @virtual
3939
3986
  */
3940
3987
  vfunc_remove(actor: A): void;
@@ -4167,14 +4214,14 @@ export namespace Meta {
4167
4214
  * @signal
4168
4215
  * @run-first
4169
4216
  */
4170
- hit: (arg0: BarrierEvent) => void;
4217
+ hit: (event: BarrierEvent) => void;
4171
4218
  /**
4172
4219
  * When a pointer barrier hitbox was left, this will trigger.
4173
4220
  * This requires an XI2-enabled server.
4174
4221
  * @signal
4175
4222
  * @run-first
4176
4223
  */
4177
- left: (arg0: BarrierEvent) => void;
4224
+ left: (event: BarrierEvent) => void;
4178
4225
  "notify::backend": (pspec: GObject.ParamSpec) => void;
4179
4226
  "notify::directions": (pspec: GObject.ParamSpec) => void;
4180
4227
  "notify::display": (pspec: GObject.ParamSpec) => void;
@@ -4336,6 +4383,8 @@ export namespace Meta {
4336
4383
  * instance.
4337
4384
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
4338
4385
  * @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
4386
+ * @since 2.22
4387
+ * @throws GLib.Error
4339
4388
  */
4340
4389
  init(cancellable: Gio.Cancellable | null): boolean;
4341
4390
 
@@ -4379,6 +4428,7 @@ export namespace Meta {
4379
4428
  * on the result of `g_object_new()`, regardless of whether it is in fact a new
4380
4429
  * instance.
4381
4430
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
4431
+ * @since 2.22
4382
4432
  * @virtual
4383
4433
  */
4384
4434
  vfunc_init(cancellable: Gio.Cancellable | null): boolean;
@@ -4595,6 +4645,7 @@ export namespace Meta {
4595
4645
  /**
4596
4646
  * @param argv Address of the`argv` parameter of `main()`, or `null`.
4597
4647
  * @returns `true` if the commandline arguments (if any) were valid and if the configuration has been successful, `false` otherwise
4648
+ * @throws GLib.Error
4598
4649
  */
4599
4650
  configure(argv: string[] | null): [boolean, string[] | null];
4600
4651
 
@@ -4626,14 +4677,19 @@ export namespace Meta {
4626
4677
 
4627
4678
  /**
4628
4679
  * Raises the RLIMIT_NOFILE limit value to the hard limit.
4680
+ * @throws GLib.Error
4629
4681
  */
4630
4682
  raise_rlimit_nofile(): boolean;
4631
4683
 
4632
4684
  /**
4633
4685
  * Restores the RLIMIT_NOFILE limits from when the {@link Meta.Context} was created.
4686
+ * @throws GLib.Error
4634
4687
  */
4635
4688
  restore_rlimit_nofile(): boolean;
4636
4689
 
4690
+ /**
4691
+ * @throws GLib.Error
4692
+ */
4637
4693
  run_main_loop(): boolean;
4638
4694
 
4639
4695
  /**
@@ -4651,8 +4707,14 @@ export namespace Meta {
4651
4707
  */
4652
4708
  set_plugin_name(plugin_name: string): void;
4653
4709
 
4710
+ /**
4711
+ * @throws GLib.Error
4712
+ */
4654
4713
  setup(): boolean;
4655
4714
 
4715
+ /**
4716
+ * @throws GLib.Error
4717
+ */
4656
4718
  start(): boolean;
4657
4719
 
4658
4720
  terminate(): void;
@@ -4778,7 +4840,7 @@ export namespace Meta {
4778
4840
  * @signal
4779
4841
  * @run-last
4780
4842
  */
4781
- "accelerator-activated": (arg0: number, arg1: Clutter.InputDevice, arg2: number) => void;
4843
+ "accelerator-activated": (object: number, p0: Clutter.InputDevice, p1: number) => void;
4782
4844
  /**
4783
4845
  * @signal
4784
4846
  * @run-last
@@ -4798,12 +4860,12 @@ export namespace Meta {
4798
4860
  * @signal
4799
4861
  * @run-last
4800
4862
  */
4801
- "grab-op-begin": (arg0: Window, arg1: GrabOp) => void;
4863
+ "grab-op-begin": (object: Window, p0: GrabOp) => void;
4802
4864
  /**
4803
4865
  * @signal
4804
4866
  * @run-last
4805
4867
  */
4806
- "grab-op-end": (arg0: Window, arg1: GrabOp) => void;
4868
+ "grab-op-end": (object: Window, p0: GrabOp) => void;
4807
4869
  /**
4808
4870
  * @signal
4809
4871
  * @run-last
@@ -4813,7 +4875,7 @@ export namespace Meta {
4813
4875
  * @signal
4814
4876
  * @run-last
4815
4877
  */
4816
- "init-xserver": (arg0: Gio.Task) => boolean | void;
4878
+ "init-xserver": (object: Gio.Task) => boolean | void;
4817
4879
  /**
4818
4880
  * The ::modifiers-accelerator-activated signal will be emitted when
4819
4881
  * a special modifiers-only keybinding is activated.
@@ -4830,7 +4892,7 @@ export namespace Meta {
4830
4892
  * @signal
4831
4893
  * @run-last
4832
4894
  */
4833
- "pad-mode-switch": (arg0: Clutter.InputDevice, arg1: number, arg2: number) => void;
4895
+ "pad-mode-switch": (object: Clutter.InputDevice, p0: number, p1: number) => void;
4834
4896
  /**
4835
4897
  * @signal
4836
4898
  * @run-last
@@ -4852,18 +4914,18 @@ export namespace Meta {
4852
4914
  * @signal
4853
4915
  * @run-last
4854
4916
  */
4855
- "show-osd": (arg0: number, arg1: string, arg2: string) => void;
4917
+ "show-osd": (object: number, p0: string, p1: string) => void;
4856
4918
  /**
4857
4919
  * Requests the pad button mapping OSD to be shown.
4858
4920
  * @signal
4859
4921
  * @run-last
4860
4922
  */
4861
- "show-pad-osd": (arg0: Clutter.InputDevice, arg1: Gio.Settings, arg2: string, arg3: boolean, arg4: number) => Clutter.Actor | null;
4923
+ "show-pad-osd": (pad: Clutter.InputDevice, settings: Gio.Settings, layout_path: string, edition_mode: boolean, monitor_idx: number) => Clutter.Actor | null;
4862
4924
  /**
4863
4925
  * @signal
4864
4926
  * @run-last
4865
4927
  */
4866
- "show-resize-popup": (arg0: boolean, arg1: Mtk.Rectangle, arg2: number, arg3: number) => boolean | void;
4928
+ "show-resize-popup": (object: boolean, p0: Mtk.Rectangle, p1: number, p2: number) => boolean | void;
4867
4929
  /**
4868
4930
  * The signal will be emitted to indicate that the compositor
4869
4931
  * should show a message during restart.
@@ -4879,7 +4941,7 @@ export namespace Meta {
4879
4941
  * @signal
4880
4942
  * @run-last
4881
4943
  */
4882
- "show-restart-message": (arg0: string | null) => boolean | void;
4944
+ "show-restart-message": (message: string | null) => boolean | void;
4883
4945
  /**
4884
4946
  * @signal
4885
4947
  * @run-last
@@ -4889,32 +4951,32 @@ export namespace Meta {
4889
4951
  * @signal
4890
4952
  * @run-last
4891
4953
  */
4892
- "window-created": (arg0: Window) => void;
4954
+ "window-created": (object: Window) => void;
4893
4955
  /**
4894
4956
  * @signal
4895
4957
  * @run-last
4896
4958
  */
4897
- "window-demands-attention": (arg0: Window) => void;
4959
+ "window-demands-attention": (object: Window) => void;
4898
4960
  /**
4899
4961
  * @signal
4900
4962
  * @run-last
4901
4963
  */
4902
- "window-entered-monitor": (arg0: number, arg1: Window) => void;
4964
+ "window-entered-monitor": (object: number, p0: Window) => void;
4903
4965
  /**
4904
4966
  * @signal
4905
4967
  * @run-last
4906
4968
  */
4907
- "window-left-monitor": (arg0: number, arg1: Window) => void;
4969
+ "window-left-monitor": (object: number, p0: Window) => void;
4908
4970
  /**
4909
4971
  * @signal
4910
4972
  * @run-last
4911
4973
  */
4912
- "window-marked-urgent": (arg0: Window) => void;
4974
+ "window-marked-urgent": (object: Window) => void;
4913
4975
  /**
4914
4976
  * @signal
4915
4977
  * @run-last
4916
4978
  */
4917
- "window-visibility-updated": (arg0: null, arg1: null, arg2: null) => void;
4979
+ "window-visibility-updated": (object: null, p0: null, p1: null) => void;
4918
4980
  /**
4919
4981
  * @signal
4920
4982
  * @run-last
@@ -5336,7 +5398,7 @@ export namespace Meta {
5336
5398
  * @signal
5337
5399
  * @run-last
5338
5400
  */
5339
- "dnd-position-change": (arg0: number, arg1: number) => void;
5401
+ "dnd-position-change": (object: number, p0: number) => void;
5340
5402
  }
5341
5403
 
5342
5404
  // Constructor properties interface
@@ -5612,7 +5674,7 @@ export namespace Meta {
5612
5674
  * @signal
5613
5675
  * @run-last
5614
5676
  */
5615
- "monitor-privacy-screen-changed": (arg0: unknown, arg1: boolean) => void;
5677
+ "monitor-privacy-screen-changed": (logical_monitor: unknown, enabled: boolean) => void;
5616
5678
  /**
5617
5679
  * @signal
5618
5680
  * @run-last
@@ -5627,7 +5689,7 @@ export namespace Meta {
5627
5689
  * @signal
5628
5690
  * @run-last
5629
5691
  */
5630
- "power-save-mode-changed": (arg0: PowerSaveChangeReason) => void;
5692
+ "power-save-mode-changed": (object: PowerSaveChangeReason) => void;
5631
5693
  "notify::backend": (pspec: GObject.ParamSpec) => void;
5632
5694
  "notify::experimental-hdr": (pspec: GObject.ParamSpec) => void;
5633
5695
  "notify::has-builtin-panel": (pspec: GObject.ParamSpec) => void;
@@ -6110,7 +6172,7 @@ export namespace Meta {
6110
6172
  * @signal
6111
6173
  * @run-last
6112
6174
  */
6113
- "new-handle": (arg0: RemoteAccessHandle) => void;
6175
+ "new-handle": (object: RemoteAccessHandle) => void;
6114
6176
  }
6115
6177
 
6116
6178
  // Constructor properties interface
@@ -6254,7 +6316,7 @@ export namespace Meta {
6254
6316
  * @signal
6255
6317
  * @run-last
6256
6318
  */
6257
- "owner-changed": (arg0: number, arg1: SelectionSource) => void;
6319
+ "owner-changed": (object: number, p0: SelectionSource) => void;
6258
6320
  }
6259
6321
 
6260
6322
  // Constructor properties interface
@@ -6351,6 +6413,7 @@ export namespace Meta {
6351
6413
  * Finishes the transfer of a queried mimetype.
6352
6414
  * @param result The async result
6353
6415
  * @returns `TRUE` if the transfer was successful.
6416
+ * @throws GLib.Error
6354
6417
  */
6355
6418
  transfer_finish(result: Gio.AsyncResult): boolean;
6356
6419
 
@@ -6487,6 +6550,7 @@ export namespace Meta {
6487
6550
  * Finishes a read from the selection source.
6488
6551
  * @param result The async result
6489
6552
  * @returns The resulting {@link Gio.InputStream}
6553
+ * @throws GLib.Error
6490
6554
  */
6491
6555
  read_finish(result: Gio.AsyncResult): Gio.InputStream;
6492
6556
  }
@@ -6984,6 +7048,7 @@ export namespace Meta {
6984
7048
  * deprecated virtual function. The default implementation will
6985
7049
  * call `clutter_actor_add_child()`.
6986
7050
  * @param actor the first {@link Clutter.Actor} to add
7051
+ * @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
6987
7052
  */
6988
7053
  add_actor(actor: A): void;
6989
7054
 
@@ -7071,6 +7136,7 @@ export namespace Meta {
7071
7136
  * deprecated virtual function. The default implementation will call
7072
7137
  * `clutter_actor_remove_child()`.
7073
7138
  * @param actor a {@link Clutter.Actor}
7139
+ * @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
7074
7140
  */
7075
7141
  remove_actor(actor: A): void;
7076
7142
 
@@ -7096,6 +7162,7 @@ export namespace Meta {
7096
7162
  * deprecated virtual function. The default implementation will
7097
7163
  * call `clutter_actor_add_child()`.
7098
7164
  * @param actor the first {@link Clutter.Actor} to add
7165
+ * @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
7099
7166
  * @virtual
7100
7167
  */
7101
7168
  vfunc_add(actor: A): void;
@@ -7157,6 +7224,7 @@ export namespace Meta {
7157
7224
  * deprecated virtual function. The default implementation will call
7158
7225
  * `clutter_actor_remove_child()`.
7159
7226
  * @param actor a {@link Clutter.Actor}
7227
+ * @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
7160
7228
  * @virtual
7161
7229
  */
7162
7230
  vfunc_remove(actor: A): void;
@@ -7170,7 +7238,7 @@ export namespace Meta {
7170
7238
  * @signal
7171
7239
  * @run-last
7172
7240
  */
7173
- changed: (arg0: StartupSequence) => void;
7241
+ changed: (object: StartupSequence) => void;
7174
7242
  "notify::display": (pspec: GObject.ParamSpec) => void;
7175
7243
  }
7176
7244
 
@@ -7478,6 +7546,7 @@ export namespace Meta {
7478
7546
  * @param display the current MetaDisplay
7479
7547
  * @param argv Command line arguments
7480
7548
  * @returns A new {@link Gio.Subprocess}, or `null` on error (and `error` will be set)
7549
+ * @throws GLib.Error
7481
7550
  */
7482
7551
  spawnv(display: Display, argv: string[]): Gio.Subprocess;
7483
7552
  }
@@ -8608,6 +8677,8 @@ export namespace Meta {
8608
8677
  * instance.
8609
8678
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
8610
8679
  * @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
8680
+ * @since 2.22
8681
+ * @throws GLib.Error
8611
8682
  */
8612
8683
  init(cancellable: Gio.Cancellable | null): boolean;
8613
8684
 
@@ -8651,6 +8722,7 @@ export namespace Meta {
8651
8722
  * on the result of `g_object_new()`, regardless of whether it is in fact a new
8652
8723
  * instance.
8653
8724
  * @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
8725
+ * @since 2.22
8654
8726
  * @virtual
8655
8727
  */
8656
8728
  vfunc_init(cancellable: Gio.Cancellable | null): boolean;
@@ -8872,6 +8944,7 @@ export namespace Meta {
8872
8944
  /**
8873
8945
  * @param clip A clipping rectangle, in actor coordinates, to help prevent extra processing. In the case that the clipping rectangle is partially or fully outside the bounds of the actor, the rectangle will be clipped.
8874
8946
  * @returns a new {@link Clutter.Content}
8947
+ * @throws GLib.Error
8875
8948
  */
8876
8949
  paint_to_content(clip: Mtk.Rectangle | null): Clutter.Content | null;
8877
8950
 
@@ -8983,6 +9056,7 @@ export namespace Meta {
8983
9056
  * deprecated virtual function. The default implementation will
8984
9057
  * call `clutter_actor_add_child()`.
8985
9058
  * @param actor the first {@link Clutter.Actor} to add
9059
+ * @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
8986
9060
  */
8987
9061
  add_actor(actor: A): void;
8988
9062
 
@@ -9070,6 +9144,7 @@ export namespace Meta {
9070
9144
  * deprecated virtual function. The default implementation will call
9071
9145
  * `clutter_actor_remove_child()`.
9072
9146
  * @param actor a {@link Clutter.Actor}
9147
+ * @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
9073
9148
  */
9074
9149
  remove_actor(actor: A): void;
9075
9150
 
@@ -9095,6 +9170,7 @@ export namespace Meta {
9095
9170
  * deprecated virtual function. The default implementation will
9096
9171
  * call `clutter_actor_add_child()`.
9097
9172
  * @param actor the first {@link Clutter.Actor} to add
9173
+ * @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
9098
9174
  * @virtual
9099
9175
  */
9100
9176
  vfunc_add(actor: A): void;
@@ -9156,6 +9232,7 @@ export namespace Meta {
9156
9232
  * deprecated virtual function. The default implementation will call
9157
9233
  * `clutter_actor_remove_child()`.
9158
9234
  * @param actor a {@link Clutter.Actor}
9235
+ * @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
9159
9236
  * @virtual
9160
9237
  */
9161
9238
  vfunc_remove(actor: A): void;
@@ -9451,6 +9528,7 @@ export namespace Meta {
9451
9528
  * deprecated virtual function. The default implementation will
9452
9529
  * call `clutter_actor_add_child()`.
9453
9530
  * @param actor the first {@link Clutter.Actor} to add
9531
+ * @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
9454
9532
  */
9455
9533
  add_actor(actor: A): void;
9456
9534
 
@@ -9538,6 +9616,7 @@ export namespace Meta {
9538
9616
  * deprecated virtual function. The default implementation will call
9539
9617
  * `clutter_actor_remove_child()`.
9540
9618
  * @param actor a {@link Clutter.Actor}
9619
+ * @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
9541
9620
  */
9542
9621
  remove_actor(actor: A): void;
9543
9622
 
@@ -9563,6 +9642,7 @@ export namespace Meta {
9563
9642
  * deprecated virtual function. The default implementation will
9564
9643
  * call `clutter_actor_add_child()`.
9565
9644
  * @param actor the first {@link Clutter.Actor} to add
9645
+ * @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
9566
9646
  * @virtual
9567
9647
  */
9568
9648
  vfunc_add(actor: A): void;
@@ -9624,6 +9704,7 @@ export namespace Meta {
9624
9704
  * deprecated virtual function. The default implementation will call
9625
9705
  * `clutter_actor_remove_child()`.
9626
9706
  * @param actor a {@link Clutter.Actor}
9707
+ * @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
9627
9708
  * @virtual
9628
9709
  */
9629
9710
  vfunc_remove(actor: A): void;
@@ -9713,12 +9794,12 @@ export namespace Meta {
9713
9794
  * @signal
9714
9795
  * @run-last
9715
9796
  */
9716
- "window-added": (arg0: Window) => void;
9797
+ "window-added": (object: Window) => void;
9717
9798
  /**
9718
9799
  * @signal
9719
9800
  * @run-last
9720
9801
  */
9721
- "window-removed": (arg0: Window) => void;
9802
+ "window-removed": (object: Window) => void;
9722
9803
  "notify::active": (pspec: GObject.ParamSpec) => void;
9723
9804
  "notify::n-windows": (pspec: GObject.ParamSpec) => void;
9724
9805
  "notify::workspace-index": (pspec: GObject.ParamSpec) => void;
@@ -9892,17 +9973,17 @@ export namespace Meta {
9892
9973
  * @signal
9893
9974
  * @run-last
9894
9975
  */
9895
- "workspace-added": (arg0: number) => void;
9976
+ "workspace-added": (object: number) => void;
9896
9977
  /**
9897
9978
  * @signal
9898
9979
  * @run-last
9899
9980
  */
9900
- "workspace-removed": (arg0: number) => void;
9981
+ "workspace-removed": (object: number) => void;
9901
9982
  /**
9902
9983
  * @signal
9903
9984
  * @run-last
9904
9985
  */
9905
- "workspace-switched": (arg0: number, arg1: number, arg2: MotionDirection) => void;
9986
+ "workspace-switched": (object: number, p0: number, p1: MotionDirection) => void;
9906
9987
  /**
9907
9988
  * @signal
9908
9989
  * @run-last