@girs/meta-7 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-7.d.ts +659 -398
- package/package.json +24 -24
package/meta-7.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,100 +1428,148 @@ 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 3
|
|
1517
|
+
*/
|
|
1503
1518
|
const MAJOR_VERSION: number;
|
|
1504
1519
|
|
|
1520
|
+
/**
|
|
1521
|
+
* @default 4
|
|
1522
|
+
*/
|
|
1505
1523
|
const MICRO_VERSION: number;
|
|
1506
1524
|
|
|
1525
|
+
/**
|
|
1526
|
+
* @default 16
|
|
1527
|
+
*/
|
|
1507
1528
|
const MINI_ICON_HEIGHT: number;
|
|
1508
1529
|
|
|
1530
|
+
/**
|
|
1531
|
+
* @default 16
|
|
1532
|
+
*/
|
|
1509
1533
|
const MINI_ICON_WIDTH: number;
|
|
1510
1534
|
|
|
1535
|
+
/**
|
|
1536
|
+
* @default 38
|
|
1537
|
+
*/
|
|
1511
1538
|
const MINOR_VERSION: number;
|
|
1512
1539
|
|
|
1540
|
+
/**
|
|
1541
|
+
* @default 3
|
|
1542
|
+
*/
|
|
1513
1543
|
const PLUGIN_API_VERSION: number;
|
|
1514
1544
|
|
|
1545
|
+
/**
|
|
1546
|
+
* @default 40
|
|
1547
|
+
*/
|
|
1515
1548
|
const PRIORITY_BEFORE_REDRAW: number;
|
|
1516
1549
|
|
|
1550
|
+
/**
|
|
1551
|
+
* @default 10
|
|
1552
|
+
*/
|
|
1517
1553
|
const PRIORITY_PREFS_NOTIFY: number;
|
|
1518
1554
|
|
|
1555
|
+
/**
|
|
1556
|
+
* @default 50
|
|
1557
|
+
*/
|
|
1519
1558
|
const PRIORITY_REDRAW: number;
|
|
1520
1559
|
|
|
1560
|
+
/**
|
|
1561
|
+
* @default 15
|
|
1562
|
+
*/
|
|
1521
1563
|
const PRIORITY_RESIZE: number;
|
|
1522
1564
|
|
|
1565
|
+
/**
|
|
1566
|
+
* @default 3
|
|
1567
|
+
*/
|
|
1523
1568
|
const VIRTUAL_CORE_KEYBOARD_ID: number;
|
|
1524
1569
|
|
|
1570
|
+
/**
|
|
1571
|
+
* @default 2
|
|
1572
|
+
*/
|
|
1525
1573
|
const VIRTUAL_CORE_POINTER_ID: number;
|
|
1526
1574
|
|
|
1527
1575
|
/**
|
|
@@ -1896,6 +1944,9 @@ export namespace Meta {
|
|
|
1896
1944
|
*/
|
|
1897
1945
|
function x11_error_trap_push(x11_display: X11Display): void;
|
|
1898
1946
|
|
|
1947
|
+
/**
|
|
1948
|
+
* @throws GLib.Error
|
|
1949
|
+
*/
|
|
1899
1950
|
function x11_init_gdk_display(): boolean;
|
|
1900
1951
|
|
|
1901
1952
|
/**
|
|
@@ -1940,19 +1991,19 @@ export namespace Meta {
|
|
|
1940
1991
|
/**
|
|
1941
1992
|
* Positive direction in the X axis
|
|
1942
1993
|
*/
|
|
1943
|
-
POSITIVE_X,
|
|
1994
|
+
POSITIVE_X = 1,
|
|
1944
1995
|
/**
|
|
1945
1996
|
* Positive direction in the Y axis
|
|
1946
1997
|
*/
|
|
1947
|
-
POSITIVE_Y,
|
|
1998
|
+
POSITIVE_Y = 2,
|
|
1948
1999
|
/**
|
|
1949
2000
|
* Negative direction in the X axis
|
|
1950
2001
|
*/
|
|
1951
|
-
NEGATIVE_X,
|
|
2002
|
+
NEGATIVE_X = 4,
|
|
1952
2003
|
/**
|
|
1953
2004
|
* Negative direction in the Y axis
|
|
1954
2005
|
*/
|
|
1955
|
-
NEGATIVE_Y,
|
|
2006
|
+
NEGATIVE_Y = 8,
|
|
1956
2007
|
}
|
|
1957
2008
|
|
|
1958
2009
|
|
|
@@ -1970,11 +2021,11 @@ export namespace Meta {
|
|
|
1970
2021
|
/**
|
|
1971
2022
|
* default
|
|
1972
2023
|
*/
|
|
1973
|
-
NONE,
|
|
2024
|
+
NONE = 0,
|
|
1974
2025
|
/**
|
|
1975
2026
|
* paint opaque regions
|
|
1976
2027
|
*/
|
|
1977
|
-
OPAQUE_REGION,
|
|
2028
|
+
OPAQUE_REGION = 1,
|
|
1978
2029
|
}
|
|
1979
2030
|
|
|
1980
2031
|
|
|
@@ -1992,97 +2043,97 @@ export namespace Meta {
|
|
|
1992
2043
|
/**
|
|
1993
2044
|
* verbose logging
|
|
1994
2045
|
*/
|
|
1995
|
-
VERBOSE,
|
|
2046
|
+
VERBOSE = -1,
|
|
1996
2047
|
/**
|
|
1997
2048
|
* focus
|
|
1998
2049
|
*/
|
|
1999
|
-
FOCUS,
|
|
2050
|
+
FOCUS = 1,
|
|
2000
2051
|
/**
|
|
2001
2052
|
* workarea
|
|
2002
2053
|
*/
|
|
2003
|
-
WORKAREA,
|
|
2054
|
+
WORKAREA = 2,
|
|
2004
2055
|
/**
|
|
2005
2056
|
* stack
|
|
2006
2057
|
*/
|
|
2007
|
-
STACK,
|
|
2058
|
+
STACK = 4,
|
|
2008
2059
|
/**
|
|
2009
2060
|
* themes
|
|
2010
2061
|
*/
|
|
2011
|
-
THEMES,
|
|
2062
|
+
THEMES = 8,
|
|
2012
2063
|
/**
|
|
2013
2064
|
* session management
|
|
2014
2065
|
*/
|
|
2015
|
-
SM,
|
|
2066
|
+
SM = 16,
|
|
2016
2067
|
/**
|
|
2017
2068
|
* events
|
|
2018
2069
|
*/
|
|
2019
|
-
EVENTS,
|
|
2070
|
+
EVENTS = 32,
|
|
2020
2071
|
/**
|
|
2021
2072
|
* window state
|
|
2022
2073
|
*/
|
|
2023
|
-
WINDOW_STATE,
|
|
2074
|
+
WINDOW_STATE = 64,
|
|
2024
2075
|
/**
|
|
2025
2076
|
* window operations
|
|
2026
2077
|
*/
|
|
2027
|
-
WINDOW_OPS,
|
|
2078
|
+
WINDOW_OPS = 128,
|
|
2028
2079
|
/**
|
|
2029
2080
|
* geometry
|
|
2030
2081
|
*/
|
|
2031
|
-
GEOMETRY,
|
|
2082
|
+
GEOMETRY = 256,
|
|
2032
2083
|
/**
|
|
2033
2084
|
* window placement
|
|
2034
2085
|
*/
|
|
2035
|
-
PLACEMENT,
|
|
2086
|
+
PLACEMENT = 512,
|
|
2036
2087
|
/**
|
|
2037
2088
|
* ping
|
|
2038
2089
|
*/
|
|
2039
|
-
PING,
|
|
2090
|
+
PING = 1024,
|
|
2040
2091
|
/**
|
|
2041
2092
|
* Xinerama
|
|
2042
2093
|
*/
|
|
2043
|
-
XINERAMA,
|
|
2094
|
+
XINERAMA = 2048,
|
|
2044
2095
|
/**
|
|
2045
2096
|
* keybindings
|
|
2046
2097
|
*/
|
|
2047
|
-
KEYBINDINGS,
|
|
2098
|
+
KEYBINDINGS = 4096,
|
|
2048
2099
|
/**
|
|
2049
2100
|
* sync
|
|
2050
2101
|
*/
|
|
2051
|
-
SYNC,
|
|
2102
|
+
SYNC = 8192,
|
|
2052
2103
|
/**
|
|
2053
2104
|
* errors
|
|
2054
2105
|
*/
|
|
2055
|
-
ERRORS,
|
|
2106
|
+
ERRORS = 16384,
|
|
2056
2107
|
/**
|
|
2057
2108
|
* startup
|
|
2058
2109
|
*/
|
|
2059
|
-
STARTUP,
|
|
2110
|
+
STARTUP = 32768,
|
|
2060
2111
|
/**
|
|
2061
2112
|
* preferences
|
|
2062
2113
|
*/
|
|
2063
|
-
PREFS,
|
|
2114
|
+
PREFS = 65536,
|
|
2064
2115
|
/**
|
|
2065
2116
|
* groups
|
|
2066
2117
|
*/
|
|
2067
|
-
GROUPS,
|
|
2118
|
+
GROUPS = 131072,
|
|
2068
2119
|
/**
|
|
2069
2120
|
* resizing
|
|
2070
2121
|
*/
|
|
2071
|
-
RESIZING,
|
|
2122
|
+
RESIZING = 262144,
|
|
2072
2123
|
/**
|
|
2073
2124
|
* shapes
|
|
2074
2125
|
*/
|
|
2075
|
-
SHAPES,
|
|
2126
|
+
SHAPES = 524288,
|
|
2076
2127
|
/**
|
|
2077
2128
|
* compositor
|
|
2078
2129
|
*/
|
|
2079
|
-
COMPOSITOR,
|
|
2130
|
+
COMPOSITOR = 1048576,
|
|
2080
2131
|
/**
|
|
2081
2132
|
* edge resistance
|
|
2082
2133
|
*/
|
|
2083
|
-
EDGE_RESISTANCE,
|
|
2084
|
-
DBUS,
|
|
2085
|
-
INPUT,
|
|
2134
|
+
EDGE_RESISTANCE = 2097152,
|
|
2135
|
+
DBUS = 4194304,
|
|
2136
|
+
INPUT = 8388608,
|
|
2086
2137
|
}
|
|
2087
2138
|
|
|
2088
2139
|
|
|
@@ -2100,35 +2151,35 @@ export namespace Meta {
|
|
|
2100
2151
|
/**
|
|
2101
2152
|
* Left
|
|
2102
2153
|
*/
|
|
2103
|
-
LEFT,
|
|
2154
|
+
LEFT = 1,
|
|
2104
2155
|
/**
|
|
2105
2156
|
* Right
|
|
2106
2157
|
*/
|
|
2107
|
-
RIGHT,
|
|
2158
|
+
RIGHT = 2,
|
|
2108
2159
|
/**
|
|
2109
2160
|
* Top
|
|
2110
2161
|
*/
|
|
2111
|
-
TOP,
|
|
2162
|
+
TOP = 4,
|
|
2112
2163
|
/**
|
|
2113
2164
|
* Bottom
|
|
2114
2165
|
*/
|
|
2115
|
-
BOTTOM,
|
|
2166
|
+
BOTTOM = 8,
|
|
2116
2167
|
/**
|
|
2117
2168
|
* Up
|
|
2118
2169
|
*/
|
|
2119
|
-
UP,
|
|
2170
|
+
UP = 4,
|
|
2120
2171
|
/**
|
|
2121
2172
|
* Down
|
|
2122
2173
|
*/
|
|
2123
|
-
DOWN,
|
|
2174
|
+
DOWN = 8,
|
|
2124
2175
|
/**
|
|
2125
2176
|
* Horizontal
|
|
2126
2177
|
*/
|
|
2127
|
-
HORIZONTAL,
|
|
2178
|
+
HORIZONTAL = 3,
|
|
2128
2179
|
/**
|
|
2129
2180
|
* Vertical
|
|
2130
2181
|
*/
|
|
2131
|
-
VERTICAL,
|
|
2182
|
+
VERTICAL = 12,
|
|
2132
2183
|
}
|
|
2133
2184
|
|
|
2134
2185
|
|
|
@@ -2146,67 +2197,67 @@ export namespace Meta {
|
|
|
2146
2197
|
/**
|
|
2147
2198
|
* frame allows delete
|
|
2148
2199
|
*/
|
|
2149
|
-
ALLOWS_DELETE,
|
|
2200
|
+
ALLOWS_DELETE = 1,
|
|
2150
2201
|
/**
|
|
2151
2202
|
* frame allows menu
|
|
2152
2203
|
*/
|
|
2153
|
-
ALLOWS_MENU,
|
|
2204
|
+
ALLOWS_MENU = 2,
|
|
2154
2205
|
/**
|
|
2155
2206
|
* frame allows minimize
|
|
2156
2207
|
*/
|
|
2157
|
-
ALLOWS_MINIMIZE,
|
|
2208
|
+
ALLOWS_MINIMIZE = 4,
|
|
2158
2209
|
/**
|
|
2159
2210
|
* frame allows maximize
|
|
2160
2211
|
*/
|
|
2161
|
-
ALLOWS_MAXIMIZE,
|
|
2212
|
+
ALLOWS_MAXIMIZE = 8,
|
|
2162
2213
|
/**
|
|
2163
2214
|
* frame allows vertical resize
|
|
2164
2215
|
*/
|
|
2165
|
-
ALLOWS_VERTICAL_RESIZE,
|
|
2216
|
+
ALLOWS_VERTICAL_RESIZE = 16,
|
|
2166
2217
|
/**
|
|
2167
2218
|
* frame allows horizontal resize
|
|
2168
2219
|
*/
|
|
2169
|
-
ALLOWS_HORIZONTAL_RESIZE,
|
|
2220
|
+
ALLOWS_HORIZONTAL_RESIZE = 32,
|
|
2170
2221
|
/**
|
|
2171
2222
|
* frame has focus
|
|
2172
2223
|
*/
|
|
2173
|
-
HAS_FOCUS,
|
|
2224
|
+
HAS_FOCUS = 64,
|
|
2174
2225
|
/**
|
|
2175
2226
|
* frame is shaded
|
|
2176
2227
|
*/
|
|
2177
|
-
SHADED,
|
|
2228
|
+
SHADED = 128,
|
|
2178
2229
|
/**
|
|
2179
2230
|
* frame is stuck
|
|
2180
2231
|
*/
|
|
2181
|
-
STUCK,
|
|
2232
|
+
STUCK = 256,
|
|
2182
2233
|
/**
|
|
2183
2234
|
* frame is maximized
|
|
2184
2235
|
*/
|
|
2185
|
-
MAXIMIZED,
|
|
2236
|
+
MAXIMIZED = 512,
|
|
2186
2237
|
/**
|
|
2187
2238
|
* frame allows shade
|
|
2188
2239
|
*/
|
|
2189
|
-
ALLOWS_SHADE,
|
|
2240
|
+
ALLOWS_SHADE = 1024,
|
|
2190
2241
|
/**
|
|
2191
2242
|
* frame allows move
|
|
2192
2243
|
*/
|
|
2193
|
-
ALLOWS_MOVE,
|
|
2244
|
+
ALLOWS_MOVE = 2048,
|
|
2194
2245
|
/**
|
|
2195
2246
|
* frame allows fullscreen
|
|
2196
2247
|
*/
|
|
2197
|
-
FULLSCREEN,
|
|
2248
|
+
FULLSCREEN = 4096,
|
|
2198
2249
|
/**
|
|
2199
2250
|
* frame is above
|
|
2200
2251
|
*/
|
|
2201
|
-
ABOVE,
|
|
2252
|
+
ABOVE = 8192,
|
|
2202
2253
|
/**
|
|
2203
2254
|
* frame is tiled to the left
|
|
2204
2255
|
*/
|
|
2205
|
-
TILED_LEFT,
|
|
2256
|
+
TILED_LEFT = 16384,
|
|
2206
2257
|
/**
|
|
2207
2258
|
* frame is tiled to the right
|
|
2208
2259
|
*/
|
|
2209
|
-
TILED_RIGHT,
|
|
2260
|
+
TILED_RIGHT = 32768,
|
|
2210
2261
|
}
|
|
2211
2262
|
|
|
2212
2263
|
|
|
@@ -2224,28 +2275,28 @@ export namespace Meta {
|
|
|
2224
2275
|
/**
|
|
2225
2276
|
* none
|
|
2226
2277
|
*/
|
|
2227
|
-
NONE,
|
|
2278
|
+
NONE = 0,
|
|
2228
2279
|
/**
|
|
2229
2280
|
* per-window
|
|
2230
2281
|
*/
|
|
2231
|
-
PER_WINDOW,
|
|
2282
|
+
PER_WINDOW = 1,
|
|
2232
2283
|
/**
|
|
2233
2284
|
* built-in
|
|
2234
2285
|
*/
|
|
2235
|
-
BUILTIN,
|
|
2286
|
+
BUILTIN = 2,
|
|
2236
2287
|
/**
|
|
2237
2288
|
* is reversed
|
|
2238
2289
|
*/
|
|
2239
|
-
IS_REVERSED,
|
|
2290
|
+
IS_REVERSED = 4,
|
|
2240
2291
|
/**
|
|
2241
2292
|
* always active
|
|
2242
2293
|
*/
|
|
2243
|
-
NON_MASKABLE,
|
|
2244
|
-
IGNORE_AUTOREPEAT,
|
|
2294
|
+
NON_MASKABLE = 8,
|
|
2295
|
+
IGNORE_AUTOREPEAT = 16,
|
|
2245
2296
|
/**
|
|
2246
2297
|
* not grabbed automatically
|
|
2247
2298
|
*/
|
|
2248
|
-
NO_AUTO_GRAB,
|
|
2299
|
+
NO_AUTO_GRAB = 32,
|
|
2249
2300
|
}
|
|
2250
2301
|
|
|
2251
2302
|
|
|
@@ -2263,15 +2314,15 @@ export namespace Meta {
|
|
|
2263
2314
|
/**
|
|
2264
2315
|
* Horizontal
|
|
2265
2316
|
*/
|
|
2266
|
-
HORIZONTAL,
|
|
2317
|
+
HORIZONTAL = 1,
|
|
2267
2318
|
/**
|
|
2268
2319
|
* Vertical
|
|
2269
2320
|
*/
|
|
2270
|
-
VERTICAL,
|
|
2321
|
+
VERTICAL = 2,
|
|
2271
2322
|
/**
|
|
2272
2323
|
* Both
|
|
2273
2324
|
*/
|
|
2274
|
-
BOTH,
|
|
2325
|
+
BOTH = 3,
|
|
2275
2326
|
}
|
|
2276
2327
|
|
|
2277
2328
|
|
|
@@ -2291,12 +2342,12 @@ export namespace Meta {
|
|
|
2291
2342
|
* if set the pointer is already
|
|
2292
2343
|
* grabbed by the plugin and should not be grabbed again.
|
|
2293
2344
|
*/
|
|
2294
|
-
POINTER_ALREADY_GRABBED,
|
|
2345
|
+
POINTER_ALREADY_GRABBED = 1,
|
|
2295
2346
|
/**
|
|
2296
2347
|
* if set the keyboard is already
|
|
2297
2348
|
* grabbed by the plugin and should not be grabbed again.
|
|
2298
2349
|
*/
|
|
2299
|
-
KEYBOARD_ALREADY_GRABBED,
|
|
2350
|
+
KEYBOARD_ALREADY_GRABBED = 2,
|
|
2300
2351
|
}
|
|
2301
2352
|
|
|
2302
2353
|
|
|
@@ -2314,43 +2365,43 @@ export namespace Meta {
|
|
|
2314
2365
|
/**
|
|
2315
2366
|
* Shift mask
|
|
2316
2367
|
*/
|
|
2317
|
-
SHIFT_MASK,
|
|
2368
|
+
SHIFT_MASK = 32,
|
|
2318
2369
|
/**
|
|
2319
2370
|
* Control mask
|
|
2320
2371
|
*/
|
|
2321
|
-
CONTROL_MASK,
|
|
2372
|
+
CONTROL_MASK = 64,
|
|
2322
2373
|
/**
|
|
2323
2374
|
* Alt mask
|
|
2324
2375
|
*/
|
|
2325
|
-
ALT_MASK,
|
|
2376
|
+
ALT_MASK = 128,
|
|
2326
2377
|
/**
|
|
2327
2378
|
* Meta mask
|
|
2328
2379
|
*/
|
|
2329
|
-
META_MASK,
|
|
2380
|
+
META_MASK = 256,
|
|
2330
2381
|
/**
|
|
2331
2382
|
* Super mask
|
|
2332
2383
|
*/
|
|
2333
|
-
SUPER_MASK,
|
|
2384
|
+
SUPER_MASK = 512,
|
|
2334
2385
|
/**
|
|
2335
2386
|
* Hyper mask
|
|
2336
2387
|
*/
|
|
2337
|
-
HYPER_MASK,
|
|
2388
|
+
HYPER_MASK = 1024,
|
|
2338
2389
|
/**
|
|
2339
2390
|
* Mod2 mask
|
|
2340
2391
|
*/
|
|
2341
|
-
MOD2_MASK,
|
|
2392
|
+
MOD2_MASK = 2048,
|
|
2342
2393
|
/**
|
|
2343
2394
|
* Mod3 mask
|
|
2344
2395
|
*/
|
|
2345
|
-
MOD3_MASK,
|
|
2396
|
+
MOD3_MASK = 4096,
|
|
2346
2397
|
/**
|
|
2347
2398
|
* Mod4 mask
|
|
2348
2399
|
*/
|
|
2349
|
-
MOD4_MASK,
|
|
2400
|
+
MOD4_MASK = 8192,
|
|
2350
2401
|
/**
|
|
2351
2402
|
* Mod5 mask
|
|
2352
2403
|
*/
|
|
2353
|
-
MOD5_MASK,
|
|
2404
|
+
MOD5_MASK = 16384,
|
|
2354
2405
|
}
|
|
2355
2406
|
|
|
2356
2407
|
|
|
@@ -2361,7 +2412,7 @@ export namespace Meta {
|
|
|
2361
2412
|
* @signal
|
|
2362
2413
|
* @run-last
|
|
2363
2414
|
*/
|
|
2364
|
-
"gpu-added": (
|
|
2415
|
+
"gpu-added": (gpu: unknown) => void;
|
|
2365
2416
|
/**
|
|
2366
2417
|
* @signal
|
|
2367
2418
|
* @run-last
|
|
@@ -2371,17 +2422,17 @@ export namespace Meta {
|
|
|
2371
2422
|
* @signal
|
|
2372
2423
|
* @run-last
|
|
2373
2424
|
*/
|
|
2374
|
-
"keymap-layout-group-changed": (
|
|
2425
|
+
"keymap-layout-group-changed": (object: number) => void;
|
|
2375
2426
|
/**
|
|
2376
2427
|
* @signal
|
|
2377
2428
|
* @run-last
|
|
2378
2429
|
*/
|
|
2379
|
-
"last-device-changed": (
|
|
2430
|
+
"last-device-changed": (object: Clutter.InputDevice) => void;
|
|
2380
2431
|
/**
|
|
2381
2432
|
* @signal
|
|
2382
2433
|
* @run-last
|
|
2383
2434
|
*/
|
|
2384
|
-
"lid-is-closed-changed": (
|
|
2435
|
+
"lid-is-closed-changed": (object: boolean) => void;
|
|
2385
2436
|
}
|
|
2386
2437
|
|
|
2387
2438
|
// Constructor properties interface
|
|
@@ -2502,6 +2553,8 @@ export namespace Meta {
|
|
|
2502
2553
|
* instance.
|
|
2503
2554
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2504
2555
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2556
|
+
* @since 2.22
|
|
2557
|
+
* @throws GLib.Error
|
|
2505
2558
|
*/
|
|
2506
2559
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2507
2560
|
|
|
@@ -2545,6 +2598,7 @@ export namespace Meta {
|
|
|
2545
2598
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2546
2599
|
* instance.
|
|
2547
2600
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2601
|
+
* @since 2.22
|
|
2548
2602
|
* @virtual
|
|
2549
2603
|
*/
|
|
2550
2604
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2795,6 +2849,7 @@ export namespace Meta {
|
|
|
2795
2849
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2796
2850
|
* @param property_name the name of the animatable property to find
|
|
2797
2851
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
2852
|
+
* @since 1.4
|
|
2798
2853
|
*/
|
|
2799
2854
|
find_property(property_name: string): GObject.ParamSpec;
|
|
2800
2855
|
|
|
@@ -2808,6 +2863,7 @@ export namespace Meta {
|
|
|
2808
2863
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2809
2864
|
* @param property_name the name of the animatable property to retrieve
|
|
2810
2865
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2866
|
+
* @since 1.4
|
|
2811
2867
|
*/
|
|
2812
2868
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2813
2869
|
|
|
@@ -2825,6 +2881,7 @@ export namespace Meta {
|
|
|
2825
2881
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2826
2882
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2827
2883
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
2884
|
+
* @since 1.8
|
|
2828
2885
|
*/
|
|
2829
2886
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
2830
2887
|
|
|
@@ -2832,12 +2889,14 @@ export namespace Meta {
|
|
|
2832
2889
|
* Sets the current state of `property_name` to `value`
|
|
2833
2890
|
* @param property_name the name of the animatable property to set
|
|
2834
2891
|
* @param value the value of the animatable property to set
|
|
2892
|
+
* @since 1.4
|
|
2835
2893
|
*/
|
|
2836
2894
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2837
2895
|
|
|
2838
2896
|
/**
|
|
2839
2897
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2840
2898
|
* @param property_name the name of the animatable property to find
|
|
2899
|
+
* @since 1.4
|
|
2841
2900
|
* @virtual
|
|
2842
2901
|
*/
|
|
2843
2902
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -2852,6 +2911,7 @@ export namespace Meta {
|
|
|
2852
2911
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2853
2912
|
* @param property_name the name of the animatable property to retrieve
|
|
2854
2913
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2914
|
+
* @since 1.4
|
|
2855
2915
|
* @virtual
|
|
2856
2916
|
*/
|
|
2857
2917
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -2869,6 +2929,7 @@ export namespace Meta {
|
|
|
2869
2929
|
* @param property_name the name of the property to interpolate
|
|
2870
2930
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2871
2931
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2932
|
+
* @since 1.8
|
|
2872
2933
|
* @virtual
|
|
2873
2934
|
*/
|
|
2874
2935
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -2877,6 +2938,7 @@ export namespace Meta {
|
|
|
2877
2938
|
* Sets the current state of `property_name` to `value`
|
|
2878
2939
|
* @param property_name the name of the animatable property to set
|
|
2879
2940
|
* @param value the value of the animatable property to set
|
|
2941
|
+
* @since 1.4
|
|
2880
2942
|
* @virtual
|
|
2881
2943
|
*/
|
|
2882
2944
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -2891,6 +2953,8 @@ export namespace Meta {
|
|
|
2891
2953
|
* deprecated virtual function. The default implementation will
|
|
2892
2954
|
* call `clutter_actor_add_child()`.
|
|
2893
2955
|
* @param actor the first {@link Clutter.Actor} to add
|
|
2956
|
+
* @since 0.4
|
|
2957
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
2894
2958
|
*/
|
|
2895
2959
|
add_actor(actor: Clutter.Actor): void;
|
|
2896
2960
|
|
|
@@ -2905,6 +2969,7 @@ export namespace Meta {
|
|
|
2905
2969
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2906
2970
|
* @param property the name of the property to set.
|
|
2907
2971
|
* @param value the value.
|
|
2972
|
+
* @since 0.8
|
|
2908
2973
|
*/
|
|
2909
2974
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2910
2975
|
|
|
@@ -2914,6 +2979,7 @@ export namespace Meta {
|
|
|
2914
2979
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
2915
2980
|
* @param child a {@link Clutter.Actor}
|
|
2916
2981
|
* @param pspec a {@link GObject.ParamSpec}
|
|
2982
|
+
* @since 1.6
|
|
2917
2983
|
*/
|
|
2918
2984
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
2919
2985
|
|
|
@@ -2922,6 +2988,7 @@ export namespace Meta {
|
|
|
2922
2988
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2923
2989
|
* @param property the name of the property to set.
|
|
2924
2990
|
* @param value the value.
|
|
2991
|
+
* @since 0.8
|
|
2925
2992
|
*/
|
|
2926
2993
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2927
2994
|
|
|
@@ -2936,6 +3003,7 @@ export namespace Meta {
|
|
|
2936
3003
|
*
|
|
2937
3004
|
* Applications should not call this function.
|
|
2938
3005
|
* @param actor a {@link Clutter.Actor}
|
|
3006
|
+
* @since 1.2
|
|
2939
3007
|
*/
|
|
2940
3008
|
create_child_meta(actor: Clutter.Actor): void;
|
|
2941
3009
|
|
|
@@ -2949,6 +3017,7 @@ export namespace Meta {
|
|
|
2949
3017
|
*
|
|
2950
3018
|
* Applications should not call this function.
|
|
2951
3019
|
* @param actor a {@link Clutter.Actor}
|
|
3020
|
+
* @since 1.2
|
|
2952
3021
|
*/
|
|
2953
3022
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
2954
3023
|
|
|
@@ -2957,6 +3026,7 @@ export namespace Meta {
|
|
|
2957
3026
|
* into any child container.
|
|
2958
3027
|
* @param child_name the name of the requested child.
|
|
2959
3028
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3029
|
+
* @since 0.6
|
|
2960
3030
|
*/
|
|
2961
3031
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
2962
3032
|
|
|
@@ -2965,12 +3035,15 @@ export namespace Meta {
|
|
|
2965
3035
|
* `container` specific state for `actor`.
|
|
2966
3036
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
2967
3037
|
* @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
|
|
3038
|
+
* @since 0.8
|
|
2968
3039
|
*/
|
|
2969
3040
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
2970
3041
|
|
|
2971
3042
|
/**
|
|
2972
3043
|
* Retrieves all the children of `container`.
|
|
2973
3044
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3045
|
+
* @since 0.4
|
|
3046
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
2974
3047
|
*/
|
|
2975
3048
|
get_children(): Clutter.Actor[];
|
|
2976
3049
|
|
|
@@ -2982,6 +3055,8 @@ export namespace Meta {
|
|
|
2982
3055
|
* `clutter_actor_set_child_below_sibling()`.
|
|
2983
3056
|
* @param actor the actor to raise
|
|
2984
3057
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3058
|
+
* @since 0.6
|
|
3059
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
2985
3060
|
*/
|
|
2986
3061
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
2987
3062
|
|
|
@@ -2993,6 +3068,8 @@ export namespace Meta {
|
|
|
2993
3068
|
* `clutter_actor_set_child_above_sibling()`.
|
|
2994
3069
|
* @param actor the actor to raise
|
|
2995
3070
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3071
|
+
* @since 0.6
|
|
3072
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
2996
3073
|
*/
|
|
2997
3074
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
2998
3075
|
|
|
@@ -3006,12 +3083,16 @@ export namespace Meta {
|
|
|
3006
3083
|
* deprecated virtual function. The default implementation will call
|
|
3007
3084
|
* `clutter_actor_remove_child()`.
|
|
3008
3085
|
* @param actor a {@link Clutter.Actor}
|
|
3086
|
+
* @since 0.4
|
|
3087
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3009
3088
|
*/
|
|
3010
3089
|
remove_actor(actor: Clutter.Actor): void;
|
|
3011
3090
|
|
|
3012
3091
|
/**
|
|
3013
3092
|
* Sorts a container's children using their depth. This function should not
|
|
3014
3093
|
* be normally used by applications.
|
|
3094
|
+
* @since 0.6
|
|
3095
|
+
* @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.
|
|
3015
3096
|
*/
|
|
3016
3097
|
sort_depth_order(): void;
|
|
3017
3098
|
|
|
@@ -3037,6 +3118,8 @@ export namespace Meta {
|
|
|
3037
3118
|
* deprecated virtual function. The default implementation will
|
|
3038
3119
|
* call `clutter_actor_add_child()`.
|
|
3039
3120
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3121
|
+
* @since 0.4
|
|
3122
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3040
3123
|
* @virtual
|
|
3041
3124
|
*/
|
|
3042
3125
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3047,6 +3130,7 @@ export namespace Meta {
|
|
|
3047
3130
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3048
3131
|
* @param child a {@link Clutter.Actor}
|
|
3049
3132
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3133
|
+
* @since 1.6
|
|
3050
3134
|
* @virtual
|
|
3051
3135
|
*/
|
|
3052
3136
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3062,6 +3146,7 @@ export namespace Meta {
|
|
|
3062
3146
|
*
|
|
3063
3147
|
* Applications should not call this function.
|
|
3064
3148
|
* @param actor a {@link Clutter.Actor}
|
|
3149
|
+
* @since 1.2
|
|
3065
3150
|
* @virtual
|
|
3066
3151
|
*/
|
|
3067
3152
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3076,6 +3161,7 @@ export namespace Meta {
|
|
|
3076
3161
|
*
|
|
3077
3162
|
* Applications should not call this function.
|
|
3078
3163
|
* @param actor a {@link Clutter.Actor}
|
|
3164
|
+
* @since 1.2
|
|
3079
3165
|
* @virtual
|
|
3080
3166
|
*/
|
|
3081
3167
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3084,6 +3170,7 @@ export namespace Meta {
|
|
|
3084
3170
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3085
3171
|
* `container` specific state for `actor`.
|
|
3086
3172
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3173
|
+
* @since 0.8
|
|
3087
3174
|
* @virtual
|
|
3088
3175
|
*/
|
|
3089
3176
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3096,6 +3183,8 @@ export namespace Meta {
|
|
|
3096
3183
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3097
3184
|
* @param actor the actor to raise
|
|
3098
3185
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3186
|
+
* @since 0.6
|
|
3187
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3099
3188
|
* @virtual
|
|
3100
3189
|
*/
|
|
3101
3190
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3108,6 +3197,8 @@ export namespace Meta {
|
|
|
3108
3197
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3109
3198
|
* @param actor the actor to raise
|
|
3110
3199
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3200
|
+
* @since 0.6
|
|
3201
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3111
3202
|
* @virtual
|
|
3112
3203
|
*/
|
|
3113
3204
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3122,6 +3213,8 @@ export namespace Meta {
|
|
|
3122
3213
|
* deprecated virtual function. The default implementation will call
|
|
3123
3214
|
* `clutter_actor_remove_child()`.
|
|
3124
3215
|
* @param actor a {@link Clutter.Actor}
|
|
3216
|
+
* @since 0.4
|
|
3217
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3125
3218
|
* @virtual
|
|
3126
3219
|
*/
|
|
3127
3220
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3129,6 +3222,8 @@ export namespace Meta {
|
|
|
3129
3222
|
/**
|
|
3130
3223
|
* Sorts a container's children using their depth. This function should not
|
|
3131
3224
|
* be normally used by applications.
|
|
3225
|
+
* @since 0.6
|
|
3226
|
+
* @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.
|
|
3132
3227
|
* @virtual
|
|
3133
3228
|
*/
|
|
3134
3229
|
vfunc_sort_depth_order(): void;
|
|
@@ -3136,6 +3231,7 @@ export namespace Meta {
|
|
|
3136
3231
|
/**
|
|
3137
3232
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3138
3233
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3234
|
+
* @since 0.6
|
|
3139
3235
|
*/
|
|
3140
3236
|
get_id(): string;
|
|
3141
3237
|
|
|
@@ -3147,6 +3243,7 @@ export namespace Meta {
|
|
|
3147
3243
|
* @param name the name of the node
|
|
3148
3244
|
* @param node the JSON node to be parsed
|
|
3149
3245
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3246
|
+
* @since 0.6
|
|
3150
3247
|
*/
|
|
3151
3248
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3152
3249
|
|
|
@@ -3156,6 +3253,7 @@ export namespace Meta {
|
|
|
3156
3253
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3157
3254
|
* @param name the name of the property
|
|
3158
3255
|
* @param value the value of the property
|
|
3256
|
+
* @since 0.6
|
|
3159
3257
|
*/
|
|
3160
3258
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3161
3259
|
|
|
@@ -3167,11 +3265,13 @@ export namespace Meta {
|
|
|
3167
3265
|
* define a unique name for an object constructable using the UI
|
|
3168
3266
|
* definition language parsed by {@link Clutter.Script}.
|
|
3169
3267
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3268
|
+
* @since 0.6
|
|
3170
3269
|
*/
|
|
3171
3270
|
set_id(id_: string): void;
|
|
3172
3271
|
|
|
3173
3272
|
/**
|
|
3174
3273
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3274
|
+
* @since 0.6
|
|
3175
3275
|
* @virtual
|
|
3176
3276
|
*/
|
|
3177
3277
|
vfunc_get_id(): string;
|
|
@@ -3183,6 +3283,7 @@ export namespace Meta {
|
|
|
3183
3283
|
* @param value the generic value to be set
|
|
3184
3284
|
* @param name the name of the node
|
|
3185
3285
|
* @param node the JSON node to be parsed
|
|
3286
|
+
* @since 0.6
|
|
3186
3287
|
* @virtual
|
|
3187
3288
|
*/
|
|
3188
3289
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3193,6 +3294,7 @@ export namespace Meta {
|
|
|
3193
3294
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3194
3295
|
* @param name the name of the property
|
|
3195
3296
|
* @param value the value of the property
|
|
3297
|
+
* @since 0.6
|
|
3196
3298
|
* @virtual
|
|
3197
3299
|
*/
|
|
3198
3300
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3205,6 +3307,7 @@ export namespace Meta {
|
|
|
3205
3307
|
* define a unique name for an object constructable using the UI
|
|
3206
3308
|
* definition language parsed by {@link Clutter.Script}.
|
|
3207
3309
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3310
|
+
* @since 0.6
|
|
3208
3311
|
* @virtual
|
|
3209
3312
|
*/
|
|
3210
3313
|
vfunc_set_id(id_: string): void;
|
|
@@ -3360,6 +3463,7 @@ export namespace Meta {
|
|
|
3360
3463
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3361
3464
|
* for instance the size of an image data.
|
|
3362
3465
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
3466
|
+
* @since 1.10
|
|
3363
3467
|
*/
|
|
3364
3468
|
get_preferred_size(): [boolean, number, number];
|
|
3365
3469
|
|
|
@@ -3369,6 +3473,7 @@ export namespace Meta {
|
|
|
3369
3473
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3370
3474
|
* they change the way a the content should be painted regardless of the
|
|
3371
3475
|
* actor state.
|
|
3476
|
+
* @since 1.10
|
|
3372
3477
|
*/
|
|
3373
3478
|
invalidate(): void;
|
|
3374
3479
|
|
|
@@ -3399,6 +3504,7 @@ export namespace Meta {
|
|
|
3399
3504
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
3400
3505
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3401
3506
|
* for instance the size of an image data.
|
|
3507
|
+
* @since 1.10
|
|
3402
3508
|
* @virtual
|
|
3403
3509
|
*/
|
|
3404
3510
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -3409,6 +3515,7 @@ export namespace Meta {
|
|
|
3409
3515
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3410
3516
|
* they change the way a the content should be painted regardless of the
|
|
3411
3517
|
* actor state.
|
|
3518
|
+
* @since 1.10
|
|
3412
3519
|
* @virtual
|
|
3413
3520
|
*/
|
|
3414
3521
|
vfunc_invalidate(): void;
|
|
@@ -3549,6 +3656,7 @@ export namespace Meta {
|
|
|
3549
3656
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3550
3657
|
* @param property_name the name of the animatable property to find
|
|
3551
3658
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
3659
|
+
* @since 1.4
|
|
3552
3660
|
*/
|
|
3553
3661
|
find_property(property_name: string): GObject.ParamSpec;
|
|
3554
3662
|
|
|
@@ -3562,6 +3670,7 @@ export namespace Meta {
|
|
|
3562
3670
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3563
3671
|
* @param property_name the name of the animatable property to retrieve
|
|
3564
3672
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3673
|
+
* @since 1.4
|
|
3565
3674
|
*/
|
|
3566
3675
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3567
3676
|
|
|
@@ -3579,6 +3688,7 @@ export namespace Meta {
|
|
|
3579
3688
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3580
3689
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3581
3690
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
3691
|
+
* @since 1.8
|
|
3582
3692
|
*/
|
|
3583
3693
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
3584
3694
|
|
|
@@ -3586,12 +3696,14 @@ export namespace Meta {
|
|
|
3586
3696
|
* Sets the current state of `property_name` to `value`
|
|
3587
3697
|
* @param property_name the name of the animatable property to set
|
|
3588
3698
|
* @param value the value of the animatable property to set
|
|
3699
|
+
* @since 1.4
|
|
3589
3700
|
*/
|
|
3590
3701
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3591
3702
|
|
|
3592
3703
|
/**
|
|
3593
3704
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3594
3705
|
* @param property_name the name of the animatable property to find
|
|
3706
|
+
* @since 1.4
|
|
3595
3707
|
* @virtual
|
|
3596
3708
|
*/
|
|
3597
3709
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -3606,6 +3718,7 @@ export namespace Meta {
|
|
|
3606
3718
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3607
3719
|
* @param property_name the name of the animatable property to retrieve
|
|
3608
3720
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3721
|
+
* @since 1.4
|
|
3609
3722
|
* @virtual
|
|
3610
3723
|
*/
|
|
3611
3724
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -3623,6 +3736,7 @@ export namespace Meta {
|
|
|
3623
3736
|
* @param property_name the name of the property to interpolate
|
|
3624
3737
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3625
3738
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3739
|
+
* @since 1.8
|
|
3626
3740
|
* @virtual
|
|
3627
3741
|
*/
|
|
3628
3742
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -3631,6 +3745,7 @@ export namespace Meta {
|
|
|
3631
3745
|
* Sets the current state of `property_name` to `value`
|
|
3632
3746
|
* @param property_name the name of the animatable property to set
|
|
3633
3747
|
* @param value the value of the animatable property to set
|
|
3748
|
+
* @since 1.4
|
|
3634
3749
|
* @virtual
|
|
3635
3750
|
*/
|
|
3636
3751
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -3645,6 +3760,8 @@ export namespace Meta {
|
|
|
3645
3760
|
* deprecated virtual function. The default implementation will
|
|
3646
3761
|
* call `clutter_actor_add_child()`.
|
|
3647
3762
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3763
|
+
* @since 0.4
|
|
3764
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3648
3765
|
*/
|
|
3649
3766
|
add_actor(actor: Clutter.Actor): void;
|
|
3650
3767
|
|
|
@@ -3659,6 +3776,7 @@ export namespace Meta {
|
|
|
3659
3776
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3660
3777
|
* @param property the name of the property to set.
|
|
3661
3778
|
* @param value the value.
|
|
3779
|
+
* @since 0.8
|
|
3662
3780
|
*/
|
|
3663
3781
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3664
3782
|
|
|
@@ -3668,6 +3786,7 @@ export namespace Meta {
|
|
|
3668
3786
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3669
3787
|
* @param child a {@link Clutter.Actor}
|
|
3670
3788
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3789
|
+
* @since 1.6
|
|
3671
3790
|
*/
|
|
3672
3791
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
3673
3792
|
|
|
@@ -3676,6 +3795,7 @@ export namespace Meta {
|
|
|
3676
3795
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3677
3796
|
* @param property the name of the property to set.
|
|
3678
3797
|
* @param value the value.
|
|
3798
|
+
* @since 0.8
|
|
3679
3799
|
*/
|
|
3680
3800
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3681
3801
|
|
|
@@ -3690,6 +3810,7 @@ export namespace Meta {
|
|
|
3690
3810
|
*
|
|
3691
3811
|
* Applications should not call this function.
|
|
3692
3812
|
* @param actor a {@link Clutter.Actor}
|
|
3813
|
+
* @since 1.2
|
|
3693
3814
|
*/
|
|
3694
3815
|
create_child_meta(actor: Clutter.Actor): void;
|
|
3695
3816
|
|
|
@@ -3703,6 +3824,7 @@ export namespace Meta {
|
|
|
3703
3824
|
*
|
|
3704
3825
|
* Applications should not call this function.
|
|
3705
3826
|
* @param actor a {@link Clutter.Actor}
|
|
3827
|
+
* @since 1.2
|
|
3706
3828
|
*/
|
|
3707
3829
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
3708
3830
|
|
|
@@ -3711,6 +3833,7 @@ export namespace Meta {
|
|
|
3711
3833
|
* into any child container.
|
|
3712
3834
|
* @param child_name the name of the requested child.
|
|
3713
3835
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3836
|
+
* @since 0.6
|
|
3714
3837
|
*/
|
|
3715
3838
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3716
3839
|
|
|
@@ -3719,12 +3842,15 @@ export namespace Meta {
|
|
|
3719
3842
|
* `container` specific state for `actor`.
|
|
3720
3843
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3721
3844
|
* @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
|
|
3845
|
+
* @since 0.8
|
|
3722
3846
|
*/
|
|
3723
3847
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3724
3848
|
|
|
3725
3849
|
/**
|
|
3726
3850
|
* Retrieves all the children of `container`.
|
|
3727
3851
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3852
|
+
* @since 0.4
|
|
3853
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3728
3854
|
*/
|
|
3729
3855
|
get_children(): Clutter.Actor[];
|
|
3730
3856
|
|
|
@@ -3736,6 +3862,8 @@ export namespace Meta {
|
|
|
3736
3862
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3737
3863
|
* @param actor the actor to raise
|
|
3738
3864
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3865
|
+
* @since 0.6
|
|
3866
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3739
3867
|
*/
|
|
3740
3868
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3741
3869
|
|
|
@@ -3747,6 +3875,8 @@ export namespace Meta {
|
|
|
3747
3875
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3748
3876
|
* @param actor the actor to raise
|
|
3749
3877
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3878
|
+
* @since 0.6
|
|
3879
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3750
3880
|
*/
|
|
3751
3881
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3752
3882
|
|
|
@@ -3760,12 +3890,16 @@ export namespace Meta {
|
|
|
3760
3890
|
* deprecated virtual function. The default implementation will call
|
|
3761
3891
|
* `clutter_actor_remove_child()`.
|
|
3762
3892
|
* @param actor a {@link Clutter.Actor}
|
|
3893
|
+
* @since 0.4
|
|
3894
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3763
3895
|
*/
|
|
3764
3896
|
remove_actor(actor: Clutter.Actor): void;
|
|
3765
3897
|
|
|
3766
3898
|
/**
|
|
3767
3899
|
* Sorts a container's children using their depth. This function should not
|
|
3768
3900
|
* be normally used by applications.
|
|
3901
|
+
* @since 0.6
|
|
3902
|
+
* @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.
|
|
3769
3903
|
*/
|
|
3770
3904
|
sort_depth_order(): void;
|
|
3771
3905
|
|
|
@@ -3791,6 +3925,8 @@ export namespace Meta {
|
|
|
3791
3925
|
* deprecated virtual function. The default implementation will
|
|
3792
3926
|
* call `clutter_actor_add_child()`.
|
|
3793
3927
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3928
|
+
* @since 0.4
|
|
3929
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3794
3930
|
* @virtual
|
|
3795
3931
|
*/
|
|
3796
3932
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3801,6 +3937,7 @@ export namespace Meta {
|
|
|
3801
3937
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3802
3938
|
* @param child a {@link Clutter.Actor}
|
|
3803
3939
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3940
|
+
* @since 1.6
|
|
3804
3941
|
* @virtual
|
|
3805
3942
|
*/
|
|
3806
3943
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3816,6 +3953,7 @@ export namespace Meta {
|
|
|
3816
3953
|
*
|
|
3817
3954
|
* Applications should not call this function.
|
|
3818
3955
|
* @param actor a {@link Clutter.Actor}
|
|
3956
|
+
* @since 1.2
|
|
3819
3957
|
* @virtual
|
|
3820
3958
|
*/
|
|
3821
3959
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3830,6 +3968,7 @@ export namespace Meta {
|
|
|
3830
3968
|
*
|
|
3831
3969
|
* Applications should not call this function.
|
|
3832
3970
|
* @param actor a {@link Clutter.Actor}
|
|
3971
|
+
* @since 1.2
|
|
3833
3972
|
* @virtual
|
|
3834
3973
|
*/
|
|
3835
3974
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3838,6 +3977,7 @@ export namespace Meta {
|
|
|
3838
3977
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3839
3978
|
* `container` specific state for `actor`.
|
|
3840
3979
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3980
|
+
* @since 0.8
|
|
3841
3981
|
* @virtual
|
|
3842
3982
|
*/
|
|
3843
3983
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3850,6 +3990,8 @@ export namespace Meta {
|
|
|
3850
3990
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3851
3991
|
* @param actor the actor to raise
|
|
3852
3992
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3993
|
+
* @since 0.6
|
|
3994
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3853
3995
|
* @virtual
|
|
3854
3996
|
*/
|
|
3855
3997
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3862,6 +4004,8 @@ export namespace Meta {
|
|
|
3862
4004
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3863
4005
|
* @param actor the actor to raise
|
|
3864
4006
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
4007
|
+
* @since 0.6
|
|
4008
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3865
4009
|
* @virtual
|
|
3866
4010
|
*/
|
|
3867
4011
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3876,6 +4020,8 @@ export namespace Meta {
|
|
|
3876
4020
|
* deprecated virtual function. The default implementation will call
|
|
3877
4021
|
* `clutter_actor_remove_child()`.
|
|
3878
4022
|
* @param actor a {@link Clutter.Actor}
|
|
4023
|
+
* @since 0.4
|
|
4024
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3879
4025
|
* @virtual
|
|
3880
4026
|
*/
|
|
3881
4027
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3883,6 +4029,8 @@ export namespace Meta {
|
|
|
3883
4029
|
/**
|
|
3884
4030
|
* Sorts a container's children using their depth. This function should not
|
|
3885
4031
|
* be normally used by applications.
|
|
4032
|
+
* @since 0.6
|
|
4033
|
+
* @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.
|
|
3886
4034
|
* @virtual
|
|
3887
4035
|
*/
|
|
3888
4036
|
vfunc_sort_depth_order(): void;
|
|
@@ -3890,6 +4038,7 @@ export namespace Meta {
|
|
|
3890
4038
|
/**
|
|
3891
4039
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3892
4040
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
4041
|
+
* @since 0.6
|
|
3893
4042
|
*/
|
|
3894
4043
|
get_id(): string;
|
|
3895
4044
|
|
|
@@ -3901,6 +4050,7 @@ export namespace Meta {
|
|
|
3901
4050
|
* @param name the name of the node
|
|
3902
4051
|
* @param node the JSON node to be parsed
|
|
3903
4052
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
4053
|
+
* @since 0.6
|
|
3904
4054
|
*/
|
|
3905
4055
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3906
4056
|
|
|
@@ -3910,6 +4060,7 @@ export namespace Meta {
|
|
|
3910
4060
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3911
4061
|
* @param name the name of the property
|
|
3912
4062
|
* @param value the value of the property
|
|
4063
|
+
* @since 0.6
|
|
3913
4064
|
*/
|
|
3914
4065
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3915
4066
|
|
|
@@ -3921,11 +4072,13 @@ export namespace Meta {
|
|
|
3921
4072
|
* define a unique name for an object constructable using the UI
|
|
3922
4073
|
* definition language parsed by {@link Clutter.Script}.
|
|
3923
4074
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4075
|
+
* @since 0.6
|
|
3924
4076
|
*/
|
|
3925
4077
|
set_id(id_: string): void;
|
|
3926
4078
|
|
|
3927
4079
|
/**
|
|
3928
4080
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
4081
|
+
* @since 0.6
|
|
3929
4082
|
* @virtual
|
|
3930
4083
|
*/
|
|
3931
4084
|
vfunc_get_id(): string;
|
|
@@ -3937,6 +4090,7 @@ export namespace Meta {
|
|
|
3937
4090
|
* @param value the generic value to be set
|
|
3938
4091
|
* @param name the name of the node
|
|
3939
4092
|
* @param node the JSON node to be parsed
|
|
4093
|
+
* @since 0.6
|
|
3940
4094
|
* @virtual
|
|
3941
4095
|
*/
|
|
3942
4096
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3947,6 +4101,7 @@ export namespace Meta {
|
|
|
3947
4101
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3948
4102
|
* @param name the name of the property
|
|
3949
4103
|
* @param value the value of the property
|
|
4104
|
+
* @since 0.6
|
|
3950
4105
|
* @virtual
|
|
3951
4106
|
*/
|
|
3952
4107
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3959,6 +4114,7 @@ export namespace Meta {
|
|
|
3959
4114
|
* define a unique name for an object constructable using the UI
|
|
3960
4115
|
* definition language parsed by {@link Clutter.Script}.
|
|
3961
4116
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4117
|
+
* @since 0.6
|
|
3962
4118
|
* @virtual
|
|
3963
4119
|
*/
|
|
3964
4120
|
vfunc_set_id(id_: string): void;
|
|
@@ -4113,14 +4269,14 @@ export namespace Meta {
|
|
|
4113
4269
|
* @signal
|
|
4114
4270
|
* @run-first
|
|
4115
4271
|
*/
|
|
4116
|
-
hit: (
|
|
4272
|
+
hit: (event: BarrierEvent) => void;
|
|
4117
4273
|
/**
|
|
4118
4274
|
* When a pointer barrier hitbox was left, this will trigger.
|
|
4119
4275
|
* This requires an XI2-enabled server.
|
|
4120
4276
|
* @signal
|
|
4121
4277
|
* @run-first
|
|
4122
4278
|
*/
|
|
4123
|
-
left: (
|
|
4279
|
+
left: (event: BarrierEvent) => void;
|
|
4124
4280
|
"notify::directions": (pspec: GObject.ParamSpec) => void;
|
|
4125
4281
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
4126
4282
|
"notify::x1": (pspec: GObject.ParamSpec) => void;
|
|
@@ -4235,7 +4391,7 @@ export namespace Meta {
|
|
|
4235
4391
|
* @signal
|
|
4236
4392
|
* @run-last
|
|
4237
4393
|
*/
|
|
4238
|
-
"cursor-moved": (
|
|
4394
|
+
"cursor-moved": (x: number, y: number) => void;
|
|
4239
4395
|
/**
|
|
4240
4396
|
* @signal
|
|
4241
4397
|
* @run-last
|
|
@@ -4324,7 +4480,7 @@ export namespace Meta {
|
|
|
4324
4480
|
* @signal
|
|
4325
4481
|
* @run-last
|
|
4326
4482
|
*/
|
|
4327
|
-
"accelerator-activated": (
|
|
4483
|
+
"accelerator-activated": (object: number, p0: Clutter.InputDevice, p1: number) => void;
|
|
4328
4484
|
/**
|
|
4329
4485
|
* @signal
|
|
4330
4486
|
* @run-last
|
|
@@ -4344,12 +4500,12 @@ export namespace Meta {
|
|
|
4344
4500
|
* @signal
|
|
4345
4501
|
* @run-last
|
|
4346
4502
|
*/
|
|
4347
|
-
"grab-op-begin": (
|
|
4503
|
+
"grab-op-begin": (object: Display, p0: Window, p1: GrabOp) => void;
|
|
4348
4504
|
/**
|
|
4349
4505
|
* @signal
|
|
4350
4506
|
* @run-last
|
|
4351
4507
|
*/
|
|
4352
|
-
"grab-op-end": (
|
|
4508
|
+
"grab-op-end": (object: Display, p0: Window, p1: GrabOp) => void;
|
|
4353
4509
|
/**
|
|
4354
4510
|
* @signal
|
|
4355
4511
|
* @run-last
|
|
@@ -4359,7 +4515,7 @@ export namespace Meta {
|
|
|
4359
4515
|
* @signal
|
|
4360
4516
|
* @run-last
|
|
4361
4517
|
*/
|
|
4362
|
-
"init-xserver": (
|
|
4518
|
+
"init-xserver": (object: Gio.Task) => boolean | void;
|
|
4363
4519
|
/**
|
|
4364
4520
|
* The ::modifiers-accelerator-activated signal will be emitted when
|
|
4365
4521
|
* a special modifiers-only keybinding is activated.
|
|
@@ -4376,7 +4532,7 @@ export namespace Meta {
|
|
|
4376
4532
|
* @signal
|
|
4377
4533
|
* @run-last
|
|
4378
4534
|
*/
|
|
4379
|
-
"pad-mode-switch": (
|
|
4535
|
+
"pad-mode-switch": (object: Clutter.InputDevice, p0: number, p1: number) => void;
|
|
4380
4536
|
/**
|
|
4381
4537
|
* @signal
|
|
4382
4538
|
* @run-last
|
|
@@ -4396,18 +4552,18 @@ export namespace Meta {
|
|
|
4396
4552
|
* @signal
|
|
4397
4553
|
* @run-last
|
|
4398
4554
|
*/
|
|
4399
|
-
"show-osd": (
|
|
4555
|
+
"show-osd": (object: number, p0: string, p1: string) => void;
|
|
4400
4556
|
/**
|
|
4401
4557
|
* Requests the pad button mapping OSD to be shown.
|
|
4402
4558
|
* @signal
|
|
4403
4559
|
* @run-last
|
|
4404
4560
|
*/
|
|
4405
|
-
"show-pad-osd": (
|
|
4561
|
+
"show-pad-osd": (pad: Clutter.InputDevice, settings: Gio.Settings, layout_path: string, edition_mode: boolean, monitor_idx: number) => Clutter.Actor | null;
|
|
4406
4562
|
/**
|
|
4407
4563
|
* @signal
|
|
4408
4564
|
* @run-last
|
|
4409
4565
|
*/
|
|
4410
|
-
"show-resize-popup": (
|
|
4566
|
+
"show-resize-popup": (object: boolean, p0: Rectangle, p1: number, p2: number) => boolean | void;
|
|
4411
4567
|
/**
|
|
4412
4568
|
* The ::show-restart-message signal will be emitted to indicate
|
|
4413
4569
|
* that the compositor should show a message during restart. This is
|
|
@@ -4422,7 +4578,7 @@ export namespace Meta {
|
|
|
4422
4578
|
* @signal
|
|
4423
4579
|
* @run-last
|
|
4424
4580
|
*/
|
|
4425
|
-
"show-restart-message": (
|
|
4581
|
+
"show-restart-message": (message: string | null) => boolean | void;
|
|
4426
4582
|
/**
|
|
4427
4583
|
* @signal
|
|
4428
4584
|
* @run-last
|
|
@@ -4432,27 +4588,27 @@ export namespace Meta {
|
|
|
4432
4588
|
* @signal
|
|
4433
4589
|
* @run-last
|
|
4434
4590
|
*/
|
|
4435
|
-
"window-created": (
|
|
4591
|
+
"window-created": (object: Window) => void;
|
|
4436
4592
|
/**
|
|
4437
4593
|
* @signal
|
|
4438
4594
|
* @run-last
|
|
4439
4595
|
*/
|
|
4440
|
-
"window-demands-attention": (
|
|
4596
|
+
"window-demands-attention": (object: Window) => void;
|
|
4441
4597
|
/**
|
|
4442
4598
|
* @signal
|
|
4443
4599
|
* @run-last
|
|
4444
4600
|
*/
|
|
4445
|
-
"window-entered-monitor": (
|
|
4601
|
+
"window-entered-monitor": (object: number, p0: Window) => void;
|
|
4446
4602
|
/**
|
|
4447
4603
|
* @signal
|
|
4448
4604
|
* @run-last
|
|
4449
4605
|
*/
|
|
4450
|
-
"window-left-monitor": (
|
|
4606
|
+
"window-left-monitor": (object: number, p0: Window) => void;
|
|
4451
4607
|
/**
|
|
4452
4608
|
* @signal
|
|
4453
4609
|
* @run-last
|
|
4454
4610
|
*/
|
|
4455
|
-
"window-marked-urgent": (
|
|
4611
|
+
"window-marked-urgent": (object: Window) => void;
|
|
4456
4612
|
/**
|
|
4457
4613
|
* @signal
|
|
4458
4614
|
* @run-last
|
|
@@ -4858,7 +5014,7 @@ export namespace Meta {
|
|
|
4858
5014
|
* @signal
|
|
4859
5015
|
* @run-last
|
|
4860
5016
|
*/
|
|
4861
|
-
"dnd-position-change": (
|
|
5017
|
+
"dnd-position-change": (object: number, p0: number) => void;
|
|
4862
5018
|
}
|
|
4863
5019
|
|
|
4864
5020
|
// Constructor properties interface
|
|
@@ -5439,7 +5595,7 @@ export namespace Meta {
|
|
|
5439
5595
|
* @signal
|
|
5440
5596
|
* @run-last
|
|
5441
5597
|
*/
|
|
5442
|
-
"new-handle": (
|
|
5598
|
+
"new-handle": (object: RemoteAccessHandle) => void;
|
|
5443
5599
|
}
|
|
5444
5600
|
|
|
5445
5601
|
// Constructor properties interface
|
|
@@ -5581,7 +5737,7 @@ export namespace Meta {
|
|
|
5581
5737
|
* @signal
|
|
5582
5738
|
* @run-last
|
|
5583
5739
|
*/
|
|
5584
|
-
"owner-changed": (
|
|
5740
|
+
"owner-changed": (object: number, p0: SelectionSource) => void;
|
|
5585
5741
|
}
|
|
5586
5742
|
|
|
5587
5743
|
// Constructor properties interface
|
|
@@ -5678,6 +5834,7 @@ export namespace Meta {
|
|
|
5678
5834
|
* Finishes the transfer of a queried mimetype.
|
|
5679
5835
|
* @param result The async result
|
|
5680
5836
|
* @returns `TRUE` if the transfer was successful.
|
|
5837
|
+
* @throws GLib.Error
|
|
5681
5838
|
*/
|
|
5682
5839
|
transfer_finish(result: Gio.AsyncResult): boolean;
|
|
5683
5840
|
|
|
@@ -5814,6 +5971,7 @@ export namespace Meta {
|
|
|
5814
5971
|
* Finishes a read from the selection source.
|
|
5815
5972
|
* @param result The async result
|
|
5816
5973
|
* @returns The resulting {@link Gio.InputStream}
|
|
5974
|
+
* @throws GLib.Error
|
|
5817
5975
|
*/
|
|
5818
5976
|
read_finish(result: Gio.AsyncResult): Gio.InputStream;
|
|
5819
5977
|
}
|
|
@@ -6038,6 +6196,7 @@ export namespace Meta {
|
|
|
6038
6196
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6039
6197
|
* for instance the size of an image data.
|
|
6040
6198
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
6199
|
+
* @since 1.10
|
|
6041
6200
|
*/
|
|
6042
6201
|
get_preferred_size(): [boolean, number, number];
|
|
6043
6202
|
|
|
@@ -6047,6 +6206,7 @@ export namespace Meta {
|
|
|
6047
6206
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6048
6207
|
* they change the way a the content should be painted regardless of the
|
|
6049
6208
|
* actor state.
|
|
6209
|
+
* @since 1.10
|
|
6050
6210
|
*/
|
|
6051
6211
|
invalidate(): void;
|
|
6052
6212
|
|
|
@@ -6077,6 +6237,7 @@ export namespace Meta {
|
|
|
6077
6237
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
6078
6238
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6079
6239
|
* for instance the size of an image data.
|
|
6240
|
+
* @since 1.10
|
|
6080
6241
|
* @virtual
|
|
6081
6242
|
*/
|
|
6082
6243
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -6087,6 +6248,7 @@ export namespace Meta {
|
|
|
6087
6248
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6088
6249
|
* they change the way a the content should be painted regardless of the
|
|
6089
6250
|
* actor state.
|
|
6251
|
+
* @since 1.10
|
|
6090
6252
|
* @virtual
|
|
6091
6253
|
*/
|
|
6092
6254
|
vfunc_invalidate(): void;
|
|
@@ -6304,7 +6466,7 @@ export namespace Meta {
|
|
|
6304
6466
|
* @signal
|
|
6305
6467
|
* @run-last
|
|
6306
6468
|
*/
|
|
6307
|
-
changed: (
|
|
6469
|
+
changed: (object: null) => void;
|
|
6308
6470
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
6309
6471
|
}
|
|
6310
6472
|
|
|
@@ -6561,6 +6723,7 @@ export namespace Meta {
|
|
|
6561
6723
|
* @param display the current MetaDisplay
|
|
6562
6724
|
* @param argv Command line arguments
|
|
6563
6725
|
* @returns A new {@link Gio.Subprocess}, or `null` on error (and `error` will be set)
|
|
6726
|
+
* @throws GLib.Error
|
|
6564
6727
|
*/
|
|
6565
6728
|
spawnv(display: Display, argv: string[]): Gio.Subprocess;
|
|
6566
6729
|
}
|
|
@@ -7666,6 +7829,7 @@ export namespace Meta {
|
|
|
7666
7829
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7667
7830
|
* @param property_name the name of the animatable property to find
|
|
7668
7831
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
7832
|
+
* @since 1.4
|
|
7669
7833
|
*/
|
|
7670
7834
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7671
7835
|
|
|
@@ -7679,6 +7843,7 @@ export namespace Meta {
|
|
|
7679
7843
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7680
7844
|
* @param property_name the name of the animatable property to retrieve
|
|
7681
7845
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7846
|
+
* @since 1.4
|
|
7682
7847
|
*/
|
|
7683
7848
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7684
7849
|
|
|
@@ -7696,6 +7861,7 @@ export namespace Meta {
|
|
|
7696
7861
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7697
7862
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7698
7863
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
7864
|
+
* @since 1.8
|
|
7699
7865
|
*/
|
|
7700
7866
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7701
7867
|
|
|
@@ -7703,12 +7869,14 @@ export namespace Meta {
|
|
|
7703
7869
|
* Sets the current state of `property_name` to `value`
|
|
7704
7870
|
* @param property_name the name of the animatable property to set
|
|
7705
7871
|
* @param value the value of the animatable property to set
|
|
7872
|
+
* @since 1.4
|
|
7706
7873
|
*/
|
|
7707
7874
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7708
7875
|
|
|
7709
7876
|
/**
|
|
7710
7877
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7711
7878
|
* @param property_name the name of the animatable property to find
|
|
7879
|
+
* @since 1.4
|
|
7712
7880
|
* @virtual
|
|
7713
7881
|
*/
|
|
7714
7882
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -7723,6 +7891,7 @@ export namespace Meta {
|
|
|
7723
7891
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7724
7892
|
* @param property_name the name of the animatable property to retrieve
|
|
7725
7893
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7894
|
+
* @since 1.4
|
|
7726
7895
|
* @virtual
|
|
7727
7896
|
*/
|
|
7728
7897
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -7740,6 +7909,7 @@ export namespace Meta {
|
|
|
7740
7909
|
* @param property_name the name of the property to interpolate
|
|
7741
7910
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7742
7911
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7912
|
+
* @since 1.8
|
|
7743
7913
|
* @virtual
|
|
7744
7914
|
*/
|
|
7745
7915
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -7748,6 +7918,7 @@ export namespace Meta {
|
|
|
7748
7918
|
* Sets the current state of `property_name` to `value`
|
|
7749
7919
|
* @param property_name the name of the animatable property to set
|
|
7750
7920
|
* @param value the value of the animatable property to set
|
|
7921
|
+
* @since 1.4
|
|
7751
7922
|
* @virtual
|
|
7752
7923
|
*/
|
|
7753
7924
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -7762,6 +7933,8 @@ export namespace Meta {
|
|
|
7762
7933
|
* deprecated virtual function. The default implementation will
|
|
7763
7934
|
* call `clutter_actor_add_child()`.
|
|
7764
7935
|
* @param actor the first {@link Clutter.Actor} to add
|
|
7936
|
+
* @since 0.4
|
|
7937
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7765
7938
|
*/
|
|
7766
7939
|
add_actor(actor: Clutter.Actor): void;
|
|
7767
7940
|
|
|
@@ -7776,6 +7949,7 @@ export namespace Meta {
|
|
|
7776
7949
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7777
7950
|
* @param property the name of the property to set.
|
|
7778
7951
|
* @param value the value.
|
|
7952
|
+
* @since 0.8
|
|
7779
7953
|
*/
|
|
7780
7954
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7781
7955
|
|
|
@@ -7785,6 +7959,7 @@ export namespace Meta {
|
|
|
7785
7959
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7786
7960
|
* @param child a {@link Clutter.Actor}
|
|
7787
7961
|
* @param pspec a {@link GObject.ParamSpec}
|
|
7962
|
+
* @since 1.6
|
|
7788
7963
|
*/
|
|
7789
7964
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
7790
7965
|
|
|
@@ -7793,6 +7968,7 @@ export namespace Meta {
|
|
|
7793
7968
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7794
7969
|
* @param property the name of the property to set.
|
|
7795
7970
|
* @param value the value.
|
|
7971
|
+
* @since 0.8
|
|
7796
7972
|
*/
|
|
7797
7973
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7798
7974
|
|
|
@@ -7807,6 +7983,7 @@ export namespace Meta {
|
|
|
7807
7983
|
*
|
|
7808
7984
|
* Applications should not call this function.
|
|
7809
7985
|
* @param actor a {@link Clutter.Actor}
|
|
7986
|
+
* @since 1.2
|
|
7810
7987
|
*/
|
|
7811
7988
|
create_child_meta(actor: Clutter.Actor): void;
|
|
7812
7989
|
|
|
@@ -7820,6 +7997,7 @@ export namespace Meta {
|
|
|
7820
7997
|
*
|
|
7821
7998
|
* Applications should not call this function.
|
|
7822
7999
|
* @param actor a {@link Clutter.Actor}
|
|
8000
|
+
* @since 1.2
|
|
7823
8001
|
*/
|
|
7824
8002
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
7825
8003
|
|
|
@@ -7828,6 +8006,7 @@ export namespace Meta {
|
|
|
7828
8006
|
* into any child container.
|
|
7829
8007
|
* @param child_name the name of the requested child.
|
|
7830
8008
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8009
|
+
* @since 0.6
|
|
7831
8010
|
*/
|
|
7832
8011
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
7833
8012
|
|
|
@@ -7836,12 +8015,15 @@ export namespace Meta {
|
|
|
7836
8015
|
* `container` specific state for `actor`.
|
|
7837
8016
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
7838
8017
|
* @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
|
|
8018
|
+
* @since 0.8
|
|
7839
8019
|
*/
|
|
7840
8020
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
7841
8021
|
|
|
7842
8022
|
/**
|
|
7843
8023
|
* Retrieves all the children of `container`.
|
|
7844
8024
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8025
|
+
* @since 0.4
|
|
8026
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
7845
8027
|
*/
|
|
7846
8028
|
get_children(): Clutter.Actor[];
|
|
7847
8029
|
|
|
@@ -7853,6 +8035,8 @@ export namespace Meta {
|
|
|
7853
8035
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7854
8036
|
* @param actor the actor to raise
|
|
7855
8037
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8038
|
+
* @since 0.6
|
|
8039
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7856
8040
|
*/
|
|
7857
8041
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7858
8042
|
|
|
@@ -7864,6 +8048,8 @@ export namespace Meta {
|
|
|
7864
8048
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7865
8049
|
* @param actor the actor to raise
|
|
7866
8050
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8051
|
+
* @since 0.6
|
|
8052
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7867
8053
|
*/
|
|
7868
8054
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7869
8055
|
|
|
@@ -7877,12 +8063,16 @@ export namespace Meta {
|
|
|
7877
8063
|
* deprecated virtual function. The default implementation will call
|
|
7878
8064
|
* `clutter_actor_remove_child()`.
|
|
7879
8065
|
* @param actor a {@link Clutter.Actor}
|
|
8066
|
+
* @since 0.4
|
|
8067
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7880
8068
|
*/
|
|
7881
8069
|
remove_actor(actor: Clutter.Actor): void;
|
|
7882
8070
|
|
|
7883
8071
|
/**
|
|
7884
8072
|
* Sorts a container's children using their depth. This function should not
|
|
7885
8073
|
* be normally used by applications.
|
|
8074
|
+
* @since 0.6
|
|
8075
|
+
* @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.
|
|
7886
8076
|
*/
|
|
7887
8077
|
sort_depth_order(): void;
|
|
7888
8078
|
|
|
@@ -7908,6 +8098,8 @@ export namespace Meta {
|
|
|
7908
8098
|
* deprecated virtual function. The default implementation will
|
|
7909
8099
|
* call `clutter_actor_add_child()`.
|
|
7910
8100
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8101
|
+
* @since 0.4
|
|
8102
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7911
8103
|
* @virtual
|
|
7912
8104
|
*/
|
|
7913
8105
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -7918,6 +8110,7 @@ export namespace Meta {
|
|
|
7918
8110
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7919
8111
|
* @param child a {@link Clutter.Actor}
|
|
7920
8112
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8113
|
+
* @since 1.6
|
|
7921
8114
|
* @virtual
|
|
7922
8115
|
*/
|
|
7923
8116
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -7933,6 +8126,7 @@ export namespace Meta {
|
|
|
7933
8126
|
*
|
|
7934
8127
|
* Applications should not call this function.
|
|
7935
8128
|
* @param actor a {@link Clutter.Actor}
|
|
8129
|
+
* @since 1.2
|
|
7936
8130
|
* @virtual
|
|
7937
8131
|
*/
|
|
7938
8132
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7947,6 +8141,7 @@ export namespace Meta {
|
|
|
7947
8141
|
*
|
|
7948
8142
|
* Applications should not call this function.
|
|
7949
8143
|
* @param actor a {@link Clutter.Actor}
|
|
8144
|
+
* @since 1.2
|
|
7950
8145
|
* @virtual
|
|
7951
8146
|
*/
|
|
7952
8147
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7955,6 +8150,7 @@ export namespace Meta {
|
|
|
7955
8150
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
7956
8151
|
* `container` specific state for `actor`.
|
|
7957
8152
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8153
|
+
* @since 0.8
|
|
7958
8154
|
* @virtual
|
|
7959
8155
|
*/
|
|
7960
8156
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -7967,6 +8163,8 @@ export namespace Meta {
|
|
|
7967
8163
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7968
8164
|
* @param actor the actor to raise
|
|
7969
8165
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8166
|
+
* @since 0.6
|
|
8167
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7970
8168
|
* @virtual
|
|
7971
8169
|
*/
|
|
7972
8170
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -7979,6 +8177,8 @@ export namespace Meta {
|
|
|
7979
8177
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7980
8178
|
* @param actor the actor to raise
|
|
7981
8179
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8180
|
+
* @since 0.6
|
|
8181
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7982
8182
|
* @virtual
|
|
7983
8183
|
*/
|
|
7984
8184
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -7993,6 +8193,8 @@ export namespace Meta {
|
|
|
7993
8193
|
* deprecated virtual function. The default implementation will call
|
|
7994
8194
|
* `clutter_actor_remove_child()`.
|
|
7995
8195
|
* @param actor a {@link Clutter.Actor}
|
|
8196
|
+
* @since 0.4
|
|
8197
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7996
8198
|
* @virtual
|
|
7997
8199
|
*/
|
|
7998
8200
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8000,6 +8202,8 @@ export namespace Meta {
|
|
|
8000
8202
|
/**
|
|
8001
8203
|
* Sorts a container's children using their depth. This function should not
|
|
8002
8204
|
* be normally used by applications.
|
|
8205
|
+
* @since 0.6
|
|
8206
|
+
* @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.
|
|
8003
8207
|
* @virtual
|
|
8004
8208
|
*/
|
|
8005
8209
|
vfunc_sort_depth_order(): void;
|
|
@@ -8007,6 +8211,7 @@ export namespace Meta {
|
|
|
8007
8211
|
/**
|
|
8008
8212
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8009
8213
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8214
|
+
* @since 0.6
|
|
8010
8215
|
*/
|
|
8011
8216
|
get_id(): string;
|
|
8012
8217
|
|
|
@@ -8018,6 +8223,7 @@ export namespace Meta {
|
|
|
8018
8223
|
* @param name the name of the node
|
|
8019
8224
|
* @param node the JSON node to be parsed
|
|
8020
8225
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8226
|
+
* @since 0.6
|
|
8021
8227
|
*/
|
|
8022
8228
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8023
8229
|
|
|
@@ -8027,6 +8233,7 @@ export namespace Meta {
|
|
|
8027
8233
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8028
8234
|
* @param name the name of the property
|
|
8029
8235
|
* @param value the value of the property
|
|
8236
|
+
* @since 0.6
|
|
8030
8237
|
*/
|
|
8031
8238
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8032
8239
|
|
|
@@ -8038,11 +8245,13 @@ export namespace Meta {
|
|
|
8038
8245
|
* define a unique name for an object constructable using the UI
|
|
8039
8246
|
* definition language parsed by {@link Clutter.Script}.
|
|
8040
8247
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8248
|
+
* @since 0.6
|
|
8041
8249
|
*/
|
|
8042
8250
|
set_id(id_: string): void;
|
|
8043
8251
|
|
|
8044
8252
|
/**
|
|
8045
8253
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8254
|
+
* @since 0.6
|
|
8046
8255
|
* @virtual
|
|
8047
8256
|
*/
|
|
8048
8257
|
vfunc_get_id(): string;
|
|
@@ -8054,6 +8263,7 @@ export namespace Meta {
|
|
|
8054
8263
|
* @param value the generic value to be set
|
|
8055
8264
|
* @param name the name of the node
|
|
8056
8265
|
* @param node the JSON node to be parsed
|
|
8266
|
+
* @since 0.6
|
|
8057
8267
|
* @virtual
|
|
8058
8268
|
*/
|
|
8059
8269
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8064,6 +8274,7 @@ export namespace Meta {
|
|
|
8064
8274
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8065
8275
|
* @param name the name of the property
|
|
8066
8276
|
* @param value the value of the property
|
|
8277
|
+
* @since 0.6
|
|
8067
8278
|
* @virtual
|
|
8068
8279
|
*/
|
|
8069
8280
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8076,6 +8287,7 @@ export namespace Meta {
|
|
|
8076
8287
|
* define a unique name for an object constructable using the UI
|
|
8077
8288
|
* definition language parsed by {@link Clutter.Script}.
|
|
8078
8289
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8290
|
+
* @since 0.6
|
|
8079
8291
|
* @virtual
|
|
8080
8292
|
*/
|
|
8081
8293
|
vfunc_set_id(id_: string): void;
|
|
@@ -8196,6 +8408,7 @@ export namespace Meta {
|
|
|
8196
8408
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8197
8409
|
* @param property_name the name of the animatable property to find
|
|
8198
8410
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8411
|
+
* @since 1.4
|
|
8199
8412
|
*/
|
|
8200
8413
|
find_property(property_name: string): GObject.ParamSpec;
|
|
8201
8414
|
|
|
@@ -8209,6 +8422,7 @@ export namespace Meta {
|
|
|
8209
8422
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8210
8423
|
* @param property_name the name of the animatable property to retrieve
|
|
8211
8424
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8425
|
+
* @since 1.4
|
|
8212
8426
|
*/
|
|
8213
8427
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
8214
8428
|
|
|
@@ -8226,6 +8440,7 @@ export namespace Meta {
|
|
|
8226
8440
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8227
8441
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8228
8442
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8443
|
+
* @since 1.8
|
|
8229
8444
|
*/
|
|
8230
8445
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
8231
8446
|
|
|
@@ -8233,12 +8448,14 @@ export namespace Meta {
|
|
|
8233
8448
|
* Sets the current state of `property_name` to `value`
|
|
8234
8449
|
* @param property_name the name of the animatable property to set
|
|
8235
8450
|
* @param value the value of the animatable property to set
|
|
8451
|
+
* @since 1.4
|
|
8236
8452
|
*/
|
|
8237
8453
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
8238
8454
|
|
|
8239
8455
|
/**
|
|
8240
8456
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8241
8457
|
* @param property_name the name of the animatable property to find
|
|
8458
|
+
* @since 1.4
|
|
8242
8459
|
* @virtual
|
|
8243
8460
|
*/
|
|
8244
8461
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -8253,6 +8470,7 @@ export namespace Meta {
|
|
|
8253
8470
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8254
8471
|
* @param property_name the name of the animatable property to retrieve
|
|
8255
8472
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8473
|
+
* @since 1.4
|
|
8256
8474
|
* @virtual
|
|
8257
8475
|
*/
|
|
8258
8476
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -8270,6 +8488,7 @@ export namespace Meta {
|
|
|
8270
8488
|
* @param property_name the name of the property to interpolate
|
|
8271
8489
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8272
8490
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8491
|
+
* @since 1.8
|
|
8273
8492
|
* @virtual
|
|
8274
8493
|
*/
|
|
8275
8494
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -8278,6 +8497,7 @@ export namespace Meta {
|
|
|
8278
8497
|
* Sets the current state of `property_name` to `value`
|
|
8279
8498
|
* @param property_name the name of the animatable property to set
|
|
8280
8499
|
* @param value the value of the animatable property to set
|
|
8500
|
+
* @since 1.4
|
|
8281
8501
|
* @virtual
|
|
8282
8502
|
*/
|
|
8283
8503
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -8292,6 +8512,8 @@ export namespace Meta {
|
|
|
8292
8512
|
* deprecated virtual function. The default implementation will
|
|
8293
8513
|
* call `clutter_actor_add_child()`.
|
|
8294
8514
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8515
|
+
* @since 0.4
|
|
8516
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8295
8517
|
*/
|
|
8296
8518
|
add_actor(actor: Clutter.Actor): void;
|
|
8297
8519
|
|
|
@@ -8306,6 +8528,7 @@ export namespace Meta {
|
|
|
8306
8528
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8307
8529
|
* @param property the name of the property to set.
|
|
8308
8530
|
* @param value the value.
|
|
8531
|
+
* @since 0.8
|
|
8309
8532
|
*/
|
|
8310
8533
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8311
8534
|
|
|
@@ -8315,6 +8538,7 @@ export namespace Meta {
|
|
|
8315
8538
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8316
8539
|
* @param child a {@link Clutter.Actor}
|
|
8317
8540
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8541
|
+
* @since 1.6
|
|
8318
8542
|
*/
|
|
8319
8543
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
8320
8544
|
|
|
@@ -8323,6 +8547,7 @@ export namespace Meta {
|
|
|
8323
8547
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8324
8548
|
* @param property the name of the property to set.
|
|
8325
8549
|
* @param value the value.
|
|
8550
|
+
* @since 0.8
|
|
8326
8551
|
*/
|
|
8327
8552
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8328
8553
|
|
|
@@ -8337,6 +8562,7 @@ export namespace Meta {
|
|
|
8337
8562
|
*
|
|
8338
8563
|
* Applications should not call this function.
|
|
8339
8564
|
* @param actor a {@link Clutter.Actor}
|
|
8565
|
+
* @since 1.2
|
|
8340
8566
|
*/
|
|
8341
8567
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8342
8568
|
|
|
@@ -8350,6 +8576,7 @@ export namespace Meta {
|
|
|
8350
8576
|
*
|
|
8351
8577
|
* Applications should not call this function.
|
|
8352
8578
|
* @param actor a {@link Clutter.Actor}
|
|
8579
|
+
* @since 1.2
|
|
8353
8580
|
*/
|
|
8354
8581
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8355
8582
|
|
|
@@ -8358,6 +8585,7 @@ export namespace Meta {
|
|
|
8358
8585
|
* into any child container.
|
|
8359
8586
|
* @param child_name the name of the requested child.
|
|
8360
8587
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8588
|
+
* @since 0.6
|
|
8361
8589
|
*/
|
|
8362
8590
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8363
8591
|
|
|
@@ -8366,12 +8594,15 @@ export namespace Meta {
|
|
|
8366
8594
|
* `container` specific state for `actor`.
|
|
8367
8595
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8368
8596
|
* @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
|
|
8597
|
+
* @since 0.8
|
|
8369
8598
|
*/
|
|
8370
8599
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8371
8600
|
|
|
8372
8601
|
/**
|
|
8373
8602
|
* Retrieves all the children of `container`.
|
|
8374
8603
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8604
|
+
* @since 0.4
|
|
8605
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8375
8606
|
*/
|
|
8376
8607
|
get_children(): Clutter.Actor[];
|
|
8377
8608
|
|
|
@@ -8383,6 +8614,8 @@ export namespace Meta {
|
|
|
8383
8614
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8384
8615
|
* @param actor the actor to raise
|
|
8385
8616
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8617
|
+
* @since 0.6
|
|
8618
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8386
8619
|
*/
|
|
8387
8620
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8388
8621
|
|
|
@@ -8394,6 +8627,8 @@ export namespace Meta {
|
|
|
8394
8627
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8395
8628
|
* @param actor the actor to raise
|
|
8396
8629
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8630
|
+
* @since 0.6
|
|
8631
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8397
8632
|
*/
|
|
8398
8633
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8399
8634
|
|
|
@@ -8407,12 +8642,16 @@ export namespace Meta {
|
|
|
8407
8642
|
* deprecated virtual function. The default implementation will call
|
|
8408
8643
|
* `clutter_actor_remove_child()`.
|
|
8409
8644
|
* @param actor a {@link Clutter.Actor}
|
|
8645
|
+
* @since 0.4
|
|
8646
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8410
8647
|
*/
|
|
8411
8648
|
remove_actor(actor: Clutter.Actor): void;
|
|
8412
8649
|
|
|
8413
8650
|
/**
|
|
8414
8651
|
* Sorts a container's children using their depth. This function should not
|
|
8415
8652
|
* be normally used by applications.
|
|
8653
|
+
* @since 0.6
|
|
8654
|
+
* @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.
|
|
8416
8655
|
*/
|
|
8417
8656
|
sort_depth_order(): void;
|
|
8418
8657
|
|
|
@@ -8438,6 +8677,8 @@ export namespace Meta {
|
|
|
8438
8677
|
* deprecated virtual function. The default implementation will
|
|
8439
8678
|
* call `clutter_actor_add_child()`.
|
|
8440
8679
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8680
|
+
* @since 0.4
|
|
8681
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8441
8682
|
* @virtual
|
|
8442
8683
|
*/
|
|
8443
8684
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8448,6 +8689,7 @@ export namespace Meta {
|
|
|
8448
8689
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8449
8690
|
* @param child a {@link Clutter.Actor}
|
|
8450
8691
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8692
|
+
* @since 1.6
|
|
8451
8693
|
* @virtual
|
|
8452
8694
|
*/
|
|
8453
8695
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8463,6 +8705,7 @@ export namespace Meta {
|
|
|
8463
8705
|
*
|
|
8464
8706
|
* Applications should not call this function.
|
|
8465
8707
|
* @param actor a {@link Clutter.Actor}
|
|
8708
|
+
* @since 1.2
|
|
8466
8709
|
* @virtual
|
|
8467
8710
|
*/
|
|
8468
8711
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8477,6 +8720,7 @@ export namespace Meta {
|
|
|
8477
8720
|
*
|
|
8478
8721
|
* Applications should not call this function.
|
|
8479
8722
|
* @param actor a {@link Clutter.Actor}
|
|
8723
|
+
* @since 1.2
|
|
8480
8724
|
* @virtual
|
|
8481
8725
|
*/
|
|
8482
8726
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8485,6 +8729,7 @@ export namespace Meta {
|
|
|
8485
8729
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8486
8730
|
* `container` specific state for `actor`.
|
|
8487
8731
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8732
|
+
* @since 0.8
|
|
8488
8733
|
* @virtual
|
|
8489
8734
|
*/
|
|
8490
8735
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8497,6 +8742,8 @@ export namespace Meta {
|
|
|
8497
8742
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8498
8743
|
* @param actor the actor to raise
|
|
8499
8744
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8745
|
+
* @since 0.6
|
|
8746
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8500
8747
|
* @virtual
|
|
8501
8748
|
*/
|
|
8502
8749
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8509,6 +8756,8 @@ export namespace Meta {
|
|
|
8509
8756
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8510
8757
|
* @param actor the actor to raise
|
|
8511
8758
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8759
|
+
* @since 0.6
|
|
8760
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8512
8761
|
* @virtual
|
|
8513
8762
|
*/
|
|
8514
8763
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8523,6 +8772,8 @@ export namespace Meta {
|
|
|
8523
8772
|
* deprecated virtual function. The default implementation will call
|
|
8524
8773
|
* `clutter_actor_remove_child()`.
|
|
8525
8774
|
* @param actor a {@link Clutter.Actor}
|
|
8775
|
+
* @since 0.4
|
|
8776
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8526
8777
|
* @virtual
|
|
8527
8778
|
*/
|
|
8528
8779
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8530,6 +8781,8 @@ export namespace Meta {
|
|
|
8530
8781
|
/**
|
|
8531
8782
|
* Sorts a container's children using their depth. This function should not
|
|
8532
8783
|
* be normally used by applications.
|
|
8784
|
+
* @since 0.6
|
|
8785
|
+
* @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.
|
|
8533
8786
|
* @virtual
|
|
8534
8787
|
*/
|
|
8535
8788
|
vfunc_sort_depth_order(): void;
|
|
@@ -8537,6 +8790,7 @@ export namespace Meta {
|
|
|
8537
8790
|
/**
|
|
8538
8791
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8539
8792
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8793
|
+
* @since 0.6
|
|
8540
8794
|
*/
|
|
8541
8795
|
get_id(): string;
|
|
8542
8796
|
|
|
@@ -8548,6 +8802,7 @@ export namespace Meta {
|
|
|
8548
8802
|
* @param name the name of the node
|
|
8549
8803
|
* @param node the JSON node to be parsed
|
|
8550
8804
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8805
|
+
* @since 0.6
|
|
8551
8806
|
*/
|
|
8552
8807
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8553
8808
|
|
|
@@ -8557,6 +8812,7 @@ export namespace Meta {
|
|
|
8557
8812
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8558
8813
|
* @param name the name of the property
|
|
8559
8814
|
* @param value the value of the property
|
|
8815
|
+
* @since 0.6
|
|
8560
8816
|
*/
|
|
8561
8817
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8562
8818
|
|
|
@@ -8568,11 +8824,13 @@ export namespace Meta {
|
|
|
8568
8824
|
* define a unique name for an object constructable using the UI
|
|
8569
8825
|
* definition language parsed by {@link Clutter.Script}.
|
|
8570
8826
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8827
|
+
* @since 0.6
|
|
8571
8828
|
*/
|
|
8572
8829
|
set_id(id_: string): void;
|
|
8573
8830
|
|
|
8574
8831
|
/**
|
|
8575
8832
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8833
|
+
* @since 0.6
|
|
8576
8834
|
* @virtual
|
|
8577
8835
|
*/
|
|
8578
8836
|
vfunc_get_id(): string;
|
|
@@ -8584,6 +8842,7 @@ export namespace Meta {
|
|
|
8584
8842
|
* @param value the generic value to be set
|
|
8585
8843
|
* @param name the name of the node
|
|
8586
8844
|
* @param node the JSON node to be parsed
|
|
8845
|
+
* @since 0.6
|
|
8587
8846
|
* @virtual
|
|
8588
8847
|
*/
|
|
8589
8848
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8594,6 +8853,7 @@ export namespace Meta {
|
|
|
8594
8853
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8595
8854
|
* @param name the name of the property
|
|
8596
8855
|
* @param value the value of the property
|
|
8856
|
+
* @since 0.6
|
|
8597
8857
|
* @virtual
|
|
8598
8858
|
*/
|
|
8599
8859
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8606,6 +8866,7 @@ export namespace Meta {
|
|
|
8606
8866
|
* define a unique name for an object constructable using the UI
|
|
8607
8867
|
* definition language parsed by {@link Clutter.Script}.
|
|
8608
8868
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8869
|
+
* @since 0.6
|
|
8609
8870
|
* @virtual
|
|
8610
8871
|
*/
|
|
8611
8872
|
vfunc_set_id(id_: string): void;
|
|
@@ -8619,12 +8880,12 @@ export namespace Meta {
|
|
|
8619
8880
|
* @signal
|
|
8620
8881
|
* @run-last
|
|
8621
8882
|
*/
|
|
8622
|
-
"window-added": (
|
|
8883
|
+
"window-added": (object: Window) => void;
|
|
8623
8884
|
/**
|
|
8624
8885
|
* @signal
|
|
8625
8886
|
* @run-last
|
|
8626
8887
|
*/
|
|
8627
|
-
"window-removed": (
|
|
8888
|
+
"window-removed": (object: Window) => void;
|
|
8628
8889
|
"notify::active": (pspec: GObject.ParamSpec) => void;
|
|
8629
8890
|
"notify::n-windows": (pspec: GObject.ParamSpec) => void;
|
|
8630
8891
|
"notify::workspace-index": (pspec: GObject.ParamSpec) => void;
|
|
@@ -8786,17 +9047,17 @@ export namespace Meta {
|
|
|
8786
9047
|
* @signal
|
|
8787
9048
|
* @run-last
|
|
8788
9049
|
*/
|
|
8789
|
-
"workspace-added": (
|
|
9050
|
+
"workspace-added": (object: number) => void;
|
|
8790
9051
|
/**
|
|
8791
9052
|
* @signal
|
|
8792
9053
|
* @run-last
|
|
8793
9054
|
*/
|
|
8794
|
-
"workspace-removed": (
|
|
9055
|
+
"workspace-removed": (object: number) => void;
|
|
8795
9056
|
/**
|
|
8796
9057
|
* @signal
|
|
8797
9058
|
* @run-last
|
|
8798
9059
|
*/
|
|
8799
|
-
"workspace-switched": (
|
|
9060
|
+
"workspace-switched": (object: number, p0: number, p1: MotionDirection) => void;
|
|
8800
9061
|
/**
|
|
8801
9062
|
* @signal
|
|
8802
9063
|
* @run-last
|