@girs/meta-8 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-8.d.ts +646 -397
- package/package.json +24 -24
package/meta-8.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,84 +147,84 @@ 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,
|
|
222
|
+
IBEAM = 18,
|
|
223
223
|
/**
|
|
224
224
|
* Invisible cursor
|
|
225
225
|
*/
|
|
226
|
-
BLANK,
|
|
227
|
-
LAST,
|
|
226
|
+
BLANK = 19,
|
|
227
|
+
LAST = 20,
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
|
|
@@ -242,19 +242,19 @@ export namespace Meta {
|
|
|
242
242
|
/**
|
|
243
243
|
* top-left corner
|
|
244
244
|
*/
|
|
245
|
-
TOPLEFT,
|
|
245
|
+
TOPLEFT = 0,
|
|
246
246
|
/**
|
|
247
247
|
* top-right corner
|
|
248
248
|
*/
|
|
249
|
-
TOPRIGHT,
|
|
249
|
+
TOPRIGHT = 1,
|
|
250
250
|
/**
|
|
251
251
|
* bottom-left corner
|
|
252
252
|
*/
|
|
253
|
-
BOTTOMLEFT,
|
|
253
|
+
BOTTOMLEFT = 2,
|
|
254
254
|
/**
|
|
255
255
|
* bottom-right corner
|
|
256
256
|
*/
|
|
257
|
-
BOTTOMRIGHT,
|
|
257
|
+
BOTTOMRIGHT = 3,
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
|
|
@@ -272,19 +272,19 @@ export namespace Meta {
|
|
|
272
272
|
/**
|
|
273
273
|
* up
|
|
274
274
|
*/
|
|
275
|
-
UP,
|
|
275
|
+
UP = 0,
|
|
276
276
|
/**
|
|
277
277
|
* down
|
|
278
278
|
*/
|
|
279
|
-
DOWN,
|
|
279
|
+
DOWN = 1,
|
|
280
280
|
/**
|
|
281
281
|
* left
|
|
282
282
|
*/
|
|
283
|
-
LEFT,
|
|
283
|
+
LEFT = 2,
|
|
284
284
|
/**
|
|
285
285
|
* right
|
|
286
286
|
*/
|
|
287
|
-
RIGHT,
|
|
287
|
+
RIGHT = 3,
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
|
|
@@ -302,15 +302,15 @@ export namespace Meta {
|
|
|
302
302
|
/**
|
|
303
303
|
* Whether the edge belongs to a window
|
|
304
304
|
*/
|
|
305
|
-
WINDOW,
|
|
305
|
+
WINDOW = 0,
|
|
306
306
|
/**
|
|
307
307
|
* Whether the edge belongs to a monitor
|
|
308
308
|
*/
|
|
309
|
-
MONITOR,
|
|
309
|
+
MONITOR = 1,
|
|
310
310
|
/**
|
|
311
311
|
* Whether the edge belongs to a screen
|
|
312
312
|
*/
|
|
313
|
-
SCREEN,
|
|
313
|
+
SCREEN = 2,
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
|
|
@@ -328,11 +328,11 @@ export namespace Meta {
|
|
|
328
328
|
/**
|
|
329
329
|
* Success
|
|
330
330
|
*/
|
|
331
|
-
SUCCESS,
|
|
331
|
+
SUCCESS = 0,
|
|
332
332
|
/**
|
|
333
333
|
* Error
|
|
334
334
|
*/
|
|
335
|
-
ERROR,
|
|
335
|
+
ERROR = 1,
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
|
|
@@ -350,35 +350,35 @@ export namespace Meta {
|
|
|
350
350
|
/**
|
|
351
351
|
* Normal frame
|
|
352
352
|
*/
|
|
353
|
-
NORMAL,
|
|
353
|
+
NORMAL = 0,
|
|
354
354
|
/**
|
|
355
355
|
* Dialog frame
|
|
356
356
|
*/
|
|
357
|
-
DIALOG,
|
|
357
|
+
DIALOG = 1,
|
|
358
358
|
/**
|
|
359
359
|
* Modal dialog frame
|
|
360
360
|
*/
|
|
361
|
-
MODAL_DIALOG,
|
|
361
|
+
MODAL_DIALOG = 2,
|
|
362
362
|
/**
|
|
363
363
|
* Utility frame
|
|
364
364
|
*/
|
|
365
|
-
UTILITY,
|
|
365
|
+
UTILITY = 3,
|
|
366
366
|
/**
|
|
367
367
|
* Menu frame
|
|
368
368
|
*/
|
|
369
|
-
MENU,
|
|
369
|
+
MENU = 4,
|
|
370
370
|
/**
|
|
371
371
|
* Border frame
|
|
372
372
|
*/
|
|
373
|
-
BORDER,
|
|
373
|
+
BORDER = 5,
|
|
374
374
|
/**
|
|
375
375
|
* Attached frame
|
|
376
376
|
*/
|
|
377
|
-
ATTACHED,
|
|
377
|
+
ATTACHED = 6,
|
|
378
378
|
/**
|
|
379
379
|
* Marks the end of the {@link Meta.FrameType} enumeration
|
|
380
380
|
*/
|
|
381
|
-
LAST,
|
|
381
|
+
LAST = 7,
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
|
|
@@ -396,90 +396,90 @@ export namespace Meta {
|
|
|
396
396
|
/**
|
|
397
397
|
* None
|
|
398
398
|
*/
|
|
399
|
-
NONE,
|
|
400
|
-
WINDOW_BASE,
|
|
399
|
+
NONE = 0,
|
|
400
|
+
WINDOW_BASE = 1,
|
|
401
401
|
/**
|
|
402
402
|
* Compositor asked for grab
|
|
403
403
|
*/
|
|
404
|
-
COMPOSITOR,
|
|
405
|
-
WAYLAND_POPUP,
|
|
406
|
-
FRAME_BUTTON,
|
|
404
|
+
COMPOSITOR = 2,
|
|
405
|
+
WAYLAND_POPUP = 3,
|
|
406
|
+
FRAME_BUTTON = 4,
|
|
407
407
|
/**
|
|
408
408
|
* Moving with pointer
|
|
409
409
|
*/
|
|
410
|
-
MOVING,
|
|
410
|
+
MOVING = 1,
|
|
411
411
|
/**
|
|
412
412
|
* Resizing NW with pointer
|
|
413
413
|
*/
|
|
414
|
-
RESIZING_NW,
|
|
414
|
+
RESIZING_NW = 36865,
|
|
415
415
|
/**
|
|
416
416
|
* Resizing N with pointer
|
|
417
417
|
*/
|
|
418
|
-
RESIZING_N,
|
|
418
|
+
RESIZING_N = 32769,
|
|
419
419
|
/**
|
|
420
420
|
* Resizing NE with pointer
|
|
421
421
|
*/
|
|
422
|
-
RESIZING_NE,
|
|
422
|
+
RESIZING_NE = 40961,
|
|
423
423
|
/**
|
|
424
424
|
* Resizing E with pointer
|
|
425
425
|
*/
|
|
426
|
-
RESIZING_E,
|
|
426
|
+
RESIZING_E = 8193,
|
|
427
427
|
/**
|
|
428
428
|
* Resizing SW with pointer
|
|
429
429
|
*/
|
|
430
|
-
RESIZING_SW,
|
|
430
|
+
RESIZING_SW = 20481,
|
|
431
431
|
/**
|
|
432
432
|
* Resizing S with pointer
|
|
433
433
|
*/
|
|
434
|
-
RESIZING_S,
|
|
434
|
+
RESIZING_S = 16385,
|
|
435
435
|
/**
|
|
436
436
|
* Resizing SE with pointer
|
|
437
437
|
*/
|
|
438
|
-
RESIZING_SE,
|
|
438
|
+
RESIZING_SE = 24577,
|
|
439
439
|
/**
|
|
440
440
|
* Resizing W with pointer
|
|
441
441
|
*/
|
|
442
|
-
RESIZING_W,
|
|
442
|
+
RESIZING_W = 4097,
|
|
443
443
|
/**
|
|
444
444
|
* Moving with keyboard
|
|
445
445
|
*/
|
|
446
|
-
KEYBOARD_MOVING,
|
|
446
|
+
KEYBOARD_MOVING = 257,
|
|
447
447
|
/**
|
|
448
448
|
* Resizing with keyboard
|
|
449
449
|
*/
|
|
450
|
-
KEYBOARD_RESIZING_UNKNOWN,
|
|
450
|
+
KEYBOARD_RESIZING_UNKNOWN = 769,
|
|
451
451
|
/**
|
|
452
452
|
* Resizing NS with keyboard
|
|
453
453
|
*/
|
|
454
|
-
KEYBOARD_RESIZING_NW,
|
|
454
|
+
KEYBOARD_RESIZING_NW = 37121,
|
|
455
455
|
/**
|
|
456
456
|
* Resizing N with keyboard
|
|
457
457
|
*/
|
|
458
|
-
KEYBOARD_RESIZING_N,
|
|
458
|
+
KEYBOARD_RESIZING_N = 33025,
|
|
459
459
|
/**
|
|
460
460
|
* Resizing NE with keyboard
|
|
461
461
|
*/
|
|
462
|
-
KEYBOARD_RESIZING_NE,
|
|
462
|
+
KEYBOARD_RESIZING_NE = 41217,
|
|
463
463
|
/**
|
|
464
464
|
* Resizing E with keyboard
|
|
465
465
|
*/
|
|
466
|
-
KEYBOARD_RESIZING_E,
|
|
466
|
+
KEYBOARD_RESIZING_E = 8449,
|
|
467
467
|
/**
|
|
468
468
|
* Resizing SW with keyboard
|
|
469
469
|
*/
|
|
470
|
-
KEYBOARD_RESIZING_SW,
|
|
470
|
+
KEYBOARD_RESIZING_SW = 20737,
|
|
471
471
|
/**
|
|
472
472
|
* Resizing S with keyboard
|
|
473
473
|
*/
|
|
474
|
-
KEYBOARD_RESIZING_S,
|
|
474
|
+
KEYBOARD_RESIZING_S = 16641,
|
|
475
475
|
/**
|
|
476
476
|
* Resizing SE with keyboard
|
|
477
477
|
*/
|
|
478
|
-
KEYBOARD_RESIZING_SE,
|
|
478
|
+
KEYBOARD_RESIZING_SE = 24833,
|
|
479
479
|
/**
|
|
480
480
|
* Resizing W with keyboard
|
|
481
481
|
*/
|
|
482
|
-
KEYBOARD_RESIZING_W,
|
|
482
|
+
KEYBOARD_RESIZING_W = 4353,
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
|
|
@@ -494,17 +494,17 @@ export namespace Meta {
|
|
|
494
494
|
* @gir-type Enum
|
|
495
495
|
*/
|
|
496
496
|
enum Gravity {
|
|
497
|
-
NONE,
|
|
498
|
-
NORTH_WEST,
|
|
499
|
-
NORTH,
|
|
500
|
-
NORTH_EAST,
|
|
501
|
-
WEST,
|
|
502
|
-
CENTER,
|
|
503
|
-
EAST,
|
|
504
|
-
SOUTH_WEST,
|
|
505
|
-
SOUTH,
|
|
506
|
-
SOUTH_EAST,
|
|
507
|
-
STATIC,
|
|
497
|
+
NONE = 0,
|
|
498
|
+
NORTH_WEST = 1,
|
|
499
|
+
NORTH = 2,
|
|
500
|
+
NORTH_EAST = 3,
|
|
501
|
+
WEST = 4,
|
|
502
|
+
CENTER = 5,
|
|
503
|
+
EAST = 6,
|
|
504
|
+
SOUTH_WEST = 7,
|
|
505
|
+
SOUTH = 8,
|
|
506
|
+
SOUTH_EAST = 9,
|
|
507
|
+
STATIC = 10,
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
|
|
@@ -519,8 +519,8 @@ export namespace Meta {
|
|
|
519
519
|
* @gir-type Enum
|
|
520
520
|
*/
|
|
521
521
|
enum InhibitShortcutsDialogResponse {
|
|
522
|
-
ALLOW,
|
|
523
|
-
DENY,
|
|
522
|
+
ALLOW = 0,
|
|
523
|
+
DENY = 1,
|
|
524
524
|
}
|
|
525
525
|
|
|
526
526
|
|
|
@@ -538,366 +538,366 @@ export namespace Meta {
|
|
|
538
538
|
/**
|
|
539
539
|
* FILLME
|
|
540
540
|
*/
|
|
541
|
-
NONE,
|
|
541
|
+
NONE = 0,
|
|
542
542
|
/**
|
|
543
543
|
* FILLME
|
|
544
544
|
*/
|
|
545
|
-
WORKSPACE_1,
|
|
545
|
+
WORKSPACE_1 = 1,
|
|
546
546
|
/**
|
|
547
547
|
* FILLME
|
|
548
548
|
*/
|
|
549
|
-
WORKSPACE_2,
|
|
549
|
+
WORKSPACE_2 = 2,
|
|
550
550
|
/**
|
|
551
551
|
* FILLME
|
|
552
552
|
*/
|
|
553
|
-
WORKSPACE_3,
|
|
553
|
+
WORKSPACE_3 = 3,
|
|
554
554
|
/**
|
|
555
555
|
* FILLME
|
|
556
556
|
*/
|
|
557
|
-
WORKSPACE_4,
|
|
557
|
+
WORKSPACE_4 = 4,
|
|
558
558
|
/**
|
|
559
559
|
* FILLME
|
|
560
560
|
*/
|
|
561
|
-
WORKSPACE_5,
|
|
561
|
+
WORKSPACE_5 = 5,
|
|
562
562
|
/**
|
|
563
563
|
* FILLME
|
|
564
564
|
*/
|
|
565
|
-
WORKSPACE_6,
|
|
565
|
+
WORKSPACE_6 = 6,
|
|
566
566
|
/**
|
|
567
567
|
* FILLME
|
|
568
568
|
*/
|
|
569
|
-
WORKSPACE_7,
|
|
569
|
+
WORKSPACE_7 = 7,
|
|
570
570
|
/**
|
|
571
571
|
* FILLME
|
|
572
572
|
*/
|
|
573
|
-
WORKSPACE_8,
|
|
573
|
+
WORKSPACE_8 = 8,
|
|
574
574
|
/**
|
|
575
575
|
* FILLME
|
|
576
576
|
*/
|
|
577
|
-
WORKSPACE_9,
|
|
577
|
+
WORKSPACE_9 = 9,
|
|
578
578
|
/**
|
|
579
579
|
* FILLME
|
|
580
580
|
*/
|
|
581
|
-
WORKSPACE_10,
|
|
581
|
+
WORKSPACE_10 = 10,
|
|
582
582
|
/**
|
|
583
583
|
* FILLME
|
|
584
584
|
*/
|
|
585
|
-
WORKSPACE_11,
|
|
585
|
+
WORKSPACE_11 = 11,
|
|
586
586
|
/**
|
|
587
587
|
* FILLME
|
|
588
588
|
*/
|
|
589
|
-
WORKSPACE_12,
|
|
589
|
+
WORKSPACE_12 = 12,
|
|
590
590
|
/**
|
|
591
591
|
* FILLME
|
|
592
592
|
*/
|
|
593
|
-
WORKSPACE_LEFT,
|
|
593
|
+
WORKSPACE_LEFT = 13,
|
|
594
594
|
/**
|
|
595
595
|
* FILLME
|
|
596
596
|
*/
|
|
597
|
-
WORKSPACE_RIGHT,
|
|
597
|
+
WORKSPACE_RIGHT = 14,
|
|
598
598
|
/**
|
|
599
599
|
* FILLME
|
|
600
600
|
*/
|
|
601
|
-
WORKSPACE_UP,
|
|
601
|
+
WORKSPACE_UP = 15,
|
|
602
602
|
/**
|
|
603
603
|
* FILLME
|
|
604
604
|
*/
|
|
605
|
-
WORKSPACE_DOWN,
|
|
605
|
+
WORKSPACE_DOWN = 16,
|
|
606
606
|
/**
|
|
607
607
|
* FILLME
|
|
608
608
|
*/
|
|
609
|
-
WORKSPACE_LAST,
|
|
609
|
+
WORKSPACE_LAST = 17,
|
|
610
610
|
/**
|
|
611
611
|
* FILLME
|
|
612
612
|
*/
|
|
613
|
-
SWITCH_APPLICATIONS,
|
|
613
|
+
SWITCH_APPLICATIONS = 18,
|
|
614
614
|
/**
|
|
615
615
|
* FILLME
|
|
616
616
|
*/
|
|
617
|
-
SWITCH_APPLICATIONS_BACKWARD,
|
|
617
|
+
SWITCH_APPLICATIONS_BACKWARD = 19,
|
|
618
618
|
/**
|
|
619
619
|
* FILLME
|
|
620
620
|
*/
|
|
621
|
-
SWITCH_GROUP,
|
|
621
|
+
SWITCH_GROUP = 20,
|
|
622
622
|
/**
|
|
623
623
|
* FILLME
|
|
624
624
|
*/
|
|
625
|
-
SWITCH_GROUP_BACKWARD,
|
|
625
|
+
SWITCH_GROUP_BACKWARD = 21,
|
|
626
626
|
/**
|
|
627
627
|
* FILLME
|
|
628
628
|
*/
|
|
629
|
-
SWITCH_WINDOWS,
|
|
629
|
+
SWITCH_WINDOWS = 22,
|
|
630
630
|
/**
|
|
631
631
|
* FILLME
|
|
632
632
|
*/
|
|
633
|
-
SWITCH_WINDOWS_BACKWARD,
|
|
633
|
+
SWITCH_WINDOWS_BACKWARD = 23,
|
|
634
634
|
/**
|
|
635
635
|
* FILLME
|
|
636
636
|
*/
|
|
637
|
-
SWITCH_PANELS,
|
|
637
|
+
SWITCH_PANELS = 24,
|
|
638
638
|
/**
|
|
639
639
|
* FILLME
|
|
640
640
|
*/
|
|
641
|
-
SWITCH_PANELS_BACKWARD,
|
|
641
|
+
SWITCH_PANELS_BACKWARD = 25,
|
|
642
642
|
/**
|
|
643
643
|
* FILLME
|
|
644
644
|
*/
|
|
645
|
-
CYCLE_GROUP,
|
|
645
|
+
CYCLE_GROUP = 26,
|
|
646
646
|
/**
|
|
647
647
|
* FILLME
|
|
648
648
|
*/
|
|
649
|
-
CYCLE_GROUP_BACKWARD,
|
|
649
|
+
CYCLE_GROUP_BACKWARD = 27,
|
|
650
650
|
/**
|
|
651
651
|
* FILLME
|
|
652
652
|
*/
|
|
653
|
-
CYCLE_WINDOWS,
|
|
653
|
+
CYCLE_WINDOWS = 28,
|
|
654
654
|
/**
|
|
655
655
|
* FILLME
|
|
656
656
|
*/
|
|
657
|
-
CYCLE_WINDOWS_BACKWARD,
|
|
657
|
+
CYCLE_WINDOWS_BACKWARD = 29,
|
|
658
658
|
/**
|
|
659
659
|
* FILLME
|
|
660
660
|
*/
|
|
661
|
-
CYCLE_PANELS,
|
|
661
|
+
CYCLE_PANELS = 30,
|
|
662
662
|
/**
|
|
663
663
|
* FILLME
|
|
664
664
|
*/
|
|
665
|
-
CYCLE_PANELS_BACKWARD,
|
|
665
|
+
CYCLE_PANELS_BACKWARD = 31,
|
|
666
666
|
/**
|
|
667
667
|
* FILLME
|
|
668
668
|
*/
|
|
669
|
-
SHOW_DESKTOP,
|
|
669
|
+
SHOW_DESKTOP = 32,
|
|
670
670
|
/**
|
|
671
671
|
* FILLME
|
|
672
672
|
*/
|
|
673
|
-
PANEL_MAIN_MENU,
|
|
673
|
+
PANEL_MAIN_MENU = 33,
|
|
674
674
|
/**
|
|
675
675
|
* FILLME
|
|
676
676
|
*/
|
|
677
|
-
PANEL_RUN_DIALOG,
|
|
677
|
+
PANEL_RUN_DIALOG = 34,
|
|
678
678
|
/**
|
|
679
679
|
* FILLME
|
|
680
680
|
*/
|
|
681
|
-
TOGGLE_RECORDING,
|
|
681
|
+
TOGGLE_RECORDING = 35,
|
|
682
682
|
/**
|
|
683
683
|
* FILLME
|
|
684
684
|
*/
|
|
685
|
-
SET_SPEW_MARK,
|
|
685
|
+
SET_SPEW_MARK = 36,
|
|
686
686
|
/**
|
|
687
687
|
* FILLME
|
|
688
688
|
*/
|
|
689
|
-
ACTIVATE_WINDOW_MENU,
|
|
689
|
+
ACTIVATE_WINDOW_MENU = 37,
|
|
690
690
|
/**
|
|
691
691
|
* FILLME
|
|
692
692
|
*/
|
|
693
|
-
TOGGLE_FULLSCREEN,
|
|
693
|
+
TOGGLE_FULLSCREEN = 38,
|
|
694
694
|
/**
|
|
695
695
|
* FILLME
|
|
696
696
|
*/
|
|
697
|
-
TOGGLE_MAXIMIZED,
|
|
697
|
+
TOGGLE_MAXIMIZED = 39,
|
|
698
698
|
/**
|
|
699
699
|
* FILLME
|
|
700
700
|
*/
|
|
701
|
-
TOGGLE_TILED_LEFT,
|
|
701
|
+
TOGGLE_TILED_LEFT = 40,
|
|
702
702
|
/**
|
|
703
703
|
* FILLME
|
|
704
704
|
*/
|
|
705
|
-
TOGGLE_TILED_RIGHT,
|
|
705
|
+
TOGGLE_TILED_RIGHT = 41,
|
|
706
706
|
/**
|
|
707
707
|
* FILLME
|
|
708
708
|
*/
|
|
709
|
-
TOGGLE_ABOVE,
|
|
709
|
+
TOGGLE_ABOVE = 42,
|
|
710
710
|
/**
|
|
711
711
|
* FILLME
|
|
712
712
|
*/
|
|
713
|
-
MAXIMIZE,
|
|
713
|
+
MAXIMIZE = 43,
|
|
714
714
|
/**
|
|
715
715
|
* FILLME
|
|
716
716
|
*/
|
|
717
|
-
UNMAXIMIZE,
|
|
717
|
+
UNMAXIMIZE = 44,
|
|
718
718
|
/**
|
|
719
719
|
* FILLME
|
|
720
720
|
*/
|
|
721
|
-
TOGGLE_SHADED,
|
|
721
|
+
TOGGLE_SHADED = 45,
|
|
722
722
|
/**
|
|
723
723
|
* FILLME
|
|
724
724
|
*/
|
|
725
|
-
MINIMIZE,
|
|
725
|
+
MINIMIZE = 46,
|
|
726
726
|
/**
|
|
727
727
|
* FILLME
|
|
728
728
|
*/
|
|
729
|
-
CLOSE,
|
|
729
|
+
CLOSE = 47,
|
|
730
730
|
/**
|
|
731
731
|
* FILLME
|
|
732
732
|
*/
|
|
733
|
-
BEGIN_MOVE,
|
|
733
|
+
BEGIN_MOVE = 48,
|
|
734
734
|
/**
|
|
735
735
|
* FILLME
|
|
736
736
|
*/
|
|
737
|
-
BEGIN_RESIZE,
|
|
737
|
+
BEGIN_RESIZE = 49,
|
|
738
738
|
/**
|
|
739
739
|
* FILLME
|
|
740
740
|
*/
|
|
741
|
-
TOGGLE_ON_ALL_WORKSPACES,
|
|
741
|
+
TOGGLE_ON_ALL_WORKSPACES = 50,
|
|
742
742
|
/**
|
|
743
743
|
* FILLME
|
|
744
744
|
*/
|
|
745
|
-
MOVE_TO_WORKSPACE_1,
|
|
745
|
+
MOVE_TO_WORKSPACE_1 = 51,
|
|
746
746
|
/**
|
|
747
747
|
* FILLME
|
|
748
748
|
*/
|
|
749
|
-
MOVE_TO_WORKSPACE_2,
|
|
749
|
+
MOVE_TO_WORKSPACE_2 = 52,
|
|
750
750
|
/**
|
|
751
751
|
* FILLME
|
|
752
752
|
*/
|
|
753
|
-
MOVE_TO_WORKSPACE_3,
|
|
753
|
+
MOVE_TO_WORKSPACE_3 = 53,
|
|
754
754
|
/**
|
|
755
755
|
* FILLME
|
|
756
756
|
*/
|
|
757
|
-
MOVE_TO_WORKSPACE_4,
|
|
757
|
+
MOVE_TO_WORKSPACE_4 = 54,
|
|
758
758
|
/**
|
|
759
759
|
* FILLME
|
|
760
760
|
*/
|
|
761
|
-
MOVE_TO_WORKSPACE_5,
|
|
761
|
+
MOVE_TO_WORKSPACE_5 = 55,
|
|
762
762
|
/**
|
|
763
763
|
* FILLME
|
|
764
764
|
*/
|
|
765
|
-
MOVE_TO_WORKSPACE_6,
|
|
765
|
+
MOVE_TO_WORKSPACE_6 = 56,
|
|
766
766
|
/**
|
|
767
767
|
* FILLME
|
|
768
768
|
*/
|
|
769
|
-
MOVE_TO_WORKSPACE_7,
|
|
769
|
+
MOVE_TO_WORKSPACE_7 = 57,
|
|
770
770
|
/**
|
|
771
771
|
* FILLME
|
|
772
772
|
*/
|
|
773
|
-
MOVE_TO_WORKSPACE_8,
|
|
773
|
+
MOVE_TO_WORKSPACE_8 = 58,
|
|
774
774
|
/**
|
|
775
775
|
* FILLME
|
|
776
776
|
*/
|
|
777
|
-
MOVE_TO_WORKSPACE_9,
|
|
777
|
+
MOVE_TO_WORKSPACE_9 = 59,
|
|
778
778
|
/**
|
|
779
779
|
* FILLME
|
|
780
780
|
*/
|
|
781
|
-
MOVE_TO_WORKSPACE_10,
|
|
781
|
+
MOVE_TO_WORKSPACE_10 = 60,
|
|
782
782
|
/**
|
|
783
783
|
* FILLME
|
|
784
784
|
*/
|
|
785
|
-
MOVE_TO_WORKSPACE_11,
|
|
785
|
+
MOVE_TO_WORKSPACE_11 = 61,
|
|
786
786
|
/**
|
|
787
787
|
* FILLME
|
|
788
788
|
*/
|
|
789
|
-
MOVE_TO_WORKSPACE_12,
|
|
789
|
+
MOVE_TO_WORKSPACE_12 = 62,
|
|
790
790
|
/**
|
|
791
791
|
* FILLME
|
|
792
792
|
*/
|
|
793
|
-
MOVE_TO_WORKSPACE_LEFT,
|
|
793
|
+
MOVE_TO_WORKSPACE_LEFT = 63,
|
|
794
794
|
/**
|
|
795
795
|
* FILLME
|
|
796
796
|
*/
|
|
797
|
-
MOVE_TO_WORKSPACE_RIGHT,
|
|
797
|
+
MOVE_TO_WORKSPACE_RIGHT = 64,
|
|
798
798
|
/**
|
|
799
799
|
* FILLME
|
|
800
800
|
*/
|
|
801
|
-
MOVE_TO_WORKSPACE_UP,
|
|
801
|
+
MOVE_TO_WORKSPACE_UP = 65,
|
|
802
802
|
/**
|
|
803
803
|
* FILLME
|
|
804
804
|
*/
|
|
805
|
-
MOVE_TO_WORKSPACE_DOWN,
|
|
805
|
+
MOVE_TO_WORKSPACE_DOWN = 66,
|
|
806
806
|
/**
|
|
807
807
|
* FILLME
|
|
808
808
|
*/
|
|
809
|
-
MOVE_TO_WORKSPACE_LAST,
|
|
809
|
+
MOVE_TO_WORKSPACE_LAST = 67,
|
|
810
810
|
/**
|
|
811
811
|
* FILLME
|
|
812
812
|
*/
|
|
813
|
-
MOVE_TO_MONITOR_LEFT,
|
|
813
|
+
MOVE_TO_MONITOR_LEFT = 68,
|
|
814
814
|
/**
|
|
815
815
|
* FILLME
|
|
816
816
|
*/
|
|
817
|
-
MOVE_TO_MONITOR_RIGHT,
|
|
817
|
+
MOVE_TO_MONITOR_RIGHT = 69,
|
|
818
818
|
/**
|
|
819
819
|
* FILLME
|
|
820
820
|
*/
|
|
821
|
-
MOVE_TO_MONITOR_UP,
|
|
821
|
+
MOVE_TO_MONITOR_UP = 70,
|
|
822
822
|
/**
|
|
823
823
|
* FILLME
|
|
824
824
|
*/
|
|
825
|
-
MOVE_TO_MONITOR_DOWN,
|
|
825
|
+
MOVE_TO_MONITOR_DOWN = 71,
|
|
826
826
|
/**
|
|
827
827
|
* FILLME
|
|
828
828
|
*/
|
|
829
|
-
RAISE_OR_LOWER,
|
|
829
|
+
RAISE_OR_LOWER = 72,
|
|
830
830
|
/**
|
|
831
831
|
* FILLME
|
|
832
832
|
*/
|
|
833
|
-
RAISE,
|
|
833
|
+
RAISE = 73,
|
|
834
834
|
/**
|
|
835
835
|
* FILLME
|
|
836
836
|
*/
|
|
837
|
-
LOWER,
|
|
837
|
+
LOWER = 74,
|
|
838
838
|
/**
|
|
839
839
|
* FILLME
|
|
840
840
|
*/
|
|
841
|
-
MAXIMIZE_VERTICALLY,
|
|
841
|
+
MAXIMIZE_VERTICALLY = 75,
|
|
842
842
|
/**
|
|
843
843
|
* FILLME
|
|
844
844
|
*/
|
|
845
|
-
MAXIMIZE_HORIZONTALLY,
|
|
845
|
+
MAXIMIZE_HORIZONTALLY = 76,
|
|
846
846
|
/**
|
|
847
847
|
* FILLME
|
|
848
848
|
*/
|
|
849
|
-
MOVE_TO_CORNER_NW,
|
|
849
|
+
MOVE_TO_CORNER_NW = 77,
|
|
850
850
|
/**
|
|
851
851
|
* FILLME
|
|
852
852
|
*/
|
|
853
|
-
MOVE_TO_CORNER_NE,
|
|
853
|
+
MOVE_TO_CORNER_NE = 78,
|
|
854
854
|
/**
|
|
855
855
|
* FILLME
|
|
856
856
|
*/
|
|
857
|
-
MOVE_TO_CORNER_SW,
|
|
857
|
+
MOVE_TO_CORNER_SW = 79,
|
|
858
858
|
/**
|
|
859
859
|
* FILLME
|
|
860
860
|
*/
|
|
861
|
-
MOVE_TO_CORNER_SE,
|
|
861
|
+
MOVE_TO_CORNER_SE = 80,
|
|
862
862
|
/**
|
|
863
863
|
* FILLME
|
|
864
864
|
*/
|
|
865
|
-
MOVE_TO_SIDE_N,
|
|
865
|
+
MOVE_TO_SIDE_N = 81,
|
|
866
866
|
/**
|
|
867
867
|
* FILLME
|
|
868
868
|
*/
|
|
869
|
-
MOVE_TO_SIDE_S,
|
|
869
|
+
MOVE_TO_SIDE_S = 82,
|
|
870
870
|
/**
|
|
871
871
|
* FILLME
|
|
872
872
|
*/
|
|
873
|
-
MOVE_TO_SIDE_E,
|
|
873
|
+
MOVE_TO_SIDE_E = 83,
|
|
874
874
|
/**
|
|
875
875
|
* FILLME
|
|
876
876
|
*/
|
|
877
|
-
MOVE_TO_SIDE_W,
|
|
877
|
+
MOVE_TO_SIDE_W = 84,
|
|
878
878
|
/**
|
|
879
879
|
* FILLME
|
|
880
880
|
*/
|
|
881
|
-
MOVE_TO_CENTER,
|
|
881
|
+
MOVE_TO_CENTER = 85,
|
|
882
882
|
/**
|
|
883
883
|
* FILLME
|
|
884
884
|
*/
|
|
885
|
-
OVERLAY_KEY,
|
|
885
|
+
OVERLAY_KEY = 86,
|
|
886
886
|
/**
|
|
887
887
|
* FILLME
|
|
888
888
|
*/
|
|
889
|
-
LOCATE_POINTER_KEY,
|
|
890
|
-
ISO_NEXT_GROUP,
|
|
889
|
+
LOCATE_POINTER_KEY = 87,
|
|
890
|
+
ISO_NEXT_GROUP = 88,
|
|
891
891
|
/**
|
|
892
892
|
* FILLME
|
|
893
893
|
*/
|
|
894
|
-
ALWAYS_ON_TOP,
|
|
895
|
-
SWITCH_MONITOR,
|
|
896
|
-
ROTATE_MONITOR,
|
|
894
|
+
ALWAYS_ON_TOP = 89,
|
|
895
|
+
SWITCH_MONITOR = 90,
|
|
896
|
+
ROTATE_MONITOR = 91,
|
|
897
897
|
/**
|
|
898
898
|
* FILLME
|
|
899
899
|
*/
|
|
900
|
-
LAST,
|
|
900
|
+
LAST = 92,
|
|
901
901
|
}
|
|
902
902
|
|
|
903
903
|
|
|
@@ -916,28 +916,28 @@ export namespace Meta {
|
|
|
916
916
|
* call in a resize processing phase that is done
|
|
917
917
|
* before GTK+ repainting (including window borders) is done.
|
|
918
918
|
*/
|
|
919
|
-
RESIZE,
|
|
919
|
+
RESIZE = 0,
|
|
920
920
|
/**
|
|
921
921
|
* used by Mutter to compute which windows should be mapped
|
|
922
922
|
*/
|
|
923
|
-
CALC_SHOWING,
|
|
923
|
+
CALC_SHOWING = 1,
|
|
924
924
|
/**
|
|
925
925
|
* used by Mutter to see if there's a fullscreen window
|
|
926
926
|
*/
|
|
927
|
-
CHECK_FULLSCREEN,
|
|
927
|
+
CHECK_FULLSCREEN = 2,
|
|
928
928
|
/**
|
|
929
929
|
* used by Mutter to send it's idea of the stacking order to the server
|
|
930
930
|
*/
|
|
931
|
-
SYNC_STACK,
|
|
931
|
+
SYNC_STACK = 3,
|
|
932
932
|
/**
|
|
933
933
|
* call before the stage is redrawn
|
|
934
934
|
*/
|
|
935
|
-
BEFORE_REDRAW,
|
|
935
|
+
BEFORE_REDRAW = 4,
|
|
936
936
|
/**
|
|
937
937
|
* call at a very low priority (can be blocked
|
|
938
938
|
* by running animations or redrawing applications)
|
|
939
939
|
*/
|
|
940
|
-
IDLE,
|
|
940
|
+
IDLE = 5,
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
|
|
@@ -952,8 +952,8 @@ export namespace Meta {
|
|
|
952
952
|
* @gir-type Enum
|
|
953
953
|
*/
|
|
954
954
|
enum LocaleDirection {
|
|
955
|
-
LTR,
|
|
956
|
-
RTL,
|
|
955
|
+
LTR = 0,
|
|
956
|
+
RTL = 1,
|
|
957
957
|
}
|
|
958
958
|
|
|
959
959
|
|
|
@@ -968,11 +968,11 @@ export namespace Meta {
|
|
|
968
968
|
* @gir-type Enum
|
|
969
969
|
*/
|
|
970
970
|
enum MonitorSwitchConfigType {
|
|
971
|
-
ALL_MIRROR,
|
|
972
|
-
ALL_LINEAR,
|
|
973
|
-
EXTERNAL,
|
|
974
|
-
BUILTIN,
|
|
975
|
-
UNKNOWN,
|
|
971
|
+
ALL_MIRROR = 0,
|
|
972
|
+
ALL_LINEAR = 1,
|
|
973
|
+
EXTERNAL = 2,
|
|
974
|
+
BUILTIN = 3,
|
|
975
|
+
UNKNOWN = 4,
|
|
976
976
|
}
|
|
977
977
|
|
|
978
978
|
|
|
@@ -990,35 +990,35 @@ export namespace Meta {
|
|
|
990
990
|
/**
|
|
991
991
|
* Upwards motion
|
|
992
992
|
*/
|
|
993
|
-
UP,
|
|
993
|
+
UP = -1,
|
|
994
994
|
/**
|
|
995
995
|
* Downwards motion
|
|
996
996
|
*/
|
|
997
|
-
DOWN,
|
|
997
|
+
DOWN = -2,
|
|
998
998
|
/**
|
|
999
999
|
* Motion to the left
|
|
1000
1000
|
*/
|
|
1001
|
-
LEFT,
|
|
1001
|
+
LEFT = -3,
|
|
1002
1002
|
/**
|
|
1003
1003
|
* Motion to the right
|
|
1004
1004
|
*/
|
|
1005
|
-
RIGHT,
|
|
1005
|
+
RIGHT = -4,
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Motion up and to the left
|
|
1008
1008
|
*/
|
|
1009
|
-
UP_LEFT,
|
|
1009
|
+
UP_LEFT = -5,
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Motion up and to the right
|
|
1012
1012
|
*/
|
|
1013
|
-
UP_RIGHT,
|
|
1013
|
+
UP_RIGHT = -6,
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Motion down and to the left
|
|
1016
1016
|
*/
|
|
1017
|
-
DOWN_LEFT,
|
|
1017
|
+
DOWN_LEFT = -7,
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Motion down and to the right
|
|
1020
1020
|
*/
|
|
1021
|
-
DOWN_RIGHT,
|
|
1021
|
+
DOWN_RIGHT = -8,
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
|
|
@@ -1033,9 +1033,9 @@ export namespace Meta {
|
|
|
1033
1033
|
* @gir-type Enum
|
|
1034
1034
|
*/
|
|
1035
1035
|
enum PadActionType {
|
|
1036
|
-
BUTTON,
|
|
1037
|
-
RING,
|
|
1038
|
-
STRIP,
|
|
1036
|
+
BUTTON = 0,
|
|
1037
|
+
RING = 1,
|
|
1038
|
+
STRIP = 2,
|
|
1039
1039
|
}
|
|
1040
1040
|
|
|
1041
1041
|
|
|
@@ -1053,140 +1053,140 @@ export namespace Meta {
|
|
|
1053
1053
|
/**
|
|
1054
1054
|
* mouse button modifiers
|
|
1055
1055
|
*/
|
|
1056
|
-
MOUSE_BUTTON_MODS,
|
|
1056
|
+
MOUSE_BUTTON_MODS = 0,
|
|
1057
1057
|
/**
|
|
1058
1058
|
* focus mode
|
|
1059
1059
|
*/
|
|
1060
|
-
FOCUS_MODE,
|
|
1060
|
+
FOCUS_MODE = 1,
|
|
1061
1061
|
/**
|
|
1062
1062
|
* focus new windows
|
|
1063
1063
|
*/
|
|
1064
|
-
FOCUS_NEW_WINDOWS,
|
|
1064
|
+
FOCUS_NEW_WINDOWS = 2,
|
|
1065
1065
|
/**
|
|
1066
1066
|
* attach modal dialogs
|
|
1067
1067
|
*/
|
|
1068
|
-
ATTACH_MODAL_DIALOGS,
|
|
1068
|
+
ATTACH_MODAL_DIALOGS = 3,
|
|
1069
1069
|
/**
|
|
1070
1070
|
* raise on click
|
|
1071
1071
|
*/
|
|
1072
|
-
RAISE_ON_CLICK,
|
|
1072
|
+
RAISE_ON_CLICK = 4,
|
|
1073
1073
|
/**
|
|
1074
1074
|
* action double click titlebar
|
|
1075
1075
|
*/
|
|
1076
|
-
ACTION_DOUBLE_CLICK_TITLEBAR,
|
|
1076
|
+
ACTION_DOUBLE_CLICK_TITLEBAR = 5,
|
|
1077
1077
|
/**
|
|
1078
1078
|
* action middle click titlebar
|
|
1079
1079
|
*/
|
|
1080
|
-
ACTION_MIDDLE_CLICK_TITLEBAR,
|
|
1080
|
+
ACTION_MIDDLE_CLICK_TITLEBAR = 6,
|
|
1081
1081
|
/**
|
|
1082
1082
|
* action right click titlebar
|
|
1083
1083
|
*/
|
|
1084
|
-
ACTION_RIGHT_CLICK_TITLEBAR,
|
|
1084
|
+
ACTION_RIGHT_CLICK_TITLEBAR = 7,
|
|
1085
1085
|
/**
|
|
1086
1086
|
* auto-raise
|
|
1087
1087
|
*/
|
|
1088
|
-
AUTO_RAISE,
|
|
1088
|
+
AUTO_RAISE = 8,
|
|
1089
1089
|
/**
|
|
1090
1090
|
* auto-raise delay
|
|
1091
1091
|
*/
|
|
1092
|
-
AUTO_RAISE_DELAY,
|
|
1092
|
+
AUTO_RAISE_DELAY = 9,
|
|
1093
1093
|
/**
|
|
1094
1094
|
* focus change on pointer rest
|
|
1095
1095
|
*/
|
|
1096
|
-
FOCUS_CHANGE_ON_POINTER_REST,
|
|
1096
|
+
FOCUS_CHANGE_ON_POINTER_REST = 10,
|
|
1097
1097
|
/**
|
|
1098
1098
|
* title-bar font
|
|
1099
1099
|
*/
|
|
1100
|
-
TITLEBAR_FONT,
|
|
1100
|
+
TITLEBAR_FONT = 11,
|
|
1101
1101
|
/**
|
|
1102
1102
|
* number of workspaces
|
|
1103
1103
|
*/
|
|
1104
|
-
NUM_WORKSPACES,
|
|
1104
|
+
NUM_WORKSPACES = 12,
|
|
1105
1105
|
/**
|
|
1106
1106
|
* dynamic workspaces
|
|
1107
1107
|
*/
|
|
1108
|
-
DYNAMIC_WORKSPACES,
|
|
1108
|
+
DYNAMIC_WORKSPACES = 13,
|
|
1109
1109
|
/**
|
|
1110
1110
|
* keybindings
|
|
1111
1111
|
*/
|
|
1112
|
-
KEYBINDINGS,
|
|
1112
|
+
KEYBINDINGS = 14,
|
|
1113
1113
|
/**
|
|
1114
1114
|
* disable workarounds
|
|
1115
1115
|
*/
|
|
1116
|
-
DISABLE_WORKAROUNDS,
|
|
1116
|
+
DISABLE_WORKAROUNDS = 15,
|
|
1117
1117
|
/**
|
|
1118
1118
|
* button layout
|
|
1119
1119
|
*/
|
|
1120
|
-
BUTTON_LAYOUT,
|
|
1120
|
+
BUTTON_LAYOUT = 16,
|
|
1121
1121
|
/**
|
|
1122
1122
|
* workspace names
|
|
1123
1123
|
*/
|
|
1124
|
-
WORKSPACE_NAMES,
|
|
1124
|
+
WORKSPACE_NAMES = 17,
|
|
1125
1125
|
/**
|
|
1126
1126
|
* visual bell
|
|
1127
1127
|
*/
|
|
1128
|
-
VISUAL_BELL,
|
|
1128
|
+
VISUAL_BELL = 18,
|
|
1129
1129
|
/**
|
|
1130
1130
|
* audible bell
|
|
1131
1131
|
*/
|
|
1132
|
-
AUDIBLE_BELL,
|
|
1132
|
+
AUDIBLE_BELL = 19,
|
|
1133
1133
|
/**
|
|
1134
1134
|
* visual bell type
|
|
1135
1135
|
*/
|
|
1136
|
-
VISUAL_BELL_TYPE,
|
|
1136
|
+
VISUAL_BELL_TYPE = 20,
|
|
1137
1137
|
/**
|
|
1138
1138
|
* GNOME accessibility
|
|
1139
1139
|
*/
|
|
1140
|
-
GNOME_ACCESSIBILITY,
|
|
1140
|
+
GNOME_ACCESSIBILITY = 21,
|
|
1141
1141
|
/**
|
|
1142
1142
|
* GNOME animations
|
|
1143
1143
|
*/
|
|
1144
|
-
GNOME_ANIMATIONS,
|
|
1144
|
+
GNOME_ANIMATIONS = 22,
|
|
1145
1145
|
/**
|
|
1146
1146
|
* cursor theme
|
|
1147
1147
|
*/
|
|
1148
|
-
CURSOR_THEME,
|
|
1148
|
+
CURSOR_THEME = 23,
|
|
1149
1149
|
/**
|
|
1150
1150
|
* cursor size
|
|
1151
1151
|
*/
|
|
1152
|
-
CURSOR_SIZE,
|
|
1152
|
+
CURSOR_SIZE = 24,
|
|
1153
1153
|
/**
|
|
1154
1154
|
* resize with right button
|
|
1155
1155
|
*/
|
|
1156
|
-
RESIZE_WITH_RIGHT_BUTTON,
|
|
1156
|
+
RESIZE_WITH_RIGHT_BUTTON = 25,
|
|
1157
1157
|
/**
|
|
1158
1158
|
* edge tiling
|
|
1159
1159
|
*/
|
|
1160
|
-
EDGE_TILING,
|
|
1160
|
+
EDGE_TILING = 26,
|
|
1161
1161
|
/**
|
|
1162
1162
|
* force fullscreen
|
|
1163
1163
|
*/
|
|
1164
|
-
FORCE_FULLSCREEN,
|
|
1164
|
+
FORCE_FULLSCREEN = 27,
|
|
1165
1165
|
/**
|
|
1166
1166
|
* workspaces only on primary
|
|
1167
1167
|
*/
|
|
1168
|
-
WORKSPACES_ONLY_ON_PRIMARY,
|
|
1168
|
+
WORKSPACES_ONLY_ON_PRIMARY = 28,
|
|
1169
1169
|
/**
|
|
1170
1170
|
* draggable border width
|
|
1171
1171
|
*/
|
|
1172
|
-
DRAGGABLE_BORDER_WIDTH,
|
|
1172
|
+
DRAGGABLE_BORDER_WIDTH = 29,
|
|
1173
1173
|
/**
|
|
1174
1174
|
* auto-maximize
|
|
1175
1175
|
*/
|
|
1176
|
-
AUTO_MAXIMIZE,
|
|
1176
|
+
AUTO_MAXIMIZE = 30,
|
|
1177
1177
|
/**
|
|
1178
1178
|
* center new windows
|
|
1179
1179
|
*/
|
|
1180
|
-
CENTER_NEW_WINDOWS,
|
|
1180
|
+
CENTER_NEW_WINDOWS = 31,
|
|
1181
1181
|
/**
|
|
1182
1182
|
* drag threshold
|
|
1183
1183
|
*/
|
|
1184
|
-
DRAG_THRESHOLD,
|
|
1184
|
+
DRAG_THRESHOLD = 32,
|
|
1185
1185
|
/**
|
|
1186
1186
|
* show pointer location
|
|
1187
1187
|
*/
|
|
1188
|
-
LOCATE_POINTER,
|
|
1189
|
-
CHECK_ALIVE_TIMEOUT,
|
|
1188
|
+
LOCATE_POINTER = 33,
|
|
1189
|
+
CHECK_ALIVE_TIMEOUT = 34,
|
|
1190
1190
|
}
|
|
1191
1191
|
|
|
1192
1192
|
|
|
@@ -1201,10 +1201,10 @@ export namespace Meta {
|
|
|
1201
1201
|
* @gir-type Enum
|
|
1202
1202
|
*/
|
|
1203
1203
|
enum SelectionType {
|
|
1204
|
-
SELECTION_PRIMARY,
|
|
1205
|
-
SELECTION_CLIPBOARD,
|
|
1206
|
-
SELECTION_DND,
|
|
1207
|
-
N_SELECTION_TYPES,
|
|
1204
|
+
SELECTION_PRIMARY = 0,
|
|
1205
|
+
SELECTION_CLIPBOARD = 1,
|
|
1206
|
+
SELECTION_DND = 2,
|
|
1207
|
+
N_SELECTION_TYPES = 3,
|
|
1208
1208
|
}
|
|
1209
1209
|
|
|
1210
1210
|
|
|
@@ -1219,9 +1219,9 @@ export namespace Meta {
|
|
|
1219
1219
|
* @gir-type Enum
|
|
1220
1220
|
*/
|
|
1221
1221
|
enum ShadowMode {
|
|
1222
|
-
AUTO,
|
|
1223
|
-
FORCED_OFF,
|
|
1224
|
-
FORCED_ON,
|
|
1222
|
+
AUTO = 0,
|
|
1223
|
+
FORCED_OFF = 1,
|
|
1224
|
+
FORCED_ON = 2,
|
|
1225
1225
|
}
|
|
1226
1226
|
|
|
1227
1227
|
|
|
@@ -1239,19 +1239,19 @@ export namespace Meta {
|
|
|
1239
1239
|
/**
|
|
1240
1240
|
* Left side
|
|
1241
1241
|
*/
|
|
1242
|
-
LEFT,
|
|
1242
|
+
LEFT = 1,
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Right side
|
|
1245
1245
|
*/
|
|
1246
|
-
RIGHT,
|
|
1246
|
+
RIGHT = 2,
|
|
1247
1247
|
/**
|
|
1248
1248
|
* Top side
|
|
1249
1249
|
*/
|
|
1250
|
-
TOP,
|
|
1250
|
+
TOP = 4,
|
|
1251
1251
|
/**
|
|
1252
1252
|
* Bottom side
|
|
1253
1253
|
*/
|
|
1254
|
-
BOTTOM,
|
|
1254
|
+
BOTTOM = 8,
|
|
1255
1255
|
}
|
|
1256
1256
|
|
|
1257
1257
|
|
|
@@ -1266,10 +1266,10 @@ export namespace Meta {
|
|
|
1266
1266
|
* @gir-type Enum
|
|
1267
1267
|
*/
|
|
1268
1268
|
enum SizeChange {
|
|
1269
|
-
MAXIMIZE,
|
|
1270
|
-
UNMAXIMIZE,
|
|
1271
|
-
FULLSCREEN,
|
|
1272
|
-
UNFULLSCREEN,
|
|
1269
|
+
MAXIMIZE = 0,
|
|
1270
|
+
UNMAXIMIZE = 1,
|
|
1271
|
+
FULLSCREEN = 2,
|
|
1272
|
+
UNFULLSCREEN = 3,
|
|
1273
1273
|
}
|
|
1274
1274
|
|
|
1275
1275
|
|
|
@@ -1289,31 +1289,31 @@ export namespace Meta {
|
|
|
1289
1289
|
/**
|
|
1290
1290
|
* Desktop layer
|
|
1291
1291
|
*/
|
|
1292
|
-
DESKTOP,
|
|
1292
|
+
DESKTOP = 0,
|
|
1293
1293
|
/**
|
|
1294
1294
|
* Bottom layer
|
|
1295
1295
|
*/
|
|
1296
|
-
BOTTOM,
|
|
1296
|
+
BOTTOM = 1,
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Normal layer
|
|
1299
1299
|
*/
|
|
1300
|
-
NORMAL,
|
|
1300
|
+
NORMAL = 2,
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Top layer
|
|
1303
1303
|
*/
|
|
1304
|
-
TOP,
|
|
1304
|
+
TOP = 4,
|
|
1305
1305
|
/**
|
|
1306
1306
|
* Dock layer
|
|
1307
1307
|
*/
|
|
1308
|
-
DOCK,
|
|
1308
|
+
DOCK = 4,
|
|
1309
1309
|
/**
|
|
1310
1310
|
* Override-redirect layer
|
|
1311
1311
|
*/
|
|
1312
|
-
OVERRIDE_REDIRECT,
|
|
1312
|
+
OVERRIDE_REDIRECT = 7,
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Marks the end of the {@link Meta.StackLayer} enumeration
|
|
1315
1315
|
*/
|
|
1316
|
-
LAST,
|
|
1316
|
+
LAST = 8,
|
|
1317
1317
|
}
|
|
1318
1318
|
|
|
1319
1319
|
|
|
@@ -1331,19 +1331,19 @@ export namespace Meta {
|
|
|
1331
1331
|
/**
|
|
1332
1332
|
* Normal windows
|
|
1333
1333
|
*/
|
|
1334
|
-
NORMAL,
|
|
1334
|
+
NORMAL = 0,
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Dock windows
|
|
1337
1337
|
*/
|
|
1338
|
-
DOCKS,
|
|
1338
|
+
DOCKS = 1,
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Groups
|
|
1341
1341
|
*/
|
|
1342
|
-
GROUP,
|
|
1342
|
+
GROUP = 2,
|
|
1343
1343
|
/**
|
|
1344
1344
|
* All windows
|
|
1345
1345
|
*/
|
|
1346
|
-
NORMAL_ALL,
|
|
1346
|
+
NORMAL_ALL = 3,
|
|
1347
1347
|
}
|
|
1348
1348
|
|
|
1349
1349
|
|
|
@@ -1361,11 +1361,11 @@ export namespace Meta {
|
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Show icon (Alt-Tab mode)
|
|
1363
1363
|
*/
|
|
1364
|
-
ICON,
|
|
1364
|
+
ICON = 0,
|
|
1365
1365
|
/**
|
|
1366
1366
|
* Show instantly (Alt-Esc mode)
|
|
1367
1367
|
*/
|
|
1368
|
-
INSTANTLY,
|
|
1368
|
+
INSTANTLY = 1,
|
|
1369
1369
|
}
|
|
1370
1370
|
|
|
1371
1371
|
|
|
@@ -1383,11 +1383,11 @@ export namespace Meta {
|
|
|
1383
1383
|
/**
|
|
1384
1384
|
* A Wayland based window
|
|
1385
1385
|
*/
|
|
1386
|
-
WAYLAND,
|
|
1386
|
+
WAYLAND = 0,
|
|
1387
1387
|
/**
|
|
1388
1388
|
* An X11 based window
|
|
1389
1389
|
*/
|
|
1390
|
-
X11,
|
|
1390
|
+
X11 = 1,
|
|
1391
1391
|
}
|
|
1392
1392
|
|
|
1393
1393
|
|
|
@@ -1406,11 +1406,11 @@ export namespace Meta {
|
|
|
1406
1406
|
/**
|
|
1407
1407
|
* the window manager menu
|
|
1408
1408
|
*/
|
|
1409
|
-
WM,
|
|
1409
|
+
WM = 0,
|
|
1410
1410
|
/**
|
|
1411
1411
|
* the (fallback) app menu
|
|
1412
1412
|
*/
|
|
1413
|
-
APP,
|
|
1413
|
+
APP = 1,
|
|
1414
1414
|
}
|
|
1415
1415
|
|
|
1416
1416
|
|
|
@@ -1428,92 +1428,128 @@ export namespace Meta {
|
|
|
1428
1428
|
/**
|
|
1429
1429
|
* Normal
|
|
1430
1430
|
*/
|
|
1431
|
-
NORMAL,
|
|
1431
|
+
NORMAL = 0,
|
|
1432
1432
|
/**
|
|
1433
1433
|
* Desktop
|
|
1434
1434
|
*/
|
|
1435
|
-
DESKTOP,
|
|
1435
|
+
DESKTOP = 1,
|
|
1436
1436
|
/**
|
|
1437
1437
|
* Dock
|
|
1438
1438
|
*/
|
|
1439
|
-
DOCK,
|
|
1439
|
+
DOCK = 2,
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Dialog
|
|
1442
1442
|
*/
|
|
1443
|
-
DIALOG,
|
|
1443
|
+
DIALOG = 3,
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Modal dialog
|
|
1446
1446
|
*/
|
|
1447
|
-
MODAL_DIALOG,
|
|
1447
|
+
MODAL_DIALOG = 4,
|
|
1448
1448
|
/**
|
|
1449
1449
|
* Toolbar
|
|
1450
1450
|
*/
|
|
1451
|
-
TOOLBAR,
|
|
1451
|
+
TOOLBAR = 5,
|
|
1452
1452
|
/**
|
|
1453
1453
|
* Menu
|
|
1454
1454
|
*/
|
|
1455
|
-
MENU,
|
|
1455
|
+
MENU = 6,
|
|
1456
1456
|
/**
|
|
1457
1457
|
* Utility
|
|
1458
1458
|
*/
|
|
1459
|
-
UTILITY,
|
|
1459
|
+
UTILITY = 7,
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Splashcreen
|
|
1462
1462
|
*/
|
|
1463
|
-
SPLASHSCREEN,
|
|
1463
|
+
SPLASHSCREEN = 8,
|
|
1464
1464
|
/**
|
|
1465
1465
|
* Dropdown menu
|
|
1466
1466
|
*/
|
|
1467
|
-
DROPDOWN_MENU,
|
|
1467
|
+
DROPDOWN_MENU = 9,
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Popup menu
|
|
1470
1470
|
*/
|
|
1471
|
-
POPUP_MENU,
|
|
1471
|
+
POPUP_MENU = 10,
|
|
1472
1472
|
/**
|
|
1473
1473
|
* Tooltip
|
|
1474
1474
|
*/
|
|
1475
|
-
TOOLTIP,
|
|
1475
|
+
TOOLTIP = 11,
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Notification
|
|
1478
1478
|
*/
|
|
1479
|
-
NOTIFICATION,
|
|
1479
|
+
NOTIFICATION = 12,
|
|
1480
1480
|
/**
|
|
1481
1481
|
* Combobox
|
|
1482
1482
|
*/
|
|
1483
|
-
COMBO,
|
|
1483
|
+
COMBO = 13,
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Drag and drop
|
|
1486
1486
|
*/
|
|
1487
|
-
DND,
|
|
1487
|
+
DND = 14,
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Other override-redirect window type
|
|
1490
1490
|
*/
|
|
1491
|
-
OVERRIDE_OTHER,
|
|
1491
|
+
OVERRIDE_OTHER = 15,
|
|
1492
1492
|
}
|
|
1493
1493
|
|
|
1494
1494
|
|
|
1495
|
+
/**
|
|
1496
|
+
* @default 0
|
|
1497
|
+
*/
|
|
1495
1498
|
const CURRENT_TIME: number;
|
|
1496
1499
|
|
|
1500
|
+
/**
|
|
1501
|
+
* @default window
|
|
1502
|
+
*/
|
|
1497
1503
|
const DEFAULT_ICON_NAME: string;
|
|
1498
1504
|
|
|
1505
|
+
/**
|
|
1506
|
+
* @default 96
|
|
1507
|
+
*/
|
|
1499
1508
|
const ICON_HEIGHT: number;
|
|
1500
1509
|
|
|
1510
|
+
/**
|
|
1511
|
+
* @default 96
|
|
1512
|
+
*/
|
|
1501
1513
|
const ICON_WIDTH: number;
|
|
1502
1514
|
|
|
1515
|
+
/**
|
|
1516
|
+
* @default 16
|
|
1517
|
+
*/
|
|
1503
1518
|
const MINI_ICON_HEIGHT: number;
|
|
1504
1519
|
|
|
1520
|
+
/**
|
|
1521
|
+
* @default 16
|
|
1522
|
+
*/
|
|
1505
1523
|
const MINI_ICON_WIDTH: number;
|
|
1506
1524
|
|
|
1525
|
+
/**
|
|
1526
|
+
* @default 40
|
|
1527
|
+
*/
|
|
1507
1528
|
const PRIORITY_BEFORE_REDRAW: number;
|
|
1508
1529
|
|
|
1530
|
+
/**
|
|
1531
|
+
* @default 10
|
|
1532
|
+
*/
|
|
1509
1533
|
const PRIORITY_PREFS_NOTIFY: number;
|
|
1510
1534
|
|
|
1535
|
+
/**
|
|
1536
|
+
* @default 50
|
|
1537
|
+
*/
|
|
1511
1538
|
const PRIORITY_REDRAW: number;
|
|
1512
1539
|
|
|
1540
|
+
/**
|
|
1541
|
+
* @default 15
|
|
1542
|
+
*/
|
|
1513
1543
|
const PRIORITY_RESIZE: number;
|
|
1514
1544
|
|
|
1545
|
+
/**
|
|
1546
|
+
* @default 3
|
|
1547
|
+
*/
|
|
1515
1548
|
const VIRTUAL_CORE_KEYBOARD_ID: number;
|
|
1516
1549
|
|
|
1550
|
+
/**
|
|
1551
|
+
* @default 2
|
|
1552
|
+
*/
|
|
1517
1553
|
const VIRTUAL_CORE_POINTER_ID: number;
|
|
1518
1554
|
|
|
1519
1555
|
/**
|
|
@@ -1892,6 +1928,9 @@ export namespace Meta {
|
|
|
1892
1928
|
*/
|
|
1893
1929
|
function x11_error_trap_push(x11_display: X11Display): void;
|
|
1894
1930
|
|
|
1931
|
+
/**
|
|
1932
|
+
* @throws GLib.Error
|
|
1933
|
+
*/
|
|
1895
1934
|
function x11_init_gdk_display(): boolean;
|
|
1896
1935
|
|
|
1897
1936
|
/**
|
|
@@ -1936,19 +1975,19 @@ export namespace Meta {
|
|
|
1936
1975
|
/**
|
|
1937
1976
|
* Positive direction in the X axis
|
|
1938
1977
|
*/
|
|
1939
|
-
POSITIVE_X,
|
|
1978
|
+
POSITIVE_X = 1,
|
|
1940
1979
|
/**
|
|
1941
1980
|
* Positive direction in the Y axis
|
|
1942
1981
|
*/
|
|
1943
|
-
POSITIVE_Y,
|
|
1982
|
+
POSITIVE_Y = 2,
|
|
1944
1983
|
/**
|
|
1945
1984
|
* Negative direction in the X axis
|
|
1946
1985
|
*/
|
|
1947
|
-
NEGATIVE_X,
|
|
1986
|
+
NEGATIVE_X = 4,
|
|
1948
1987
|
/**
|
|
1949
1988
|
* Negative direction in the Y axis
|
|
1950
1989
|
*/
|
|
1951
|
-
NEGATIVE_Y,
|
|
1990
|
+
NEGATIVE_Y = 8,
|
|
1952
1991
|
}
|
|
1953
1992
|
|
|
1954
1993
|
|
|
@@ -1966,11 +2005,11 @@ export namespace Meta {
|
|
|
1966
2005
|
/**
|
|
1967
2006
|
* default
|
|
1968
2007
|
*/
|
|
1969
|
-
NONE,
|
|
2008
|
+
NONE = 0,
|
|
1970
2009
|
/**
|
|
1971
2010
|
* paint opaque regions
|
|
1972
2011
|
*/
|
|
1973
|
-
OPAQUE_REGION,
|
|
2012
|
+
OPAQUE_REGION = 1,
|
|
1974
2013
|
}
|
|
1975
2014
|
|
|
1976
2015
|
|
|
@@ -1988,97 +2027,97 @@ export namespace Meta {
|
|
|
1988
2027
|
/**
|
|
1989
2028
|
* verbose logging
|
|
1990
2029
|
*/
|
|
1991
|
-
VERBOSE,
|
|
2030
|
+
VERBOSE = -1,
|
|
1992
2031
|
/**
|
|
1993
2032
|
* focus
|
|
1994
2033
|
*/
|
|
1995
|
-
FOCUS,
|
|
2034
|
+
FOCUS = 1,
|
|
1996
2035
|
/**
|
|
1997
2036
|
* workarea
|
|
1998
2037
|
*/
|
|
1999
|
-
WORKAREA,
|
|
2038
|
+
WORKAREA = 2,
|
|
2000
2039
|
/**
|
|
2001
2040
|
* stack
|
|
2002
2041
|
*/
|
|
2003
|
-
STACK,
|
|
2042
|
+
STACK = 4,
|
|
2004
2043
|
/**
|
|
2005
2044
|
* session management
|
|
2006
2045
|
*/
|
|
2007
|
-
SM,
|
|
2046
|
+
SM = 8,
|
|
2008
2047
|
/**
|
|
2009
2048
|
* events
|
|
2010
2049
|
*/
|
|
2011
|
-
EVENTS,
|
|
2050
|
+
EVENTS = 16,
|
|
2012
2051
|
/**
|
|
2013
2052
|
* window state
|
|
2014
2053
|
*/
|
|
2015
|
-
WINDOW_STATE,
|
|
2054
|
+
WINDOW_STATE = 32,
|
|
2016
2055
|
/**
|
|
2017
2056
|
* window operations
|
|
2018
2057
|
*/
|
|
2019
|
-
WINDOW_OPS,
|
|
2058
|
+
WINDOW_OPS = 64,
|
|
2020
2059
|
/**
|
|
2021
2060
|
* geometry
|
|
2022
2061
|
*/
|
|
2023
|
-
GEOMETRY,
|
|
2062
|
+
GEOMETRY = 128,
|
|
2024
2063
|
/**
|
|
2025
2064
|
* window placement
|
|
2026
2065
|
*/
|
|
2027
|
-
PLACEMENT,
|
|
2066
|
+
PLACEMENT = 256,
|
|
2028
2067
|
/**
|
|
2029
2068
|
* ping
|
|
2030
2069
|
*/
|
|
2031
|
-
PING,
|
|
2070
|
+
PING = 512,
|
|
2032
2071
|
/**
|
|
2033
2072
|
* keybindings
|
|
2034
2073
|
*/
|
|
2035
|
-
KEYBINDINGS,
|
|
2074
|
+
KEYBINDINGS = 1024,
|
|
2036
2075
|
/**
|
|
2037
2076
|
* sync
|
|
2038
2077
|
*/
|
|
2039
|
-
SYNC,
|
|
2078
|
+
SYNC = 2048,
|
|
2040
2079
|
/**
|
|
2041
2080
|
* startup
|
|
2042
2081
|
*/
|
|
2043
|
-
STARTUP,
|
|
2082
|
+
STARTUP = 4096,
|
|
2044
2083
|
/**
|
|
2045
2084
|
* preferences
|
|
2046
2085
|
*/
|
|
2047
|
-
PREFS,
|
|
2086
|
+
PREFS = 8192,
|
|
2048
2087
|
/**
|
|
2049
2088
|
* groups
|
|
2050
2089
|
*/
|
|
2051
|
-
GROUPS,
|
|
2090
|
+
GROUPS = 16384,
|
|
2052
2091
|
/**
|
|
2053
2092
|
* resizing
|
|
2054
2093
|
*/
|
|
2055
|
-
RESIZING,
|
|
2094
|
+
RESIZING = 32768,
|
|
2056
2095
|
/**
|
|
2057
2096
|
* shapes
|
|
2058
2097
|
*/
|
|
2059
|
-
SHAPES,
|
|
2098
|
+
SHAPES = 65536,
|
|
2060
2099
|
/**
|
|
2061
2100
|
* edge resistance
|
|
2062
2101
|
*/
|
|
2063
|
-
EDGE_RESISTANCE,
|
|
2064
|
-
DBUS,
|
|
2065
|
-
INPUT,
|
|
2102
|
+
EDGE_RESISTANCE = 131072,
|
|
2103
|
+
DBUS = 262144,
|
|
2104
|
+
INPUT = 524288,
|
|
2066
2105
|
/**
|
|
2067
2106
|
* Wayland
|
|
2068
2107
|
*/
|
|
2069
|
-
WAYLAND,
|
|
2108
|
+
WAYLAND = 1048576,
|
|
2070
2109
|
/**
|
|
2071
2110
|
* kernel mode setting
|
|
2072
2111
|
*/
|
|
2073
|
-
KMS,
|
|
2112
|
+
KMS = 2097152,
|
|
2074
2113
|
/**
|
|
2075
2114
|
* screencasting
|
|
2076
2115
|
*/
|
|
2077
|
-
SCREEN_CAST,
|
|
2116
|
+
SCREEN_CAST = 4194304,
|
|
2078
2117
|
/**
|
|
2079
2118
|
* remote desktop
|
|
2080
2119
|
*/
|
|
2081
|
-
REMOTE_DESKTOP,
|
|
2120
|
+
REMOTE_DESKTOP = 8388608,
|
|
2082
2121
|
}
|
|
2083
2122
|
|
|
2084
2123
|
|
|
@@ -2096,35 +2135,35 @@ export namespace Meta {
|
|
|
2096
2135
|
/**
|
|
2097
2136
|
* Left
|
|
2098
2137
|
*/
|
|
2099
|
-
LEFT,
|
|
2138
|
+
LEFT = 1,
|
|
2100
2139
|
/**
|
|
2101
2140
|
* Right
|
|
2102
2141
|
*/
|
|
2103
|
-
RIGHT,
|
|
2142
|
+
RIGHT = 2,
|
|
2104
2143
|
/**
|
|
2105
2144
|
* Top
|
|
2106
2145
|
*/
|
|
2107
|
-
TOP,
|
|
2146
|
+
TOP = 4,
|
|
2108
2147
|
/**
|
|
2109
2148
|
* Bottom
|
|
2110
2149
|
*/
|
|
2111
|
-
BOTTOM,
|
|
2150
|
+
BOTTOM = 8,
|
|
2112
2151
|
/**
|
|
2113
2152
|
* Up
|
|
2114
2153
|
*/
|
|
2115
|
-
UP,
|
|
2154
|
+
UP = 4,
|
|
2116
2155
|
/**
|
|
2117
2156
|
* Down
|
|
2118
2157
|
*/
|
|
2119
|
-
DOWN,
|
|
2158
|
+
DOWN = 8,
|
|
2120
2159
|
/**
|
|
2121
2160
|
* Horizontal
|
|
2122
2161
|
*/
|
|
2123
|
-
HORIZONTAL,
|
|
2162
|
+
HORIZONTAL = 3,
|
|
2124
2163
|
/**
|
|
2125
2164
|
* Vertical
|
|
2126
2165
|
*/
|
|
2127
|
-
VERTICAL,
|
|
2166
|
+
VERTICAL = 12,
|
|
2128
2167
|
}
|
|
2129
2168
|
|
|
2130
2169
|
|
|
@@ -2142,67 +2181,67 @@ export namespace Meta {
|
|
|
2142
2181
|
/**
|
|
2143
2182
|
* frame allows delete
|
|
2144
2183
|
*/
|
|
2145
|
-
ALLOWS_DELETE,
|
|
2184
|
+
ALLOWS_DELETE = 1,
|
|
2146
2185
|
/**
|
|
2147
2186
|
* frame allows menu
|
|
2148
2187
|
*/
|
|
2149
|
-
ALLOWS_MENU,
|
|
2188
|
+
ALLOWS_MENU = 2,
|
|
2150
2189
|
/**
|
|
2151
2190
|
* frame allows minimize
|
|
2152
2191
|
*/
|
|
2153
|
-
ALLOWS_MINIMIZE,
|
|
2192
|
+
ALLOWS_MINIMIZE = 4,
|
|
2154
2193
|
/**
|
|
2155
2194
|
* frame allows maximize
|
|
2156
2195
|
*/
|
|
2157
|
-
ALLOWS_MAXIMIZE,
|
|
2196
|
+
ALLOWS_MAXIMIZE = 8,
|
|
2158
2197
|
/**
|
|
2159
2198
|
* frame allows vertical resize
|
|
2160
2199
|
*/
|
|
2161
|
-
ALLOWS_VERTICAL_RESIZE,
|
|
2200
|
+
ALLOWS_VERTICAL_RESIZE = 16,
|
|
2162
2201
|
/**
|
|
2163
2202
|
* frame allows horizontal resize
|
|
2164
2203
|
*/
|
|
2165
|
-
ALLOWS_HORIZONTAL_RESIZE,
|
|
2204
|
+
ALLOWS_HORIZONTAL_RESIZE = 32,
|
|
2166
2205
|
/**
|
|
2167
2206
|
* frame has focus
|
|
2168
2207
|
*/
|
|
2169
|
-
HAS_FOCUS,
|
|
2208
|
+
HAS_FOCUS = 64,
|
|
2170
2209
|
/**
|
|
2171
2210
|
* frame is shaded
|
|
2172
2211
|
*/
|
|
2173
|
-
SHADED,
|
|
2212
|
+
SHADED = 128,
|
|
2174
2213
|
/**
|
|
2175
2214
|
* frame is stuck
|
|
2176
2215
|
*/
|
|
2177
|
-
STUCK,
|
|
2216
|
+
STUCK = 256,
|
|
2178
2217
|
/**
|
|
2179
2218
|
* frame is maximized
|
|
2180
2219
|
*/
|
|
2181
|
-
MAXIMIZED,
|
|
2220
|
+
MAXIMIZED = 512,
|
|
2182
2221
|
/**
|
|
2183
2222
|
* frame allows shade
|
|
2184
2223
|
*/
|
|
2185
|
-
ALLOWS_SHADE,
|
|
2224
|
+
ALLOWS_SHADE = 1024,
|
|
2186
2225
|
/**
|
|
2187
2226
|
* frame allows move
|
|
2188
2227
|
*/
|
|
2189
|
-
ALLOWS_MOVE,
|
|
2228
|
+
ALLOWS_MOVE = 2048,
|
|
2190
2229
|
/**
|
|
2191
2230
|
* frame allows fullscreen
|
|
2192
2231
|
*/
|
|
2193
|
-
FULLSCREEN,
|
|
2232
|
+
FULLSCREEN = 4096,
|
|
2194
2233
|
/**
|
|
2195
2234
|
* frame is above
|
|
2196
2235
|
*/
|
|
2197
|
-
ABOVE,
|
|
2236
|
+
ABOVE = 8192,
|
|
2198
2237
|
/**
|
|
2199
2238
|
* frame is tiled to the left
|
|
2200
2239
|
*/
|
|
2201
|
-
TILED_LEFT,
|
|
2240
|
+
TILED_LEFT = 16384,
|
|
2202
2241
|
/**
|
|
2203
2242
|
* frame is tiled to the right
|
|
2204
2243
|
*/
|
|
2205
|
-
TILED_RIGHT,
|
|
2244
|
+
TILED_RIGHT = 32768,
|
|
2206
2245
|
}
|
|
2207
2246
|
|
|
2208
2247
|
|
|
@@ -2220,28 +2259,28 @@ export namespace Meta {
|
|
|
2220
2259
|
/**
|
|
2221
2260
|
* none
|
|
2222
2261
|
*/
|
|
2223
|
-
NONE,
|
|
2262
|
+
NONE = 0,
|
|
2224
2263
|
/**
|
|
2225
2264
|
* per-window
|
|
2226
2265
|
*/
|
|
2227
|
-
PER_WINDOW,
|
|
2266
|
+
PER_WINDOW = 1,
|
|
2228
2267
|
/**
|
|
2229
2268
|
* built-in
|
|
2230
2269
|
*/
|
|
2231
|
-
BUILTIN,
|
|
2270
|
+
BUILTIN = 2,
|
|
2232
2271
|
/**
|
|
2233
2272
|
* is reversed
|
|
2234
2273
|
*/
|
|
2235
|
-
IS_REVERSED,
|
|
2274
|
+
IS_REVERSED = 4,
|
|
2236
2275
|
/**
|
|
2237
2276
|
* always active
|
|
2238
2277
|
*/
|
|
2239
|
-
NON_MASKABLE,
|
|
2240
|
-
IGNORE_AUTOREPEAT,
|
|
2278
|
+
NON_MASKABLE = 8,
|
|
2279
|
+
IGNORE_AUTOREPEAT = 16,
|
|
2241
2280
|
/**
|
|
2242
2281
|
* not grabbed automatically
|
|
2243
2282
|
*/
|
|
2244
|
-
NO_AUTO_GRAB,
|
|
2283
|
+
NO_AUTO_GRAB = 32,
|
|
2245
2284
|
}
|
|
2246
2285
|
|
|
2247
2286
|
|
|
@@ -2259,15 +2298,15 @@ export namespace Meta {
|
|
|
2259
2298
|
/**
|
|
2260
2299
|
* Horizontal
|
|
2261
2300
|
*/
|
|
2262
|
-
HORIZONTAL,
|
|
2301
|
+
HORIZONTAL = 1,
|
|
2263
2302
|
/**
|
|
2264
2303
|
* Vertical
|
|
2265
2304
|
*/
|
|
2266
|
-
VERTICAL,
|
|
2305
|
+
VERTICAL = 2,
|
|
2267
2306
|
/**
|
|
2268
2307
|
* Both
|
|
2269
2308
|
*/
|
|
2270
|
-
BOTH,
|
|
2309
|
+
BOTH = 3,
|
|
2271
2310
|
}
|
|
2272
2311
|
|
|
2273
2312
|
|
|
@@ -2287,12 +2326,12 @@ export namespace Meta {
|
|
|
2287
2326
|
* if set the pointer is already
|
|
2288
2327
|
* grabbed by the plugin and should not be grabbed again.
|
|
2289
2328
|
*/
|
|
2290
|
-
POINTER_ALREADY_GRABBED,
|
|
2329
|
+
POINTER_ALREADY_GRABBED = 1,
|
|
2291
2330
|
/**
|
|
2292
2331
|
* if set the keyboard is already
|
|
2293
2332
|
* grabbed by the plugin and should not be grabbed again.
|
|
2294
2333
|
*/
|
|
2295
|
-
KEYBOARD_ALREADY_GRABBED,
|
|
2334
|
+
KEYBOARD_ALREADY_GRABBED = 2,
|
|
2296
2335
|
}
|
|
2297
2336
|
|
|
2298
2337
|
|
|
@@ -2310,43 +2349,43 @@ export namespace Meta {
|
|
|
2310
2349
|
/**
|
|
2311
2350
|
* Shift mask
|
|
2312
2351
|
*/
|
|
2313
|
-
SHIFT_MASK,
|
|
2352
|
+
SHIFT_MASK = 32,
|
|
2314
2353
|
/**
|
|
2315
2354
|
* Control mask
|
|
2316
2355
|
*/
|
|
2317
|
-
CONTROL_MASK,
|
|
2356
|
+
CONTROL_MASK = 64,
|
|
2318
2357
|
/**
|
|
2319
2358
|
* Alt mask
|
|
2320
2359
|
*/
|
|
2321
|
-
ALT_MASK,
|
|
2360
|
+
ALT_MASK = 128,
|
|
2322
2361
|
/**
|
|
2323
2362
|
* Meta mask
|
|
2324
2363
|
*/
|
|
2325
|
-
META_MASK,
|
|
2364
|
+
META_MASK = 256,
|
|
2326
2365
|
/**
|
|
2327
2366
|
* Super mask
|
|
2328
2367
|
*/
|
|
2329
|
-
SUPER_MASK,
|
|
2368
|
+
SUPER_MASK = 512,
|
|
2330
2369
|
/**
|
|
2331
2370
|
* Hyper mask
|
|
2332
2371
|
*/
|
|
2333
|
-
HYPER_MASK,
|
|
2372
|
+
HYPER_MASK = 1024,
|
|
2334
2373
|
/**
|
|
2335
2374
|
* Mod2 mask
|
|
2336
2375
|
*/
|
|
2337
|
-
MOD2_MASK,
|
|
2376
|
+
MOD2_MASK = 2048,
|
|
2338
2377
|
/**
|
|
2339
2378
|
* Mod3 mask
|
|
2340
2379
|
*/
|
|
2341
|
-
MOD3_MASK,
|
|
2380
|
+
MOD3_MASK = 4096,
|
|
2342
2381
|
/**
|
|
2343
2382
|
* Mod4 mask
|
|
2344
2383
|
*/
|
|
2345
|
-
MOD4_MASK,
|
|
2384
|
+
MOD4_MASK = 8192,
|
|
2346
2385
|
/**
|
|
2347
2386
|
* Mod5 mask
|
|
2348
2387
|
*/
|
|
2349
|
-
MOD5_MASK,
|
|
2388
|
+
MOD5_MASK = 16384,
|
|
2350
2389
|
}
|
|
2351
2390
|
|
|
2352
2391
|
|
|
@@ -2357,7 +2396,7 @@ export namespace Meta {
|
|
|
2357
2396
|
* @signal
|
|
2358
2397
|
* @run-last
|
|
2359
2398
|
*/
|
|
2360
|
-
"gpu-added": (
|
|
2399
|
+
"gpu-added": (gpu: unknown) => void;
|
|
2361
2400
|
/**
|
|
2362
2401
|
* @signal
|
|
2363
2402
|
* @run-last
|
|
@@ -2367,17 +2406,17 @@ export namespace Meta {
|
|
|
2367
2406
|
* @signal
|
|
2368
2407
|
* @run-last
|
|
2369
2408
|
*/
|
|
2370
|
-
"keymap-layout-group-changed": (
|
|
2409
|
+
"keymap-layout-group-changed": (object: number) => void;
|
|
2371
2410
|
/**
|
|
2372
2411
|
* @signal
|
|
2373
2412
|
* @run-last
|
|
2374
2413
|
*/
|
|
2375
|
-
"last-device-changed": (
|
|
2414
|
+
"last-device-changed": (object: Clutter.InputDevice) => void;
|
|
2376
2415
|
/**
|
|
2377
2416
|
* @signal
|
|
2378
2417
|
* @run-last
|
|
2379
2418
|
*/
|
|
2380
|
-
"lid-is-closed-changed": (
|
|
2419
|
+
"lid-is-closed-changed": (object: boolean) => void;
|
|
2381
2420
|
/**
|
|
2382
2421
|
* @signal
|
|
2383
2422
|
* @run-last
|
|
@@ -2503,6 +2542,8 @@ export namespace Meta {
|
|
|
2503
2542
|
* instance.
|
|
2504
2543
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2505
2544
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2545
|
+
* @since 2.22
|
|
2546
|
+
* @throws GLib.Error
|
|
2506
2547
|
*/
|
|
2507
2548
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2508
2549
|
|
|
@@ -2546,6 +2587,7 @@ export namespace Meta {
|
|
|
2546
2587
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2547
2588
|
* instance.
|
|
2548
2589
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2590
|
+
* @since 2.22
|
|
2549
2591
|
* @virtual
|
|
2550
2592
|
*/
|
|
2551
2593
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2798,6 +2840,7 @@ export namespace Meta {
|
|
|
2798
2840
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2799
2841
|
* @param property_name the name of the animatable property to find
|
|
2800
2842
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
2843
|
+
* @since 1.4
|
|
2801
2844
|
*/
|
|
2802
2845
|
find_property(property_name: string): GObject.ParamSpec;
|
|
2803
2846
|
|
|
@@ -2811,6 +2854,7 @@ export namespace Meta {
|
|
|
2811
2854
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2812
2855
|
* @param property_name the name of the animatable property to retrieve
|
|
2813
2856
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2857
|
+
* @since 1.4
|
|
2814
2858
|
*/
|
|
2815
2859
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2816
2860
|
|
|
@@ -2828,6 +2872,7 @@ export namespace Meta {
|
|
|
2828
2872
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2829
2873
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2830
2874
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
2875
|
+
* @since 1.8
|
|
2831
2876
|
*/
|
|
2832
2877
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
2833
2878
|
|
|
@@ -2835,12 +2880,14 @@ export namespace Meta {
|
|
|
2835
2880
|
* Sets the current state of `property_name` to `value`
|
|
2836
2881
|
* @param property_name the name of the animatable property to set
|
|
2837
2882
|
* @param value the value of the animatable property to set
|
|
2883
|
+
* @since 1.4
|
|
2838
2884
|
*/
|
|
2839
2885
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2840
2886
|
|
|
2841
2887
|
/**
|
|
2842
2888
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2843
2889
|
* @param property_name the name of the animatable property to find
|
|
2890
|
+
* @since 1.4
|
|
2844
2891
|
* @virtual
|
|
2845
2892
|
*/
|
|
2846
2893
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -2855,6 +2902,7 @@ export namespace Meta {
|
|
|
2855
2902
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2856
2903
|
* @param property_name the name of the animatable property to retrieve
|
|
2857
2904
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2905
|
+
* @since 1.4
|
|
2858
2906
|
* @virtual
|
|
2859
2907
|
*/
|
|
2860
2908
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -2872,6 +2920,7 @@ export namespace Meta {
|
|
|
2872
2920
|
* @param property_name the name of the property to interpolate
|
|
2873
2921
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2874
2922
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2923
|
+
* @since 1.8
|
|
2875
2924
|
* @virtual
|
|
2876
2925
|
*/
|
|
2877
2926
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -2880,6 +2929,7 @@ export namespace Meta {
|
|
|
2880
2929
|
* Sets the current state of `property_name` to `value`
|
|
2881
2930
|
* @param property_name the name of the animatable property to set
|
|
2882
2931
|
* @param value the value of the animatable property to set
|
|
2932
|
+
* @since 1.4
|
|
2883
2933
|
* @virtual
|
|
2884
2934
|
*/
|
|
2885
2935
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -2894,6 +2944,8 @@ export namespace Meta {
|
|
|
2894
2944
|
* deprecated virtual function. The default implementation will
|
|
2895
2945
|
* call `clutter_actor_add_child()`.
|
|
2896
2946
|
* @param actor the first {@link Clutter.Actor} to add
|
|
2947
|
+
* @since 0.4
|
|
2948
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
2897
2949
|
*/
|
|
2898
2950
|
add_actor(actor: Clutter.Actor): void;
|
|
2899
2951
|
|
|
@@ -2908,6 +2960,7 @@ export namespace Meta {
|
|
|
2908
2960
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2909
2961
|
* @param property the name of the property to set.
|
|
2910
2962
|
* @param value the value.
|
|
2963
|
+
* @since 0.8
|
|
2911
2964
|
*/
|
|
2912
2965
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2913
2966
|
|
|
@@ -2917,6 +2970,7 @@ export namespace Meta {
|
|
|
2917
2970
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
2918
2971
|
* @param child a {@link Clutter.Actor}
|
|
2919
2972
|
* @param pspec a {@link GObject.ParamSpec}
|
|
2973
|
+
* @since 1.6
|
|
2920
2974
|
*/
|
|
2921
2975
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
2922
2976
|
|
|
@@ -2925,6 +2979,7 @@ export namespace Meta {
|
|
|
2925
2979
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2926
2980
|
* @param property the name of the property to set.
|
|
2927
2981
|
* @param value the value.
|
|
2982
|
+
* @since 0.8
|
|
2928
2983
|
*/
|
|
2929
2984
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2930
2985
|
|
|
@@ -2939,6 +2994,7 @@ export namespace Meta {
|
|
|
2939
2994
|
*
|
|
2940
2995
|
* Applications should not call this function.
|
|
2941
2996
|
* @param actor a {@link Clutter.Actor}
|
|
2997
|
+
* @since 1.2
|
|
2942
2998
|
*/
|
|
2943
2999
|
create_child_meta(actor: Clutter.Actor): void;
|
|
2944
3000
|
|
|
@@ -2952,6 +3008,7 @@ export namespace Meta {
|
|
|
2952
3008
|
*
|
|
2953
3009
|
* Applications should not call this function.
|
|
2954
3010
|
* @param actor a {@link Clutter.Actor}
|
|
3011
|
+
* @since 1.2
|
|
2955
3012
|
*/
|
|
2956
3013
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
2957
3014
|
|
|
@@ -2960,6 +3017,7 @@ export namespace Meta {
|
|
|
2960
3017
|
* into any child container.
|
|
2961
3018
|
* @param child_name the name of the requested child.
|
|
2962
3019
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3020
|
+
* @since 0.6
|
|
2963
3021
|
*/
|
|
2964
3022
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
2965
3023
|
|
|
@@ -2968,12 +3026,15 @@ export namespace Meta {
|
|
|
2968
3026
|
* `container` specific state for `actor`.
|
|
2969
3027
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
2970
3028
|
* @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
|
|
3029
|
+
* @since 0.8
|
|
2971
3030
|
*/
|
|
2972
3031
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
2973
3032
|
|
|
2974
3033
|
/**
|
|
2975
3034
|
* Retrieves all the children of `container`.
|
|
2976
3035
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3036
|
+
* @since 0.4
|
|
3037
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
2977
3038
|
*/
|
|
2978
3039
|
get_children(): Clutter.Actor[];
|
|
2979
3040
|
|
|
@@ -2985,6 +3046,8 @@ export namespace Meta {
|
|
|
2985
3046
|
* `clutter_actor_set_child_below_sibling()`.
|
|
2986
3047
|
* @param actor the actor to raise
|
|
2987
3048
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3049
|
+
* @since 0.6
|
|
3050
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
2988
3051
|
*/
|
|
2989
3052
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
2990
3053
|
|
|
@@ -2996,6 +3059,8 @@ export namespace Meta {
|
|
|
2996
3059
|
* `clutter_actor_set_child_above_sibling()`.
|
|
2997
3060
|
* @param actor the actor to raise
|
|
2998
3061
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3062
|
+
* @since 0.6
|
|
3063
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
2999
3064
|
*/
|
|
3000
3065
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3001
3066
|
|
|
@@ -3009,12 +3074,16 @@ export namespace Meta {
|
|
|
3009
3074
|
* deprecated virtual function. The default implementation will call
|
|
3010
3075
|
* `clutter_actor_remove_child()`.
|
|
3011
3076
|
* @param actor a {@link Clutter.Actor}
|
|
3077
|
+
* @since 0.4
|
|
3078
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3012
3079
|
*/
|
|
3013
3080
|
remove_actor(actor: Clutter.Actor): void;
|
|
3014
3081
|
|
|
3015
3082
|
/**
|
|
3016
3083
|
* Sorts a container's children using their depth. This function should not
|
|
3017
3084
|
* be normally used by applications.
|
|
3085
|
+
* @since 0.6
|
|
3086
|
+
* @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.
|
|
3018
3087
|
*/
|
|
3019
3088
|
sort_depth_order(): void;
|
|
3020
3089
|
|
|
@@ -3040,6 +3109,8 @@ export namespace Meta {
|
|
|
3040
3109
|
* deprecated virtual function. The default implementation will
|
|
3041
3110
|
* call `clutter_actor_add_child()`.
|
|
3042
3111
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3112
|
+
* @since 0.4
|
|
3113
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3043
3114
|
* @virtual
|
|
3044
3115
|
*/
|
|
3045
3116
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3050,6 +3121,7 @@ export namespace Meta {
|
|
|
3050
3121
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3051
3122
|
* @param child a {@link Clutter.Actor}
|
|
3052
3123
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3124
|
+
* @since 1.6
|
|
3053
3125
|
* @virtual
|
|
3054
3126
|
*/
|
|
3055
3127
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3065,6 +3137,7 @@ export namespace Meta {
|
|
|
3065
3137
|
*
|
|
3066
3138
|
* Applications should not call this function.
|
|
3067
3139
|
* @param actor a {@link Clutter.Actor}
|
|
3140
|
+
* @since 1.2
|
|
3068
3141
|
* @virtual
|
|
3069
3142
|
*/
|
|
3070
3143
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3079,6 +3152,7 @@ export namespace Meta {
|
|
|
3079
3152
|
*
|
|
3080
3153
|
* Applications should not call this function.
|
|
3081
3154
|
* @param actor a {@link Clutter.Actor}
|
|
3155
|
+
* @since 1.2
|
|
3082
3156
|
* @virtual
|
|
3083
3157
|
*/
|
|
3084
3158
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3087,6 +3161,7 @@ export namespace Meta {
|
|
|
3087
3161
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3088
3162
|
* `container` specific state for `actor`.
|
|
3089
3163
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3164
|
+
* @since 0.8
|
|
3090
3165
|
* @virtual
|
|
3091
3166
|
*/
|
|
3092
3167
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3099,6 +3174,8 @@ export namespace Meta {
|
|
|
3099
3174
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3100
3175
|
* @param actor the actor to raise
|
|
3101
3176
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3177
|
+
* @since 0.6
|
|
3178
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3102
3179
|
* @virtual
|
|
3103
3180
|
*/
|
|
3104
3181
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3111,6 +3188,8 @@ export namespace Meta {
|
|
|
3111
3188
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3112
3189
|
* @param actor the actor to raise
|
|
3113
3190
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3191
|
+
* @since 0.6
|
|
3192
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3114
3193
|
* @virtual
|
|
3115
3194
|
*/
|
|
3116
3195
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3125,6 +3204,8 @@ export namespace Meta {
|
|
|
3125
3204
|
* deprecated virtual function. The default implementation will call
|
|
3126
3205
|
* `clutter_actor_remove_child()`.
|
|
3127
3206
|
* @param actor a {@link Clutter.Actor}
|
|
3207
|
+
* @since 0.4
|
|
3208
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3128
3209
|
* @virtual
|
|
3129
3210
|
*/
|
|
3130
3211
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3132,6 +3213,8 @@ export namespace Meta {
|
|
|
3132
3213
|
/**
|
|
3133
3214
|
* Sorts a container's children using their depth. This function should not
|
|
3134
3215
|
* be normally used by applications.
|
|
3216
|
+
* @since 0.6
|
|
3217
|
+
* @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.
|
|
3135
3218
|
* @virtual
|
|
3136
3219
|
*/
|
|
3137
3220
|
vfunc_sort_depth_order(): void;
|
|
@@ -3139,6 +3222,7 @@ export namespace Meta {
|
|
|
3139
3222
|
/**
|
|
3140
3223
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3141
3224
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3225
|
+
* @since 0.6
|
|
3142
3226
|
*/
|
|
3143
3227
|
get_id(): string;
|
|
3144
3228
|
|
|
@@ -3150,6 +3234,7 @@ export namespace Meta {
|
|
|
3150
3234
|
* @param name the name of the node
|
|
3151
3235
|
* @param node the JSON node to be parsed
|
|
3152
3236
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3237
|
+
* @since 0.6
|
|
3153
3238
|
*/
|
|
3154
3239
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3155
3240
|
|
|
@@ -3159,6 +3244,7 @@ export namespace Meta {
|
|
|
3159
3244
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3160
3245
|
* @param name the name of the property
|
|
3161
3246
|
* @param value the value of the property
|
|
3247
|
+
* @since 0.6
|
|
3162
3248
|
*/
|
|
3163
3249
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3164
3250
|
|
|
@@ -3170,11 +3256,13 @@ export namespace Meta {
|
|
|
3170
3256
|
* define a unique name for an object constructable using the UI
|
|
3171
3257
|
* definition language parsed by {@link Clutter.Script}.
|
|
3172
3258
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3259
|
+
* @since 0.6
|
|
3173
3260
|
*/
|
|
3174
3261
|
set_id(id_: string): void;
|
|
3175
3262
|
|
|
3176
3263
|
/**
|
|
3177
3264
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3265
|
+
* @since 0.6
|
|
3178
3266
|
* @virtual
|
|
3179
3267
|
*/
|
|
3180
3268
|
vfunc_get_id(): string;
|
|
@@ -3186,6 +3274,7 @@ export namespace Meta {
|
|
|
3186
3274
|
* @param value the generic value to be set
|
|
3187
3275
|
* @param name the name of the node
|
|
3188
3276
|
* @param node the JSON node to be parsed
|
|
3277
|
+
* @since 0.6
|
|
3189
3278
|
* @virtual
|
|
3190
3279
|
*/
|
|
3191
3280
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3196,6 +3285,7 @@ export namespace Meta {
|
|
|
3196
3285
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3197
3286
|
* @param name the name of the property
|
|
3198
3287
|
* @param value the value of the property
|
|
3288
|
+
* @since 0.6
|
|
3199
3289
|
* @virtual
|
|
3200
3290
|
*/
|
|
3201
3291
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3208,6 +3298,7 @@ export namespace Meta {
|
|
|
3208
3298
|
* define a unique name for an object constructable using the UI
|
|
3209
3299
|
* definition language parsed by {@link Clutter.Script}.
|
|
3210
3300
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3301
|
+
* @since 0.6
|
|
3211
3302
|
* @virtual
|
|
3212
3303
|
*/
|
|
3213
3304
|
vfunc_set_id(id_: string): void;
|
|
@@ -3386,6 +3477,7 @@ export namespace Meta {
|
|
|
3386
3477
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3387
3478
|
* for instance the size of an image data.
|
|
3388
3479
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
3480
|
+
* @since 1.10
|
|
3389
3481
|
*/
|
|
3390
3482
|
get_preferred_size(): [boolean, number, number];
|
|
3391
3483
|
|
|
@@ -3395,6 +3487,7 @@ export namespace Meta {
|
|
|
3395
3487
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3396
3488
|
* they change the way a the content should be painted regardless of the
|
|
3397
3489
|
* actor state.
|
|
3490
|
+
* @since 1.10
|
|
3398
3491
|
*/
|
|
3399
3492
|
invalidate(): void;
|
|
3400
3493
|
|
|
@@ -3425,6 +3518,7 @@ export namespace Meta {
|
|
|
3425
3518
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
3426
3519
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3427
3520
|
* for instance the size of an image data.
|
|
3521
|
+
* @since 1.10
|
|
3428
3522
|
* @virtual
|
|
3429
3523
|
*/
|
|
3430
3524
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -3435,6 +3529,7 @@ export namespace Meta {
|
|
|
3435
3529
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3436
3530
|
* they change the way a the content should be painted regardless of the
|
|
3437
3531
|
* actor state.
|
|
3532
|
+
* @since 1.10
|
|
3438
3533
|
* @virtual
|
|
3439
3534
|
*/
|
|
3440
3535
|
vfunc_invalidate(): void;
|
|
@@ -3577,6 +3672,7 @@ export namespace Meta {
|
|
|
3577
3672
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3578
3673
|
* @param property_name the name of the animatable property to find
|
|
3579
3674
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
3675
|
+
* @since 1.4
|
|
3580
3676
|
*/
|
|
3581
3677
|
find_property(property_name: string): GObject.ParamSpec;
|
|
3582
3678
|
|
|
@@ -3590,6 +3686,7 @@ export namespace Meta {
|
|
|
3590
3686
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3591
3687
|
* @param property_name the name of the animatable property to retrieve
|
|
3592
3688
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3689
|
+
* @since 1.4
|
|
3593
3690
|
*/
|
|
3594
3691
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3595
3692
|
|
|
@@ -3607,6 +3704,7 @@ export namespace Meta {
|
|
|
3607
3704
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3608
3705
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3609
3706
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
3707
|
+
* @since 1.8
|
|
3610
3708
|
*/
|
|
3611
3709
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
3612
3710
|
|
|
@@ -3614,12 +3712,14 @@ export namespace Meta {
|
|
|
3614
3712
|
* Sets the current state of `property_name` to `value`
|
|
3615
3713
|
* @param property_name the name of the animatable property to set
|
|
3616
3714
|
* @param value the value of the animatable property to set
|
|
3715
|
+
* @since 1.4
|
|
3617
3716
|
*/
|
|
3618
3717
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3619
3718
|
|
|
3620
3719
|
/**
|
|
3621
3720
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3622
3721
|
* @param property_name the name of the animatable property to find
|
|
3722
|
+
* @since 1.4
|
|
3623
3723
|
* @virtual
|
|
3624
3724
|
*/
|
|
3625
3725
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -3634,6 +3734,7 @@ export namespace Meta {
|
|
|
3634
3734
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3635
3735
|
* @param property_name the name of the animatable property to retrieve
|
|
3636
3736
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3737
|
+
* @since 1.4
|
|
3637
3738
|
* @virtual
|
|
3638
3739
|
*/
|
|
3639
3740
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -3651,6 +3752,7 @@ export namespace Meta {
|
|
|
3651
3752
|
* @param property_name the name of the property to interpolate
|
|
3652
3753
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3653
3754
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3755
|
+
* @since 1.8
|
|
3654
3756
|
* @virtual
|
|
3655
3757
|
*/
|
|
3656
3758
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -3659,6 +3761,7 @@ export namespace Meta {
|
|
|
3659
3761
|
* Sets the current state of `property_name` to `value`
|
|
3660
3762
|
* @param property_name the name of the animatable property to set
|
|
3661
3763
|
* @param value the value of the animatable property to set
|
|
3764
|
+
* @since 1.4
|
|
3662
3765
|
* @virtual
|
|
3663
3766
|
*/
|
|
3664
3767
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -3673,6 +3776,8 @@ export namespace Meta {
|
|
|
3673
3776
|
* deprecated virtual function. The default implementation will
|
|
3674
3777
|
* call `clutter_actor_add_child()`.
|
|
3675
3778
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3779
|
+
* @since 0.4
|
|
3780
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3676
3781
|
*/
|
|
3677
3782
|
add_actor(actor: Clutter.Actor): void;
|
|
3678
3783
|
|
|
@@ -3687,6 +3792,7 @@ export namespace Meta {
|
|
|
3687
3792
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3688
3793
|
* @param property the name of the property to set.
|
|
3689
3794
|
* @param value the value.
|
|
3795
|
+
* @since 0.8
|
|
3690
3796
|
*/
|
|
3691
3797
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3692
3798
|
|
|
@@ -3696,6 +3802,7 @@ export namespace Meta {
|
|
|
3696
3802
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3697
3803
|
* @param child a {@link Clutter.Actor}
|
|
3698
3804
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3805
|
+
* @since 1.6
|
|
3699
3806
|
*/
|
|
3700
3807
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
3701
3808
|
|
|
@@ -3704,6 +3811,7 @@ export namespace Meta {
|
|
|
3704
3811
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3705
3812
|
* @param property the name of the property to set.
|
|
3706
3813
|
* @param value the value.
|
|
3814
|
+
* @since 0.8
|
|
3707
3815
|
*/
|
|
3708
3816
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3709
3817
|
|
|
@@ -3718,6 +3826,7 @@ export namespace Meta {
|
|
|
3718
3826
|
*
|
|
3719
3827
|
* Applications should not call this function.
|
|
3720
3828
|
* @param actor a {@link Clutter.Actor}
|
|
3829
|
+
* @since 1.2
|
|
3721
3830
|
*/
|
|
3722
3831
|
create_child_meta(actor: Clutter.Actor): void;
|
|
3723
3832
|
|
|
@@ -3731,6 +3840,7 @@ export namespace Meta {
|
|
|
3731
3840
|
*
|
|
3732
3841
|
* Applications should not call this function.
|
|
3733
3842
|
* @param actor a {@link Clutter.Actor}
|
|
3843
|
+
* @since 1.2
|
|
3734
3844
|
*/
|
|
3735
3845
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
3736
3846
|
|
|
@@ -3739,6 +3849,7 @@ export namespace Meta {
|
|
|
3739
3849
|
* into any child container.
|
|
3740
3850
|
* @param child_name the name of the requested child.
|
|
3741
3851
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3852
|
+
* @since 0.6
|
|
3742
3853
|
*/
|
|
3743
3854
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3744
3855
|
|
|
@@ -3747,12 +3858,15 @@ export namespace Meta {
|
|
|
3747
3858
|
* `container` specific state for `actor`.
|
|
3748
3859
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3749
3860
|
* @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
|
|
3861
|
+
* @since 0.8
|
|
3750
3862
|
*/
|
|
3751
3863
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3752
3864
|
|
|
3753
3865
|
/**
|
|
3754
3866
|
* Retrieves all the children of `container`.
|
|
3755
3867
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3868
|
+
* @since 0.4
|
|
3869
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3756
3870
|
*/
|
|
3757
3871
|
get_children(): Clutter.Actor[];
|
|
3758
3872
|
|
|
@@ -3764,6 +3878,8 @@ export namespace Meta {
|
|
|
3764
3878
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3765
3879
|
* @param actor the actor to raise
|
|
3766
3880
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3881
|
+
* @since 0.6
|
|
3882
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3767
3883
|
*/
|
|
3768
3884
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3769
3885
|
|
|
@@ -3775,6 +3891,8 @@ export namespace Meta {
|
|
|
3775
3891
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3776
3892
|
* @param actor the actor to raise
|
|
3777
3893
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3894
|
+
* @since 0.6
|
|
3895
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3778
3896
|
*/
|
|
3779
3897
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3780
3898
|
|
|
@@ -3788,12 +3906,16 @@ export namespace Meta {
|
|
|
3788
3906
|
* deprecated virtual function. The default implementation will call
|
|
3789
3907
|
* `clutter_actor_remove_child()`.
|
|
3790
3908
|
* @param actor a {@link Clutter.Actor}
|
|
3909
|
+
* @since 0.4
|
|
3910
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3791
3911
|
*/
|
|
3792
3912
|
remove_actor(actor: Clutter.Actor): void;
|
|
3793
3913
|
|
|
3794
3914
|
/**
|
|
3795
3915
|
* Sorts a container's children using their depth. This function should not
|
|
3796
3916
|
* be normally used by applications.
|
|
3917
|
+
* @since 0.6
|
|
3918
|
+
* @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.
|
|
3797
3919
|
*/
|
|
3798
3920
|
sort_depth_order(): void;
|
|
3799
3921
|
|
|
@@ -3819,6 +3941,8 @@ export namespace Meta {
|
|
|
3819
3941
|
* deprecated virtual function. The default implementation will
|
|
3820
3942
|
* call `clutter_actor_add_child()`.
|
|
3821
3943
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3944
|
+
* @since 0.4
|
|
3945
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3822
3946
|
* @virtual
|
|
3823
3947
|
*/
|
|
3824
3948
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3829,6 +3953,7 @@ export namespace Meta {
|
|
|
3829
3953
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3830
3954
|
* @param child a {@link Clutter.Actor}
|
|
3831
3955
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3956
|
+
* @since 1.6
|
|
3832
3957
|
* @virtual
|
|
3833
3958
|
*/
|
|
3834
3959
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3844,6 +3969,7 @@ export namespace Meta {
|
|
|
3844
3969
|
*
|
|
3845
3970
|
* Applications should not call this function.
|
|
3846
3971
|
* @param actor a {@link Clutter.Actor}
|
|
3972
|
+
* @since 1.2
|
|
3847
3973
|
* @virtual
|
|
3848
3974
|
*/
|
|
3849
3975
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3858,6 +3984,7 @@ export namespace Meta {
|
|
|
3858
3984
|
*
|
|
3859
3985
|
* Applications should not call this function.
|
|
3860
3986
|
* @param actor a {@link Clutter.Actor}
|
|
3987
|
+
* @since 1.2
|
|
3861
3988
|
* @virtual
|
|
3862
3989
|
*/
|
|
3863
3990
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3866,6 +3993,7 @@ export namespace Meta {
|
|
|
3866
3993
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3867
3994
|
* `container` specific state for `actor`.
|
|
3868
3995
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3996
|
+
* @since 0.8
|
|
3869
3997
|
* @virtual
|
|
3870
3998
|
*/
|
|
3871
3999
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3878,6 +4006,8 @@ export namespace Meta {
|
|
|
3878
4006
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3879
4007
|
* @param actor the actor to raise
|
|
3880
4008
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
4009
|
+
* @since 0.6
|
|
4010
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3881
4011
|
* @virtual
|
|
3882
4012
|
*/
|
|
3883
4013
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3890,6 +4020,8 @@ export namespace Meta {
|
|
|
3890
4020
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3891
4021
|
* @param actor the actor to raise
|
|
3892
4022
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
4023
|
+
* @since 0.6
|
|
4024
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3893
4025
|
* @virtual
|
|
3894
4026
|
*/
|
|
3895
4027
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3904,6 +4036,8 @@ export namespace Meta {
|
|
|
3904
4036
|
* deprecated virtual function. The default implementation will call
|
|
3905
4037
|
* `clutter_actor_remove_child()`.
|
|
3906
4038
|
* @param actor a {@link Clutter.Actor}
|
|
4039
|
+
* @since 0.4
|
|
4040
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3907
4041
|
* @virtual
|
|
3908
4042
|
*/
|
|
3909
4043
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3911,6 +4045,8 @@ export namespace Meta {
|
|
|
3911
4045
|
/**
|
|
3912
4046
|
* Sorts a container's children using their depth. This function should not
|
|
3913
4047
|
* be normally used by applications.
|
|
4048
|
+
* @since 0.6
|
|
4049
|
+
* @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.
|
|
3914
4050
|
* @virtual
|
|
3915
4051
|
*/
|
|
3916
4052
|
vfunc_sort_depth_order(): void;
|
|
@@ -3918,6 +4054,7 @@ export namespace Meta {
|
|
|
3918
4054
|
/**
|
|
3919
4055
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3920
4056
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
4057
|
+
* @since 0.6
|
|
3921
4058
|
*/
|
|
3922
4059
|
get_id(): string;
|
|
3923
4060
|
|
|
@@ -3929,6 +4066,7 @@ export namespace Meta {
|
|
|
3929
4066
|
* @param name the name of the node
|
|
3930
4067
|
* @param node the JSON node to be parsed
|
|
3931
4068
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
4069
|
+
* @since 0.6
|
|
3932
4070
|
*/
|
|
3933
4071
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3934
4072
|
|
|
@@ -3938,6 +4076,7 @@ export namespace Meta {
|
|
|
3938
4076
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3939
4077
|
* @param name the name of the property
|
|
3940
4078
|
* @param value the value of the property
|
|
4079
|
+
* @since 0.6
|
|
3941
4080
|
*/
|
|
3942
4081
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3943
4082
|
|
|
@@ -3949,11 +4088,13 @@ export namespace Meta {
|
|
|
3949
4088
|
* define a unique name for an object constructable using the UI
|
|
3950
4089
|
* definition language parsed by {@link Clutter.Script}.
|
|
3951
4090
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4091
|
+
* @since 0.6
|
|
3952
4092
|
*/
|
|
3953
4093
|
set_id(id_: string): void;
|
|
3954
4094
|
|
|
3955
4095
|
/**
|
|
3956
4096
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
4097
|
+
* @since 0.6
|
|
3957
4098
|
* @virtual
|
|
3958
4099
|
*/
|
|
3959
4100
|
vfunc_get_id(): string;
|
|
@@ -3965,6 +4106,7 @@ export namespace Meta {
|
|
|
3965
4106
|
* @param value the generic value to be set
|
|
3966
4107
|
* @param name the name of the node
|
|
3967
4108
|
* @param node the JSON node to be parsed
|
|
4109
|
+
* @since 0.6
|
|
3968
4110
|
* @virtual
|
|
3969
4111
|
*/
|
|
3970
4112
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3975,6 +4117,7 @@ export namespace Meta {
|
|
|
3975
4117
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3976
4118
|
* @param name the name of the property
|
|
3977
4119
|
* @param value the value of the property
|
|
4120
|
+
* @since 0.6
|
|
3978
4121
|
* @virtual
|
|
3979
4122
|
*/
|
|
3980
4123
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3987,6 +4130,7 @@ export namespace Meta {
|
|
|
3987
4130
|
* define a unique name for an object constructable using the UI
|
|
3988
4131
|
* definition language parsed by {@link Clutter.Script}.
|
|
3989
4132
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4133
|
+
* @since 0.6
|
|
3990
4134
|
* @virtual
|
|
3991
4135
|
*/
|
|
3992
4136
|
vfunc_set_id(id_: string): void;
|
|
@@ -4141,14 +4285,14 @@ export namespace Meta {
|
|
|
4141
4285
|
* @signal
|
|
4142
4286
|
* @run-first
|
|
4143
4287
|
*/
|
|
4144
|
-
hit: (
|
|
4288
|
+
hit: (event: BarrierEvent) => void;
|
|
4145
4289
|
/**
|
|
4146
4290
|
* When a pointer barrier hitbox was left, this will trigger.
|
|
4147
4291
|
* This requires an XI2-enabled server.
|
|
4148
4292
|
* @signal
|
|
4149
4293
|
* @run-first
|
|
4150
4294
|
*/
|
|
4151
|
-
left: (
|
|
4295
|
+
left: (event: BarrierEvent) => void;
|
|
4152
4296
|
"notify::directions": (pspec: GObject.ParamSpec) => void;
|
|
4153
4297
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
4154
4298
|
"notify::x1": (pspec: GObject.ParamSpec) => void;
|
|
@@ -4350,7 +4494,7 @@ export namespace Meta {
|
|
|
4350
4494
|
* @signal
|
|
4351
4495
|
* @run-last
|
|
4352
4496
|
*/
|
|
4353
|
-
"accelerator-activated": (
|
|
4497
|
+
"accelerator-activated": (object: number, p0: Clutter.InputDevice, p1: number) => void;
|
|
4354
4498
|
/**
|
|
4355
4499
|
* @signal
|
|
4356
4500
|
* @run-last
|
|
@@ -4370,12 +4514,12 @@ export namespace Meta {
|
|
|
4370
4514
|
* @signal
|
|
4371
4515
|
* @run-last
|
|
4372
4516
|
*/
|
|
4373
|
-
"grab-op-begin": (
|
|
4517
|
+
"grab-op-begin": (object: Window, p0: GrabOp) => void;
|
|
4374
4518
|
/**
|
|
4375
4519
|
* @signal
|
|
4376
4520
|
* @run-last
|
|
4377
4521
|
*/
|
|
4378
|
-
"grab-op-end": (
|
|
4522
|
+
"grab-op-end": (object: Window, p0: GrabOp) => void;
|
|
4379
4523
|
/**
|
|
4380
4524
|
* @signal
|
|
4381
4525
|
* @run-last
|
|
@@ -4385,7 +4529,7 @@ export namespace Meta {
|
|
|
4385
4529
|
* @signal
|
|
4386
4530
|
* @run-last
|
|
4387
4531
|
*/
|
|
4388
|
-
"init-xserver": (
|
|
4532
|
+
"init-xserver": (object: Gio.Task) => boolean | void;
|
|
4389
4533
|
/**
|
|
4390
4534
|
* The ::modifiers-accelerator-activated signal will be emitted when
|
|
4391
4535
|
* a special modifiers-only keybinding is activated.
|
|
@@ -4402,7 +4546,7 @@ export namespace Meta {
|
|
|
4402
4546
|
* @signal
|
|
4403
4547
|
* @run-last
|
|
4404
4548
|
*/
|
|
4405
|
-
"pad-mode-switch": (
|
|
4549
|
+
"pad-mode-switch": (object: Clutter.InputDevice, p0: number, p1: number) => void;
|
|
4406
4550
|
/**
|
|
4407
4551
|
* @signal
|
|
4408
4552
|
* @run-last
|
|
@@ -4422,18 +4566,18 @@ export namespace Meta {
|
|
|
4422
4566
|
* @signal
|
|
4423
4567
|
* @run-last
|
|
4424
4568
|
*/
|
|
4425
|
-
"show-osd": (
|
|
4569
|
+
"show-osd": (object: number, p0: string, p1: string) => void;
|
|
4426
4570
|
/**
|
|
4427
4571
|
* Requests the pad button mapping OSD to be shown.
|
|
4428
4572
|
* @signal
|
|
4429
4573
|
* @run-last
|
|
4430
4574
|
*/
|
|
4431
|
-
"show-pad-osd": (
|
|
4575
|
+
"show-pad-osd": (pad: Clutter.InputDevice, settings: Gio.Settings, layout_path: string, edition_mode: boolean, monitor_idx: number) => Clutter.Actor | null;
|
|
4432
4576
|
/**
|
|
4433
4577
|
* @signal
|
|
4434
4578
|
* @run-last
|
|
4435
4579
|
*/
|
|
4436
|
-
"show-resize-popup": (
|
|
4580
|
+
"show-resize-popup": (object: boolean, p0: Rectangle, p1: number, p2: number) => boolean | void;
|
|
4437
4581
|
/**
|
|
4438
4582
|
* The ::show-restart-message signal will be emitted to indicate
|
|
4439
4583
|
* that the compositor should show a message during restart. This is
|
|
@@ -4448,7 +4592,7 @@ export namespace Meta {
|
|
|
4448
4592
|
* @signal
|
|
4449
4593
|
* @run-last
|
|
4450
4594
|
*/
|
|
4451
|
-
"show-restart-message": (
|
|
4595
|
+
"show-restart-message": (message: string | null) => boolean | void;
|
|
4452
4596
|
/**
|
|
4453
4597
|
* @signal
|
|
4454
4598
|
* @run-last
|
|
@@ -4458,27 +4602,27 @@ export namespace Meta {
|
|
|
4458
4602
|
* @signal
|
|
4459
4603
|
* @run-last
|
|
4460
4604
|
*/
|
|
4461
|
-
"window-created": (
|
|
4605
|
+
"window-created": (object: Window) => void;
|
|
4462
4606
|
/**
|
|
4463
4607
|
* @signal
|
|
4464
4608
|
* @run-last
|
|
4465
4609
|
*/
|
|
4466
|
-
"window-demands-attention": (
|
|
4610
|
+
"window-demands-attention": (object: Window) => void;
|
|
4467
4611
|
/**
|
|
4468
4612
|
* @signal
|
|
4469
4613
|
* @run-last
|
|
4470
4614
|
*/
|
|
4471
|
-
"window-entered-monitor": (
|
|
4615
|
+
"window-entered-monitor": (object: number, p0: Window) => void;
|
|
4472
4616
|
/**
|
|
4473
4617
|
* @signal
|
|
4474
4618
|
* @run-last
|
|
4475
4619
|
*/
|
|
4476
|
-
"window-left-monitor": (
|
|
4620
|
+
"window-left-monitor": (object: number, p0: Window) => void;
|
|
4477
4621
|
/**
|
|
4478
4622
|
* @signal
|
|
4479
4623
|
* @run-last
|
|
4480
4624
|
*/
|
|
4481
|
-
"window-marked-urgent": (
|
|
4625
|
+
"window-marked-urgent": (object: Window) => void;
|
|
4482
4626
|
/**
|
|
4483
4627
|
* @signal
|
|
4484
4628
|
* @run-last
|
|
@@ -4899,7 +5043,7 @@ export namespace Meta {
|
|
|
4899
5043
|
* @signal
|
|
4900
5044
|
* @run-last
|
|
4901
5045
|
*/
|
|
4902
|
-
"dnd-position-change": (
|
|
5046
|
+
"dnd-position-change": (object: number, p0: number) => void;
|
|
4903
5047
|
}
|
|
4904
5048
|
|
|
4905
5049
|
// Constructor properties interface
|
|
@@ -5480,7 +5624,7 @@ export namespace Meta {
|
|
|
5480
5624
|
* @signal
|
|
5481
5625
|
* @run-last
|
|
5482
5626
|
*/
|
|
5483
|
-
"new-handle": (
|
|
5627
|
+
"new-handle": (object: RemoteAccessHandle) => void;
|
|
5484
5628
|
}
|
|
5485
5629
|
|
|
5486
5630
|
// Constructor properties interface
|
|
@@ -5622,7 +5766,7 @@ export namespace Meta {
|
|
|
5622
5766
|
* @signal
|
|
5623
5767
|
* @run-last
|
|
5624
5768
|
*/
|
|
5625
|
-
"owner-changed": (
|
|
5769
|
+
"owner-changed": (object: number, p0: SelectionSource) => void;
|
|
5626
5770
|
}
|
|
5627
5771
|
|
|
5628
5772
|
// Constructor properties interface
|
|
@@ -5719,6 +5863,7 @@ export namespace Meta {
|
|
|
5719
5863
|
* Finishes the transfer of a queried mimetype.
|
|
5720
5864
|
* @param result The async result
|
|
5721
5865
|
* @returns `TRUE` if the transfer was successful.
|
|
5866
|
+
* @throws GLib.Error
|
|
5722
5867
|
*/
|
|
5723
5868
|
transfer_finish(result: Gio.AsyncResult): boolean;
|
|
5724
5869
|
|
|
@@ -5855,6 +6000,7 @@ export namespace Meta {
|
|
|
5855
6000
|
* Finishes a read from the selection source.
|
|
5856
6001
|
* @param result The async result
|
|
5857
6002
|
* @returns The resulting {@link Gio.InputStream}
|
|
6003
|
+
* @throws GLib.Error
|
|
5858
6004
|
*/
|
|
5859
6005
|
read_finish(result: Gio.AsyncResult): Gio.InputStream;
|
|
5860
6006
|
}
|
|
@@ -6079,6 +6225,7 @@ export namespace Meta {
|
|
|
6079
6225
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6080
6226
|
* for instance the size of an image data.
|
|
6081
6227
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
6228
|
+
* @since 1.10
|
|
6082
6229
|
*/
|
|
6083
6230
|
get_preferred_size(): [boolean, number, number];
|
|
6084
6231
|
|
|
@@ -6088,6 +6235,7 @@ export namespace Meta {
|
|
|
6088
6235
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6089
6236
|
* they change the way a the content should be painted regardless of the
|
|
6090
6237
|
* actor state.
|
|
6238
|
+
* @since 1.10
|
|
6091
6239
|
*/
|
|
6092
6240
|
invalidate(): void;
|
|
6093
6241
|
|
|
@@ -6118,6 +6266,7 @@ export namespace Meta {
|
|
|
6118
6266
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
6119
6267
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6120
6268
|
* for instance the size of an image data.
|
|
6269
|
+
* @since 1.10
|
|
6121
6270
|
* @virtual
|
|
6122
6271
|
*/
|
|
6123
6272
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -6128,6 +6277,7 @@ export namespace Meta {
|
|
|
6128
6277
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6129
6278
|
* they change the way a the content should be painted regardless of the
|
|
6130
6279
|
* actor state.
|
|
6280
|
+
* @since 1.10
|
|
6131
6281
|
* @virtual
|
|
6132
6282
|
*/
|
|
6133
6283
|
vfunc_invalidate(): void;
|
|
@@ -6347,7 +6497,7 @@ export namespace Meta {
|
|
|
6347
6497
|
* @signal
|
|
6348
6498
|
* @run-last
|
|
6349
6499
|
*/
|
|
6350
|
-
changed: (
|
|
6500
|
+
changed: (object: null) => void;
|
|
6351
6501
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
6352
6502
|
}
|
|
6353
6503
|
|
|
@@ -6604,6 +6754,7 @@ export namespace Meta {
|
|
|
6604
6754
|
* @param display the current MetaDisplay
|
|
6605
6755
|
* @param argv Command line arguments
|
|
6606
6756
|
* @returns A new {@link Gio.Subprocess}, or `null` on error (and `error` will be set)
|
|
6757
|
+
* @throws GLib.Error
|
|
6607
6758
|
*/
|
|
6608
6759
|
spawnv(display: Display, argv: string[]): Gio.Subprocess;
|
|
6609
6760
|
}
|
|
@@ -7711,6 +7862,7 @@ export namespace Meta {
|
|
|
7711
7862
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7712
7863
|
* @param property_name the name of the animatable property to find
|
|
7713
7864
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
7865
|
+
* @since 1.4
|
|
7714
7866
|
*/
|
|
7715
7867
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7716
7868
|
|
|
@@ -7724,6 +7876,7 @@ export namespace Meta {
|
|
|
7724
7876
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7725
7877
|
* @param property_name the name of the animatable property to retrieve
|
|
7726
7878
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7879
|
+
* @since 1.4
|
|
7727
7880
|
*/
|
|
7728
7881
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7729
7882
|
|
|
@@ -7741,6 +7894,7 @@ export namespace Meta {
|
|
|
7741
7894
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7742
7895
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7743
7896
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
7897
|
+
* @since 1.8
|
|
7744
7898
|
*/
|
|
7745
7899
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7746
7900
|
|
|
@@ -7748,12 +7902,14 @@ export namespace Meta {
|
|
|
7748
7902
|
* Sets the current state of `property_name` to `value`
|
|
7749
7903
|
* @param property_name the name of the animatable property to set
|
|
7750
7904
|
* @param value the value of the animatable property to set
|
|
7905
|
+
* @since 1.4
|
|
7751
7906
|
*/
|
|
7752
7907
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7753
7908
|
|
|
7754
7909
|
/**
|
|
7755
7910
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7756
7911
|
* @param property_name the name of the animatable property to find
|
|
7912
|
+
* @since 1.4
|
|
7757
7913
|
* @virtual
|
|
7758
7914
|
*/
|
|
7759
7915
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -7768,6 +7924,7 @@ export namespace Meta {
|
|
|
7768
7924
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7769
7925
|
* @param property_name the name of the animatable property to retrieve
|
|
7770
7926
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7927
|
+
* @since 1.4
|
|
7771
7928
|
* @virtual
|
|
7772
7929
|
*/
|
|
7773
7930
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -7785,6 +7942,7 @@ export namespace Meta {
|
|
|
7785
7942
|
* @param property_name the name of the property to interpolate
|
|
7786
7943
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7787
7944
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7945
|
+
* @since 1.8
|
|
7788
7946
|
* @virtual
|
|
7789
7947
|
*/
|
|
7790
7948
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -7793,6 +7951,7 @@ export namespace Meta {
|
|
|
7793
7951
|
* Sets the current state of `property_name` to `value`
|
|
7794
7952
|
* @param property_name the name of the animatable property to set
|
|
7795
7953
|
* @param value the value of the animatable property to set
|
|
7954
|
+
* @since 1.4
|
|
7796
7955
|
* @virtual
|
|
7797
7956
|
*/
|
|
7798
7957
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -7807,6 +7966,8 @@ export namespace Meta {
|
|
|
7807
7966
|
* deprecated virtual function. The default implementation will
|
|
7808
7967
|
* call `clutter_actor_add_child()`.
|
|
7809
7968
|
* @param actor the first {@link Clutter.Actor} to add
|
|
7969
|
+
* @since 0.4
|
|
7970
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7810
7971
|
*/
|
|
7811
7972
|
add_actor(actor: Clutter.Actor): void;
|
|
7812
7973
|
|
|
@@ -7821,6 +7982,7 @@ export namespace Meta {
|
|
|
7821
7982
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7822
7983
|
* @param property the name of the property to set.
|
|
7823
7984
|
* @param value the value.
|
|
7985
|
+
* @since 0.8
|
|
7824
7986
|
*/
|
|
7825
7987
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7826
7988
|
|
|
@@ -7830,6 +7992,7 @@ export namespace Meta {
|
|
|
7830
7992
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7831
7993
|
* @param child a {@link Clutter.Actor}
|
|
7832
7994
|
* @param pspec a {@link GObject.ParamSpec}
|
|
7995
|
+
* @since 1.6
|
|
7833
7996
|
*/
|
|
7834
7997
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
7835
7998
|
|
|
@@ -7838,6 +8001,7 @@ export namespace Meta {
|
|
|
7838
8001
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7839
8002
|
* @param property the name of the property to set.
|
|
7840
8003
|
* @param value the value.
|
|
8004
|
+
* @since 0.8
|
|
7841
8005
|
*/
|
|
7842
8006
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7843
8007
|
|
|
@@ -7852,6 +8016,7 @@ export namespace Meta {
|
|
|
7852
8016
|
*
|
|
7853
8017
|
* Applications should not call this function.
|
|
7854
8018
|
* @param actor a {@link Clutter.Actor}
|
|
8019
|
+
* @since 1.2
|
|
7855
8020
|
*/
|
|
7856
8021
|
create_child_meta(actor: Clutter.Actor): void;
|
|
7857
8022
|
|
|
@@ -7865,6 +8030,7 @@ export namespace Meta {
|
|
|
7865
8030
|
*
|
|
7866
8031
|
* Applications should not call this function.
|
|
7867
8032
|
* @param actor a {@link Clutter.Actor}
|
|
8033
|
+
* @since 1.2
|
|
7868
8034
|
*/
|
|
7869
8035
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
7870
8036
|
|
|
@@ -7873,6 +8039,7 @@ export namespace Meta {
|
|
|
7873
8039
|
* into any child container.
|
|
7874
8040
|
* @param child_name the name of the requested child.
|
|
7875
8041
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8042
|
+
* @since 0.6
|
|
7876
8043
|
*/
|
|
7877
8044
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
7878
8045
|
|
|
@@ -7881,12 +8048,15 @@ export namespace Meta {
|
|
|
7881
8048
|
* `container` specific state for `actor`.
|
|
7882
8049
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
7883
8050
|
* @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
|
|
8051
|
+
* @since 0.8
|
|
7884
8052
|
*/
|
|
7885
8053
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
7886
8054
|
|
|
7887
8055
|
/**
|
|
7888
8056
|
* Retrieves all the children of `container`.
|
|
7889
8057
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8058
|
+
* @since 0.4
|
|
8059
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
7890
8060
|
*/
|
|
7891
8061
|
get_children(): Clutter.Actor[];
|
|
7892
8062
|
|
|
@@ -7898,6 +8068,8 @@ export namespace Meta {
|
|
|
7898
8068
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7899
8069
|
* @param actor the actor to raise
|
|
7900
8070
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8071
|
+
* @since 0.6
|
|
8072
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7901
8073
|
*/
|
|
7902
8074
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7903
8075
|
|
|
@@ -7909,6 +8081,8 @@ export namespace Meta {
|
|
|
7909
8081
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7910
8082
|
* @param actor the actor to raise
|
|
7911
8083
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8084
|
+
* @since 0.6
|
|
8085
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7912
8086
|
*/
|
|
7913
8087
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7914
8088
|
|
|
@@ -7922,12 +8096,16 @@ export namespace Meta {
|
|
|
7922
8096
|
* deprecated virtual function. The default implementation will call
|
|
7923
8097
|
* `clutter_actor_remove_child()`.
|
|
7924
8098
|
* @param actor a {@link Clutter.Actor}
|
|
8099
|
+
* @since 0.4
|
|
8100
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7925
8101
|
*/
|
|
7926
8102
|
remove_actor(actor: Clutter.Actor): void;
|
|
7927
8103
|
|
|
7928
8104
|
/**
|
|
7929
8105
|
* Sorts a container's children using their depth. This function should not
|
|
7930
8106
|
* be normally used by applications.
|
|
8107
|
+
* @since 0.6
|
|
8108
|
+
* @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.
|
|
7931
8109
|
*/
|
|
7932
8110
|
sort_depth_order(): void;
|
|
7933
8111
|
|
|
@@ -7953,6 +8131,8 @@ export namespace Meta {
|
|
|
7953
8131
|
* deprecated virtual function. The default implementation will
|
|
7954
8132
|
* call `clutter_actor_add_child()`.
|
|
7955
8133
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8134
|
+
* @since 0.4
|
|
8135
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7956
8136
|
* @virtual
|
|
7957
8137
|
*/
|
|
7958
8138
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -7963,6 +8143,7 @@ export namespace Meta {
|
|
|
7963
8143
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7964
8144
|
* @param child a {@link Clutter.Actor}
|
|
7965
8145
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8146
|
+
* @since 1.6
|
|
7966
8147
|
* @virtual
|
|
7967
8148
|
*/
|
|
7968
8149
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -7978,6 +8159,7 @@ export namespace Meta {
|
|
|
7978
8159
|
*
|
|
7979
8160
|
* Applications should not call this function.
|
|
7980
8161
|
* @param actor a {@link Clutter.Actor}
|
|
8162
|
+
* @since 1.2
|
|
7981
8163
|
* @virtual
|
|
7982
8164
|
*/
|
|
7983
8165
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7992,6 +8174,7 @@ export namespace Meta {
|
|
|
7992
8174
|
*
|
|
7993
8175
|
* Applications should not call this function.
|
|
7994
8176
|
* @param actor a {@link Clutter.Actor}
|
|
8177
|
+
* @since 1.2
|
|
7995
8178
|
* @virtual
|
|
7996
8179
|
*/
|
|
7997
8180
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8000,6 +8183,7 @@ export namespace Meta {
|
|
|
8000
8183
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8001
8184
|
* `container` specific state for `actor`.
|
|
8002
8185
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8186
|
+
* @since 0.8
|
|
8003
8187
|
* @virtual
|
|
8004
8188
|
*/
|
|
8005
8189
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8012,6 +8196,8 @@ export namespace Meta {
|
|
|
8012
8196
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8013
8197
|
* @param actor the actor to raise
|
|
8014
8198
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8199
|
+
* @since 0.6
|
|
8200
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8015
8201
|
* @virtual
|
|
8016
8202
|
*/
|
|
8017
8203
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8024,6 +8210,8 @@ export namespace Meta {
|
|
|
8024
8210
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8025
8211
|
* @param actor the actor to raise
|
|
8026
8212
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8213
|
+
* @since 0.6
|
|
8214
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8027
8215
|
* @virtual
|
|
8028
8216
|
*/
|
|
8029
8217
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8038,6 +8226,8 @@ export namespace Meta {
|
|
|
8038
8226
|
* deprecated virtual function. The default implementation will call
|
|
8039
8227
|
* `clutter_actor_remove_child()`.
|
|
8040
8228
|
* @param actor a {@link Clutter.Actor}
|
|
8229
|
+
* @since 0.4
|
|
8230
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8041
8231
|
* @virtual
|
|
8042
8232
|
*/
|
|
8043
8233
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8045,6 +8235,8 @@ export namespace Meta {
|
|
|
8045
8235
|
/**
|
|
8046
8236
|
* Sorts a container's children using their depth. This function should not
|
|
8047
8237
|
* be normally used by applications.
|
|
8238
|
+
* @since 0.6
|
|
8239
|
+
* @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.
|
|
8048
8240
|
* @virtual
|
|
8049
8241
|
*/
|
|
8050
8242
|
vfunc_sort_depth_order(): void;
|
|
@@ -8052,6 +8244,7 @@ export namespace Meta {
|
|
|
8052
8244
|
/**
|
|
8053
8245
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8054
8246
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8247
|
+
* @since 0.6
|
|
8055
8248
|
*/
|
|
8056
8249
|
get_id(): string;
|
|
8057
8250
|
|
|
@@ -8063,6 +8256,7 @@ export namespace Meta {
|
|
|
8063
8256
|
* @param name the name of the node
|
|
8064
8257
|
* @param node the JSON node to be parsed
|
|
8065
8258
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8259
|
+
* @since 0.6
|
|
8066
8260
|
*/
|
|
8067
8261
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8068
8262
|
|
|
@@ -8072,6 +8266,7 @@ export namespace Meta {
|
|
|
8072
8266
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8073
8267
|
* @param name the name of the property
|
|
8074
8268
|
* @param value the value of the property
|
|
8269
|
+
* @since 0.6
|
|
8075
8270
|
*/
|
|
8076
8271
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8077
8272
|
|
|
@@ -8083,11 +8278,13 @@ export namespace Meta {
|
|
|
8083
8278
|
* define a unique name for an object constructable using the UI
|
|
8084
8279
|
* definition language parsed by {@link Clutter.Script}.
|
|
8085
8280
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8281
|
+
* @since 0.6
|
|
8086
8282
|
*/
|
|
8087
8283
|
set_id(id_: string): void;
|
|
8088
8284
|
|
|
8089
8285
|
/**
|
|
8090
8286
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8287
|
+
* @since 0.6
|
|
8091
8288
|
* @virtual
|
|
8092
8289
|
*/
|
|
8093
8290
|
vfunc_get_id(): string;
|
|
@@ -8099,6 +8296,7 @@ export namespace Meta {
|
|
|
8099
8296
|
* @param value the generic value to be set
|
|
8100
8297
|
* @param name the name of the node
|
|
8101
8298
|
* @param node the JSON node to be parsed
|
|
8299
|
+
* @since 0.6
|
|
8102
8300
|
* @virtual
|
|
8103
8301
|
*/
|
|
8104
8302
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8109,6 +8307,7 @@ export namespace Meta {
|
|
|
8109
8307
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8110
8308
|
* @param name the name of the property
|
|
8111
8309
|
* @param value the value of the property
|
|
8310
|
+
* @since 0.6
|
|
8112
8311
|
* @virtual
|
|
8113
8312
|
*/
|
|
8114
8313
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8121,6 +8320,7 @@ export namespace Meta {
|
|
|
8121
8320
|
* define a unique name for an object constructable using the UI
|
|
8122
8321
|
* definition language parsed by {@link Clutter.Script}.
|
|
8123
8322
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8323
|
+
* @since 0.6
|
|
8124
8324
|
* @virtual
|
|
8125
8325
|
*/
|
|
8126
8326
|
vfunc_set_id(id_: string): void;
|
|
@@ -8243,6 +8443,7 @@ export namespace Meta {
|
|
|
8243
8443
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8244
8444
|
* @param property_name the name of the animatable property to find
|
|
8245
8445
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8446
|
+
* @since 1.4
|
|
8246
8447
|
*/
|
|
8247
8448
|
find_property(property_name: string): GObject.ParamSpec;
|
|
8248
8449
|
|
|
@@ -8256,6 +8457,7 @@ export namespace Meta {
|
|
|
8256
8457
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8257
8458
|
* @param property_name the name of the animatable property to retrieve
|
|
8258
8459
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8460
|
+
* @since 1.4
|
|
8259
8461
|
*/
|
|
8260
8462
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
8261
8463
|
|
|
@@ -8273,6 +8475,7 @@ export namespace Meta {
|
|
|
8273
8475
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8274
8476
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8275
8477
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8478
|
+
* @since 1.8
|
|
8276
8479
|
*/
|
|
8277
8480
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
8278
8481
|
|
|
@@ -8280,12 +8483,14 @@ export namespace Meta {
|
|
|
8280
8483
|
* Sets the current state of `property_name` to `value`
|
|
8281
8484
|
* @param property_name the name of the animatable property to set
|
|
8282
8485
|
* @param value the value of the animatable property to set
|
|
8486
|
+
* @since 1.4
|
|
8283
8487
|
*/
|
|
8284
8488
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
8285
8489
|
|
|
8286
8490
|
/**
|
|
8287
8491
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8288
8492
|
* @param property_name the name of the animatable property to find
|
|
8493
|
+
* @since 1.4
|
|
8289
8494
|
* @virtual
|
|
8290
8495
|
*/
|
|
8291
8496
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -8300,6 +8505,7 @@ export namespace Meta {
|
|
|
8300
8505
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8301
8506
|
* @param property_name the name of the animatable property to retrieve
|
|
8302
8507
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8508
|
+
* @since 1.4
|
|
8303
8509
|
* @virtual
|
|
8304
8510
|
*/
|
|
8305
8511
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -8317,6 +8523,7 @@ export namespace Meta {
|
|
|
8317
8523
|
* @param property_name the name of the property to interpolate
|
|
8318
8524
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8319
8525
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8526
|
+
* @since 1.8
|
|
8320
8527
|
* @virtual
|
|
8321
8528
|
*/
|
|
8322
8529
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -8325,6 +8532,7 @@ export namespace Meta {
|
|
|
8325
8532
|
* Sets the current state of `property_name` to `value`
|
|
8326
8533
|
* @param property_name the name of the animatable property to set
|
|
8327
8534
|
* @param value the value of the animatable property to set
|
|
8535
|
+
* @since 1.4
|
|
8328
8536
|
* @virtual
|
|
8329
8537
|
*/
|
|
8330
8538
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -8339,6 +8547,8 @@ export namespace Meta {
|
|
|
8339
8547
|
* deprecated virtual function. The default implementation will
|
|
8340
8548
|
* call `clutter_actor_add_child()`.
|
|
8341
8549
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8550
|
+
* @since 0.4
|
|
8551
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8342
8552
|
*/
|
|
8343
8553
|
add_actor(actor: Clutter.Actor): void;
|
|
8344
8554
|
|
|
@@ -8353,6 +8563,7 @@ export namespace Meta {
|
|
|
8353
8563
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8354
8564
|
* @param property the name of the property to set.
|
|
8355
8565
|
* @param value the value.
|
|
8566
|
+
* @since 0.8
|
|
8356
8567
|
*/
|
|
8357
8568
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8358
8569
|
|
|
@@ -8362,6 +8573,7 @@ export namespace Meta {
|
|
|
8362
8573
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8363
8574
|
* @param child a {@link Clutter.Actor}
|
|
8364
8575
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8576
|
+
* @since 1.6
|
|
8365
8577
|
*/
|
|
8366
8578
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
8367
8579
|
|
|
@@ -8370,6 +8582,7 @@ export namespace Meta {
|
|
|
8370
8582
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8371
8583
|
* @param property the name of the property to set.
|
|
8372
8584
|
* @param value the value.
|
|
8585
|
+
* @since 0.8
|
|
8373
8586
|
*/
|
|
8374
8587
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8375
8588
|
|
|
@@ -8384,6 +8597,7 @@ export namespace Meta {
|
|
|
8384
8597
|
*
|
|
8385
8598
|
* Applications should not call this function.
|
|
8386
8599
|
* @param actor a {@link Clutter.Actor}
|
|
8600
|
+
* @since 1.2
|
|
8387
8601
|
*/
|
|
8388
8602
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8389
8603
|
|
|
@@ -8397,6 +8611,7 @@ export namespace Meta {
|
|
|
8397
8611
|
*
|
|
8398
8612
|
* Applications should not call this function.
|
|
8399
8613
|
* @param actor a {@link Clutter.Actor}
|
|
8614
|
+
* @since 1.2
|
|
8400
8615
|
*/
|
|
8401
8616
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8402
8617
|
|
|
@@ -8405,6 +8620,7 @@ export namespace Meta {
|
|
|
8405
8620
|
* into any child container.
|
|
8406
8621
|
* @param child_name the name of the requested child.
|
|
8407
8622
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8623
|
+
* @since 0.6
|
|
8408
8624
|
*/
|
|
8409
8625
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8410
8626
|
|
|
@@ -8413,12 +8629,15 @@ export namespace Meta {
|
|
|
8413
8629
|
* `container` specific state for `actor`.
|
|
8414
8630
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8415
8631
|
* @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
|
|
8632
|
+
* @since 0.8
|
|
8416
8633
|
*/
|
|
8417
8634
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8418
8635
|
|
|
8419
8636
|
/**
|
|
8420
8637
|
* Retrieves all the children of `container`.
|
|
8421
8638
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8639
|
+
* @since 0.4
|
|
8640
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8422
8641
|
*/
|
|
8423
8642
|
get_children(): Clutter.Actor[];
|
|
8424
8643
|
|
|
@@ -8430,6 +8649,8 @@ export namespace Meta {
|
|
|
8430
8649
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8431
8650
|
* @param actor the actor to raise
|
|
8432
8651
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8652
|
+
* @since 0.6
|
|
8653
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8433
8654
|
*/
|
|
8434
8655
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8435
8656
|
|
|
@@ -8441,6 +8662,8 @@ export namespace Meta {
|
|
|
8441
8662
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8442
8663
|
* @param actor the actor to raise
|
|
8443
8664
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8665
|
+
* @since 0.6
|
|
8666
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8444
8667
|
*/
|
|
8445
8668
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8446
8669
|
|
|
@@ -8454,12 +8677,16 @@ export namespace Meta {
|
|
|
8454
8677
|
* deprecated virtual function. The default implementation will call
|
|
8455
8678
|
* `clutter_actor_remove_child()`.
|
|
8456
8679
|
* @param actor a {@link Clutter.Actor}
|
|
8680
|
+
* @since 0.4
|
|
8681
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8457
8682
|
*/
|
|
8458
8683
|
remove_actor(actor: Clutter.Actor): void;
|
|
8459
8684
|
|
|
8460
8685
|
/**
|
|
8461
8686
|
* Sorts a container's children using their depth. This function should not
|
|
8462
8687
|
* be normally used by applications.
|
|
8688
|
+
* @since 0.6
|
|
8689
|
+
* @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.
|
|
8463
8690
|
*/
|
|
8464
8691
|
sort_depth_order(): void;
|
|
8465
8692
|
|
|
@@ -8485,6 +8712,8 @@ export namespace Meta {
|
|
|
8485
8712
|
* deprecated virtual function. The default implementation will
|
|
8486
8713
|
* call `clutter_actor_add_child()`.
|
|
8487
8714
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8715
|
+
* @since 0.4
|
|
8716
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8488
8717
|
* @virtual
|
|
8489
8718
|
*/
|
|
8490
8719
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8495,6 +8724,7 @@ export namespace Meta {
|
|
|
8495
8724
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8496
8725
|
* @param child a {@link Clutter.Actor}
|
|
8497
8726
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8727
|
+
* @since 1.6
|
|
8498
8728
|
* @virtual
|
|
8499
8729
|
*/
|
|
8500
8730
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8510,6 +8740,7 @@ export namespace Meta {
|
|
|
8510
8740
|
*
|
|
8511
8741
|
* Applications should not call this function.
|
|
8512
8742
|
* @param actor a {@link Clutter.Actor}
|
|
8743
|
+
* @since 1.2
|
|
8513
8744
|
* @virtual
|
|
8514
8745
|
*/
|
|
8515
8746
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8524,6 +8755,7 @@ export namespace Meta {
|
|
|
8524
8755
|
*
|
|
8525
8756
|
* Applications should not call this function.
|
|
8526
8757
|
* @param actor a {@link Clutter.Actor}
|
|
8758
|
+
* @since 1.2
|
|
8527
8759
|
* @virtual
|
|
8528
8760
|
*/
|
|
8529
8761
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8532,6 +8764,7 @@ export namespace Meta {
|
|
|
8532
8764
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8533
8765
|
* `container` specific state for `actor`.
|
|
8534
8766
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8767
|
+
* @since 0.8
|
|
8535
8768
|
* @virtual
|
|
8536
8769
|
*/
|
|
8537
8770
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8544,6 +8777,8 @@ export namespace Meta {
|
|
|
8544
8777
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8545
8778
|
* @param actor the actor to raise
|
|
8546
8779
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8780
|
+
* @since 0.6
|
|
8781
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8547
8782
|
* @virtual
|
|
8548
8783
|
*/
|
|
8549
8784
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8556,6 +8791,8 @@ export namespace Meta {
|
|
|
8556
8791
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8557
8792
|
* @param actor the actor to raise
|
|
8558
8793
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8794
|
+
* @since 0.6
|
|
8795
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8559
8796
|
* @virtual
|
|
8560
8797
|
*/
|
|
8561
8798
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8570,6 +8807,8 @@ export namespace Meta {
|
|
|
8570
8807
|
* deprecated virtual function. The default implementation will call
|
|
8571
8808
|
* `clutter_actor_remove_child()`.
|
|
8572
8809
|
* @param actor a {@link Clutter.Actor}
|
|
8810
|
+
* @since 0.4
|
|
8811
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8573
8812
|
* @virtual
|
|
8574
8813
|
*/
|
|
8575
8814
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8577,6 +8816,8 @@ export namespace Meta {
|
|
|
8577
8816
|
/**
|
|
8578
8817
|
* Sorts a container's children using their depth. This function should not
|
|
8579
8818
|
* be normally used by applications.
|
|
8819
|
+
* @since 0.6
|
|
8820
|
+
* @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.
|
|
8580
8821
|
* @virtual
|
|
8581
8822
|
*/
|
|
8582
8823
|
vfunc_sort_depth_order(): void;
|
|
@@ -8584,6 +8825,7 @@ export namespace Meta {
|
|
|
8584
8825
|
/**
|
|
8585
8826
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8586
8827
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8828
|
+
* @since 0.6
|
|
8587
8829
|
*/
|
|
8588
8830
|
get_id(): string;
|
|
8589
8831
|
|
|
@@ -8595,6 +8837,7 @@ export namespace Meta {
|
|
|
8595
8837
|
* @param name the name of the node
|
|
8596
8838
|
* @param node the JSON node to be parsed
|
|
8597
8839
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8840
|
+
* @since 0.6
|
|
8598
8841
|
*/
|
|
8599
8842
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8600
8843
|
|
|
@@ -8604,6 +8847,7 @@ export namespace Meta {
|
|
|
8604
8847
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8605
8848
|
* @param name the name of the property
|
|
8606
8849
|
* @param value the value of the property
|
|
8850
|
+
* @since 0.6
|
|
8607
8851
|
*/
|
|
8608
8852
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8609
8853
|
|
|
@@ -8615,11 +8859,13 @@ export namespace Meta {
|
|
|
8615
8859
|
* define a unique name for an object constructable using the UI
|
|
8616
8860
|
* definition language parsed by {@link Clutter.Script}.
|
|
8617
8861
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8862
|
+
* @since 0.6
|
|
8618
8863
|
*/
|
|
8619
8864
|
set_id(id_: string): void;
|
|
8620
8865
|
|
|
8621
8866
|
/**
|
|
8622
8867
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8868
|
+
* @since 0.6
|
|
8623
8869
|
* @virtual
|
|
8624
8870
|
*/
|
|
8625
8871
|
vfunc_get_id(): string;
|
|
@@ -8631,6 +8877,7 @@ export namespace Meta {
|
|
|
8631
8877
|
* @param value the generic value to be set
|
|
8632
8878
|
* @param name the name of the node
|
|
8633
8879
|
* @param node the JSON node to be parsed
|
|
8880
|
+
* @since 0.6
|
|
8634
8881
|
* @virtual
|
|
8635
8882
|
*/
|
|
8636
8883
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8641,6 +8888,7 @@ export namespace Meta {
|
|
|
8641
8888
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8642
8889
|
* @param name the name of the property
|
|
8643
8890
|
* @param value the value of the property
|
|
8891
|
+
* @since 0.6
|
|
8644
8892
|
* @virtual
|
|
8645
8893
|
*/
|
|
8646
8894
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8653,6 +8901,7 @@ export namespace Meta {
|
|
|
8653
8901
|
* define a unique name for an object constructable using the UI
|
|
8654
8902
|
* definition language parsed by {@link Clutter.Script}.
|
|
8655
8903
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8904
|
+
* @since 0.6
|
|
8656
8905
|
* @virtual
|
|
8657
8906
|
*/
|
|
8658
8907
|
vfunc_set_id(id_: string): void;
|
|
@@ -8666,12 +8915,12 @@ export namespace Meta {
|
|
|
8666
8915
|
* @signal
|
|
8667
8916
|
* @run-last
|
|
8668
8917
|
*/
|
|
8669
|
-
"window-added": (
|
|
8918
|
+
"window-added": (object: Window) => void;
|
|
8670
8919
|
/**
|
|
8671
8920
|
* @signal
|
|
8672
8921
|
* @run-last
|
|
8673
8922
|
*/
|
|
8674
|
-
"window-removed": (
|
|
8923
|
+
"window-removed": (object: Window) => void;
|
|
8675
8924
|
"notify::active": (pspec: GObject.ParamSpec) => void;
|
|
8676
8925
|
"notify::n-windows": (pspec: GObject.ParamSpec) => void;
|
|
8677
8926
|
"notify::workspace-index": (pspec: GObject.ParamSpec) => void;
|
|
@@ -8833,17 +9082,17 @@ export namespace Meta {
|
|
|
8833
9082
|
* @signal
|
|
8834
9083
|
* @run-last
|
|
8835
9084
|
*/
|
|
8836
|
-
"workspace-added": (
|
|
9085
|
+
"workspace-added": (object: number) => void;
|
|
8837
9086
|
/**
|
|
8838
9087
|
* @signal
|
|
8839
9088
|
* @run-last
|
|
8840
9089
|
*/
|
|
8841
|
-
"workspace-removed": (
|
|
9090
|
+
"workspace-removed": (object: number) => void;
|
|
8842
9091
|
/**
|
|
8843
9092
|
* @signal
|
|
8844
9093
|
* @run-last
|
|
8845
9094
|
*/
|
|
8846
|
-
"workspace-switched": (
|
|
9095
|
+
"workspace-switched": (object: number, p0: number, p1: MotionDirection) => void;
|
|
8847
9096
|
/**
|
|
8848
9097
|
* @signal
|
|
8849
9098
|
* @run-last
|