@girs/meta-9 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.
- package/README.md +36 -41
- package/meta-9.d.ts +659 -399
- package/package.json +24 -24
package/meta-9.d.ts
CHANGED
|
@@ -58,23 +58,23 @@ export namespace Meta {
|
|
|
58
58
|
/**
|
|
59
59
|
* Menu
|
|
60
60
|
*/
|
|
61
|
-
MENU,
|
|
61
|
+
MENU = 0,
|
|
62
62
|
/**
|
|
63
63
|
* Minimize
|
|
64
64
|
*/
|
|
65
|
-
MINIMIZE,
|
|
65
|
+
MINIMIZE = 1,
|
|
66
66
|
/**
|
|
67
67
|
* Maximize
|
|
68
68
|
*/
|
|
69
|
-
MAXIMIZE,
|
|
69
|
+
MAXIMIZE = 2,
|
|
70
70
|
/**
|
|
71
71
|
* Close
|
|
72
72
|
*/
|
|
73
|
-
CLOSE,
|
|
73
|
+
CLOSE = 3,
|
|
74
74
|
/**
|
|
75
75
|
* Marks the end of the {@link Meta.ButtonFunction} enumeration
|
|
76
76
|
*/
|
|
77
|
-
LAST,
|
|
77
|
+
LAST = 4,
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
|
|
@@ -89,8 +89,8 @@ export namespace Meta {
|
|
|
89
89
|
* @gir-type Enum
|
|
90
90
|
*/
|
|
91
91
|
enum CloseDialogResponse {
|
|
92
|
-
WAIT,
|
|
93
|
-
FORCE_CLOSE,
|
|
92
|
+
WAIT = 0,
|
|
93
|
+
FORCE_CLOSE = 1,
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
|
|
@@ -113,26 +113,26 @@ export namespace Meta {
|
|
|
113
113
|
* workspace and is changed to become visible on the active
|
|
114
114
|
* workspace.)
|
|
115
115
|
*/
|
|
116
|
-
CREATE,
|
|
116
|
+
CREATE = 0,
|
|
117
117
|
/**
|
|
118
118
|
* The window should be shown
|
|
119
119
|
* as unminimizing from its icon geometry.
|
|
120
120
|
*/
|
|
121
|
-
UNMINIMIZE,
|
|
121
|
+
UNMINIMIZE = 1,
|
|
122
122
|
/**
|
|
123
123
|
* The window is being destroyed
|
|
124
124
|
*/
|
|
125
|
-
DESTROY,
|
|
125
|
+
DESTROY = 2,
|
|
126
126
|
/**
|
|
127
127
|
* The window should be shown
|
|
128
128
|
* as minimizing to its icon geometry.
|
|
129
129
|
*/
|
|
130
|
-
MINIMIZE,
|
|
130
|
+
MINIMIZE = 3,
|
|
131
131
|
/**
|
|
132
132
|
* No effect, the window should be
|
|
133
133
|
* shown or hidden immediately.
|
|
134
134
|
*/
|
|
135
|
-
NONE,
|
|
135
|
+
NONE = 4,
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
|
|
@@ -147,8 +147,8 @@ export namespace Meta {
|
|
|
147
147
|
* @gir-type Enum
|
|
148
148
|
*/
|
|
149
149
|
enum CompositorType {
|
|
150
|
-
WAYLAND,
|
|
151
|
-
X11,
|
|
150
|
+
WAYLAND = 0,
|
|
151
|
+
X11 = 1,
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
|
|
@@ -163,84 +163,84 @@ export namespace Meta {
|
|
|
163
163
|
* @gir-type Enum
|
|
164
164
|
*/
|
|
165
165
|
enum Cursor {
|
|
166
|
-
NONE,
|
|
166
|
+
NONE = 0,
|
|
167
167
|
/**
|
|
168
168
|
* Default cursor
|
|
169
169
|
*/
|
|
170
|
-
DEFAULT,
|
|
170
|
+
DEFAULT = 1,
|
|
171
171
|
/**
|
|
172
172
|
* Resize northern edge cursor
|
|
173
173
|
*/
|
|
174
|
-
NORTH_RESIZE,
|
|
174
|
+
NORTH_RESIZE = 2,
|
|
175
175
|
/**
|
|
176
176
|
* Resize southern edge cursor
|
|
177
177
|
*/
|
|
178
|
-
SOUTH_RESIZE,
|
|
178
|
+
SOUTH_RESIZE = 3,
|
|
179
179
|
/**
|
|
180
180
|
* Resize western edge cursor
|
|
181
181
|
*/
|
|
182
|
-
WEST_RESIZE,
|
|
182
|
+
WEST_RESIZE = 4,
|
|
183
183
|
/**
|
|
184
184
|
* Resize eastern edge cursor
|
|
185
185
|
*/
|
|
186
|
-
EAST_RESIZE,
|
|
186
|
+
EAST_RESIZE = 5,
|
|
187
187
|
/**
|
|
188
188
|
* Resize south-eastern corner cursor
|
|
189
189
|
*/
|
|
190
|
-
SE_RESIZE,
|
|
190
|
+
SE_RESIZE = 6,
|
|
191
191
|
/**
|
|
192
192
|
* Resize south-western corner cursor
|
|
193
193
|
*/
|
|
194
|
-
SW_RESIZE,
|
|
194
|
+
SW_RESIZE = 7,
|
|
195
195
|
/**
|
|
196
196
|
* Resize north-eastern corner cursor
|
|
197
197
|
*/
|
|
198
|
-
NE_RESIZE,
|
|
198
|
+
NE_RESIZE = 8,
|
|
199
199
|
/**
|
|
200
200
|
* Resize north-western corner cursor
|
|
201
201
|
*/
|
|
202
|
-
NW_RESIZE,
|
|
202
|
+
NW_RESIZE = 9,
|
|
203
203
|
/**
|
|
204
204
|
* Move or resize cursor
|
|
205
205
|
*/
|
|
206
|
-
MOVE_OR_RESIZE_WINDOW,
|
|
206
|
+
MOVE_OR_RESIZE_WINDOW = 10,
|
|
207
207
|
/**
|
|
208
208
|
* Busy cursor
|
|
209
209
|
*/
|
|
210
|
-
BUSY,
|
|
210
|
+
BUSY = 11,
|
|
211
211
|
/**
|
|
212
212
|
* DND in drag cursor
|
|
213
213
|
*/
|
|
214
|
-
DND_IN_DRAG,
|
|
214
|
+
DND_IN_DRAG = 12,
|
|
215
215
|
/**
|
|
216
216
|
* DND move cursor
|
|
217
217
|
*/
|
|
218
|
-
DND_MOVE,
|
|
218
|
+
DND_MOVE = 13,
|
|
219
219
|
/**
|
|
220
220
|
* DND copy cursor
|
|
221
221
|
*/
|
|
222
|
-
DND_COPY,
|
|
222
|
+
DND_COPY = 14,
|
|
223
223
|
/**
|
|
224
224
|
* DND unsupported target
|
|
225
225
|
*/
|
|
226
|
-
DND_UNSUPPORTED_TARGET,
|
|
226
|
+
DND_UNSUPPORTED_TARGET = 15,
|
|
227
227
|
/**
|
|
228
228
|
* pointing hand
|
|
229
229
|
*/
|
|
230
|
-
POINTING_HAND,
|
|
230
|
+
POINTING_HAND = 16,
|
|
231
231
|
/**
|
|
232
232
|
* crosshair (action forbidden)
|
|
233
233
|
*/
|
|
234
|
-
CROSSHAIR,
|
|
234
|
+
CROSSHAIR = 17,
|
|
235
235
|
/**
|
|
236
236
|
* I-beam (text input)
|
|
237
237
|
*/
|
|
238
|
-
IBEAM,
|
|
238
|
+
IBEAM = 18,
|
|
239
239
|
/**
|
|
240
240
|
* Invisible cursor
|
|
241
241
|
*/
|
|
242
|
-
BLANK,
|
|
243
|
-
LAST,
|
|
242
|
+
BLANK = 19,
|
|
243
|
+
LAST = 20,
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
|
|
@@ -258,19 +258,19 @@ export namespace Meta {
|
|
|
258
258
|
/**
|
|
259
259
|
* top-left corner
|
|
260
260
|
*/
|
|
261
|
-
TOPLEFT,
|
|
261
|
+
TOPLEFT = 0,
|
|
262
262
|
/**
|
|
263
263
|
* top-right corner
|
|
264
264
|
*/
|
|
265
|
-
TOPRIGHT,
|
|
265
|
+
TOPRIGHT = 1,
|
|
266
266
|
/**
|
|
267
267
|
* bottom-left corner
|
|
268
268
|
*/
|
|
269
|
-
BOTTOMLEFT,
|
|
269
|
+
BOTTOMLEFT = 2,
|
|
270
270
|
/**
|
|
271
271
|
* bottom-right corner
|
|
272
272
|
*/
|
|
273
|
-
BOTTOMRIGHT,
|
|
273
|
+
BOTTOMRIGHT = 3,
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
|
|
@@ -288,19 +288,19 @@ export namespace Meta {
|
|
|
288
288
|
/**
|
|
289
289
|
* up
|
|
290
290
|
*/
|
|
291
|
-
UP,
|
|
291
|
+
UP = 0,
|
|
292
292
|
/**
|
|
293
293
|
* down
|
|
294
294
|
*/
|
|
295
|
-
DOWN,
|
|
295
|
+
DOWN = 1,
|
|
296
296
|
/**
|
|
297
297
|
* left
|
|
298
298
|
*/
|
|
299
|
-
LEFT,
|
|
299
|
+
LEFT = 2,
|
|
300
300
|
/**
|
|
301
301
|
* right
|
|
302
302
|
*/
|
|
303
|
-
RIGHT,
|
|
303
|
+
RIGHT = 3,
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
|
|
@@ -318,15 +318,15 @@ export namespace Meta {
|
|
|
318
318
|
/**
|
|
319
319
|
* Whether the edge belongs to a window
|
|
320
320
|
*/
|
|
321
|
-
WINDOW,
|
|
321
|
+
WINDOW = 0,
|
|
322
322
|
/**
|
|
323
323
|
* Whether the edge belongs to a monitor
|
|
324
324
|
*/
|
|
325
|
-
MONITOR,
|
|
325
|
+
MONITOR = 1,
|
|
326
326
|
/**
|
|
327
327
|
* Whether the edge belongs to a screen
|
|
328
328
|
*/
|
|
329
|
-
SCREEN,
|
|
329
|
+
SCREEN = 2,
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
|
|
@@ -344,11 +344,11 @@ export namespace Meta {
|
|
|
344
344
|
/**
|
|
345
345
|
* Success
|
|
346
346
|
*/
|
|
347
|
-
SUCCESS,
|
|
347
|
+
SUCCESS = 0,
|
|
348
348
|
/**
|
|
349
349
|
* Error
|
|
350
350
|
*/
|
|
351
|
-
ERROR,
|
|
351
|
+
ERROR = 1,
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
|
|
@@ -366,35 +366,35 @@ export namespace Meta {
|
|
|
366
366
|
/**
|
|
367
367
|
* Normal frame
|
|
368
368
|
*/
|
|
369
|
-
NORMAL,
|
|
369
|
+
NORMAL = 0,
|
|
370
370
|
/**
|
|
371
371
|
* Dialog frame
|
|
372
372
|
*/
|
|
373
|
-
DIALOG,
|
|
373
|
+
DIALOG = 1,
|
|
374
374
|
/**
|
|
375
375
|
* Modal dialog frame
|
|
376
376
|
*/
|
|
377
|
-
MODAL_DIALOG,
|
|
377
|
+
MODAL_DIALOG = 2,
|
|
378
378
|
/**
|
|
379
379
|
* Utility frame
|
|
380
380
|
*/
|
|
381
|
-
UTILITY,
|
|
381
|
+
UTILITY = 3,
|
|
382
382
|
/**
|
|
383
383
|
* Menu frame
|
|
384
384
|
*/
|
|
385
|
-
MENU,
|
|
385
|
+
MENU = 4,
|
|
386
386
|
/**
|
|
387
387
|
* Border frame
|
|
388
388
|
*/
|
|
389
|
-
BORDER,
|
|
389
|
+
BORDER = 5,
|
|
390
390
|
/**
|
|
391
391
|
* Attached frame
|
|
392
392
|
*/
|
|
393
|
-
ATTACHED,
|
|
393
|
+
ATTACHED = 6,
|
|
394
394
|
/**
|
|
395
395
|
* Marks the end of the {@link Meta.FrameType} enumeration
|
|
396
396
|
*/
|
|
397
|
-
LAST,
|
|
397
|
+
LAST = 7,
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
|
|
@@ -412,90 +412,90 @@ export namespace Meta {
|
|
|
412
412
|
/**
|
|
413
413
|
* None
|
|
414
414
|
*/
|
|
415
|
-
NONE,
|
|
416
|
-
WINDOW_BASE,
|
|
415
|
+
NONE = 0,
|
|
416
|
+
WINDOW_BASE = 1,
|
|
417
417
|
/**
|
|
418
418
|
* Compositor asked for grab
|
|
419
419
|
*/
|
|
420
|
-
COMPOSITOR,
|
|
421
|
-
WAYLAND_POPUP,
|
|
422
|
-
FRAME_BUTTON,
|
|
420
|
+
COMPOSITOR = 2,
|
|
421
|
+
WAYLAND_POPUP = 3,
|
|
422
|
+
FRAME_BUTTON = 4,
|
|
423
423
|
/**
|
|
424
424
|
* Moving with pointer
|
|
425
425
|
*/
|
|
426
|
-
MOVING,
|
|
426
|
+
MOVING = 1,
|
|
427
427
|
/**
|
|
428
428
|
* Resizing NW with pointer
|
|
429
429
|
*/
|
|
430
|
-
RESIZING_NW,
|
|
430
|
+
RESIZING_NW = 36865,
|
|
431
431
|
/**
|
|
432
432
|
* Resizing N with pointer
|
|
433
433
|
*/
|
|
434
|
-
RESIZING_N,
|
|
434
|
+
RESIZING_N = 32769,
|
|
435
435
|
/**
|
|
436
436
|
* Resizing NE with pointer
|
|
437
437
|
*/
|
|
438
|
-
RESIZING_NE,
|
|
438
|
+
RESIZING_NE = 40961,
|
|
439
439
|
/**
|
|
440
440
|
* Resizing E with pointer
|
|
441
441
|
*/
|
|
442
|
-
RESIZING_E,
|
|
442
|
+
RESIZING_E = 8193,
|
|
443
443
|
/**
|
|
444
444
|
* Resizing SW with pointer
|
|
445
445
|
*/
|
|
446
|
-
RESIZING_SW,
|
|
446
|
+
RESIZING_SW = 20481,
|
|
447
447
|
/**
|
|
448
448
|
* Resizing S with pointer
|
|
449
449
|
*/
|
|
450
|
-
RESIZING_S,
|
|
450
|
+
RESIZING_S = 16385,
|
|
451
451
|
/**
|
|
452
452
|
* Resizing SE with pointer
|
|
453
453
|
*/
|
|
454
|
-
RESIZING_SE,
|
|
454
|
+
RESIZING_SE = 24577,
|
|
455
455
|
/**
|
|
456
456
|
* Resizing W with pointer
|
|
457
457
|
*/
|
|
458
|
-
RESIZING_W,
|
|
458
|
+
RESIZING_W = 4097,
|
|
459
459
|
/**
|
|
460
460
|
* Moving with keyboard
|
|
461
461
|
*/
|
|
462
|
-
KEYBOARD_MOVING,
|
|
462
|
+
KEYBOARD_MOVING = 257,
|
|
463
463
|
/**
|
|
464
464
|
* Resizing with keyboard
|
|
465
465
|
*/
|
|
466
|
-
KEYBOARD_RESIZING_UNKNOWN,
|
|
466
|
+
KEYBOARD_RESIZING_UNKNOWN = 769,
|
|
467
467
|
/**
|
|
468
468
|
* Resizing NS with keyboard
|
|
469
469
|
*/
|
|
470
|
-
KEYBOARD_RESIZING_NW,
|
|
470
|
+
KEYBOARD_RESIZING_NW = 37121,
|
|
471
471
|
/**
|
|
472
472
|
* Resizing N with keyboard
|
|
473
473
|
*/
|
|
474
|
-
KEYBOARD_RESIZING_N,
|
|
474
|
+
KEYBOARD_RESIZING_N = 33025,
|
|
475
475
|
/**
|
|
476
476
|
* Resizing NE with keyboard
|
|
477
477
|
*/
|
|
478
|
-
KEYBOARD_RESIZING_NE,
|
|
478
|
+
KEYBOARD_RESIZING_NE = 41217,
|
|
479
479
|
/**
|
|
480
480
|
* Resizing E with keyboard
|
|
481
481
|
*/
|
|
482
|
-
KEYBOARD_RESIZING_E,
|
|
482
|
+
KEYBOARD_RESIZING_E = 8449,
|
|
483
483
|
/**
|
|
484
484
|
* Resizing SW with keyboard
|
|
485
485
|
*/
|
|
486
|
-
KEYBOARD_RESIZING_SW,
|
|
486
|
+
KEYBOARD_RESIZING_SW = 20737,
|
|
487
487
|
/**
|
|
488
488
|
* Resizing S with keyboard
|
|
489
489
|
*/
|
|
490
|
-
KEYBOARD_RESIZING_S,
|
|
490
|
+
KEYBOARD_RESIZING_S = 16641,
|
|
491
491
|
/**
|
|
492
492
|
* Resizing SE with keyboard
|
|
493
493
|
*/
|
|
494
|
-
KEYBOARD_RESIZING_SE,
|
|
494
|
+
KEYBOARD_RESIZING_SE = 24833,
|
|
495
495
|
/**
|
|
496
496
|
* Resizing W with keyboard
|
|
497
497
|
*/
|
|
498
|
-
KEYBOARD_RESIZING_W,
|
|
498
|
+
KEYBOARD_RESIZING_W = 4353,
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
|
|
@@ -510,17 +510,17 @@ export namespace Meta {
|
|
|
510
510
|
* @gir-type Enum
|
|
511
511
|
*/
|
|
512
512
|
enum Gravity {
|
|
513
|
-
NONE,
|
|
514
|
-
NORTH_WEST,
|
|
515
|
-
NORTH,
|
|
516
|
-
NORTH_EAST,
|
|
517
|
-
WEST,
|
|
518
|
-
CENTER,
|
|
519
|
-
EAST,
|
|
520
|
-
SOUTH_WEST,
|
|
521
|
-
SOUTH,
|
|
522
|
-
SOUTH_EAST,
|
|
523
|
-
STATIC,
|
|
513
|
+
NONE = 0,
|
|
514
|
+
NORTH_WEST = 1,
|
|
515
|
+
NORTH = 2,
|
|
516
|
+
NORTH_EAST = 3,
|
|
517
|
+
WEST = 4,
|
|
518
|
+
CENTER = 5,
|
|
519
|
+
EAST = 6,
|
|
520
|
+
SOUTH_WEST = 7,
|
|
521
|
+
SOUTH = 8,
|
|
522
|
+
SOUTH_EAST = 9,
|
|
523
|
+
STATIC = 10,
|
|
524
524
|
}
|
|
525
525
|
|
|
526
526
|
|
|
@@ -535,8 +535,8 @@ export namespace Meta {
|
|
|
535
535
|
* @gir-type Enum
|
|
536
536
|
*/
|
|
537
537
|
enum InhibitShortcutsDialogResponse {
|
|
538
|
-
ALLOW,
|
|
539
|
-
DENY,
|
|
538
|
+
ALLOW = 0,
|
|
539
|
+
DENY = 1,
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
|
|
@@ -554,362 +554,362 @@ export namespace Meta {
|
|
|
554
554
|
/**
|
|
555
555
|
* FILLME
|
|
556
556
|
*/
|
|
557
|
-
NONE,
|
|
557
|
+
NONE = 0,
|
|
558
558
|
/**
|
|
559
559
|
* FILLME
|
|
560
560
|
*/
|
|
561
|
-
WORKSPACE_1,
|
|
561
|
+
WORKSPACE_1 = 1,
|
|
562
562
|
/**
|
|
563
563
|
* FILLME
|
|
564
564
|
*/
|
|
565
|
-
WORKSPACE_2,
|
|
565
|
+
WORKSPACE_2 = 2,
|
|
566
566
|
/**
|
|
567
567
|
* FILLME
|
|
568
568
|
*/
|
|
569
|
-
WORKSPACE_3,
|
|
569
|
+
WORKSPACE_3 = 3,
|
|
570
570
|
/**
|
|
571
571
|
* FILLME
|
|
572
572
|
*/
|
|
573
|
-
WORKSPACE_4,
|
|
573
|
+
WORKSPACE_4 = 4,
|
|
574
574
|
/**
|
|
575
575
|
* FILLME
|
|
576
576
|
*/
|
|
577
|
-
WORKSPACE_5,
|
|
577
|
+
WORKSPACE_5 = 5,
|
|
578
578
|
/**
|
|
579
579
|
* FILLME
|
|
580
580
|
*/
|
|
581
|
-
WORKSPACE_6,
|
|
581
|
+
WORKSPACE_6 = 6,
|
|
582
582
|
/**
|
|
583
583
|
* FILLME
|
|
584
584
|
*/
|
|
585
|
-
WORKSPACE_7,
|
|
585
|
+
WORKSPACE_7 = 7,
|
|
586
586
|
/**
|
|
587
587
|
* FILLME
|
|
588
588
|
*/
|
|
589
|
-
WORKSPACE_8,
|
|
589
|
+
WORKSPACE_8 = 8,
|
|
590
590
|
/**
|
|
591
591
|
* FILLME
|
|
592
592
|
*/
|
|
593
|
-
WORKSPACE_9,
|
|
593
|
+
WORKSPACE_9 = 9,
|
|
594
594
|
/**
|
|
595
595
|
* FILLME
|
|
596
596
|
*/
|
|
597
|
-
WORKSPACE_10,
|
|
597
|
+
WORKSPACE_10 = 10,
|
|
598
598
|
/**
|
|
599
599
|
* FILLME
|
|
600
600
|
*/
|
|
601
|
-
WORKSPACE_11,
|
|
601
|
+
WORKSPACE_11 = 11,
|
|
602
602
|
/**
|
|
603
603
|
* FILLME
|
|
604
604
|
*/
|
|
605
|
-
WORKSPACE_12,
|
|
605
|
+
WORKSPACE_12 = 12,
|
|
606
606
|
/**
|
|
607
607
|
* FILLME
|
|
608
608
|
*/
|
|
609
|
-
WORKSPACE_LEFT,
|
|
609
|
+
WORKSPACE_LEFT = 13,
|
|
610
610
|
/**
|
|
611
611
|
* FILLME
|
|
612
612
|
*/
|
|
613
|
-
WORKSPACE_RIGHT,
|
|
613
|
+
WORKSPACE_RIGHT = 14,
|
|
614
614
|
/**
|
|
615
615
|
* FILLME
|
|
616
616
|
*/
|
|
617
|
-
WORKSPACE_UP,
|
|
617
|
+
WORKSPACE_UP = 15,
|
|
618
618
|
/**
|
|
619
619
|
* FILLME
|
|
620
620
|
*/
|
|
621
|
-
WORKSPACE_DOWN,
|
|
621
|
+
WORKSPACE_DOWN = 16,
|
|
622
622
|
/**
|
|
623
623
|
* FILLME
|
|
624
624
|
*/
|
|
625
|
-
WORKSPACE_LAST,
|
|
625
|
+
WORKSPACE_LAST = 17,
|
|
626
626
|
/**
|
|
627
627
|
* FILLME
|
|
628
628
|
*/
|
|
629
|
-
SWITCH_APPLICATIONS,
|
|
629
|
+
SWITCH_APPLICATIONS = 18,
|
|
630
630
|
/**
|
|
631
631
|
* FILLME
|
|
632
632
|
*/
|
|
633
|
-
SWITCH_APPLICATIONS_BACKWARD,
|
|
633
|
+
SWITCH_APPLICATIONS_BACKWARD = 19,
|
|
634
634
|
/**
|
|
635
635
|
* FILLME
|
|
636
636
|
*/
|
|
637
|
-
SWITCH_GROUP,
|
|
637
|
+
SWITCH_GROUP = 20,
|
|
638
638
|
/**
|
|
639
639
|
* FILLME
|
|
640
640
|
*/
|
|
641
|
-
SWITCH_GROUP_BACKWARD,
|
|
641
|
+
SWITCH_GROUP_BACKWARD = 21,
|
|
642
642
|
/**
|
|
643
643
|
* FILLME
|
|
644
644
|
*/
|
|
645
|
-
SWITCH_WINDOWS,
|
|
645
|
+
SWITCH_WINDOWS = 22,
|
|
646
646
|
/**
|
|
647
647
|
* FILLME
|
|
648
648
|
*/
|
|
649
|
-
SWITCH_WINDOWS_BACKWARD,
|
|
649
|
+
SWITCH_WINDOWS_BACKWARD = 23,
|
|
650
650
|
/**
|
|
651
651
|
* FILLME
|
|
652
652
|
*/
|
|
653
|
-
SWITCH_PANELS,
|
|
653
|
+
SWITCH_PANELS = 24,
|
|
654
654
|
/**
|
|
655
655
|
* FILLME
|
|
656
656
|
*/
|
|
657
|
-
SWITCH_PANELS_BACKWARD,
|
|
657
|
+
SWITCH_PANELS_BACKWARD = 25,
|
|
658
658
|
/**
|
|
659
659
|
* FILLME
|
|
660
660
|
*/
|
|
661
|
-
CYCLE_GROUP,
|
|
661
|
+
CYCLE_GROUP = 26,
|
|
662
662
|
/**
|
|
663
663
|
* FILLME
|
|
664
664
|
*/
|
|
665
|
-
CYCLE_GROUP_BACKWARD,
|
|
665
|
+
CYCLE_GROUP_BACKWARD = 27,
|
|
666
666
|
/**
|
|
667
667
|
* FILLME
|
|
668
668
|
*/
|
|
669
|
-
CYCLE_WINDOWS,
|
|
669
|
+
CYCLE_WINDOWS = 28,
|
|
670
670
|
/**
|
|
671
671
|
* FILLME
|
|
672
672
|
*/
|
|
673
|
-
CYCLE_WINDOWS_BACKWARD,
|
|
673
|
+
CYCLE_WINDOWS_BACKWARD = 29,
|
|
674
674
|
/**
|
|
675
675
|
* FILLME
|
|
676
676
|
*/
|
|
677
|
-
CYCLE_PANELS,
|
|
677
|
+
CYCLE_PANELS = 30,
|
|
678
678
|
/**
|
|
679
679
|
* FILLME
|
|
680
680
|
*/
|
|
681
|
-
CYCLE_PANELS_BACKWARD,
|
|
681
|
+
CYCLE_PANELS_BACKWARD = 31,
|
|
682
682
|
/**
|
|
683
683
|
* FILLME
|
|
684
684
|
*/
|
|
685
|
-
SHOW_DESKTOP,
|
|
685
|
+
SHOW_DESKTOP = 32,
|
|
686
686
|
/**
|
|
687
687
|
* FILLME
|
|
688
688
|
*/
|
|
689
|
-
PANEL_RUN_DIALOG,
|
|
689
|
+
PANEL_RUN_DIALOG = 33,
|
|
690
690
|
/**
|
|
691
691
|
* FILLME
|
|
692
692
|
*/
|
|
693
|
-
TOGGLE_RECORDING,
|
|
693
|
+
TOGGLE_RECORDING = 34,
|
|
694
694
|
/**
|
|
695
695
|
* FILLME
|
|
696
696
|
*/
|
|
697
|
-
SET_SPEW_MARK,
|
|
697
|
+
SET_SPEW_MARK = 35,
|
|
698
698
|
/**
|
|
699
699
|
* FILLME
|
|
700
700
|
*/
|
|
701
|
-
ACTIVATE_WINDOW_MENU,
|
|
701
|
+
ACTIVATE_WINDOW_MENU = 36,
|
|
702
702
|
/**
|
|
703
703
|
* FILLME
|
|
704
704
|
*/
|
|
705
|
-
TOGGLE_FULLSCREEN,
|
|
705
|
+
TOGGLE_FULLSCREEN = 37,
|
|
706
706
|
/**
|
|
707
707
|
* FILLME
|
|
708
708
|
*/
|
|
709
|
-
TOGGLE_MAXIMIZED,
|
|
709
|
+
TOGGLE_MAXIMIZED = 38,
|
|
710
710
|
/**
|
|
711
711
|
* FILLME
|
|
712
712
|
*/
|
|
713
|
-
TOGGLE_TILED_LEFT,
|
|
713
|
+
TOGGLE_TILED_LEFT = 39,
|
|
714
714
|
/**
|
|
715
715
|
* FILLME
|
|
716
716
|
*/
|
|
717
|
-
TOGGLE_TILED_RIGHT,
|
|
717
|
+
TOGGLE_TILED_RIGHT = 40,
|
|
718
718
|
/**
|
|
719
719
|
* FILLME
|
|
720
720
|
*/
|
|
721
|
-
TOGGLE_ABOVE,
|
|
721
|
+
TOGGLE_ABOVE = 41,
|
|
722
722
|
/**
|
|
723
723
|
* FILLME
|
|
724
724
|
*/
|
|
725
|
-
MAXIMIZE,
|
|
725
|
+
MAXIMIZE = 42,
|
|
726
726
|
/**
|
|
727
727
|
* FILLME
|
|
728
728
|
*/
|
|
729
|
-
UNMAXIMIZE,
|
|
729
|
+
UNMAXIMIZE = 43,
|
|
730
730
|
/**
|
|
731
731
|
* FILLME
|
|
732
732
|
*/
|
|
733
|
-
TOGGLE_SHADED,
|
|
733
|
+
TOGGLE_SHADED = 44,
|
|
734
734
|
/**
|
|
735
735
|
* FILLME
|
|
736
736
|
*/
|
|
737
|
-
MINIMIZE,
|
|
737
|
+
MINIMIZE = 45,
|
|
738
738
|
/**
|
|
739
739
|
* FILLME
|
|
740
740
|
*/
|
|
741
|
-
CLOSE,
|
|
741
|
+
CLOSE = 46,
|
|
742
742
|
/**
|
|
743
743
|
* FILLME
|
|
744
744
|
*/
|
|
745
|
-
BEGIN_MOVE,
|
|
745
|
+
BEGIN_MOVE = 47,
|
|
746
746
|
/**
|
|
747
747
|
* FILLME
|
|
748
748
|
*/
|
|
749
|
-
BEGIN_RESIZE,
|
|
749
|
+
BEGIN_RESIZE = 48,
|
|
750
750
|
/**
|
|
751
751
|
* FILLME
|
|
752
752
|
*/
|
|
753
|
-
TOGGLE_ON_ALL_WORKSPACES,
|
|
753
|
+
TOGGLE_ON_ALL_WORKSPACES = 49,
|
|
754
754
|
/**
|
|
755
755
|
* FILLME
|
|
756
756
|
*/
|
|
757
|
-
MOVE_TO_WORKSPACE_1,
|
|
757
|
+
MOVE_TO_WORKSPACE_1 = 50,
|
|
758
758
|
/**
|
|
759
759
|
* FILLME
|
|
760
760
|
*/
|
|
761
|
-
MOVE_TO_WORKSPACE_2,
|
|
761
|
+
MOVE_TO_WORKSPACE_2 = 51,
|
|
762
762
|
/**
|
|
763
763
|
* FILLME
|
|
764
764
|
*/
|
|
765
|
-
MOVE_TO_WORKSPACE_3,
|
|
765
|
+
MOVE_TO_WORKSPACE_3 = 52,
|
|
766
766
|
/**
|
|
767
767
|
* FILLME
|
|
768
768
|
*/
|
|
769
|
-
MOVE_TO_WORKSPACE_4,
|
|
769
|
+
MOVE_TO_WORKSPACE_4 = 53,
|
|
770
770
|
/**
|
|
771
771
|
* FILLME
|
|
772
772
|
*/
|
|
773
|
-
MOVE_TO_WORKSPACE_5,
|
|
773
|
+
MOVE_TO_WORKSPACE_5 = 54,
|
|
774
774
|
/**
|
|
775
775
|
* FILLME
|
|
776
776
|
*/
|
|
777
|
-
MOVE_TO_WORKSPACE_6,
|
|
777
|
+
MOVE_TO_WORKSPACE_6 = 55,
|
|
778
778
|
/**
|
|
779
779
|
* FILLME
|
|
780
780
|
*/
|
|
781
|
-
MOVE_TO_WORKSPACE_7,
|
|
781
|
+
MOVE_TO_WORKSPACE_7 = 56,
|
|
782
782
|
/**
|
|
783
783
|
* FILLME
|
|
784
784
|
*/
|
|
785
|
-
MOVE_TO_WORKSPACE_8,
|
|
785
|
+
MOVE_TO_WORKSPACE_8 = 57,
|
|
786
786
|
/**
|
|
787
787
|
* FILLME
|
|
788
788
|
*/
|
|
789
|
-
MOVE_TO_WORKSPACE_9,
|
|
789
|
+
MOVE_TO_WORKSPACE_9 = 58,
|
|
790
790
|
/**
|
|
791
791
|
* FILLME
|
|
792
792
|
*/
|
|
793
|
-
MOVE_TO_WORKSPACE_10,
|
|
793
|
+
MOVE_TO_WORKSPACE_10 = 59,
|
|
794
794
|
/**
|
|
795
795
|
* FILLME
|
|
796
796
|
*/
|
|
797
|
-
MOVE_TO_WORKSPACE_11,
|
|
797
|
+
MOVE_TO_WORKSPACE_11 = 60,
|
|
798
798
|
/**
|
|
799
799
|
* FILLME
|
|
800
800
|
*/
|
|
801
|
-
MOVE_TO_WORKSPACE_12,
|
|
801
|
+
MOVE_TO_WORKSPACE_12 = 61,
|
|
802
802
|
/**
|
|
803
803
|
* FILLME
|
|
804
804
|
*/
|
|
805
|
-
MOVE_TO_WORKSPACE_LEFT,
|
|
805
|
+
MOVE_TO_WORKSPACE_LEFT = 62,
|
|
806
806
|
/**
|
|
807
807
|
* FILLME
|
|
808
808
|
*/
|
|
809
|
-
MOVE_TO_WORKSPACE_RIGHT,
|
|
809
|
+
MOVE_TO_WORKSPACE_RIGHT = 63,
|
|
810
810
|
/**
|
|
811
811
|
* FILLME
|
|
812
812
|
*/
|
|
813
|
-
MOVE_TO_WORKSPACE_UP,
|
|
813
|
+
MOVE_TO_WORKSPACE_UP = 64,
|
|
814
814
|
/**
|
|
815
815
|
* FILLME
|
|
816
816
|
*/
|
|
817
|
-
MOVE_TO_WORKSPACE_DOWN,
|
|
817
|
+
MOVE_TO_WORKSPACE_DOWN = 65,
|
|
818
818
|
/**
|
|
819
819
|
* FILLME
|
|
820
820
|
*/
|
|
821
|
-
MOVE_TO_WORKSPACE_LAST,
|
|
821
|
+
MOVE_TO_WORKSPACE_LAST = 66,
|
|
822
822
|
/**
|
|
823
823
|
* FILLME
|
|
824
824
|
*/
|
|
825
|
-
MOVE_TO_MONITOR_LEFT,
|
|
825
|
+
MOVE_TO_MONITOR_LEFT = 67,
|
|
826
826
|
/**
|
|
827
827
|
* FILLME
|
|
828
828
|
*/
|
|
829
|
-
MOVE_TO_MONITOR_RIGHT,
|
|
829
|
+
MOVE_TO_MONITOR_RIGHT = 68,
|
|
830
830
|
/**
|
|
831
831
|
* FILLME
|
|
832
832
|
*/
|
|
833
|
-
MOVE_TO_MONITOR_UP,
|
|
833
|
+
MOVE_TO_MONITOR_UP = 69,
|
|
834
834
|
/**
|
|
835
835
|
* FILLME
|
|
836
836
|
*/
|
|
837
|
-
MOVE_TO_MONITOR_DOWN,
|
|
837
|
+
MOVE_TO_MONITOR_DOWN = 70,
|
|
838
838
|
/**
|
|
839
839
|
* FILLME
|
|
840
840
|
*/
|
|
841
|
-
RAISE_OR_LOWER,
|
|
841
|
+
RAISE_OR_LOWER = 71,
|
|
842
842
|
/**
|
|
843
843
|
* FILLME
|
|
844
844
|
*/
|
|
845
|
-
RAISE,
|
|
845
|
+
RAISE = 72,
|
|
846
846
|
/**
|
|
847
847
|
* FILLME
|
|
848
848
|
*/
|
|
849
|
-
LOWER,
|
|
849
|
+
LOWER = 73,
|
|
850
850
|
/**
|
|
851
851
|
* FILLME
|
|
852
852
|
*/
|
|
853
|
-
MAXIMIZE_VERTICALLY,
|
|
853
|
+
MAXIMIZE_VERTICALLY = 74,
|
|
854
854
|
/**
|
|
855
855
|
* FILLME
|
|
856
856
|
*/
|
|
857
|
-
MAXIMIZE_HORIZONTALLY,
|
|
857
|
+
MAXIMIZE_HORIZONTALLY = 75,
|
|
858
858
|
/**
|
|
859
859
|
* FILLME
|
|
860
860
|
*/
|
|
861
|
-
MOVE_TO_CORNER_NW,
|
|
861
|
+
MOVE_TO_CORNER_NW = 76,
|
|
862
862
|
/**
|
|
863
863
|
* FILLME
|
|
864
864
|
*/
|
|
865
|
-
MOVE_TO_CORNER_NE,
|
|
865
|
+
MOVE_TO_CORNER_NE = 77,
|
|
866
866
|
/**
|
|
867
867
|
* FILLME
|
|
868
868
|
*/
|
|
869
|
-
MOVE_TO_CORNER_SW,
|
|
869
|
+
MOVE_TO_CORNER_SW = 78,
|
|
870
870
|
/**
|
|
871
871
|
* FILLME
|
|
872
872
|
*/
|
|
873
|
-
MOVE_TO_CORNER_SE,
|
|
873
|
+
MOVE_TO_CORNER_SE = 79,
|
|
874
874
|
/**
|
|
875
875
|
* FILLME
|
|
876
876
|
*/
|
|
877
|
-
MOVE_TO_SIDE_N,
|
|
877
|
+
MOVE_TO_SIDE_N = 80,
|
|
878
878
|
/**
|
|
879
879
|
* FILLME
|
|
880
880
|
*/
|
|
881
|
-
MOVE_TO_SIDE_S,
|
|
881
|
+
MOVE_TO_SIDE_S = 81,
|
|
882
882
|
/**
|
|
883
883
|
* FILLME
|
|
884
884
|
*/
|
|
885
|
-
MOVE_TO_SIDE_E,
|
|
885
|
+
MOVE_TO_SIDE_E = 82,
|
|
886
886
|
/**
|
|
887
887
|
* FILLME
|
|
888
888
|
*/
|
|
889
|
-
MOVE_TO_SIDE_W,
|
|
889
|
+
MOVE_TO_SIDE_W = 83,
|
|
890
890
|
/**
|
|
891
891
|
* FILLME
|
|
892
892
|
*/
|
|
893
|
-
MOVE_TO_CENTER,
|
|
893
|
+
MOVE_TO_CENTER = 84,
|
|
894
894
|
/**
|
|
895
895
|
* FILLME
|
|
896
896
|
*/
|
|
897
|
-
OVERLAY_KEY,
|
|
897
|
+
OVERLAY_KEY = 85,
|
|
898
898
|
/**
|
|
899
899
|
* FILLME
|
|
900
900
|
*/
|
|
901
|
-
LOCATE_POINTER_KEY,
|
|
902
|
-
ISO_NEXT_GROUP,
|
|
901
|
+
LOCATE_POINTER_KEY = 86,
|
|
902
|
+
ISO_NEXT_GROUP = 87,
|
|
903
903
|
/**
|
|
904
904
|
* FILLME
|
|
905
905
|
*/
|
|
906
|
-
ALWAYS_ON_TOP,
|
|
907
|
-
SWITCH_MONITOR,
|
|
908
|
-
ROTATE_MONITOR,
|
|
906
|
+
ALWAYS_ON_TOP = 88,
|
|
907
|
+
SWITCH_MONITOR = 89,
|
|
908
|
+
ROTATE_MONITOR = 90,
|
|
909
909
|
/**
|
|
910
910
|
* FILLME
|
|
911
911
|
*/
|
|
912
|
-
LAST,
|
|
912
|
+
LAST = 91,
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
|
|
@@ -928,28 +928,28 @@ export namespace Meta {
|
|
|
928
928
|
* call in a resize processing phase that is done
|
|
929
929
|
* before GTK+ repainting (including window borders) is done.
|
|
930
930
|
*/
|
|
931
|
-
RESIZE,
|
|
931
|
+
RESIZE = 0,
|
|
932
932
|
/**
|
|
933
933
|
* used by Mutter to compute which windows should be mapped
|
|
934
934
|
*/
|
|
935
|
-
CALC_SHOWING,
|
|
935
|
+
CALC_SHOWING = 1,
|
|
936
936
|
/**
|
|
937
937
|
* used by Mutter to see if there's a fullscreen window
|
|
938
938
|
*/
|
|
939
|
-
CHECK_FULLSCREEN,
|
|
939
|
+
CHECK_FULLSCREEN = 2,
|
|
940
940
|
/**
|
|
941
941
|
* used by Mutter to send it's idea of the stacking order to the server
|
|
942
942
|
*/
|
|
943
|
-
SYNC_STACK,
|
|
943
|
+
SYNC_STACK = 3,
|
|
944
944
|
/**
|
|
945
945
|
* call before the stage is redrawn
|
|
946
946
|
*/
|
|
947
|
-
BEFORE_REDRAW,
|
|
947
|
+
BEFORE_REDRAW = 4,
|
|
948
948
|
/**
|
|
949
949
|
* call at a very low priority (can be blocked
|
|
950
950
|
* by running animations or redrawing applications)
|
|
951
951
|
*/
|
|
952
|
-
IDLE,
|
|
952
|
+
IDLE = 5,
|
|
953
953
|
}
|
|
954
954
|
|
|
955
955
|
|
|
@@ -964,8 +964,8 @@ export namespace Meta {
|
|
|
964
964
|
* @gir-type Enum
|
|
965
965
|
*/
|
|
966
966
|
enum LocaleDirection {
|
|
967
|
-
LTR,
|
|
968
|
-
RTL,
|
|
967
|
+
LTR = 0,
|
|
968
|
+
RTL = 1,
|
|
969
969
|
}
|
|
970
970
|
|
|
971
971
|
|
|
@@ -980,11 +980,11 @@ export namespace Meta {
|
|
|
980
980
|
* @gir-type Enum
|
|
981
981
|
*/
|
|
982
982
|
enum MonitorSwitchConfigType {
|
|
983
|
-
ALL_MIRROR,
|
|
984
|
-
ALL_LINEAR,
|
|
985
|
-
EXTERNAL,
|
|
986
|
-
BUILTIN,
|
|
987
|
-
UNKNOWN,
|
|
983
|
+
ALL_MIRROR = 0,
|
|
984
|
+
ALL_LINEAR = 1,
|
|
985
|
+
EXTERNAL = 2,
|
|
986
|
+
BUILTIN = 3,
|
|
987
|
+
UNKNOWN = 4,
|
|
988
988
|
}
|
|
989
989
|
|
|
990
990
|
|
|
@@ -1002,35 +1002,35 @@ export namespace Meta {
|
|
|
1002
1002
|
/**
|
|
1003
1003
|
* Upwards motion
|
|
1004
1004
|
*/
|
|
1005
|
-
UP,
|
|
1005
|
+
UP = -1,
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Downwards motion
|
|
1008
1008
|
*/
|
|
1009
|
-
DOWN,
|
|
1009
|
+
DOWN = -2,
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Motion to the left
|
|
1012
1012
|
*/
|
|
1013
|
-
LEFT,
|
|
1013
|
+
LEFT = -3,
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Motion to the right
|
|
1016
1016
|
*/
|
|
1017
|
-
RIGHT,
|
|
1017
|
+
RIGHT = -4,
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Motion up and to the left
|
|
1020
1020
|
*/
|
|
1021
|
-
UP_LEFT,
|
|
1021
|
+
UP_LEFT = -5,
|
|
1022
1022
|
/**
|
|
1023
1023
|
* Motion up and to the right
|
|
1024
1024
|
*/
|
|
1025
|
-
UP_RIGHT,
|
|
1025
|
+
UP_RIGHT = -6,
|
|
1026
1026
|
/**
|
|
1027
1027
|
* Motion down and to the left
|
|
1028
1028
|
*/
|
|
1029
|
-
DOWN_LEFT,
|
|
1029
|
+
DOWN_LEFT = -7,
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Motion down and to the right
|
|
1032
1032
|
*/
|
|
1033
|
-
DOWN_RIGHT,
|
|
1033
|
+
DOWN_RIGHT = -8,
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
1036
|
|
|
@@ -1045,9 +1045,9 @@ export namespace Meta {
|
|
|
1045
1045
|
* @gir-type Enum
|
|
1046
1046
|
*/
|
|
1047
1047
|
enum PadActionType {
|
|
1048
|
-
BUTTON,
|
|
1049
|
-
RING,
|
|
1050
|
-
STRIP,
|
|
1048
|
+
BUTTON = 0,
|
|
1049
|
+
RING = 1,
|
|
1050
|
+
STRIP = 2,
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
1053
|
|
|
@@ -1065,140 +1065,140 @@ export namespace Meta {
|
|
|
1065
1065
|
/**
|
|
1066
1066
|
* mouse button modifiers
|
|
1067
1067
|
*/
|
|
1068
|
-
MOUSE_BUTTON_MODS,
|
|
1068
|
+
MOUSE_BUTTON_MODS = 0,
|
|
1069
1069
|
/**
|
|
1070
1070
|
* focus mode
|
|
1071
1071
|
*/
|
|
1072
|
-
FOCUS_MODE,
|
|
1072
|
+
FOCUS_MODE = 1,
|
|
1073
1073
|
/**
|
|
1074
1074
|
* focus new windows
|
|
1075
1075
|
*/
|
|
1076
|
-
FOCUS_NEW_WINDOWS,
|
|
1076
|
+
FOCUS_NEW_WINDOWS = 2,
|
|
1077
1077
|
/**
|
|
1078
1078
|
* attach modal dialogs
|
|
1079
1079
|
*/
|
|
1080
|
-
ATTACH_MODAL_DIALOGS,
|
|
1080
|
+
ATTACH_MODAL_DIALOGS = 3,
|
|
1081
1081
|
/**
|
|
1082
1082
|
* raise on click
|
|
1083
1083
|
*/
|
|
1084
|
-
RAISE_ON_CLICK,
|
|
1084
|
+
RAISE_ON_CLICK = 4,
|
|
1085
1085
|
/**
|
|
1086
1086
|
* action double click titlebar
|
|
1087
1087
|
*/
|
|
1088
|
-
ACTION_DOUBLE_CLICK_TITLEBAR,
|
|
1088
|
+
ACTION_DOUBLE_CLICK_TITLEBAR = 5,
|
|
1089
1089
|
/**
|
|
1090
1090
|
* action middle click titlebar
|
|
1091
1091
|
*/
|
|
1092
|
-
ACTION_MIDDLE_CLICK_TITLEBAR,
|
|
1092
|
+
ACTION_MIDDLE_CLICK_TITLEBAR = 6,
|
|
1093
1093
|
/**
|
|
1094
1094
|
* action right click titlebar
|
|
1095
1095
|
*/
|
|
1096
|
-
ACTION_RIGHT_CLICK_TITLEBAR,
|
|
1096
|
+
ACTION_RIGHT_CLICK_TITLEBAR = 7,
|
|
1097
1097
|
/**
|
|
1098
1098
|
* auto-raise
|
|
1099
1099
|
*/
|
|
1100
|
-
AUTO_RAISE,
|
|
1100
|
+
AUTO_RAISE = 8,
|
|
1101
1101
|
/**
|
|
1102
1102
|
* auto-raise delay
|
|
1103
1103
|
*/
|
|
1104
|
-
AUTO_RAISE_DELAY,
|
|
1104
|
+
AUTO_RAISE_DELAY = 9,
|
|
1105
1105
|
/**
|
|
1106
1106
|
* focus change on pointer rest
|
|
1107
1107
|
*/
|
|
1108
|
-
FOCUS_CHANGE_ON_POINTER_REST,
|
|
1108
|
+
FOCUS_CHANGE_ON_POINTER_REST = 10,
|
|
1109
1109
|
/**
|
|
1110
1110
|
* title-bar font
|
|
1111
1111
|
*/
|
|
1112
|
-
TITLEBAR_FONT,
|
|
1112
|
+
TITLEBAR_FONT = 11,
|
|
1113
1113
|
/**
|
|
1114
1114
|
* number of workspaces
|
|
1115
1115
|
*/
|
|
1116
|
-
NUM_WORKSPACES,
|
|
1116
|
+
NUM_WORKSPACES = 12,
|
|
1117
1117
|
/**
|
|
1118
1118
|
* dynamic workspaces
|
|
1119
1119
|
*/
|
|
1120
|
-
DYNAMIC_WORKSPACES,
|
|
1120
|
+
DYNAMIC_WORKSPACES = 13,
|
|
1121
1121
|
/**
|
|
1122
1122
|
* keybindings
|
|
1123
1123
|
*/
|
|
1124
|
-
KEYBINDINGS,
|
|
1124
|
+
KEYBINDINGS = 14,
|
|
1125
1125
|
/**
|
|
1126
1126
|
* disable workarounds
|
|
1127
1127
|
*/
|
|
1128
|
-
DISABLE_WORKAROUNDS,
|
|
1128
|
+
DISABLE_WORKAROUNDS = 15,
|
|
1129
1129
|
/**
|
|
1130
1130
|
* button layout
|
|
1131
1131
|
*/
|
|
1132
|
-
BUTTON_LAYOUT,
|
|
1132
|
+
BUTTON_LAYOUT = 16,
|
|
1133
1133
|
/**
|
|
1134
1134
|
* workspace names
|
|
1135
1135
|
*/
|
|
1136
|
-
WORKSPACE_NAMES,
|
|
1136
|
+
WORKSPACE_NAMES = 17,
|
|
1137
1137
|
/**
|
|
1138
1138
|
* visual bell
|
|
1139
1139
|
*/
|
|
1140
|
-
VISUAL_BELL,
|
|
1140
|
+
VISUAL_BELL = 18,
|
|
1141
1141
|
/**
|
|
1142
1142
|
* audible bell
|
|
1143
1143
|
*/
|
|
1144
|
-
AUDIBLE_BELL,
|
|
1144
|
+
AUDIBLE_BELL = 19,
|
|
1145
1145
|
/**
|
|
1146
1146
|
* visual bell type
|
|
1147
1147
|
*/
|
|
1148
|
-
VISUAL_BELL_TYPE,
|
|
1148
|
+
VISUAL_BELL_TYPE = 20,
|
|
1149
1149
|
/**
|
|
1150
1150
|
* GNOME accessibility
|
|
1151
1151
|
*/
|
|
1152
|
-
GNOME_ACCESSIBILITY,
|
|
1152
|
+
GNOME_ACCESSIBILITY = 21,
|
|
1153
1153
|
/**
|
|
1154
1154
|
* GNOME animations
|
|
1155
1155
|
*/
|
|
1156
|
-
GNOME_ANIMATIONS,
|
|
1156
|
+
GNOME_ANIMATIONS = 22,
|
|
1157
1157
|
/**
|
|
1158
1158
|
* cursor theme
|
|
1159
1159
|
*/
|
|
1160
|
-
CURSOR_THEME,
|
|
1160
|
+
CURSOR_THEME = 23,
|
|
1161
1161
|
/**
|
|
1162
1162
|
* cursor size
|
|
1163
1163
|
*/
|
|
1164
|
-
CURSOR_SIZE,
|
|
1164
|
+
CURSOR_SIZE = 24,
|
|
1165
1165
|
/**
|
|
1166
1166
|
* resize with right button
|
|
1167
1167
|
*/
|
|
1168
|
-
RESIZE_WITH_RIGHT_BUTTON,
|
|
1168
|
+
RESIZE_WITH_RIGHT_BUTTON = 25,
|
|
1169
1169
|
/**
|
|
1170
1170
|
* edge tiling
|
|
1171
1171
|
*/
|
|
1172
|
-
EDGE_TILING,
|
|
1172
|
+
EDGE_TILING = 26,
|
|
1173
1173
|
/**
|
|
1174
1174
|
* force fullscreen
|
|
1175
1175
|
*/
|
|
1176
|
-
FORCE_FULLSCREEN,
|
|
1176
|
+
FORCE_FULLSCREEN = 27,
|
|
1177
1177
|
/**
|
|
1178
1178
|
* workspaces only on primary
|
|
1179
1179
|
*/
|
|
1180
|
-
WORKSPACES_ONLY_ON_PRIMARY,
|
|
1180
|
+
WORKSPACES_ONLY_ON_PRIMARY = 28,
|
|
1181
1181
|
/**
|
|
1182
1182
|
* draggable border width
|
|
1183
1183
|
*/
|
|
1184
|
-
DRAGGABLE_BORDER_WIDTH,
|
|
1184
|
+
DRAGGABLE_BORDER_WIDTH = 29,
|
|
1185
1185
|
/**
|
|
1186
1186
|
* auto-maximize
|
|
1187
1187
|
*/
|
|
1188
|
-
AUTO_MAXIMIZE,
|
|
1188
|
+
AUTO_MAXIMIZE = 30,
|
|
1189
1189
|
/**
|
|
1190
1190
|
* center new windows
|
|
1191
1191
|
*/
|
|
1192
|
-
CENTER_NEW_WINDOWS,
|
|
1192
|
+
CENTER_NEW_WINDOWS = 31,
|
|
1193
1193
|
/**
|
|
1194
1194
|
* drag threshold
|
|
1195
1195
|
*/
|
|
1196
|
-
DRAG_THRESHOLD,
|
|
1196
|
+
DRAG_THRESHOLD = 32,
|
|
1197
1197
|
/**
|
|
1198
1198
|
* show pointer location
|
|
1199
1199
|
*/
|
|
1200
|
-
LOCATE_POINTER,
|
|
1201
|
-
CHECK_ALIVE_TIMEOUT,
|
|
1200
|
+
LOCATE_POINTER = 33,
|
|
1201
|
+
CHECK_ALIVE_TIMEOUT = 34,
|
|
1202
1202
|
}
|
|
1203
1203
|
|
|
1204
1204
|
|
|
@@ -1213,10 +1213,10 @@ export namespace Meta {
|
|
|
1213
1213
|
* @gir-type Enum
|
|
1214
1214
|
*/
|
|
1215
1215
|
enum SelectionType {
|
|
1216
|
-
SELECTION_PRIMARY,
|
|
1217
|
-
SELECTION_CLIPBOARD,
|
|
1218
|
-
SELECTION_DND,
|
|
1219
|
-
N_SELECTION_TYPES,
|
|
1216
|
+
SELECTION_PRIMARY = 0,
|
|
1217
|
+
SELECTION_CLIPBOARD = 1,
|
|
1218
|
+
SELECTION_DND = 2,
|
|
1219
|
+
N_SELECTION_TYPES = 3,
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
1222
1222
|
|
|
@@ -1231,9 +1231,9 @@ export namespace Meta {
|
|
|
1231
1231
|
* @gir-type Enum
|
|
1232
1232
|
*/
|
|
1233
1233
|
enum ShadowMode {
|
|
1234
|
-
AUTO,
|
|
1235
|
-
FORCED_OFF,
|
|
1236
|
-
FORCED_ON,
|
|
1234
|
+
AUTO = 0,
|
|
1235
|
+
FORCED_OFF = 1,
|
|
1236
|
+
FORCED_ON = 2,
|
|
1237
1237
|
}
|
|
1238
1238
|
|
|
1239
1239
|
|
|
@@ -1251,19 +1251,19 @@ export namespace Meta {
|
|
|
1251
1251
|
/**
|
|
1252
1252
|
* Left side
|
|
1253
1253
|
*/
|
|
1254
|
-
LEFT,
|
|
1254
|
+
LEFT = 1,
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Right side
|
|
1257
1257
|
*/
|
|
1258
|
-
RIGHT,
|
|
1258
|
+
RIGHT = 2,
|
|
1259
1259
|
/**
|
|
1260
1260
|
* Top side
|
|
1261
1261
|
*/
|
|
1262
|
-
TOP,
|
|
1262
|
+
TOP = 4,
|
|
1263
1263
|
/**
|
|
1264
1264
|
* Bottom side
|
|
1265
1265
|
*/
|
|
1266
|
-
BOTTOM,
|
|
1266
|
+
BOTTOM = 8,
|
|
1267
1267
|
}
|
|
1268
1268
|
|
|
1269
1269
|
|
|
@@ -1278,10 +1278,10 @@ export namespace Meta {
|
|
|
1278
1278
|
* @gir-type Enum
|
|
1279
1279
|
*/
|
|
1280
1280
|
enum SizeChange {
|
|
1281
|
-
MAXIMIZE,
|
|
1282
|
-
UNMAXIMIZE,
|
|
1283
|
-
FULLSCREEN,
|
|
1284
|
-
UNFULLSCREEN,
|
|
1281
|
+
MAXIMIZE = 0,
|
|
1282
|
+
UNMAXIMIZE = 1,
|
|
1283
|
+
FULLSCREEN = 2,
|
|
1284
|
+
UNFULLSCREEN = 3,
|
|
1285
1285
|
}
|
|
1286
1286
|
|
|
1287
1287
|
|
|
@@ -1301,31 +1301,31 @@ export namespace Meta {
|
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Desktop layer
|
|
1303
1303
|
*/
|
|
1304
|
-
DESKTOP,
|
|
1304
|
+
DESKTOP = 0,
|
|
1305
1305
|
/**
|
|
1306
1306
|
* Bottom layer
|
|
1307
1307
|
*/
|
|
1308
|
-
BOTTOM,
|
|
1308
|
+
BOTTOM = 1,
|
|
1309
1309
|
/**
|
|
1310
1310
|
* Normal layer
|
|
1311
1311
|
*/
|
|
1312
|
-
NORMAL,
|
|
1312
|
+
NORMAL = 2,
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Top layer
|
|
1315
1315
|
*/
|
|
1316
|
-
TOP,
|
|
1316
|
+
TOP = 4,
|
|
1317
1317
|
/**
|
|
1318
1318
|
* Dock layer
|
|
1319
1319
|
*/
|
|
1320
|
-
DOCK,
|
|
1320
|
+
DOCK = 4,
|
|
1321
1321
|
/**
|
|
1322
1322
|
* Override-redirect layer
|
|
1323
1323
|
*/
|
|
1324
|
-
OVERRIDE_REDIRECT,
|
|
1324
|
+
OVERRIDE_REDIRECT = 7,
|
|
1325
1325
|
/**
|
|
1326
1326
|
* Marks the end of the {@link Meta.StackLayer} enumeration
|
|
1327
1327
|
*/
|
|
1328
|
-
LAST,
|
|
1328
|
+
LAST = 8,
|
|
1329
1329
|
}
|
|
1330
1330
|
|
|
1331
1331
|
|
|
@@ -1343,19 +1343,19 @@ export namespace Meta {
|
|
|
1343
1343
|
/**
|
|
1344
1344
|
* Normal windows
|
|
1345
1345
|
*/
|
|
1346
|
-
NORMAL,
|
|
1346
|
+
NORMAL = 0,
|
|
1347
1347
|
/**
|
|
1348
1348
|
* Dock windows
|
|
1349
1349
|
*/
|
|
1350
|
-
DOCKS,
|
|
1350
|
+
DOCKS = 1,
|
|
1351
1351
|
/**
|
|
1352
1352
|
* Groups
|
|
1353
1353
|
*/
|
|
1354
|
-
GROUP,
|
|
1354
|
+
GROUP = 2,
|
|
1355
1355
|
/**
|
|
1356
1356
|
* All windows
|
|
1357
1357
|
*/
|
|
1358
|
-
NORMAL_ALL,
|
|
1358
|
+
NORMAL_ALL = 3,
|
|
1359
1359
|
}
|
|
1360
1360
|
|
|
1361
1361
|
|
|
@@ -1373,11 +1373,11 @@ export namespace Meta {
|
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Show icon (Alt-Tab mode)
|
|
1375
1375
|
*/
|
|
1376
|
-
ICON,
|
|
1376
|
+
ICON = 0,
|
|
1377
1377
|
/**
|
|
1378
1378
|
* Show instantly (Alt-Esc mode)
|
|
1379
1379
|
*/
|
|
1380
|
-
INSTANTLY,
|
|
1380
|
+
INSTANTLY = 1,
|
|
1381
1381
|
}
|
|
1382
1382
|
|
|
1383
1383
|
|
|
@@ -1395,11 +1395,11 @@ export namespace Meta {
|
|
|
1395
1395
|
/**
|
|
1396
1396
|
* A Wayland based window
|
|
1397
1397
|
*/
|
|
1398
|
-
WAYLAND,
|
|
1398
|
+
WAYLAND = 0,
|
|
1399
1399
|
/**
|
|
1400
1400
|
* An X11 based window
|
|
1401
1401
|
*/
|
|
1402
|
-
X11,
|
|
1402
|
+
X11 = 1,
|
|
1403
1403
|
}
|
|
1404
1404
|
|
|
1405
1405
|
|
|
@@ -1418,11 +1418,11 @@ export namespace Meta {
|
|
|
1418
1418
|
/**
|
|
1419
1419
|
* the window manager menu
|
|
1420
1420
|
*/
|
|
1421
|
-
WM,
|
|
1421
|
+
WM = 0,
|
|
1422
1422
|
/**
|
|
1423
1423
|
* the (fallback) app menu
|
|
1424
1424
|
*/
|
|
1425
|
-
APP,
|
|
1425
|
+
APP = 1,
|
|
1426
1426
|
}
|
|
1427
1427
|
|
|
1428
1428
|
|
|
@@ -1440,92 +1440,128 @@ export namespace Meta {
|
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Normal
|
|
1442
1442
|
*/
|
|
1443
|
-
NORMAL,
|
|
1443
|
+
NORMAL = 0,
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Desktop
|
|
1446
1446
|
*/
|
|
1447
|
-
DESKTOP,
|
|
1447
|
+
DESKTOP = 1,
|
|
1448
1448
|
/**
|
|
1449
1449
|
* Dock
|
|
1450
1450
|
*/
|
|
1451
|
-
DOCK,
|
|
1451
|
+
DOCK = 2,
|
|
1452
1452
|
/**
|
|
1453
1453
|
* Dialog
|
|
1454
1454
|
*/
|
|
1455
|
-
DIALOG,
|
|
1455
|
+
DIALOG = 3,
|
|
1456
1456
|
/**
|
|
1457
1457
|
* Modal dialog
|
|
1458
1458
|
*/
|
|
1459
|
-
MODAL_DIALOG,
|
|
1459
|
+
MODAL_DIALOG = 4,
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Toolbar
|
|
1462
1462
|
*/
|
|
1463
|
-
TOOLBAR,
|
|
1463
|
+
TOOLBAR = 5,
|
|
1464
1464
|
/**
|
|
1465
1465
|
* Menu
|
|
1466
1466
|
*/
|
|
1467
|
-
MENU,
|
|
1467
|
+
MENU = 6,
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Utility
|
|
1470
1470
|
*/
|
|
1471
|
-
UTILITY,
|
|
1471
|
+
UTILITY = 7,
|
|
1472
1472
|
/**
|
|
1473
1473
|
* Splashcreen
|
|
1474
1474
|
*/
|
|
1475
|
-
SPLASHSCREEN,
|
|
1475
|
+
SPLASHSCREEN = 8,
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Dropdown menu
|
|
1478
1478
|
*/
|
|
1479
|
-
DROPDOWN_MENU,
|
|
1479
|
+
DROPDOWN_MENU = 9,
|
|
1480
1480
|
/**
|
|
1481
1481
|
* Popup menu
|
|
1482
1482
|
*/
|
|
1483
|
-
POPUP_MENU,
|
|
1483
|
+
POPUP_MENU = 10,
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Tooltip
|
|
1486
1486
|
*/
|
|
1487
|
-
TOOLTIP,
|
|
1487
|
+
TOOLTIP = 11,
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Notification
|
|
1490
1490
|
*/
|
|
1491
|
-
NOTIFICATION,
|
|
1491
|
+
NOTIFICATION = 12,
|
|
1492
1492
|
/**
|
|
1493
1493
|
* Combobox
|
|
1494
1494
|
*/
|
|
1495
|
-
COMBO,
|
|
1495
|
+
COMBO = 13,
|
|
1496
1496
|
/**
|
|
1497
1497
|
* Drag and drop
|
|
1498
1498
|
*/
|
|
1499
|
-
DND,
|
|
1499
|
+
DND = 14,
|
|
1500
1500
|
/**
|
|
1501
1501
|
* Other override-redirect window type
|
|
1502
1502
|
*/
|
|
1503
|
-
OVERRIDE_OTHER,
|
|
1503
|
+
OVERRIDE_OTHER = 15,
|
|
1504
1504
|
}
|
|
1505
1505
|
|
|
1506
1506
|
|
|
1507
|
+
/**
|
|
1508
|
+
* @default 0
|
|
1509
|
+
*/
|
|
1507
1510
|
const CURRENT_TIME: number;
|
|
1508
1511
|
|
|
1512
|
+
/**
|
|
1513
|
+
* @default window
|
|
1514
|
+
*/
|
|
1509
1515
|
const DEFAULT_ICON_NAME: string;
|
|
1510
1516
|
|
|
1517
|
+
/**
|
|
1518
|
+
* @default 96
|
|
1519
|
+
*/
|
|
1511
1520
|
const ICON_HEIGHT: number;
|
|
1512
1521
|
|
|
1522
|
+
/**
|
|
1523
|
+
* @default 96
|
|
1524
|
+
*/
|
|
1513
1525
|
const ICON_WIDTH: number;
|
|
1514
1526
|
|
|
1527
|
+
/**
|
|
1528
|
+
* @default 16
|
|
1529
|
+
*/
|
|
1515
1530
|
const MINI_ICON_HEIGHT: number;
|
|
1516
1531
|
|
|
1532
|
+
/**
|
|
1533
|
+
* @default 16
|
|
1534
|
+
*/
|
|
1517
1535
|
const MINI_ICON_WIDTH: number;
|
|
1518
1536
|
|
|
1537
|
+
/**
|
|
1538
|
+
* @default 40
|
|
1539
|
+
*/
|
|
1519
1540
|
const PRIORITY_BEFORE_REDRAW: number;
|
|
1520
1541
|
|
|
1542
|
+
/**
|
|
1543
|
+
* @default 10
|
|
1544
|
+
*/
|
|
1521
1545
|
const PRIORITY_PREFS_NOTIFY: number;
|
|
1522
1546
|
|
|
1547
|
+
/**
|
|
1548
|
+
* @default 50
|
|
1549
|
+
*/
|
|
1523
1550
|
const PRIORITY_REDRAW: number;
|
|
1524
1551
|
|
|
1552
|
+
/**
|
|
1553
|
+
* @default 15
|
|
1554
|
+
*/
|
|
1525
1555
|
const PRIORITY_RESIZE: number;
|
|
1526
1556
|
|
|
1557
|
+
/**
|
|
1558
|
+
* @default 3
|
|
1559
|
+
*/
|
|
1527
1560
|
const VIRTUAL_CORE_KEYBOARD_ID: number;
|
|
1528
1561
|
|
|
1562
|
+
/**
|
|
1563
|
+
* @default 2
|
|
1564
|
+
*/
|
|
1529
1565
|
const VIRTUAL_CORE_POINTER_ID: number;
|
|
1530
1566
|
|
|
1531
1567
|
/**
|
|
@@ -1878,6 +1914,9 @@ export namespace Meta {
|
|
|
1878
1914
|
*/
|
|
1879
1915
|
function x11_error_trap_push(x11_display: X11Display): void;
|
|
1880
1916
|
|
|
1917
|
+
/**
|
|
1918
|
+
* @throws GLib.Error
|
|
1919
|
+
*/
|
|
1881
1920
|
function x11_init_gdk_display(): boolean;
|
|
1882
1921
|
|
|
1883
1922
|
/**
|
|
@@ -1922,19 +1961,19 @@ export namespace Meta {
|
|
|
1922
1961
|
/**
|
|
1923
1962
|
* Positive direction in the X axis
|
|
1924
1963
|
*/
|
|
1925
|
-
POSITIVE_X,
|
|
1964
|
+
POSITIVE_X = 1,
|
|
1926
1965
|
/**
|
|
1927
1966
|
* Positive direction in the Y axis
|
|
1928
1967
|
*/
|
|
1929
|
-
POSITIVE_Y,
|
|
1968
|
+
POSITIVE_Y = 2,
|
|
1930
1969
|
/**
|
|
1931
1970
|
* Negative direction in the X axis
|
|
1932
1971
|
*/
|
|
1933
|
-
NEGATIVE_X,
|
|
1972
|
+
NEGATIVE_X = 4,
|
|
1934
1973
|
/**
|
|
1935
1974
|
* Negative direction in the Y axis
|
|
1936
1975
|
*/
|
|
1937
|
-
NEGATIVE_Y,
|
|
1976
|
+
NEGATIVE_Y = 8,
|
|
1938
1977
|
}
|
|
1939
1978
|
|
|
1940
1979
|
|
|
@@ -1952,11 +1991,11 @@ export namespace Meta {
|
|
|
1952
1991
|
/**
|
|
1953
1992
|
* default
|
|
1954
1993
|
*/
|
|
1955
|
-
NONE,
|
|
1994
|
+
NONE = 0,
|
|
1956
1995
|
/**
|
|
1957
1996
|
* paint opaque regions
|
|
1958
1997
|
*/
|
|
1959
|
-
OPAQUE_REGION,
|
|
1998
|
+
OPAQUE_REGION = 1,
|
|
1960
1999
|
}
|
|
1961
2000
|
|
|
1962
2001
|
|
|
@@ -1974,101 +2013,101 @@ export namespace Meta {
|
|
|
1974
2013
|
/**
|
|
1975
2014
|
* verbose logging
|
|
1976
2015
|
*/
|
|
1977
|
-
VERBOSE,
|
|
2016
|
+
VERBOSE = -1,
|
|
1978
2017
|
/**
|
|
1979
2018
|
* focus
|
|
1980
2019
|
*/
|
|
1981
|
-
FOCUS,
|
|
2020
|
+
FOCUS = 1,
|
|
1982
2021
|
/**
|
|
1983
2022
|
* workarea
|
|
1984
2023
|
*/
|
|
1985
|
-
WORKAREA,
|
|
2024
|
+
WORKAREA = 2,
|
|
1986
2025
|
/**
|
|
1987
2026
|
* stack
|
|
1988
2027
|
*/
|
|
1989
|
-
STACK,
|
|
2028
|
+
STACK = 4,
|
|
1990
2029
|
/**
|
|
1991
2030
|
* session management
|
|
1992
2031
|
*/
|
|
1993
|
-
SM,
|
|
2032
|
+
SM = 8,
|
|
1994
2033
|
/**
|
|
1995
2034
|
* events
|
|
1996
2035
|
*/
|
|
1997
|
-
EVENTS,
|
|
2036
|
+
EVENTS = 16,
|
|
1998
2037
|
/**
|
|
1999
2038
|
* window state
|
|
2000
2039
|
*/
|
|
2001
|
-
WINDOW_STATE,
|
|
2040
|
+
WINDOW_STATE = 32,
|
|
2002
2041
|
/**
|
|
2003
2042
|
* window operations
|
|
2004
2043
|
*/
|
|
2005
|
-
WINDOW_OPS,
|
|
2044
|
+
WINDOW_OPS = 64,
|
|
2006
2045
|
/**
|
|
2007
2046
|
* geometry
|
|
2008
2047
|
*/
|
|
2009
|
-
GEOMETRY,
|
|
2048
|
+
GEOMETRY = 128,
|
|
2010
2049
|
/**
|
|
2011
2050
|
* window placement
|
|
2012
2051
|
*/
|
|
2013
|
-
PLACEMENT,
|
|
2052
|
+
PLACEMENT = 256,
|
|
2014
2053
|
/**
|
|
2015
2054
|
* ping
|
|
2016
2055
|
*/
|
|
2017
|
-
PING,
|
|
2056
|
+
PING = 512,
|
|
2018
2057
|
/**
|
|
2019
2058
|
* keybindings
|
|
2020
2059
|
*/
|
|
2021
|
-
KEYBINDINGS,
|
|
2060
|
+
KEYBINDINGS = 1024,
|
|
2022
2061
|
/**
|
|
2023
2062
|
* sync
|
|
2024
2063
|
*/
|
|
2025
|
-
SYNC,
|
|
2064
|
+
SYNC = 2048,
|
|
2026
2065
|
/**
|
|
2027
2066
|
* startup
|
|
2028
2067
|
*/
|
|
2029
|
-
STARTUP,
|
|
2068
|
+
STARTUP = 4096,
|
|
2030
2069
|
/**
|
|
2031
2070
|
* preferences
|
|
2032
2071
|
*/
|
|
2033
|
-
PREFS,
|
|
2072
|
+
PREFS = 8192,
|
|
2034
2073
|
/**
|
|
2035
2074
|
* groups
|
|
2036
2075
|
*/
|
|
2037
|
-
GROUPS,
|
|
2076
|
+
GROUPS = 16384,
|
|
2038
2077
|
/**
|
|
2039
2078
|
* resizing
|
|
2040
2079
|
*/
|
|
2041
|
-
RESIZING,
|
|
2080
|
+
RESIZING = 32768,
|
|
2042
2081
|
/**
|
|
2043
2082
|
* shapes
|
|
2044
2083
|
*/
|
|
2045
|
-
SHAPES,
|
|
2084
|
+
SHAPES = 65536,
|
|
2046
2085
|
/**
|
|
2047
2086
|
* edge resistance
|
|
2048
2087
|
*/
|
|
2049
|
-
EDGE_RESISTANCE,
|
|
2050
|
-
DBUS,
|
|
2051
|
-
INPUT,
|
|
2088
|
+
EDGE_RESISTANCE = 131072,
|
|
2089
|
+
DBUS = 262144,
|
|
2090
|
+
INPUT = 524288,
|
|
2052
2091
|
/**
|
|
2053
2092
|
* Wayland
|
|
2054
2093
|
*/
|
|
2055
|
-
WAYLAND,
|
|
2094
|
+
WAYLAND = 1048576,
|
|
2056
2095
|
/**
|
|
2057
2096
|
* kernel mode setting
|
|
2058
2097
|
*/
|
|
2059
|
-
KMS,
|
|
2098
|
+
KMS = 2097152,
|
|
2060
2099
|
/**
|
|
2061
2100
|
* screencasting
|
|
2062
2101
|
*/
|
|
2063
|
-
SCREEN_CAST,
|
|
2102
|
+
SCREEN_CAST = 4194304,
|
|
2064
2103
|
/**
|
|
2065
2104
|
* remote desktop
|
|
2066
2105
|
*/
|
|
2067
|
-
REMOTE_DESKTOP,
|
|
2106
|
+
REMOTE_DESKTOP = 8388608,
|
|
2068
2107
|
/**
|
|
2069
2108
|
* backend
|
|
2070
2109
|
*/
|
|
2071
|
-
BACKEND,
|
|
2110
|
+
BACKEND = 16777216,
|
|
2072
2111
|
}
|
|
2073
2112
|
|
|
2074
2113
|
|
|
@@ -2086,35 +2125,35 @@ export namespace Meta {
|
|
|
2086
2125
|
/**
|
|
2087
2126
|
* Left
|
|
2088
2127
|
*/
|
|
2089
|
-
LEFT,
|
|
2128
|
+
LEFT = 1,
|
|
2090
2129
|
/**
|
|
2091
2130
|
* Right
|
|
2092
2131
|
*/
|
|
2093
|
-
RIGHT,
|
|
2132
|
+
RIGHT = 2,
|
|
2094
2133
|
/**
|
|
2095
2134
|
* Top
|
|
2096
2135
|
*/
|
|
2097
|
-
TOP,
|
|
2136
|
+
TOP = 4,
|
|
2098
2137
|
/**
|
|
2099
2138
|
* Bottom
|
|
2100
2139
|
*/
|
|
2101
|
-
BOTTOM,
|
|
2140
|
+
BOTTOM = 8,
|
|
2102
2141
|
/**
|
|
2103
2142
|
* Up
|
|
2104
2143
|
*/
|
|
2105
|
-
UP,
|
|
2144
|
+
UP = 4,
|
|
2106
2145
|
/**
|
|
2107
2146
|
* Down
|
|
2108
2147
|
*/
|
|
2109
|
-
DOWN,
|
|
2148
|
+
DOWN = 8,
|
|
2110
2149
|
/**
|
|
2111
2150
|
* Horizontal
|
|
2112
2151
|
*/
|
|
2113
|
-
HORIZONTAL,
|
|
2152
|
+
HORIZONTAL = 3,
|
|
2114
2153
|
/**
|
|
2115
2154
|
* Vertical
|
|
2116
2155
|
*/
|
|
2117
|
-
VERTICAL,
|
|
2156
|
+
VERTICAL = 12,
|
|
2118
2157
|
}
|
|
2119
2158
|
|
|
2120
2159
|
|
|
@@ -2132,67 +2171,67 @@ export namespace Meta {
|
|
|
2132
2171
|
/**
|
|
2133
2172
|
* frame allows delete
|
|
2134
2173
|
*/
|
|
2135
|
-
ALLOWS_DELETE,
|
|
2174
|
+
ALLOWS_DELETE = 1,
|
|
2136
2175
|
/**
|
|
2137
2176
|
* frame allows menu
|
|
2138
2177
|
*/
|
|
2139
|
-
ALLOWS_MENU,
|
|
2178
|
+
ALLOWS_MENU = 2,
|
|
2140
2179
|
/**
|
|
2141
2180
|
* frame allows minimize
|
|
2142
2181
|
*/
|
|
2143
|
-
ALLOWS_MINIMIZE,
|
|
2182
|
+
ALLOWS_MINIMIZE = 4,
|
|
2144
2183
|
/**
|
|
2145
2184
|
* frame allows maximize
|
|
2146
2185
|
*/
|
|
2147
|
-
ALLOWS_MAXIMIZE,
|
|
2186
|
+
ALLOWS_MAXIMIZE = 8,
|
|
2148
2187
|
/**
|
|
2149
2188
|
* frame allows vertical resize
|
|
2150
2189
|
*/
|
|
2151
|
-
ALLOWS_VERTICAL_RESIZE,
|
|
2190
|
+
ALLOWS_VERTICAL_RESIZE = 16,
|
|
2152
2191
|
/**
|
|
2153
2192
|
* frame allows horizontal resize
|
|
2154
2193
|
*/
|
|
2155
|
-
ALLOWS_HORIZONTAL_RESIZE,
|
|
2194
|
+
ALLOWS_HORIZONTAL_RESIZE = 32,
|
|
2156
2195
|
/**
|
|
2157
2196
|
* frame has focus
|
|
2158
2197
|
*/
|
|
2159
|
-
HAS_FOCUS,
|
|
2198
|
+
HAS_FOCUS = 64,
|
|
2160
2199
|
/**
|
|
2161
2200
|
* frame is shaded
|
|
2162
2201
|
*/
|
|
2163
|
-
SHADED,
|
|
2202
|
+
SHADED = 128,
|
|
2164
2203
|
/**
|
|
2165
2204
|
* frame is stuck
|
|
2166
2205
|
*/
|
|
2167
|
-
STUCK,
|
|
2206
|
+
STUCK = 256,
|
|
2168
2207
|
/**
|
|
2169
2208
|
* frame is maximized
|
|
2170
2209
|
*/
|
|
2171
|
-
MAXIMIZED,
|
|
2210
|
+
MAXIMIZED = 512,
|
|
2172
2211
|
/**
|
|
2173
2212
|
* frame allows shade
|
|
2174
2213
|
*/
|
|
2175
|
-
ALLOWS_SHADE,
|
|
2214
|
+
ALLOWS_SHADE = 1024,
|
|
2176
2215
|
/**
|
|
2177
2216
|
* frame allows move
|
|
2178
2217
|
*/
|
|
2179
|
-
ALLOWS_MOVE,
|
|
2218
|
+
ALLOWS_MOVE = 2048,
|
|
2180
2219
|
/**
|
|
2181
2220
|
* frame allows fullscreen
|
|
2182
2221
|
*/
|
|
2183
|
-
FULLSCREEN,
|
|
2222
|
+
FULLSCREEN = 4096,
|
|
2184
2223
|
/**
|
|
2185
2224
|
* frame is above
|
|
2186
2225
|
*/
|
|
2187
|
-
ABOVE,
|
|
2226
|
+
ABOVE = 8192,
|
|
2188
2227
|
/**
|
|
2189
2228
|
* frame is tiled to the left
|
|
2190
2229
|
*/
|
|
2191
|
-
TILED_LEFT,
|
|
2230
|
+
TILED_LEFT = 16384,
|
|
2192
2231
|
/**
|
|
2193
2232
|
* frame is tiled to the right
|
|
2194
2233
|
*/
|
|
2195
|
-
TILED_RIGHT,
|
|
2234
|
+
TILED_RIGHT = 32768,
|
|
2196
2235
|
}
|
|
2197
2236
|
|
|
2198
2237
|
|
|
@@ -2210,28 +2249,28 @@ export namespace Meta {
|
|
|
2210
2249
|
/**
|
|
2211
2250
|
* none
|
|
2212
2251
|
*/
|
|
2213
|
-
NONE,
|
|
2252
|
+
NONE = 0,
|
|
2214
2253
|
/**
|
|
2215
2254
|
* per-window
|
|
2216
2255
|
*/
|
|
2217
|
-
PER_WINDOW,
|
|
2256
|
+
PER_WINDOW = 1,
|
|
2218
2257
|
/**
|
|
2219
2258
|
* built-in
|
|
2220
2259
|
*/
|
|
2221
|
-
BUILTIN,
|
|
2260
|
+
BUILTIN = 2,
|
|
2222
2261
|
/**
|
|
2223
2262
|
* is reversed
|
|
2224
2263
|
*/
|
|
2225
|
-
IS_REVERSED,
|
|
2264
|
+
IS_REVERSED = 4,
|
|
2226
2265
|
/**
|
|
2227
2266
|
* always active
|
|
2228
2267
|
*/
|
|
2229
|
-
NON_MASKABLE,
|
|
2230
|
-
IGNORE_AUTOREPEAT,
|
|
2268
|
+
NON_MASKABLE = 8,
|
|
2269
|
+
IGNORE_AUTOREPEAT = 16,
|
|
2231
2270
|
/**
|
|
2232
2271
|
* not grabbed automatically
|
|
2233
2272
|
*/
|
|
2234
|
-
NO_AUTO_GRAB,
|
|
2273
|
+
NO_AUTO_GRAB = 32,
|
|
2235
2274
|
}
|
|
2236
2275
|
|
|
2237
2276
|
|
|
@@ -2249,15 +2288,15 @@ export namespace Meta {
|
|
|
2249
2288
|
/**
|
|
2250
2289
|
* Horizontal
|
|
2251
2290
|
*/
|
|
2252
|
-
HORIZONTAL,
|
|
2291
|
+
HORIZONTAL = 1,
|
|
2253
2292
|
/**
|
|
2254
2293
|
* Vertical
|
|
2255
2294
|
*/
|
|
2256
|
-
VERTICAL,
|
|
2295
|
+
VERTICAL = 2,
|
|
2257
2296
|
/**
|
|
2258
2297
|
* Both
|
|
2259
2298
|
*/
|
|
2260
|
-
BOTH,
|
|
2299
|
+
BOTH = 3,
|
|
2261
2300
|
}
|
|
2262
2301
|
|
|
2263
2302
|
|
|
@@ -2277,12 +2316,12 @@ export namespace Meta {
|
|
|
2277
2316
|
* if set the pointer is already
|
|
2278
2317
|
* grabbed by the plugin and should not be grabbed again.
|
|
2279
2318
|
*/
|
|
2280
|
-
POINTER_ALREADY_GRABBED,
|
|
2319
|
+
POINTER_ALREADY_GRABBED = 1,
|
|
2281
2320
|
/**
|
|
2282
2321
|
* if set the keyboard is already
|
|
2283
2322
|
* grabbed by the plugin and should not be grabbed again.
|
|
2284
2323
|
*/
|
|
2285
|
-
KEYBOARD_ALREADY_GRABBED,
|
|
2324
|
+
KEYBOARD_ALREADY_GRABBED = 2,
|
|
2286
2325
|
}
|
|
2287
2326
|
|
|
2288
2327
|
|
|
@@ -2300,43 +2339,43 @@ export namespace Meta {
|
|
|
2300
2339
|
/**
|
|
2301
2340
|
* Shift mask
|
|
2302
2341
|
*/
|
|
2303
|
-
SHIFT_MASK,
|
|
2342
|
+
SHIFT_MASK = 32,
|
|
2304
2343
|
/**
|
|
2305
2344
|
* Control mask
|
|
2306
2345
|
*/
|
|
2307
|
-
CONTROL_MASK,
|
|
2346
|
+
CONTROL_MASK = 64,
|
|
2308
2347
|
/**
|
|
2309
2348
|
* Alt mask
|
|
2310
2349
|
*/
|
|
2311
|
-
ALT_MASK,
|
|
2350
|
+
ALT_MASK = 128,
|
|
2312
2351
|
/**
|
|
2313
2352
|
* Meta mask
|
|
2314
2353
|
*/
|
|
2315
|
-
META_MASK,
|
|
2354
|
+
META_MASK = 256,
|
|
2316
2355
|
/**
|
|
2317
2356
|
* Super mask
|
|
2318
2357
|
*/
|
|
2319
|
-
SUPER_MASK,
|
|
2358
|
+
SUPER_MASK = 512,
|
|
2320
2359
|
/**
|
|
2321
2360
|
* Hyper mask
|
|
2322
2361
|
*/
|
|
2323
|
-
HYPER_MASK,
|
|
2362
|
+
HYPER_MASK = 1024,
|
|
2324
2363
|
/**
|
|
2325
2364
|
* Mod2 mask
|
|
2326
2365
|
*/
|
|
2327
|
-
MOD2_MASK,
|
|
2366
|
+
MOD2_MASK = 2048,
|
|
2328
2367
|
/**
|
|
2329
2368
|
* Mod3 mask
|
|
2330
2369
|
*/
|
|
2331
|
-
MOD3_MASK,
|
|
2370
|
+
MOD3_MASK = 4096,
|
|
2332
2371
|
/**
|
|
2333
2372
|
* Mod4 mask
|
|
2334
2373
|
*/
|
|
2335
|
-
MOD4_MASK,
|
|
2374
|
+
MOD4_MASK = 8192,
|
|
2336
2375
|
/**
|
|
2337
2376
|
* Mod5 mask
|
|
2338
2377
|
*/
|
|
2339
|
-
MOD5_MASK,
|
|
2378
|
+
MOD5_MASK = 16384,
|
|
2340
2379
|
}
|
|
2341
2380
|
|
|
2342
2381
|
|
|
@@ -2347,7 +2386,7 @@ export namespace Meta {
|
|
|
2347
2386
|
* @signal
|
|
2348
2387
|
* @run-last
|
|
2349
2388
|
*/
|
|
2350
|
-
"gpu-added": (
|
|
2389
|
+
"gpu-added": (gpu: unknown) => void;
|
|
2351
2390
|
/**
|
|
2352
2391
|
* @signal
|
|
2353
2392
|
* @run-last
|
|
@@ -2357,17 +2396,17 @@ export namespace Meta {
|
|
|
2357
2396
|
* @signal
|
|
2358
2397
|
* @run-last
|
|
2359
2398
|
*/
|
|
2360
|
-
"keymap-layout-group-changed": (
|
|
2399
|
+
"keymap-layout-group-changed": (object: number) => void;
|
|
2361
2400
|
/**
|
|
2362
2401
|
* @signal
|
|
2363
2402
|
* @run-last
|
|
2364
2403
|
*/
|
|
2365
|
-
"last-device-changed": (
|
|
2404
|
+
"last-device-changed": (object: Clutter.InputDevice) => void;
|
|
2366
2405
|
/**
|
|
2367
2406
|
* @signal
|
|
2368
2407
|
* @run-last
|
|
2369
2408
|
*/
|
|
2370
|
-
"lid-is-closed-changed": (
|
|
2409
|
+
"lid-is-closed-changed": (object: boolean) => void;
|
|
2371
2410
|
/**
|
|
2372
2411
|
* @signal
|
|
2373
2412
|
* @run-last
|
|
@@ -2507,6 +2546,8 @@ export namespace Meta {
|
|
|
2507
2546
|
* instance.
|
|
2508
2547
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2509
2548
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2549
|
+
* @since 2.22
|
|
2550
|
+
* @throws GLib.Error
|
|
2510
2551
|
*/
|
|
2511
2552
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2512
2553
|
|
|
@@ -2550,6 +2591,7 @@ export namespace Meta {
|
|
|
2550
2591
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2551
2592
|
* instance.
|
|
2552
2593
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2594
|
+
* @since 2.22
|
|
2553
2595
|
* @virtual
|
|
2554
2596
|
*/
|
|
2555
2597
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2802,6 +2844,7 @@ export namespace Meta {
|
|
|
2802
2844
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2803
2845
|
* @param property_name the name of the animatable property to find
|
|
2804
2846
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
2847
|
+
* @since 1.4
|
|
2805
2848
|
*/
|
|
2806
2849
|
find_property(property_name: string): GObject.ParamSpec;
|
|
2807
2850
|
|
|
@@ -2815,6 +2858,7 @@ export namespace Meta {
|
|
|
2815
2858
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2816
2859
|
* @param property_name the name of the animatable property to retrieve
|
|
2817
2860
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2861
|
+
* @since 1.4
|
|
2818
2862
|
*/
|
|
2819
2863
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2820
2864
|
|
|
@@ -2832,6 +2876,7 @@ export namespace Meta {
|
|
|
2832
2876
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2833
2877
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2834
2878
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
2879
|
+
* @since 1.8
|
|
2835
2880
|
*/
|
|
2836
2881
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
2837
2882
|
|
|
@@ -2839,12 +2884,14 @@ export namespace Meta {
|
|
|
2839
2884
|
* Sets the current state of `property_name` to `value`
|
|
2840
2885
|
* @param property_name the name of the animatable property to set
|
|
2841
2886
|
* @param value the value of the animatable property to set
|
|
2887
|
+
* @since 1.4
|
|
2842
2888
|
*/
|
|
2843
2889
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2844
2890
|
|
|
2845
2891
|
/**
|
|
2846
2892
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2847
2893
|
* @param property_name the name of the animatable property to find
|
|
2894
|
+
* @since 1.4
|
|
2848
2895
|
* @virtual
|
|
2849
2896
|
*/
|
|
2850
2897
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -2859,6 +2906,7 @@ export namespace Meta {
|
|
|
2859
2906
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2860
2907
|
* @param property_name the name of the animatable property to retrieve
|
|
2861
2908
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2909
|
+
* @since 1.4
|
|
2862
2910
|
* @virtual
|
|
2863
2911
|
*/
|
|
2864
2912
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -2876,6 +2924,7 @@ export namespace Meta {
|
|
|
2876
2924
|
* @param property_name the name of the property to interpolate
|
|
2877
2925
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2878
2926
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2927
|
+
* @since 1.8
|
|
2879
2928
|
* @virtual
|
|
2880
2929
|
*/
|
|
2881
2930
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -2884,6 +2933,7 @@ export namespace Meta {
|
|
|
2884
2933
|
* Sets the current state of `property_name` to `value`
|
|
2885
2934
|
* @param property_name the name of the animatable property to set
|
|
2886
2935
|
* @param value the value of the animatable property to set
|
|
2936
|
+
* @since 1.4
|
|
2887
2937
|
* @virtual
|
|
2888
2938
|
*/
|
|
2889
2939
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -2898,6 +2948,8 @@ export namespace Meta {
|
|
|
2898
2948
|
* deprecated virtual function. The default implementation will
|
|
2899
2949
|
* call `clutter_actor_add_child()`.
|
|
2900
2950
|
* @param actor the first {@link Clutter.Actor} to add
|
|
2951
|
+
* @since 0.4
|
|
2952
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
2901
2953
|
*/
|
|
2902
2954
|
add_actor(actor: Clutter.Actor): void;
|
|
2903
2955
|
|
|
@@ -2912,6 +2964,7 @@ export namespace Meta {
|
|
|
2912
2964
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2913
2965
|
* @param property the name of the property to set.
|
|
2914
2966
|
* @param value the value.
|
|
2967
|
+
* @since 0.8
|
|
2915
2968
|
*/
|
|
2916
2969
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2917
2970
|
|
|
@@ -2921,6 +2974,7 @@ export namespace Meta {
|
|
|
2921
2974
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
2922
2975
|
* @param child a {@link Clutter.Actor}
|
|
2923
2976
|
* @param pspec a {@link GObject.ParamSpec}
|
|
2977
|
+
* @since 1.6
|
|
2924
2978
|
*/
|
|
2925
2979
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
2926
2980
|
|
|
@@ -2929,6 +2983,7 @@ export namespace Meta {
|
|
|
2929
2983
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2930
2984
|
* @param property the name of the property to set.
|
|
2931
2985
|
* @param value the value.
|
|
2986
|
+
* @since 0.8
|
|
2932
2987
|
*/
|
|
2933
2988
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2934
2989
|
|
|
@@ -2943,6 +2998,7 @@ export namespace Meta {
|
|
|
2943
2998
|
*
|
|
2944
2999
|
* Applications should not call this function.
|
|
2945
3000
|
* @param actor a {@link Clutter.Actor}
|
|
3001
|
+
* @since 1.2
|
|
2946
3002
|
*/
|
|
2947
3003
|
create_child_meta(actor: Clutter.Actor): void;
|
|
2948
3004
|
|
|
@@ -2956,6 +3012,7 @@ export namespace Meta {
|
|
|
2956
3012
|
*
|
|
2957
3013
|
* Applications should not call this function.
|
|
2958
3014
|
* @param actor a {@link Clutter.Actor}
|
|
3015
|
+
* @since 1.2
|
|
2959
3016
|
*/
|
|
2960
3017
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
2961
3018
|
|
|
@@ -2964,6 +3021,7 @@ export namespace Meta {
|
|
|
2964
3021
|
* into any child container.
|
|
2965
3022
|
* @param child_name the name of the requested child.
|
|
2966
3023
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3024
|
+
* @since 0.6
|
|
2967
3025
|
*/
|
|
2968
3026
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
2969
3027
|
|
|
@@ -2972,12 +3030,15 @@ export namespace Meta {
|
|
|
2972
3030
|
* `container` specific state for `actor`.
|
|
2973
3031
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
2974
3032
|
* @returns the {@link Clutter.ChildMeta} for the `actor` child of `container` or `null` if the specifiec actor does not exist or the container is not configured to provide {@link Clutter.ChildMeta}<!-- -->s
|
|
3033
|
+
* @since 0.8
|
|
2975
3034
|
*/
|
|
2976
3035
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
2977
3036
|
|
|
2978
3037
|
/**
|
|
2979
3038
|
* Retrieves all the children of `container`.
|
|
2980
3039
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3040
|
+
* @since 0.4
|
|
3041
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
2981
3042
|
*/
|
|
2982
3043
|
get_children(): Clutter.Actor[];
|
|
2983
3044
|
|
|
@@ -2989,6 +3050,8 @@ export namespace Meta {
|
|
|
2989
3050
|
* `clutter_actor_set_child_below_sibling()`.
|
|
2990
3051
|
* @param actor the actor to raise
|
|
2991
3052
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3053
|
+
* @since 0.6
|
|
3054
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
2992
3055
|
*/
|
|
2993
3056
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
2994
3057
|
|
|
@@ -3000,6 +3063,8 @@ export namespace Meta {
|
|
|
3000
3063
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3001
3064
|
* @param actor the actor to raise
|
|
3002
3065
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3066
|
+
* @since 0.6
|
|
3067
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3003
3068
|
*/
|
|
3004
3069
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3005
3070
|
|
|
@@ -3013,12 +3078,16 @@ export namespace Meta {
|
|
|
3013
3078
|
* deprecated virtual function. The default implementation will call
|
|
3014
3079
|
* `clutter_actor_remove_child()`.
|
|
3015
3080
|
* @param actor a {@link Clutter.Actor}
|
|
3081
|
+
* @since 0.4
|
|
3082
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3016
3083
|
*/
|
|
3017
3084
|
remove_actor(actor: Clutter.Actor): void;
|
|
3018
3085
|
|
|
3019
3086
|
/**
|
|
3020
3087
|
* Sorts a container's children using their depth. This function should not
|
|
3021
3088
|
* be normally used by applications.
|
|
3089
|
+
* @since 0.6
|
|
3090
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
3022
3091
|
*/
|
|
3023
3092
|
sort_depth_order(): void;
|
|
3024
3093
|
|
|
@@ -3044,6 +3113,8 @@ export namespace Meta {
|
|
|
3044
3113
|
* deprecated virtual function. The default implementation will
|
|
3045
3114
|
* call `clutter_actor_add_child()`.
|
|
3046
3115
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3116
|
+
* @since 0.4
|
|
3117
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3047
3118
|
* @virtual
|
|
3048
3119
|
*/
|
|
3049
3120
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3054,6 +3125,7 @@ export namespace Meta {
|
|
|
3054
3125
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3055
3126
|
* @param child a {@link Clutter.Actor}
|
|
3056
3127
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3128
|
+
* @since 1.6
|
|
3057
3129
|
* @virtual
|
|
3058
3130
|
*/
|
|
3059
3131
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3069,6 +3141,7 @@ export namespace Meta {
|
|
|
3069
3141
|
*
|
|
3070
3142
|
* Applications should not call this function.
|
|
3071
3143
|
* @param actor a {@link Clutter.Actor}
|
|
3144
|
+
* @since 1.2
|
|
3072
3145
|
* @virtual
|
|
3073
3146
|
*/
|
|
3074
3147
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3083,6 +3156,7 @@ export namespace Meta {
|
|
|
3083
3156
|
*
|
|
3084
3157
|
* Applications should not call this function.
|
|
3085
3158
|
* @param actor a {@link Clutter.Actor}
|
|
3159
|
+
* @since 1.2
|
|
3086
3160
|
* @virtual
|
|
3087
3161
|
*/
|
|
3088
3162
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3091,6 +3165,7 @@ export namespace Meta {
|
|
|
3091
3165
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3092
3166
|
* `container` specific state for `actor`.
|
|
3093
3167
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3168
|
+
* @since 0.8
|
|
3094
3169
|
* @virtual
|
|
3095
3170
|
*/
|
|
3096
3171
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3103,6 +3178,8 @@ export namespace Meta {
|
|
|
3103
3178
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3104
3179
|
* @param actor the actor to raise
|
|
3105
3180
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3181
|
+
* @since 0.6
|
|
3182
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3106
3183
|
* @virtual
|
|
3107
3184
|
*/
|
|
3108
3185
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3115,6 +3192,8 @@ export namespace Meta {
|
|
|
3115
3192
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3116
3193
|
* @param actor the actor to raise
|
|
3117
3194
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3195
|
+
* @since 0.6
|
|
3196
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3118
3197
|
* @virtual
|
|
3119
3198
|
*/
|
|
3120
3199
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3129,6 +3208,8 @@ export namespace Meta {
|
|
|
3129
3208
|
* deprecated virtual function. The default implementation will call
|
|
3130
3209
|
* `clutter_actor_remove_child()`.
|
|
3131
3210
|
* @param actor a {@link Clutter.Actor}
|
|
3211
|
+
* @since 0.4
|
|
3212
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3132
3213
|
* @virtual
|
|
3133
3214
|
*/
|
|
3134
3215
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3136,6 +3217,8 @@ export namespace Meta {
|
|
|
3136
3217
|
/**
|
|
3137
3218
|
* Sorts a container's children using their depth. This function should not
|
|
3138
3219
|
* be normally used by applications.
|
|
3220
|
+
* @since 0.6
|
|
3221
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
3139
3222
|
* @virtual
|
|
3140
3223
|
*/
|
|
3141
3224
|
vfunc_sort_depth_order(): void;
|
|
@@ -3143,6 +3226,7 @@ export namespace Meta {
|
|
|
3143
3226
|
/**
|
|
3144
3227
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3145
3228
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3229
|
+
* @since 0.6
|
|
3146
3230
|
*/
|
|
3147
3231
|
get_id(): string;
|
|
3148
3232
|
|
|
@@ -3154,6 +3238,7 @@ export namespace Meta {
|
|
|
3154
3238
|
* @param name the name of the node
|
|
3155
3239
|
* @param node the JSON node to be parsed
|
|
3156
3240
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3241
|
+
* @since 0.6
|
|
3157
3242
|
*/
|
|
3158
3243
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3159
3244
|
|
|
@@ -3163,6 +3248,7 @@ export namespace Meta {
|
|
|
3163
3248
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3164
3249
|
* @param name the name of the property
|
|
3165
3250
|
* @param value the value of the property
|
|
3251
|
+
* @since 0.6
|
|
3166
3252
|
*/
|
|
3167
3253
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3168
3254
|
|
|
@@ -3174,11 +3260,13 @@ export namespace Meta {
|
|
|
3174
3260
|
* define a unique name for an object constructable using the UI
|
|
3175
3261
|
* definition language parsed by {@link Clutter.Script}.
|
|
3176
3262
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3263
|
+
* @since 0.6
|
|
3177
3264
|
*/
|
|
3178
3265
|
set_id(id_: string): void;
|
|
3179
3266
|
|
|
3180
3267
|
/**
|
|
3181
3268
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3269
|
+
* @since 0.6
|
|
3182
3270
|
* @virtual
|
|
3183
3271
|
*/
|
|
3184
3272
|
vfunc_get_id(): string;
|
|
@@ -3190,6 +3278,7 @@ export namespace Meta {
|
|
|
3190
3278
|
* @param value the generic value to be set
|
|
3191
3279
|
* @param name the name of the node
|
|
3192
3280
|
* @param node the JSON node to be parsed
|
|
3281
|
+
* @since 0.6
|
|
3193
3282
|
* @virtual
|
|
3194
3283
|
*/
|
|
3195
3284
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3200,6 +3289,7 @@ export namespace Meta {
|
|
|
3200
3289
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3201
3290
|
* @param name the name of the property
|
|
3202
3291
|
* @param value the value of the property
|
|
3292
|
+
* @since 0.6
|
|
3203
3293
|
* @virtual
|
|
3204
3294
|
*/
|
|
3205
3295
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3212,6 +3302,7 @@ export namespace Meta {
|
|
|
3212
3302
|
* define a unique name for an object constructable using the UI
|
|
3213
3303
|
* definition language parsed by {@link Clutter.Script}.
|
|
3214
3304
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3305
|
+
* @since 0.6
|
|
3215
3306
|
* @virtual
|
|
3216
3307
|
*/
|
|
3217
3308
|
vfunc_set_id(id_: string): void;
|
|
@@ -3390,6 +3481,7 @@ export namespace Meta {
|
|
|
3390
3481
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3391
3482
|
* for instance the size of an image data.
|
|
3392
3483
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
3484
|
+
* @since 1.10
|
|
3393
3485
|
*/
|
|
3394
3486
|
get_preferred_size(): [boolean, number, number];
|
|
3395
3487
|
|
|
@@ -3399,6 +3491,7 @@ export namespace Meta {
|
|
|
3399
3491
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3400
3492
|
* they change the way a the content should be painted regardless of the
|
|
3401
3493
|
* actor state.
|
|
3494
|
+
* @since 1.10
|
|
3402
3495
|
*/
|
|
3403
3496
|
invalidate(): void;
|
|
3404
3497
|
|
|
@@ -3429,6 +3522,7 @@ export namespace Meta {
|
|
|
3429
3522
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
3430
3523
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3431
3524
|
* for instance the size of an image data.
|
|
3525
|
+
* @since 1.10
|
|
3432
3526
|
* @virtual
|
|
3433
3527
|
*/
|
|
3434
3528
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -3439,6 +3533,7 @@ export namespace Meta {
|
|
|
3439
3533
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3440
3534
|
* they change the way a the content should be painted regardless of the
|
|
3441
3535
|
* actor state.
|
|
3536
|
+
* @since 1.10
|
|
3442
3537
|
* @virtual
|
|
3443
3538
|
*/
|
|
3444
3539
|
vfunc_invalidate(): void;
|
|
@@ -3581,6 +3676,7 @@ export namespace Meta {
|
|
|
3581
3676
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3582
3677
|
* @param property_name the name of the animatable property to find
|
|
3583
3678
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
3679
|
+
* @since 1.4
|
|
3584
3680
|
*/
|
|
3585
3681
|
find_property(property_name: string): GObject.ParamSpec;
|
|
3586
3682
|
|
|
@@ -3594,6 +3690,7 @@ export namespace Meta {
|
|
|
3594
3690
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3595
3691
|
* @param property_name the name of the animatable property to retrieve
|
|
3596
3692
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3693
|
+
* @since 1.4
|
|
3597
3694
|
*/
|
|
3598
3695
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3599
3696
|
|
|
@@ -3611,6 +3708,7 @@ export namespace Meta {
|
|
|
3611
3708
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3612
3709
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3613
3710
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
3711
|
+
* @since 1.8
|
|
3614
3712
|
*/
|
|
3615
3713
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
3616
3714
|
|
|
@@ -3618,12 +3716,14 @@ export namespace Meta {
|
|
|
3618
3716
|
* Sets the current state of `property_name` to `value`
|
|
3619
3717
|
* @param property_name the name of the animatable property to set
|
|
3620
3718
|
* @param value the value of the animatable property to set
|
|
3719
|
+
* @since 1.4
|
|
3621
3720
|
*/
|
|
3622
3721
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3623
3722
|
|
|
3624
3723
|
/**
|
|
3625
3724
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3626
3725
|
* @param property_name the name of the animatable property to find
|
|
3726
|
+
* @since 1.4
|
|
3627
3727
|
* @virtual
|
|
3628
3728
|
*/
|
|
3629
3729
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -3638,6 +3738,7 @@ export namespace Meta {
|
|
|
3638
3738
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3639
3739
|
* @param property_name the name of the animatable property to retrieve
|
|
3640
3740
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3741
|
+
* @since 1.4
|
|
3641
3742
|
* @virtual
|
|
3642
3743
|
*/
|
|
3643
3744
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -3655,6 +3756,7 @@ export namespace Meta {
|
|
|
3655
3756
|
* @param property_name the name of the property to interpolate
|
|
3656
3757
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3657
3758
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3759
|
+
* @since 1.8
|
|
3658
3760
|
* @virtual
|
|
3659
3761
|
*/
|
|
3660
3762
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -3663,6 +3765,7 @@ export namespace Meta {
|
|
|
3663
3765
|
* Sets the current state of `property_name` to `value`
|
|
3664
3766
|
* @param property_name the name of the animatable property to set
|
|
3665
3767
|
* @param value the value of the animatable property to set
|
|
3768
|
+
* @since 1.4
|
|
3666
3769
|
* @virtual
|
|
3667
3770
|
*/
|
|
3668
3771
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -3677,6 +3780,8 @@ export namespace Meta {
|
|
|
3677
3780
|
* deprecated virtual function. The default implementation will
|
|
3678
3781
|
* call `clutter_actor_add_child()`.
|
|
3679
3782
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3783
|
+
* @since 0.4
|
|
3784
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3680
3785
|
*/
|
|
3681
3786
|
add_actor(actor: Clutter.Actor): void;
|
|
3682
3787
|
|
|
@@ -3691,6 +3796,7 @@ export namespace Meta {
|
|
|
3691
3796
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3692
3797
|
* @param property the name of the property to set.
|
|
3693
3798
|
* @param value the value.
|
|
3799
|
+
* @since 0.8
|
|
3694
3800
|
*/
|
|
3695
3801
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3696
3802
|
|
|
@@ -3700,6 +3806,7 @@ export namespace Meta {
|
|
|
3700
3806
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3701
3807
|
* @param child a {@link Clutter.Actor}
|
|
3702
3808
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3809
|
+
* @since 1.6
|
|
3703
3810
|
*/
|
|
3704
3811
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
3705
3812
|
|
|
@@ -3708,6 +3815,7 @@ export namespace Meta {
|
|
|
3708
3815
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3709
3816
|
* @param property the name of the property to set.
|
|
3710
3817
|
* @param value the value.
|
|
3818
|
+
* @since 0.8
|
|
3711
3819
|
*/
|
|
3712
3820
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3713
3821
|
|
|
@@ -3722,6 +3830,7 @@ export namespace Meta {
|
|
|
3722
3830
|
*
|
|
3723
3831
|
* Applications should not call this function.
|
|
3724
3832
|
* @param actor a {@link Clutter.Actor}
|
|
3833
|
+
* @since 1.2
|
|
3725
3834
|
*/
|
|
3726
3835
|
create_child_meta(actor: Clutter.Actor): void;
|
|
3727
3836
|
|
|
@@ -3735,6 +3844,7 @@ export namespace Meta {
|
|
|
3735
3844
|
*
|
|
3736
3845
|
* Applications should not call this function.
|
|
3737
3846
|
* @param actor a {@link Clutter.Actor}
|
|
3847
|
+
* @since 1.2
|
|
3738
3848
|
*/
|
|
3739
3849
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
3740
3850
|
|
|
@@ -3743,6 +3853,7 @@ export namespace Meta {
|
|
|
3743
3853
|
* into any child container.
|
|
3744
3854
|
* @param child_name the name of the requested child.
|
|
3745
3855
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3856
|
+
* @since 0.6
|
|
3746
3857
|
*/
|
|
3747
3858
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3748
3859
|
|
|
@@ -3751,12 +3862,15 @@ export namespace Meta {
|
|
|
3751
3862
|
* `container` specific state for `actor`.
|
|
3752
3863
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3753
3864
|
* @returns the {@link Clutter.ChildMeta} for the `actor` child of `container` or `null` if the specifiec actor does not exist or the container is not configured to provide {@link Clutter.ChildMeta}<!-- -->s
|
|
3865
|
+
* @since 0.8
|
|
3754
3866
|
*/
|
|
3755
3867
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3756
3868
|
|
|
3757
3869
|
/**
|
|
3758
3870
|
* Retrieves all the children of `container`.
|
|
3759
3871
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3872
|
+
* @since 0.4
|
|
3873
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3760
3874
|
*/
|
|
3761
3875
|
get_children(): Clutter.Actor[];
|
|
3762
3876
|
|
|
@@ -3768,6 +3882,8 @@ export namespace Meta {
|
|
|
3768
3882
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3769
3883
|
* @param actor the actor to raise
|
|
3770
3884
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3885
|
+
* @since 0.6
|
|
3886
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3771
3887
|
*/
|
|
3772
3888
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3773
3889
|
|
|
@@ -3779,6 +3895,8 @@ export namespace Meta {
|
|
|
3779
3895
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3780
3896
|
* @param actor the actor to raise
|
|
3781
3897
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3898
|
+
* @since 0.6
|
|
3899
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3782
3900
|
*/
|
|
3783
3901
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3784
3902
|
|
|
@@ -3792,12 +3910,16 @@ export namespace Meta {
|
|
|
3792
3910
|
* deprecated virtual function. The default implementation will call
|
|
3793
3911
|
* `clutter_actor_remove_child()`.
|
|
3794
3912
|
* @param actor a {@link Clutter.Actor}
|
|
3913
|
+
* @since 0.4
|
|
3914
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3795
3915
|
*/
|
|
3796
3916
|
remove_actor(actor: Clutter.Actor): void;
|
|
3797
3917
|
|
|
3798
3918
|
/**
|
|
3799
3919
|
* Sorts a container's children using their depth. This function should not
|
|
3800
3920
|
* be normally used by applications.
|
|
3921
|
+
* @since 0.6
|
|
3922
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
3801
3923
|
*/
|
|
3802
3924
|
sort_depth_order(): void;
|
|
3803
3925
|
|
|
@@ -3823,6 +3945,8 @@ export namespace Meta {
|
|
|
3823
3945
|
* deprecated virtual function. The default implementation will
|
|
3824
3946
|
* call `clutter_actor_add_child()`.
|
|
3825
3947
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3948
|
+
* @since 0.4
|
|
3949
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3826
3950
|
* @virtual
|
|
3827
3951
|
*/
|
|
3828
3952
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3833,6 +3957,7 @@ export namespace Meta {
|
|
|
3833
3957
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3834
3958
|
* @param child a {@link Clutter.Actor}
|
|
3835
3959
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3960
|
+
* @since 1.6
|
|
3836
3961
|
* @virtual
|
|
3837
3962
|
*/
|
|
3838
3963
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3848,6 +3973,7 @@ export namespace Meta {
|
|
|
3848
3973
|
*
|
|
3849
3974
|
* Applications should not call this function.
|
|
3850
3975
|
* @param actor a {@link Clutter.Actor}
|
|
3976
|
+
* @since 1.2
|
|
3851
3977
|
* @virtual
|
|
3852
3978
|
*/
|
|
3853
3979
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3862,6 +3988,7 @@ export namespace Meta {
|
|
|
3862
3988
|
*
|
|
3863
3989
|
* Applications should not call this function.
|
|
3864
3990
|
* @param actor a {@link Clutter.Actor}
|
|
3991
|
+
* @since 1.2
|
|
3865
3992
|
* @virtual
|
|
3866
3993
|
*/
|
|
3867
3994
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3870,6 +3997,7 @@ export namespace Meta {
|
|
|
3870
3997
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3871
3998
|
* `container` specific state for `actor`.
|
|
3872
3999
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
4000
|
+
* @since 0.8
|
|
3873
4001
|
* @virtual
|
|
3874
4002
|
*/
|
|
3875
4003
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3882,6 +4010,8 @@ export namespace Meta {
|
|
|
3882
4010
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3883
4011
|
* @param actor the actor to raise
|
|
3884
4012
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
4013
|
+
* @since 0.6
|
|
4014
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3885
4015
|
* @virtual
|
|
3886
4016
|
*/
|
|
3887
4017
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3894,6 +4024,8 @@ export namespace Meta {
|
|
|
3894
4024
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3895
4025
|
* @param actor the actor to raise
|
|
3896
4026
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
4027
|
+
* @since 0.6
|
|
4028
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3897
4029
|
* @virtual
|
|
3898
4030
|
*/
|
|
3899
4031
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3908,6 +4040,8 @@ export namespace Meta {
|
|
|
3908
4040
|
* deprecated virtual function. The default implementation will call
|
|
3909
4041
|
* `clutter_actor_remove_child()`.
|
|
3910
4042
|
* @param actor a {@link Clutter.Actor}
|
|
4043
|
+
* @since 0.4
|
|
4044
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3911
4045
|
* @virtual
|
|
3912
4046
|
*/
|
|
3913
4047
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3915,6 +4049,8 @@ export namespace Meta {
|
|
|
3915
4049
|
/**
|
|
3916
4050
|
* Sorts a container's children using their depth. This function should not
|
|
3917
4051
|
* be normally used by applications.
|
|
4052
|
+
* @since 0.6
|
|
4053
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
3918
4054
|
* @virtual
|
|
3919
4055
|
*/
|
|
3920
4056
|
vfunc_sort_depth_order(): void;
|
|
@@ -3922,6 +4058,7 @@ export namespace Meta {
|
|
|
3922
4058
|
/**
|
|
3923
4059
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3924
4060
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
4061
|
+
* @since 0.6
|
|
3925
4062
|
*/
|
|
3926
4063
|
get_id(): string;
|
|
3927
4064
|
|
|
@@ -3933,6 +4070,7 @@ export namespace Meta {
|
|
|
3933
4070
|
* @param name the name of the node
|
|
3934
4071
|
* @param node the JSON node to be parsed
|
|
3935
4072
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
4073
|
+
* @since 0.6
|
|
3936
4074
|
*/
|
|
3937
4075
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3938
4076
|
|
|
@@ -3942,6 +4080,7 @@ export namespace Meta {
|
|
|
3942
4080
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3943
4081
|
* @param name the name of the property
|
|
3944
4082
|
* @param value the value of the property
|
|
4083
|
+
* @since 0.6
|
|
3945
4084
|
*/
|
|
3946
4085
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3947
4086
|
|
|
@@ -3953,11 +4092,13 @@ export namespace Meta {
|
|
|
3953
4092
|
* define a unique name for an object constructable using the UI
|
|
3954
4093
|
* definition language parsed by {@link Clutter.Script}.
|
|
3955
4094
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4095
|
+
* @since 0.6
|
|
3956
4096
|
*/
|
|
3957
4097
|
set_id(id_: string): void;
|
|
3958
4098
|
|
|
3959
4099
|
/**
|
|
3960
4100
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
4101
|
+
* @since 0.6
|
|
3961
4102
|
* @virtual
|
|
3962
4103
|
*/
|
|
3963
4104
|
vfunc_get_id(): string;
|
|
@@ -3969,6 +4110,7 @@ export namespace Meta {
|
|
|
3969
4110
|
* @param value the generic value to be set
|
|
3970
4111
|
* @param name the name of the node
|
|
3971
4112
|
* @param node the JSON node to be parsed
|
|
4113
|
+
* @since 0.6
|
|
3972
4114
|
* @virtual
|
|
3973
4115
|
*/
|
|
3974
4116
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3979,6 +4121,7 @@ export namespace Meta {
|
|
|
3979
4121
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3980
4122
|
* @param name the name of the property
|
|
3981
4123
|
* @param value the value of the property
|
|
4124
|
+
* @since 0.6
|
|
3982
4125
|
* @virtual
|
|
3983
4126
|
*/
|
|
3984
4127
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3991,6 +4134,7 @@ export namespace Meta {
|
|
|
3991
4134
|
* define a unique name for an object constructable using the UI
|
|
3992
4135
|
* definition language parsed by {@link Clutter.Script}.
|
|
3993
4136
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4137
|
+
* @since 0.6
|
|
3994
4138
|
* @virtual
|
|
3995
4139
|
*/
|
|
3996
4140
|
vfunc_set_id(id_: string): void;
|
|
@@ -4145,14 +4289,14 @@ export namespace Meta {
|
|
|
4145
4289
|
* @signal
|
|
4146
4290
|
* @run-first
|
|
4147
4291
|
*/
|
|
4148
|
-
hit: (
|
|
4292
|
+
hit: (event: BarrierEvent) => void;
|
|
4149
4293
|
/**
|
|
4150
4294
|
* When a pointer barrier hitbox was left, this will trigger.
|
|
4151
4295
|
* This requires an XI2-enabled server.
|
|
4152
4296
|
* @signal
|
|
4153
4297
|
* @run-first
|
|
4154
4298
|
*/
|
|
4155
|
-
left: (
|
|
4299
|
+
left: (event: BarrierEvent) => void;
|
|
4156
4300
|
"notify::directions": (pspec: GObject.ParamSpec) => void;
|
|
4157
4301
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
4158
4302
|
"notify::x1": (pspec: GObject.ParamSpec) => void;
|
|
@@ -4331,6 +4475,7 @@ export namespace Meta {
|
|
|
4331
4475
|
/**
|
|
4332
4476
|
* @param argv Address of the`argv` parameter of `main()`, or `null`.
|
|
4333
4477
|
* @returns `true` if the commandline arguments (if any) were valid and if the configuration has been successfull, `false` otherwise
|
|
4478
|
+
* @throws GLib.Error
|
|
4334
4479
|
*/
|
|
4335
4480
|
configure(argv: string[] | null): [boolean, string[] | null];
|
|
4336
4481
|
|
|
@@ -4352,6 +4497,9 @@ export namespace Meta {
|
|
|
4352
4497
|
|
|
4353
4498
|
notify_ready(): void;
|
|
4354
4499
|
|
|
4500
|
+
/**
|
|
4501
|
+
* @throws GLib.Error
|
|
4502
|
+
*/
|
|
4355
4503
|
run_main_loop(): boolean;
|
|
4356
4504
|
|
|
4357
4505
|
/**
|
|
@@ -4369,8 +4517,14 @@ export namespace Meta {
|
|
|
4369
4517
|
*/
|
|
4370
4518
|
set_plugin_name(plugin_name: string): void;
|
|
4371
4519
|
|
|
4520
|
+
/**
|
|
4521
|
+
* @throws GLib.Error
|
|
4522
|
+
*/
|
|
4372
4523
|
setup(): boolean;
|
|
4373
4524
|
|
|
4525
|
+
/**
|
|
4526
|
+
* @throws GLib.Error
|
|
4527
|
+
*/
|
|
4374
4528
|
start(): boolean;
|
|
4375
4529
|
|
|
4376
4530
|
terminate(): void;
|
|
@@ -4484,7 +4638,7 @@ export namespace Meta {
|
|
|
4484
4638
|
* @signal
|
|
4485
4639
|
* @run-last
|
|
4486
4640
|
*/
|
|
4487
|
-
"accelerator-activated": (
|
|
4641
|
+
"accelerator-activated": (object: number, p0: Clutter.InputDevice, p1: number) => void;
|
|
4488
4642
|
/**
|
|
4489
4643
|
* @signal
|
|
4490
4644
|
* @run-last
|
|
@@ -4504,12 +4658,12 @@ export namespace Meta {
|
|
|
4504
4658
|
* @signal
|
|
4505
4659
|
* @run-last
|
|
4506
4660
|
*/
|
|
4507
|
-
"grab-op-begin": (
|
|
4661
|
+
"grab-op-begin": (object: Window, p0: GrabOp) => void;
|
|
4508
4662
|
/**
|
|
4509
4663
|
* @signal
|
|
4510
4664
|
* @run-last
|
|
4511
4665
|
*/
|
|
4512
|
-
"grab-op-end": (
|
|
4666
|
+
"grab-op-end": (object: Window, p0: GrabOp) => void;
|
|
4513
4667
|
/**
|
|
4514
4668
|
* @signal
|
|
4515
4669
|
* @run-last
|
|
@@ -4519,7 +4673,7 @@ export namespace Meta {
|
|
|
4519
4673
|
* @signal
|
|
4520
4674
|
* @run-last
|
|
4521
4675
|
*/
|
|
4522
|
-
"init-xserver": (
|
|
4676
|
+
"init-xserver": (object: Gio.Task) => boolean | void;
|
|
4523
4677
|
/**
|
|
4524
4678
|
* The ::modifiers-accelerator-activated signal will be emitted when
|
|
4525
4679
|
* a special modifiers-only keybinding is activated.
|
|
@@ -4536,7 +4690,7 @@ export namespace Meta {
|
|
|
4536
4690
|
* @signal
|
|
4537
4691
|
* @run-last
|
|
4538
4692
|
*/
|
|
4539
|
-
"pad-mode-switch": (
|
|
4693
|
+
"pad-mode-switch": (object: Clutter.InputDevice, p0: number, p1: number) => void;
|
|
4540
4694
|
/**
|
|
4541
4695
|
* @signal
|
|
4542
4696
|
* @run-last
|
|
@@ -4556,18 +4710,18 @@ export namespace Meta {
|
|
|
4556
4710
|
* @signal
|
|
4557
4711
|
* @run-last
|
|
4558
4712
|
*/
|
|
4559
|
-
"show-osd": (
|
|
4713
|
+
"show-osd": (object: number, p0: string, p1: string) => void;
|
|
4560
4714
|
/**
|
|
4561
4715
|
* Requests the pad button mapping OSD to be shown.
|
|
4562
4716
|
* @signal
|
|
4563
4717
|
* @run-last
|
|
4564
4718
|
*/
|
|
4565
|
-
"show-pad-osd": (
|
|
4719
|
+
"show-pad-osd": (pad: Clutter.InputDevice, settings: Gio.Settings, layout_path: string, edition_mode: boolean, monitor_idx: number) => Clutter.Actor | null;
|
|
4566
4720
|
/**
|
|
4567
4721
|
* @signal
|
|
4568
4722
|
* @run-last
|
|
4569
4723
|
*/
|
|
4570
|
-
"show-resize-popup": (
|
|
4724
|
+
"show-resize-popup": (object: boolean, p0: Rectangle, p1: number, p2: number) => boolean | void;
|
|
4571
4725
|
/**
|
|
4572
4726
|
* The ::show-restart-message signal will be emitted to indicate
|
|
4573
4727
|
* that the compositor should show a message during restart. This is
|
|
@@ -4582,7 +4736,7 @@ export namespace Meta {
|
|
|
4582
4736
|
* @signal
|
|
4583
4737
|
* @run-last
|
|
4584
4738
|
*/
|
|
4585
|
-
"show-restart-message": (
|
|
4739
|
+
"show-restart-message": (message: string | null) => boolean | void;
|
|
4586
4740
|
/**
|
|
4587
4741
|
* @signal
|
|
4588
4742
|
* @run-last
|
|
@@ -4592,27 +4746,27 @@ export namespace Meta {
|
|
|
4592
4746
|
* @signal
|
|
4593
4747
|
* @run-last
|
|
4594
4748
|
*/
|
|
4595
|
-
"window-created": (
|
|
4749
|
+
"window-created": (object: Window) => void;
|
|
4596
4750
|
/**
|
|
4597
4751
|
* @signal
|
|
4598
4752
|
* @run-last
|
|
4599
4753
|
*/
|
|
4600
|
-
"window-demands-attention": (
|
|
4754
|
+
"window-demands-attention": (object: Window) => void;
|
|
4601
4755
|
/**
|
|
4602
4756
|
* @signal
|
|
4603
4757
|
* @run-last
|
|
4604
4758
|
*/
|
|
4605
|
-
"window-entered-monitor": (
|
|
4759
|
+
"window-entered-monitor": (object: number, p0: Window) => void;
|
|
4606
4760
|
/**
|
|
4607
4761
|
* @signal
|
|
4608
4762
|
* @run-last
|
|
4609
4763
|
*/
|
|
4610
|
-
"window-left-monitor": (
|
|
4764
|
+
"window-left-monitor": (object: number, p0: Window) => void;
|
|
4611
4765
|
/**
|
|
4612
4766
|
* @signal
|
|
4613
4767
|
* @run-last
|
|
4614
4768
|
*/
|
|
4615
|
-
"window-marked-urgent": (
|
|
4769
|
+
"window-marked-urgent": (object: Window) => void;
|
|
4616
4770
|
/**
|
|
4617
4771
|
* @signal
|
|
4618
4772
|
* @run-last
|
|
@@ -5038,7 +5192,7 @@ export namespace Meta {
|
|
|
5038
5192
|
* @signal
|
|
5039
5193
|
* @run-last
|
|
5040
5194
|
*/
|
|
5041
|
-
"dnd-position-change": (
|
|
5195
|
+
"dnd-position-change": (object: number, p0: number) => void;
|
|
5042
5196
|
}
|
|
5043
5197
|
|
|
5044
5198
|
// Constructor properties interface
|
|
@@ -5616,7 +5770,7 @@ export namespace Meta {
|
|
|
5616
5770
|
* @signal
|
|
5617
5771
|
* @run-last
|
|
5618
5772
|
*/
|
|
5619
|
-
"new-handle": (
|
|
5773
|
+
"new-handle": (object: RemoteAccessHandle) => void;
|
|
5620
5774
|
}
|
|
5621
5775
|
|
|
5622
5776
|
// Constructor properties interface
|
|
@@ -5758,7 +5912,7 @@ export namespace Meta {
|
|
|
5758
5912
|
* @signal
|
|
5759
5913
|
* @run-last
|
|
5760
5914
|
*/
|
|
5761
|
-
"owner-changed": (
|
|
5915
|
+
"owner-changed": (object: number, p0: SelectionSource) => void;
|
|
5762
5916
|
}
|
|
5763
5917
|
|
|
5764
5918
|
// Constructor properties interface
|
|
@@ -5855,6 +6009,7 @@ export namespace Meta {
|
|
|
5855
6009
|
* Finishes the transfer of a queried mimetype.
|
|
5856
6010
|
* @param result The async result
|
|
5857
6011
|
* @returns `TRUE` if the transfer was successful.
|
|
6012
|
+
* @throws GLib.Error
|
|
5858
6013
|
*/
|
|
5859
6014
|
transfer_finish(result: Gio.AsyncResult): boolean;
|
|
5860
6015
|
|
|
@@ -5991,6 +6146,7 @@ export namespace Meta {
|
|
|
5991
6146
|
* Finishes a read from the selection source.
|
|
5992
6147
|
* @param result The async result
|
|
5993
6148
|
* @returns The resulting {@link Gio.InputStream}
|
|
6149
|
+
* @throws GLib.Error
|
|
5994
6150
|
*/
|
|
5995
6151
|
read_finish(result: Gio.AsyncResult): Gio.InputStream;
|
|
5996
6152
|
}
|
|
@@ -6215,6 +6371,7 @@ export namespace Meta {
|
|
|
6215
6371
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6216
6372
|
* for instance the size of an image data.
|
|
6217
6373
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
6374
|
+
* @since 1.10
|
|
6218
6375
|
*/
|
|
6219
6376
|
get_preferred_size(): [boolean, number, number];
|
|
6220
6377
|
|
|
@@ -6224,6 +6381,7 @@ export namespace Meta {
|
|
|
6224
6381
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6225
6382
|
* they change the way a the content should be painted regardless of the
|
|
6226
6383
|
* actor state.
|
|
6384
|
+
* @since 1.10
|
|
6227
6385
|
*/
|
|
6228
6386
|
invalidate(): void;
|
|
6229
6387
|
|
|
@@ -6254,6 +6412,7 @@ export namespace Meta {
|
|
|
6254
6412
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
6255
6413
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6256
6414
|
* for instance the size of an image data.
|
|
6415
|
+
* @since 1.10
|
|
6257
6416
|
* @virtual
|
|
6258
6417
|
*/
|
|
6259
6418
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -6264,6 +6423,7 @@ export namespace Meta {
|
|
|
6264
6423
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6265
6424
|
* they change the way a the content should be painted regardless of the
|
|
6266
6425
|
* actor state.
|
|
6426
|
+
* @since 1.10
|
|
6267
6427
|
* @virtual
|
|
6268
6428
|
*/
|
|
6269
6429
|
vfunc_invalidate(): void;
|
|
@@ -6483,7 +6643,7 @@ export namespace Meta {
|
|
|
6483
6643
|
* @signal
|
|
6484
6644
|
* @run-last
|
|
6485
6645
|
*/
|
|
6486
|
-
changed: (
|
|
6646
|
+
changed: (object: null) => void;
|
|
6487
6647
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
6488
6648
|
}
|
|
6489
6649
|
|
|
@@ -6745,6 +6905,7 @@ export namespace Meta {
|
|
|
6745
6905
|
* @param display the current MetaDisplay
|
|
6746
6906
|
* @param argv Command line arguments
|
|
6747
6907
|
* @returns A new {@link Gio.Subprocess}, or `null` on error (and `error` will be set)
|
|
6908
|
+
* @throws GLib.Error
|
|
6748
6909
|
*/
|
|
6749
6910
|
spawnv(display: Display, argv: string[]): Gio.Subprocess;
|
|
6750
6911
|
}
|
|
@@ -7848,6 +8009,7 @@ export namespace Meta {
|
|
|
7848
8009
|
/**
|
|
7849
8010
|
* @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.
|
|
7850
8011
|
* @returns a new {@link Clutter.Content}
|
|
8012
|
+
* @throws GLib.Error
|
|
7851
8013
|
*/
|
|
7852
8014
|
paint_to_content(clip: Rectangle | null): Clutter.Content | null;
|
|
7853
8015
|
|
|
@@ -7863,6 +8025,7 @@ export namespace Meta {
|
|
|
7863
8025
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7864
8026
|
* @param property_name the name of the animatable property to find
|
|
7865
8027
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8028
|
+
* @since 1.4
|
|
7866
8029
|
*/
|
|
7867
8030
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7868
8031
|
|
|
@@ -7876,6 +8039,7 @@ export namespace Meta {
|
|
|
7876
8039
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7877
8040
|
* @param property_name the name of the animatable property to retrieve
|
|
7878
8041
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8042
|
+
* @since 1.4
|
|
7879
8043
|
*/
|
|
7880
8044
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7881
8045
|
|
|
@@ -7893,6 +8057,7 @@ export namespace Meta {
|
|
|
7893
8057
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7894
8058
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7895
8059
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8060
|
+
* @since 1.8
|
|
7896
8061
|
*/
|
|
7897
8062
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7898
8063
|
|
|
@@ -7900,12 +8065,14 @@ export namespace Meta {
|
|
|
7900
8065
|
* Sets the current state of `property_name` to `value`
|
|
7901
8066
|
* @param property_name the name of the animatable property to set
|
|
7902
8067
|
* @param value the value of the animatable property to set
|
|
8068
|
+
* @since 1.4
|
|
7903
8069
|
*/
|
|
7904
8070
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7905
8071
|
|
|
7906
8072
|
/**
|
|
7907
8073
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7908
8074
|
* @param property_name the name of the animatable property to find
|
|
8075
|
+
* @since 1.4
|
|
7909
8076
|
* @virtual
|
|
7910
8077
|
*/
|
|
7911
8078
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -7920,6 +8087,7 @@ export namespace Meta {
|
|
|
7920
8087
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7921
8088
|
* @param property_name the name of the animatable property to retrieve
|
|
7922
8089
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8090
|
+
* @since 1.4
|
|
7923
8091
|
* @virtual
|
|
7924
8092
|
*/
|
|
7925
8093
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -7937,6 +8105,7 @@ export namespace Meta {
|
|
|
7937
8105
|
* @param property_name the name of the property to interpolate
|
|
7938
8106
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7939
8107
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8108
|
+
* @since 1.8
|
|
7940
8109
|
* @virtual
|
|
7941
8110
|
*/
|
|
7942
8111
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -7945,6 +8114,7 @@ export namespace Meta {
|
|
|
7945
8114
|
* Sets the current state of `property_name` to `value`
|
|
7946
8115
|
* @param property_name the name of the animatable property to set
|
|
7947
8116
|
* @param value the value of the animatable property to set
|
|
8117
|
+
* @since 1.4
|
|
7948
8118
|
* @virtual
|
|
7949
8119
|
*/
|
|
7950
8120
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -7959,6 +8129,8 @@ export namespace Meta {
|
|
|
7959
8129
|
* deprecated virtual function. The default implementation will
|
|
7960
8130
|
* call `clutter_actor_add_child()`.
|
|
7961
8131
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8132
|
+
* @since 0.4
|
|
8133
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7962
8134
|
*/
|
|
7963
8135
|
add_actor(actor: Clutter.Actor): void;
|
|
7964
8136
|
|
|
@@ -7973,6 +8145,7 @@ export namespace Meta {
|
|
|
7973
8145
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7974
8146
|
* @param property the name of the property to set.
|
|
7975
8147
|
* @param value the value.
|
|
8148
|
+
* @since 0.8
|
|
7976
8149
|
*/
|
|
7977
8150
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7978
8151
|
|
|
@@ -7982,6 +8155,7 @@ export namespace Meta {
|
|
|
7982
8155
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7983
8156
|
* @param child a {@link Clutter.Actor}
|
|
7984
8157
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8158
|
+
* @since 1.6
|
|
7985
8159
|
*/
|
|
7986
8160
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
7987
8161
|
|
|
@@ -7990,6 +8164,7 @@ export namespace Meta {
|
|
|
7990
8164
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7991
8165
|
* @param property the name of the property to set.
|
|
7992
8166
|
* @param value the value.
|
|
8167
|
+
* @since 0.8
|
|
7993
8168
|
*/
|
|
7994
8169
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7995
8170
|
|
|
@@ -8004,6 +8179,7 @@ export namespace Meta {
|
|
|
8004
8179
|
*
|
|
8005
8180
|
* Applications should not call this function.
|
|
8006
8181
|
* @param actor a {@link Clutter.Actor}
|
|
8182
|
+
* @since 1.2
|
|
8007
8183
|
*/
|
|
8008
8184
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8009
8185
|
|
|
@@ -8017,6 +8193,7 @@ export namespace Meta {
|
|
|
8017
8193
|
*
|
|
8018
8194
|
* Applications should not call this function.
|
|
8019
8195
|
* @param actor a {@link Clutter.Actor}
|
|
8196
|
+
* @since 1.2
|
|
8020
8197
|
*/
|
|
8021
8198
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8022
8199
|
|
|
@@ -8025,6 +8202,7 @@ export namespace Meta {
|
|
|
8025
8202
|
* into any child container.
|
|
8026
8203
|
* @param child_name the name of the requested child.
|
|
8027
8204
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8205
|
+
* @since 0.6
|
|
8028
8206
|
*/
|
|
8029
8207
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8030
8208
|
|
|
@@ -8033,12 +8211,15 @@ export namespace Meta {
|
|
|
8033
8211
|
* `container` specific state for `actor`.
|
|
8034
8212
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8035
8213
|
* @returns the {@link Clutter.ChildMeta} for the `actor` child of `container` or `null` if the specifiec actor does not exist or the container is not configured to provide {@link Clutter.ChildMeta}<!-- -->s
|
|
8214
|
+
* @since 0.8
|
|
8036
8215
|
*/
|
|
8037
8216
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8038
8217
|
|
|
8039
8218
|
/**
|
|
8040
8219
|
* Retrieves all the children of `container`.
|
|
8041
8220
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8221
|
+
* @since 0.4
|
|
8222
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8042
8223
|
*/
|
|
8043
8224
|
get_children(): Clutter.Actor[];
|
|
8044
8225
|
|
|
@@ -8050,6 +8231,8 @@ export namespace Meta {
|
|
|
8050
8231
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8051
8232
|
* @param actor the actor to raise
|
|
8052
8233
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8234
|
+
* @since 0.6
|
|
8235
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8053
8236
|
*/
|
|
8054
8237
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8055
8238
|
|
|
@@ -8061,6 +8244,8 @@ export namespace Meta {
|
|
|
8061
8244
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8062
8245
|
* @param actor the actor to raise
|
|
8063
8246
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8247
|
+
* @since 0.6
|
|
8248
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8064
8249
|
*/
|
|
8065
8250
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8066
8251
|
|
|
@@ -8074,12 +8259,16 @@ export namespace Meta {
|
|
|
8074
8259
|
* deprecated virtual function. The default implementation will call
|
|
8075
8260
|
* `clutter_actor_remove_child()`.
|
|
8076
8261
|
* @param actor a {@link Clutter.Actor}
|
|
8262
|
+
* @since 0.4
|
|
8263
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8077
8264
|
*/
|
|
8078
8265
|
remove_actor(actor: Clutter.Actor): void;
|
|
8079
8266
|
|
|
8080
8267
|
/**
|
|
8081
8268
|
* Sorts a container's children using their depth. This function should not
|
|
8082
8269
|
* be normally used by applications.
|
|
8270
|
+
* @since 0.6
|
|
8271
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
8083
8272
|
*/
|
|
8084
8273
|
sort_depth_order(): void;
|
|
8085
8274
|
|
|
@@ -8105,6 +8294,8 @@ export namespace Meta {
|
|
|
8105
8294
|
* deprecated virtual function. The default implementation will
|
|
8106
8295
|
* call `clutter_actor_add_child()`.
|
|
8107
8296
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8297
|
+
* @since 0.4
|
|
8298
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8108
8299
|
* @virtual
|
|
8109
8300
|
*/
|
|
8110
8301
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8115,6 +8306,7 @@ export namespace Meta {
|
|
|
8115
8306
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8116
8307
|
* @param child a {@link Clutter.Actor}
|
|
8117
8308
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8309
|
+
* @since 1.6
|
|
8118
8310
|
* @virtual
|
|
8119
8311
|
*/
|
|
8120
8312
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8130,6 +8322,7 @@ export namespace Meta {
|
|
|
8130
8322
|
*
|
|
8131
8323
|
* Applications should not call this function.
|
|
8132
8324
|
* @param actor a {@link Clutter.Actor}
|
|
8325
|
+
* @since 1.2
|
|
8133
8326
|
* @virtual
|
|
8134
8327
|
*/
|
|
8135
8328
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8144,6 +8337,7 @@ export namespace Meta {
|
|
|
8144
8337
|
*
|
|
8145
8338
|
* Applications should not call this function.
|
|
8146
8339
|
* @param actor a {@link Clutter.Actor}
|
|
8340
|
+
* @since 1.2
|
|
8147
8341
|
* @virtual
|
|
8148
8342
|
*/
|
|
8149
8343
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8152,6 +8346,7 @@ export namespace Meta {
|
|
|
8152
8346
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8153
8347
|
* `container` specific state for `actor`.
|
|
8154
8348
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8349
|
+
* @since 0.8
|
|
8155
8350
|
* @virtual
|
|
8156
8351
|
*/
|
|
8157
8352
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8164,6 +8359,8 @@ export namespace Meta {
|
|
|
8164
8359
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8165
8360
|
* @param actor the actor to raise
|
|
8166
8361
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8362
|
+
* @since 0.6
|
|
8363
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8167
8364
|
* @virtual
|
|
8168
8365
|
*/
|
|
8169
8366
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8176,6 +8373,8 @@ export namespace Meta {
|
|
|
8176
8373
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8177
8374
|
* @param actor the actor to raise
|
|
8178
8375
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8376
|
+
* @since 0.6
|
|
8377
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8179
8378
|
* @virtual
|
|
8180
8379
|
*/
|
|
8181
8380
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8190,6 +8389,8 @@ export namespace Meta {
|
|
|
8190
8389
|
* deprecated virtual function. The default implementation will call
|
|
8191
8390
|
* `clutter_actor_remove_child()`.
|
|
8192
8391
|
* @param actor a {@link Clutter.Actor}
|
|
8392
|
+
* @since 0.4
|
|
8393
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8193
8394
|
* @virtual
|
|
8194
8395
|
*/
|
|
8195
8396
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8197,6 +8398,8 @@ export namespace Meta {
|
|
|
8197
8398
|
/**
|
|
8198
8399
|
* Sorts a container's children using their depth. This function should not
|
|
8199
8400
|
* be normally used by applications.
|
|
8401
|
+
* @since 0.6
|
|
8402
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
8200
8403
|
* @virtual
|
|
8201
8404
|
*/
|
|
8202
8405
|
vfunc_sort_depth_order(): void;
|
|
@@ -8204,6 +8407,7 @@ export namespace Meta {
|
|
|
8204
8407
|
/**
|
|
8205
8408
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8206
8409
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8410
|
+
* @since 0.6
|
|
8207
8411
|
*/
|
|
8208
8412
|
get_id(): string;
|
|
8209
8413
|
|
|
@@ -8215,6 +8419,7 @@ export namespace Meta {
|
|
|
8215
8419
|
* @param name the name of the node
|
|
8216
8420
|
* @param node the JSON node to be parsed
|
|
8217
8421
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8422
|
+
* @since 0.6
|
|
8218
8423
|
*/
|
|
8219
8424
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8220
8425
|
|
|
@@ -8224,6 +8429,7 @@ export namespace Meta {
|
|
|
8224
8429
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8225
8430
|
* @param name the name of the property
|
|
8226
8431
|
* @param value the value of the property
|
|
8432
|
+
* @since 0.6
|
|
8227
8433
|
*/
|
|
8228
8434
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8229
8435
|
|
|
@@ -8235,11 +8441,13 @@ export namespace Meta {
|
|
|
8235
8441
|
* define a unique name for an object constructable using the UI
|
|
8236
8442
|
* definition language parsed by {@link Clutter.Script}.
|
|
8237
8443
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8444
|
+
* @since 0.6
|
|
8238
8445
|
*/
|
|
8239
8446
|
set_id(id_: string): void;
|
|
8240
8447
|
|
|
8241
8448
|
/**
|
|
8242
8449
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8450
|
+
* @since 0.6
|
|
8243
8451
|
* @virtual
|
|
8244
8452
|
*/
|
|
8245
8453
|
vfunc_get_id(): string;
|
|
@@ -8251,6 +8459,7 @@ export namespace Meta {
|
|
|
8251
8459
|
* @param value the generic value to be set
|
|
8252
8460
|
* @param name the name of the node
|
|
8253
8461
|
* @param node the JSON node to be parsed
|
|
8462
|
+
* @since 0.6
|
|
8254
8463
|
* @virtual
|
|
8255
8464
|
*/
|
|
8256
8465
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8261,6 +8470,7 @@ export namespace Meta {
|
|
|
8261
8470
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8262
8471
|
* @param name the name of the property
|
|
8263
8472
|
* @param value the value of the property
|
|
8473
|
+
* @since 0.6
|
|
8264
8474
|
* @virtual
|
|
8265
8475
|
*/
|
|
8266
8476
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8273,6 +8483,7 @@ export namespace Meta {
|
|
|
8273
8483
|
* define a unique name for an object constructable using the UI
|
|
8274
8484
|
* definition language parsed by {@link Clutter.Script}.
|
|
8275
8485
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8486
|
+
* @since 0.6
|
|
8276
8487
|
* @virtual
|
|
8277
8488
|
*/
|
|
8278
8489
|
vfunc_set_id(id_: string): void;
|
|
@@ -8395,6 +8606,7 @@ export namespace Meta {
|
|
|
8395
8606
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8396
8607
|
* @param property_name the name of the animatable property to find
|
|
8397
8608
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8609
|
+
* @since 1.4
|
|
8398
8610
|
*/
|
|
8399
8611
|
find_property(property_name: string): GObject.ParamSpec;
|
|
8400
8612
|
|
|
@@ -8408,6 +8620,7 @@ export namespace Meta {
|
|
|
8408
8620
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8409
8621
|
* @param property_name the name of the animatable property to retrieve
|
|
8410
8622
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8623
|
+
* @since 1.4
|
|
8411
8624
|
*/
|
|
8412
8625
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
8413
8626
|
|
|
@@ -8425,6 +8638,7 @@ export namespace Meta {
|
|
|
8425
8638
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8426
8639
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8427
8640
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8641
|
+
* @since 1.8
|
|
8428
8642
|
*/
|
|
8429
8643
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
8430
8644
|
|
|
@@ -8432,12 +8646,14 @@ export namespace Meta {
|
|
|
8432
8646
|
* Sets the current state of `property_name` to `value`
|
|
8433
8647
|
* @param property_name the name of the animatable property to set
|
|
8434
8648
|
* @param value the value of the animatable property to set
|
|
8649
|
+
* @since 1.4
|
|
8435
8650
|
*/
|
|
8436
8651
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
8437
8652
|
|
|
8438
8653
|
/**
|
|
8439
8654
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8440
8655
|
* @param property_name the name of the animatable property to find
|
|
8656
|
+
* @since 1.4
|
|
8441
8657
|
* @virtual
|
|
8442
8658
|
*/
|
|
8443
8659
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -8452,6 +8668,7 @@ export namespace Meta {
|
|
|
8452
8668
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8453
8669
|
* @param property_name the name of the animatable property to retrieve
|
|
8454
8670
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8671
|
+
* @since 1.4
|
|
8455
8672
|
* @virtual
|
|
8456
8673
|
*/
|
|
8457
8674
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -8469,6 +8686,7 @@ export namespace Meta {
|
|
|
8469
8686
|
* @param property_name the name of the property to interpolate
|
|
8470
8687
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8471
8688
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8689
|
+
* @since 1.8
|
|
8472
8690
|
* @virtual
|
|
8473
8691
|
*/
|
|
8474
8692
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -8477,6 +8695,7 @@ export namespace Meta {
|
|
|
8477
8695
|
* Sets the current state of `property_name` to `value`
|
|
8478
8696
|
* @param property_name the name of the animatable property to set
|
|
8479
8697
|
* @param value the value of the animatable property to set
|
|
8698
|
+
* @since 1.4
|
|
8480
8699
|
* @virtual
|
|
8481
8700
|
*/
|
|
8482
8701
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -8491,6 +8710,8 @@ export namespace Meta {
|
|
|
8491
8710
|
* deprecated virtual function. The default implementation will
|
|
8492
8711
|
* call `clutter_actor_add_child()`.
|
|
8493
8712
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8713
|
+
* @since 0.4
|
|
8714
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8494
8715
|
*/
|
|
8495
8716
|
add_actor(actor: Clutter.Actor): void;
|
|
8496
8717
|
|
|
@@ -8505,6 +8726,7 @@ export namespace Meta {
|
|
|
8505
8726
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8506
8727
|
* @param property the name of the property to set.
|
|
8507
8728
|
* @param value the value.
|
|
8729
|
+
* @since 0.8
|
|
8508
8730
|
*/
|
|
8509
8731
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8510
8732
|
|
|
@@ -8514,6 +8736,7 @@ export namespace Meta {
|
|
|
8514
8736
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8515
8737
|
* @param child a {@link Clutter.Actor}
|
|
8516
8738
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8739
|
+
* @since 1.6
|
|
8517
8740
|
*/
|
|
8518
8741
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
8519
8742
|
|
|
@@ -8522,6 +8745,7 @@ export namespace Meta {
|
|
|
8522
8745
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8523
8746
|
* @param property the name of the property to set.
|
|
8524
8747
|
* @param value the value.
|
|
8748
|
+
* @since 0.8
|
|
8525
8749
|
*/
|
|
8526
8750
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8527
8751
|
|
|
@@ -8536,6 +8760,7 @@ export namespace Meta {
|
|
|
8536
8760
|
*
|
|
8537
8761
|
* Applications should not call this function.
|
|
8538
8762
|
* @param actor a {@link Clutter.Actor}
|
|
8763
|
+
* @since 1.2
|
|
8539
8764
|
*/
|
|
8540
8765
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8541
8766
|
|
|
@@ -8549,6 +8774,7 @@ export namespace Meta {
|
|
|
8549
8774
|
*
|
|
8550
8775
|
* Applications should not call this function.
|
|
8551
8776
|
* @param actor a {@link Clutter.Actor}
|
|
8777
|
+
* @since 1.2
|
|
8552
8778
|
*/
|
|
8553
8779
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8554
8780
|
|
|
@@ -8557,6 +8783,7 @@ export namespace Meta {
|
|
|
8557
8783
|
* into any child container.
|
|
8558
8784
|
* @param child_name the name of the requested child.
|
|
8559
8785
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8786
|
+
* @since 0.6
|
|
8560
8787
|
*/
|
|
8561
8788
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8562
8789
|
|
|
@@ -8565,12 +8792,15 @@ export namespace Meta {
|
|
|
8565
8792
|
* `container` specific state for `actor`.
|
|
8566
8793
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8567
8794
|
* @returns the {@link Clutter.ChildMeta} for the `actor` child of `container` or `null` if the specifiec actor does not exist or the container is not configured to provide {@link Clutter.ChildMeta}<!-- -->s
|
|
8795
|
+
* @since 0.8
|
|
8568
8796
|
*/
|
|
8569
8797
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8570
8798
|
|
|
8571
8799
|
/**
|
|
8572
8800
|
* Retrieves all the children of `container`.
|
|
8573
8801
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8802
|
+
* @since 0.4
|
|
8803
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8574
8804
|
*/
|
|
8575
8805
|
get_children(): Clutter.Actor[];
|
|
8576
8806
|
|
|
@@ -8582,6 +8812,8 @@ export namespace Meta {
|
|
|
8582
8812
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8583
8813
|
* @param actor the actor to raise
|
|
8584
8814
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8815
|
+
* @since 0.6
|
|
8816
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8585
8817
|
*/
|
|
8586
8818
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8587
8819
|
|
|
@@ -8593,6 +8825,8 @@ export namespace Meta {
|
|
|
8593
8825
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8594
8826
|
* @param actor the actor to raise
|
|
8595
8827
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8828
|
+
* @since 0.6
|
|
8829
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8596
8830
|
*/
|
|
8597
8831
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8598
8832
|
|
|
@@ -8606,12 +8840,16 @@ export namespace Meta {
|
|
|
8606
8840
|
* deprecated virtual function. The default implementation will call
|
|
8607
8841
|
* `clutter_actor_remove_child()`.
|
|
8608
8842
|
* @param actor a {@link Clutter.Actor}
|
|
8843
|
+
* @since 0.4
|
|
8844
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8609
8845
|
*/
|
|
8610
8846
|
remove_actor(actor: Clutter.Actor): void;
|
|
8611
8847
|
|
|
8612
8848
|
/**
|
|
8613
8849
|
* Sorts a container's children using their depth. This function should not
|
|
8614
8850
|
* be normally used by applications.
|
|
8851
|
+
* @since 0.6
|
|
8852
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
8615
8853
|
*/
|
|
8616
8854
|
sort_depth_order(): void;
|
|
8617
8855
|
|
|
@@ -8637,6 +8875,8 @@ export namespace Meta {
|
|
|
8637
8875
|
* deprecated virtual function. The default implementation will
|
|
8638
8876
|
* call `clutter_actor_add_child()`.
|
|
8639
8877
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8878
|
+
* @since 0.4
|
|
8879
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8640
8880
|
* @virtual
|
|
8641
8881
|
*/
|
|
8642
8882
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8647,6 +8887,7 @@ export namespace Meta {
|
|
|
8647
8887
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8648
8888
|
* @param child a {@link Clutter.Actor}
|
|
8649
8889
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8890
|
+
* @since 1.6
|
|
8650
8891
|
* @virtual
|
|
8651
8892
|
*/
|
|
8652
8893
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8662,6 +8903,7 @@ export namespace Meta {
|
|
|
8662
8903
|
*
|
|
8663
8904
|
* Applications should not call this function.
|
|
8664
8905
|
* @param actor a {@link Clutter.Actor}
|
|
8906
|
+
* @since 1.2
|
|
8665
8907
|
* @virtual
|
|
8666
8908
|
*/
|
|
8667
8909
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8676,6 +8918,7 @@ export namespace Meta {
|
|
|
8676
8918
|
*
|
|
8677
8919
|
* Applications should not call this function.
|
|
8678
8920
|
* @param actor a {@link Clutter.Actor}
|
|
8921
|
+
* @since 1.2
|
|
8679
8922
|
* @virtual
|
|
8680
8923
|
*/
|
|
8681
8924
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8684,6 +8927,7 @@ export namespace Meta {
|
|
|
8684
8927
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8685
8928
|
* `container` specific state for `actor`.
|
|
8686
8929
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8930
|
+
* @since 0.8
|
|
8687
8931
|
* @virtual
|
|
8688
8932
|
*/
|
|
8689
8933
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8696,6 +8940,8 @@ export namespace Meta {
|
|
|
8696
8940
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8697
8941
|
* @param actor the actor to raise
|
|
8698
8942
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8943
|
+
* @since 0.6
|
|
8944
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8699
8945
|
* @virtual
|
|
8700
8946
|
*/
|
|
8701
8947
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8708,6 +8954,8 @@ export namespace Meta {
|
|
|
8708
8954
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8709
8955
|
* @param actor the actor to raise
|
|
8710
8956
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8957
|
+
* @since 0.6
|
|
8958
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8711
8959
|
* @virtual
|
|
8712
8960
|
*/
|
|
8713
8961
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8722,6 +8970,8 @@ export namespace Meta {
|
|
|
8722
8970
|
* deprecated virtual function. The default implementation will call
|
|
8723
8971
|
* `clutter_actor_remove_child()`.
|
|
8724
8972
|
* @param actor a {@link Clutter.Actor}
|
|
8973
|
+
* @since 0.4
|
|
8974
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8725
8975
|
* @virtual
|
|
8726
8976
|
*/
|
|
8727
8977
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8729,6 +8979,8 @@ export namespace Meta {
|
|
|
8729
8979
|
/**
|
|
8730
8980
|
* Sorts a container's children using their depth. This function should not
|
|
8731
8981
|
* be normally used by applications.
|
|
8982
|
+
* @since 0.6
|
|
8983
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
8732
8984
|
* @virtual
|
|
8733
8985
|
*/
|
|
8734
8986
|
vfunc_sort_depth_order(): void;
|
|
@@ -8736,6 +8988,7 @@ export namespace Meta {
|
|
|
8736
8988
|
/**
|
|
8737
8989
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8738
8990
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8991
|
+
* @since 0.6
|
|
8739
8992
|
*/
|
|
8740
8993
|
get_id(): string;
|
|
8741
8994
|
|
|
@@ -8747,6 +9000,7 @@ export namespace Meta {
|
|
|
8747
9000
|
* @param name the name of the node
|
|
8748
9001
|
* @param node the JSON node to be parsed
|
|
8749
9002
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
9003
|
+
* @since 0.6
|
|
8750
9004
|
*/
|
|
8751
9005
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8752
9006
|
|
|
@@ -8756,6 +9010,7 @@ export namespace Meta {
|
|
|
8756
9010
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8757
9011
|
* @param name the name of the property
|
|
8758
9012
|
* @param value the value of the property
|
|
9013
|
+
* @since 0.6
|
|
8759
9014
|
*/
|
|
8760
9015
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8761
9016
|
|
|
@@ -8767,11 +9022,13 @@ export namespace Meta {
|
|
|
8767
9022
|
* define a unique name for an object constructable using the UI
|
|
8768
9023
|
* definition language parsed by {@link Clutter.Script}.
|
|
8769
9024
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
9025
|
+
* @since 0.6
|
|
8770
9026
|
*/
|
|
8771
9027
|
set_id(id_: string): void;
|
|
8772
9028
|
|
|
8773
9029
|
/**
|
|
8774
9030
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
9031
|
+
* @since 0.6
|
|
8775
9032
|
* @virtual
|
|
8776
9033
|
*/
|
|
8777
9034
|
vfunc_get_id(): string;
|
|
@@ -8783,6 +9040,7 @@ export namespace Meta {
|
|
|
8783
9040
|
* @param value the generic value to be set
|
|
8784
9041
|
* @param name the name of the node
|
|
8785
9042
|
* @param node the JSON node to be parsed
|
|
9043
|
+
* @since 0.6
|
|
8786
9044
|
* @virtual
|
|
8787
9045
|
*/
|
|
8788
9046
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8793,6 +9051,7 @@ export namespace Meta {
|
|
|
8793
9051
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8794
9052
|
* @param name the name of the property
|
|
8795
9053
|
* @param value the value of the property
|
|
9054
|
+
* @since 0.6
|
|
8796
9055
|
* @virtual
|
|
8797
9056
|
*/
|
|
8798
9057
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8805,6 +9064,7 @@ export namespace Meta {
|
|
|
8805
9064
|
* define a unique name for an object constructable using the UI
|
|
8806
9065
|
* definition language parsed by {@link Clutter.Script}.
|
|
8807
9066
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
9067
|
+
* @since 0.6
|
|
8808
9068
|
* @virtual
|
|
8809
9069
|
*/
|
|
8810
9070
|
vfunc_set_id(id_: string): void;
|
|
@@ -8818,12 +9078,12 @@ export namespace Meta {
|
|
|
8818
9078
|
* @signal
|
|
8819
9079
|
* @run-last
|
|
8820
9080
|
*/
|
|
8821
|
-
"window-added": (
|
|
9081
|
+
"window-added": (object: Window) => void;
|
|
8822
9082
|
/**
|
|
8823
9083
|
* @signal
|
|
8824
9084
|
* @run-last
|
|
8825
9085
|
*/
|
|
8826
|
-
"window-removed": (
|
|
9086
|
+
"window-removed": (object: Window) => void;
|
|
8827
9087
|
"notify::active": (pspec: GObject.ParamSpec) => void;
|
|
8828
9088
|
"notify::n-windows": (pspec: GObject.ParamSpec) => void;
|
|
8829
9089
|
"notify::workspace-index": (pspec: GObject.ParamSpec) => void;
|
|
@@ -8985,17 +9245,17 @@ export namespace Meta {
|
|
|
8985
9245
|
* @signal
|
|
8986
9246
|
* @run-last
|
|
8987
9247
|
*/
|
|
8988
|
-
"workspace-added": (
|
|
9248
|
+
"workspace-added": (object: number) => void;
|
|
8989
9249
|
/**
|
|
8990
9250
|
* @signal
|
|
8991
9251
|
* @run-last
|
|
8992
9252
|
*/
|
|
8993
|
-
"workspace-removed": (
|
|
9253
|
+
"workspace-removed": (object: number) => void;
|
|
8994
9254
|
/**
|
|
8995
9255
|
* @signal
|
|
8996
9256
|
* @run-last
|
|
8997
9257
|
*/
|
|
8998
|
-
"workspace-switched": (
|
|
9258
|
+
"workspace-switched": (object: number, p0: number, p1: MotionDirection) => void;
|
|
8999
9259
|
/**
|
|
9000
9260
|
* @signal
|
|
9001
9261
|
* @run-last
|