@girs/meta-4 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-4.d.ts +731 -372
- package/package.json +23 -23
package/meta-4.d.ts
CHANGED
|
@@ -57,23 +57,23 @@ export namespace Meta {
|
|
|
57
57
|
/**
|
|
58
58
|
* Menu
|
|
59
59
|
*/
|
|
60
|
-
MENU,
|
|
60
|
+
MENU = 0,
|
|
61
61
|
/**
|
|
62
62
|
* Minimize
|
|
63
63
|
*/
|
|
64
|
-
MINIMIZE,
|
|
64
|
+
MINIMIZE = 1,
|
|
65
65
|
/**
|
|
66
66
|
* Maximize
|
|
67
67
|
*/
|
|
68
|
-
MAXIMIZE,
|
|
68
|
+
MAXIMIZE = 2,
|
|
69
69
|
/**
|
|
70
70
|
* Close
|
|
71
71
|
*/
|
|
72
|
-
CLOSE,
|
|
72
|
+
CLOSE = 3,
|
|
73
73
|
/**
|
|
74
74
|
* Marks the end of the {@link Meta.ButtonFunction} enumeration
|
|
75
75
|
*/
|
|
76
|
-
LAST,
|
|
76
|
+
LAST = 4,
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
|
|
@@ -88,8 +88,8 @@ export namespace Meta {
|
|
|
88
88
|
* @gir-type Enum
|
|
89
89
|
*/
|
|
90
90
|
enum CloseDialogResponse {
|
|
91
|
-
WAIT,
|
|
92
|
-
FORCE_CLOSE,
|
|
91
|
+
WAIT = 0,
|
|
92
|
+
FORCE_CLOSE = 1,
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
|
|
@@ -112,26 +112,26 @@ export namespace Meta {
|
|
|
112
112
|
* workspace and is changed to become visible on the active
|
|
113
113
|
* workspace.)
|
|
114
114
|
*/
|
|
115
|
-
CREATE,
|
|
115
|
+
CREATE = 0,
|
|
116
116
|
/**
|
|
117
117
|
* The window should be shown
|
|
118
118
|
* as unminimizing from its icon geometry.
|
|
119
119
|
*/
|
|
120
|
-
UNMINIMIZE,
|
|
120
|
+
UNMINIMIZE = 1,
|
|
121
121
|
/**
|
|
122
122
|
* The window is being destroyed
|
|
123
123
|
*/
|
|
124
|
-
DESTROY,
|
|
124
|
+
DESTROY = 2,
|
|
125
125
|
/**
|
|
126
126
|
* The window should be shown
|
|
127
127
|
* as minimizing to its icon geometry.
|
|
128
128
|
*/
|
|
129
|
-
MINIMIZE,
|
|
129
|
+
MINIMIZE = 3,
|
|
130
130
|
/**
|
|
131
131
|
* No effect, the window should be
|
|
132
132
|
* shown or hidden immediately.
|
|
133
133
|
*/
|
|
134
|
-
NONE,
|
|
134
|
+
NONE = 4,
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
|
|
@@ -146,80 +146,80 @@ export namespace Meta {
|
|
|
146
146
|
* @gir-type Enum
|
|
147
147
|
*/
|
|
148
148
|
enum Cursor {
|
|
149
|
-
NONE,
|
|
149
|
+
NONE = 0,
|
|
150
150
|
/**
|
|
151
151
|
* Default cursor
|
|
152
152
|
*/
|
|
153
|
-
DEFAULT,
|
|
153
|
+
DEFAULT = 1,
|
|
154
154
|
/**
|
|
155
155
|
* Resize northern edge cursor
|
|
156
156
|
*/
|
|
157
|
-
NORTH_RESIZE,
|
|
157
|
+
NORTH_RESIZE = 2,
|
|
158
158
|
/**
|
|
159
159
|
* Resize southern edge cursor
|
|
160
160
|
*/
|
|
161
|
-
SOUTH_RESIZE,
|
|
161
|
+
SOUTH_RESIZE = 3,
|
|
162
162
|
/**
|
|
163
163
|
* Resize western edge cursor
|
|
164
164
|
*/
|
|
165
|
-
WEST_RESIZE,
|
|
165
|
+
WEST_RESIZE = 4,
|
|
166
166
|
/**
|
|
167
167
|
* Resize eastern edge cursor
|
|
168
168
|
*/
|
|
169
|
-
EAST_RESIZE,
|
|
169
|
+
EAST_RESIZE = 5,
|
|
170
170
|
/**
|
|
171
171
|
* Resize south-eastern corner cursor
|
|
172
172
|
*/
|
|
173
|
-
SE_RESIZE,
|
|
173
|
+
SE_RESIZE = 6,
|
|
174
174
|
/**
|
|
175
175
|
* Resize south-western corner cursor
|
|
176
176
|
*/
|
|
177
|
-
SW_RESIZE,
|
|
177
|
+
SW_RESIZE = 7,
|
|
178
178
|
/**
|
|
179
179
|
* Resize north-eastern corner cursor
|
|
180
180
|
*/
|
|
181
|
-
NE_RESIZE,
|
|
181
|
+
NE_RESIZE = 8,
|
|
182
182
|
/**
|
|
183
183
|
* Resize north-western corner cursor
|
|
184
184
|
*/
|
|
185
|
-
NW_RESIZE,
|
|
185
|
+
NW_RESIZE = 9,
|
|
186
186
|
/**
|
|
187
187
|
* Move or resize cursor
|
|
188
188
|
*/
|
|
189
|
-
MOVE_OR_RESIZE_WINDOW,
|
|
189
|
+
MOVE_OR_RESIZE_WINDOW = 10,
|
|
190
190
|
/**
|
|
191
191
|
* Busy cursor
|
|
192
192
|
*/
|
|
193
|
-
BUSY,
|
|
193
|
+
BUSY = 11,
|
|
194
194
|
/**
|
|
195
195
|
* DND in drag cursor
|
|
196
196
|
*/
|
|
197
|
-
DND_IN_DRAG,
|
|
197
|
+
DND_IN_DRAG = 12,
|
|
198
198
|
/**
|
|
199
199
|
* DND move cursor
|
|
200
200
|
*/
|
|
201
|
-
DND_MOVE,
|
|
201
|
+
DND_MOVE = 13,
|
|
202
202
|
/**
|
|
203
203
|
* DND copy cursor
|
|
204
204
|
*/
|
|
205
|
-
DND_COPY,
|
|
205
|
+
DND_COPY = 14,
|
|
206
206
|
/**
|
|
207
207
|
* DND unsupported target
|
|
208
208
|
*/
|
|
209
|
-
DND_UNSUPPORTED_TARGET,
|
|
209
|
+
DND_UNSUPPORTED_TARGET = 15,
|
|
210
210
|
/**
|
|
211
211
|
* pointing hand
|
|
212
212
|
*/
|
|
213
|
-
POINTING_HAND,
|
|
213
|
+
POINTING_HAND = 16,
|
|
214
214
|
/**
|
|
215
215
|
* crosshair (action forbidden)
|
|
216
216
|
*/
|
|
217
|
-
CROSSHAIR,
|
|
217
|
+
CROSSHAIR = 17,
|
|
218
218
|
/**
|
|
219
219
|
* I-beam (text input)
|
|
220
220
|
*/
|
|
221
|
-
IBEAM,
|
|
222
|
-
LAST,
|
|
221
|
+
IBEAM = 18,
|
|
222
|
+
LAST = 19,
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
|
|
@@ -237,19 +237,19 @@ export namespace Meta {
|
|
|
237
237
|
/**
|
|
238
238
|
* top-left corner
|
|
239
239
|
*/
|
|
240
|
-
TOPLEFT,
|
|
240
|
+
TOPLEFT = 0,
|
|
241
241
|
/**
|
|
242
242
|
* top-right corner
|
|
243
243
|
*/
|
|
244
|
-
TOPRIGHT,
|
|
244
|
+
TOPRIGHT = 1,
|
|
245
245
|
/**
|
|
246
246
|
* bottom-left corner
|
|
247
247
|
*/
|
|
248
|
-
BOTTOMLEFT,
|
|
248
|
+
BOTTOMLEFT = 2,
|
|
249
249
|
/**
|
|
250
250
|
* bottom-right corner
|
|
251
251
|
*/
|
|
252
|
-
BOTTOMRIGHT,
|
|
252
|
+
BOTTOMRIGHT = 3,
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
|
|
@@ -267,19 +267,19 @@ export namespace Meta {
|
|
|
267
267
|
/**
|
|
268
268
|
* up
|
|
269
269
|
*/
|
|
270
|
-
UP,
|
|
270
|
+
UP = 0,
|
|
271
271
|
/**
|
|
272
272
|
* down
|
|
273
273
|
*/
|
|
274
|
-
DOWN,
|
|
274
|
+
DOWN = 1,
|
|
275
275
|
/**
|
|
276
276
|
* left
|
|
277
277
|
*/
|
|
278
|
-
LEFT,
|
|
278
|
+
LEFT = 2,
|
|
279
279
|
/**
|
|
280
280
|
* right
|
|
281
281
|
*/
|
|
282
|
-
RIGHT,
|
|
282
|
+
RIGHT = 3,
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
|
|
@@ -297,15 +297,15 @@ export namespace Meta {
|
|
|
297
297
|
/**
|
|
298
298
|
* Whether the edge belongs to a window
|
|
299
299
|
*/
|
|
300
|
-
WINDOW,
|
|
300
|
+
WINDOW = 0,
|
|
301
301
|
/**
|
|
302
302
|
* Whether the edge belongs to a monitor
|
|
303
303
|
*/
|
|
304
|
-
MONITOR,
|
|
304
|
+
MONITOR = 1,
|
|
305
305
|
/**
|
|
306
306
|
* Whether the edge belongs to a screen
|
|
307
307
|
*/
|
|
308
|
-
SCREEN,
|
|
308
|
+
SCREEN = 2,
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
|
|
@@ -323,11 +323,11 @@ export namespace Meta {
|
|
|
323
323
|
/**
|
|
324
324
|
* Success
|
|
325
325
|
*/
|
|
326
|
-
SUCCESS,
|
|
326
|
+
SUCCESS = 0,
|
|
327
327
|
/**
|
|
328
328
|
* Error
|
|
329
329
|
*/
|
|
330
|
-
ERROR,
|
|
330
|
+
ERROR = 1,
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
|
|
@@ -345,35 +345,35 @@ export namespace Meta {
|
|
|
345
345
|
/**
|
|
346
346
|
* Normal frame
|
|
347
347
|
*/
|
|
348
|
-
NORMAL,
|
|
348
|
+
NORMAL = 0,
|
|
349
349
|
/**
|
|
350
350
|
* Dialog frame
|
|
351
351
|
*/
|
|
352
|
-
DIALOG,
|
|
352
|
+
DIALOG = 1,
|
|
353
353
|
/**
|
|
354
354
|
* Modal dialog frame
|
|
355
355
|
*/
|
|
356
|
-
MODAL_DIALOG,
|
|
356
|
+
MODAL_DIALOG = 2,
|
|
357
357
|
/**
|
|
358
358
|
* Utility frame
|
|
359
359
|
*/
|
|
360
|
-
UTILITY,
|
|
360
|
+
UTILITY = 3,
|
|
361
361
|
/**
|
|
362
362
|
* Menu frame
|
|
363
363
|
*/
|
|
364
|
-
MENU,
|
|
364
|
+
MENU = 4,
|
|
365
365
|
/**
|
|
366
366
|
* Border frame
|
|
367
367
|
*/
|
|
368
|
-
BORDER,
|
|
368
|
+
BORDER = 5,
|
|
369
369
|
/**
|
|
370
370
|
* Attached frame
|
|
371
371
|
*/
|
|
372
|
-
ATTACHED,
|
|
372
|
+
ATTACHED = 6,
|
|
373
373
|
/**
|
|
374
374
|
* Marks the end of the {@link Meta.FrameType} enumeration
|
|
375
375
|
*/
|
|
376
|
-
LAST,
|
|
376
|
+
LAST = 7,
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
|
|
@@ -391,90 +391,90 @@ export namespace Meta {
|
|
|
391
391
|
/**
|
|
392
392
|
* None
|
|
393
393
|
*/
|
|
394
|
-
NONE,
|
|
395
|
-
WINDOW_BASE,
|
|
394
|
+
NONE = 0,
|
|
395
|
+
WINDOW_BASE = 1,
|
|
396
396
|
/**
|
|
397
397
|
* Compositor asked for grab
|
|
398
398
|
*/
|
|
399
|
-
COMPOSITOR,
|
|
400
|
-
WAYLAND_POPUP,
|
|
401
|
-
FRAME_BUTTON,
|
|
399
|
+
COMPOSITOR = 2,
|
|
400
|
+
WAYLAND_POPUP = 3,
|
|
401
|
+
FRAME_BUTTON = 4,
|
|
402
402
|
/**
|
|
403
403
|
* Moving with pointer
|
|
404
404
|
*/
|
|
405
|
-
MOVING,
|
|
405
|
+
MOVING = 1,
|
|
406
406
|
/**
|
|
407
407
|
* Resizing NW with pointer
|
|
408
408
|
*/
|
|
409
|
-
RESIZING_NW,
|
|
409
|
+
RESIZING_NW = 36865,
|
|
410
410
|
/**
|
|
411
411
|
* Resizing N with pointer
|
|
412
412
|
*/
|
|
413
|
-
RESIZING_N,
|
|
413
|
+
RESIZING_N = 32769,
|
|
414
414
|
/**
|
|
415
415
|
* Resizing NE with pointer
|
|
416
416
|
*/
|
|
417
|
-
RESIZING_NE,
|
|
417
|
+
RESIZING_NE = 40961,
|
|
418
418
|
/**
|
|
419
419
|
* Resizing E with pointer
|
|
420
420
|
*/
|
|
421
|
-
RESIZING_E,
|
|
421
|
+
RESIZING_E = 8193,
|
|
422
422
|
/**
|
|
423
423
|
* Resizing SW with pointer
|
|
424
424
|
*/
|
|
425
|
-
RESIZING_SW,
|
|
425
|
+
RESIZING_SW = 20481,
|
|
426
426
|
/**
|
|
427
427
|
* Resizing S with pointer
|
|
428
428
|
*/
|
|
429
|
-
RESIZING_S,
|
|
429
|
+
RESIZING_S = 16385,
|
|
430
430
|
/**
|
|
431
431
|
* Resizing SE with pointer
|
|
432
432
|
*/
|
|
433
|
-
RESIZING_SE,
|
|
433
|
+
RESIZING_SE = 24577,
|
|
434
434
|
/**
|
|
435
435
|
* Resizing W with pointer
|
|
436
436
|
*/
|
|
437
|
-
RESIZING_W,
|
|
437
|
+
RESIZING_W = 4097,
|
|
438
438
|
/**
|
|
439
439
|
* Moving with keyboard
|
|
440
440
|
*/
|
|
441
|
-
KEYBOARD_MOVING,
|
|
441
|
+
KEYBOARD_MOVING = 257,
|
|
442
442
|
/**
|
|
443
443
|
* Resizing with keyboard
|
|
444
444
|
*/
|
|
445
|
-
KEYBOARD_RESIZING_UNKNOWN,
|
|
445
|
+
KEYBOARD_RESIZING_UNKNOWN = 769,
|
|
446
446
|
/**
|
|
447
447
|
* Resizing NS with keyboard
|
|
448
448
|
*/
|
|
449
|
-
KEYBOARD_RESIZING_NW,
|
|
449
|
+
KEYBOARD_RESIZING_NW = 37121,
|
|
450
450
|
/**
|
|
451
451
|
* Resizing N with keyboard
|
|
452
452
|
*/
|
|
453
|
-
KEYBOARD_RESIZING_N,
|
|
453
|
+
KEYBOARD_RESIZING_N = 33025,
|
|
454
454
|
/**
|
|
455
455
|
* Resizing NE with keyboard
|
|
456
456
|
*/
|
|
457
|
-
KEYBOARD_RESIZING_NE,
|
|
457
|
+
KEYBOARD_RESIZING_NE = 41217,
|
|
458
458
|
/**
|
|
459
459
|
* Resizing E with keyboard
|
|
460
460
|
*/
|
|
461
|
-
KEYBOARD_RESIZING_E,
|
|
461
|
+
KEYBOARD_RESIZING_E = 8449,
|
|
462
462
|
/**
|
|
463
463
|
* Resizing SW with keyboard
|
|
464
464
|
*/
|
|
465
|
-
KEYBOARD_RESIZING_SW,
|
|
465
|
+
KEYBOARD_RESIZING_SW = 20737,
|
|
466
466
|
/**
|
|
467
467
|
* Resizing S with keyboard
|
|
468
468
|
*/
|
|
469
|
-
KEYBOARD_RESIZING_S,
|
|
469
|
+
KEYBOARD_RESIZING_S = 16641,
|
|
470
470
|
/**
|
|
471
471
|
* Resizing SE with keyboard
|
|
472
472
|
*/
|
|
473
|
-
KEYBOARD_RESIZING_SE,
|
|
473
|
+
KEYBOARD_RESIZING_SE = 24833,
|
|
474
474
|
/**
|
|
475
475
|
* Resizing W with keyboard
|
|
476
476
|
*/
|
|
477
|
-
KEYBOARD_RESIZING_W,
|
|
477
|
+
KEYBOARD_RESIZING_W = 4353,
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
|
|
@@ -489,8 +489,8 @@ export namespace Meta {
|
|
|
489
489
|
* @gir-type Enum
|
|
490
490
|
*/
|
|
491
491
|
enum InhibitShortcutsDialogResponse {
|
|
492
|
-
ALLOW,
|
|
493
|
-
DENY,
|
|
492
|
+
ALLOW = 0,
|
|
493
|
+
DENY = 1,
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
|
|
@@ -508,362 +508,362 @@ export namespace Meta {
|
|
|
508
508
|
/**
|
|
509
509
|
* FILLME
|
|
510
510
|
*/
|
|
511
|
-
NONE,
|
|
511
|
+
NONE = 0,
|
|
512
512
|
/**
|
|
513
513
|
* FILLME
|
|
514
514
|
*/
|
|
515
|
-
WORKSPACE_1,
|
|
515
|
+
WORKSPACE_1 = 1,
|
|
516
516
|
/**
|
|
517
517
|
* FILLME
|
|
518
518
|
*/
|
|
519
|
-
WORKSPACE_2,
|
|
519
|
+
WORKSPACE_2 = 2,
|
|
520
520
|
/**
|
|
521
521
|
* FILLME
|
|
522
522
|
*/
|
|
523
|
-
WORKSPACE_3,
|
|
523
|
+
WORKSPACE_3 = 3,
|
|
524
524
|
/**
|
|
525
525
|
* FILLME
|
|
526
526
|
*/
|
|
527
|
-
WORKSPACE_4,
|
|
527
|
+
WORKSPACE_4 = 4,
|
|
528
528
|
/**
|
|
529
529
|
* FILLME
|
|
530
530
|
*/
|
|
531
|
-
WORKSPACE_5,
|
|
531
|
+
WORKSPACE_5 = 5,
|
|
532
532
|
/**
|
|
533
533
|
* FILLME
|
|
534
534
|
*/
|
|
535
|
-
WORKSPACE_6,
|
|
535
|
+
WORKSPACE_6 = 6,
|
|
536
536
|
/**
|
|
537
537
|
* FILLME
|
|
538
538
|
*/
|
|
539
|
-
WORKSPACE_7,
|
|
539
|
+
WORKSPACE_7 = 7,
|
|
540
540
|
/**
|
|
541
541
|
* FILLME
|
|
542
542
|
*/
|
|
543
|
-
WORKSPACE_8,
|
|
543
|
+
WORKSPACE_8 = 8,
|
|
544
544
|
/**
|
|
545
545
|
* FILLME
|
|
546
546
|
*/
|
|
547
|
-
WORKSPACE_9,
|
|
547
|
+
WORKSPACE_9 = 9,
|
|
548
548
|
/**
|
|
549
549
|
* FILLME
|
|
550
550
|
*/
|
|
551
|
-
WORKSPACE_10,
|
|
551
|
+
WORKSPACE_10 = 10,
|
|
552
552
|
/**
|
|
553
553
|
* FILLME
|
|
554
554
|
*/
|
|
555
|
-
WORKSPACE_11,
|
|
555
|
+
WORKSPACE_11 = 11,
|
|
556
556
|
/**
|
|
557
557
|
* FILLME
|
|
558
558
|
*/
|
|
559
|
-
WORKSPACE_12,
|
|
559
|
+
WORKSPACE_12 = 12,
|
|
560
560
|
/**
|
|
561
561
|
* FILLME
|
|
562
562
|
*/
|
|
563
|
-
WORKSPACE_LEFT,
|
|
563
|
+
WORKSPACE_LEFT = 13,
|
|
564
564
|
/**
|
|
565
565
|
* FILLME
|
|
566
566
|
*/
|
|
567
|
-
WORKSPACE_RIGHT,
|
|
567
|
+
WORKSPACE_RIGHT = 14,
|
|
568
568
|
/**
|
|
569
569
|
* FILLME
|
|
570
570
|
*/
|
|
571
|
-
WORKSPACE_UP,
|
|
571
|
+
WORKSPACE_UP = 15,
|
|
572
572
|
/**
|
|
573
573
|
* FILLME
|
|
574
574
|
*/
|
|
575
|
-
WORKSPACE_DOWN,
|
|
575
|
+
WORKSPACE_DOWN = 16,
|
|
576
576
|
/**
|
|
577
577
|
* FILLME
|
|
578
578
|
*/
|
|
579
|
-
WORKSPACE_LAST,
|
|
579
|
+
WORKSPACE_LAST = 17,
|
|
580
580
|
/**
|
|
581
581
|
* FILLME
|
|
582
582
|
*/
|
|
583
|
-
SWITCH_APPLICATIONS,
|
|
583
|
+
SWITCH_APPLICATIONS = 18,
|
|
584
584
|
/**
|
|
585
585
|
* FILLME
|
|
586
586
|
*/
|
|
587
|
-
SWITCH_APPLICATIONS_BACKWARD,
|
|
587
|
+
SWITCH_APPLICATIONS_BACKWARD = 19,
|
|
588
588
|
/**
|
|
589
589
|
* FILLME
|
|
590
590
|
*/
|
|
591
|
-
SWITCH_GROUP,
|
|
591
|
+
SWITCH_GROUP = 20,
|
|
592
592
|
/**
|
|
593
593
|
* FILLME
|
|
594
594
|
*/
|
|
595
|
-
SWITCH_GROUP_BACKWARD,
|
|
595
|
+
SWITCH_GROUP_BACKWARD = 21,
|
|
596
596
|
/**
|
|
597
597
|
* FILLME
|
|
598
598
|
*/
|
|
599
|
-
SWITCH_WINDOWS,
|
|
599
|
+
SWITCH_WINDOWS = 22,
|
|
600
600
|
/**
|
|
601
601
|
* FILLME
|
|
602
602
|
*/
|
|
603
|
-
SWITCH_WINDOWS_BACKWARD,
|
|
603
|
+
SWITCH_WINDOWS_BACKWARD = 23,
|
|
604
604
|
/**
|
|
605
605
|
* FILLME
|
|
606
606
|
*/
|
|
607
|
-
SWITCH_PANELS,
|
|
607
|
+
SWITCH_PANELS = 24,
|
|
608
608
|
/**
|
|
609
609
|
* FILLME
|
|
610
610
|
*/
|
|
611
|
-
SWITCH_PANELS_BACKWARD,
|
|
611
|
+
SWITCH_PANELS_BACKWARD = 25,
|
|
612
612
|
/**
|
|
613
613
|
* FILLME
|
|
614
614
|
*/
|
|
615
|
-
CYCLE_GROUP,
|
|
615
|
+
CYCLE_GROUP = 26,
|
|
616
616
|
/**
|
|
617
617
|
* FILLME
|
|
618
618
|
*/
|
|
619
|
-
CYCLE_GROUP_BACKWARD,
|
|
619
|
+
CYCLE_GROUP_BACKWARD = 27,
|
|
620
620
|
/**
|
|
621
621
|
* FILLME
|
|
622
622
|
*/
|
|
623
|
-
CYCLE_WINDOWS,
|
|
623
|
+
CYCLE_WINDOWS = 28,
|
|
624
624
|
/**
|
|
625
625
|
* FILLME
|
|
626
626
|
*/
|
|
627
|
-
CYCLE_WINDOWS_BACKWARD,
|
|
627
|
+
CYCLE_WINDOWS_BACKWARD = 29,
|
|
628
628
|
/**
|
|
629
629
|
* FILLME
|
|
630
630
|
*/
|
|
631
|
-
CYCLE_PANELS,
|
|
631
|
+
CYCLE_PANELS = 30,
|
|
632
632
|
/**
|
|
633
633
|
* FILLME
|
|
634
634
|
*/
|
|
635
|
-
CYCLE_PANELS_BACKWARD,
|
|
635
|
+
CYCLE_PANELS_BACKWARD = 31,
|
|
636
636
|
/**
|
|
637
637
|
* FILLME
|
|
638
638
|
*/
|
|
639
|
-
SHOW_DESKTOP,
|
|
639
|
+
SHOW_DESKTOP = 32,
|
|
640
640
|
/**
|
|
641
641
|
* FILLME
|
|
642
642
|
*/
|
|
643
|
-
PANEL_MAIN_MENU,
|
|
643
|
+
PANEL_MAIN_MENU = 33,
|
|
644
644
|
/**
|
|
645
645
|
* FILLME
|
|
646
646
|
*/
|
|
647
|
-
PANEL_RUN_DIALOG,
|
|
647
|
+
PANEL_RUN_DIALOG = 34,
|
|
648
648
|
/**
|
|
649
649
|
* FILLME
|
|
650
650
|
*/
|
|
651
|
-
TOGGLE_RECORDING,
|
|
651
|
+
TOGGLE_RECORDING = 35,
|
|
652
652
|
/**
|
|
653
653
|
* FILLME
|
|
654
654
|
*/
|
|
655
|
-
SET_SPEW_MARK,
|
|
655
|
+
SET_SPEW_MARK = 36,
|
|
656
656
|
/**
|
|
657
657
|
* FILLME
|
|
658
658
|
*/
|
|
659
|
-
ACTIVATE_WINDOW_MENU,
|
|
659
|
+
ACTIVATE_WINDOW_MENU = 37,
|
|
660
660
|
/**
|
|
661
661
|
* FILLME
|
|
662
662
|
*/
|
|
663
|
-
TOGGLE_FULLSCREEN,
|
|
663
|
+
TOGGLE_FULLSCREEN = 38,
|
|
664
664
|
/**
|
|
665
665
|
* FILLME
|
|
666
666
|
*/
|
|
667
|
-
TOGGLE_MAXIMIZED,
|
|
667
|
+
TOGGLE_MAXIMIZED = 39,
|
|
668
668
|
/**
|
|
669
669
|
* FILLME
|
|
670
670
|
*/
|
|
671
|
-
TOGGLE_TILED_LEFT,
|
|
671
|
+
TOGGLE_TILED_LEFT = 40,
|
|
672
672
|
/**
|
|
673
673
|
* FILLME
|
|
674
674
|
*/
|
|
675
|
-
TOGGLE_TILED_RIGHT,
|
|
675
|
+
TOGGLE_TILED_RIGHT = 41,
|
|
676
676
|
/**
|
|
677
677
|
* FILLME
|
|
678
678
|
*/
|
|
679
|
-
TOGGLE_ABOVE,
|
|
679
|
+
TOGGLE_ABOVE = 42,
|
|
680
680
|
/**
|
|
681
681
|
* FILLME
|
|
682
682
|
*/
|
|
683
|
-
MAXIMIZE,
|
|
683
|
+
MAXIMIZE = 43,
|
|
684
684
|
/**
|
|
685
685
|
* FILLME
|
|
686
686
|
*/
|
|
687
|
-
UNMAXIMIZE,
|
|
687
|
+
UNMAXIMIZE = 44,
|
|
688
688
|
/**
|
|
689
689
|
* FILLME
|
|
690
690
|
*/
|
|
691
|
-
TOGGLE_SHADED,
|
|
691
|
+
TOGGLE_SHADED = 45,
|
|
692
692
|
/**
|
|
693
693
|
* FILLME
|
|
694
694
|
*/
|
|
695
|
-
MINIMIZE,
|
|
695
|
+
MINIMIZE = 46,
|
|
696
696
|
/**
|
|
697
697
|
* FILLME
|
|
698
698
|
*/
|
|
699
|
-
CLOSE,
|
|
699
|
+
CLOSE = 47,
|
|
700
700
|
/**
|
|
701
701
|
* FILLME
|
|
702
702
|
*/
|
|
703
|
-
BEGIN_MOVE,
|
|
703
|
+
BEGIN_MOVE = 48,
|
|
704
704
|
/**
|
|
705
705
|
* FILLME
|
|
706
706
|
*/
|
|
707
|
-
BEGIN_RESIZE,
|
|
707
|
+
BEGIN_RESIZE = 49,
|
|
708
708
|
/**
|
|
709
709
|
* FILLME
|
|
710
710
|
*/
|
|
711
|
-
TOGGLE_ON_ALL_WORKSPACES,
|
|
711
|
+
TOGGLE_ON_ALL_WORKSPACES = 50,
|
|
712
712
|
/**
|
|
713
713
|
* FILLME
|
|
714
714
|
*/
|
|
715
|
-
MOVE_TO_WORKSPACE_1,
|
|
715
|
+
MOVE_TO_WORKSPACE_1 = 51,
|
|
716
716
|
/**
|
|
717
717
|
* FILLME
|
|
718
718
|
*/
|
|
719
|
-
MOVE_TO_WORKSPACE_2,
|
|
719
|
+
MOVE_TO_WORKSPACE_2 = 52,
|
|
720
720
|
/**
|
|
721
721
|
* FILLME
|
|
722
722
|
*/
|
|
723
|
-
MOVE_TO_WORKSPACE_3,
|
|
723
|
+
MOVE_TO_WORKSPACE_3 = 53,
|
|
724
724
|
/**
|
|
725
725
|
* FILLME
|
|
726
726
|
*/
|
|
727
|
-
MOVE_TO_WORKSPACE_4,
|
|
727
|
+
MOVE_TO_WORKSPACE_4 = 54,
|
|
728
728
|
/**
|
|
729
729
|
* FILLME
|
|
730
730
|
*/
|
|
731
|
-
MOVE_TO_WORKSPACE_5,
|
|
731
|
+
MOVE_TO_WORKSPACE_5 = 55,
|
|
732
732
|
/**
|
|
733
733
|
* FILLME
|
|
734
734
|
*/
|
|
735
|
-
MOVE_TO_WORKSPACE_6,
|
|
735
|
+
MOVE_TO_WORKSPACE_6 = 56,
|
|
736
736
|
/**
|
|
737
737
|
* FILLME
|
|
738
738
|
*/
|
|
739
|
-
MOVE_TO_WORKSPACE_7,
|
|
739
|
+
MOVE_TO_WORKSPACE_7 = 57,
|
|
740
740
|
/**
|
|
741
741
|
* FILLME
|
|
742
742
|
*/
|
|
743
|
-
MOVE_TO_WORKSPACE_8,
|
|
743
|
+
MOVE_TO_WORKSPACE_8 = 58,
|
|
744
744
|
/**
|
|
745
745
|
* FILLME
|
|
746
746
|
*/
|
|
747
|
-
MOVE_TO_WORKSPACE_9,
|
|
747
|
+
MOVE_TO_WORKSPACE_9 = 59,
|
|
748
748
|
/**
|
|
749
749
|
* FILLME
|
|
750
750
|
*/
|
|
751
|
-
MOVE_TO_WORKSPACE_10,
|
|
751
|
+
MOVE_TO_WORKSPACE_10 = 60,
|
|
752
752
|
/**
|
|
753
753
|
* FILLME
|
|
754
754
|
*/
|
|
755
|
-
MOVE_TO_WORKSPACE_11,
|
|
755
|
+
MOVE_TO_WORKSPACE_11 = 61,
|
|
756
756
|
/**
|
|
757
757
|
* FILLME
|
|
758
758
|
*/
|
|
759
|
-
MOVE_TO_WORKSPACE_12,
|
|
759
|
+
MOVE_TO_WORKSPACE_12 = 62,
|
|
760
760
|
/**
|
|
761
761
|
* FILLME
|
|
762
762
|
*/
|
|
763
|
-
MOVE_TO_WORKSPACE_LEFT,
|
|
763
|
+
MOVE_TO_WORKSPACE_LEFT = 63,
|
|
764
764
|
/**
|
|
765
765
|
* FILLME
|
|
766
766
|
*/
|
|
767
|
-
MOVE_TO_WORKSPACE_RIGHT,
|
|
767
|
+
MOVE_TO_WORKSPACE_RIGHT = 64,
|
|
768
768
|
/**
|
|
769
769
|
* FILLME
|
|
770
770
|
*/
|
|
771
|
-
MOVE_TO_WORKSPACE_UP,
|
|
771
|
+
MOVE_TO_WORKSPACE_UP = 65,
|
|
772
772
|
/**
|
|
773
773
|
* FILLME
|
|
774
774
|
*/
|
|
775
|
-
MOVE_TO_WORKSPACE_DOWN,
|
|
775
|
+
MOVE_TO_WORKSPACE_DOWN = 66,
|
|
776
776
|
/**
|
|
777
777
|
* FILLME
|
|
778
778
|
*/
|
|
779
|
-
MOVE_TO_WORKSPACE_LAST,
|
|
779
|
+
MOVE_TO_WORKSPACE_LAST = 67,
|
|
780
780
|
/**
|
|
781
781
|
* FILLME
|
|
782
782
|
*/
|
|
783
|
-
MOVE_TO_MONITOR_LEFT,
|
|
783
|
+
MOVE_TO_MONITOR_LEFT = 68,
|
|
784
784
|
/**
|
|
785
785
|
* FILLME
|
|
786
786
|
*/
|
|
787
|
-
MOVE_TO_MONITOR_RIGHT,
|
|
787
|
+
MOVE_TO_MONITOR_RIGHT = 69,
|
|
788
788
|
/**
|
|
789
789
|
* FILLME
|
|
790
790
|
*/
|
|
791
|
-
MOVE_TO_MONITOR_UP,
|
|
791
|
+
MOVE_TO_MONITOR_UP = 70,
|
|
792
792
|
/**
|
|
793
793
|
* FILLME
|
|
794
794
|
*/
|
|
795
|
-
MOVE_TO_MONITOR_DOWN,
|
|
795
|
+
MOVE_TO_MONITOR_DOWN = 71,
|
|
796
796
|
/**
|
|
797
797
|
* FILLME
|
|
798
798
|
*/
|
|
799
|
-
RAISE_OR_LOWER,
|
|
799
|
+
RAISE_OR_LOWER = 72,
|
|
800
800
|
/**
|
|
801
801
|
* FILLME
|
|
802
802
|
*/
|
|
803
|
-
RAISE,
|
|
803
|
+
RAISE = 73,
|
|
804
804
|
/**
|
|
805
805
|
* FILLME
|
|
806
806
|
*/
|
|
807
|
-
LOWER,
|
|
807
|
+
LOWER = 74,
|
|
808
808
|
/**
|
|
809
809
|
* FILLME
|
|
810
810
|
*/
|
|
811
|
-
MAXIMIZE_VERTICALLY,
|
|
811
|
+
MAXIMIZE_VERTICALLY = 75,
|
|
812
812
|
/**
|
|
813
813
|
* FILLME
|
|
814
814
|
*/
|
|
815
|
-
MAXIMIZE_HORIZONTALLY,
|
|
815
|
+
MAXIMIZE_HORIZONTALLY = 76,
|
|
816
816
|
/**
|
|
817
817
|
* FILLME
|
|
818
818
|
*/
|
|
819
|
-
MOVE_TO_CORNER_NW,
|
|
819
|
+
MOVE_TO_CORNER_NW = 77,
|
|
820
820
|
/**
|
|
821
821
|
* FILLME
|
|
822
822
|
*/
|
|
823
|
-
MOVE_TO_CORNER_NE,
|
|
823
|
+
MOVE_TO_CORNER_NE = 78,
|
|
824
824
|
/**
|
|
825
825
|
* FILLME
|
|
826
826
|
*/
|
|
827
|
-
MOVE_TO_CORNER_SW,
|
|
827
|
+
MOVE_TO_CORNER_SW = 79,
|
|
828
828
|
/**
|
|
829
829
|
* FILLME
|
|
830
830
|
*/
|
|
831
|
-
MOVE_TO_CORNER_SE,
|
|
831
|
+
MOVE_TO_CORNER_SE = 80,
|
|
832
832
|
/**
|
|
833
833
|
* FILLME
|
|
834
834
|
*/
|
|
835
|
-
MOVE_TO_SIDE_N,
|
|
835
|
+
MOVE_TO_SIDE_N = 81,
|
|
836
836
|
/**
|
|
837
837
|
* FILLME
|
|
838
838
|
*/
|
|
839
|
-
MOVE_TO_SIDE_S,
|
|
839
|
+
MOVE_TO_SIDE_S = 82,
|
|
840
840
|
/**
|
|
841
841
|
* FILLME
|
|
842
842
|
*/
|
|
843
|
-
MOVE_TO_SIDE_E,
|
|
843
|
+
MOVE_TO_SIDE_E = 83,
|
|
844
844
|
/**
|
|
845
845
|
* FILLME
|
|
846
846
|
*/
|
|
847
|
-
MOVE_TO_SIDE_W,
|
|
847
|
+
MOVE_TO_SIDE_W = 84,
|
|
848
848
|
/**
|
|
849
849
|
* FILLME
|
|
850
850
|
*/
|
|
851
|
-
MOVE_TO_CENTER,
|
|
851
|
+
MOVE_TO_CENTER = 85,
|
|
852
852
|
/**
|
|
853
853
|
* FILLME
|
|
854
854
|
*/
|
|
855
|
-
OVERLAY_KEY,
|
|
856
|
-
ISO_NEXT_GROUP,
|
|
855
|
+
OVERLAY_KEY = 86,
|
|
856
|
+
ISO_NEXT_GROUP = 87,
|
|
857
857
|
/**
|
|
858
858
|
* FILLME
|
|
859
859
|
*/
|
|
860
|
-
ALWAYS_ON_TOP,
|
|
861
|
-
SWITCH_MONITOR,
|
|
862
|
-
ROTATE_MONITOR,
|
|
860
|
+
ALWAYS_ON_TOP = 88,
|
|
861
|
+
SWITCH_MONITOR = 89,
|
|
862
|
+
ROTATE_MONITOR = 90,
|
|
863
863
|
/**
|
|
864
864
|
* FILLME
|
|
865
865
|
*/
|
|
866
|
-
LAST,
|
|
866
|
+
LAST = 91,
|
|
867
867
|
}
|
|
868
868
|
|
|
869
869
|
|
|
@@ -882,28 +882,28 @@ export namespace Meta {
|
|
|
882
882
|
* call in a resize processing phase that is done
|
|
883
883
|
* before GTK+ repainting (including window borders) is done.
|
|
884
884
|
*/
|
|
885
|
-
RESIZE,
|
|
885
|
+
RESIZE = 0,
|
|
886
886
|
/**
|
|
887
887
|
* used by Mutter to compute which windows should be mapped
|
|
888
888
|
*/
|
|
889
|
-
CALC_SHOWING,
|
|
889
|
+
CALC_SHOWING = 1,
|
|
890
890
|
/**
|
|
891
891
|
* used by Mutter to see if there's a fullscreen window
|
|
892
892
|
*/
|
|
893
|
-
CHECK_FULLSCREEN,
|
|
893
|
+
CHECK_FULLSCREEN = 2,
|
|
894
894
|
/**
|
|
895
895
|
* used by Mutter to send it's idea of the stacking order to the server
|
|
896
896
|
*/
|
|
897
|
-
SYNC_STACK,
|
|
897
|
+
SYNC_STACK = 3,
|
|
898
898
|
/**
|
|
899
899
|
* call before the stage is redrawn
|
|
900
900
|
*/
|
|
901
|
-
BEFORE_REDRAW,
|
|
901
|
+
BEFORE_REDRAW = 4,
|
|
902
902
|
/**
|
|
903
903
|
* call at a very low priority (can be blocked
|
|
904
904
|
* by running animations or redrawing applications)
|
|
905
905
|
*/
|
|
906
|
-
IDLE,
|
|
906
|
+
IDLE = 5,
|
|
907
907
|
}
|
|
908
908
|
|
|
909
909
|
|
|
@@ -918,8 +918,8 @@ export namespace Meta {
|
|
|
918
918
|
* @gir-type Enum
|
|
919
919
|
*/
|
|
920
920
|
enum LocaleDirection {
|
|
921
|
-
LTR,
|
|
922
|
-
RTL,
|
|
921
|
+
LTR = 0,
|
|
922
|
+
RTL = 1,
|
|
923
923
|
}
|
|
924
924
|
|
|
925
925
|
|
|
@@ -934,11 +934,11 @@ export namespace Meta {
|
|
|
934
934
|
* @gir-type Enum
|
|
935
935
|
*/
|
|
936
936
|
enum MonitorSwitchConfigType {
|
|
937
|
-
ALL_MIRROR,
|
|
938
|
-
ALL_LINEAR,
|
|
939
|
-
EXTERNAL,
|
|
940
|
-
BUILTIN,
|
|
941
|
-
UNKNOWN,
|
|
937
|
+
ALL_MIRROR = 0,
|
|
938
|
+
ALL_LINEAR = 1,
|
|
939
|
+
EXTERNAL = 2,
|
|
940
|
+
BUILTIN = 3,
|
|
941
|
+
UNKNOWN = 4,
|
|
942
942
|
}
|
|
943
943
|
|
|
944
944
|
|
|
@@ -956,35 +956,35 @@ export namespace Meta {
|
|
|
956
956
|
/**
|
|
957
957
|
* Upwards motion
|
|
958
958
|
*/
|
|
959
|
-
UP,
|
|
959
|
+
UP = -1,
|
|
960
960
|
/**
|
|
961
961
|
* Downwards motion
|
|
962
962
|
*/
|
|
963
|
-
DOWN,
|
|
963
|
+
DOWN = -2,
|
|
964
964
|
/**
|
|
965
965
|
* Motion to the left
|
|
966
966
|
*/
|
|
967
|
-
LEFT,
|
|
967
|
+
LEFT = -3,
|
|
968
968
|
/**
|
|
969
969
|
* Motion to the right
|
|
970
970
|
*/
|
|
971
|
-
RIGHT,
|
|
971
|
+
RIGHT = -4,
|
|
972
972
|
/**
|
|
973
973
|
* Motion up and to the left
|
|
974
974
|
*/
|
|
975
|
-
UP_LEFT,
|
|
975
|
+
UP_LEFT = -5,
|
|
976
976
|
/**
|
|
977
977
|
* Motion up and to the right
|
|
978
978
|
*/
|
|
979
|
-
UP_RIGHT,
|
|
979
|
+
UP_RIGHT = -6,
|
|
980
980
|
/**
|
|
981
981
|
* Motion down and to the left
|
|
982
982
|
*/
|
|
983
|
-
DOWN_LEFT,
|
|
983
|
+
DOWN_LEFT = -7,
|
|
984
984
|
/**
|
|
985
985
|
* Motion down and to the right
|
|
986
986
|
*/
|
|
987
|
-
DOWN_RIGHT,
|
|
987
|
+
DOWN_RIGHT = -8,
|
|
988
988
|
}
|
|
989
989
|
|
|
990
990
|
|
|
@@ -999,9 +999,9 @@ export namespace Meta {
|
|
|
999
999
|
* @gir-type Enum
|
|
1000
1000
|
*/
|
|
1001
1001
|
enum PadActionType {
|
|
1002
|
-
BUTTON,
|
|
1003
|
-
RING,
|
|
1004
|
-
STRIP,
|
|
1002
|
+
BUTTON = 0,
|
|
1003
|
+
RING = 1,
|
|
1004
|
+
STRIP = 2,
|
|
1005
1005
|
}
|
|
1006
1006
|
|
|
1007
1007
|
|
|
@@ -1019,135 +1019,135 @@ export namespace Meta {
|
|
|
1019
1019
|
/**
|
|
1020
1020
|
* mouse button modifiers
|
|
1021
1021
|
*/
|
|
1022
|
-
MOUSE_BUTTON_MODS,
|
|
1022
|
+
MOUSE_BUTTON_MODS = 0,
|
|
1023
1023
|
/**
|
|
1024
1024
|
* focus mode
|
|
1025
1025
|
*/
|
|
1026
|
-
FOCUS_MODE,
|
|
1026
|
+
FOCUS_MODE = 1,
|
|
1027
1027
|
/**
|
|
1028
1028
|
* focus new windows
|
|
1029
1029
|
*/
|
|
1030
|
-
FOCUS_NEW_WINDOWS,
|
|
1030
|
+
FOCUS_NEW_WINDOWS = 2,
|
|
1031
1031
|
/**
|
|
1032
1032
|
* attach modal dialogs
|
|
1033
1033
|
*/
|
|
1034
|
-
ATTACH_MODAL_DIALOGS,
|
|
1034
|
+
ATTACH_MODAL_DIALOGS = 3,
|
|
1035
1035
|
/**
|
|
1036
1036
|
* raise on click
|
|
1037
1037
|
*/
|
|
1038
|
-
RAISE_ON_CLICK,
|
|
1038
|
+
RAISE_ON_CLICK = 4,
|
|
1039
1039
|
/**
|
|
1040
1040
|
* action double click titlebar
|
|
1041
1041
|
*/
|
|
1042
|
-
ACTION_DOUBLE_CLICK_TITLEBAR,
|
|
1042
|
+
ACTION_DOUBLE_CLICK_TITLEBAR = 5,
|
|
1043
1043
|
/**
|
|
1044
1044
|
* action middle click titlebar
|
|
1045
1045
|
*/
|
|
1046
|
-
ACTION_MIDDLE_CLICK_TITLEBAR,
|
|
1046
|
+
ACTION_MIDDLE_CLICK_TITLEBAR = 6,
|
|
1047
1047
|
/**
|
|
1048
1048
|
* action right click titlebar
|
|
1049
1049
|
*/
|
|
1050
|
-
ACTION_RIGHT_CLICK_TITLEBAR,
|
|
1050
|
+
ACTION_RIGHT_CLICK_TITLEBAR = 7,
|
|
1051
1051
|
/**
|
|
1052
1052
|
* auto-raise
|
|
1053
1053
|
*/
|
|
1054
|
-
AUTO_RAISE,
|
|
1054
|
+
AUTO_RAISE = 8,
|
|
1055
1055
|
/**
|
|
1056
1056
|
* auto-raise delay
|
|
1057
1057
|
*/
|
|
1058
|
-
AUTO_RAISE_DELAY,
|
|
1058
|
+
AUTO_RAISE_DELAY = 9,
|
|
1059
1059
|
/**
|
|
1060
1060
|
* focus change on pointer rest
|
|
1061
1061
|
*/
|
|
1062
|
-
FOCUS_CHANGE_ON_POINTER_REST,
|
|
1062
|
+
FOCUS_CHANGE_ON_POINTER_REST = 10,
|
|
1063
1063
|
/**
|
|
1064
1064
|
* title-bar font
|
|
1065
1065
|
*/
|
|
1066
|
-
TITLEBAR_FONT,
|
|
1066
|
+
TITLEBAR_FONT = 11,
|
|
1067
1067
|
/**
|
|
1068
1068
|
* number of workspaces
|
|
1069
1069
|
*/
|
|
1070
|
-
NUM_WORKSPACES,
|
|
1070
|
+
NUM_WORKSPACES = 12,
|
|
1071
1071
|
/**
|
|
1072
1072
|
* dynamic workspaces
|
|
1073
1073
|
*/
|
|
1074
|
-
DYNAMIC_WORKSPACES,
|
|
1074
|
+
DYNAMIC_WORKSPACES = 13,
|
|
1075
1075
|
/**
|
|
1076
1076
|
* keybindings
|
|
1077
1077
|
*/
|
|
1078
|
-
KEYBINDINGS,
|
|
1078
|
+
KEYBINDINGS = 14,
|
|
1079
1079
|
/**
|
|
1080
1080
|
* disable workarounds
|
|
1081
1081
|
*/
|
|
1082
|
-
DISABLE_WORKAROUNDS,
|
|
1082
|
+
DISABLE_WORKAROUNDS = 15,
|
|
1083
1083
|
/**
|
|
1084
1084
|
* button layout
|
|
1085
1085
|
*/
|
|
1086
|
-
BUTTON_LAYOUT,
|
|
1086
|
+
BUTTON_LAYOUT = 16,
|
|
1087
1087
|
/**
|
|
1088
1088
|
* workspace names
|
|
1089
1089
|
*/
|
|
1090
|
-
WORKSPACE_NAMES,
|
|
1090
|
+
WORKSPACE_NAMES = 17,
|
|
1091
1091
|
/**
|
|
1092
1092
|
* visual bell
|
|
1093
1093
|
*/
|
|
1094
|
-
VISUAL_BELL,
|
|
1094
|
+
VISUAL_BELL = 18,
|
|
1095
1095
|
/**
|
|
1096
1096
|
* audible bell
|
|
1097
1097
|
*/
|
|
1098
|
-
AUDIBLE_BELL,
|
|
1098
|
+
AUDIBLE_BELL = 19,
|
|
1099
1099
|
/**
|
|
1100
1100
|
* visual bell type
|
|
1101
1101
|
*/
|
|
1102
|
-
VISUAL_BELL_TYPE,
|
|
1102
|
+
VISUAL_BELL_TYPE = 20,
|
|
1103
1103
|
/**
|
|
1104
1104
|
* GNOME accessibility
|
|
1105
1105
|
*/
|
|
1106
|
-
GNOME_ACCESSIBILITY,
|
|
1106
|
+
GNOME_ACCESSIBILITY = 21,
|
|
1107
1107
|
/**
|
|
1108
1108
|
* GNOME animations
|
|
1109
1109
|
*/
|
|
1110
|
-
GNOME_ANIMATIONS,
|
|
1110
|
+
GNOME_ANIMATIONS = 22,
|
|
1111
1111
|
/**
|
|
1112
1112
|
* cursor theme
|
|
1113
1113
|
*/
|
|
1114
|
-
CURSOR_THEME,
|
|
1114
|
+
CURSOR_THEME = 23,
|
|
1115
1115
|
/**
|
|
1116
1116
|
* cursor size
|
|
1117
1117
|
*/
|
|
1118
|
-
CURSOR_SIZE,
|
|
1118
|
+
CURSOR_SIZE = 24,
|
|
1119
1119
|
/**
|
|
1120
1120
|
* resize with right button
|
|
1121
1121
|
*/
|
|
1122
|
-
RESIZE_WITH_RIGHT_BUTTON,
|
|
1122
|
+
RESIZE_WITH_RIGHT_BUTTON = 25,
|
|
1123
1123
|
/**
|
|
1124
1124
|
* edge tiling
|
|
1125
1125
|
*/
|
|
1126
|
-
EDGE_TILING,
|
|
1126
|
+
EDGE_TILING = 26,
|
|
1127
1127
|
/**
|
|
1128
1128
|
* force fullscreen
|
|
1129
1129
|
*/
|
|
1130
|
-
FORCE_FULLSCREEN,
|
|
1130
|
+
FORCE_FULLSCREEN = 27,
|
|
1131
1131
|
/**
|
|
1132
1132
|
* workspaces only on primary
|
|
1133
1133
|
*/
|
|
1134
|
-
WORKSPACES_ONLY_ON_PRIMARY,
|
|
1134
|
+
WORKSPACES_ONLY_ON_PRIMARY = 28,
|
|
1135
1135
|
/**
|
|
1136
1136
|
* draggable border width
|
|
1137
1137
|
*/
|
|
1138
|
-
DRAGGABLE_BORDER_WIDTH,
|
|
1138
|
+
DRAGGABLE_BORDER_WIDTH = 29,
|
|
1139
1139
|
/**
|
|
1140
1140
|
* auto-maximize
|
|
1141
1141
|
*/
|
|
1142
|
-
AUTO_MAXIMIZE,
|
|
1142
|
+
AUTO_MAXIMIZE = 30,
|
|
1143
1143
|
/**
|
|
1144
1144
|
* center new windows
|
|
1145
1145
|
*/
|
|
1146
|
-
CENTER_NEW_WINDOWS,
|
|
1146
|
+
CENTER_NEW_WINDOWS = 31,
|
|
1147
1147
|
/**
|
|
1148
1148
|
* drag threshold
|
|
1149
1149
|
*/
|
|
1150
|
-
DRAG_THRESHOLD,
|
|
1150
|
+
DRAG_THRESHOLD = 32,
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
|
|
@@ -1162,9 +1162,9 @@ export namespace Meta {
|
|
|
1162
1162
|
* @gir-type Enum
|
|
1163
1163
|
*/
|
|
1164
1164
|
enum ShadowMode {
|
|
1165
|
-
AUTO,
|
|
1166
|
-
FORCED_OFF,
|
|
1167
|
-
FORCED_ON,
|
|
1165
|
+
AUTO = 0,
|
|
1166
|
+
FORCED_OFF = 1,
|
|
1167
|
+
FORCED_ON = 2,
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
1170
|
|
|
@@ -1182,19 +1182,19 @@ export namespace Meta {
|
|
|
1182
1182
|
/**
|
|
1183
1183
|
* Left side
|
|
1184
1184
|
*/
|
|
1185
|
-
LEFT,
|
|
1185
|
+
LEFT = 1,
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Right side
|
|
1188
1188
|
*/
|
|
1189
|
-
RIGHT,
|
|
1189
|
+
RIGHT = 2,
|
|
1190
1190
|
/**
|
|
1191
1191
|
* Top side
|
|
1192
1192
|
*/
|
|
1193
|
-
TOP,
|
|
1193
|
+
TOP = 4,
|
|
1194
1194
|
/**
|
|
1195
1195
|
* Bottom side
|
|
1196
1196
|
*/
|
|
1197
|
-
BOTTOM,
|
|
1197
|
+
BOTTOM = 8,
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
1200
|
|
|
@@ -1209,10 +1209,10 @@ export namespace Meta {
|
|
|
1209
1209
|
* @gir-type Enum
|
|
1210
1210
|
*/
|
|
1211
1211
|
enum SizeChange {
|
|
1212
|
-
MAXIMIZE,
|
|
1213
|
-
UNMAXIMIZE,
|
|
1214
|
-
FULLSCREEN,
|
|
1215
|
-
UNFULLSCREEN,
|
|
1212
|
+
MAXIMIZE = 0,
|
|
1213
|
+
UNMAXIMIZE = 1,
|
|
1214
|
+
FULLSCREEN = 2,
|
|
1215
|
+
UNFULLSCREEN = 3,
|
|
1216
1216
|
}
|
|
1217
1217
|
|
|
1218
1218
|
|
|
@@ -1232,31 +1232,31 @@ export namespace Meta {
|
|
|
1232
1232
|
/**
|
|
1233
1233
|
* Desktop layer
|
|
1234
1234
|
*/
|
|
1235
|
-
DESKTOP,
|
|
1235
|
+
DESKTOP = 0,
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Bottom layer
|
|
1238
1238
|
*/
|
|
1239
|
-
BOTTOM,
|
|
1239
|
+
BOTTOM = 1,
|
|
1240
1240
|
/**
|
|
1241
1241
|
* Normal layer
|
|
1242
1242
|
*/
|
|
1243
|
-
NORMAL,
|
|
1243
|
+
NORMAL = 2,
|
|
1244
1244
|
/**
|
|
1245
1245
|
* Top layer
|
|
1246
1246
|
*/
|
|
1247
|
-
TOP,
|
|
1247
|
+
TOP = 4,
|
|
1248
1248
|
/**
|
|
1249
1249
|
* Dock layer
|
|
1250
1250
|
*/
|
|
1251
|
-
DOCK,
|
|
1251
|
+
DOCK = 4,
|
|
1252
1252
|
/**
|
|
1253
1253
|
* Override-redirect layer
|
|
1254
1254
|
*/
|
|
1255
|
-
OVERRIDE_REDIRECT,
|
|
1255
|
+
OVERRIDE_REDIRECT = 7,
|
|
1256
1256
|
/**
|
|
1257
1257
|
* Marks the end of the {@link Meta.StackLayer} enumeration
|
|
1258
1258
|
*/
|
|
1259
|
-
LAST,
|
|
1259
|
+
LAST = 8,
|
|
1260
1260
|
}
|
|
1261
1261
|
|
|
1262
1262
|
|
|
@@ -1274,19 +1274,19 @@ export namespace Meta {
|
|
|
1274
1274
|
/**
|
|
1275
1275
|
* Normal windows
|
|
1276
1276
|
*/
|
|
1277
|
-
NORMAL,
|
|
1277
|
+
NORMAL = 0,
|
|
1278
1278
|
/**
|
|
1279
1279
|
* Dock windows
|
|
1280
1280
|
*/
|
|
1281
|
-
DOCKS,
|
|
1281
|
+
DOCKS = 1,
|
|
1282
1282
|
/**
|
|
1283
1283
|
* Groups
|
|
1284
1284
|
*/
|
|
1285
|
-
GROUP,
|
|
1285
|
+
GROUP = 2,
|
|
1286
1286
|
/**
|
|
1287
1287
|
* All windows
|
|
1288
1288
|
*/
|
|
1289
|
-
NORMAL_ALL,
|
|
1289
|
+
NORMAL_ALL = 3,
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
1292
1292
|
|
|
@@ -1304,11 +1304,11 @@ export namespace Meta {
|
|
|
1304
1304
|
/**
|
|
1305
1305
|
* Show icon (Alt-Tab mode)
|
|
1306
1306
|
*/
|
|
1307
|
-
ICON,
|
|
1307
|
+
ICON = 0,
|
|
1308
1308
|
/**
|
|
1309
1309
|
* Show instantly (Alt-Esc mode)
|
|
1310
1310
|
*/
|
|
1311
|
-
INSTANTLY,
|
|
1311
|
+
INSTANTLY = 1,
|
|
1312
1312
|
}
|
|
1313
1313
|
|
|
1314
1314
|
|
|
@@ -1326,11 +1326,11 @@ export namespace Meta {
|
|
|
1326
1326
|
/**
|
|
1327
1327
|
* A Wayland based window
|
|
1328
1328
|
*/
|
|
1329
|
-
WAYLAND,
|
|
1329
|
+
WAYLAND = 0,
|
|
1330
1330
|
/**
|
|
1331
1331
|
* An X11 based window
|
|
1332
1332
|
*/
|
|
1333
|
-
X11,
|
|
1333
|
+
X11 = 1,
|
|
1334
1334
|
}
|
|
1335
1335
|
|
|
1336
1336
|
|
|
@@ -1349,11 +1349,11 @@ export namespace Meta {
|
|
|
1349
1349
|
/**
|
|
1350
1350
|
* the window manager menu
|
|
1351
1351
|
*/
|
|
1352
|
-
WM,
|
|
1352
|
+
WM = 0,
|
|
1353
1353
|
/**
|
|
1354
1354
|
* the (fallback) app menu
|
|
1355
1355
|
*/
|
|
1356
|
-
APP,
|
|
1356
|
+
APP = 1,
|
|
1357
1357
|
}
|
|
1358
1358
|
|
|
1359
1359
|
|
|
@@ -1371,100 +1371,148 @@ export namespace Meta {
|
|
|
1371
1371
|
/**
|
|
1372
1372
|
* Normal
|
|
1373
1373
|
*/
|
|
1374
|
-
NORMAL,
|
|
1374
|
+
NORMAL = 0,
|
|
1375
1375
|
/**
|
|
1376
1376
|
* Desktop
|
|
1377
1377
|
*/
|
|
1378
|
-
DESKTOP,
|
|
1378
|
+
DESKTOP = 1,
|
|
1379
1379
|
/**
|
|
1380
1380
|
* Dock
|
|
1381
1381
|
*/
|
|
1382
|
-
DOCK,
|
|
1382
|
+
DOCK = 2,
|
|
1383
1383
|
/**
|
|
1384
1384
|
* Dialog
|
|
1385
1385
|
*/
|
|
1386
|
-
DIALOG,
|
|
1386
|
+
DIALOG = 3,
|
|
1387
1387
|
/**
|
|
1388
1388
|
* Modal dialog
|
|
1389
1389
|
*/
|
|
1390
|
-
MODAL_DIALOG,
|
|
1390
|
+
MODAL_DIALOG = 4,
|
|
1391
1391
|
/**
|
|
1392
1392
|
* Toolbar
|
|
1393
1393
|
*/
|
|
1394
|
-
TOOLBAR,
|
|
1394
|
+
TOOLBAR = 5,
|
|
1395
1395
|
/**
|
|
1396
1396
|
* Menu
|
|
1397
1397
|
*/
|
|
1398
|
-
MENU,
|
|
1398
|
+
MENU = 6,
|
|
1399
1399
|
/**
|
|
1400
1400
|
* Utility
|
|
1401
1401
|
*/
|
|
1402
|
-
UTILITY,
|
|
1402
|
+
UTILITY = 7,
|
|
1403
1403
|
/**
|
|
1404
1404
|
* Splashcreen
|
|
1405
1405
|
*/
|
|
1406
|
-
SPLASHSCREEN,
|
|
1406
|
+
SPLASHSCREEN = 8,
|
|
1407
1407
|
/**
|
|
1408
1408
|
* Dropdown menu
|
|
1409
1409
|
*/
|
|
1410
|
-
DROPDOWN_MENU,
|
|
1410
|
+
DROPDOWN_MENU = 9,
|
|
1411
1411
|
/**
|
|
1412
1412
|
* Popup menu
|
|
1413
1413
|
*/
|
|
1414
|
-
POPUP_MENU,
|
|
1414
|
+
POPUP_MENU = 10,
|
|
1415
1415
|
/**
|
|
1416
1416
|
* Tooltip
|
|
1417
1417
|
*/
|
|
1418
|
-
TOOLTIP,
|
|
1418
|
+
TOOLTIP = 11,
|
|
1419
1419
|
/**
|
|
1420
1420
|
* Notification
|
|
1421
1421
|
*/
|
|
1422
|
-
NOTIFICATION,
|
|
1422
|
+
NOTIFICATION = 12,
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Combobox
|
|
1425
1425
|
*/
|
|
1426
|
-
COMBO,
|
|
1426
|
+
COMBO = 13,
|
|
1427
1427
|
/**
|
|
1428
1428
|
* Drag and drop
|
|
1429
1429
|
*/
|
|
1430
|
-
DND,
|
|
1430
|
+
DND = 14,
|
|
1431
1431
|
/**
|
|
1432
1432
|
* Other override-redirect window type
|
|
1433
1433
|
*/
|
|
1434
|
-
OVERRIDE_OTHER,
|
|
1434
|
+
OVERRIDE_OTHER = 15,
|
|
1435
1435
|
}
|
|
1436
1436
|
|
|
1437
1437
|
|
|
1438
|
+
/**
|
|
1439
|
+
* @default 0
|
|
1440
|
+
*/
|
|
1438
1441
|
const CURRENT_TIME: number;
|
|
1439
1442
|
|
|
1443
|
+
/**
|
|
1444
|
+
* @default window
|
|
1445
|
+
*/
|
|
1440
1446
|
const DEFAULT_ICON_NAME: string;
|
|
1441
1447
|
|
|
1448
|
+
/**
|
|
1449
|
+
* @default 96
|
|
1450
|
+
*/
|
|
1442
1451
|
const ICON_HEIGHT: number;
|
|
1443
1452
|
|
|
1453
|
+
/**
|
|
1454
|
+
* @default 96
|
|
1455
|
+
*/
|
|
1444
1456
|
const ICON_WIDTH: number;
|
|
1445
1457
|
|
|
1458
|
+
/**
|
|
1459
|
+
* @default 3
|
|
1460
|
+
*/
|
|
1446
1461
|
const MAJOR_VERSION: number;
|
|
1447
1462
|
|
|
1463
|
+
/**
|
|
1464
|
+
* @default 2
|
|
1465
|
+
*/
|
|
1448
1466
|
const MICRO_VERSION: number;
|
|
1449
1467
|
|
|
1468
|
+
/**
|
|
1469
|
+
* @default 16
|
|
1470
|
+
*/
|
|
1450
1471
|
const MINI_ICON_HEIGHT: number;
|
|
1451
1472
|
|
|
1473
|
+
/**
|
|
1474
|
+
* @default 16
|
|
1475
|
+
*/
|
|
1452
1476
|
const MINI_ICON_WIDTH: number;
|
|
1453
1477
|
|
|
1478
|
+
/**
|
|
1479
|
+
* @default 32
|
|
1480
|
+
*/
|
|
1454
1481
|
const MINOR_VERSION: number;
|
|
1455
1482
|
|
|
1483
|
+
/**
|
|
1484
|
+
* @default 3
|
|
1485
|
+
*/
|
|
1456
1486
|
const PLUGIN_API_VERSION: number;
|
|
1457
1487
|
|
|
1488
|
+
/**
|
|
1489
|
+
* @default 40
|
|
1490
|
+
*/
|
|
1458
1491
|
const PRIORITY_BEFORE_REDRAW: number;
|
|
1459
1492
|
|
|
1493
|
+
/**
|
|
1494
|
+
* @default 10
|
|
1495
|
+
*/
|
|
1460
1496
|
const PRIORITY_PREFS_NOTIFY: number;
|
|
1461
1497
|
|
|
1498
|
+
/**
|
|
1499
|
+
* @default 50
|
|
1500
|
+
*/
|
|
1462
1501
|
const PRIORITY_REDRAW: number;
|
|
1463
1502
|
|
|
1503
|
+
/**
|
|
1504
|
+
* @default 15
|
|
1505
|
+
*/
|
|
1464
1506
|
const PRIORITY_RESIZE: number;
|
|
1465
1507
|
|
|
1508
|
+
/**
|
|
1509
|
+
* @default 3
|
|
1510
|
+
*/
|
|
1466
1511
|
const VIRTUAL_CORE_KEYBOARD_ID: number;
|
|
1467
1512
|
|
|
1513
|
+
/**
|
|
1514
|
+
* @default 2
|
|
1515
|
+
*/
|
|
1468
1516
|
const VIRTUAL_CORE_POINTER_ID: number;
|
|
1469
1517
|
|
|
1470
1518
|
/**
|
|
@@ -1818,6 +1866,9 @@ export namespace Meta {
|
|
|
1818
1866
|
*/
|
|
1819
1867
|
function x11_error_trap_push(x11_display: X11Display): void;
|
|
1820
1868
|
|
|
1869
|
+
/**
|
|
1870
|
+
* @throws GLib.Error
|
|
1871
|
+
*/
|
|
1821
1872
|
function x11_init_gdk_display(): boolean;
|
|
1822
1873
|
|
|
1823
1874
|
/**
|
|
@@ -1862,19 +1913,19 @@ export namespace Meta {
|
|
|
1862
1913
|
/**
|
|
1863
1914
|
* Positive direction in the X axis
|
|
1864
1915
|
*/
|
|
1865
|
-
POSITIVE_X,
|
|
1916
|
+
POSITIVE_X = 1,
|
|
1866
1917
|
/**
|
|
1867
1918
|
* Positive direction in the Y axis
|
|
1868
1919
|
*/
|
|
1869
|
-
POSITIVE_Y,
|
|
1920
|
+
POSITIVE_Y = 2,
|
|
1870
1921
|
/**
|
|
1871
1922
|
* Negative direction in the X axis
|
|
1872
1923
|
*/
|
|
1873
|
-
NEGATIVE_X,
|
|
1924
|
+
NEGATIVE_X = 4,
|
|
1874
1925
|
/**
|
|
1875
1926
|
* Negative direction in the Y axis
|
|
1876
1927
|
*/
|
|
1877
|
-
NEGATIVE_Y,
|
|
1928
|
+
NEGATIVE_Y = 8,
|
|
1878
1929
|
}
|
|
1879
1930
|
|
|
1880
1931
|
|
|
@@ -1892,96 +1943,96 @@ export namespace Meta {
|
|
|
1892
1943
|
/**
|
|
1893
1944
|
* verbose logging
|
|
1894
1945
|
*/
|
|
1895
|
-
VERBOSE,
|
|
1946
|
+
VERBOSE = -1,
|
|
1896
1947
|
/**
|
|
1897
1948
|
* focus
|
|
1898
1949
|
*/
|
|
1899
|
-
FOCUS,
|
|
1950
|
+
FOCUS = 1,
|
|
1900
1951
|
/**
|
|
1901
1952
|
* workarea
|
|
1902
1953
|
*/
|
|
1903
|
-
WORKAREA,
|
|
1954
|
+
WORKAREA = 2,
|
|
1904
1955
|
/**
|
|
1905
1956
|
* stack
|
|
1906
1957
|
*/
|
|
1907
|
-
STACK,
|
|
1958
|
+
STACK = 4,
|
|
1908
1959
|
/**
|
|
1909
1960
|
* themes
|
|
1910
1961
|
*/
|
|
1911
|
-
THEMES,
|
|
1962
|
+
THEMES = 8,
|
|
1912
1963
|
/**
|
|
1913
1964
|
* session management
|
|
1914
1965
|
*/
|
|
1915
|
-
SM,
|
|
1966
|
+
SM = 16,
|
|
1916
1967
|
/**
|
|
1917
1968
|
* events
|
|
1918
1969
|
*/
|
|
1919
|
-
EVENTS,
|
|
1970
|
+
EVENTS = 32,
|
|
1920
1971
|
/**
|
|
1921
1972
|
* window state
|
|
1922
1973
|
*/
|
|
1923
|
-
WINDOW_STATE,
|
|
1974
|
+
WINDOW_STATE = 64,
|
|
1924
1975
|
/**
|
|
1925
1976
|
* window operations
|
|
1926
1977
|
*/
|
|
1927
|
-
WINDOW_OPS,
|
|
1978
|
+
WINDOW_OPS = 128,
|
|
1928
1979
|
/**
|
|
1929
1980
|
* geometry
|
|
1930
1981
|
*/
|
|
1931
|
-
GEOMETRY,
|
|
1982
|
+
GEOMETRY = 256,
|
|
1932
1983
|
/**
|
|
1933
1984
|
* window placement
|
|
1934
1985
|
*/
|
|
1935
|
-
PLACEMENT,
|
|
1986
|
+
PLACEMENT = 512,
|
|
1936
1987
|
/**
|
|
1937
1988
|
* ping
|
|
1938
1989
|
*/
|
|
1939
|
-
PING,
|
|
1990
|
+
PING = 1024,
|
|
1940
1991
|
/**
|
|
1941
1992
|
* Xinerama
|
|
1942
1993
|
*/
|
|
1943
|
-
XINERAMA,
|
|
1994
|
+
XINERAMA = 2048,
|
|
1944
1995
|
/**
|
|
1945
1996
|
* keybindings
|
|
1946
1997
|
*/
|
|
1947
|
-
KEYBINDINGS,
|
|
1998
|
+
KEYBINDINGS = 4096,
|
|
1948
1999
|
/**
|
|
1949
2000
|
* sync
|
|
1950
2001
|
*/
|
|
1951
|
-
SYNC,
|
|
2002
|
+
SYNC = 8192,
|
|
1952
2003
|
/**
|
|
1953
2004
|
* errors
|
|
1954
2005
|
*/
|
|
1955
|
-
ERRORS,
|
|
2006
|
+
ERRORS = 16384,
|
|
1956
2007
|
/**
|
|
1957
2008
|
* startup
|
|
1958
2009
|
*/
|
|
1959
|
-
STARTUP,
|
|
2010
|
+
STARTUP = 32768,
|
|
1960
2011
|
/**
|
|
1961
2012
|
* preferences
|
|
1962
2013
|
*/
|
|
1963
|
-
PREFS,
|
|
2014
|
+
PREFS = 65536,
|
|
1964
2015
|
/**
|
|
1965
2016
|
* groups
|
|
1966
2017
|
*/
|
|
1967
|
-
GROUPS,
|
|
2018
|
+
GROUPS = 131072,
|
|
1968
2019
|
/**
|
|
1969
2020
|
* resizing
|
|
1970
2021
|
*/
|
|
1971
|
-
RESIZING,
|
|
2022
|
+
RESIZING = 262144,
|
|
1972
2023
|
/**
|
|
1973
2024
|
* shapes
|
|
1974
2025
|
*/
|
|
1975
|
-
SHAPES,
|
|
2026
|
+
SHAPES = 524288,
|
|
1976
2027
|
/**
|
|
1977
2028
|
* compositor
|
|
1978
2029
|
*/
|
|
1979
|
-
COMPOSITOR,
|
|
2030
|
+
COMPOSITOR = 1048576,
|
|
1980
2031
|
/**
|
|
1981
2032
|
* edge resistance
|
|
1982
2033
|
*/
|
|
1983
|
-
EDGE_RESISTANCE,
|
|
1984
|
-
DBUS,
|
|
2034
|
+
EDGE_RESISTANCE = 2097152,
|
|
2035
|
+
DBUS = 4194304,
|
|
1985
2036
|
}
|
|
1986
2037
|
|
|
1987
2038
|
|
|
@@ -1999,35 +2050,35 @@ export namespace Meta {
|
|
|
1999
2050
|
/**
|
|
2000
2051
|
* Left
|
|
2001
2052
|
*/
|
|
2002
|
-
LEFT,
|
|
2053
|
+
LEFT = 1,
|
|
2003
2054
|
/**
|
|
2004
2055
|
* Right
|
|
2005
2056
|
*/
|
|
2006
|
-
RIGHT,
|
|
2057
|
+
RIGHT = 2,
|
|
2007
2058
|
/**
|
|
2008
2059
|
* Top
|
|
2009
2060
|
*/
|
|
2010
|
-
TOP,
|
|
2061
|
+
TOP = 4,
|
|
2011
2062
|
/**
|
|
2012
2063
|
* Bottom
|
|
2013
2064
|
*/
|
|
2014
|
-
BOTTOM,
|
|
2065
|
+
BOTTOM = 8,
|
|
2015
2066
|
/**
|
|
2016
2067
|
* Up
|
|
2017
2068
|
*/
|
|
2018
|
-
UP,
|
|
2069
|
+
UP = 4,
|
|
2019
2070
|
/**
|
|
2020
2071
|
* Down
|
|
2021
2072
|
*/
|
|
2022
|
-
DOWN,
|
|
2073
|
+
DOWN = 8,
|
|
2023
2074
|
/**
|
|
2024
2075
|
* Horizontal
|
|
2025
2076
|
*/
|
|
2026
|
-
HORIZONTAL,
|
|
2077
|
+
HORIZONTAL = 3,
|
|
2027
2078
|
/**
|
|
2028
2079
|
* Vertical
|
|
2029
2080
|
*/
|
|
2030
|
-
VERTICAL,
|
|
2081
|
+
VERTICAL = 12,
|
|
2031
2082
|
}
|
|
2032
2083
|
|
|
2033
2084
|
|
|
@@ -2045,67 +2096,67 @@ export namespace Meta {
|
|
|
2045
2096
|
/**
|
|
2046
2097
|
* frame allows delete
|
|
2047
2098
|
*/
|
|
2048
|
-
ALLOWS_DELETE,
|
|
2099
|
+
ALLOWS_DELETE = 1,
|
|
2049
2100
|
/**
|
|
2050
2101
|
* frame allows menu
|
|
2051
2102
|
*/
|
|
2052
|
-
ALLOWS_MENU,
|
|
2103
|
+
ALLOWS_MENU = 2,
|
|
2053
2104
|
/**
|
|
2054
2105
|
* frame allows minimize
|
|
2055
2106
|
*/
|
|
2056
|
-
ALLOWS_MINIMIZE,
|
|
2107
|
+
ALLOWS_MINIMIZE = 4,
|
|
2057
2108
|
/**
|
|
2058
2109
|
* frame allows maximize
|
|
2059
2110
|
*/
|
|
2060
|
-
ALLOWS_MAXIMIZE,
|
|
2111
|
+
ALLOWS_MAXIMIZE = 8,
|
|
2061
2112
|
/**
|
|
2062
2113
|
* frame allows vertical resize
|
|
2063
2114
|
*/
|
|
2064
|
-
ALLOWS_VERTICAL_RESIZE,
|
|
2115
|
+
ALLOWS_VERTICAL_RESIZE = 16,
|
|
2065
2116
|
/**
|
|
2066
2117
|
* frame allows horizontal resize
|
|
2067
2118
|
*/
|
|
2068
|
-
ALLOWS_HORIZONTAL_RESIZE,
|
|
2119
|
+
ALLOWS_HORIZONTAL_RESIZE = 32,
|
|
2069
2120
|
/**
|
|
2070
2121
|
* frame has focus
|
|
2071
2122
|
*/
|
|
2072
|
-
HAS_FOCUS,
|
|
2123
|
+
HAS_FOCUS = 64,
|
|
2073
2124
|
/**
|
|
2074
2125
|
* frame is shaded
|
|
2075
2126
|
*/
|
|
2076
|
-
SHADED,
|
|
2127
|
+
SHADED = 128,
|
|
2077
2128
|
/**
|
|
2078
2129
|
* frame is stuck
|
|
2079
2130
|
*/
|
|
2080
|
-
STUCK,
|
|
2131
|
+
STUCK = 256,
|
|
2081
2132
|
/**
|
|
2082
2133
|
* frame is maximized
|
|
2083
2134
|
*/
|
|
2084
|
-
MAXIMIZED,
|
|
2135
|
+
MAXIMIZED = 512,
|
|
2085
2136
|
/**
|
|
2086
2137
|
* frame allows shade
|
|
2087
2138
|
*/
|
|
2088
|
-
ALLOWS_SHADE,
|
|
2139
|
+
ALLOWS_SHADE = 1024,
|
|
2089
2140
|
/**
|
|
2090
2141
|
* frame allows move
|
|
2091
2142
|
*/
|
|
2092
|
-
ALLOWS_MOVE,
|
|
2143
|
+
ALLOWS_MOVE = 2048,
|
|
2093
2144
|
/**
|
|
2094
2145
|
* frame allows fullscreen
|
|
2095
2146
|
*/
|
|
2096
|
-
FULLSCREEN,
|
|
2147
|
+
FULLSCREEN = 4096,
|
|
2097
2148
|
/**
|
|
2098
2149
|
* frame is above
|
|
2099
2150
|
*/
|
|
2100
|
-
ABOVE,
|
|
2151
|
+
ABOVE = 8192,
|
|
2101
2152
|
/**
|
|
2102
2153
|
* frame is tiled to the left
|
|
2103
2154
|
*/
|
|
2104
|
-
TILED_LEFT,
|
|
2155
|
+
TILED_LEFT = 16384,
|
|
2105
2156
|
/**
|
|
2106
2157
|
* frame is tiled to the right
|
|
2107
2158
|
*/
|
|
2108
|
-
TILED_RIGHT,
|
|
2159
|
+
TILED_RIGHT = 32768,
|
|
2109
2160
|
}
|
|
2110
2161
|
|
|
2111
2162
|
|
|
@@ -2123,24 +2174,24 @@ export namespace Meta {
|
|
|
2123
2174
|
/**
|
|
2124
2175
|
* none
|
|
2125
2176
|
*/
|
|
2126
|
-
NONE,
|
|
2177
|
+
NONE = 0,
|
|
2127
2178
|
/**
|
|
2128
2179
|
* per-window
|
|
2129
2180
|
*/
|
|
2130
|
-
PER_WINDOW,
|
|
2181
|
+
PER_WINDOW = 1,
|
|
2131
2182
|
/**
|
|
2132
2183
|
* built-in
|
|
2133
2184
|
*/
|
|
2134
|
-
BUILTIN,
|
|
2185
|
+
BUILTIN = 2,
|
|
2135
2186
|
/**
|
|
2136
2187
|
* is reversed
|
|
2137
2188
|
*/
|
|
2138
|
-
IS_REVERSED,
|
|
2189
|
+
IS_REVERSED = 4,
|
|
2139
2190
|
/**
|
|
2140
2191
|
* always active
|
|
2141
2192
|
*/
|
|
2142
|
-
NON_MASKABLE,
|
|
2143
|
-
IGNORE_AUTOREPEAT,
|
|
2193
|
+
NON_MASKABLE = 8,
|
|
2194
|
+
IGNORE_AUTOREPEAT = 16,
|
|
2144
2195
|
}
|
|
2145
2196
|
|
|
2146
2197
|
|
|
@@ -2158,15 +2209,15 @@ export namespace Meta {
|
|
|
2158
2209
|
/**
|
|
2159
2210
|
* Horizontal
|
|
2160
2211
|
*/
|
|
2161
|
-
HORIZONTAL,
|
|
2212
|
+
HORIZONTAL = 1,
|
|
2162
2213
|
/**
|
|
2163
2214
|
* Vertical
|
|
2164
2215
|
*/
|
|
2165
|
-
VERTICAL,
|
|
2216
|
+
VERTICAL = 2,
|
|
2166
2217
|
/**
|
|
2167
2218
|
* Both
|
|
2168
2219
|
*/
|
|
2169
|
-
BOTH,
|
|
2220
|
+
BOTH = 3,
|
|
2170
2221
|
}
|
|
2171
2222
|
|
|
2172
2223
|
|
|
@@ -2186,12 +2237,12 @@ export namespace Meta {
|
|
|
2186
2237
|
* if set the pointer is already
|
|
2187
2238
|
* grabbed by the plugin and should not be grabbed again.
|
|
2188
2239
|
*/
|
|
2189
|
-
POINTER_ALREADY_GRABBED,
|
|
2240
|
+
POINTER_ALREADY_GRABBED = 1,
|
|
2190
2241
|
/**
|
|
2191
2242
|
* if set the keyboard is already
|
|
2192
2243
|
* grabbed by the plugin and should not be grabbed again.
|
|
2193
2244
|
*/
|
|
2194
|
-
KEYBOARD_ALREADY_GRABBED,
|
|
2245
|
+
KEYBOARD_ALREADY_GRABBED = 2,
|
|
2195
2246
|
}
|
|
2196
2247
|
|
|
2197
2248
|
|
|
@@ -2209,43 +2260,43 @@ export namespace Meta {
|
|
|
2209
2260
|
/**
|
|
2210
2261
|
* Shift mask
|
|
2211
2262
|
*/
|
|
2212
|
-
SHIFT_MASK,
|
|
2263
|
+
SHIFT_MASK = 32,
|
|
2213
2264
|
/**
|
|
2214
2265
|
* Control mask
|
|
2215
2266
|
*/
|
|
2216
|
-
CONTROL_MASK,
|
|
2267
|
+
CONTROL_MASK = 64,
|
|
2217
2268
|
/**
|
|
2218
2269
|
* Alt mask
|
|
2219
2270
|
*/
|
|
2220
|
-
ALT_MASK,
|
|
2271
|
+
ALT_MASK = 128,
|
|
2221
2272
|
/**
|
|
2222
2273
|
* Meta mask
|
|
2223
2274
|
*/
|
|
2224
|
-
META_MASK,
|
|
2275
|
+
META_MASK = 256,
|
|
2225
2276
|
/**
|
|
2226
2277
|
* Super mask
|
|
2227
2278
|
*/
|
|
2228
|
-
SUPER_MASK,
|
|
2279
|
+
SUPER_MASK = 512,
|
|
2229
2280
|
/**
|
|
2230
2281
|
* Hyper mask
|
|
2231
2282
|
*/
|
|
2232
|
-
HYPER_MASK,
|
|
2283
|
+
HYPER_MASK = 1024,
|
|
2233
2284
|
/**
|
|
2234
2285
|
* Mod2 mask
|
|
2235
2286
|
*/
|
|
2236
|
-
MOD2_MASK,
|
|
2287
|
+
MOD2_MASK = 2048,
|
|
2237
2288
|
/**
|
|
2238
2289
|
* Mod3 mask
|
|
2239
2290
|
*/
|
|
2240
|
-
MOD3_MASK,
|
|
2291
|
+
MOD3_MASK = 4096,
|
|
2241
2292
|
/**
|
|
2242
2293
|
* Mod4 mask
|
|
2243
2294
|
*/
|
|
2244
|
-
MOD4_MASK,
|
|
2295
|
+
MOD4_MASK = 8192,
|
|
2245
2296
|
/**
|
|
2246
2297
|
* Mod5 mask
|
|
2247
2298
|
*/
|
|
2248
|
-
MOD5_MASK,
|
|
2299
|
+
MOD5_MASK = 16384,
|
|
2249
2300
|
}
|
|
2250
2301
|
|
|
2251
2302
|
|
|
@@ -2261,17 +2312,17 @@ export namespace Meta {
|
|
|
2261
2312
|
* @signal
|
|
2262
2313
|
* @run-last
|
|
2263
2314
|
*/
|
|
2264
|
-
"keymap-layout-group-changed": (
|
|
2315
|
+
"keymap-layout-group-changed": (object: number) => void;
|
|
2265
2316
|
/**
|
|
2266
2317
|
* @signal
|
|
2267
2318
|
* @run-last
|
|
2268
2319
|
*/
|
|
2269
|
-
"last-device-changed": (
|
|
2320
|
+
"last-device-changed": (object: number) => void;
|
|
2270
2321
|
/**
|
|
2271
2322
|
* @signal
|
|
2272
2323
|
* @run-last
|
|
2273
2324
|
*/
|
|
2274
|
-
"lid-is-closed-changed": (
|
|
2325
|
+
"lid-is-closed-changed": (object: boolean) => void;
|
|
2275
2326
|
}
|
|
2276
2327
|
|
|
2277
2328
|
// Constructor properties interface
|
|
@@ -2387,6 +2438,8 @@ export namespace Meta {
|
|
|
2387
2438
|
* instance.
|
|
2388
2439
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2389
2440
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2441
|
+
* @since 2.22
|
|
2442
|
+
* @throws GLib.Error
|
|
2390
2443
|
*/
|
|
2391
2444
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2392
2445
|
|
|
@@ -2430,6 +2483,7 @@ export namespace Meta {
|
|
|
2430
2483
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2431
2484
|
* instance.
|
|
2432
2485
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2486
|
+
* @since 2.22
|
|
2433
2487
|
* @virtual
|
|
2434
2488
|
*/
|
|
2435
2489
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2777,6 +2831,8 @@ export namespace Meta {
|
|
|
2777
2831
|
* @param progress the progress factor
|
|
2778
2832
|
* @param value return location for the animation value
|
|
2779
2833
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
2834
|
+
* @since 1.0
|
|
2835
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
2780
2836
|
*/
|
|
2781
2837
|
animate_property(animation: Clutter.Animation, property_name: string, initial_value: GObject.Value | any, final_value: GObject.Value | any, progress: number, value: GObject.Value | any): boolean;
|
|
2782
2838
|
|
|
@@ -2784,6 +2840,7 @@ export namespace Meta {
|
|
|
2784
2840
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2785
2841
|
* @param property_name the name of the animatable property to find
|
|
2786
2842
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
2843
|
+
* @since 1.4
|
|
2787
2844
|
*/
|
|
2788
2845
|
find_property(property_name: string): GObject.ParamSpec;
|
|
2789
2846
|
|
|
@@ -2791,6 +2848,7 @@ export namespace Meta {
|
|
|
2791
2848
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2792
2849
|
* @param property_name the name of the animatable property to retrieve
|
|
2793
2850
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2851
|
+
* @since 1.4
|
|
2794
2852
|
*/
|
|
2795
2853
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2796
2854
|
|
|
@@ -2808,6 +2866,7 @@ export namespace Meta {
|
|
|
2808
2866
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2809
2867
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2810
2868
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
2869
|
+
* @since 1.8
|
|
2811
2870
|
*/
|
|
2812
2871
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
2813
2872
|
|
|
@@ -2815,6 +2874,7 @@ export namespace Meta {
|
|
|
2815
2874
|
* Sets the current state of `property_name` to `value`
|
|
2816
2875
|
* @param property_name the name of the animatable property to set
|
|
2817
2876
|
* @param value the value of the animatable property to set
|
|
2877
|
+
* @since 1.4
|
|
2818
2878
|
*/
|
|
2819
2879
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2820
2880
|
|
|
@@ -2833,6 +2893,8 @@ export namespace Meta {
|
|
|
2833
2893
|
* @param final_value the final value of the animation interval
|
|
2834
2894
|
* @param progress the progress factor
|
|
2835
2895
|
* @param value return location for the animation value
|
|
2896
|
+
* @since 1.0
|
|
2897
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
2836
2898
|
* @virtual
|
|
2837
2899
|
*/
|
|
2838
2900
|
vfunc_animate_property(animation: Clutter.Animation, property_name: string, initial_value: unknown, final_value: unknown, progress: number, value: unknown): boolean;
|
|
@@ -2840,6 +2902,7 @@ export namespace Meta {
|
|
|
2840
2902
|
/**
|
|
2841
2903
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2842
2904
|
* @param property_name the name of the animatable property to find
|
|
2905
|
+
* @since 1.4
|
|
2843
2906
|
* @virtual
|
|
2844
2907
|
*/
|
|
2845
2908
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -2848,6 +2911,7 @@ export namespace Meta {
|
|
|
2848
2911
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2849
2912
|
* @param property_name the name of the animatable property to retrieve
|
|
2850
2913
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2914
|
+
* @since 1.4
|
|
2851
2915
|
* @virtual
|
|
2852
2916
|
*/
|
|
2853
2917
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -2865,6 +2929,7 @@ export namespace Meta {
|
|
|
2865
2929
|
* @param property_name the name of the property to interpolate
|
|
2866
2930
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2867
2931
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2932
|
+
* @since 1.8
|
|
2868
2933
|
* @virtual
|
|
2869
2934
|
*/
|
|
2870
2935
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -2873,6 +2938,7 @@ export namespace Meta {
|
|
|
2873
2938
|
* Sets the current state of `property_name` to `value`
|
|
2874
2939
|
* @param property_name the name of the animatable property to set
|
|
2875
2940
|
* @param value the value of the animatable property to set
|
|
2941
|
+
* @since 1.4
|
|
2876
2942
|
* @virtual
|
|
2877
2943
|
*/
|
|
2878
2944
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -2887,6 +2953,8 @@ export namespace Meta {
|
|
|
2887
2953
|
* deprecated virtual function. The default implementation will
|
|
2888
2954
|
* call `clutter_actor_add_child()`.
|
|
2889
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.
|
|
2890
2958
|
*/
|
|
2891
2959
|
add_actor(actor: Clutter.Actor): void;
|
|
2892
2960
|
|
|
@@ -2901,6 +2969,7 @@ export namespace Meta {
|
|
|
2901
2969
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2902
2970
|
* @param property the name of the property to set.
|
|
2903
2971
|
* @param value the value.
|
|
2972
|
+
* @since 0.8
|
|
2904
2973
|
*/
|
|
2905
2974
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2906
2975
|
|
|
@@ -2910,6 +2979,7 @@ export namespace Meta {
|
|
|
2910
2979
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
2911
2980
|
* @param child a {@link Clutter.Actor}
|
|
2912
2981
|
* @param pspec a {@link GObject.ParamSpec}
|
|
2982
|
+
* @since 1.6
|
|
2913
2983
|
*/
|
|
2914
2984
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
2915
2985
|
|
|
@@ -2918,6 +2988,7 @@ export namespace Meta {
|
|
|
2918
2988
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2919
2989
|
* @param property the name of the property to set.
|
|
2920
2990
|
* @param value the value.
|
|
2991
|
+
* @since 0.8
|
|
2921
2992
|
*/
|
|
2922
2993
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2923
2994
|
|
|
@@ -2932,6 +3003,7 @@ export namespace Meta {
|
|
|
2932
3003
|
*
|
|
2933
3004
|
* Applications should not call this function.
|
|
2934
3005
|
* @param actor a {@link Clutter.Actor}
|
|
3006
|
+
* @since 1.2
|
|
2935
3007
|
*/
|
|
2936
3008
|
create_child_meta(actor: Clutter.Actor): void;
|
|
2937
3009
|
|
|
@@ -2945,6 +3017,7 @@ export namespace Meta {
|
|
|
2945
3017
|
*
|
|
2946
3018
|
* Applications should not call this function.
|
|
2947
3019
|
* @param actor a {@link Clutter.Actor}
|
|
3020
|
+
* @since 1.2
|
|
2948
3021
|
*/
|
|
2949
3022
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
2950
3023
|
|
|
@@ -2953,6 +3026,7 @@ export namespace Meta {
|
|
|
2953
3026
|
* into any child container.
|
|
2954
3027
|
* @param child_name the name of the requested child.
|
|
2955
3028
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3029
|
+
* @since 0.6
|
|
2956
3030
|
*/
|
|
2957
3031
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
2958
3032
|
|
|
@@ -2965,6 +3039,8 @@ export namespace Meta {
|
|
|
2965
3039
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
2966
3040
|
* virtual function, which has been deprecated.
|
|
2967
3041
|
* @param callback a function to be called for each child
|
|
3042
|
+
* @since 0.4
|
|
3043
|
+
* @deprecated since 1.10: Use `clutter_actor_get_first_child()` or `clutter_actor_get_last_child()` to retrieve the beginning of the list of children, and `clutter_actor_get_next_sibling()` and `clutter_actor_get_previous_sibling()` to iterate over it; alternatively, use the {@link Clutter.ActorIter} API.
|
|
2968
3044
|
*/
|
|
2969
3045
|
foreach(callback: Clutter.Callback): void;
|
|
2970
3046
|
|
|
@@ -2976,6 +3052,8 @@ export namespace Meta {
|
|
|
2976
3052
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
2977
3053
|
* virtual function, which has been deprecated.
|
|
2978
3054
|
* @param callback a function to be called for each child
|
|
3055
|
+
* @since 1.0
|
|
3056
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
2979
3057
|
*/
|
|
2980
3058
|
foreach_with_internals(callback: Clutter.Callback): void;
|
|
2981
3059
|
|
|
@@ -2984,12 +3062,15 @@ export namespace Meta {
|
|
|
2984
3062
|
* `container` specific state for `actor`.
|
|
2985
3063
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
2986
3064
|
* @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
|
|
3065
|
+
* @since 0.8
|
|
2987
3066
|
*/
|
|
2988
3067
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
2989
3068
|
|
|
2990
3069
|
/**
|
|
2991
3070
|
* Retrieves all the children of `container`.
|
|
2992
3071
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3072
|
+
* @since 0.4
|
|
3073
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
2993
3074
|
*/
|
|
2994
3075
|
get_children(): Clutter.Actor[];
|
|
2995
3076
|
|
|
@@ -3001,6 +3082,8 @@ export namespace Meta {
|
|
|
3001
3082
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3002
3083
|
* @param actor the actor to raise
|
|
3003
3084
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3085
|
+
* @since 0.6
|
|
3086
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3004
3087
|
*/
|
|
3005
3088
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3006
3089
|
|
|
@@ -3012,6 +3095,8 @@ export namespace Meta {
|
|
|
3012
3095
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3013
3096
|
* @param actor the actor to raise
|
|
3014
3097
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3098
|
+
* @since 0.6
|
|
3099
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3015
3100
|
*/
|
|
3016
3101
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3017
3102
|
|
|
@@ -3025,12 +3110,16 @@ export namespace Meta {
|
|
|
3025
3110
|
* deprecated virtual function. The default implementation will call
|
|
3026
3111
|
* `clutter_actor_remove_child()`.
|
|
3027
3112
|
* @param actor a {@link Clutter.Actor}
|
|
3113
|
+
* @since 0.4
|
|
3114
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3028
3115
|
*/
|
|
3029
3116
|
remove_actor(actor: Clutter.Actor): void;
|
|
3030
3117
|
|
|
3031
3118
|
/**
|
|
3032
3119
|
* Sorts a container's children using their depth. This function should not
|
|
3033
3120
|
* be normally used by applications.
|
|
3121
|
+
* @since 0.6
|
|
3122
|
+
* @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.
|
|
3034
3123
|
*/
|
|
3035
3124
|
sort_depth_order(): void;
|
|
3036
3125
|
|
|
@@ -3056,6 +3145,8 @@ export namespace Meta {
|
|
|
3056
3145
|
* deprecated virtual function. The default implementation will
|
|
3057
3146
|
* call `clutter_actor_add_child()`.
|
|
3058
3147
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3148
|
+
* @since 0.4
|
|
3149
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3059
3150
|
* @virtual
|
|
3060
3151
|
*/
|
|
3061
3152
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3066,6 +3157,7 @@ export namespace Meta {
|
|
|
3066
3157
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3067
3158
|
* @param child a {@link Clutter.Actor}
|
|
3068
3159
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3160
|
+
* @since 1.6
|
|
3069
3161
|
* @virtual
|
|
3070
3162
|
*/
|
|
3071
3163
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3081,6 +3173,7 @@ export namespace Meta {
|
|
|
3081
3173
|
*
|
|
3082
3174
|
* Applications should not call this function.
|
|
3083
3175
|
* @param actor a {@link Clutter.Actor}
|
|
3176
|
+
* @since 1.2
|
|
3084
3177
|
* @virtual
|
|
3085
3178
|
*/
|
|
3086
3179
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3095,6 +3188,7 @@ export namespace Meta {
|
|
|
3095
3188
|
*
|
|
3096
3189
|
* Applications should not call this function.
|
|
3097
3190
|
* @param actor a {@link Clutter.Actor}
|
|
3191
|
+
* @since 1.2
|
|
3098
3192
|
* @virtual
|
|
3099
3193
|
*/
|
|
3100
3194
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3108,6 +3202,8 @@ export namespace Meta {
|
|
|
3108
3202
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
3109
3203
|
* virtual function, which has been deprecated.
|
|
3110
3204
|
* @param callback a function to be called for each child
|
|
3205
|
+
* @since 0.4
|
|
3206
|
+
* @deprecated since 1.10: Use `clutter_actor_get_first_child()` or `clutter_actor_get_last_child()` to retrieve the beginning of the list of children, and `clutter_actor_get_next_sibling()` and `clutter_actor_get_previous_sibling()` to iterate over it; alternatively, use the {@link Clutter.ActorIter} API.
|
|
3111
3207
|
* @virtual
|
|
3112
3208
|
*/
|
|
3113
3209
|
vfunc_foreach(callback: Clutter.Callback): void;
|
|
@@ -3120,6 +3216,8 @@ export namespace Meta {
|
|
|
3120
3216
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
3121
3217
|
* virtual function, which has been deprecated.
|
|
3122
3218
|
* @param callback a function to be called for each child
|
|
3219
|
+
* @since 1.0
|
|
3220
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
3123
3221
|
* @virtual
|
|
3124
3222
|
*/
|
|
3125
3223
|
vfunc_foreach_with_internals(callback: Clutter.Callback): void;
|
|
@@ -3128,6 +3226,7 @@ export namespace Meta {
|
|
|
3128
3226
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3129
3227
|
* `container` specific state for `actor`.
|
|
3130
3228
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3229
|
+
* @since 0.8
|
|
3131
3230
|
* @virtual
|
|
3132
3231
|
*/
|
|
3133
3232
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3140,6 +3239,8 @@ export namespace Meta {
|
|
|
3140
3239
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3141
3240
|
* @param actor the actor to raise
|
|
3142
3241
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3242
|
+
* @since 0.6
|
|
3243
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3143
3244
|
* @virtual
|
|
3144
3245
|
*/
|
|
3145
3246
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3152,6 +3253,8 @@ export namespace Meta {
|
|
|
3152
3253
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3153
3254
|
* @param actor the actor to raise
|
|
3154
3255
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3256
|
+
* @since 0.6
|
|
3257
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3155
3258
|
* @virtual
|
|
3156
3259
|
*/
|
|
3157
3260
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3166,6 +3269,8 @@ export namespace Meta {
|
|
|
3166
3269
|
* deprecated virtual function. The default implementation will call
|
|
3167
3270
|
* `clutter_actor_remove_child()`.
|
|
3168
3271
|
* @param actor a {@link Clutter.Actor}
|
|
3272
|
+
* @since 0.4
|
|
3273
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3169
3274
|
* @virtual
|
|
3170
3275
|
*/
|
|
3171
3276
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3173,6 +3278,8 @@ export namespace Meta {
|
|
|
3173
3278
|
/**
|
|
3174
3279
|
* Sorts a container's children using their depth. This function should not
|
|
3175
3280
|
* be normally used by applications.
|
|
3281
|
+
* @since 0.6
|
|
3282
|
+
* @deprecated since 1.10: The {@link Clutter.ContainerIface}.sort_depth_order() virtual function should not be used any more; the default implementation in {@link Clutter.Container} does not do anything.
|
|
3176
3283
|
* @virtual
|
|
3177
3284
|
*/
|
|
3178
3285
|
vfunc_sort_depth_order(): void;
|
|
@@ -3180,6 +3287,7 @@ export namespace Meta {
|
|
|
3180
3287
|
/**
|
|
3181
3288
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3182
3289
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3290
|
+
* @since 0.6
|
|
3183
3291
|
*/
|
|
3184
3292
|
get_id(): string;
|
|
3185
3293
|
|
|
@@ -3191,6 +3299,7 @@ export namespace Meta {
|
|
|
3191
3299
|
* @param name the name of the node
|
|
3192
3300
|
* @param node the JSON node to be parsed
|
|
3193
3301
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3302
|
+
* @since 0.6
|
|
3194
3303
|
*/
|
|
3195
3304
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3196
3305
|
|
|
@@ -3200,6 +3309,7 @@ export namespace Meta {
|
|
|
3200
3309
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3201
3310
|
* @param name the name of the property
|
|
3202
3311
|
* @param value the value of the property
|
|
3312
|
+
* @since 0.6
|
|
3203
3313
|
*/
|
|
3204
3314
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3205
3315
|
|
|
@@ -3211,11 +3321,13 @@ export namespace Meta {
|
|
|
3211
3321
|
* define a unique name for an object constructable using the UI
|
|
3212
3322
|
* definition language parsed by {@link Clutter.Script}.
|
|
3213
3323
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3324
|
+
* @since 0.6
|
|
3214
3325
|
*/
|
|
3215
3326
|
set_id(id_: string): void;
|
|
3216
3327
|
|
|
3217
3328
|
/**
|
|
3218
3329
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3330
|
+
* @since 0.6
|
|
3219
3331
|
* @virtual
|
|
3220
3332
|
*/
|
|
3221
3333
|
vfunc_get_id(): string;
|
|
@@ -3227,6 +3339,7 @@ export namespace Meta {
|
|
|
3227
3339
|
* @param value the generic value to be set
|
|
3228
3340
|
* @param name the name of the node
|
|
3229
3341
|
* @param node the JSON node to be parsed
|
|
3342
|
+
* @since 0.6
|
|
3230
3343
|
* @virtual
|
|
3231
3344
|
*/
|
|
3232
3345
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3237,6 +3350,7 @@ export namespace Meta {
|
|
|
3237
3350
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3238
3351
|
* @param name the name of the property
|
|
3239
3352
|
* @param value the value of the property
|
|
3353
|
+
* @since 0.6
|
|
3240
3354
|
* @virtual
|
|
3241
3355
|
*/
|
|
3242
3356
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3249,6 +3363,7 @@ export namespace Meta {
|
|
|
3249
3363
|
* define a unique name for an object constructable using the UI
|
|
3250
3364
|
* definition language parsed by {@link Clutter.Script}.
|
|
3251
3365
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3366
|
+
* @since 0.6
|
|
3252
3367
|
* @virtual
|
|
3253
3368
|
*/
|
|
3254
3369
|
vfunc_set_id(id_: string): void;
|
|
@@ -3397,6 +3512,8 @@ export namespace Meta {
|
|
|
3397
3512
|
* @param progress the progress factor
|
|
3398
3513
|
* @param value return location for the animation value
|
|
3399
3514
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
3515
|
+
* @since 1.0
|
|
3516
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
3400
3517
|
*/
|
|
3401
3518
|
animate_property(animation: Clutter.Animation, property_name: string, initial_value: GObject.Value | any, final_value: GObject.Value | any, progress: number, value: GObject.Value | any): boolean;
|
|
3402
3519
|
|
|
@@ -3404,6 +3521,7 @@ export namespace Meta {
|
|
|
3404
3521
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3405
3522
|
* @param property_name the name of the animatable property to find
|
|
3406
3523
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
3524
|
+
* @since 1.4
|
|
3407
3525
|
*/
|
|
3408
3526
|
find_property(property_name: string): GObject.ParamSpec;
|
|
3409
3527
|
|
|
@@ -3411,6 +3529,7 @@ export namespace Meta {
|
|
|
3411
3529
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3412
3530
|
* @param property_name the name of the animatable property to retrieve
|
|
3413
3531
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3532
|
+
* @since 1.4
|
|
3414
3533
|
*/
|
|
3415
3534
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3416
3535
|
|
|
@@ -3428,6 +3547,7 @@ export namespace Meta {
|
|
|
3428
3547
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3429
3548
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3430
3549
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
3550
|
+
* @since 1.8
|
|
3431
3551
|
*/
|
|
3432
3552
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
3433
3553
|
|
|
@@ -3435,6 +3555,7 @@ export namespace Meta {
|
|
|
3435
3555
|
* Sets the current state of `property_name` to `value`
|
|
3436
3556
|
* @param property_name the name of the animatable property to set
|
|
3437
3557
|
* @param value the value of the animatable property to set
|
|
3558
|
+
* @since 1.4
|
|
3438
3559
|
*/
|
|
3439
3560
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3440
3561
|
|
|
@@ -3453,6 +3574,8 @@ export namespace Meta {
|
|
|
3453
3574
|
* @param final_value the final value of the animation interval
|
|
3454
3575
|
* @param progress the progress factor
|
|
3455
3576
|
* @param value return location for the animation value
|
|
3577
|
+
* @since 1.0
|
|
3578
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
3456
3579
|
* @virtual
|
|
3457
3580
|
*/
|
|
3458
3581
|
vfunc_animate_property(animation: Clutter.Animation, property_name: string, initial_value: unknown, final_value: unknown, progress: number, value: unknown): boolean;
|
|
@@ -3460,6 +3583,7 @@ export namespace Meta {
|
|
|
3460
3583
|
/**
|
|
3461
3584
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3462
3585
|
* @param property_name the name of the animatable property to find
|
|
3586
|
+
* @since 1.4
|
|
3463
3587
|
* @virtual
|
|
3464
3588
|
*/
|
|
3465
3589
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -3468,6 +3592,7 @@ export namespace Meta {
|
|
|
3468
3592
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3469
3593
|
* @param property_name the name of the animatable property to retrieve
|
|
3470
3594
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3595
|
+
* @since 1.4
|
|
3471
3596
|
* @virtual
|
|
3472
3597
|
*/
|
|
3473
3598
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -3485,6 +3610,7 @@ export namespace Meta {
|
|
|
3485
3610
|
* @param property_name the name of the property to interpolate
|
|
3486
3611
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3487
3612
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3613
|
+
* @since 1.8
|
|
3488
3614
|
* @virtual
|
|
3489
3615
|
*/
|
|
3490
3616
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -3493,6 +3619,7 @@ export namespace Meta {
|
|
|
3493
3619
|
* Sets the current state of `property_name` to `value`
|
|
3494
3620
|
* @param property_name the name of the animatable property to set
|
|
3495
3621
|
* @param value the value of the animatable property to set
|
|
3622
|
+
* @since 1.4
|
|
3496
3623
|
* @virtual
|
|
3497
3624
|
*/
|
|
3498
3625
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -3507,6 +3634,8 @@ export namespace Meta {
|
|
|
3507
3634
|
* deprecated virtual function. The default implementation will
|
|
3508
3635
|
* call `clutter_actor_add_child()`.
|
|
3509
3636
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3637
|
+
* @since 0.4
|
|
3638
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3510
3639
|
*/
|
|
3511
3640
|
add_actor(actor: Clutter.Actor): void;
|
|
3512
3641
|
|
|
@@ -3521,6 +3650,7 @@ export namespace Meta {
|
|
|
3521
3650
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3522
3651
|
* @param property the name of the property to set.
|
|
3523
3652
|
* @param value the value.
|
|
3653
|
+
* @since 0.8
|
|
3524
3654
|
*/
|
|
3525
3655
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3526
3656
|
|
|
@@ -3530,6 +3660,7 @@ export namespace Meta {
|
|
|
3530
3660
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3531
3661
|
* @param child a {@link Clutter.Actor}
|
|
3532
3662
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3663
|
+
* @since 1.6
|
|
3533
3664
|
*/
|
|
3534
3665
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
3535
3666
|
|
|
@@ -3538,6 +3669,7 @@ export namespace Meta {
|
|
|
3538
3669
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3539
3670
|
* @param property the name of the property to set.
|
|
3540
3671
|
* @param value the value.
|
|
3672
|
+
* @since 0.8
|
|
3541
3673
|
*/
|
|
3542
3674
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3543
3675
|
|
|
@@ -3552,6 +3684,7 @@ export namespace Meta {
|
|
|
3552
3684
|
*
|
|
3553
3685
|
* Applications should not call this function.
|
|
3554
3686
|
* @param actor a {@link Clutter.Actor}
|
|
3687
|
+
* @since 1.2
|
|
3555
3688
|
*/
|
|
3556
3689
|
create_child_meta(actor: Clutter.Actor): void;
|
|
3557
3690
|
|
|
@@ -3565,6 +3698,7 @@ export namespace Meta {
|
|
|
3565
3698
|
*
|
|
3566
3699
|
* Applications should not call this function.
|
|
3567
3700
|
* @param actor a {@link Clutter.Actor}
|
|
3701
|
+
* @since 1.2
|
|
3568
3702
|
*/
|
|
3569
3703
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
3570
3704
|
|
|
@@ -3573,6 +3707,7 @@ export namespace Meta {
|
|
|
3573
3707
|
* into any child container.
|
|
3574
3708
|
* @param child_name the name of the requested child.
|
|
3575
3709
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3710
|
+
* @since 0.6
|
|
3576
3711
|
*/
|
|
3577
3712
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3578
3713
|
|
|
@@ -3585,6 +3720,8 @@ export namespace Meta {
|
|
|
3585
3720
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
3586
3721
|
* virtual function, which has been deprecated.
|
|
3587
3722
|
* @param callback a function to be called for each child
|
|
3723
|
+
* @since 0.4
|
|
3724
|
+
* @deprecated since 1.10: Use `clutter_actor_get_first_child()` or `clutter_actor_get_last_child()` to retrieve the beginning of the list of children, and `clutter_actor_get_next_sibling()` and `clutter_actor_get_previous_sibling()` to iterate over it; alternatively, use the {@link Clutter.ActorIter} API.
|
|
3588
3725
|
*/
|
|
3589
3726
|
foreach(callback: Clutter.Callback): void;
|
|
3590
3727
|
|
|
@@ -3596,6 +3733,8 @@ export namespace Meta {
|
|
|
3596
3733
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
3597
3734
|
* virtual function, which has been deprecated.
|
|
3598
3735
|
* @param callback a function to be called for each child
|
|
3736
|
+
* @since 1.0
|
|
3737
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
3599
3738
|
*/
|
|
3600
3739
|
foreach_with_internals(callback: Clutter.Callback): void;
|
|
3601
3740
|
|
|
@@ -3604,12 +3743,15 @@ export namespace Meta {
|
|
|
3604
3743
|
* `container` specific state for `actor`.
|
|
3605
3744
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3606
3745
|
* @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
|
|
3746
|
+
* @since 0.8
|
|
3607
3747
|
*/
|
|
3608
3748
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3609
3749
|
|
|
3610
3750
|
/**
|
|
3611
3751
|
* Retrieves all the children of `container`.
|
|
3612
3752
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3753
|
+
* @since 0.4
|
|
3754
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3613
3755
|
*/
|
|
3614
3756
|
get_children(): Clutter.Actor[];
|
|
3615
3757
|
|
|
@@ -3621,6 +3763,8 @@ export namespace Meta {
|
|
|
3621
3763
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3622
3764
|
* @param actor the actor to raise
|
|
3623
3765
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3766
|
+
* @since 0.6
|
|
3767
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3624
3768
|
*/
|
|
3625
3769
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3626
3770
|
|
|
@@ -3632,6 +3776,8 @@ export namespace Meta {
|
|
|
3632
3776
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3633
3777
|
* @param actor the actor to raise
|
|
3634
3778
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3779
|
+
* @since 0.6
|
|
3780
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3635
3781
|
*/
|
|
3636
3782
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3637
3783
|
|
|
@@ -3645,12 +3791,16 @@ export namespace Meta {
|
|
|
3645
3791
|
* deprecated virtual function. The default implementation will call
|
|
3646
3792
|
* `clutter_actor_remove_child()`.
|
|
3647
3793
|
* @param actor a {@link Clutter.Actor}
|
|
3794
|
+
* @since 0.4
|
|
3795
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3648
3796
|
*/
|
|
3649
3797
|
remove_actor(actor: Clutter.Actor): void;
|
|
3650
3798
|
|
|
3651
3799
|
/**
|
|
3652
3800
|
* Sorts a container's children using their depth. This function should not
|
|
3653
3801
|
* be normally used by applications.
|
|
3802
|
+
* @since 0.6
|
|
3803
|
+
* @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.
|
|
3654
3804
|
*/
|
|
3655
3805
|
sort_depth_order(): void;
|
|
3656
3806
|
|
|
@@ -3676,6 +3826,8 @@ export namespace Meta {
|
|
|
3676
3826
|
* deprecated virtual function. The default implementation will
|
|
3677
3827
|
* call `clutter_actor_add_child()`.
|
|
3678
3828
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3829
|
+
* @since 0.4
|
|
3830
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3679
3831
|
* @virtual
|
|
3680
3832
|
*/
|
|
3681
3833
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3686,6 +3838,7 @@ export namespace Meta {
|
|
|
3686
3838
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3687
3839
|
* @param child a {@link Clutter.Actor}
|
|
3688
3840
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3841
|
+
* @since 1.6
|
|
3689
3842
|
* @virtual
|
|
3690
3843
|
*/
|
|
3691
3844
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3701,6 +3854,7 @@ export namespace Meta {
|
|
|
3701
3854
|
*
|
|
3702
3855
|
* Applications should not call this function.
|
|
3703
3856
|
* @param actor a {@link Clutter.Actor}
|
|
3857
|
+
* @since 1.2
|
|
3704
3858
|
* @virtual
|
|
3705
3859
|
*/
|
|
3706
3860
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3715,6 +3869,7 @@ export namespace Meta {
|
|
|
3715
3869
|
*
|
|
3716
3870
|
* Applications should not call this function.
|
|
3717
3871
|
* @param actor a {@link Clutter.Actor}
|
|
3872
|
+
* @since 1.2
|
|
3718
3873
|
* @virtual
|
|
3719
3874
|
*/
|
|
3720
3875
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3728,6 +3883,8 @@ export namespace Meta {
|
|
|
3728
3883
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
3729
3884
|
* virtual function, which has been deprecated.
|
|
3730
3885
|
* @param callback a function to be called for each child
|
|
3886
|
+
* @since 0.4
|
|
3887
|
+
* @deprecated since 1.10: Use `clutter_actor_get_first_child()` or `clutter_actor_get_last_child()` to retrieve the beginning of the list of children, and `clutter_actor_get_next_sibling()` and `clutter_actor_get_previous_sibling()` to iterate over it; alternatively, use the {@link Clutter.ActorIter} API.
|
|
3731
3888
|
* @virtual
|
|
3732
3889
|
*/
|
|
3733
3890
|
vfunc_foreach(callback: Clutter.Callback): void;
|
|
@@ -3740,6 +3897,8 @@ export namespace Meta {
|
|
|
3740
3897
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
3741
3898
|
* virtual function, which has been deprecated.
|
|
3742
3899
|
* @param callback a function to be called for each child
|
|
3900
|
+
* @since 1.0
|
|
3901
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
3743
3902
|
* @virtual
|
|
3744
3903
|
*/
|
|
3745
3904
|
vfunc_foreach_with_internals(callback: Clutter.Callback): void;
|
|
@@ -3748,6 +3907,7 @@ export namespace Meta {
|
|
|
3748
3907
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3749
3908
|
* `container` specific state for `actor`.
|
|
3750
3909
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3910
|
+
* @since 0.8
|
|
3751
3911
|
* @virtual
|
|
3752
3912
|
*/
|
|
3753
3913
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3760,6 +3920,8 @@ export namespace Meta {
|
|
|
3760
3920
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3761
3921
|
* @param actor the actor to raise
|
|
3762
3922
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3923
|
+
* @since 0.6
|
|
3924
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3763
3925
|
* @virtual
|
|
3764
3926
|
*/
|
|
3765
3927
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3772,6 +3934,8 @@ export namespace Meta {
|
|
|
3772
3934
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3773
3935
|
* @param actor the actor to raise
|
|
3774
3936
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3937
|
+
* @since 0.6
|
|
3938
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3775
3939
|
* @virtual
|
|
3776
3940
|
*/
|
|
3777
3941
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3786,6 +3950,8 @@ export namespace Meta {
|
|
|
3786
3950
|
* deprecated virtual function. The default implementation will call
|
|
3787
3951
|
* `clutter_actor_remove_child()`.
|
|
3788
3952
|
* @param actor a {@link Clutter.Actor}
|
|
3953
|
+
* @since 0.4
|
|
3954
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3789
3955
|
* @virtual
|
|
3790
3956
|
*/
|
|
3791
3957
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3793,6 +3959,8 @@ export namespace Meta {
|
|
|
3793
3959
|
/**
|
|
3794
3960
|
* Sorts a container's children using their depth. This function should not
|
|
3795
3961
|
* be normally used by applications.
|
|
3962
|
+
* @since 0.6
|
|
3963
|
+
* @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.
|
|
3796
3964
|
* @virtual
|
|
3797
3965
|
*/
|
|
3798
3966
|
vfunc_sort_depth_order(): void;
|
|
@@ -3800,6 +3968,7 @@ export namespace Meta {
|
|
|
3800
3968
|
/**
|
|
3801
3969
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3802
3970
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3971
|
+
* @since 0.6
|
|
3803
3972
|
*/
|
|
3804
3973
|
get_id(): string;
|
|
3805
3974
|
|
|
@@ -3811,6 +3980,7 @@ export namespace Meta {
|
|
|
3811
3980
|
* @param name the name of the node
|
|
3812
3981
|
* @param node the JSON node to be parsed
|
|
3813
3982
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3983
|
+
* @since 0.6
|
|
3814
3984
|
*/
|
|
3815
3985
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3816
3986
|
|
|
@@ -3820,6 +3990,7 @@ export namespace Meta {
|
|
|
3820
3990
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3821
3991
|
* @param name the name of the property
|
|
3822
3992
|
* @param value the value of the property
|
|
3993
|
+
* @since 0.6
|
|
3823
3994
|
*/
|
|
3824
3995
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3825
3996
|
|
|
@@ -3831,11 +4002,13 @@ export namespace Meta {
|
|
|
3831
4002
|
* define a unique name for an object constructable using the UI
|
|
3832
4003
|
* definition language parsed by {@link Clutter.Script}.
|
|
3833
4004
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4005
|
+
* @since 0.6
|
|
3834
4006
|
*/
|
|
3835
4007
|
set_id(id_: string): void;
|
|
3836
4008
|
|
|
3837
4009
|
/**
|
|
3838
4010
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
4011
|
+
* @since 0.6
|
|
3839
4012
|
* @virtual
|
|
3840
4013
|
*/
|
|
3841
4014
|
vfunc_get_id(): string;
|
|
@@ -3847,6 +4020,7 @@ export namespace Meta {
|
|
|
3847
4020
|
* @param value the generic value to be set
|
|
3848
4021
|
* @param name the name of the node
|
|
3849
4022
|
* @param node the JSON node to be parsed
|
|
4023
|
+
* @since 0.6
|
|
3850
4024
|
* @virtual
|
|
3851
4025
|
*/
|
|
3852
4026
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3857,6 +4031,7 @@ export namespace Meta {
|
|
|
3857
4031
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3858
4032
|
* @param name the name of the property
|
|
3859
4033
|
* @param value the value of the property
|
|
4034
|
+
* @since 0.6
|
|
3860
4035
|
* @virtual
|
|
3861
4036
|
*/
|
|
3862
4037
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3869,6 +4044,7 @@ export namespace Meta {
|
|
|
3869
4044
|
* define a unique name for an object constructable using the UI
|
|
3870
4045
|
* definition language parsed by {@link Clutter.Script}.
|
|
3871
4046
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4047
|
+
* @since 0.6
|
|
3872
4048
|
* @virtual
|
|
3873
4049
|
*/
|
|
3874
4050
|
vfunc_set_id(id_: string): void;
|
|
@@ -4023,14 +4199,14 @@ export namespace Meta {
|
|
|
4023
4199
|
* @signal
|
|
4024
4200
|
* @run-first
|
|
4025
4201
|
*/
|
|
4026
|
-
hit: (
|
|
4202
|
+
hit: (event: BarrierEvent) => void;
|
|
4027
4203
|
/**
|
|
4028
4204
|
* When a pointer barrier hitbox was left, this will trigger.
|
|
4029
4205
|
* This requires an XI2-enabled server.
|
|
4030
4206
|
* @signal
|
|
4031
4207
|
* @run-first
|
|
4032
4208
|
*/
|
|
4033
|
-
left: (
|
|
4209
|
+
left: (event: BarrierEvent) => void;
|
|
4034
4210
|
"notify::directions": (pspec: GObject.ParamSpec) => void;
|
|
4035
4211
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
4036
4212
|
"notify::x1": (pspec: GObject.ParamSpec) => void;
|
|
@@ -4144,7 +4320,7 @@ export namespace Meta {
|
|
|
4144
4320
|
* @signal
|
|
4145
4321
|
* @run-last
|
|
4146
4322
|
*/
|
|
4147
|
-
"cursor-moved": (
|
|
4323
|
+
"cursor-moved": (object: number, p0: number) => void;
|
|
4148
4324
|
}
|
|
4149
4325
|
|
|
4150
4326
|
// Constructor properties interface
|
|
@@ -4217,7 +4393,7 @@ export namespace Meta {
|
|
|
4217
4393
|
* @signal
|
|
4218
4394
|
* @run-last
|
|
4219
4395
|
*/
|
|
4220
|
-
"accelerator-activated": (
|
|
4396
|
+
"accelerator-activated": (object: number, p0: number, p1: number) => void;
|
|
4221
4397
|
/**
|
|
4222
4398
|
* @signal
|
|
4223
4399
|
* @run-last
|
|
@@ -4232,12 +4408,12 @@ export namespace Meta {
|
|
|
4232
4408
|
* @signal
|
|
4233
4409
|
* @run-last
|
|
4234
4410
|
*/
|
|
4235
|
-
"grab-op-begin": (
|
|
4411
|
+
"grab-op-begin": (object: Display, p0: Window, p1: GrabOp) => void;
|
|
4236
4412
|
/**
|
|
4237
4413
|
* @signal
|
|
4238
4414
|
* @run-last
|
|
4239
4415
|
*/
|
|
4240
|
-
"grab-op-end": (
|
|
4416
|
+
"grab-op-end": (object: Display, p0: Window, p1: GrabOp) => void;
|
|
4241
4417
|
/**
|
|
4242
4418
|
* @signal
|
|
4243
4419
|
* @run-last
|
|
@@ -4259,7 +4435,7 @@ export namespace Meta {
|
|
|
4259
4435
|
* @signal
|
|
4260
4436
|
* @run-last
|
|
4261
4437
|
*/
|
|
4262
|
-
"pad-mode-switch": (
|
|
4438
|
+
"pad-mode-switch": (object: Clutter.InputDevice, p0: number, p1: number) => void;
|
|
4263
4439
|
/**
|
|
4264
4440
|
* @signal
|
|
4265
4441
|
* @run-last
|
|
@@ -4279,18 +4455,18 @@ export namespace Meta {
|
|
|
4279
4455
|
* @signal
|
|
4280
4456
|
* @run-last
|
|
4281
4457
|
*/
|
|
4282
|
-
"show-osd": (
|
|
4458
|
+
"show-osd": (object: number, p0: string, p1: string) => void;
|
|
4283
4459
|
/**
|
|
4284
4460
|
* Requests the pad button mapping OSD to be shown.
|
|
4285
4461
|
* @signal
|
|
4286
4462
|
* @run-last
|
|
4287
4463
|
*/
|
|
4288
|
-
"show-pad-osd": (
|
|
4464
|
+
"show-pad-osd": (pad: Clutter.InputDevice, settings: Gio.Settings, layout_path: string, edition_mode: boolean, monitor_idx: number) => Clutter.Actor | null;
|
|
4289
4465
|
/**
|
|
4290
4466
|
* @signal
|
|
4291
4467
|
* @run-last
|
|
4292
4468
|
*/
|
|
4293
|
-
"show-resize-popup": (
|
|
4469
|
+
"show-resize-popup": (object: boolean, p0: Rectangle, p1: number, p2: number) => boolean | void;
|
|
4294
4470
|
/**
|
|
4295
4471
|
* The ::show-restart-message signal will be emitted to indicate
|
|
4296
4472
|
* that the compositor should show a message during restart. This is
|
|
@@ -4305,7 +4481,7 @@ export namespace Meta {
|
|
|
4305
4481
|
* @signal
|
|
4306
4482
|
* @run-last
|
|
4307
4483
|
*/
|
|
4308
|
-
"show-restart-message": (
|
|
4484
|
+
"show-restart-message": (message: string | null) => boolean | void;
|
|
4309
4485
|
/**
|
|
4310
4486
|
* @signal
|
|
4311
4487
|
* @run-last
|
|
@@ -4315,27 +4491,27 @@ export namespace Meta {
|
|
|
4315
4491
|
* @signal
|
|
4316
4492
|
* @run-last
|
|
4317
4493
|
*/
|
|
4318
|
-
"window-created": (
|
|
4494
|
+
"window-created": (object: Window) => void;
|
|
4319
4495
|
/**
|
|
4320
4496
|
* @signal
|
|
4321
4497
|
* @run-last
|
|
4322
4498
|
*/
|
|
4323
|
-
"window-demands-attention": (
|
|
4499
|
+
"window-demands-attention": (object: Window) => void;
|
|
4324
4500
|
/**
|
|
4325
4501
|
* @signal
|
|
4326
4502
|
* @run-last
|
|
4327
4503
|
*/
|
|
4328
|
-
"window-entered-monitor": (
|
|
4504
|
+
"window-entered-monitor": (object: number, p0: Window) => void;
|
|
4329
4505
|
/**
|
|
4330
4506
|
* @signal
|
|
4331
4507
|
* @run-last
|
|
4332
4508
|
*/
|
|
4333
|
-
"window-left-monitor": (
|
|
4509
|
+
"window-left-monitor": (object: number, p0: Window) => void;
|
|
4334
4510
|
/**
|
|
4335
4511
|
* @signal
|
|
4336
4512
|
* @run-last
|
|
4337
4513
|
*/
|
|
4338
|
-
"window-marked-urgent": (
|
|
4514
|
+
"window-marked-urgent": (object: Window) => void;
|
|
4339
4515
|
/**
|
|
4340
4516
|
* @signal
|
|
4341
4517
|
* @run-last
|
|
@@ -4719,7 +4895,7 @@ export namespace Meta {
|
|
|
4719
4895
|
* @signal
|
|
4720
4896
|
* @run-last
|
|
4721
4897
|
*/
|
|
4722
|
-
"dnd-position-change": (
|
|
4898
|
+
"dnd-position-change": (object: number, p0: number) => void;
|
|
4723
4899
|
}
|
|
4724
4900
|
|
|
4725
4901
|
// Constructor properties interface
|
|
@@ -5286,7 +5462,7 @@ export namespace Meta {
|
|
|
5286
5462
|
* @signal
|
|
5287
5463
|
* @run-last
|
|
5288
5464
|
*/
|
|
5289
|
-
"new-handle": (
|
|
5465
|
+
"new-handle": (object: RemoteAccessHandle) => void;
|
|
5290
5466
|
}
|
|
5291
5467
|
|
|
5292
5468
|
// Constructor properties interface
|
|
@@ -5675,6 +5851,8 @@ export namespace Meta {
|
|
|
5675
5851
|
* @param progress the progress factor
|
|
5676
5852
|
* @param value return location for the animation value
|
|
5677
5853
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
5854
|
+
* @since 1.0
|
|
5855
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
5678
5856
|
*/
|
|
5679
5857
|
animate_property(animation: Clutter.Animation, property_name: string, initial_value: GObject.Value | any, final_value: GObject.Value | any, progress: number, value: GObject.Value | any): boolean;
|
|
5680
5858
|
|
|
@@ -5682,6 +5860,7 @@ export namespace Meta {
|
|
|
5682
5860
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
5683
5861
|
* @param property_name the name of the animatable property to find
|
|
5684
5862
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
5863
|
+
* @since 1.4
|
|
5685
5864
|
*/
|
|
5686
5865
|
find_property(property_name: string): GObject.ParamSpec;
|
|
5687
5866
|
|
|
@@ -5689,6 +5868,7 @@ export namespace Meta {
|
|
|
5689
5868
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
5690
5869
|
* @param property_name the name of the animatable property to retrieve
|
|
5691
5870
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
5871
|
+
* @since 1.4
|
|
5692
5872
|
*/
|
|
5693
5873
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
5694
5874
|
|
|
@@ -5706,6 +5886,7 @@ export namespace Meta {
|
|
|
5706
5886
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
5707
5887
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
5708
5888
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
5889
|
+
* @since 1.8
|
|
5709
5890
|
*/
|
|
5710
5891
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
5711
5892
|
|
|
@@ -5713,6 +5894,7 @@ export namespace Meta {
|
|
|
5713
5894
|
* Sets the current state of `property_name` to `value`
|
|
5714
5895
|
* @param property_name the name of the animatable property to set
|
|
5715
5896
|
* @param value the value of the animatable property to set
|
|
5897
|
+
* @since 1.4
|
|
5716
5898
|
*/
|
|
5717
5899
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
5718
5900
|
|
|
@@ -5731,6 +5913,8 @@ export namespace Meta {
|
|
|
5731
5913
|
* @param final_value the final value of the animation interval
|
|
5732
5914
|
* @param progress the progress factor
|
|
5733
5915
|
* @param value return location for the animation value
|
|
5916
|
+
* @since 1.0
|
|
5917
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
5734
5918
|
* @virtual
|
|
5735
5919
|
*/
|
|
5736
5920
|
vfunc_animate_property(animation: Clutter.Animation, property_name: string, initial_value: unknown, final_value: unknown, progress: number, value: unknown): boolean;
|
|
@@ -5738,6 +5922,7 @@ export namespace Meta {
|
|
|
5738
5922
|
/**
|
|
5739
5923
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
5740
5924
|
* @param property_name the name of the animatable property to find
|
|
5925
|
+
* @since 1.4
|
|
5741
5926
|
* @virtual
|
|
5742
5927
|
*/
|
|
5743
5928
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -5746,6 +5931,7 @@ export namespace Meta {
|
|
|
5746
5931
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
5747
5932
|
* @param property_name the name of the animatable property to retrieve
|
|
5748
5933
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
5934
|
+
* @since 1.4
|
|
5749
5935
|
* @virtual
|
|
5750
5936
|
*/
|
|
5751
5937
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -5763,6 +5949,7 @@ export namespace Meta {
|
|
|
5763
5949
|
* @param property_name the name of the property to interpolate
|
|
5764
5950
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
5765
5951
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
5952
|
+
* @since 1.8
|
|
5766
5953
|
* @virtual
|
|
5767
5954
|
*/
|
|
5768
5955
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -5771,6 +5958,7 @@ export namespace Meta {
|
|
|
5771
5958
|
* Sets the current state of `property_name` to `value`
|
|
5772
5959
|
* @param property_name the name of the animatable property to set
|
|
5773
5960
|
* @param value the value of the animatable property to set
|
|
5961
|
+
* @since 1.4
|
|
5774
5962
|
* @virtual
|
|
5775
5963
|
*/
|
|
5776
5964
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -5785,6 +5973,8 @@ export namespace Meta {
|
|
|
5785
5973
|
* deprecated virtual function. The default implementation will
|
|
5786
5974
|
* call `clutter_actor_add_child()`.
|
|
5787
5975
|
* @param actor the first {@link Clutter.Actor} to add
|
|
5976
|
+
* @since 0.4
|
|
5977
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
5788
5978
|
*/
|
|
5789
5979
|
add_actor(actor: Clutter.Actor): void;
|
|
5790
5980
|
|
|
@@ -5799,6 +5989,7 @@ export namespace Meta {
|
|
|
5799
5989
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
5800
5990
|
* @param property the name of the property to set.
|
|
5801
5991
|
* @param value the value.
|
|
5992
|
+
* @since 0.8
|
|
5802
5993
|
*/
|
|
5803
5994
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
5804
5995
|
|
|
@@ -5808,6 +5999,7 @@ export namespace Meta {
|
|
|
5808
5999
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
5809
6000
|
* @param child a {@link Clutter.Actor}
|
|
5810
6001
|
* @param pspec a {@link GObject.ParamSpec}
|
|
6002
|
+
* @since 1.6
|
|
5811
6003
|
*/
|
|
5812
6004
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
5813
6005
|
|
|
@@ -5816,6 +6008,7 @@ export namespace Meta {
|
|
|
5816
6008
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
5817
6009
|
* @param property the name of the property to set.
|
|
5818
6010
|
* @param value the value.
|
|
6011
|
+
* @since 0.8
|
|
5819
6012
|
*/
|
|
5820
6013
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
5821
6014
|
|
|
@@ -5830,6 +6023,7 @@ export namespace Meta {
|
|
|
5830
6023
|
*
|
|
5831
6024
|
* Applications should not call this function.
|
|
5832
6025
|
* @param actor a {@link Clutter.Actor}
|
|
6026
|
+
* @since 1.2
|
|
5833
6027
|
*/
|
|
5834
6028
|
create_child_meta(actor: Clutter.Actor): void;
|
|
5835
6029
|
|
|
@@ -5843,6 +6037,7 @@ export namespace Meta {
|
|
|
5843
6037
|
*
|
|
5844
6038
|
* Applications should not call this function.
|
|
5845
6039
|
* @param actor a {@link Clutter.Actor}
|
|
6040
|
+
* @since 1.2
|
|
5846
6041
|
*/
|
|
5847
6042
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
5848
6043
|
|
|
@@ -5851,6 +6046,7 @@ export namespace Meta {
|
|
|
5851
6046
|
* into any child container.
|
|
5852
6047
|
* @param child_name the name of the requested child.
|
|
5853
6048
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
6049
|
+
* @since 0.6
|
|
5854
6050
|
*/
|
|
5855
6051
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
5856
6052
|
|
|
@@ -5863,6 +6059,8 @@ export namespace Meta {
|
|
|
5863
6059
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
5864
6060
|
* virtual function, which has been deprecated.
|
|
5865
6061
|
* @param callback a function to be called for each child
|
|
6062
|
+
* @since 0.4
|
|
6063
|
+
* @deprecated since 1.10: Use `clutter_actor_get_first_child()` or `clutter_actor_get_last_child()` to retrieve the beginning of the list of children, and `clutter_actor_get_next_sibling()` and `clutter_actor_get_previous_sibling()` to iterate over it; alternatively, use the {@link Clutter.ActorIter} API.
|
|
5866
6064
|
*/
|
|
5867
6065
|
foreach(callback: Clutter.Callback): void;
|
|
5868
6066
|
|
|
@@ -5874,6 +6072,8 @@ export namespace Meta {
|
|
|
5874
6072
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
5875
6073
|
* virtual function, which has been deprecated.
|
|
5876
6074
|
* @param callback a function to be called for each child
|
|
6075
|
+
* @since 1.0
|
|
6076
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
5877
6077
|
*/
|
|
5878
6078
|
foreach_with_internals(callback: Clutter.Callback): void;
|
|
5879
6079
|
|
|
@@ -5882,12 +6082,15 @@ export namespace Meta {
|
|
|
5882
6082
|
* `container` specific state for `actor`.
|
|
5883
6083
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
5884
6084
|
* @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
|
|
6085
|
+
* @since 0.8
|
|
5885
6086
|
*/
|
|
5886
6087
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
5887
6088
|
|
|
5888
6089
|
/**
|
|
5889
6090
|
* Retrieves all the children of `container`.
|
|
5890
6091
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
6092
|
+
* @since 0.4
|
|
6093
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
5891
6094
|
*/
|
|
5892
6095
|
get_children(): Clutter.Actor[];
|
|
5893
6096
|
|
|
@@ -5899,6 +6102,8 @@ export namespace Meta {
|
|
|
5899
6102
|
* `clutter_actor_set_child_below_sibling()`.
|
|
5900
6103
|
* @param actor the actor to raise
|
|
5901
6104
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
6105
|
+
* @since 0.6
|
|
6106
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
5902
6107
|
*/
|
|
5903
6108
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
5904
6109
|
|
|
@@ -5910,6 +6115,8 @@ export namespace Meta {
|
|
|
5910
6115
|
* `clutter_actor_set_child_above_sibling()`.
|
|
5911
6116
|
* @param actor the actor to raise
|
|
5912
6117
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
6118
|
+
* @since 0.6
|
|
6119
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
5913
6120
|
*/
|
|
5914
6121
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
5915
6122
|
|
|
@@ -5923,12 +6130,16 @@ export namespace Meta {
|
|
|
5923
6130
|
* deprecated virtual function. The default implementation will call
|
|
5924
6131
|
* `clutter_actor_remove_child()`.
|
|
5925
6132
|
* @param actor a {@link Clutter.Actor}
|
|
6133
|
+
* @since 0.4
|
|
6134
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
5926
6135
|
*/
|
|
5927
6136
|
remove_actor(actor: Clutter.Actor): void;
|
|
5928
6137
|
|
|
5929
6138
|
/**
|
|
5930
6139
|
* Sorts a container's children using their depth. This function should not
|
|
5931
6140
|
* be normally used by applications.
|
|
6141
|
+
* @since 0.6
|
|
6142
|
+
* @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.
|
|
5932
6143
|
*/
|
|
5933
6144
|
sort_depth_order(): void;
|
|
5934
6145
|
|
|
@@ -5954,6 +6165,8 @@ export namespace Meta {
|
|
|
5954
6165
|
* deprecated virtual function. The default implementation will
|
|
5955
6166
|
* call `clutter_actor_add_child()`.
|
|
5956
6167
|
* @param actor the first {@link Clutter.Actor} to add
|
|
6168
|
+
* @since 0.4
|
|
6169
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
5957
6170
|
* @virtual
|
|
5958
6171
|
*/
|
|
5959
6172
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -5964,6 +6177,7 @@ export namespace Meta {
|
|
|
5964
6177
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
5965
6178
|
* @param child a {@link Clutter.Actor}
|
|
5966
6179
|
* @param pspec a {@link GObject.ParamSpec}
|
|
6180
|
+
* @since 1.6
|
|
5967
6181
|
* @virtual
|
|
5968
6182
|
*/
|
|
5969
6183
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -5979,6 +6193,7 @@ export namespace Meta {
|
|
|
5979
6193
|
*
|
|
5980
6194
|
* Applications should not call this function.
|
|
5981
6195
|
* @param actor a {@link Clutter.Actor}
|
|
6196
|
+
* @since 1.2
|
|
5982
6197
|
* @virtual
|
|
5983
6198
|
*/
|
|
5984
6199
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -5993,6 +6208,7 @@ export namespace Meta {
|
|
|
5993
6208
|
*
|
|
5994
6209
|
* Applications should not call this function.
|
|
5995
6210
|
* @param actor a {@link Clutter.Actor}
|
|
6211
|
+
* @since 1.2
|
|
5996
6212
|
* @virtual
|
|
5997
6213
|
*/
|
|
5998
6214
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -6006,6 +6222,8 @@ export namespace Meta {
|
|
|
6006
6222
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
6007
6223
|
* virtual function, which has been deprecated.
|
|
6008
6224
|
* @param callback a function to be called for each child
|
|
6225
|
+
* @since 0.4
|
|
6226
|
+
* @deprecated since 1.10: Use `clutter_actor_get_first_child()` or `clutter_actor_get_last_child()` to retrieve the beginning of the list of children, and `clutter_actor_get_next_sibling()` and `clutter_actor_get_previous_sibling()` to iterate over it; alternatively, use the {@link Clutter.ActorIter} API.
|
|
6009
6227
|
* @virtual
|
|
6010
6228
|
*/
|
|
6011
6229
|
vfunc_foreach(callback: Clutter.Callback): void;
|
|
@@ -6018,6 +6236,8 @@ export namespace Meta {
|
|
|
6018
6236
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
6019
6237
|
* virtual function, which has been deprecated.
|
|
6020
6238
|
* @param callback a function to be called for each child
|
|
6239
|
+
* @since 1.0
|
|
6240
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
6021
6241
|
* @virtual
|
|
6022
6242
|
*/
|
|
6023
6243
|
vfunc_foreach_with_internals(callback: Clutter.Callback): void;
|
|
@@ -6026,6 +6246,7 @@ export namespace Meta {
|
|
|
6026
6246
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
6027
6247
|
* `container` specific state for `actor`.
|
|
6028
6248
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
6249
|
+
* @since 0.8
|
|
6029
6250
|
* @virtual
|
|
6030
6251
|
*/
|
|
6031
6252
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -6038,6 +6259,8 @@ export namespace Meta {
|
|
|
6038
6259
|
* `clutter_actor_set_child_below_sibling()`.
|
|
6039
6260
|
* @param actor the actor to raise
|
|
6040
6261
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
6262
|
+
* @since 0.6
|
|
6263
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
6041
6264
|
* @virtual
|
|
6042
6265
|
*/
|
|
6043
6266
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -6050,6 +6273,8 @@ export namespace Meta {
|
|
|
6050
6273
|
* `clutter_actor_set_child_above_sibling()`.
|
|
6051
6274
|
* @param actor the actor to raise
|
|
6052
6275
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
6276
|
+
* @since 0.6
|
|
6277
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
6053
6278
|
* @virtual
|
|
6054
6279
|
*/
|
|
6055
6280
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -6064,6 +6289,8 @@ export namespace Meta {
|
|
|
6064
6289
|
* deprecated virtual function. The default implementation will call
|
|
6065
6290
|
* `clutter_actor_remove_child()`.
|
|
6066
6291
|
* @param actor a {@link Clutter.Actor}
|
|
6292
|
+
* @since 0.4
|
|
6293
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
6067
6294
|
* @virtual
|
|
6068
6295
|
*/
|
|
6069
6296
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -6071,6 +6298,8 @@ export namespace Meta {
|
|
|
6071
6298
|
/**
|
|
6072
6299
|
* Sorts a container's children using their depth. This function should not
|
|
6073
6300
|
* be normally used by applications.
|
|
6301
|
+
* @since 0.6
|
|
6302
|
+
* @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.
|
|
6074
6303
|
* @virtual
|
|
6075
6304
|
*/
|
|
6076
6305
|
vfunc_sort_depth_order(): void;
|
|
@@ -6078,6 +6307,7 @@ export namespace Meta {
|
|
|
6078
6307
|
/**
|
|
6079
6308
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
6080
6309
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
6310
|
+
* @since 0.6
|
|
6081
6311
|
*/
|
|
6082
6312
|
get_id(): string;
|
|
6083
6313
|
|
|
@@ -6089,6 +6319,7 @@ export namespace Meta {
|
|
|
6089
6319
|
* @param name the name of the node
|
|
6090
6320
|
* @param node the JSON node to be parsed
|
|
6091
6321
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
6322
|
+
* @since 0.6
|
|
6092
6323
|
*/
|
|
6093
6324
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
6094
6325
|
|
|
@@ -6098,6 +6329,7 @@ export namespace Meta {
|
|
|
6098
6329
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
6099
6330
|
* @param name the name of the property
|
|
6100
6331
|
* @param value the value of the property
|
|
6332
|
+
* @since 0.6
|
|
6101
6333
|
*/
|
|
6102
6334
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
6103
6335
|
|
|
@@ -6109,11 +6341,13 @@ export namespace Meta {
|
|
|
6109
6341
|
* define a unique name for an object constructable using the UI
|
|
6110
6342
|
* definition language parsed by {@link Clutter.Script}.
|
|
6111
6343
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
6344
|
+
* @since 0.6
|
|
6112
6345
|
*/
|
|
6113
6346
|
set_id(id_: string): void;
|
|
6114
6347
|
|
|
6115
6348
|
/**
|
|
6116
6349
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
6350
|
+
* @since 0.6
|
|
6117
6351
|
* @virtual
|
|
6118
6352
|
*/
|
|
6119
6353
|
vfunc_get_id(): string;
|
|
@@ -6125,6 +6359,7 @@ export namespace Meta {
|
|
|
6125
6359
|
* @param value the generic value to be set
|
|
6126
6360
|
* @param name the name of the node
|
|
6127
6361
|
* @param node the JSON node to be parsed
|
|
6362
|
+
* @since 0.6
|
|
6128
6363
|
* @virtual
|
|
6129
6364
|
*/
|
|
6130
6365
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -6135,6 +6370,7 @@ export namespace Meta {
|
|
|
6135
6370
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
6136
6371
|
* @param name the name of the property
|
|
6137
6372
|
* @param value the value of the property
|
|
6373
|
+
* @since 0.6
|
|
6138
6374
|
* @virtual
|
|
6139
6375
|
*/
|
|
6140
6376
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -6147,6 +6383,7 @@ export namespace Meta {
|
|
|
6147
6383
|
* define a unique name for an object constructable using the UI
|
|
6148
6384
|
* definition language parsed by {@link Clutter.Script}.
|
|
6149
6385
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
6386
|
+
* @since 0.6
|
|
6150
6387
|
* @virtual
|
|
6151
6388
|
*/
|
|
6152
6389
|
vfunc_set_id(id_: string): void;
|
|
@@ -6370,7 +6607,7 @@ export namespace Meta {
|
|
|
6370
6607
|
* @signal
|
|
6371
6608
|
* @run-last
|
|
6372
6609
|
*/
|
|
6373
|
-
changed: (
|
|
6610
|
+
changed: (object: null) => void;
|
|
6374
6611
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
6375
6612
|
}
|
|
6376
6613
|
|
|
@@ -7672,6 +7909,8 @@ export namespace Meta {
|
|
|
7672
7909
|
* @param progress the progress factor
|
|
7673
7910
|
* @param value return location for the animation value
|
|
7674
7911
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
7912
|
+
* @since 1.0
|
|
7913
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
7675
7914
|
*/
|
|
7676
7915
|
animate_property(animation: Clutter.Animation, property_name: string, initial_value: GObject.Value | any, final_value: GObject.Value | any, progress: number, value: GObject.Value | any): boolean;
|
|
7677
7916
|
|
|
@@ -7679,6 +7918,7 @@ export namespace Meta {
|
|
|
7679
7918
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7680
7919
|
* @param property_name the name of the animatable property to find
|
|
7681
7920
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
7921
|
+
* @since 1.4
|
|
7682
7922
|
*/
|
|
7683
7923
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7684
7924
|
|
|
@@ -7686,6 +7926,7 @@ export namespace Meta {
|
|
|
7686
7926
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7687
7927
|
* @param property_name the name of the animatable property to retrieve
|
|
7688
7928
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7929
|
+
* @since 1.4
|
|
7689
7930
|
*/
|
|
7690
7931
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7691
7932
|
|
|
@@ -7703,6 +7944,7 @@ export namespace Meta {
|
|
|
7703
7944
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7704
7945
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7705
7946
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
7947
|
+
* @since 1.8
|
|
7706
7948
|
*/
|
|
7707
7949
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7708
7950
|
|
|
@@ -7710,6 +7952,7 @@ export namespace Meta {
|
|
|
7710
7952
|
* Sets the current state of `property_name` to `value`
|
|
7711
7953
|
* @param property_name the name of the animatable property to set
|
|
7712
7954
|
* @param value the value of the animatable property to set
|
|
7955
|
+
* @since 1.4
|
|
7713
7956
|
*/
|
|
7714
7957
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7715
7958
|
|
|
@@ -7728,6 +7971,8 @@ export namespace Meta {
|
|
|
7728
7971
|
* @param final_value the final value of the animation interval
|
|
7729
7972
|
* @param progress the progress factor
|
|
7730
7973
|
* @param value return location for the animation value
|
|
7974
|
+
* @since 1.0
|
|
7975
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
7731
7976
|
* @virtual
|
|
7732
7977
|
*/
|
|
7733
7978
|
vfunc_animate_property(animation: Clutter.Animation, property_name: string, initial_value: unknown, final_value: unknown, progress: number, value: unknown): boolean;
|
|
@@ -7735,6 +7980,7 @@ export namespace Meta {
|
|
|
7735
7980
|
/**
|
|
7736
7981
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7737
7982
|
* @param property_name the name of the animatable property to find
|
|
7983
|
+
* @since 1.4
|
|
7738
7984
|
* @virtual
|
|
7739
7985
|
*/
|
|
7740
7986
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -7743,6 +7989,7 @@ export namespace Meta {
|
|
|
7743
7989
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7744
7990
|
* @param property_name the name of the animatable property to retrieve
|
|
7745
7991
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7992
|
+
* @since 1.4
|
|
7746
7993
|
* @virtual
|
|
7747
7994
|
*/
|
|
7748
7995
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -7760,6 +8007,7 @@ export namespace Meta {
|
|
|
7760
8007
|
* @param property_name the name of the property to interpolate
|
|
7761
8008
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7762
8009
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8010
|
+
* @since 1.8
|
|
7763
8011
|
* @virtual
|
|
7764
8012
|
*/
|
|
7765
8013
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -7768,6 +8016,7 @@ export namespace Meta {
|
|
|
7768
8016
|
* Sets the current state of `property_name` to `value`
|
|
7769
8017
|
* @param property_name the name of the animatable property to set
|
|
7770
8018
|
* @param value the value of the animatable property to set
|
|
8019
|
+
* @since 1.4
|
|
7771
8020
|
* @virtual
|
|
7772
8021
|
*/
|
|
7773
8022
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -7782,6 +8031,8 @@ export namespace Meta {
|
|
|
7782
8031
|
* deprecated virtual function. The default implementation will
|
|
7783
8032
|
* call `clutter_actor_add_child()`.
|
|
7784
8033
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8034
|
+
* @since 0.4
|
|
8035
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7785
8036
|
*/
|
|
7786
8037
|
add_actor(actor: Clutter.Actor): void;
|
|
7787
8038
|
|
|
@@ -7796,6 +8047,7 @@ export namespace Meta {
|
|
|
7796
8047
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7797
8048
|
* @param property the name of the property to set.
|
|
7798
8049
|
* @param value the value.
|
|
8050
|
+
* @since 0.8
|
|
7799
8051
|
*/
|
|
7800
8052
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7801
8053
|
|
|
@@ -7805,6 +8057,7 @@ export namespace Meta {
|
|
|
7805
8057
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7806
8058
|
* @param child a {@link Clutter.Actor}
|
|
7807
8059
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8060
|
+
* @since 1.6
|
|
7808
8061
|
*/
|
|
7809
8062
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
7810
8063
|
|
|
@@ -7813,6 +8066,7 @@ export namespace Meta {
|
|
|
7813
8066
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7814
8067
|
* @param property the name of the property to set.
|
|
7815
8068
|
* @param value the value.
|
|
8069
|
+
* @since 0.8
|
|
7816
8070
|
*/
|
|
7817
8071
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7818
8072
|
|
|
@@ -7827,6 +8081,7 @@ export namespace Meta {
|
|
|
7827
8081
|
*
|
|
7828
8082
|
* Applications should not call this function.
|
|
7829
8083
|
* @param actor a {@link Clutter.Actor}
|
|
8084
|
+
* @since 1.2
|
|
7830
8085
|
*/
|
|
7831
8086
|
create_child_meta(actor: Clutter.Actor): void;
|
|
7832
8087
|
|
|
@@ -7840,6 +8095,7 @@ export namespace Meta {
|
|
|
7840
8095
|
*
|
|
7841
8096
|
* Applications should not call this function.
|
|
7842
8097
|
* @param actor a {@link Clutter.Actor}
|
|
8098
|
+
* @since 1.2
|
|
7843
8099
|
*/
|
|
7844
8100
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
7845
8101
|
|
|
@@ -7848,6 +8104,7 @@ export namespace Meta {
|
|
|
7848
8104
|
* into any child container.
|
|
7849
8105
|
* @param child_name the name of the requested child.
|
|
7850
8106
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8107
|
+
* @since 0.6
|
|
7851
8108
|
*/
|
|
7852
8109
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
7853
8110
|
|
|
@@ -7860,6 +8117,8 @@ export namespace Meta {
|
|
|
7860
8117
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
7861
8118
|
* virtual function, which has been deprecated.
|
|
7862
8119
|
* @param callback a function to be called for each child
|
|
8120
|
+
* @since 0.4
|
|
8121
|
+
* @deprecated since 1.10: Use `clutter_actor_get_first_child()` or `clutter_actor_get_last_child()` to retrieve the beginning of the list of children, and `clutter_actor_get_next_sibling()` and `clutter_actor_get_previous_sibling()` to iterate over it; alternatively, use the {@link Clutter.ActorIter} API.
|
|
7863
8122
|
*/
|
|
7864
8123
|
foreach(callback: Clutter.Callback): void;
|
|
7865
8124
|
|
|
@@ -7871,6 +8130,8 @@ export namespace Meta {
|
|
|
7871
8130
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
7872
8131
|
* virtual function, which has been deprecated.
|
|
7873
8132
|
* @param callback a function to be called for each child
|
|
8133
|
+
* @since 1.0
|
|
8134
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
7874
8135
|
*/
|
|
7875
8136
|
foreach_with_internals(callback: Clutter.Callback): void;
|
|
7876
8137
|
|
|
@@ -7879,12 +8140,15 @@ export namespace Meta {
|
|
|
7879
8140
|
* `container` specific state for `actor`.
|
|
7880
8141
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
7881
8142
|
* @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
|
|
8143
|
+
* @since 0.8
|
|
7882
8144
|
*/
|
|
7883
8145
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
7884
8146
|
|
|
7885
8147
|
/**
|
|
7886
8148
|
* Retrieves all the children of `container`.
|
|
7887
8149
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8150
|
+
* @since 0.4
|
|
8151
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
7888
8152
|
*/
|
|
7889
8153
|
get_children(): Clutter.Actor[];
|
|
7890
8154
|
|
|
@@ -7896,6 +8160,8 @@ export namespace Meta {
|
|
|
7896
8160
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7897
8161
|
* @param actor the actor to raise
|
|
7898
8162
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8163
|
+
* @since 0.6
|
|
8164
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7899
8165
|
*/
|
|
7900
8166
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7901
8167
|
|
|
@@ -7907,6 +8173,8 @@ export namespace Meta {
|
|
|
7907
8173
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7908
8174
|
* @param actor the actor to raise
|
|
7909
8175
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8176
|
+
* @since 0.6
|
|
8177
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7910
8178
|
*/
|
|
7911
8179
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7912
8180
|
|
|
@@ -7920,12 +8188,16 @@ export namespace Meta {
|
|
|
7920
8188
|
* deprecated virtual function. The default implementation will call
|
|
7921
8189
|
* `clutter_actor_remove_child()`.
|
|
7922
8190
|
* @param actor a {@link Clutter.Actor}
|
|
8191
|
+
* @since 0.4
|
|
8192
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7923
8193
|
*/
|
|
7924
8194
|
remove_actor(actor: Clutter.Actor): void;
|
|
7925
8195
|
|
|
7926
8196
|
/**
|
|
7927
8197
|
* Sorts a container's children using their depth. This function should not
|
|
7928
8198
|
* be normally used by applications.
|
|
8199
|
+
* @since 0.6
|
|
8200
|
+
* @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.
|
|
7929
8201
|
*/
|
|
7930
8202
|
sort_depth_order(): void;
|
|
7931
8203
|
|
|
@@ -7951,6 +8223,8 @@ export namespace Meta {
|
|
|
7951
8223
|
* deprecated virtual function. The default implementation will
|
|
7952
8224
|
* call `clutter_actor_add_child()`.
|
|
7953
8225
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8226
|
+
* @since 0.4
|
|
8227
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7954
8228
|
* @virtual
|
|
7955
8229
|
*/
|
|
7956
8230
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -7961,6 +8235,7 @@ export namespace Meta {
|
|
|
7961
8235
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7962
8236
|
* @param child a {@link Clutter.Actor}
|
|
7963
8237
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8238
|
+
* @since 1.6
|
|
7964
8239
|
* @virtual
|
|
7965
8240
|
*/
|
|
7966
8241
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -7976,6 +8251,7 @@ export namespace Meta {
|
|
|
7976
8251
|
*
|
|
7977
8252
|
* Applications should not call this function.
|
|
7978
8253
|
* @param actor a {@link Clutter.Actor}
|
|
8254
|
+
* @since 1.2
|
|
7979
8255
|
* @virtual
|
|
7980
8256
|
*/
|
|
7981
8257
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7990,6 +8266,7 @@ export namespace Meta {
|
|
|
7990
8266
|
*
|
|
7991
8267
|
* Applications should not call this function.
|
|
7992
8268
|
* @param actor a {@link Clutter.Actor}
|
|
8269
|
+
* @since 1.2
|
|
7993
8270
|
* @virtual
|
|
7994
8271
|
*/
|
|
7995
8272
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8003,6 +8280,8 @@ export namespace Meta {
|
|
|
8003
8280
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
8004
8281
|
* virtual function, which has been deprecated.
|
|
8005
8282
|
* @param callback a function to be called for each child
|
|
8283
|
+
* @since 0.4
|
|
8284
|
+
* @deprecated since 1.10: Use `clutter_actor_get_first_child()` or `clutter_actor_get_last_child()` to retrieve the beginning of the list of children, and `clutter_actor_get_next_sibling()` and `clutter_actor_get_previous_sibling()` to iterate over it; alternatively, use the {@link Clutter.ActorIter} API.
|
|
8006
8285
|
* @virtual
|
|
8007
8286
|
*/
|
|
8008
8287
|
vfunc_foreach(callback: Clutter.Callback): void;
|
|
@@ -8015,6 +8294,8 @@ export namespace Meta {
|
|
|
8015
8294
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
8016
8295
|
* virtual function, which has been deprecated.
|
|
8017
8296
|
* @param callback a function to be called for each child
|
|
8297
|
+
* @since 1.0
|
|
8298
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
8018
8299
|
* @virtual
|
|
8019
8300
|
*/
|
|
8020
8301
|
vfunc_foreach_with_internals(callback: Clutter.Callback): void;
|
|
@@ -8023,6 +8304,7 @@ export namespace Meta {
|
|
|
8023
8304
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8024
8305
|
* `container` specific state for `actor`.
|
|
8025
8306
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8307
|
+
* @since 0.8
|
|
8026
8308
|
* @virtual
|
|
8027
8309
|
*/
|
|
8028
8310
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8035,6 +8317,8 @@ export namespace Meta {
|
|
|
8035
8317
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8036
8318
|
* @param actor the actor to raise
|
|
8037
8319
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8320
|
+
* @since 0.6
|
|
8321
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8038
8322
|
* @virtual
|
|
8039
8323
|
*/
|
|
8040
8324
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8047,6 +8331,8 @@ export namespace Meta {
|
|
|
8047
8331
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8048
8332
|
* @param actor the actor to raise
|
|
8049
8333
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8334
|
+
* @since 0.6
|
|
8335
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8050
8336
|
* @virtual
|
|
8051
8337
|
*/
|
|
8052
8338
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8061,6 +8347,8 @@ export namespace Meta {
|
|
|
8061
8347
|
* deprecated virtual function. The default implementation will call
|
|
8062
8348
|
* `clutter_actor_remove_child()`.
|
|
8063
8349
|
* @param actor a {@link Clutter.Actor}
|
|
8350
|
+
* @since 0.4
|
|
8351
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8064
8352
|
* @virtual
|
|
8065
8353
|
*/
|
|
8066
8354
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8068,6 +8356,8 @@ export namespace Meta {
|
|
|
8068
8356
|
/**
|
|
8069
8357
|
* Sorts a container's children using their depth. This function should not
|
|
8070
8358
|
* be normally used by applications.
|
|
8359
|
+
* @since 0.6
|
|
8360
|
+
* @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.
|
|
8071
8361
|
* @virtual
|
|
8072
8362
|
*/
|
|
8073
8363
|
vfunc_sort_depth_order(): void;
|
|
@@ -8075,6 +8365,7 @@ export namespace Meta {
|
|
|
8075
8365
|
/**
|
|
8076
8366
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8077
8367
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8368
|
+
* @since 0.6
|
|
8078
8369
|
*/
|
|
8079
8370
|
get_id(): string;
|
|
8080
8371
|
|
|
@@ -8086,6 +8377,7 @@ export namespace Meta {
|
|
|
8086
8377
|
* @param name the name of the node
|
|
8087
8378
|
* @param node the JSON node to be parsed
|
|
8088
8379
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8380
|
+
* @since 0.6
|
|
8089
8381
|
*/
|
|
8090
8382
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8091
8383
|
|
|
@@ -8095,6 +8387,7 @@ export namespace Meta {
|
|
|
8095
8387
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8096
8388
|
* @param name the name of the property
|
|
8097
8389
|
* @param value the value of the property
|
|
8390
|
+
* @since 0.6
|
|
8098
8391
|
*/
|
|
8099
8392
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8100
8393
|
|
|
@@ -8106,11 +8399,13 @@ export namespace Meta {
|
|
|
8106
8399
|
* define a unique name for an object constructable using the UI
|
|
8107
8400
|
* definition language parsed by {@link Clutter.Script}.
|
|
8108
8401
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8402
|
+
* @since 0.6
|
|
8109
8403
|
*/
|
|
8110
8404
|
set_id(id_: string): void;
|
|
8111
8405
|
|
|
8112
8406
|
/**
|
|
8113
8407
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8408
|
+
* @since 0.6
|
|
8114
8409
|
* @virtual
|
|
8115
8410
|
*/
|
|
8116
8411
|
vfunc_get_id(): string;
|
|
@@ -8122,6 +8417,7 @@ export namespace Meta {
|
|
|
8122
8417
|
* @param value the generic value to be set
|
|
8123
8418
|
* @param name the name of the node
|
|
8124
8419
|
* @param node the JSON node to be parsed
|
|
8420
|
+
* @since 0.6
|
|
8125
8421
|
* @virtual
|
|
8126
8422
|
*/
|
|
8127
8423
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8132,6 +8428,7 @@ export namespace Meta {
|
|
|
8132
8428
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8133
8429
|
* @param name the name of the property
|
|
8134
8430
|
* @param value the value of the property
|
|
8431
|
+
* @since 0.6
|
|
8135
8432
|
* @virtual
|
|
8136
8433
|
*/
|
|
8137
8434
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8144,6 +8441,7 @@ export namespace Meta {
|
|
|
8144
8441
|
* define a unique name for an object constructable using the UI
|
|
8145
8442
|
* definition language parsed by {@link Clutter.Script}.
|
|
8146
8443
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8444
|
+
* @since 0.6
|
|
8147
8445
|
* @virtual
|
|
8148
8446
|
*/
|
|
8149
8447
|
vfunc_set_id(id_: string): void;
|
|
@@ -8290,6 +8588,8 @@ export namespace Meta {
|
|
|
8290
8588
|
* @param progress the progress factor
|
|
8291
8589
|
* @param value return location for the animation value
|
|
8292
8590
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
8591
|
+
* @since 1.0
|
|
8592
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
8293
8593
|
*/
|
|
8294
8594
|
animate_property(animation: Clutter.Animation, property_name: string, initial_value: GObject.Value | any, final_value: GObject.Value | any, progress: number, value: GObject.Value | any): boolean;
|
|
8295
8595
|
|
|
@@ -8297,6 +8597,7 @@ export namespace Meta {
|
|
|
8297
8597
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8298
8598
|
* @param property_name the name of the animatable property to find
|
|
8299
8599
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8600
|
+
* @since 1.4
|
|
8300
8601
|
*/
|
|
8301
8602
|
find_property(property_name: string): GObject.ParamSpec;
|
|
8302
8603
|
|
|
@@ -8304,6 +8605,7 @@ export namespace Meta {
|
|
|
8304
8605
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8305
8606
|
* @param property_name the name of the animatable property to retrieve
|
|
8306
8607
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8608
|
+
* @since 1.4
|
|
8307
8609
|
*/
|
|
8308
8610
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
8309
8611
|
|
|
@@ -8321,6 +8623,7 @@ export namespace Meta {
|
|
|
8321
8623
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8322
8624
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8323
8625
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8626
|
+
* @since 1.8
|
|
8324
8627
|
*/
|
|
8325
8628
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
8326
8629
|
|
|
@@ -8328,6 +8631,7 @@ export namespace Meta {
|
|
|
8328
8631
|
* Sets the current state of `property_name` to `value`
|
|
8329
8632
|
* @param property_name the name of the animatable property to set
|
|
8330
8633
|
* @param value the value of the animatable property to set
|
|
8634
|
+
* @since 1.4
|
|
8331
8635
|
*/
|
|
8332
8636
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
8333
8637
|
|
|
@@ -8346,6 +8650,8 @@ export namespace Meta {
|
|
|
8346
8650
|
* @param final_value the final value of the animation interval
|
|
8347
8651
|
* @param progress the progress factor
|
|
8348
8652
|
* @param value return location for the animation value
|
|
8653
|
+
* @since 1.0
|
|
8654
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
8349
8655
|
* @virtual
|
|
8350
8656
|
*/
|
|
8351
8657
|
vfunc_animate_property(animation: Clutter.Animation, property_name: string, initial_value: unknown, final_value: unknown, progress: number, value: unknown): boolean;
|
|
@@ -8353,6 +8659,7 @@ export namespace Meta {
|
|
|
8353
8659
|
/**
|
|
8354
8660
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8355
8661
|
* @param property_name the name of the animatable property to find
|
|
8662
|
+
* @since 1.4
|
|
8356
8663
|
* @virtual
|
|
8357
8664
|
*/
|
|
8358
8665
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -8361,6 +8668,7 @@ export namespace Meta {
|
|
|
8361
8668
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8362
8669
|
* @param property_name the name of the animatable property to retrieve
|
|
8363
8670
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8671
|
+
* @since 1.4
|
|
8364
8672
|
* @virtual
|
|
8365
8673
|
*/
|
|
8366
8674
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -8378,6 +8686,7 @@ export namespace Meta {
|
|
|
8378
8686
|
* @param property_name the name of the property to interpolate
|
|
8379
8687
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8380
8688
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8689
|
+
* @since 1.8
|
|
8381
8690
|
* @virtual
|
|
8382
8691
|
*/
|
|
8383
8692
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -8386,6 +8695,7 @@ export namespace Meta {
|
|
|
8386
8695
|
* Sets the current state of `property_name` to `value`
|
|
8387
8696
|
* @param property_name the name of the animatable property to set
|
|
8388
8697
|
* @param value the value of the animatable property to set
|
|
8698
|
+
* @since 1.4
|
|
8389
8699
|
* @virtual
|
|
8390
8700
|
*/
|
|
8391
8701
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -8400,6 +8710,8 @@ export namespace Meta {
|
|
|
8400
8710
|
* deprecated virtual function. The default implementation will
|
|
8401
8711
|
* call `clutter_actor_add_child()`.
|
|
8402
8712
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8713
|
+
* @since 0.4
|
|
8714
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8403
8715
|
*/
|
|
8404
8716
|
add_actor(actor: Clutter.Actor): void;
|
|
8405
8717
|
|
|
@@ -8414,6 +8726,7 @@ export namespace Meta {
|
|
|
8414
8726
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8415
8727
|
* @param property the name of the property to set.
|
|
8416
8728
|
* @param value the value.
|
|
8729
|
+
* @since 0.8
|
|
8417
8730
|
*/
|
|
8418
8731
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8419
8732
|
|
|
@@ -8423,6 +8736,7 @@ export namespace Meta {
|
|
|
8423
8736
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8424
8737
|
* @param child a {@link Clutter.Actor}
|
|
8425
8738
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8739
|
+
* @since 1.6
|
|
8426
8740
|
*/
|
|
8427
8741
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
8428
8742
|
|
|
@@ -8431,6 +8745,7 @@ export namespace Meta {
|
|
|
8431
8745
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8432
8746
|
* @param property the name of the property to set.
|
|
8433
8747
|
* @param value the value.
|
|
8748
|
+
* @since 0.8
|
|
8434
8749
|
*/
|
|
8435
8750
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8436
8751
|
|
|
@@ -8445,6 +8760,7 @@ export namespace Meta {
|
|
|
8445
8760
|
*
|
|
8446
8761
|
* Applications should not call this function.
|
|
8447
8762
|
* @param actor a {@link Clutter.Actor}
|
|
8763
|
+
* @since 1.2
|
|
8448
8764
|
*/
|
|
8449
8765
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8450
8766
|
|
|
@@ -8458,6 +8774,7 @@ export namespace Meta {
|
|
|
8458
8774
|
*
|
|
8459
8775
|
* Applications should not call this function.
|
|
8460
8776
|
* @param actor a {@link Clutter.Actor}
|
|
8777
|
+
* @since 1.2
|
|
8461
8778
|
*/
|
|
8462
8779
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8463
8780
|
|
|
@@ -8466,6 +8783,7 @@ export namespace Meta {
|
|
|
8466
8783
|
* into any child container.
|
|
8467
8784
|
* @param child_name the name of the requested child.
|
|
8468
8785
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8786
|
+
* @since 0.6
|
|
8469
8787
|
*/
|
|
8470
8788
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8471
8789
|
|
|
@@ -8478,6 +8796,8 @@ export namespace Meta {
|
|
|
8478
8796
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
8479
8797
|
* virtual function, which has been deprecated.
|
|
8480
8798
|
* @param callback a function to be called for each child
|
|
8799
|
+
* @since 0.4
|
|
8800
|
+
* @deprecated since 1.10: Use `clutter_actor_get_first_child()` or `clutter_actor_get_last_child()` to retrieve the beginning of the list of children, and `clutter_actor_get_next_sibling()` and `clutter_actor_get_previous_sibling()` to iterate over it; alternatively, use the {@link Clutter.ActorIter} API.
|
|
8481
8801
|
*/
|
|
8482
8802
|
foreach(callback: Clutter.Callback): void;
|
|
8483
8803
|
|
|
@@ -8489,6 +8809,8 @@ export namespace Meta {
|
|
|
8489
8809
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
8490
8810
|
* virtual function, which has been deprecated.
|
|
8491
8811
|
* @param callback a function to be called for each child
|
|
8812
|
+
* @since 1.0
|
|
8813
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
8492
8814
|
*/
|
|
8493
8815
|
foreach_with_internals(callback: Clutter.Callback): void;
|
|
8494
8816
|
|
|
@@ -8497,12 +8819,15 @@ export namespace Meta {
|
|
|
8497
8819
|
* `container` specific state for `actor`.
|
|
8498
8820
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8499
8821
|
* @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
|
|
8822
|
+
* @since 0.8
|
|
8500
8823
|
*/
|
|
8501
8824
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8502
8825
|
|
|
8503
8826
|
/**
|
|
8504
8827
|
* Retrieves all the children of `container`.
|
|
8505
8828
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8829
|
+
* @since 0.4
|
|
8830
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8506
8831
|
*/
|
|
8507
8832
|
get_children(): Clutter.Actor[];
|
|
8508
8833
|
|
|
@@ -8514,6 +8839,8 @@ export namespace Meta {
|
|
|
8514
8839
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8515
8840
|
* @param actor the actor to raise
|
|
8516
8841
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8842
|
+
* @since 0.6
|
|
8843
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8517
8844
|
*/
|
|
8518
8845
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8519
8846
|
|
|
@@ -8525,6 +8852,8 @@ export namespace Meta {
|
|
|
8525
8852
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8526
8853
|
* @param actor the actor to raise
|
|
8527
8854
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8855
|
+
* @since 0.6
|
|
8856
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8528
8857
|
*/
|
|
8529
8858
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8530
8859
|
|
|
@@ -8538,12 +8867,16 @@ export namespace Meta {
|
|
|
8538
8867
|
* deprecated virtual function. The default implementation will call
|
|
8539
8868
|
* `clutter_actor_remove_child()`.
|
|
8540
8869
|
* @param actor a {@link Clutter.Actor}
|
|
8870
|
+
* @since 0.4
|
|
8871
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8541
8872
|
*/
|
|
8542
8873
|
remove_actor(actor: Clutter.Actor): void;
|
|
8543
8874
|
|
|
8544
8875
|
/**
|
|
8545
8876
|
* Sorts a container's children using their depth. This function should not
|
|
8546
8877
|
* be normally used by applications.
|
|
8878
|
+
* @since 0.6
|
|
8879
|
+
* @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.
|
|
8547
8880
|
*/
|
|
8548
8881
|
sort_depth_order(): void;
|
|
8549
8882
|
|
|
@@ -8569,6 +8902,8 @@ export namespace Meta {
|
|
|
8569
8902
|
* deprecated virtual function. The default implementation will
|
|
8570
8903
|
* call `clutter_actor_add_child()`.
|
|
8571
8904
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8905
|
+
* @since 0.4
|
|
8906
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8572
8907
|
* @virtual
|
|
8573
8908
|
*/
|
|
8574
8909
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8579,6 +8914,7 @@ export namespace Meta {
|
|
|
8579
8914
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8580
8915
|
* @param child a {@link Clutter.Actor}
|
|
8581
8916
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8917
|
+
* @since 1.6
|
|
8582
8918
|
* @virtual
|
|
8583
8919
|
*/
|
|
8584
8920
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8594,6 +8930,7 @@ export namespace Meta {
|
|
|
8594
8930
|
*
|
|
8595
8931
|
* Applications should not call this function.
|
|
8596
8932
|
* @param actor a {@link Clutter.Actor}
|
|
8933
|
+
* @since 1.2
|
|
8597
8934
|
* @virtual
|
|
8598
8935
|
*/
|
|
8599
8936
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8608,6 +8945,7 @@ export namespace Meta {
|
|
|
8608
8945
|
*
|
|
8609
8946
|
* Applications should not call this function.
|
|
8610
8947
|
* @param actor a {@link Clutter.Actor}
|
|
8948
|
+
* @since 1.2
|
|
8611
8949
|
* @virtual
|
|
8612
8950
|
*/
|
|
8613
8951
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8621,6 +8959,8 @@ export namespace Meta {
|
|
|
8621
8959
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
8622
8960
|
* virtual function, which has been deprecated.
|
|
8623
8961
|
* @param callback a function to be called for each child
|
|
8962
|
+
* @since 0.4
|
|
8963
|
+
* @deprecated since 1.10: Use `clutter_actor_get_first_child()` or `clutter_actor_get_last_child()` to retrieve the beginning of the list of children, and `clutter_actor_get_next_sibling()` and `clutter_actor_get_previous_sibling()` to iterate over it; alternatively, use the {@link Clutter.ActorIter} API.
|
|
8624
8964
|
* @virtual
|
|
8625
8965
|
*/
|
|
8626
8966
|
vfunc_foreach(callback: Clutter.Callback): void;
|
|
@@ -8633,6 +8973,8 @@ export namespace Meta {
|
|
|
8633
8973
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
8634
8974
|
* virtual function, which has been deprecated.
|
|
8635
8975
|
* @param callback a function to be called for each child
|
|
8976
|
+
* @since 1.0
|
|
8977
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
8636
8978
|
* @virtual
|
|
8637
8979
|
*/
|
|
8638
8980
|
vfunc_foreach_with_internals(callback: Clutter.Callback): void;
|
|
@@ -8641,6 +8983,7 @@ export namespace Meta {
|
|
|
8641
8983
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8642
8984
|
* `container` specific state for `actor`.
|
|
8643
8985
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8986
|
+
* @since 0.8
|
|
8644
8987
|
* @virtual
|
|
8645
8988
|
*/
|
|
8646
8989
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8653,6 +8996,8 @@ export namespace Meta {
|
|
|
8653
8996
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8654
8997
|
* @param actor the actor to raise
|
|
8655
8998
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8999
|
+
* @since 0.6
|
|
9000
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8656
9001
|
* @virtual
|
|
8657
9002
|
*/
|
|
8658
9003
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8665,6 +9010,8 @@ export namespace Meta {
|
|
|
8665
9010
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8666
9011
|
* @param actor the actor to raise
|
|
8667
9012
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
9013
|
+
* @since 0.6
|
|
9014
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8668
9015
|
* @virtual
|
|
8669
9016
|
*/
|
|
8670
9017
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8679,6 +9026,8 @@ export namespace Meta {
|
|
|
8679
9026
|
* deprecated virtual function. The default implementation will call
|
|
8680
9027
|
* `clutter_actor_remove_child()`.
|
|
8681
9028
|
* @param actor a {@link Clutter.Actor}
|
|
9029
|
+
* @since 0.4
|
|
9030
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8682
9031
|
* @virtual
|
|
8683
9032
|
*/
|
|
8684
9033
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8686,6 +9035,8 @@ export namespace Meta {
|
|
|
8686
9035
|
/**
|
|
8687
9036
|
* Sorts a container's children using their depth. This function should not
|
|
8688
9037
|
* be normally used by applications.
|
|
9038
|
+
* @since 0.6
|
|
9039
|
+
* @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.
|
|
8689
9040
|
* @virtual
|
|
8690
9041
|
*/
|
|
8691
9042
|
vfunc_sort_depth_order(): void;
|
|
@@ -8693,6 +9044,7 @@ export namespace Meta {
|
|
|
8693
9044
|
/**
|
|
8694
9045
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8695
9046
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
9047
|
+
* @since 0.6
|
|
8696
9048
|
*/
|
|
8697
9049
|
get_id(): string;
|
|
8698
9050
|
|
|
@@ -8704,6 +9056,7 @@ export namespace Meta {
|
|
|
8704
9056
|
* @param name the name of the node
|
|
8705
9057
|
* @param node the JSON node to be parsed
|
|
8706
9058
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
9059
|
+
* @since 0.6
|
|
8707
9060
|
*/
|
|
8708
9061
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8709
9062
|
|
|
@@ -8713,6 +9066,7 @@ export namespace Meta {
|
|
|
8713
9066
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8714
9067
|
* @param name the name of the property
|
|
8715
9068
|
* @param value the value of the property
|
|
9069
|
+
* @since 0.6
|
|
8716
9070
|
*/
|
|
8717
9071
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8718
9072
|
|
|
@@ -8724,11 +9078,13 @@ export namespace Meta {
|
|
|
8724
9078
|
* define a unique name for an object constructable using the UI
|
|
8725
9079
|
* definition language parsed by {@link Clutter.Script}.
|
|
8726
9080
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
9081
|
+
* @since 0.6
|
|
8727
9082
|
*/
|
|
8728
9083
|
set_id(id_: string): void;
|
|
8729
9084
|
|
|
8730
9085
|
/**
|
|
8731
9086
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
9087
|
+
* @since 0.6
|
|
8732
9088
|
* @virtual
|
|
8733
9089
|
*/
|
|
8734
9090
|
vfunc_get_id(): string;
|
|
@@ -8740,6 +9096,7 @@ export namespace Meta {
|
|
|
8740
9096
|
* @param value the generic value to be set
|
|
8741
9097
|
* @param name the name of the node
|
|
8742
9098
|
* @param node the JSON node to be parsed
|
|
9099
|
+
* @since 0.6
|
|
8743
9100
|
* @virtual
|
|
8744
9101
|
*/
|
|
8745
9102
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8750,6 +9107,7 @@ export namespace Meta {
|
|
|
8750
9107
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8751
9108
|
* @param name the name of the property
|
|
8752
9109
|
* @param value the value of the property
|
|
9110
|
+
* @since 0.6
|
|
8753
9111
|
* @virtual
|
|
8754
9112
|
*/
|
|
8755
9113
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8762,6 +9120,7 @@ export namespace Meta {
|
|
|
8762
9120
|
* define a unique name for an object constructable using the UI
|
|
8763
9121
|
* definition language parsed by {@link Clutter.Script}.
|
|
8764
9122
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
9123
|
+
* @since 0.6
|
|
8765
9124
|
* @virtual
|
|
8766
9125
|
*/
|
|
8767
9126
|
vfunc_set_id(id_: string): void;
|
|
@@ -8775,12 +9134,12 @@ export namespace Meta {
|
|
|
8775
9134
|
* @signal
|
|
8776
9135
|
* @run-last
|
|
8777
9136
|
*/
|
|
8778
|
-
"window-added": (
|
|
9137
|
+
"window-added": (object: Window) => void;
|
|
8779
9138
|
/**
|
|
8780
9139
|
* @signal
|
|
8781
9140
|
* @run-last
|
|
8782
9141
|
*/
|
|
8783
|
-
"window-removed": (
|
|
9142
|
+
"window-removed": (object: Window) => void;
|
|
8784
9143
|
"notify::n-windows": (pspec: GObject.ParamSpec) => void;
|
|
8785
9144
|
"notify::workspace-index": (pspec: GObject.ParamSpec) => void;
|
|
8786
9145
|
}
|
|
@@ -8935,17 +9294,17 @@ export namespace Meta {
|
|
|
8935
9294
|
* @signal
|
|
8936
9295
|
* @run-last
|
|
8937
9296
|
*/
|
|
8938
|
-
"workspace-added": (
|
|
9297
|
+
"workspace-added": (object: number) => void;
|
|
8939
9298
|
/**
|
|
8940
9299
|
* @signal
|
|
8941
9300
|
* @run-last
|
|
8942
9301
|
*/
|
|
8943
|
-
"workspace-removed": (
|
|
9302
|
+
"workspace-removed": (object: number) => void;
|
|
8944
9303
|
/**
|
|
8945
9304
|
* @signal
|
|
8946
9305
|
* @run-last
|
|
8947
9306
|
*/
|
|
8948
|
-
"workspace-switched": (
|
|
9307
|
+
"workspace-switched": (object: number, p0: number, p1: MotionDirection) => void;
|
|
8949
9308
|
"notify::n-workspaces": (pspec: GObject.ParamSpec) => void;
|
|
8950
9309
|
}
|
|
8951
9310
|
|