@girs/meta-6 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-6.d.ts +651 -395
- package/package.json +24 -24
package/meta-6.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,80 +147,80 @@ export namespace Meta {
|
|
|
147
147
|
* @gir-type Enum
|
|
148
148
|
*/
|
|
149
149
|
enum Cursor {
|
|
150
|
-
NONE,
|
|
150
|
+
NONE = 0,
|
|
151
151
|
/**
|
|
152
152
|
* Default cursor
|
|
153
153
|
*/
|
|
154
|
-
DEFAULT,
|
|
154
|
+
DEFAULT = 1,
|
|
155
155
|
/**
|
|
156
156
|
* Resize northern edge cursor
|
|
157
157
|
*/
|
|
158
|
-
NORTH_RESIZE,
|
|
158
|
+
NORTH_RESIZE = 2,
|
|
159
159
|
/**
|
|
160
160
|
* Resize southern edge cursor
|
|
161
161
|
*/
|
|
162
|
-
SOUTH_RESIZE,
|
|
162
|
+
SOUTH_RESIZE = 3,
|
|
163
163
|
/**
|
|
164
164
|
* Resize western edge cursor
|
|
165
165
|
*/
|
|
166
|
-
WEST_RESIZE,
|
|
166
|
+
WEST_RESIZE = 4,
|
|
167
167
|
/**
|
|
168
168
|
* Resize eastern edge cursor
|
|
169
169
|
*/
|
|
170
|
-
EAST_RESIZE,
|
|
170
|
+
EAST_RESIZE = 5,
|
|
171
171
|
/**
|
|
172
172
|
* Resize south-eastern corner cursor
|
|
173
173
|
*/
|
|
174
|
-
SE_RESIZE,
|
|
174
|
+
SE_RESIZE = 6,
|
|
175
175
|
/**
|
|
176
176
|
* Resize south-western corner cursor
|
|
177
177
|
*/
|
|
178
|
-
SW_RESIZE,
|
|
178
|
+
SW_RESIZE = 7,
|
|
179
179
|
/**
|
|
180
180
|
* Resize north-eastern corner cursor
|
|
181
181
|
*/
|
|
182
|
-
NE_RESIZE,
|
|
182
|
+
NE_RESIZE = 8,
|
|
183
183
|
/**
|
|
184
184
|
* Resize north-western corner cursor
|
|
185
185
|
*/
|
|
186
|
-
NW_RESIZE,
|
|
186
|
+
NW_RESIZE = 9,
|
|
187
187
|
/**
|
|
188
188
|
* Move or resize cursor
|
|
189
189
|
*/
|
|
190
|
-
MOVE_OR_RESIZE_WINDOW,
|
|
190
|
+
MOVE_OR_RESIZE_WINDOW = 10,
|
|
191
191
|
/**
|
|
192
192
|
* Busy cursor
|
|
193
193
|
*/
|
|
194
|
-
BUSY,
|
|
194
|
+
BUSY = 11,
|
|
195
195
|
/**
|
|
196
196
|
* DND in drag cursor
|
|
197
197
|
*/
|
|
198
|
-
DND_IN_DRAG,
|
|
198
|
+
DND_IN_DRAG = 12,
|
|
199
199
|
/**
|
|
200
200
|
* DND move cursor
|
|
201
201
|
*/
|
|
202
|
-
DND_MOVE,
|
|
202
|
+
DND_MOVE = 13,
|
|
203
203
|
/**
|
|
204
204
|
* DND copy cursor
|
|
205
205
|
*/
|
|
206
|
-
DND_COPY,
|
|
206
|
+
DND_COPY = 14,
|
|
207
207
|
/**
|
|
208
208
|
* DND unsupported target
|
|
209
209
|
*/
|
|
210
|
-
DND_UNSUPPORTED_TARGET,
|
|
210
|
+
DND_UNSUPPORTED_TARGET = 15,
|
|
211
211
|
/**
|
|
212
212
|
* pointing hand
|
|
213
213
|
*/
|
|
214
|
-
POINTING_HAND,
|
|
214
|
+
POINTING_HAND = 16,
|
|
215
215
|
/**
|
|
216
216
|
* crosshair (action forbidden)
|
|
217
217
|
*/
|
|
218
|
-
CROSSHAIR,
|
|
218
|
+
CROSSHAIR = 17,
|
|
219
219
|
/**
|
|
220
220
|
* I-beam (text input)
|
|
221
221
|
*/
|
|
222
|
-
IBEAM,
|
|
223
|
-
LAST,
|
|
222
|
+
IBEAM = 18,
|
|
223
|
+
LAST = 19,
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
|
|
@@ -238,19 +238,19 @@ export namespace Meta {
|
|
|
238
238
|
/**
|
|
239
239
|
* top-left corner
|
|
240
240
|
*/
|
|
241
|
-
TOPLEFT,
|
|
241
|
+
TOPLEFT = 0,
|
|
242
242
|
/**
|
|
243
243
|
* top-right corner
|
|
244
244
|
*/
|
|
245
|
-
TOPRIGHT,
|
|
245
|
+
TOPRIGHT = 1,
|
|
246
246
|
/**
|
|
247
247
|
* bottom-left corner
|
|
248
248
|
*/
|
|
249
|
-
BOTTOMLEFT,
|
|
249
|
+
BOTTOMLEFT = 2,
|
|
250
250
|
/**
|
|
251
251
|
* bottom-right corner
|
|
252
252
|
*/
|
|
253
|
-
BOTTOMRIGHT,
|
|
253
|
+
BOTTOMRIGHT = 3,
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
|
|
@@ -268,19 +268,19 @@ export namespace Meta {
|
|
|
268
268
|
/**
|
|
269
269
|
* up
|
|
270
270
|
*/
|
|
271
|
-
UP,
|
|
271
|
+
UP = 0,
|
|
272
272
|
/**
|
|
273
273
|
* down
|
|
274
274
|
*/
|
|
275
|
-
DOWN,
|
|
275
|
+
DOWN = 1,
|
|
276
276
|
/**
|
|
277
277
|
* left
|
|
278
278
|
*/
|
|
279
|
-
LEFT,
|
|
279
|
+
LEFT = 2,
|
|
280
280
|
/**
|
|
281
281
|
* right
|
|
282
282
|
*/
|
|
283
|
-
RIGHT,
|
|
283
|
+
RIGHT = 3,
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
|
|
@@ -298,15 +298,15 @@ export namespace Meta {
|
|
|
298
298
|
/**
|
|
299
299
|
* Whether the edge belongs to a window
|
|
300
300
|
*/
|
|
301
|
-
WINDOW,
|
|
301
|
+
WINDOW = 0,
|
|
302
302
|
/**
|
|
303
303
|
* Whether the edge belongs to a monitor
|
|
304
304
|
*/
|
|
305
|
-
MONITOR,
|
|
305
|
+
MONITOR = 1,
|
|
306
306
|
/**
|
|
307
307
|
* Whether the edge belongs to a screen
|
|
308
308
|
*/
|
|
309
|
-
SCREEN,
|
|
309
|
+
SCREEN = 2,
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
|
|
@@ -324,11 +324,11 @@ export namespace Meta {
|
|
|
324
324
|
/**
|
|
325
325
|
* Success
|
|
326
326
|
*/
|
|
327
|
-
SUCCESS,
|
|
327
|
+
SUCCESS = 0,
|
|
328
328
|
/**
|
|
329
329
|
* Error
|
|
330
330
|
*/
|
|
331
|
-
ERROR,
|
|
331
|
+
ERROR = 1,
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
|
|
@@ -346,35 +346,35 @@ export namespace Meta {
|
|
|
346
346
|
/**
|
|
347
347
|
* Normal frame
|
|
348
348
|
*/
|
|
349
|
-
NORMAL,
|
|
349
|
+
NORMAL = 0,
|
|
350
350
|
/**
|
|
351
351
|
* Dialog frame
|
|
352
352
|
*/
|
|
353
|
-
DIALOG,
|
|
353
|
+
DIALOG = 1,
|
|
354
354
|
/**
|
|
355
355
|
* Modal dialog frame
|
|
356
356
|
*/
|
|
357
|
-
MODAL_DIALOG,
|
|
357
|
+
MODAL_DIALOG = 2,
|
|
358
358
|
/**
|
|
359
359
|
* Utility frame
|
|
360
360
|
*/
|
|
361
|
-
UTILITY,
|
|
361
|
+
UTILITY = 3,
|
|
362
362
|
/**
|
|
363
363
|
* Menu frame
|
|
364
364
|
*/
|
|
365
|
-
MENU,
|
|
365
|
+
MENU = 4,
|
|
366
366
|
/**
|
|
367
367
|
* Border frame
|
|
368
368
|
*/
|
|
369
|
-
BORDER,
|
|
369
|
+
BORDER = 5,
|
|
370
370
|
/**
|
|
371
371
|
* Attached frame
|
|
372
372
|
*/
|
|
373
|
-
ATTACHED,
|
|
373
|
+
ATTACHED = 6,
|
|
374
374
|
/**
|
|
375
375
|
* Marks the end of the {@link Meta.FrameType} enumeration
|
|
376
376
|
*/
|
|
377
|
-
LAST,
|
|
377
|
+
LAST = 7,
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
|
|
@@ -392,90 +392,90 @@ export namespace Meta {
|
|
|
392
392
|
/**
|
|
393
393
|
* None
|
|
394
394
|
*/
|
|
395
|
-
NONE,
|
|
396
|
-
WINDOW_BASE,
|
|
395
|
+
NONE = 0,
|
|
396
|
+
WINDOW_BASE = 1,
|
|
397
397
|
/**
|
|
398
398
|
* Compositor asked for grab
|
|
399
399
|
*/
|
|
400
|
-
COMPOSITOR,
|
|
401
|
-
WAYLAND_POPUP,
|
|
402
|
-
FRAME_BUTTON,
|
|
400
|
+
COMPOSITOR = 2,
|
|
401
|
+
WAYLAND_POPUP = 3,
|
|
402
|
+
FRAME_BUTTON = 4,
|
|
403
403
|
/**
|
|
404
404
|
* Moving with pointer
|
|
405
405
|
*/
|
|
406
|
-
MOVING,
|
|
406
|
+
MOVING = 1,
|
|
407
407
|
/**
|
|
408
408
|
* Resizing NW with pointer
|
|
409
409
|
*/
|
|
410
|
-
RESIZING_NW,
|
|
410
|
+
RESIZING_NW = 36865,
|
|
411
411
|
/**
|
|
412
412
|
* Resizing N with pointer
|
|
413
413
|
*/
|
|
414
|
-
RESIZING_N,
|
|
414
|
+
RESIZING_N = 32769,
|
|
415
415
|
/**
|
|
416
416
|
* Resizing NE with pointer
|
|
417
417
|
*/
|
|
418
|
-
RESIZING_NE,
|
|
418
|
+
RESIZING_NE = 40961,
|
|
419
419
|
/**
|
|
420
420
|
* Resizing E with pointer
|
|
421
421
|
*/
|
|
422
|
-
RESIZING_E,
|
|
422
|
+
RESIZING_E = 8193,
|
|
423
423
|
/**
|
|
424
424
|
* Resizing SW with pointer
|
|
425
425
|
*/
|
|
426
|
-
RESIZING_SW,
|
|
426
|
+
RESIZING_SW = 20481,
|
|
427
427
|
/**
|
|
428
428
|
* Resizing S with pointer
|
|
429
429
|
*/
|
|
430
|
-
RESIZING_S,
|
|
430
|
+
RESIZING_S = 16385,
|
|
431
431
|
/**
|
|
432
432
|
* Resizing SE with pointer
|
|
433
433
|
*/
|
|
434
|
-
RESIZING_SE,
|
|
434
|
+
RESIZING_SE = 24577,
|
|
435
435
|
/**
|
|
436
436
|
* Resizing W with pointer
|
|
437
437
|
*/
|
|
438
|
-
RESIZING_W,
|
|
438
|
+
RESIZING_W = 4097,
|
|
439
439
|
/**
|
|
440
440
|
* Moving with keyboard
|
|
441
441
|
*/
|
|
442
|
-
KEYBOARD_MOVING,
|
|
442
|
+
KEYBOARD_MOVING = 257,
|
|
443
443
|
/**
|
|
444
444
|
* Resizing with keyboard
|
|
445
445
|
*/
|
|
446
|
-
KEYBOARD_RESIZING_UNKNOWN,
|
|
446
|
+
KEYBOARD_RESIZING_UNKNOWN = 769,
|
|
447
447
|
/**
|
|
448
448
|
* Resizing NS with keyboard
|
|
449
449
|
*/
|
|
450
|
-
KEYBOARD_RESIZING_NW,
|
|
450
|
+
KEYBOARD_RESIZING_NW = 37121,
|
|
451
451
|
/**
|
|
452
452
|
* Resizing N with keyboard
|
|
453
453
|
*/
|
|
454
|
-
KEYBOARD_RESIZING_N,
|
|
454
|
+
KEYBOARD_RESIZING_N = 33025,
|
|
455
455
|
/**
|
|
456
456
|
* Resizing NE with keyboard
|
|
457
457
|
*/
|
|
458
|
-
KEYBOARD_RESIZING_NE,
|
|
458
|
+
KEYBOARD_RESIZING_NE = 41217,
|
|
459
459
|
/**
|
|
460
460
|
* Resizing E with keyboard
|
|
461
461
|
*/
|
|
462
|
-
KEYBOARD_RESIZING_E,
|
|
462
|
+
KEYBOARD_RESIZING_E = 8449,
|
|
463
463
|
/**
|
|
464
464
|
* Resizing SW with keyboard
|
|
465
465
|
*/
|
|
466
|
-
KEYBOARD_RESIZING_SW,
|
|
466
|
+
KEYBOARD_RESIZING_SW = 20737,
|
|
467
467
|
/**
|
|
468
468
|
* Resizing S with keyboard
|
|
469
469
|
*/
|
|
470
|
-
KEYBOARD_RESIZING_S,
|
|
470
|
+
KEYBOARD_RESIZING_S = 16641,
|
|
471
471
|
/**
|
|
472
472
|
* Resizing SE with keyboard
|
|
473
473
|
*/
|
|
474
|
-
KEYBOARD_RESIZING_SE,
|
|
474
|
+
KEYBOARD_RESIZING_SE = 24833,
|
|
475
475
|
/**
|
|
476
476
|
* Resizing W with keyboard
|
|
477
477
|
*/
|
|
478
|
-
KEYBOARD_RESIZING_W,
|
|
478
|
+
KEYBOARD_RESIZING_W = 4353,
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
|
|
@@ -490,17 +490,17 @@ export namespace Meta {
|
|
|
490
490
|
* @gir-type Enum
|
|
491
491
|
*/
|
|
492
492
|
enum Gravity {
|
|
493
|
-
NONE,
|
|
494
|
-
NORTH_WEST,
|
|
495
|
-
NORTH,
|
|
496
|
-
NORTH_EAST,
|
|
497
|
-
WEST,
|
|
498
|
-
CENTER,
|
|
499
|
-
EAST,
|
|
500
|
-
SOUTH_WEST,
|
|
501
|
-
SOUTH,
|
|
502
|
-
SOUTH_EAST,
|
|
503
|
-
STATIC,
|
|
493
|
+
NONE = 0,
|
|
494
|
+
NORTH_WEST = 1,
|
|
495
|
+
NORTH = 2,
|
|
496
|
+
NORTH_EAST = 3,
|
|
497
|
+
WEST = 4,
|
|
498
|
+
CENTER = 5,
|
|
499
|
+
EAST = 6,
|
|
500
|
+
SOUTH_WEST = 7,
|
|
501
|
+
SOUTH = 8,
|
|
502
|
+
SOUTH_EAST = 9,
|
|
503
|
+
STATIC = 10,
|
|
504
504
|
}
|
|
505
505
|
|
|
506
506
|
|
|
@@ -515,8 +515,8 @@ export namespace Meta {
|
|
|
515
515
|
* @gir-type Enum
|
|
516
516
|
*/
|
|
517
517
|
enum InhibitShortcutsDialogResponse {
|
|
518
|
-
ALLOW,
|
|
519
|
-
DENY,
|
|
518
|
+
ALLOW = 0,
|
|
519
|
+
DENY = 1,
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
|
|
@@ -534,366 +534,366 @@ export namespace Meta {
|
|
|
534
534
|
/**
|
|
535
535
|
* FILLME
|
|
536
536
|
*/
|
|
537
|
-
NONE,
|
|
537
|
+
NONE = 0,
|
|
538
538
|
/**
|
|
539
539
|
* FILLME
|
|
540
540
|
*/
|
|
541
|
-
WORKSPACE_1,
|
|
541
|
+
WORKSPACE_1 = 1,
|
|
542
542
|
/**
|
|
543
543
|
* FILLME
|
|
544
544
|
*/
|
|
545
|
-
WORKSPACE_2,
|
|
545
|
+
WORKSPACE_2 = 2,
|
|
546
546
|
/**
|
|
547
547
|
* FILLME
|
|
548
548
|
*/
|
|
549
|
-
WORKSPACE_3,
|
|
549
|
+
WORKSPACE_3 = 3,
|
|
550
550
|
/**
|
|
551
551
|
* FILLME
|
|
552
552
|
*/
|
|
553
|
-
WORKSPACE_4,
|
|
553
|
+
WORKSPACE_4 = 4,
|
|
554
554
|
/**
|
|
555
555
|
* FILLME
|
|
556
556
|
*/
|
|
557
|
-
WORKSPACE_5,
|
|
557
|
+
WORKSPACE_5 = 5,
|
|
558
558
|
/**
|
|
559
559
|
* FILLME
|
|
560
560
|
*/
|
|
561
|
-
WORKSPACE_6,
|
|
561
|
+
WORKSPACE_6 = 6,
|
|
562
562
|
/**
|
|
563
563
|
* FILLME
|
|
564
564
|
*/
|
|
565
|
-
WORKSPACE_7,
|
|
565
|
+
WORKSPACE_7 = 7,
|
|
566
566
|
/**
|
|
567
567
|
* FILLME
|
|
568
568
|
*/
|
|
569
|
-
WORKSPACE_8,
|
|
569
|
+
WORKSPACE_8 = 8,
|
|
570
570
|
/**
|
|
571
571
|
* FILLME
|
|
572
572
|
*/
|
|
573
|
-
WORKSPACE_9,
|
|
573
|
+
WORKSPACE_9 = 9,
|
|
574
574
|
/**
|
|
575
575
|
* FILLME
|
|
576
576
|
*/
|
|
577
|
-
WORKSPACE_10,
|
|
577
|
+
WORKSPACE_10 = 10,
|
|
578
578
|
/**
|
|
579
579
|
* FILLME
|
|
580
580
|
*/
|
|
581
|
-
WORKSPACE_11,
|
|
581
|
+
WORKSPACE_11 = 11,
|
|
582
582
|
/**
|
|
583
583
|
* FILLME
|
|
584
584
|
*/
|
|
585
|
-
WORKSPACE_12,
|
|
585
|
+
WORKSPACE_12 = 12,
|
|
586
586
|
/**
|
|
587
587
|
* FILLME
|
|
588
588
|
*/
|
|
589
|
-
WORKSPACE_LEFT,
|
|
589
|
+
WORKSPACE_LEFT = 13,
|
|
590
590
|
/**
|
|
591
591
|
* FILLME
|
|
592
592
|
*/
|
|
593
|
-
WORKSPACE_RIGHT,
|
|
593
|
+
WORKSPACE_RIGHT = 14,
|
|
594
594
|
/**
|
|
595
595
|
* FILLME
|
|
596
596
|
*/
|
|
597
|
-
WORKSPACE_UP,
|
|
597
|
+
WORKSPACE_UP = 15,
|
|
598
598
|
/**
|
|
599
599
|
* FILLME
|
|
600
600
|
*/
|
|
601
|
-
WORKSPACE_DOWN,
|
|
601
|
+
WORKSPACE_DOWN = 16,
|
|
602
602
|
/**
|
|
603
603
|
* FILLME
|
|
604
604
|
*/
|
|
605
|
-
WORKSPACE_LAST,
|
|
605
|
+
WORKSPACE_LAST = 17,
|
|
606
606
|
/**
|
|
607
607
|
* FILLME
|
|
608
608
|
*/
|
|
609
|
-
SWITCH_APPLICATIONS,
|
|
609
|
+
SWITCH_APPLICATIONS = 18,
|
|
610
610
|
/**
|
|
611
611
|
* FILLME
|
|
612
612
|
*/
|
|
613
|
-
SWITCH_APPLICATIONS_BACKWARD,
|
|
613
|
+
SWITCH_APPLICATIONS_BACKWARD = 19,
|
|
614
614
|
/**
|
|
615
615
|
* FILLME
|
|
616
616
|
*/
|
|
617
|
-
SWITCH_GROUP,
|
|
617
|
+
SWITCH_GROUP = 20,
|
|
618
618
|
/**
|
|
619
619
|
* FILLME
|
|
620
620
|
*/
|
|
621
|
-
SWITCH_GROUP_BACKWARD,
|
|
621
|
+
SWITCH_GROUP_BACKWARD = 21,
|
|
622
622
|
/**
|
|
623
623
|
* FILLME
|
|
624
624
|
*/
|
|
625
|
-
SWITCH_WINDOWS,
|
|
625
|
+
SWITCH_WINDOWS = 22,
|
|
626
626
|
/**
|
|
627
627
|
* FILLME
|
|
628
628
|
*/
|
|
629
|
-
SWITCH_WINDOWS_BACKWARD,
|
|
629
|
+
SWITCH_WINDOWS_BACKWARD = 23,
|
|
630
630
|
/**
|
|
631
631
|
* FILLME
|
|
632
632
|
*/
|
|
633
|
-
SWITCH_PANELS,
|
|
633
|
+
SWITCH_PANELS = 24,
|
|
634
634
|
/**
|
|
635
635
|
* FILLME
|
|
636
636
|
*/
|
|
637
|
-
SWITCH_PANELS_BACKWARD,
|
|
637
|
+
SWITCH_PANELS_BACKWARD = 25,
|
|
638
638
|
/**
|
|
639
639
|
* FILLME
|
|
640
640
|
*/
|
|
641
|
-
CYCLE_GROUP,
|
|
641
|
+
CYCLE_GROUP = 26,
|
|
642
642
|
/**
|
|
643
643
|
* FILLME
|
|
644
644
|
*/
|
|
645
|
-
CYCLE_GROUP_BACKWARD,
|
|
645
|
+
CYCLE_GROUP_BACKWARD = 27,
|
|
646
646
|
/**
|
|
647
647
|
* FILLME
|
|
648
648
|
*/
|
|
649
|
-
CYCLE_WINDOWS,
|
|
649
|
+
CYCLE_WINDOWS = 28,
|
|
650
650
|
/**
|
|
651
651
|
* FILLME
|
|
652
652
|
*/
|
|
653
|
-
CYCLE_WINDOWS_BACKWARD,
|
|
653
|
+
CYCLE_WINDOWS_BACKWARD = 29,
|
|
654
654
|
/**
|
|
655
655
|
* FILLME
|
|
656
656
|
*/
|
|
657
|
-
CYCLE_PANELS,
|
|
657
|
+
CYCLE_PANELS = 30,
|
|
658
658
|
/**
|
|
659
659
|
* FILLME
|
|
660
660
|
*/
|
|
661
|
-
CYCLE_PANELS_BACKWARD,
|
|
661
|
+
CYCLE_PANELS_BACKWARD = 31,
|
|
662
662
|
/**
|
|
663
663
|
* FILLME
|
|
664
664
|
*/
|
|
665
|
-
SHOW_DESKTOP,
|
|
665
|
+
SHOW_DESKTOP = 32,
|
|
666
666
|
/**
|
|
667
667
|
* FILLME
|
|
668
668
|
*/
|
|
669
|
-
PANEL_MAIN_MENU,
|
|
669
|
+
PANEL_MAIN_MENU = 33,
|
|
670
670
|
/**
|
|
671
671
|
* FILLME
|
|
672
672
|
*/
|
|
673
|
-
PANEL_RUN_DIALOG,
|
|
673
|
+
PANEL_RUN_DIALOG = 34,
|
|
674
674
|
/**
|
|
675
675
|
* FILLME
|
|
676
676
|
*/
|
|
677
|
-
TOGGLE_RECORDING,
|
|
677
|
+
TOGGLE_RECORDING = 35,
|
|
678
678
|
/**
|
|
679
679
|
* FILLME
|
|
680
680
|
*/
|
|
681
|
-
SET_SPEW_MARK,
|
|
681
|
+
SET_SPEW_MARK = 36,
|
|
682
682
|
/**
|
|
683
683
|
* FILLME
|
|
684
684
|
*/
|
|
685
|
-
ACTIVATE_WINDOW_MENU,
|
|
685
|
+
ACTIVATE_WINDOW_MENU = 37,
|
|
686
686
|
/**
|
|
687
687
|
* FILLME
|
|
688
688
|
*/
|
|
689
|
-
TOGGLE_FULLSCREEN,
|
|
689
|
+
TOGGLE_FULLSCREEN = 38,
|
|
690
690
|
/**
|
|
691
691
|
* FILLME
|
|
692
692
|
*/
|
|
693
|
-
TOGGLE_MAXIMIZED,
|
|
693
|
+
TOGGLE_MAXIMIZED = 39,
|
|
694
694
|
/**
|
|
695
695
|
* FILLME
|
|
696
696
|
*/
|
|
697
|
-
TOGGLE_TILED_LEFT,
|
|
697
|
+
TOGGLE_TILED_LEFT = 40,
|
|
698
698
|
/**
|
|
699
699
|
* FILLME
|
|
700
700
|
*/
|
|
701
|
-
TOGGLE_TILED_RIGHT,
|
|
701
|
+
TOGGLE_TILED_RIGHT = 41,
|
|
702
702
|
/**
|
|
703
703
|
* FILLME
|
|
704
704
|
*/
|
|
705
|
-
TOGGLE_ABOVE,
|
|
705
|
+
TOGGLE_ABOVE = 42,
|
|
706
706
|
/**
|
|
707
707
|
* FILLME
|
|
708
708
|
*/
|
|
709
|
-
MAXIMIZE,
|
|
709
|
+
MAXIMIZE = 43,
|
|
710
710
|
/**
|
|
711
711
|
* FILLME
|
|
712
712
|
*/
|
|
713
|
-
UNMAXIMIZE,
|
|
713
|
+
UNMAXIMIZE = 44,
|
|
714
714
|
/**
|
|
715
715
|
* FILLME
|
|
716
716
|
*/
|
|
717
|
-
TOGGLE_SHADED,
|
|
717
|
+
TOGGLE_SHADED = 45,
|
|
718
718
|
/**
|
|
719
719
|
* FILLME
|
|
720
720
|
*/
|
|
721
|
-
MINIMIZE,
|
|
721
|
+
MINIMIZE = 46,
|
|
722
722
|
/**
|
|
723
723
|
* FILLME
|
|
724
724
|
*/
|
|
725
|
-
CLOSE,
|
|
725
|
+
CLOSE = 47,
|
|
726
726
|
/**
|
|
727
727
|
* FILLME
|
|
728
728
|
*/
|
|
729
|
-
BEGIN_MOVE,
|
|
729
|
+
BEGIN_MOVE = 48,
|
|
730
730
|
/**
|
|
731
731
|
* FILLME
|
|
732
732
|
*/
|
|
733
|
-
BEGIN_RESIZE,
|
|
733
|
+
BEGIN_RESIZE = 49,
|
|
734
734
|
/**
|
|
735
735
|
* FILLME
|
|
736
736
|
*/
|
|
737
|
-
TOGGLE_ON_ALL_WORKSPACES,
|
|
737
|
+
TOGGLE_ON_ALL_WORKSPACES = 50,
|
|
738
738
|
/**
|
|
739
739
|
* FILLME
|
|
740
740
|
*/
|
|
741
|
-
MOVE_TO_WORKSPACE_1,
|
|
741
|
+
MOVE_TO_WORKSPACE_1 = 51,
|
|
742
742
|
/**
|
|
743
743
|
* FILLME
|
|
744
744
|
*/
|
|
745
|
-
MOVE_TO_WORKSPACE_2,
|
|
745
|
+
MOVE_TO_WORKSPACE_2 = 52,
|
|
746
746
|
/**
|
|
747
747
|
* FILLME
|
|
748
748
|
*/
|
|
749
|
-
MOVE_TO_WORKSPACE_3,
|
|
749
|
+
MOVE_TO_WORKSPACE_3 = 53,
|
|
750
750
|
/**
|
|
751
751
|
* FILLME
|
|
752
752
|
*/
|
|
753
|
-
MOVE_TO_WORKSPACE_4,
|
|
753
|
+
MOVE_TO_WORKSPACE_4 = 54,
|
|
754
754
|
/**
|
|
755
755
|
* FILLME
|
|
756
756
|
*/
|
|
757
|
-
MOVE_TO_WORKSPACE_5,
|
|
757
|
+
MOVE_TO_WORKSPACE_5 = 55,
|
|
758
758
|
/**
|
|
759
759
|
* FILLME
|
|
760
760
|
*/
|
|
761
|
-
MOVE_TO_WORKSPACE_6,
|
|
761
|
+
MOVE_TO_WORKSPACE_6 = 56,
|
|
762
762
|
/**
|
|
763
763
|
* FILLME
|
|
764
764
|
*/
|
|
765
|
-
MOVE_TO_WORKSPACE_7,
|
|
765
|
+
MOVE_TO_WORKSPACE_7 = 57,
|
|
766
766
|
/**
|
|
767
767
|
* FILLME
|
|
768
768
|
*/
|
|
769
|
-
MOVE_TO_WORKSPACE_8,
|
|
769
|
+
MOVE_TO_WORKSPACE_8 = 58,
|
|
770
770
|
/**
|
|
771
771
|
* FILLME
|
|
772
772
|
*/
|
|
773
|
-
MOVE_TO_WORKSPACE_9,
|
|
773
|
+
MOVE_TO_WORKSPACE_9 = 59,
|
|
774
774
|
/**
|
|
775
775
|
* FILLME
|
|
776
776
|
*/
|
|
777
|
-
MOVE_TO_WORKSPACE_10,
|
|
777
|
+
MOVE_TO_WORKSPACE_10 = 60,
|
|
778
778
|
/**
|
|
779
779
|
* FILLME
|
|
780
780
|
*/
|
|
781
|
-
MOVE_TO_WORKSPACE_11,
|
|
781
|
+
MOVE_TO_WORKSPACE_11 = 61,
|
|
782
782
|
/**
|
|
783
783
|
* FILLME
|
|
784
784
|
*/
|
|
785
|
-
MOVE_TO_WORKSPACE_12,
|
|
785
|
+
MOVE_TO_WORKSPACE_12 = 62,
|
|
786
786
|
/**
|
|
787
787
|
* FILLME
|
|
788
788
|
*/
|
|
789
|
-
MOVE_TO_WORKSPACE_LEFT,
|
|
789
|
+
MOVE_TO_WORKSPACE_LEFT = 63,
|
|
790
790
|
/**
|
|
791
791
|
* FILLME
|
|
792
792
|
*/
|
|
793
|
-
MOVE_TO_WORKSPACE_RIGHT,
|
|
793
|
+
MOVE_TO_WORKSPACE_RIGHT = 64,
|
|
794
794
|
/**
|
|
795
795
|
* FILLME
|
|
796
796
|
*/
|
|
797
|
-
MOVE_TO_WORKSPACE_UP,
|
|
797
|
+
MOVE_TO_WORKSPACE_UP = 65,
|
|
798
798
|
/**
|
|
799
799
|
* FILLME
|
|
800
800
|
*/
|
|
801
|
-
MOVE_TO_WORKSPACE_DOWN,
|
|
801
|
+
MOVE_TO_WORKSPACE_DOWN = 66,
|
|
802
802
|
/**
|
|
803
803
|
* FILLME
|
|
804
804
|
*/
|
|
805
|
-
MOVE_TO_WORKSPACE_LAST,
|
|
805
|
+
MOVE_TO_WORKSPACE_LAST = 67,
|
|
806
806
|
/**
|
|
807
807
|
* FILLME
|
|
808
808
|
*/
|
|
809
|
-
MOVE_TO_MONITOR_LEFT,
|
|
809
|
+
MOVE_TO_MONITOR_LEFT = 68,
|
|
810
810
|
/**
|
|
811
811
|
* FILLME
|
|
812
812
|
*/
|
|
813
|
-
MOVE_TO_MONITOR_RIGHT,
|
|
813
|
+
MOVE_TO_MONITOR_RIGHT = 69,
|
|
814
814
|
/**
|
|
815
815
|
* FILLME
|
|
816
816
|
*/
|
|
817
|
-
MOVE_TO_MONITOR_UP,
|
|
817
|
+
MOVE_TO_MONITOR_UP = 70,
|
|
818
818
|
/**
|
|
819
819
|
* FILLME
|
|
820
820
|
*/
|
|
821
|
-
MOVE_TO_MONITOR_DOWN,
|
|
821
|
+
MOVE_TO_MONITOR_DOWN = 71,
|
|
822
822
|
/**
|
|
823
823
|
* FILLME
|
|
824
824
|
*/
|
|
825
|
-
RAISE_OR_LOWER,
|
|
825
|
+
RAISE_OR_LOWER = 72,
|
|
826
826
|
/**
|
|
827
827
|
* FILLME
|
|
828
828
|
*/
|
|
829
|
-
RAISE,
|
|
829
|
+
RAISE = 73,
|
|
830
830
|
/**
|
|
831
831
|
* FILLME
|
|
832
832
|
*/
|
|
833
|
-
LOWER,
|
|
833
|
+
LOWER = 74,
|
|
834
834
|
/**
|
|
835
835
|
* FILLME
|
|
836
836
|
*/
|
|
837
|
-
MAXIMIZE_VERTICALLY,
|
|
837
|
+
MAXIMIZE_VERTICALLY = 75,
|
|
838
838
|
/**
|
|
839
839
|
* FILLME
|
|
840
840
|
*/
|
|
841
|
-
MAXIMIZE_HORIZONTALLY,
|
|
841
|
+
MAXIMIZE_HORIZONTALLY = 76,
|
|
842
842
|
/**
|
|
843
843
|
* FILLME
|
|
844
844
|
*/
|
|
845
|
-
MOVE_TO_CORNER_NW,
|
|
845
|
+
MOVE_TO_CORNER_NW = 77,
|
|
846
846
|
/**
|
|
847
847
|
* FILLME
|
|
848
848
|
*/
|
|
849
|
-
MOVE_TO_CORNER_NE,
|
|
849
|
+
MOVE_TO_CORNER_NE = 78,
|
|
850
850
|
/**
|
|
851
851
|
* FILLME
|
|
852
852
|
*/
|
|
853
|
-
MOVE_TO_CORNER_SW,
|
|
853
|
+
MOVE_TO_CORNER_SW = 79,
|
|
854
854
|
/**
|
|
855
855
|
* FILLME
|
|
856
856
|
*/
|
|
857
|
-
MOVE_TO_CORNER_SE,
|
|
857
|
+
MOVE_TO_CORNER_SE = 80,
|
|
858
858
|
/**
|
|
859
859
|
* FILLME
|
|
860
860
|
*/
|
|
861
|
-
MOVE_TO_SIDE_N,
|
|
861
|
+
MOVE_TO_SIDE_N = 81,
|
|
862
862
|
/**
|
|
863
863
|
* FILLME
|
|
864
864
|
*/
|
|
865
|
-
MOVE_TO_SIDE_S,
|
|
865
|
+
MOVE_TO_SIDE_S = 82,
|
|
866
866
|
/**
|
|
867
867
|
* FILLME
|
|
868
868
|
*/
|
|
869
|
-
MOVE_TO_SIDE_E,
|
|
869
|
+
MOVE_TO_SIDE_E = 83,
|
|
870
870
|
/**
|
|
871
871
|
* FILLME
|
|
872
872
|
*/
|
|
873
|
-
MOVE_TO_SIDE_W,
|
|
873
|
+
MOVE_TO_SIDE_W = 84,
|
|
874
874
|
/**
|
|
875
875
|
* FILLME
|
|
876
876
|
*/
|
|
877
|
-
MOVE_TO_CENTER,
|
|
877
|
+
MOVE_TO_CENTER = 85,
|
|
878
878
|
/**
|
|
879
879
|
* FILLME
|
|
880
880
|
*/
|
|
881
|
-
OVERLAY_KEY,
|
|
881
|
+
OVERLAY_KEY = 86,
|
|
882
882
|
/**
|
|
883
883
|
* FILLME
|
|
884
884
|
*/
|
|
885
|
-
LOCATE_POINTER_KEY,
|
|
886
|
-
ISO_NEXT_GROUP,
|
|
885
|
+
LOCATE_POINTER_KEY = 87,
|
|
886
|
+
ISO_NEXT_GROUP = 88,
|
|
887
887
|
/**
|
|
888
888
|
* FILLME
|
|
889
889
|
*/
|
|
890
|
-
ALWAYS_ON_TOP,
|
|
891
|
-
SWITCH_MONITOR,
|
|
892
|
-
ROTATE_MONITOR,
|
|
890
|
+
ALWAYS_ON_TOP = 89,
|
|
891
|
+
SWITCH_MONITOR = 90,
|
|
892
|
+
ROTATE_MONITOR = 91,
|
|
893
893
|
/**
|
|
894
894
|
* FILLME
|
|
895
895
|
*/
|
|
896
|
-
LAST,
|
|
896
|
+
LAST = 92,
|
|
897
897
|
}
|
|
898
898
|
|
|
899
899
|
|
|
@@ -912,28 +912,28 @@ export namespace Meta {
|
|
|
912
912
|
* call in a resize processing phase that is done
|
|
913
913
|
* before GTK+ repainting (including window borders) is done.
|
|
914
914
|
*/
|
|
915
|
-
RESIZE,
|
|
915
|
+
RESIZE = 0,
|
|
916
916
|
/**
|
|
917
917
|
* used by Mutter to compute which windows should be mapped
|
|
918
918
|
*/
|
|
919
|
-
CALC_SHOWING,
|
|
919
|
+
CALC_SHOWING = 1,
|
|
920
920
|
/**
|
|
921
921
|
* used by Mutter to see if there's a fullscreen window
|
|
922
922
|
*/
|
|
923
|
-
CHECK_FULLSCREEN,
|
|
923
|
+
CHECK_FULLSCREEN = 2,
|
|
924
924
|
/**
|
|
925
925
|
* used by Mutter to send it's idea of the stacking order to the server
|
|
926
926
|
*/
|
|
927
|
-
SYNC_STACK,
|
|
927
|
+
SYNC_STACK = 3,
|
|
928
928
|
/**
|
|
929
929
|
* call before the stage is redrawn
|
|
930
930
|
*/
|
|
931
|
-
BEFORE_REDRAW,
|
|
931
|
+
BEFORE_REDRAW = 4,
|
|
932
932
|
/**
|
|
933
933
|
* call at a very low priority (can be blocked
|
|
934
934
|
* by running animations or redrawing applications)
|
|
935
935
|
*/
|
|
936
|
-
IDLE,
|
|
936
|
+
IDLE = 5,
|
|
937
937
|
}
|
|
938
938
|
|
|
939
939
|
|
|
@@ -948,8 +948,8 @@ export namespace Meta {
|
|
|
948
948
|
* @gir-type Enum
|
|
949
949
|
*/
|
|
950
950
|
enum LocaleDirection {
|
|
951
|
-
LTR,
|
|
952
|
-
RTL,
|
|
951
|
+
LTR = 0,
|
|
952
|
+
RTL = 1,
|
|
953
953
|
}
|
|
954
954
|
|
|
955
955
|
|
|
@@ -964,11 +964,11 @@ export namespace Meta {
|
|
|
964
964
|
* @gir-type Enum
|
|
965
965
|
*/
|
|
966
966
|
enum MonitorSwitchConfigType {
|
|
967
|
-
ALL_MIRROR,
|
|
968
|
-
ALL_LINEAR,
|
|
969
|
-
EXTERNAL,
|
|
970
|
-
BUILTIN,
|
|
971
|
-
UNKNOWN,
|
|
967
|
+
ALL_MIRROR = 0,
|
|
968
|
+
ALL_LINEAR = 1,
|
|
969
|
+
EXTERNAL = 2,
|
|
970
|
+
BUILTIN = 3,
|
|
971
|
+
UNKNOWN = 4,
|
|
972
972
|
}
|
|
973
973
|
|
|
974
974
|
|
|
@@ -986,35 +986,35 @@ export namespace Meta {
|
|
|
986
986
|
/**
|
|
987
987
|
* Upwards motion
|
|
988
988
|
*/
|
|
989
|
-
UP,
|
|
989
|
+
UP = -1,
|
|
990
990
|
/**
|
|
991
991
|
* Downwards motion
|
|
992
992
|
*/
|
|
993
|
-
DOWN,
|
|
993
|
+
DOWN = -2,
|
|
994
994
|
/**
|
|
995
995
|
* Motion to the left
|
|
996
996
|
*/
|
|
997
|
-
LEFT,
|
|
997
|
+
LEFT = -3,
|
|
998
998
|
/**
|
|
999
999
|
* Motion to the right
|
|
1000
1000
|
*/
|
|
1001
|
-
RIGHT,
|
|
1001
|
+
RIGHT = -4,
|
|
1002
1002
|
/**
|
|
1003
1003
|
* Motion up and to the left
|
|
1004
1004
|
*/
|
|
1005
|
-
UP_LEFT,
|
|
1005
|
+
UP_LEFT = -5,
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Motion up and to the right
|
|
1008
1008
|
*/
|
|
1009
|
-
UP_RIGHT,
|
|
1009
|
+
UP_RIGHT = -6,
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Motion down and to the left
|
|
1012
1012
|
*/
|
|
1013
|
-
DOWN_LEFT,
|
|
1013
|
+
DOWN_LEFT = -7,
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Motion down and to the right
|
|
1016
1016
|
*/
|
|
1017
|
-
DOWN_RIGHT,
|
|
1017
|
+
DOWN_RIGHT = -8,
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
1020
|
|
|
@@ -1029,9 +1029,9 @@ export namespace Meta {
|
|
|
1029
1029
|
* @gir-type Enum
|
|
1030
1030
|
*/
|
|
1031
1031
|
enum PadActionType {
|
|
1032
|
-
BUTTON,
|
|
1033
|
-
RING,
|
|
1034
|
-
STRIP,
|
|
1032
|
+
BUTTON = 0,
|
|
1033
|
+
RING = 1,
|
|
1034
|
+
STRIP = 2,
|
|
1035
1035
|
}
|
|
1036
1036
|
|
|
1037
1037
|
|
|
@@ -1049,140 +1049,140 @@ export namespace Meta {
|
|
|
1049
1049
|
/**
|
|
1050
1050
|
* mouse button modifiers
|
|
1051
1051
|
*/
|
|
1052
|
-
MOUSE_BUTTON_MODS,
|
|
1052
|
+
MOUSE_BUTTON_MODS = 0,
|
|
1053
1053
|
/**
|
|
1054
1054
|
* focus mode
|
|
1055
1055
|
*/
|
|
1056
|
-
FOCUS_MODE,
|
|
1056
|
+
FOCUS_MODE = 1,
|
|
1057
1057
|
/**
|
|
1058
1058
|
* focus new windows
|
|
1059
1059
|
*/
|
|
1060
|
-
FOCUS_NEW_WINDOWS,
|
|
1060
|
+
FOCUS_NEW_WINDOWS = 2,
|
|
1061
1061
|
/**
|
|
1062
1062
|
* attach modal dialogs
|
|
1063
1063
|
*/
|
|
1064
|
-
ATTACH_MODAL_DIALOGS,
|
|
1064
|
+
ATTACH_MODAL_DIALOGS = 3,
|
|
1065
1065
|
/**
|
|
1066
1066
|
* raise on click
|
|
1067
1067
|
*/
|
|
1068
|
-
RAISE_ON_CLICK,
|
|
1068
|
+
RAISE_ON_CLICK = 4,
|
|
1069
1069
|
/**
|
|
1070
1070
|
* action double click titlebar
|
|
1071
1071
|
*/
|
|
1072
|
-
ACTION_DOUBLE_CLICK_TITLEBAR,
|
|
1072
|
+
ACTION_DOUBLE_CLICK_TITLEBAR = 5,
|
|
1073
1073
|
/**
|
|
1074
1074
|
* action middle click titlebar
|
|
1075
1075
|
*/
|
|
1076
|
-
ACTION_MIDDLE_CLICK_TITLEBAR,
|
|
1076
|
+
ACTION_MIDDLE_CLICK_TITLEBAR = 6,
|
|
1077
1077
|
/**
|
|
1078
1078
|
* action right click titlebar
|
|
1079
1079
|
*/
|
|
1080
|
-
ACTION_RIGHT_CLICK_TITLEBAR,
|
|
1080
|
+
ACTION_RIGHT_CLICK_TITLEBAR = 7,
|
|
1081
1081
|
/**
|
|
1082
1082
|
* auto-raise
|
|
1083
1083
|
*/
|
|
1084
|
-
AUTO_RAISE,
|
|
1084
|
+
AUTO_RAISE = 8,
|
|
1085
1085
|
/**
|
|
1086
1086
|
* auto-raise delay
|
|
1087
1087
|
*/
|
|
1088
|
-
AUTO_RAISE_DELAY,
|
|
1088
|
+
AUTO_RAISE_DELAY = 9,
|
|
1089
1089
|
/**
|
|
1090
1090
|
* focus change on pointer rest
|
|
1091
1091
|
*/
|
|
1092
|
-
FOCUS_CHANGE_ON_POINTER_REST,
|
|
1092
|
+
FOCUS_CHANGE_ON_POINTER_REST = 10,
|
|
1093
1093
|
/**
|
|
1094
1094
|
* title-bar font
|
|
1095
1095
|
*/
|
|
1096
|
-
TITLEBAR_FONT,
|
|
1096
|
+
TITLEBAR_FONT = 11,
|
|
1097
1097
|
/**
|
|
1098
1098
|
* number of workspaces
|
|
1099
1099
|
*/
|
|
1100
|
-
NUM_WORKSPACES,
|
|
1100
|
+
NUM_WORKSPACES = 12,
|
|
1101
1101
|
/**
|
|
1102
1102
|
* dynamic workspaces
|
|
1103
1103
|
*/
|
|
1104
|
-
DYNAMIC_WORKSPACES,
|
|
1104
|
+
DYNAMIC_WORKSPACES = 13,
|
|
1105
1105
|
/**
|
|
1106
1106
|
* keybindings
|
|
1107
1107
|
*/
|
|
1108
|
-
KEYBINDINGS,
|
|
1108
|
+
KEYBINDINGS = 14,
|
|
1109
1109
|
/**
|
|
1110
1110
|
* disable workarounds
|
|
1111
1111
|
*/
|
|
1112
|
-
DISABLE_WORKAROUNDS,
|
|
1112
|
+
DISABLE_WORKAROUNDS = 15,
|
|
1113
1113
|
/**
|
|
1114
1114
|
* button layout
|
|
1115
1115
|
*/
|
|
1116
|
-
BUTTON_LAYOUT,
|
|
1116
|
+
BUTTON_LAYOUT = 16,
|
|
1117
1117
|
/**
|
|
1118
1118
|
* workspace names
|
|
1119
1119
|
*/
|
|
1120
|
-
WORKSPACE_NAMES,
|
|
1120
|
+
WORKSPACE_NAMES = 17,
|
|
1121
1121
|
/**
|
|
1122
1122
|
* visual bell
|
|
1123
1123
|
*/
|
|
1124
|
-
VISUAL_BELL,
|
|
1124
|
+
VISUAL_BELL = 18,
|
|
1125
1125
|
/**
|
|
1126
1126
|
* audible bell
|
|
1127
1127
|
*/
|
|
1128
|
-
AUDIBLE_BELL,
|
|
1128
|
+
AUDIBLE_BELL = 19,
|
|
1129
1129
|
/**
|
|
1130
1130
|
* visual bell type
|
|
1131
1131
|
*/
|
|
1132
|
-
VISUAL_BELL_TYPE,
|
|
1132
|
+
VISUAL_BELL_TYPE = 20,
|
|
1133
1133
|
/**
|
|
1134
1134
|
* GNOME accessibility
|
|
1135
1135
|
*/
|
|
1136
|
-
GNOME_ACCESSIBILITY,
|
|
1136
|
+
GNOME_ACCESSIBILITY = 21,
|
|
1137
1137
|
/**
|
|
1138
1138
|
* GNOME animations
|
|
1139
1139
|
*/
|
|
1140
|
-
GNOME_ANIMATIONS,
|
|
1140
|
+
GNOME_ANIMATIONS = 22,
|
|
1141
1141
|
/**
|
|
1142
1142
|
* cursor theme
|
|
1143
1143
|
*/
|
|
1144
|
-
CURSOR_THEME,
|
|
1144
|
+
CURSOR_THEME = 23,
|
|
1145
1145
|
/**
|
|
1146
1146
|
* cursor size
|
|
1147
1147
|
*/
|
|
1148
|
-
CURSOR_SIZE,
|
|
1148
|
+
CURSOR_SIZE = 24,
|
|
1149
1149
|
/**
|
|
1150
1150
|
* resize with right button
|
|
1151
1151
|
*/
|
|
1152
|
-
RESIZE_WITH_RIGHT_BUTTON,
|
|
1152
|
+
RESIZE_WITH_RIGHT_BUTTON = 25,
|
|
1153
1153
|
/**
|
|
1154
1154
|
* edge tiling
|
|
1155
1155
|
*/
|
|
1156
|
-
EDGE_TILING,
|
|
1156
|
+
EDGE_TILING = 26,
|
|
1157
1157
|
/**
|
|
1158
1158
|
* force fullscreen
|
|
1159
1159
|
*/
|
|
1160
|
-
FORCE_FULLSCREEN,
|
|
1160
|
+
FORCE_FULLSCREEN = 27,
|
|
1161
1161
|
/**
|
|
1162
1162
|
* workspaces only on primary
|
|
1163
1163
|
*/
|
|
1164
|
-
WORKSPACES_ONLY_ON_PRIMARY,
|
|
1164
|
+
WORKSPACES_ONLY_ON_PRIMARY = 28,
|
|
1165
1165
|
/**
|
|
1166
1166
|
* draggable border width
|
|
1167
1167
|
*/
|
|
1168
|
-
DRAGGABLE_BORDER_WIDTH,
|
|
1168
|
+
DRAGGABLE_BORDER_WIDTH = 29,
|
|
1169
1169
|
/**
|
|
1170
1170
|
* auto-maximize
|
|
1171
1171
|
*/
|
|
1172
|
-
AUTO_MAXIMIZE,
|
|
1172
|
+
AUTO_MAXIMIZE = 30,
|
|
1173
1173
|
/**
|
|
1174
1174
|
* center new windows
|
|
1175
1175
|
*/
|
|
1176
|
-
CENTER_NEW_WINDOWS,
|
|
1176
|
+
CENTER_NEW_WINDOWS = 31,
|
|
1177
1177
|
/**
|
|
1178
1178
|
* drag threshold
|
|
1179
1179
|
*/
|
|
1180
|
-
DRAG_THRESHOLD,
|
|
1180
|
+
DRAG_THRESHOLD = 32,
|
|
1181
1181
|
/**
|
|
1182
1182
|
* show pointer location
|
|
1183
1183
|
*/
|
|
1184
|
-
LOCATE_POINTER,
|
|
1185
|
-
CHECK_ALIVE_TIMEOUT,
|
|
1184
|
+
LOCATE_POINTER = 33,
|
|
1185
|
+
CHECK_ALIVE_TIMEOUT = 34,
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
1188
|
|
|
@@ -1197,10 +1197,10 @@ export namespace Meta {
|
|
|
1197
1197
|
* @gir-type Enum
|
|
1198
1198
|
*/
|
|
1199
1199
|
enum SelectionType {
|
|
1200
|
-
SELECTION_PRIMARY,
|
|
1201
|
-
SELECTION_CLIPBOARD,
|
|
1202
|
-
SELECTION_DND,
|
|
1203
|
-
N_SELECTION_TYPES,
|
|
1200
|
+
SELECTION_PRIMARY = 0,
|
|
1201
|
+
SELECTION_CLIPBOARD = 1,
|
|
1202
|
+
SELECTION_DND = 2,
|
|
1203
|
+
N_SELECTION_TYPES = 3,
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
1206
1206
|
|
|
@@ -1215,9 +1215,9 @@ export namespace Meta {
|
|
|
1215
1215
|
* @gir-type Enum
|
|
1216
1216
|
*/
|
|
1217
1217
|
enum ShadowMode {
|
|
1218
|
-
AUTO,
|
|
1219
|
-
FORCED_OFF,
|
|
1220
|
-
FORCED_ON,
|
|
1218
|
+
AUTO = 0,
|
|
1219
|
+
FORCED_OFF = 1,
|
|
1220
|
+
FORCED_ON = 2,
|
|
1221
1221
|
}
|
|
1222
1222
|
|
|
1223
1223
|
|
|
@@ -1235,19 +1235,19 @@ export namespace Meta {
|
|
|
1235
1235
|
/**
|
|
1236
1236
|
* Left side
|
|
1237
1237
|
*/
|
|
1238
|
-
LEFT,
|
|
1238
|
+
LEFT = 1,
|
|
1239
1239
|
/**
|
|
1240
1240
|
* Right side
|
|
1241
1241
|
*/
|
|
1242
|
-
RIGHT,
|
|
1242
|
+
RIGHT = 2,
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Top side
|
|
1245
1245
|
*/
|
|
1246
|
-
TOP,
|
|
1246
|
+
TOP = 4,
|
|
1247
1247
|
/**
|
|
1248
1248
|
* Bottom side
|
|
1249
1249
|
*/
|
|
1250
|
-
BOTTOM,
|
|
1250
|
+
BOTTOM = 8,
|
|
1251
1251
|
}
|
|
1252
1252
|
|
|
1253
1253
|
|
|
@@ -1262,10 +1262,10 @@ export namespace Meta {
|
|
|
1262
1262
|
* @gir-type Enum
|
|
1263
1263
|
*/
|
|
1264
1264
|
enum SizeChange {
|
|
1265
|
-
MAXIMIZE,
|
|
1266
|
-
UNMAXIMIZE,
|
|
1267
|
-
FULLSCREEN,
|
|
1268
|
-
UNFULLSCREEN,
|
|
1265
|
+
MAXIMIZE = 0,
|
|
1266
|
+
UNMAXIMIZE = 1,
|
|
1267
|
+
FULLSCREEN = 2,
|
|
1268
|
+
UNFULLSCREEN = 3,
|
|
1269
1269
|
}
|
|
1270
1270
|
|
|
1271
1271
|
|
|
@@ -1285,31 +1285,31 @@ export namespace Meta {
|
|
|
1285
1285
|
/**
|
|
1286
1286
|
* Desktop layer
|
|
1287
1287
|
*/
|
|
1288
|
-
DESKTOP,
|
|
1288
|
+
DESKTOP = 0,
|
|
1289
1289
|
/**
|
|
1290
1290
|
* Bottom layer
|
|
1291
1291
|
*/
|
|
1292
|
-
BOTTOM,
|
|
1292
|
+
BOTTOM = 1,
|
|
1293
1293
|
/**
|
|
1294
1294
|
* Normal layer
|
|
1295
1295
|
*/
|
|
1296
|
-
NORMAL,
|
|
1296
|
+
NORMAL = 2,
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Top layer
|
|
1299
1299
|
*/
|
|
1300
|
-
TOP,
|
|
1300
|
+
TOP = 4,
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Dock layer
|
|
1303
1303
|
*/
|
|
1304
|
-
DOCK,
|
|
1304
|
+
DOCK = 4,
|
|
1305
1305
|
/**
|
|
1306
1306
|
* Override-redirect layer
|
|
1307
1307
|
*/
|
|
1308
|
-
OVERRIDE_REDIRECT,
|
|
1308
|
+
OVERRIDE_REDIRECT = 7,
|
|
1309
1309
|
/**
|
|
1310
1310
|
* Marks the end of the {@link Meta.StackLayer} enumeration
|
|
1311
1311
|
*/
|
|
1312
|
-
LAST,
|
|
1312
|
+
LAST = 8,
|
|
1313
1313
|
}
|
|
1314
1314
|
|
|
1315
1315
|
|
|
@@ -1327,19 +1327,19 @@ export namespace Meta {
|
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Normal windows
|
|
1329
1329
|
*/
|
|
1330
|
-
NORMAL,
|
|
1330
|
+
NORMAL = 0,
|
|
1331
1331
|
/**
|
|
1332
1332
|
* Dock windows
|
|
1333
1333
|
*/
|
|
1334
|
-
DOCKS,
|
|
1334
|
+
DOCKS = 1,
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Groups
|
|
1337
1337
|
*/
|
|
1338
|
-
GROUP,
|
|
1338
|
+
GROUP = 2,
|
|
1339
1339
|
/**
|
|
1340
1340
|
* All windows
|
|
1341
1341
|
*/
|
|
1342
|
-
NORMAL_ALL,
|
|
1342
|
+
NORMAL_ALL = 3,
|
|
1343
1343
|
}
|
|
1344
1344
|
|
|
1345
1345
|
|
|
@@ -1357,11 +1357,11 @@ export namespace Meta {
|
|
|
1357
1357
|
/**
|
|
1358
1358
|
* Show icon (Alt-Tab mode)
|
|
1359
1359
|
*/
|
|
1360
|
-
ICON,
|
|
1360
|
+
ICON = 0,
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Show instantly (Alt-Esc mode)
|
|
1363
1363
|
*/
|
|
1364
|
-
INSTANTLY,
|
|
1364
|
+
INSTANTLY = 1,
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
1367
1367
|
|
|
@@ -1379,11 +1379,11 @@ export namespace Meta {
|
|
|
1379
1379
|
/**
|
|
1380
1380
|
* A Wayland based window
|
|
1381
1381
|
*/
|
|
1382
|
-
WAYLAND,
|
|
1382
|
+
WAYLAND = 0,
|
|
1383
1383
|
/**
|
|
1384
1384
|
* An X11 based window
|
|
1385
1385
|
*/
|
|
1386
|
-
X11,
|
|
1386
|
+
X11 = 1,
|
|
1387
1387
|
}
|
|
1388
1388
|
|
|
1389
1389
|
|
|
@@ -1402,11 +1402,11 @@ export namespace Meta {
|
|
|
1402
1402
|
/**
|
|
1403
1403
|
* the window manager menu
|
|
1404
1404
|
*/
|
|
1405
|
-
WM,
|
|
1405
|
+
WM = 0,
|
|
1406
1406
|
/**
|
|
1407
1407
|
* the (fallback) app menu
|
|
1408
1408
|
*/
|
|
1409
|
-
APP,
|
|
1409
|
+
APP = 1,
|
|
1410
1410
|
}
|
|
1411
1411
|
|
|
1412
1412
|
|
|
@@ -1424,100 +1424,148 @@ export namespace Meta {
|
|
|
1424
1424
|
/**
|
|
1425
1425
|
* Normal
|
|
1426
1426
|
*/
|
|
1427
|
-
NORMAL,
|
|
1427
|
+
NORMAL = 0,
|
|
1428
1428
|
/**
|
|
1429
1429
|
* Desktop
|
|
1430
1430
|
*/
|
|
1431
|
-
DESKTOP,
|
|
1431
|
+
DESKTOP = 1,
|
|
1432
1432
|
/**
|
|
1433
1433
|
* Dock
|
|
1434
1434
|
*/
|
|
1435
|
-
DOCK,
|
|
1435
|
+
DOCK = 2,
|
|
1436
1436
|
/**
|
|
1437
1437
|
* Dialog
|
|
1438
1438
|
*/
|
|
1439
|
-
DIALOG,
|
|
1439
|
+
DIALOG = 3,
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Modal dialog
|
|
1442
1442
|
*/
|
|
1443
|
-
MODAL_DIALOG,
|
|
1443
|
+
MODAL_DIALOG = 4,
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Toolbar
|
|
1446
1446
|
*/
|
|
1447
|
-
TOOLBAR,
|
|
1447
|
+
TOOLBAR = 5,
|
|
1448
1448
|
/**
|
|
1449
1449
|
* Menu
|
|
1450
1450
|
*/
|
|
1451
|
-
MENU,
|
|
1451
|
+
MENU = 6,
|
|
1452
1452
|
/**
|
|
1453
1453
|
* Utility
|
|
1454
1454
|
*/
|
|
1455
|
-
UTILITY,
|
|
1455
|
+
UTILITY = 7,
|
|
1456
1456
|
/**
|
|
1457
1457
|
* Splashcreen
|
|
1458
1458
|
*/
|
|
1459
|
-
SPLASHSCREEN,
|
|
1459
|
+
SPLASHSCREEN = 8,
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Dropdown menu
|
|
1462
1462
|
*/
|
|
1463
|
-
DROPDOWN_MENU,
|
|
1463
|
+
DROPDOWN_MENU = 9,
|
|
1464
1464
|
/**
|
|
1465
1465
|
* Popup menu
|
|
1466
1466
|
*/
|
|
1467
|
-
POPUP_MENU,
|
|
1467
|
+
POPUP_MENU = 10,
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Tooltip
|
|
1470
1470
|
*/
|
|
1471
|
-
TOOLTIP,
|
|
1471
|
+
TOOLTIP = 11,
|
|
1472
1472
|
/**
|
|
1473
1473
|
* Notification
|
|
1474
1474
|
*/
|
|
1475
|
-
NOTIFICATION,
|
|
1475
|
+
NOTIFICATION = 12,
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Combobox
|
|
1478
1478
|
*/
|
|
1479
|
-
COMBO,
|
|
1479
|
+
COMBO = 13,
|
|
1480
1480
|
/**
|
|
1481
1481
|
* Drag and drop
|
|
1482
1482
|
*/
|
|
1483
|
-
DND,
|
|
1483
|
+
DND = 14,
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Other override-redirect window type
|
|
1486
1486
|
*/
|
|
1487
|
-
OVERRIDE_OTHER,
|
|
1487
|
+
OVERRIDE_OTHER = 15,
|
|
1488
1488
|
}
|
|
1489
1489
|
|
|
1490
1490
|
|
|
1491
|
+
/**
|
|
1492
|
+
* @default 0
|
|
1493
|
+
*/
|
|
1491
1494
|
const CURRENT_TIME: number;
|
|
1492
1495
|
|
|
1496
|
+
/**
|
|
1497
|
+
* @default window
|
|
1498
|
+
*/
|
|
1493
1499
|
const DEFAULT_ICON_NAME: string;
|
|
1494
1500
|
|
|
1501
|
+
/**
|
|
1502
|
+
* @default 96
|
|
1503
|
+
*/
|
|
1495
1504
|
const ICON_HEIGHT: number;
|
|
1496
1505
|
|
|
1506
|
+
/**
|
|
1507
|
+
* @default 96
|
|
1508
|
+
*/
|
|
1497
1509
|
const ICON_WIDTH: number;
|
|
1498
1510
|
|
|
1511
|
+
/**
|
|
1512
|
+
* @default 3
|
|
1513
|
+
*/
|
|
1499
1514
|
const MAJOR_VERSION: number;
|
|
1500
1515
|
|
|
1516
|
+
/**
|
|
1517
|
+
* @default 6
|
|
1518
|
+
*/
|
|
1501
1519
|
const MICRO_VERSION: number;
|
|
1502
1520
|
|
|
1521
|
+
/**
|
|
1522
|
+
* @default 16
|
|
1523
|
+
*/
|
|
1503
1524
|
const MINI_ICON_HEIGHT: number;
|
|
1504
1525
|
|
|
1526
|
+
/**
|
|
1527
|
+
* @default 16
|
|
1528
|
+
*/
|
|
1505
1529
|
const MINI_ICON_WIDTH: number;
|
|
1506
1530
|
|
|
1531
|
+
/**
|
|
1532
|
+
* @default 36
|
|
1533
|
+
*/
|
|
1507
1534
|
const MINOR_VERSION: number;
|
|
1508
1535
|
|
|
1536
|
+
/**
|
|
1537
|
+
* @default 3
|
|
1538
|
+
*/
|
|
1509
1539
|
const PLUGIN_API_VERSION: number;
|
|
1510
1540
|
|
|
1541
|
+
/**
|
|
1542
|
+
* @default 40
|
|
1543
|
+
*/
|
|
1511
1544
|
const PRIORITY_BEFORE_REDRAW: number;
|
|
1512
1545
|
|
|
1546
|
+
/**
|
|
1547
|
+
* @default 10
|
|
1548
|
+
*/
|
|
1513
1549
|
const PRIORITY_PREFS_NOTIFY: number;
|
|
1514
1550
|
|
|
1551
|
+
/**
|
|
1552
|
+
* @default 50
|
|
1553
|
+
*/
|
|
1515
1554
|
const PRIORITY_REDRAW: number;
|
|
1516
1555
|
|
|
1556
|
+
/**
|
|
1557
|
+
* @default 15
|
|
1558
|
+
*/
|
|
1517
1559
|
const PRIORITY_RESIZE: number;
|
|
1518
1560
|
|
|
1561
|
+
/**
|
|
1562
|
+
* @default 3
|
|
1563
|
+
*/
|
|
1519
1564
|
const VIRTUAL_CORE_KEYBOARD_ID: number;
|
|
1520
1565
|
|
|
1566
|
+
/**
|
|
1567
|
+
* @default 2
|
|
1568
|
+
*/
|
|
1521
1569
|
const VIRTUAL_CORE_POINTER_ID: number;
|
|
1522
1570
|
|
|
1523
1571
|
/**
|
|
@@ -1878,6 +1926,9 @@ export namespace Meta {
|
|
|
1878
1926
|
*/
|
|
1879
1927
|
function x11_error_trap_push(x11_display: X11Display): void;
|
|
1880
1928
|
|
|
1929
|
+
/**
|
|
1930
|
+
* @throws GLib.Error
|
|
1931
|
+
*/
|
|
1881
1932
|
function x11_init_gdk_display(): boolean;
|
|
1882
1933
|
|
|
1883
1934
|
/**
|
|
@@ -1922,19 +1973,19 @@ export namespace Meta {
|
|
|
1922
1973
|
/**
|
|
1923
1974
|
* Positive direction in the X axis
|
|
1924
1975
|
*/
|
|
1925
|
-
POSITIVE_X,
|
|
1976
|
+
POSITIVE_X = 1,
|
|
1926
1977
|
/**
|
|
1927
1978
|
* Positive direction in the Y axis
|
|
1928
1979
|
*/
|
|
1929
|
-
POSITIVE_Y,
|
|
1980
|
+
POSITIVE_Y = 2,
|
|
1930
1981
|
/**
|
|
1931
1982
|
* Negative direction in the X axis
|
|
1932
1983
|
*/
|
|
1933
|
-
NEGATIVE_X,
|
|
1984
|
+
NEGATIVE_X = 4,
|
|
1934
1985
|
/**
|
|
1935
1986
|
* Negative direction in the Y axis
|
|
1936
1987
|
*/
|
|
1937
|
-
NEGATIVE_Y,
|
|
1988
|
+
NEGATIVE_Y = 8,
|
|
1938
1989
|
}
|
|
1939
1990
|
|
|
1940
1991
|
|
|
@@ -1952,97 +2003,97 @@ export namespace Meta {
|
|
|
1952
2003
|
/**
|
|
1953
2004
|
* verbose logging
|
|
1954
2005
|
*/
|
|
1955
|
-
VERBOSE,
|
|
2006
|
+
VERBOSE = -1,
|
|
1956
2007
|
/**
|
|
1957
2008
|
* focus
|
|
1958
2009
|
*/
|
|
1959
|
-
FOCUS,
|
|
2010
|
+
FOCUS = 1,
|
|
1960
2011
|
/**
|
|
1961
2012
|
* workarea
|
|
1962
2013
|
*/
|
|
1963
|
-
WORKAREA,
|
|
2014
|
+
WORKAREA = 2,
|
|
1964
2015
|
/**
|
|
1965
2016
|
* stack
|
|
1966
2017
|
*/
|
|
1967
|
-
STACK,
|
|
2018
|
+
STACK = 4,
|
|
1968
2019
|
/**
|
|
1969
2020
|
* themes
|
|
1970
2021
|
*/
|
|
1971
|
-
THEMES,
|
|
2022
|
+
THEMES = 8,
|
|
1972
2023
|
/**
|
|
1973
2024
|
* session management
|
|
1974
2025
|
*/
|
|
1975
|
-
SM,
|
|
2026
|
+
SM = 16,
|
|
1976
2027
|
/**
|
|
1977
2028
|
* events
|
|
1978
2029
|
*/
|
|
1979
|
-
EVENTS,
|
|
2030
|
+
EVENTS = 32,
|
|
1980
2031
|
/**
|
|
1981
2032
|
* window state
|
|
1982
2033
|
*/
|
|
1983
|
-
WINDOW_STATE,
|
|
2034
|
+
WINDOW_STATE = 64,
|
|
1984
2035
|
/**
|
|
1985
2036
|
* window operations
|
|
1986
2037
|
*/
|
|
1987
|
-
WINDOW_OPS,
|
|
2038
|
+
WINDOW_OPS = 128,
|
|
1988
2039
|
/**
|
|
1989
2040
|
* geometry
|
|
1990
2041
|
*/
|
|
1991
|
-
GEOMETRY,
|
|
2042
|
+
GEOMETRY = 256,
|
|
1992
2043
|
/**
|
|
1993
2044
|
* window placement
|
|
1994
2045
|
*/
|
|
1995
|
-
PLACEMENT,
|
|
2046
|
+
PLACEMENT = 512,
|
|
1996
2047
|
/**
|
|
1997
2048
|
* ping
|
|
1998
2049
|
*/
|
|
1999
|
-
PING,
|
|
2050
|
+
PING = 1024,
|
|
2000
2051
|
/**
|
|
2001
2052
|
* Xinerama
|
|
2002
2053
|
*/
|
|
2003
|
-
XINERAMA,
|
|
2054
|
+
XINERAMA = 2048,
|
|
2004
2055
|
/**
|
|
2005
2056
|
* keybindings
|
|
2006
2057
|
*/
|
|
2007
|
-
KEYBINDINGS,
|
|
2058
|
+
KEYBINDINGS = 4096,
|
|
2008
2059
|
/**
|
|
2009
2060
|
* sync
|
|
2010
2061
|
*/
|
|
2011
|
-
SYNC,
|
|
2062
|
+
SYNC = 8192,
|
|
2012
2063
|
/**
|
|
2013
2064
|
* errors
|
|
2014
2065
|
*/
|
|
2015
|
-
ERRORS,
|
|
2066
|
+
ERRORS = 16384,
|
|
2016
2067
|
/**
|
|
2017
2068
|
* startup
|
|
2018
2069
|
*/
|
|
2019
|
-
STARTUP,
|
|
2070
|
+
STARTUP = 32768,
|
|
2020
2071
|
/**
|
|
2021
2072
|
* preferences
|
|
2022
2073
|
*/
|
|
2023
|
-
PREFS,
|
|
2074
|
+
PREFS = 65536,
|
|
2024
2075
|
/**
|
|
2025
2076
|
* groups
|
|
2026
2077
|
*/
|
|
2027
|
-
GROUPS,
|
|
2078
|
+
GROUPS = 131072,
|
|
2028
2079
|
/**
|
|
2029
2080
|
* resizing
|
|
2030
2081
|
*/
|
|
2031
|
-
RESIZING,
|
|
2082
|
+
RESIZING = 262144,
|
|
2032
2083
|
/**
|
|
2033
2084
|
* shapes
|
|
2034
2085
|
*/
|
|
2035
|
-
SHAPES,
|
|
2086
|
+
SHAPES = 524288,
|
|
2036
2087
|
/**
|
|
2037
2088
|
* compositor
|
|
2038
2089
|
*/
|
|
2039
|
-
COMPOSITOR,
|
|
2090
|
+
COMPOSITOR = 1048576,
|
|
2040
2091
|
/**
|
|
2041
2092
|
* edge resistance
|
|
2042
2093
|
*/
|
|
2043
|
-
EDGE_RESISTANCE,
|
|
2044
|
-
DBUS,
|
|
2045
|
-
INPUT,
|
|
2094
|
+
EDGE_RESISTANCE = 2097152,
|
|
2095
|
+
DBUS = 4194304,
|
|
2096
|
+
INPUT = 8388608,
|
|
2046
2097
|
}
|
|
2047
2098
|
|
|
2048
2099
|
|
|
@@ -2060,35 +2111,35 @@ export namespace Meta {
|
|
|
2060
2111
|
/**
|
|
2061
2112
|
* Left
|
|
2062
2113
|
*/
|
|
2063
|
-
LEFT,
|
|
2114
|
+
LEFT = 1,
|
|
2064
2115
|
/**
|
|
2065
2116
|
* Right
|
|
2066
2117
|
*/
|
|
2067
|
-
RIGHT,
|
|
2118
|
+
RIGHT = 2,
|
|
2068
2119
|
/**
|
|
2069
2120
|
* Top
|
|
2070
2121
|
*/
|
|
2071
|
-
TOP,
|
|
2122
|
+
TOP = 4,
|
|
2072
2123
|
/**
|
|
2073
2124
|
* Bottom
|
|
2074
2125
|
*/
|
|
2075
|
-
BOTTOM,
|
|
2126
|
+
BOTTOM = 8,
|
|
2076
2127
|
/**
|
|
2077
2128
|
* Up
|
|
2078
2129
|
*/
|
|
2079
|
-
UP,
|
|
2130
|
+
UP = 4,
|
|
2080
2131
|
/**
|
|
2081
2132
|
* Down
|
|
2082
2133
|
*/
|
|
2083
|
-
DOWN,
|
|
2134
|
+
DOWN = 8,
|
|
2084
2135
|
/**
|
|
2085
2136
|
* Horizontal
|
|
2086
2137
|
*/
|
|
2087
|
-
HORIZONTAL,
|
|
2138
|
+
HORIZONTAL = 3,
|
|
2088
2139
|
/**
|
|
2089
2140
|
* Vertical
|
|
2090
2141
|
*/
|
|
2091
|
-
VERTICAL,
|
|
2142
|
+
VERTICAL = 12,
|
|
2092
2143
|
}
|
|
2093
2144
|
|
|
2094
2145
|
|
|
@@ -2106,67 +2157,67 @@ export namespace Meta {
|
|
|
2106
2157
|
/**
|
|
2107
2158
|
* frame allows delete
|
|
2108
2159
|
*/
|
|
2109
|
-
ALLOWS_DELETE,
|
|
2160
|
+
ALLOWS_DELETE = 1,
|
|
2110
2161
|
/**
|
|
2111
2162
|
* frame allows menu
|
|
2112
2163
|
*/
|
|
2113
|
-
ALLOWS_MENU,
|
|
2164
|
+
ALLOWS_MENU = 2,
|
|
2114
2165
|
/**
|
|
2115
2166
|
* frame allows minimize
|
|
2116
2167
|
*/
|
|
2117
|
-
ALLOWS_MINIMIZE,
|
|
2168
|
+
ALLOWS_MINIMIZE = 4,
|
|
2118
2169
|
/**
|
|
2119
2170
|
* frame allows maximize
|
|
2120
2171
|
*/
|
|
2121
|
-
ALLOWS_MAXIMIZE,
|
|
2172
|
+
ALLOWS_MAXIMIZE = 8,
|
|
2122
2173
|
/**
|
|
2123
2174
|
* frame allows vertical resize
|
|
2124
2175
|
*/
|
|
2125
|
-
ALLOWS_VERTICAL_RESIZE,
|
|
2176
|
+
ALLOWS_VERTICAL_RESIZE = 16,
|
|
2126
2177
|
/**
|
|
2127
2178
|
* frame allows horizontal resize
|
|
2128
2179
|
*/
|
|
2129
|
-
ALLOWS_HORIZONTAL_RESIZE,
|
|
2180
|
+
ALLOWS_HORIZONTAL_RESIZE = 32,
|
|
2130
2181
|
/**
|
|
2131
2182
|
* frame has focus
|
|
2132
2183
|
*/
|
|
2133
|
-
HAS_FOCUS,
|
|
2184
|
+
HAS_FOCUS = 64,
|
|
2134
2185
|
/**
|
|
2135
2186
|
* frame is shaded
|
|
2136
2187
|
*/
|
|
2137
|
-
SHADED,
|
|
2188
|
+
SHADED = 128,
|
|
2138
2189
|
/**
|
|
2139
2190
|
* frame is stuck
|
|
2140
2191
|
*/
|
|
2141
|
-
STUCK,
|
|
2192
|
+
STUCK = 256,
|
|
2142
2193
|
/**
|
|
2143
2194
|
* frame is maximized
|
|
2144
2195
|
*/
|
|
2145
|
-
MAXIMIZED,
|
|
2196
|
+
MAXIMIZED = 512,
|
|
2146
2197
|
/**
|
|
2147
2198
|
* frame allows shade
|
|
2148
2199
|
*/
|
|
2149
|
-
ALLOWS_SHADE,
|
|
2200
|
+
ALLOWS_SHADE = 1024,
|
|
2150
2201
|
/**
|
|
2151
2202
|
* frame allows move
|
|
2152
2203
|
*/
|
|
2153
|
-
ALLOWS_MOVE,
|
|
2204
|
+
ALLOWS_MOVE = 2048,
|
|
2154
2205
|
/**
|
|
2155
2206
|
* frame allows fullscreen
|
|
2156
2207
|
*/
|
|
2157
|
-
FULLSCREEN,
|
|
2208
|
+
FULLSCREEN = 4096,
|
|
2158
2209
|
/**
|
|
2159
2210
|
* frame is above
|
|
2160
2211
|
*/
|
|
2161
|
-
ABOVE,
|
|
2212
|
+
ABOVE = 8192,
|
|
2162
2213
|
/**
|
|
2163
2214
|
* frame is tiled to the left
|
|
2164
2215
|
*/
|
|
2165
|
-
TILED_LEFT,
|
|
2216
|
+
TILED_LEFT = 16384,
|
|
2166
2217
|
/**
|
|
2167
2218
|
* frame is tiled to the right
|
|
2168
2219
|
*/
|
|
2169
|
-
TILED_RIGHT,
|
|
2220
|
+
TILED_RIGHT = 32768,
|
|
2170
2221
|
}
|
|
2171
2222
|
|
|
2172
2223
|
|
|
@@ -2184,28 +2235,28 @@ export namespace Meta {
|
|
|
2184
2235
|
/**
|
|
2185
2236
|
* none
|
|
2186
2237
|
*/
|
|
2187
|
-
NONE,
|
|
2238
|
+
NONE = 0,
|
|
2188
2239
|
/**
|
|
2189
2240
|
* per-window
|
|
2190
2241
|
*/
|
|
2191
|
-
PER_WINDOW,
|
|
2242
|
+
PER_WINDOW = 1,
|
|
2192
2243
|
/**
|
|
2193
2244
|
* built-in
|
|
2194
2245
|
*/
|
|
2195
|
-
BUILTIN,
|
|
2246
|
+
BUILTIN = 2,
|
|
2196
2247
|
/**
|
|
2197
2248
|
* is reversed
|
|
2198
2249
|
*/
|
|
2199
|
-
IS_REVERSED,
|
|
2250
|
+
IS_REVERSED = 4,
|
|
2200
2251
|
/**
|
|
2201
2252
|
* always active
|
|
2202
2253
|
*/
|
|
2203
|
-
NON_MASKABLE,
|
|
2204
|
-
IGNORE_AUTOREPEAT,
|
|
2254
|
+
NON_MASKABLE = 8,
|
|
2255
|
+
IGNORE_AUTOREPEAT = 16,
|
|
2205
2256
|
/**
|
|
2206
2257
|
* not grabbed automatically
|
|
2207
2258
|
*/
|
|
2208
|
-
NO_AUTO_GRAB,
|
|
2259
|
+
NO_AUTO_GRAB = 32,
|
|
2209
2260
|
}
|
|
2210
2261
|
|
|
2211
2262
|
|
|
@@ -2223,15 +2274,15 @@ export namespace Meta {
|
|
|
2223
2274
|
/**
|
|
2224
2275
|
* Horizontal
|
|
2225
2276
|
*/
|
|
2226
|
-
HORIZONTAL,
|
|
2277
|
+
HORIZONTAL = 1,
|
|
2227
2278
|
/**
|
|
2228
2279
|
* Vertical
|
|
2229
2280
|
*/
|
|
2230
|
-
VERTICAL,
|
|
2281
|
+
VERTICAL = 2,
|
|
2231
2282
|
/**
|
|
2232
2283
|
* Both
|
|
2233
2284
|
*/
|
|
2234
|
-
BOTH,
|
|
2285
|
+
BOTH = 3,
|
|
2235
2286
|
}
|
|
2236
2287
|
|
|
2237
2288
|
|
|
@@ -2251,12 +2302,12 @@ export namespace Meta {
|
|
|
2251
2302
|
* if set the pointer is already
|
|
2252
2303
|
* grabbed by the plugin and should not be grabbed again.
|
|
2253
2304
|
*/
|
|
2254
|
-
POINTER_ALREADY_GRABBED,
|
|
2305
|
+
POINTER_ALREADY_GRABBED = 1,
|
|
2255
2306
|
/**
|
|
2256
2307
|
* if set the keyboard is already
|
|
2257
2308
|
* grabbed by the plugin and should not be grabbed again.
|
|
2258
2309
|
*/
|
|
2259
|
-
KEYBOARD_ALREADY_GRABBED,
|
|
2310
|
+
KEYBOARD_ALREADY_GRABBED = 2,
|
|
2260
2311
|
}
|
|
2261
2312
|
|
|
2262
2313
|
|
|
@@ -2274,43 +2325,43 @@ export namespace Meta {
|
|
|
2274
2325
|
/**
|
|
2275
2326
|
* Shift mask
|
|
2276
2327
|
*/
|
|
2277
|
-
SHIFT_MASK,
|
|
2328
|
+
SHIFT_MASK = 32,
|
|
2278
2329
|
/**
|
|
2279
2330
|
* Control mask
|
|
2280
2331
|
*/
|
|
2281
|
-
CONTROL_MASK,
|
|
2332
|
+
CONTROL_MASK = 64,
|
|
2282
2333
|
/**
|
|
2283
2334
|
* Alt mask
|
|
2284
2335
|
*/
|
|
2285
|
-
ALT_MASK,
|
|
2336
|
+
ALT_MASK = 128,
|
|
2286
2337
|
/**
|
|
2287
2338
|
* Meta mask
|
|
2288
2339
|
*/
|
|
2289
|
-
META_MASK,
|
|
2340
|
+
META_MASK = 256,
|
|
2290
2341
|
/**
|
|
2291
2342
|
* Super mask
|
|
2292
2343
|
*/
|
|
2293
|
-
SUPER_MASK,
|
|
2344
|
+
SUPER_MASK = 512,
|
|
2294
2345
|
/**
|
|
2295
2346
|
* Hyper mask
|
|
2296
2347
|
*/
|
|
2297
|
-
HYPER_MASK,
|
|
2348
|
+
HYPER_MASK = 1024,
|
|
2298
2349
|
/**
|
|
2299
2350
|
* Mod2 mask
|
|
2300
2351
|
*/
|
|
2301
|
-
MOD2_MASK,
|
|
2352
|
+
MOD2_MASK = 2048,
|
|
2302
2353
|
/**
|
|
2303
2354
|
* Mod3 mask
|
|
2304
2355
|
*/
|
|
2305
|
-
MOD3_MASK,
|
|
2356
|
+
MOD3_MASK = 4096,
|
|
2306
2357
|
/**
|
|
2307
2358
|
* Mod4 mask
|
|
2308
2359
|
*/
|
|
2309
|
-
MOD4_MASK,
|
|
2360
|
+
MOD4_MASK = 8192,
|
|
2310
2361
|
/**
|
|
2311
2362
|
* Mod5 mask
|
|
2312
2363
|
*/
|
|
2313
|
-
MOD5_MASK,
|
|
2364
|
+
MOD5_MASK = 16384,
|
|
2314
2365
|
}
|
|
2315
2366
|
|
|
2316
2367
|
|
|
@@ -2321,7 +2372,7 @@ export namespace Meta {
|
|
|
2321
2372
|
* @signal
|
|
2322
2373
|
* @run-last
|
|
2323
2374
|
*/
|
|
2324
|
-
"gpu-added": (
|
|
2375
|
+
"gpu-added": (gpu: unknown) => void;
|
|
2325
2376
|
/**
|
|
2326
2377
|
* @signal
|
|
2327
2378
|
* @run-last
|
|
@@ -2331,17 +2382,17 @@ export namespace Meta {
|
|
|
2331
2382
|
* @signal
|
|
2332
2383
|
* @run-last
|
|
2333
2384
|
*/
|
|
2334
|
-
"keymap-layout-group-changed": (
|
|
2385
|
+
"keymap-layout-group-changed": (object: number) => void;
|
|
2335
2386
|
/**
|
|
2336
2387
|
* @signal
|
|
2337
2388
|
* @run-last
|
|
2338
2389
|
*/
|
|
2339
|
-
"last-device-changed": (
|
|
2390
|
+
"last-device-changed": (object: Clutter.InputDevice) => void;
|
|
2340
2391
|
/**
|
|
2341
2392
|
* @signal
|
|
2342
2393
|
* @run-last
|
|
2343
2394
|
*/
|
|
2344
|
-
"lid-is-closed-changed": (
|
|
2395
|
+
"lid-is-closed-changed": (object: boolean) => void;
|
|
2345
2396
|
}
|
|
2346
2397
|
|
|
2347
2398
|
// Constructor properties interface
|
|
@@ -2462,6 +2513,8 @@ export namespace Meta {
|
|
|
2462
2513
|
* instance.
|
|
2463
2514
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2464
2515
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2516
|
+
* @since 2.22
|
|
2517
|
+
* @throws GLib.Error
|
|
2465
2518
|
*/
|
|
2466
2519
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2467
2520
|
|
|
@@ -2505,6 +2558,7 @@ export namespace Meta {
|
|
|
2505
2558
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2506
2559
|
* instance.
|
|
2507
2560
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2561
|
+
* @since 2.22
|
|
2508
2562
|
* @virtual
|
|
2509
2563
|
*/
|
|
2510
2564
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2840,6 +2894,7 @@ export namespace Meta {
|
|
|
2840
2894
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2841
2895
|
* @param property_name the name of the animatable property to find
|
|
2842
2896
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
2897
|
+
* @since 1.4
|
|
2843
2898
|
*/
|
|
2844
2899
|
find_property(property_name: string): GObject.ParamSpec;
|
|
2845
2900
|
|
|
@@ -2847,6 +2902,7 @@ export namespace Meta {
|
|
|
2847
2902
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2848
2903
|
* @param property_name the name of the animatable property to retrieve
|
|
2849
2904
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2905
|
+
* @since 1.4
|
|
2850
2906
|
*/
|
|
2851
2907
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2852
2908
|
|
|
@@ -2864,6 +2920,7 @@ export namespace Meta {
|
|
|
2864
2920
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2865
2921
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2866
2922
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
2923
|
+
* @since 1.8
|
|
2867
2924
|
*/
|
|
2868
2925
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
2869
2926
|
|
|
@@ -2871,6 +2928,7 @@ export namespace Meta {
|
|
|
2871
2928
|
* Sets the current state of `property_name` to `value`
|
|
2872
2929
|
* @param property_name the name of the animatable property to set
|
|
2873
2930
|
* @param value the value of the animatable property to set
|
|
2931
|
+
* @since 1.4
|
|
2874
2932
|
*/
|
|
2875
2933
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2876
2934
|
|
|
@@ -2888,6 +2946,7 @@ export namespace Meta {
|
|
|
2888
2946
|
/**
|
|
2889
2947
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2890
2948
|
* @param property_name the name of the animatable property to find
|
|
2949
|
+
* @since 1.4
|
|
2891
2950
|
* @virtual
|
|
2892
2951
|
*/
|
|
2893
2952
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -2896,6 +2955,7 @@ export namespace Meta {
|
|
|
2896
2955
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2897
2956
|
* @param property_name the name of the animatable property to retrieve
|
|
2898
2957
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2958
|
+
* @since 1.4
|
|
2899
2959
|
* @virtual
|
|
2900
2960
|
*/
|
|
2901
2961
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -2913,6 +2973,7 @@ export namespace Meta {
|
|
|
2913
2973
|
* @param property_name the name of the property to interpolate
|
|
2914
2974
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2915
2975
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2976
|
+
* @since 1.8
|
|
2916
2977
|
* @virtual
|
|
2917
2978
|
*/
|
|
2918
2979
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -2921,6 +2982,7 @@ export namespace Meta {
|
|
|
2921
2982
|
* Sets the current state of `property_name` to `value`
|
|
2922
2983
|
* @param property_name the name of the animatable property to set
|
|
2923
2984
|
* @param value the value of the animatable property to set
|
|
2985
|
+
* @since 1.4
|
|
2924
2986
|
* @virtual
|
|
2925
2987
|
*/
|
|
2926
2988
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -2935,6 +2997,8 @@ export namespace Meta {
|
|
|
2935
2997
|
* deprecated virtual function. The default implementation will
|
|
2936
2998
|
* call `clutter_actor_add_child()`.
|
|
2937
2999
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3000
|
+
* @since 0.4
|
|
3001
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
2938
3002
|
*/
|
|
2939
3003
|
add_actor(actor: Clutter.Actor): void;
|
|
2940
3004
|
|
|
@@ -2949,6 +3013,7 @@ export namespace Meta {
|
|
|
2949
3013
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2950
3014
|
* @param property the name of the property to set.
|
|
2951
3015
|
* @param value the value.
|
|
3016
|
+
* @since 0.8
|
|
2952
3017
|
*/
|
|
2953
3018
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2954
3019
|
|
|
@@ -2958,6 +3023,7 @@ export namespace Meta {
|
|
|
2958
3023
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
2959
3024
|
* @param child a {@link Clutter.Actor}
|
|
2960
3025
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3026
|
+
* @since 1.6
|
|
2961
3027
|
*/
|
|
2962
3028
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
2963
3029
|
|
|
@@ -2966,6 +3032,7 @@ export namespace Meta {
|
|
|
2966
3032
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2967
3033
|
* @param property the name of the property to set.
|
|
2968
3034
|
* @param value the value.
|
|
3035
|
+
* @since 0.8
|
|
2969
3036
|
*/
|
|
2970
3037
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2971
3038
|
|
|
@@ -2980,6 +3047,7 @@ export namespace Meta {
|
|
|
2980
3047
|
*
|
|
2981
3048
|
* Applications should not call this function.
|
|
2982
3049
|
* @param actor a {@link Clutter.Actor}
|
|
3050
|
+
* @since 1.2
|
|
2983
3051
|
*/
|
|
2984
3052
|
create_child_meta(actor: Clutter.Actor): void;
|
|
2985
3053
|
|
|
@@ -2993,6 +3061,7 @@ export namespace Meta {
|
|
|
2993
3061
|
*
|
|
2994
3062
|
* Applications should not call this function.
|
|
2995
3063
|
* @param actor a {@link Clutter.Actor}
|
|
3064
|
+
* @since 1.2
|
|
2996
3065
|
*/
|
|
2997
3066
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
2998
3067
|
|
|
@@ -3001,6 +3070,7 @@ export namespace Meta {
|
|
|
3001
3070
|
* into any child container.
|
|
3002
3071
|
* @param child_name the name of the requested child.
|
|
3003
3072
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3073
|
+
* @since 0.6
|
|
3004
3074
|
*/
|
|
3005
3075
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3006
3076
|
|
|
@@ -3009,12 +3079,15 @@ export namespace Meta {
|
|
|
3009
3079
|
* `container` specific state for `actor`.
|
|
3010
3080
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3011
3081
|
* @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
|
|
3082
|
+
* @since 0.8
|
|
3012
3083
|
*/
|
|
3013
3084
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3014
3085
|
|
|
3015
3086
|
/**
|
|
3016
3087
|
* Retrieves all the children of `container`.
|
|
3017
3088
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3089
|
+
* @since 0.4
|
|
3090
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3018
3091
|
*/
|
|
3019
3092
|
get_children(): Clutter.Actor[];
|
|
3020
3093
|
|
|
@@ -3026,6 +3099,8 @@ export namespace Meta {
|
|
|
3026
3099
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3027
3100
|
* @param actor the actor to raise
|
|
3028
3101
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3102
|
+
* @since 0.6
|
|
3103
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3029
3104
|
*/
|
|
3030
3105
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3031
3106
|
|
|
@@ -3037,6 +3112,8 @@ export namespace Meta {
|
|
|
3037
3112
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3038
3113
|
* @param actor the actor to raise
|
|
3039
3114
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3115
|
+
* @since 0.6
|
|
3116
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3040
3117
|
*/
|
|
3041
3118
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3042
3119
|
|
|
@@ -3050,12 +3127,16 @@ export namespace Meta {
|
|
|
3050
3127
|
* deprecated virtual function. The default implementation will call
|
|
3051
3128
|
* `clutter_actor_remove_child()`.
|
|
3052
3129
|
* @param actor a {@link Clutter.Actor}
|
|
3130
|
+
* @since 0.4
|
|
3131
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3053
3132
|
*/
|
|
3054
3133
|
remove_actor(actor: Clutter.Actor): void;
|
|
3055
3134
|
|
|
3056
3135
|
/**
|
|
3057
3136
|
* Sorts a container's children using their depth. This function should not
|
|
3058
3137
|
* be normally used by applications.
|
|
3138
|
+
* @since 0.6
|
|
3139
|
+
* @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.
|
|
3059
3140
|
*/
|
|
3060
3141
|
sort_depth_order(): void;
|
|
3061
3142
|
|
|
@@ -3081,6 +3162,8 @@ export namespace Meta {
|
|
|
3081
3162
|
* deprecated virtual function. The default implementation will
|
|
3082
3163
|
* call `clutter_actor_add_child()`.
|
|
3083
3164
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3165
|
+
* @since 0.4
|
|
3166
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3084
3167
|
* @virtual
|
|
3085
3168
|
*/
|
|
3086
3169
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3091,6 +3174,7 @@ export namespace Meta {
|
|
|
3091
3174
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3092
3175
|
* @param child a {@link Clutter.Actor}
|
|
3093
3176
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3177
|
+
* @since 1.6
|
|
3094
3178
|
* @virtual
|
|
3095
3179
|
*/
|
|
3096
3180
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3106,6 +3190,7 @@ export namespace Meta {
|
|
|
3106
3190
|
*
|
|
3107
3191
|
* Applications should not call this function.
|
|
3108
3192
|
* @param actor a {@link Clutter.Actor}
|
|
3193
|
+
* @since 1.2
|
|
3109
3194
|
* @virtual
|
|
3110
3195
|
*/
|
|
3111
3196
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3120,6 +3205,7 @@ export namespace Meta {
|
|
|
3120
3205
|
*
|
|
3121
3206
|
* Applications should not call this function.
|
|
3122
3207
|
* @param actor a {@link Clutter.Actor}
|
|
3208
|
+
* @since 1.2
|
|
3123
3209
|
* @virtual
|
|
3124
3210
|
*/
|
|
3125
3211
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3128,6 +3214,7 @@ export namespace Meta {
|
|
|
3128
3214
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3129
3215
|
* `container` specific state for `actor`.
|
|
3130
3216
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3217
|
+
* @since 0.8
|
|
3131
3218
|
* @virtual
|
|
3132
3219
|
*/
|
|
3133
3220
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3140,6 +3227,8 @@ export namespace Meta {
|
|
|
3140
3227
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3141
3228
|
* @param actor the actor to raise
|
|
3142
3229
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3230
|
+
* @since 0.6
|
|
3231
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3143
3232
|
* @virtual
|
|
3144
3233
|
*/
|
|
3145
3234
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3152,6 +3241,8 @@ export namespace Meta {
|
|
|
3152
3241
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3153
3242
|
* @param actor the actor to raise
|
|
3154
3243
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3244
|
+
* @since 0.6
|
|
3245
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3155
3246
|
* @virtual
|
|
3156
3247
|
*/
|
|
3157
3248
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3166,6 +3257,8 @@ export namespace Meta {
|
|
|
3166
3257
|
* deprecated virtual function. The default implementation will call
|
|
3167
3258
|
* `clutter_actor_remove_child()`.
|
|
3168
3259
|
* @param actor a {@link Clutter.Actor}
|
|
3260
|
+
* @since 0.4
|
|
3261
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3169
3262
|
* @virtual
|
|
3170
3263
|
*/
|
|
3171
3264
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3173,6 +3266,8 @@ export namespace Meta {
|
|
|
3173
3266
|
/**
|
|
3174
3267
|
* Sorts a container's children using their depth. This function should not
|
|
3175
3268
|
* be normally used by applications.
|
|
3269
|
+
* @since 0.6
|
|
3270
|
+
* @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.
|
|
3176
3271
|
* @virtual
|
|
3177
3272
|
*/
|
|
3178
3273
|
vfunc_sort_depth_order(): void;
|
|
@@ -3180,6 +3275,7 @@ export namespace Meta {
|
|
|
3180
3275
|
/**
|
|
3181
3276
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3182
3277
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3278
|
+
* @since 0.6
|
|
3183
3279
|
*/
|
|
3184
3280
|
get_id(): string;
|
|
3185
3281
|
|
|
@@ -3191,6 +3287,7 @@ export namespace Meta {
|
|
|
3191
3287
|
* @param name the name of the node
|
|
3192
3288
|
* @param node the JSON node to be parsed
|
|
3193
3289
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3290
|
+
* @since 0.6
|
|
3194
3291
|
*/
|
|
3195
3292
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3196
3293
|
|
|
@@ -3200,6 +3297,7 @@ export namespace Meta {
|
|
|
3200
3297
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3201
3298
|
* @param name the name of the property
|
|
3202
3299
|
* @param value the value of the property
|
|
3300
|
+
* @since 0.6
|
|
3203
3301
|
*/
|
|
3204
3302
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3205
3303
|
|
|
@@ -3211,11 +3309,13 @@ export namespace Meta {
|
|
|
3211
3309
|
* define a unique name for an object constructable using the UI
|
|
3212
3310
|
* definition language parsed by {@link Clutter.Script}.
|
|
3213
3311
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3312
|
+
* @since 0.6
|
|
3214
3313
|
*/
|
|
3215
3314
|
set_id(id_: string): void;
|
|
3216
3315
|
|
|
3217
3316
|
/**
|
|
3218
3317
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3318
|
+
* @since 0.6
|
|
3219
3319
|
* @virtual
|
|
3220
3320
|
*/
|
|
3221
3321
|
vfunc_get_id(): string;
|
|
@@ -3227,6 +3327,7 @@ export namespace Meta {
|
|
|
3227
3327
|
* @param value the generic value to be set
|
|
3228
3328
|
* @param name the name of the node
|
|
3229
3329
|
* @param node the JSON node to be parsed
|
|
3330
|
+
* @since 0.6
|
|
3230
3331
|
* @virtual
|
|
3231
3332
|
*/
|
|
3232
3333
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3237,6 +3338,7 @@ export namespace Meta {
|
|
|
3237
3338
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3238
3339
|
* @param name the name of the property
|
|
3239
3340
|
* @param value the value of the property
|
|
3341
|
+
* @since 0.6
|
|
3240
3342
|
* @virtual
|
|
3241
3343
|
*/
|
|
3242
3344
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3249,6 +3351,7 @@ export namespace Meta {
|
|
|
3249
3351
|
* define a unique name for an object constructable using the UI
|
|
3250
3352
|
* definition language parsed by {@link Clutter.Script}.
|
|
3251
3353
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3354
|
+
* @since 0.6
|
|
3252
3355
|
* @virtual
|
|
3253
3356
|
*/
|
|
3254
3357
|
vfunc_set_id(id_: string): void;
|
|
@@ -3384,6 +3487,7 @@ export namespace Meta {
|
|
|
3384
3487
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3385
3488
|
* @param property_name the name of the animatable property to find
|
|
3386
3489
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
3490
|
+
* @since 1.4
|
|
3387
3491
|
*/
|
|
3388
3492
|
find_property(property_name: string): GObject.ParamSpec;
|
|
3389
3493
|
|
|
@@ -3391,6 +3495,7 @@ export namespace Meta {
|
|
|
3391
3495
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3392
3496
|
* @param property_name the name of the animatable property to retrieve
|
|
3393
3497
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3498
|
+
* @since 1.4
|
|
3394
3499
|
*/
|
|
3395
3500
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3396
3501
|
|
|
@@ -3408,6 +3513,7 @@ export namespace Meta {
|
|
|
3408
3513
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3409
3514
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3410
3515
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
3516
|
+
* @since 1.8
|
|
3411
3517
|
*/
|
|
3412
3518
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
3413
3519
|
|
|
@@ -3415,6 +3521,7 @@ export namespace Meta {
|
|
|
3415
3521
|
* Sets the current state of `property_name` to `value`
|
|
3416
3522
|
* @param property_name the name of the animatable property to set
|
|
3417
3523
|
* @param value the value of the animatable property to set
|
|
3524
|
+
* @since 1.4
|
|
3418
3525
|
*/
|
|
3419
3526
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3420
3527
|
|
|
@@ -3432,6 +3539,7 @@ export namespace Meta {
|
|
|
3432
3539
|
/**
|
|
3433
3540
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3434
3541
|
* @param property_name the name of the animatable property to find
|
|
3542
|
+
* @since 1.4
|
|
3435
3543
|
* @virtual
|
|
3436
3544
|
*/
|
|
3437
3545
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -3440,6 +3548,7 @@ export namespace Meta {
|
|
|
3440
3548
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3441
3549
|
* @param property_name the name of the animatable property to retrieve
|
|
3442
3550
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3551
|
+
* @since 1.4
|
|
3443
3552
|
* @virtual
|
|
3444
3553
|
*/
|
|
3445
3554
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -3457,6 +3566,7 @@ export namespace Meta {
|
|
|
3457
3566
|
* @param property_name the name of the property to interpolate
|
|
3458
3567
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3459
3568
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3569
|
+
* @since 1.8
|
|
3460
3570
|
* @virtual
|
|
3461
3571
|
*/
|
|
3462
3572
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -3465,6 +3575,7 @@ export namespace Meta {
|
|
|
3465
3575
|
* Sets the current state of `property_name` to `value`
|
|
3466
3576
|
* @param property_name the name of the animatable property to set
|
|
3467
3577
|
* @param value the value of the animatable property to set
|
|
3578
|
+
* @since 1.4
|
|
3468
3579
|
* @virtual
|
|
3469
3580
|
*/
|
|
3470
3581
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -3479,6 +3590,8 @@ export namespace Meta {
|
|
|
3479
3590
|
* deprecated virtual function. The default implementation will
|
|
3480
3591
|
* call `clutter_actor_add_child()`.
|
|
3481
3592
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3593
|
+
* @since 0.4
|
|
3594
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3482
3595
|
*/
|
|
3483
3596
|
add_actor(actor: Clutter.Actor): void;
|
|
3484
3597
|
|
|
@@ -3493,6 +3606,7 @@ export namespace Meta {
|
|
|
3493
3606
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3494
3607
|
* @param property the name of the property to set.
|
|
3495
3608
|
* @param value the value.
|
|
3609
|
+
* @since 0.8
|
|
3496
3610
|
*/
|
|
3497
3611
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3498
3612
|
|
|
@@ -3502,6 +3616,7 @@ export namespace Meta {
|
|
|
3502
3616
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3503
3617
|
* @param child a {@link Clutter.Actor}
|
|
3504
3618
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3619
|
+
* @since 1.6
|
|
3505
3620
|
*/
|
|
3506
3621
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
3507
3622
|
|
|
@@ -3510,6 +3625,7 @@ export namespace Meta {
|
|
|
3510
3625
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3511
3626
|
* @param property the name of the property to set.
|
|
3512
3627
|
* @param value the value.
|
|
3628
|
+
* @since 0.8
|
|
3513
3629
|
*/
|
|
3514
3630
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3515
3631
|
|
|
@@ -3524,6 +3640,7 @@ export namespace Meta {
|
|
|
3524
3640
|
*
|
|
3525
3641
|
* Applications should not call this function.
|
|
3526
3642
|
* @param actor a {@link Clutter.Actor}
|
|
3643
|
+
* @since 1.2
|
|
3527
3644
|
*/
|
|
3528
3645
|
create_child_meta(actor: Clutter.Actor): void;
|
|
3529
3646
|
|
|
@@ -3537,6 +3654,7 @@ export namespace Meta {
|
|
|
3537
3654
|
*
|
|
3538
3655
|
* Applications should not call this function.
|
|
3539
3656
|
* @param actor a {@link Clutter.Actor}
|
|
3657
|
+
* @since 1.2
|
|
3540
3658
|
*/
|
|
3541
3659
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
3542
3660
|
|
|
@@ -3545,6 +3663,7 @@ export namespace Meta {
|
|
|
3545
3663
|
* into any child container.
|
|
3546
3664
|
* @param child_name the name of the requested child.
|
|
3547
3665
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3666
|
+
* @since 0.6
|
|
3548
3667
|
*/
|
|
3549
3668
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3550
3669
|
|
|
@@ -3553,12 +3672,15 @@ export namespace Meta {
|
|
|
3553
3672
|
* `container` specific state for `actor`.
|
|
3554
3673
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3555
3674
|
* @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
|
|
3675
|
+
* @since 0.8
|
|
3556
3676
|
*/
|
|
3557
3677
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3558
3678
|
|
|
3559
3679
|
/**
|
|
3560
3680
|
* Retrieves all the children of `container`.
|
|
3561
3681
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3682
|
+
* @since 0.4
|
|
3683
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3562
3684
|
*/
|
|
3563
3685
|
get_children(): Clutter.Actor[];
|
|
3564
3686
|
|
|
@@ -3570,6 +3692,8 @@ export namespace Meta {
|
|
|
3570
3692
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3571
3693
|
* @param actor the actor to raise
|
|
3572
3694
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3695
|
+
* @since 0.6
|
|
3696
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3573
3697
|
*/
|
|
3574
3698
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3575
3699
|
|
|
@@ -3581,6 +3705,8 @@ export namespace Meta {
|
|
|
3581
3705
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3582
3706
|
* @param actor the actor to raise
|
|
3583
3707
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3708
|
+
* @since 0.6
|
|
3709
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3584
3710
|
*/
|
|
3585
3711
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3586
3712
|
|
|
@@ -3594,12 +3720,16 @@ export namespace Meta {
|
|
|
3594
3720
|
* deprecated virtual function. The default implementation will call
|
|
3595
3721
|
* `clutter_actor_remove_child()`.
|
|
3596
3722
|
* @param actor a {@link Clutter.Actor}
|
|
3723
|
+
* @since 0.4
|
|
3724
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3597
3725
|
*/
|
|
3598
3726
|
remove_actor(actor: Clutter.Actor): void;
|
|
3599
3727
|
|
|
3600
3728
|
/**
|
|
3601
3729
|
* Sorts a container's children using their depth. This function should not
|
|
3602
3730
|
* be normally used by applications.
|
|
3731
|
+
* @since 0.6
|
|
3732
|
+
* @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.
|
|
3603
3733
|
*/
|
|
3604
3734
|
sort_depth_order(): void;
|
|
3605
3735
|
|
|
@@ -3625,6 +3755,8 @@ export namespace Meta {
|
|
|
3625
3755
|
* deprecated virtual function. The default implementation will
|
|
3626
3756
|
* call `clutter_actor_add_child()`.
|
|
3627
3757
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3758
|
+
* @since 0.4
|
|
3759
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3628
3760
|
* @virtual
|
|
3629
3761
|
*/
|
|
3630
3762
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3635,6 +3767,7 @@ export namespace Meta {
|
|
|
3635
3767
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3636
3768
|
* @param child a {@link Clutter.Actor}
|
|
3637
3769
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3770
|
+
* @since 1.6
|
|
3638
3771
|
* @virtual
|
|
3639
3772
|
*/
|
|
3640
3773
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3650,6 +3783,7 @@ export namespace Meta {
|
|
|
3650
3783
|
*
|
|
3651
3784
|
* Applications should not call this function.
|
|
3652
3785
|
* @param actor a {@link Clutter.Actor}
|
|
3786
|
+
* @since 1.2
|
|
3653
3787
|
* @virtual
|
|
3654
3788
|
*/
|
|
3655
3789
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3664,6 +3798,7 @@ export namespace Meta {
|
|
|
3664
3798
|
*
|
|
3665
3799
|
* Applications should not call this function.
|
|
3666
3800
|
* @param actor a {@link Clutter.Actor}
|
|
3801
|
+
* @since 1.2
|
|
3667
3802
|
* @virtual
|
|
3668
3803
|
*/
|
|
3669
3804
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3672,6 +3807,7 @@ export namespace Meta {
|
|
|
3672
3807
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3673
3808
|
* `container` specific state for `actor`.
|
|
3674
3809
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3810
|
+
* @since 0.8
|
|
3675
3811
|
* @virtual
|
|
3676
3812
|
*/
|
|
3677
3813
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3684,6 +3820,8 @@ export namespace Meta {
|
|
|
3684
3820
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3685
3821
|
* @param actor the actor to raise
|
|
3686
3822
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3823
|
+
* @since 0.6
|
|
3824
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3687
3825
|
* @virtual
|
|
3688
3826
|
*/
|
|
3689
3827
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3696,6 +3834,8 @@ export namespace Meta {
|
|
|
3696
3834
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3697
3835
|
* @param actor the actor to raise
|
|
3698
3836
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3837
|
+
* @since 0.6
|
|
3838
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3699
3839
|
* @virtual
|
|
3700
3840
|
*/
|
|
3701
3841
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3710,6 +3850,8 @@ export namespace Meta {
|
|
|
3710
3850
|
* deprecated virtual function. The default implementation will call
|
|
3711
3851
|
* `clutter_actor_remove_child()`.
|
|
3712
3852
|
* @param actor a {@link Clutter.Actor}
|
|
3853
|
+
* @since 0.4
|
|
3854
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3713
3855
|
* @virtual
|
|
3714
3856
|
*/
|
|
3715
3857
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3717,6 +3859,8 @@ export namespace Meta {
|
|
|
3717
3859
|
/**
|
|
3718
3860
|
* Sorts a container's children using their depth. This function should not
|
|
3719
3861
|
* be normally used by applications.
|
|
3862
|
+
* @since 0.6
|
|
3863
|
+
* @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.
|
|
3720
3864
|
* @virtual
|
|
3721
3865
|
*/
|
|
3722
3866
|
vfunc_sort_depth_order(): void;
|
|
@@ -3724,6 +3868,7 @@ export namespace Meta {
|
|
|
3724
3868
|
/**
|
|
3725
3869
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3726
3870
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3871
|
+
* @since 0.6
|
|
3727
3872
|
*/
|
|
3728
3873
|
get_id(): string;
|
|
3729
3874
|
|
|
@@ -3735,6 +3880,7 @@ export namespace Meta {
|
|
|
3735
3880
|
* @param name the name of the node
|
|
3736
3881
|
* @param node the JSON node to be parsed
|
|
3737
3882
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3883
|
+
* @since 0.6
|
|
3738
3884
|
*/
|
|
3739
3885
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3740
3886
|
|
|
@@ -3744,6 +3890,7 @@ export namespace Meta {
|
|
|
3744
3890
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3745
3891
|
* @param name the name of the property
|
|
3746
3892
|
* @param value the value of the property
|
|
3893
|
+
* @since 0.6
|
|
3747
3894
|
*/
|
|
3748
3895
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3749
3896
|
|
|
@@ -3755,11 +3902,13 @@ export namespace Meta {
|
|
|
3755
3902
|
* define a unique name for an object constructable using the UI
|
|
3756
3903
|
* definition language parsed by {@link Clutter.Script}.
|
|
3757
3904
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3905
|
+
* @since 0.6
|
|
3758
3906
|
*/
|
|
3759
3907
|
set_id(id_: string): void;
|
|
3760
3908
|
|
|
3761
3909
|
/**
|
|
3762
3910
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3911
|
+
* @since 0.6
|
|
3763
3912
|
* @virtual
|
|
3764
3913
|
*/
|
|
3765
3914
|
vfunc_get_id(): string;
|
|
@@ -3771,6 +3920,7 @@ export namespace Meta {
|
|
|
3771
3920
|
* @param value the generic value to be set
|
|
3772
3921
|
* @param name the name of the node
|
|
3773
3922
|
* @param node the JSON node to be parsed
|
|
3923
|
+
* @since 0.6
|
|
3774
3924
|
* @virtual
|
|
3775
3925
|
*/
|
|
3776
3926
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3781,6 +3931,7 @@ export namespace Meta {
|
|
|
3781
3931
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3782
3932
|
* @param name the name of the property
|
|
3783
3933
|
* @param value the value of the property
|
|
3934
|
+
* @since 0.6
|
|
3784
3935
|
* @virtual
|
|
3785
3936
|
*/
|
|
3786
3937
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3793,6 +3944,7 @@ export namespace Meta {
|
|
|
3793
3944
|
* define a unique name for an object constructable using the UI
|
|
3794
3945
|
* definition language parsed by {@link Clutter.Script}.
|
|
3795
3946
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3947
|
+
* @since 0.6
|
|
3796
3948
|
* @virtual
|
|
3797
3949
|
*/
|
|
3798
3950
|
vfunc_set_id(id_: string): void;
|
|
@@ -3947,14 +4099,14 @@ export namespace Meta {
|
|
|
3947
4099
|
* @signal
|
|
3948
4100
|
* @run-first
|
|
3949
4101
|
*/
|
|
3950
|
-
hit: (
|
|
4102
|
+
hit: (event: BarrierEvent) => void;
|
|
3951
4103
|
/**
|
|
3952
4104
|
* When a pointer barrier hitbox was left, this will trigger.
|
|
3953
4105
|
* This requires an XI2-enabled server.
|
|
3954
4106
|
* @signal
|
|
3955
4107
|
* @run-first
|
|
3956
4108
|
*/
|
|
3957
|
-
left: (
|
|
4109
|
+
left: (event: BarrierEvent) => void;
|
|
3958
4110
|
"notify::directions": (pspec: GObject.ParamSpec) => void;
|
|
3959
4111
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
3960
4112
|
"notify::x1": (pspec: GObject.ParamSpec) => void;
|
|
@@ -4069,7 +4221,7 @@ export namespace Meta {
|
|
|
4069
4221
|
* @signal
|
|
4070
4222
|
* @run-last
|
|
4071
4223
|
*/
|
|
4072
|
-
"cursor-moved": (
|
|
4224
|
+
"cursor-moved": (x: number, y: number) => void;
|
|
4073
4225
|
/**
|
|
4074
4226
|
* @signal
|
|
4075
4227
|
* @run-last
|
|
@@ -4149,7 +4301,7 @@ export namespace Meta {
|
|
|
4149
4301
|
* @signal
|
|
4150
4302
|
* @run-last
|
|
4151
4303
|
*/
|
|
4152
|
-
"accelerator-activated": (
|
|
4304
|
+
"accelerator-activated": (object: number, p0: Clutter.InputDevice, p1: number) => void;
|
|
4153
4305
|
/**
|
|
4154
4306
|
* @signal
|
|
4155
4307
|
* @run-last
|
|
@@ -4169,12 +4321,12 @@ export namespace Meta {
|
|
|
4169
4321
|
* @signal
|
|
4170
4322
|
* @run-last
|
|
4171
4323
|
*/
|
|
4172
|
-
"grab-op-begin": (
|
|
4324
|
+
"grab-op-begin": (object: Display, p0: Window, p1: GrabOp) => void;
|
|
4173
4325
|
/**
|
|
4174
4326
|
* @signal
|
|
4175
4327
|
* @run-last
|
|
4176
4328
|
*/
|
|
4177
|
-
"grab-op-end": (
|
|
4329
|
+
"grab-op-end": (object: Display, p0: Window, p1: GrabOp) => void;
|
|
4178
4330
|
/**
|
|
4179
4331
|
* @signal
|
|
4180
4332
|
* @run-last
|
|
@@ -4184,7 +4336,7 @@ export namespace Meta {
|
|
|
4184
4336
|
* @signal
|
|
4185
4337
|
* @run-last
|
|
4186
4338
|
*/
|
|
4187
|
-
"init-xserver": (
|
|
4339
|
+
"init-xserver": (object: Gio.Task) => boolean | void;
|
|
4188
4340
|
/**
|
|
4189
4341
|
* The ::modifiers-accelerator-activated signal will be emitted when
|
|
4190
4342
|
* a special modifiers-only keybinding is activated.
|
|
@@ -4201,7 +4353,7 @@ export namespace Meta {
|
|
|
4201
4353
|
* @signal
|
|
4202
4354
|
* @run-last
|
|
4203
4355
|
*/
|
|
4204
|
-
"pad-mode-switch": (
|
|
4356
|
+
"pad-mode-switch": (object: Clutter.InputDevice, p0: number, p1: number) => void;
|
|
4205
4357
|
/**
|
|
4206
4358
|
* @signal
|
|
4207
4359
|
* @run-last
|
|
@@ -4221,18 +4373,18 @@ export namespace Meta {
|
|
|
4221
4373
|
* @signal
|
|
4222
4374
|
* @run-last
|
|
4223
4375
|
*/
|
|
4224
|
-
"show-osd": (
|
|
4376
|
+
"show-osd": (object: number, p0: string, p1: string) => void;
|
|
4225
4377
|
/**
|
|
4226
4378
|
* Requests the pad button mapping OSD to be shown.
|
|
4227
4379
|
* @signal
|
|
4228
4380
|
* @run-last
|
|
4229
4381
|
*/
|
|
4230
|
-
"show-pad-osd": (
|
|
4382
|
+
"show-pad-osd": (pad: Clutter.InputDevice, settings: Gio.Settings, layout_path: string, edition_mode: boolean, monitor_idx: number) => Clutter.Actor | null;
|
|
4231
4383
|
/**
|
|
4232
4384
|
* @signal
|
|
4233
4385
|
* @run-last
|
|
4234
4386
|
*/
|
|
4235
|
-
"show-resize-popup": (
|
|
4387
|
+
"show-resize-popup": (object: boolean, p0: Rectangle, p1: number, p2: number) => boolean | void;
|
|
4236
4388
|
/**
|
|
4237
4389
|
* The ::show-restart-message signal will be emitted to indicate
|
|
4238
4390
|
* that the compositor should show a message during restart. This is
|
|
@@ -4247,7 +4399,7 @@ export namespace Meta {
|
|
|
4247
4399
|
* @signal
|
|
4248
4400
|
* @run-last
|
|
4249
4401
|
*/
|
|
4250
|
-
"show-restart-message": (
|
|
4402
|
+
"show-restart-message": (message: string | null) => boolean | void;
|
|
4251
4403
|
/**
|
|
4252
4404
|
* @signal
|
|
4253
4405
|
* @run-last
|
|
@@ -4257,27 +4409,27 @@ export namespace Meta {
|
|
|
4257
4409
|
* @signal
|
|
4258
4410
|
* @run-last
|
|
4259
4411
|
*/
|
|
4260
|
-
"window-created": (
|
|
4412
|
+
"window-created": (object: Window) => void;
|
|
4261
4413
|
/**
|
|
4262
4414
|
* @signal
|
|
4263
4415
|
* @run-last
|
|
4264
4416
|
*/
|
|
4265
|
-
"window-demands-attention": (
|
|
4417
|
+
"window-demands-attention": (object: Window) => void;
|
|
4266
4418
|
/**
|
|
4267
4419
|
* @signal
|
|
4268
4420
|
* @run-last
|
|
4269
4421
|
*/
|
|
4270
|
-
"window-entered-monitor": (
|
|
4422
|
+
"window-entered-monitor": (object: number, p0: Window) => void;
|
|
4271
4423
|
/**
|
|
4272
4424
|
* @signal
|
|
4273
4425
|
* @run-last
|
|
4274
4426
|
*/
|
|
4275
|
-
"window-left-monitor": (
|
|
4427
|
+
"window-left-monitor": (object: number, p0: Window) => void;
|
|
4276
4428
|
/**
|
|
4277
4429
|
* @signal
|
|
4278
4430
|
* @run-last
|
|
4279
4431
|
*/
|
|
4280
|
-
"window-marked-urgent": (
|
|
4432
|
+
"window-marked-urgent": (object: Window) => void;
|
|
4281
4433
|
/**
|
|
4282
4434
|
* @signal
|
|
4283
4435
|
* @run-last
|
|
@@ -4683,7 +4835,7 @@ export namespace Meta {
|
|
|
4683
4835
|
* @signal
|
|
4684
4836
|
* @run-last
|
|
4685
4837
|
*/
|
|
4686
|
-
"dnd-position-change": (
|
|
4838
|
+
"dnd-position-change": (object: number, p0: number) => void;
|
|
4687
4839
|
}
|
|
4688
4840
|
|
|
4689
4841
|
// Constructor properties interface
|
|
@@ -5249,7 +5401,7 @@ export namespace Meta {
|
|
|
5249
5401
|
* @signal
|
|
5250
5402
|
* @run-last
|
|
5251
5403
|
*/
|
|
5252
|
-
"new-handle": (
|
|
5404
|
+
"new-handle": (object: RemoteAccessHandle) => void;
|
|
5253
5405
|
}
|
|
5254
5406
|
|
|
5255
5407
|
// Constructor properties interface
|
|
@@ -5362,7 +5514,7 @@ export namespace Meta {
|
|
|
5362
5514
|
* @signal
|
|
5363
5515
|
* @run-last
|
|
5364
5516
|
*/
|
|
5365
|
-
"owner-changed": (
|
|
5517
|
+
"owner-changed": (object: number, p0: SelectionSource) => void;
|
|
5366
5518
|
}
|
|
5367
5519
|
|
|
5368
5520
|
// Constructor properties interface
|
|
@@ -5459,6 +5611,7 @@ export namespace Meta {
|
|
|
5459
5611
|
* Finishes the transfer of a queried mimetype.
|
|
5460
5612
|
* @param result The async result
|
|
5461
5613
|
* @returns `TRUE` if the transfer was successful.
|
|
5614
|
+
* @throws GLib.Error
|
|
5462
5615
|
*/
|
|
5463
5616
|
transfer_finish(result: Gio.AsyncResult): boolean;
|
|
5464
5617
|
|
|
@@ -5595,6 +5748,7 @@ export namespace Meta {
|
|
|
5595
5748
|
* Finishes a read from the selection source.
|
|
5596
5749
|
* @param result The async result
|
|
5597
5750
|
* @returns The resulting {@link Gio.InputStream}
|
|
5751
|
+
* @throws GLib.Error
|
|
5598
5752
|
*/
|
|
5599
5753
|
read_finish(result: Gio.AsyncResult): Gio.InputStream;
|
|
5600
5754
|
}
|
|
@@ -5828,6 +5982,7 @@ export namespace Meta {
|
|
|
5828
5982
|
* would have regardless of the allocation of the actor that is painting it,
|
|
5829
5983
|
* for instance the size of an image data.
|
|
5830
5984
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
5985
|
+
* @since 1.10
|
|
5831
5986
|
*/
|
|
5832
5987
|
get_preferred_size(): [boolean, number, number];
|
|
5833
5988
|
|
|
@@ -5837,6 +5992,7 @@ export namespace Meta {
|
|
|
5837
5992
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
5838
5993
|
* they change the way a the content should be painted regardless of the
|
|
5839
5994
|
* actor state.
|
|
5995
|
+
* @since 1.10
|
|
5840
5996
|
*/
|
|
5841
5997
|
invalidate(): void;
|
|
5842
5998
|
|
|
@@ -5867,6 +6023,7 @@ export namespace Meta {
|
|
|
5867
6023
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
5868
6024
|
* would have regardless of the allocation of the actor that is painting it,
|
|
5869
6025
|
* for instance the size of an image data.
|
|
6026
|
+
* @since 1.10
|
|
5870
6027
|
* @virtual
|
|
5871
6028
|
*/
|
|
5872
6029
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -5877,6 +6034,7 @@ export namespace Meta {
|
|
|
5877
6034
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
5878
6035
|
* they change the way a the content should be painted regardless of the
|
|
5879
6036
|
* actor state.
|
|
6037
|
+
* @since 1.10
|
|
5880
6038
|
* @virtual
|
|
5881
6039
|
*/
|
|
5882
6040
|
vfunc_invalidate(): void;
|
|
@@ -6111,7 +6269,7 @@ export namespace Meta {
|
|
|
6111
6269
|
* @signal
|
|
6112
6270
|
* @run-last
|
|
6113
6271
|
*/
|
|
6114
|
-
changed: (
|
|
6272
|
+
changed: (object: null) => void;
|
|
6115
6273
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
6116
6274
|
}
|
|
6117
6275
|
|
|
@@ -7406,6 +7564,7 @@ export namespace Meta {
|
|
|
7406
7564
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7407
7565
|
* @param property_name the name of the animatable property to find
|
|
7408
7566
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
7567
|
+
* @since 1.4
|
|
7409
7568
|
*/
|
|
7410
7569
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7411
7570
|
|
|
@@ -7413,6 +7572,7 @@ export namespace Meta {
|
|
|
7413
7572
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7414
7573
|
* @param property_name the name of the animatable property to retrieve
|
|
7415
7574
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7575
|
+
* @since 1.4
|
|
7416
7576
|
*/
|
|
7417
7577
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7418
7578
|
|
|
@@ -7430,6 +7590,7 @@ export namespace Meta {
|
|
|
7430
7590
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7431
7591
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7432
7592
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
7593
|
+
* @since 1.8
|
|
7433
7594
|
*/
|
|
7434
7595
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7435
7596
|
|
|
@@ -7437,6 +7598,7 @@ export namespace Meta {
|
|
|
7437
7598
|
* Sets the current state of `property_name` to `value`
|
|
7438
7599
|
* @param property_name the name of the animatable property to set
|
|
7439
7600
|
* @param value the value of the animatable property to set
|
|
7601
|
+
* @since 1.4
|
|
7440
7602
|
*/
|
|
7441
7603
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7442
7604
|
|
|
@@ -7454,6 +7616,7 @@ export namespace Meta {
|
|
|
7454
7616
|
/**
|
|
7455
7617
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7456
7618
|
* @param property_name the name of the animatable property to find
|
|
7619
|
+
* @since 1.4
|
|
7457
7620
|
* @virtual
|
|
7458
7621
|
*/
|
|
7459
7622
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -7462,6 +7625,7 @@ export namespace Meta {
|
|
|
7462
7625
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7463
7626
|
* @param property_name the name of the animatable property to retrieve
|
|
7464
7627
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7628
|
+
* @since 1.4
|
|
7465
7629
|
* @virtual
|
|
7466
7630
|
*/
|
|
7467
7631
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -7479,6 +7643,7 @@ export namespace Meta {
|
|
|
7479
7643
|
* @param property_name the name of the property to interpolate
|
|
7480
7644
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7481
7645
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7646
|
+
* @since 1.8
|
|
7482
7647
|
* @virtual
|
|
7483
7648
|
*/
|
|
7484
7649
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -7487,6 +7652,7 @@ export namespace Meta {
|
|
|
7487
7652
|
* Sets the current state of `property_name` to `value`
|
|
7488
7653
|
* @param property_name the name of the animatable property to set
|
|
7489
7654
|
* @param value the value of the animatable property to set
|
|
7655
|
+
* @since 1.4
|
|
7490
7656
|
* @virtual
|
|
7491
7657
|
*/
|
|
7492
7658
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -7501,6 +7667,8 @@ export namespace Meta {
|
|
|
7501
7667
|
* deprecated virtual function. The default implementation will
|
|
7502
7668
|
* call `clutter_actor_add_child()`.
|
|
7503
7669
|
* @param actor the first {@link Clutter.Actor} to add
|
|
7670
|
+
* @since 0.4
|
|
7671
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7504
7672
|
*/
|
|
7505
7673
|
add_actor(actor: Clutter.Actor): void;
|
|
7506
7674
|
|
|
@@ -7515,6 +7683,7 @@ export namespace Meta {
|
|
|
7515
7683
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7516
7684
|
* @param property the name of the property to set.
|
|
7517
7685
|
* @param value the value.
|
|
7686
|
+
* @since 0.8
|
|
7518
7687
|
*/
|
|
7519
7688
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7520
7689
|
|
|
@@ -7524,6 +7693,7 @@ export namespace Meta {
|
|
|
7524
7693
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7525
7694
|
* @param child a {@link Clutter.Actor}
|
|
7526
7695
|
* @param pspec a {@link GObject.ParamSpec}
|
|
7696
|
+
* @since 1.6
|
|
7527
7697
|
*/
|
|
7528
7698
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
7529
7699
|
|
|
@@ -7532,6 +7702,7 @@ export namespace Meta {
|
|
|
7532
7702
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7533
7703
|
* @param property the name of the property to set.
|
|
7534
7704
|
* @param value the value.
|
|
7705
|
+
* @since 0.8
|
|
7535
7706
|
*/
|
|
7536
7707
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7537
7708
|
|
|
@@ -7546,6 +7717,7 @@ export namespace Meta {
|
|
|
7546
7717
|
*
|
|
7547
7718
|
* Applications should not call this function.
|
|
7548
7719
|
* @param actor a {@link Clutter.Actor}
|
|
7720
|
+
* @since 1.2
|
|
7549
7721
|
*/
|
|
7550
7722
|
create_child_meta(actor: Clutter.Actor): void;
|
|
7551
7723
|
|
|
@@ -7559,6 +7731,7 @@ export namespace Meta {
|
|
|
7559
7731
|
*
|
|
7560
7732
|
* Applications should not call this function.
|
|
7561
7733
|
* @param actor a {@link Clutter.Actor}
|
|
7734
|
+
* @since 1.2
|
|
7562
7735
|
*/
|
|
7563
7736
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
7564
7737
|
|
|
@@ -7567,6 +7740,7 @@ export namespace Meta {
|
|
|
7567
7740
|
* into any child container.
|
|
7568
7741
|
* @param child_name the name of the requested child.
|
|
7569
7742
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
7743
|
+
* @since 0.6
|
|
7570
7744
|
*/
|
|
7571
7745
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
7572
7746
|
|
|
@@ -7575,12 +7749,15 @@ export namespace Meta {
|
|
|
7575
7749
|
* `container` specific state for `actor`.
|
|
7576
7750
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
7577
7751
|
* @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
|
|
7752
|
+
* @since 0.8
|
|
7578
7753
|
*/
|
|
7579
7754
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
7580
7755
|
|
|
7581
7756
|
/**
|
|
7582
7757
|
* Retrieves all the children of `container`.
|
|
7583
7758
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
7759
|
+
* @since 0.4
|
|
7760
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
7584
7761
|
*/
|
|
7585
7762
|
get_children(): Clutter.Actor[];
|
|
7586
7763
|
|
|
@@ -7592,6 +7769,8 @@ export namespace Meta {
|
|
|
7592
7769
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7593
7770
|
* @param actor the actor to raise
|
|
7594
7771
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
7772
|
+
* @since 0.6
|
|
7773
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7595
7774
|
*/
|
|
7596
7775
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7597
7776
|
|
|
@@ -7603,6 +7782,8 @@ export namespace Meta {
|
|
|
7603
7782
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7604
7783
|
* @param actor the actor to raise
|
|
7605
7784
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
7785
|
+
* @since 0.6
|
|
7786
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7606
7787
|
*/
|
|
7607
7788
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7608
7789
|
|
|
@@ -7616,12 +7797,16 @@ export namespace Meta {
|
|
|
7616
7797
|
* deprecated virtual function. The default implementation will call
|
|
7617
7798
|
* `clutter_actor_remove_child()`.
|
|
7618
7799
|
* @param actor a {@link Clutter.Actor}
|
|
7800
|
+
* @since 0.4
|
|
7801
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7619
7802
|
*/
|
|
7620
7803
|
remove_actor(actor: Clutter.Actor): void;
|
|
7621
7804
|
|
|
7622
7805
|
/**
|
|
7623
7806
|
* Sorts a container's children using their depth. This function should not
|
|
7624
7807
|
* be normally used by applications.
|
|
7808
|
+
* @since 0.6
|
|
7809
|
+
* @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.
|
|
7625
7810
|
*/
|
|
7626
7811
|
sort_depth_order(): void;
|
|
7627
7812
|
|
|
@@ -7647,6 +7832,8 @@ export namespace Meta {
|
|
|
7647
7832
|
* deprecated virtual function. The default implementation will
|
|
7648
7833
|
* call `clutter_actor_add_child()`.
|
|
7649
7834
|
* @param actor the first {@link Clutter.Actor} to add
|
|
7835
|
+
* @since 0.4
|
|
7836
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7650
7837
|
* @virtual
|
|
7651
7838
|
*/
|
|
7652
7839
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -7657,6 +7844,7 @@ export namespace Meta {
|
|
|
7657
7844
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7658
7845
|
* @param child a {@link Clutter.Actor}
|
|
7659
7846
|
* @param pspec a {@link GObject.ParamSpec}
|
|
7847
|
+
* @since 1.6
|
|
7660
7848
|
* @virtual
|
|
7661
7849
|
*/
|
|
7662
7850
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -7672,6 +7860,7 @@ export namespace Meta {
|
|
|
7672
7860
|
*
|
|
7673
7861
|
* Applications should not call this function.
|
|
7674
7862
|
* @param actor a {@link Clutter.Actor}
|
|
7863
|
+
* @since 1.2
|
|
7675
7864
|
* @virtual
|
|
7676
7865
|
*/
|
|
7677
7866
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7686,6 +7875,7 @@ export namespace Meta {
|
|
|
7686
7875
|
*
|
|
7687
7876
|
* Applications should not call this function.
|
|
7688
7877
|
* @param actor a {@link Clutter.Actor}
|
|
7878
|
+
* @since 1.2
|
|
7689
7879
|
* @virtual
|
|
7690
7880
|
*/
|
|
7691
7881
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7694,6 +7884,7 @@ export namespace Meta {
|
|
|
7694
7884
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
7695
7885
|
* `container` specific state for `actor`.
|
|
7696
7886
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
7887
|
+
* @since 0.8
|
|
7697
7888
|
* @virtual
|
|
7698
7889
|
*/
|
|
7699
7890
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -7706,6 +7897,8 @@ export namespace Meta {
|
|
|
7706
7897
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7707
7898
|
* @param actor the actor to raise
|
|
7708
7899
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
7900
|
+
* @since 0.6
|
|
7901
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7709
7902
|
* @virtual
|
|
7710
7903
|
*/
|
|
7711
7904
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -7718,6 +7911,8 @@ export namespace Meta {
|
|
|
7718
7911
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7719
7912
|
* @param actor the actor to raise
|
|
7720
7913
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
7914
|
+
* @since 0.6
|
|
7915
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7721
7916
|
* @virtual
|
|
7722
7917
|
*/
|
|
7723
7918
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -7732,6 +7927,8 @@ export namespace Meta {
|
|
|
7732
7927
|
* deprecated virtual function. The default implementation will call
|
|
7733
7928
|
* `clutter_actor_remove_child()`.
|
|
7734
7929
|
* @param actor a {@link Clutter.Actor}
|
|
7930
|
+
* @since 0.4
|
|
7931
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7735
7932
|
* @virtual
|
|
7736
7933
|
*/
|
|
7737
7934
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -7739,6 +7936,8 @@ export namespace Meta {
|
|
|
7739
7936
|
/**
|
|
7740
7937
|
* Sorts a container's children using their depth. This function should not
|
|
7741
7938
|
* be normally used by applications.
|
|
7939
|
+
* @since 0.6
|
|
7940
|
+
* @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.
|
|
7742
7941
|
* @virtual
|
|
7743
7942
|
*/
|
|
7744
7943
|
vfunc_sort_depth_order(): void;
|
|
@@ -7746,6 +7945,7 @@ export namespace Meta {
|
|
|
7746
7945
|
/**
|
|
7747
7946
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
7748
7947
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
7948
|
+
* @since 0.6
|
|
7749
7949
|
*/
|
|
7750
7950
|
get_id(): string;
|
|
7751
7951
|
|
|
@@ -7757,6 +7957,7 @@ export namespace Meta {
|
|
|
7757
7957
|
* @param name the name of the node
|
|
7758
7958
|
* @param node the JSON node to be parsed
|
|
7759
7959
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
7960
|
+
* @since 0.6
|
|
7760
7961
|
*/
|
|
7761
7962
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
7762
7963
|
|
|
@@ -7766,6 +7967,7 @@ export namespace Meta {
|
|
|
7766
7967
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
7767
7968
|
* @param name the name of the property
|
|
7768
7969
|
* @param value the value of the property
|
|
7970
|
+
* @since 0.6
|
|
7769
7971
|
*/
|
|
7770
7972
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
7771
7973
|
|
|
@@ -7777,11 +7979,13 @@ export namespace Meta {
|
|
|
7777
7979
|
* define a unique name for an object constructable using the UI
|
|
7778
7980
|
* definition language parsed by {@link Clutter.Script}.
|
|
7779
7981
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
7982
|
+
* @since 0.6
|
|
7780
7983
|
*/
|
|
7781
7984
|
set_id(id_: string): void;
|
|
7782
7985
|
|
|
7783
7986
|
/**
|
|
7784
7987
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
7988
|
+
* @since 0.6
|
|
7785
7989
|
* @virtual
|
|
7786
7990
|
*/
|
|
7787
7991
|
vfunc_get_id(): string;
|
|
@@ -7793,6 +7997,7 @@ export namespace Meta {
|
|
|
7793
7997
|
* @param value the generic value to be set
|
|
7794
7998
|
* @param name the name of the node
|
|
7795
7999
|
* @param node the JSON node to be parsed
|
|
8000
|
+
* @since 0.6
|
|
7796
8001
|
* @virtual
|
|
7797
8002
|
*/
|
|
7798
8003
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -7803,6 +8008,7 @@ export namespace Meta {
|
|
|
7803
8008
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
7804
8009
|
* @param name the name of the property
|
|
7805
8010
|
* @param value the value of the property
|
|
8011
|
+
* @since 0.6
|
|
7806
8012
|
* @virtual
|
|
7807
8013
|
*/
|
|
7808
8014
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -7815,6 +8021,7 @@ export namespace Meta {
|
|
|
7815
8021
|
* define a unique name for an object constructable using the UI
|
|
7816
8022
|
* definition language parsed by {@link Clutter.Script}.
|
|
7817
8023
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8024
|
+
* @since 0.6
|
|
7818
8025
|
* @virtual
|
|
7819
8026
|
*/
|
|
7820
8027
|
vfunc_set_id(id_: string): void;
|
|
@@ -7948,6 +8155,7 @@ export namespace Meta {
|
|
|
7948
8155
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7949
8156
|
* @param property_name the name of the animatable property to find
|
|
7950
8157
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8158
|
+
* @since 1.4
|
|
7951
8159
|
*/
|
|
7952
8160
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7953
8161
|
|
|
@@ -7955,6 +8163,7 @@ export namespace Meta {
|
|
|
7955
8163
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7956
8164
|
* @param property_name the name of the animatable property to retrieve
|
|
7957
8165
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8166
|
+
* @since 1.4
|
|
7958
8167
|
*/
|
|
7959
8168
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7960
8169
|
|
|
@@ -7972,6 +8181,7 @@ export namespace Meta {
|
|
|
7972
8181
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7973
8182
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7974
8183
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8184
|
+
* @since 1.8
|
|
7975
8185
|
*/
|
|
7976
8186
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7977
8187
|
|
|
@@ -7979,6 +8189,7 @@ export namespace Meta {
|
|
|
7979
8189
|
* Sets the current state of `property_name` to `value`
|
|
7980
8190
|
* @param property_name the name of the animatable property to set
|
|
7981
8191
|
* @param value the value of the animatable property to set
|
|
8192
|
+
* @since 1.4
|
|
7982
8193
|
*/
|
|
7983
8194
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7984
8195
|
|
|
@@ -7996,6 +8207,7 @@ export namespace Meta {
|
|
|
7996
8207
|
/**
|
|
7997
8208
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7998
8209
|
* @param property_name the name of the animatable property to find
|
|
8210
|
+
* @since 1.4
|
|
7999
8211
|
* @virtual
|
|
8000
8212
|
*/
|
|
8001
8213
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -8004,6 +8216,7 @@ export namespace Meta {
|
|
|
8004
8216
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8005
8217
|
* @param property_name the name of the animatable property to retrieve
|
|
8006
8218
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8219
|
+
* @since 1.4
|
|
8007
8220
|
* @virtual
|
|
8008
8221
|
*/
|
|
8009
8222
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -8021,6 +8234,7 @@ export namespace Meta {
|
|
|
8021
8234
|
* @param property_name the name of the property to interpolate
|
|
8022
8235
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8023
8236
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8237
|
+
* @since 1.8
|
|
8024
8238
|
* @virtual
|
|
8025
8239
|
*/
|
|
8026
8240
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -8029,6 +8243,7 @@ export namespace Meta {
|
|
|
8029
8243
|
* Sets the current state of `property_name` to `value`
|
|
8030
8244
|
* @param property_name the name of the animatable property to set
|
|
8031
8245
|
* @param value the value of the animatable property to set
|
|
8246
|
+
* @since 1.4
|
|
8032
8247
|
* @virtual
|
|
8033
8248
|
*/
|
|
8034
8249
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -8043,6 +8258,8 @@ export namespace Meta {
|
|
|
8043
8258
|
* deprecated virtual function. The default implementation will
|
|
8044
8259
|
* call `clutter_actor_add_child()`.
|
|
8045
8260
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8261
|
+
* @since 0.4
|
|
8262
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8046
8263
|
*/
|
|
8047
8264
|
add_actor(actor: Clutter.Actor): void;
|
|
8048
8265
|
|
|
@@ -8057,6 +8274,7 @@ export namespace Meta {
|
|
|
8057
8274
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8058
8275
|
* @param property the name of the property to set.
|
|
8059
8276
|
* @param value the value.
|
|
8277
|
+
* @since 0.8
|
|
8060
8278
|
*/
|
|
8061
8279
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8062
8280
|
|
|
@@ -8066,6 +8284,7 @@ export namespace Meta {
|
|
|
8066
8284
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8067
8285
|
* @param child a {@link Clutter.Actor}
|
|
8068
8286
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8287
|
+
* @since 1.6
|
|
8069
8288
|
*/
|
|
8070
8289
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
8071
8290
|
|
|
@@ -8074,6 +8293,7 @@ export namespace Meta {
|
|
|
8074
8293
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8075
8294
|
* @param property the name of the property to set.
|
|
8076
8295
|
* @param value the value.
|
|
8296
|
+
* @since 0.8
|
|
8077
8297
|
*/
|
|
8078
8298
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8079
8299
|
|
|
@@ -8088,6 +8308,7 @@ export namespace Meta {
|
|
|
8088
8308
|
*
|
|
8089
8309
|
* Applications should not call this function.
|
|
8090
8310
|
* @param actor a {@link Clutter.Actor}
|
|
8311
|
+
* @since 1.2
|
|
8091
8312
|
*/
|
|
8092
8313
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8093
8314
|
|
|
@@ -8101,6 +8322,7 @@ export namespace Meta {
|
|
|
8101
8322
|
*
|
|
8102
8323
|
* Applications should not call this function.
|
|
8103
8324
|
* @param actor a {@link Clutter.Actor}
|
|
8325
|
+
* @since 1.2
|
|
8104
8326
|
*/
|
|
8105
8327
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8106
8328
|
|
|
@@ -8109,6 +8331,7 @@ export namespace Meta {
|
|
|
8109
8331
|
* into any child container.
|
|
8110
8332
|
* @param child_name the name of the requested child.
|
|
8111
8333
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8334
|
+
* @since 0.6
|
|
8112
8335
|
*/
|
|
8113
8336
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8114
8337
|
|
|
@@ -8117,12 +8340,15 @@ export namespace Meta {
|
|
|
8117
8340
|
* `container` specific state for `actor`.
|
|
8118
8341
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8119
8342
|
* @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
|
|
8343
|
+
* @since 0.8
|
|
8120
8344
|
*/
|
|
8121
8345
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8122
8346
|
|
|
8123
8347
|
/**
|
|
8124
8348
|
* Retrieves all the children of `container`.
|
|
8125
8349
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8350
|
+
* @since 0.4
|
|
8351
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8126
8352
|
*/
|
|
8127
8353
|
get_children(): Clutter.Actor[];
|
|
8128
8354
|
|
|
@@ -8134,6 +8360,8 @@ export namespace Meta {
|
|
|
8134
8360
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8135
8361
|
* @param actor the actor to raise
|
|
8136
8362
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8363
|
+
* @since 0.6
|
|
8364
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8137
8365
|
*/
|
|
8138
8366
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8139
8367
|
|
|
@@ -8145,6 +8373,8 @@ export namespace Meta {
|
|
|
8145
8373
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8146
8374
|
* @param actor the actor to raise
|
|
8147
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.
|
|
8148
8378
|
*/
|
|
8149
8379
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8150
8380
|
|
|
@@ -8158,12 +8388,16 @@ export namespace Meta {
|
|
|
8158
8388
|
* deprecated virtual function. The default implementation will call
|
|
8159
8389
|
* `clutter_actor_remove_child()`.
|
|
8160
8390
|
* @param actor a {@link Clutter.Actor}
|
|
8391
|
+
* @since 0.4
|
|
8392
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8161
8393
|
*/
|
|
8162
8394
|
remove_actor(actor: Clutter.Actor): void;
|
|
8163
8395
|
|
|
8164
8396
|
/**
|
|
8165
8397
|
* Sorts a container's children using their depth. This function should not
|
|
8166
8398
|
* be normally used by applications.
|
|
8399
|
+
* @since 0.6
|
|
8400
|
+
* @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.
|
|
8167
8401
|
*/
|
|
8168
8402
|
sort_depth_order(): void;
|
|
8169
8403
|
|
|
@@ -8189,6 +8423,8 @@ export namespace Meta {
|
|
|
8189
8423
|
* deprecated virtual function. The default implementation will
|
|
8190
8424
|
* call `clutter_actor_add_child()`.
|
|
8191
8425
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8426
|
+
* @since 0.4
|
|
8427
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8192
8428
|
* @virtual
|
|
8193
8429
|
*/
|
|
8194
8430
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8199,6 +8435,7 @@ export namespace Meta {
|
|
|
8199
8435
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8200
8436
|
* @param child a {@link Clutter.Actor}
|
|
8201
8437
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8438
|
+
* @since 1.6
|
|
8202
8439
|
* @virtual
|
|
8203
8440
|
*/
|
|
8204
8441
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8214,6 +8451,7 @@ export namespace Meta {
|
|
|
8214
8451
|
*
|
|
8215
8452
|
* Applications should not call this function.
|
|
8216
8453
|
* @param actor a {@link Clutter.Actor}
|
|
8454
|
+
* @since 1.2
|
|
8217
8455
|
* @virtual
|
|
8218
8456
|
*/
|
|
8219
8457
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8228,6 +8466,7 @@ export namespace Meta {
|
|
|
8228
8466
|
*
|
|
8229
8467
|
* Applications should not call this function.
|
|
8230
8468
|
* @param actor a {@link Clutter.Actor}
|
|
8469
|
+
* @since 1.2
|
|
8231
8470
|
* @virtual
|
|
8232
8471
|
*/
|
|
8233
8472
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8236,6 +8475,7 @@ export namespace Meta {
|
|
|
8236
8475
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8237
8476
|
* `container` specific state for `actor`.
|
|
8238
8477
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8478
|
+
* @since 0.8
|
|
8239
8479
|
* @virtual
|
|
8240
8480
|
*/
|
|
8241
8481
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8248,6 +8488,8 @@ export namespace Meta {
|
|
|
8248
8488
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8249
8489
|
* @param actor the actor to raise
|
|
8250
8490
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8491
|
+
* @since 0.6
|
|
8492
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8251
8493
|
* @virtual
|
|
8252
8494
|
*/
|
|
8253
8495
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8260,6 +8502,8 @@ export namespace Meta {
|
|
|
8260
8502
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8261
8503
|
* @param actor the actor to raise
|
|
8262
8504
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8505
|
+
* @since 0.6
|
|
8506
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8263
8507
|
* @virtual
|
|
8264
8508
|
*/
|
|
8265
8509
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8274,6 +8518,8 @@ export namespace Meta {
|
|
|
8274
8518
|
* deprecated virtual function. The default implementation will call
|
|
8275
8519
|
* `clutter_actor_remove_child()`.
|
|
8276
8520
|
* @param actor a {@link Clutter.Actor}
|
|
8521
|
+
* @since 0.4
|
|
8522
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8277
8523
|
* @virtual
|
|
8278
8524
|
*/
|
|
8279
8525
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8281,6 +8527,8 @@ export namespace Meta {
|
|
|
8281
8527
|
/**
|
|
8282
8528
|
* Sorts a container's children using their depth. This function should not
|
|
8283
8529
|
* be normally used by applications.
|
|
8530
|
+
* @since 0.6
|
|
8531
|
+
* @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.
|
|
8284
8532
|
* @virtual
|
|
8285
8533
|
*/
|
|
8286
8534
|
vfunc_sort_depth_order(): void;
|
|
@@ -8288,6 +8536,7 @@ export namespace Meta {
|
|
|
8288
8536
|
/**
|
|
8289
8537
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8290
8538
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8539
|
+
* @since 0.6
|
|
8291
8540
|
*/
|
|
8292
8541
|
get_id(): string;
|
|
8293
8542
|
|
|
@@ -8299,6 +8548,7 @@ export namespace Meta {
|
|
|
8299
8548
|
* @param name the name of the node
|
|
8300
8549
|
* @param node the JSON node to be parsed
|
|
8301
8550
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8551
|
+
* @since 0.6
|
|
8302
8552
|
*/
|
|
8303
8553
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8304
8554
|
|
|
@@ -8308,6 +8558,7 @@ export namespace Meta {
|
|
|
8308
8558
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8309
8559
|
* @param name the name of the property
|
|
8310
8560
|
* @param value the value of the property
|
|
8561
|
+
* @since 0.6
|
|
8311
8562
|
*/
|
|
8312
8563
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8313
8564
|
|
|
@@ -8319,11 +8570,13 @@ export namespace Meta {
|
|
|
8319
8570
|
* define a unique name for an object constructable using the UI
|
|
8320
8571
|
* definition language parsed by {@link Clutter.Script}.
|
|
8321
8572
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8573
|
+
* @since 0.6
|
|
8322
8574
|
*/
|
|
8323
8575
|
set_id(id_: string): void;
|
|
8324
8576
|
|
|
8325
8577
|
/**
|
|
8326
8578
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8579
|
+
* @since 0.6
|
|
8327
8580
|
* @virtual
|
|
8328
8581
|
*/
|
|
8329
8582
|
vfunc_get_id(): string;
|
|
@@ -8335,6 +8588,7 @@ export namespace Meta {
|
|
|
8335
8588
|
* @param value the generic value to be set
|
|
8336
8589
|
* @param name the name of the node
|
|
8337
8590
|
* @param node the JSON node to be parsed
|
|
8591
|
+
* @since 0.6
|
|
8338
8592
|
* @virtual
|
|
8339
8593
|
*/
|
|
8340
8594
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8345,6 +8599,7 @@ export namespace Meta {
|
|
|
8345
8599
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8346
8600
|
* @param name the name of the property
|
|
8347
8601
|
* @param value the value of the property
|
|
8602
|
+
* @since 0.6
|
|
8348
8603
|
* @virtual
|
|
8349
8604
|
*/
|
|
8350
8605
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8357,6 +8612,7 @@ export namespace Meta {
|
|
|
8357
8612
|
* define a unique name for an object constructable using the UI
|
|
8358
8613
|
* definition language parsed by {@link Clutter.Script}.
|
|
8359
8614
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8615
|
+
* @since 0.6
|
|
8360
8616
|
* @virtual
|
|
8361
8617
|
*/
|
|
8362
8618
|
vfunc_set_id(id_: string): void;
|
|
@@ -8370,12 +8626,12 @@ export namespace Meta {
|
|
|
8370
8626
|
* @signal
|
|
8371
8627
|
* @run-last
|
|
8372
8628
|
*/
|
|
8373
|
-
"window-added": (
|
|
8629
|
+
"window-added": (object: Window) => void;
|
|
8374
8630
|
/**
|
|
8375
8631
|
* @signal
|
|
8376
8632
|
* @run-last
|
|
8377
8633
|
*/
|
|
8378
|
-
"window-removed": (
|
|
8634
|
+
"window-removed": (object: Window) => void;
|
|
8379
8635
|
"notify::n-windows": (pspec: GObject.ParamSpec) => void;
|
|
8380
8636
|
"notify::workspace-index": (pspec: GObject.ParamSpec) => void;
|
|
8381
8637
|
}
|
|
@@ -8530,17 +8786,17 @@ export namespace Meta {
|
|
|
8530
8786
|
* @signal
|
|
8531
8787
|
* @run-last
|
|
8532
8788
|
*/
|
|
8533
|
-
"workspace-added": (
|
|
8789
|
+
"workspace-added": (object: number) => void;
|
|
8534
8790
|
/**
|
|
8535
8791
|
* @signal
|
|
8536
8792
|
* @run-last
|
|
8537
8793
|
*/
|
|
8538
|
-
"workspace-removed": (
|
|
8794
|
+
"workspace-removed": (object: number) => void;
|
|
8539
8795
|
/**
|
|
8540
8796
|
* @signal
|
|
8541
8797
|
* @run-last
|
|
8542
8798
|
*/
|
|
8543
|
-
"workspace-switched": (
|
|
8799
|
+
"workspace-switched": (object: number, p0: number, p1: MotionDirection) => void;
|
|
8544
8800
|
/**
|
|
8545
8801
|
* @signal
|
|
8546
8802
|
* @run-last
|