@girs/meta-3 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-3.d.ts +739 -374
- package/package.json +23 -23
package/meta-3.d.ts
CHANGED
|
@@ -57,24 +57,24 @@ 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,
|
|
73
|
-
APPMENU,
|
|
72
|
+
CLOSE = 3,
|
|
73
|
+
APPMENU = 4,
|
|
74
74
|
/**
|
|
75
75
|
* Marks the end of the {@link Meta.ButtonFunction} enumeration
|
|
76
76
|
*/
|
|
77
|
-
LAST,
|
|
77
|
+
LAST = 5,
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
|
|
@@ -89,8 +89,8 @@ export namespace Meta {
|
|
|
89
89
|
* @gir-type Enum
|
|
90
90
|
*/
|
|
91
91
|
enum CloseDialogResponse {
|
|
92
|
-
WAIT,
|
|
93
|
-
FORCE_CLOSE,
|
|
92
|
+
WAIT = 0,
|
|
93
|
+
FORCE_CLOSE = 1,
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
|
|
@@ -113,26 +113,26 @@ export namespace Meta {
|
|
|
113
113
|
* workspace and is changed to become visible on the active
|
|
114
114
|
* workspace.)
|
|
115
115
|
*/
|
|
116
|
-
CREATE,
|
|
116
|
+
CREATE = 0,
|
|
117
117
|
/**
|
|
118
118
|
* The window should be shown
|
|
119
119
|
* as unminimizing from its icon geometry.
|
|
120
120
|
*/
|
|
121
|
-
UNMINIMIZE,
|
|
121
|
+
UNMINIMIZE = 1,
|
|
122
122
|
/**
|
|
123
123
|
* The window is being destroyed
|
|
124
124
|
*/
|
|
125
|
-
DESTROY,
|
|
125
|
+
DESTROY = 2,
|
|
126
126
|
/**
|
|
127
127
|
* The window should be shown
|
|
128
128
|
* as minimizing to its icon geometry.
|
|
129
129
|
*/
|
|
130
|
-
MINIMIZE,
|
|
130
|
+
MINIMIZE = 3,
|
|
131
131
|
/**
|
|
132
132
|
* No effect, the window should be
|
|
133
133
|
* shown or hidden immediately.
|
|
134
134
|
*/
|
|
135
|
-
NONE,
|
|
135
|
+
NONE = 4,
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
|
|
@@ -147,80 +147,80 @@ export namespace Meta {
|
|
|
147
147
|
* @gir-type Enum
|
|
148
148
|
*/
|
|
149
149
|
enum Cursor {
|
|
150
|
-
NONE,
|
|
150
|
+
NONE = 0,
|
|
151
151
|
/**
|
|
152
152
|
* Default cursor
|
|
153
153
|
*/
|
|
154
|
-
DEFAULT,
|
|
154
|
+
DEFAULT = 1,
|
|
155
155
|
/**
|
|
156
156
|
* Resize northern edge cursor
|
|
157
157
|
*/
|
|
158
|
-
NORTH_RESIZE,
|
|
158
|
+
NORTH_RESIZE = 2,
|
|
159
159
|
/**
|
|
160
160
|
* Resize southern edge cursor
|
|
161
161
|
*/
|
|
162
|
-
SOUTH_RESIZE,
|
|
162
|
+
SOUTH_RESIZE = 3,
|
|
163
163
|
/**
|
|
164
164
|
* Resize western edge cursor
|
|
165
165
|
*/
|
|
166
|
-
WEST_RESIZE,
|
|
166
|
+
WEST_RESIZE = 4,
|
|
167
167
|
/**
|
|
168
168
|
* Resize eastern edge cursor
|
|
169
169
|
*/
|
|
170
|
-
EAST_RESIZE,
|
|
170
|
+
EAST_RESIZE = 5,
|
|
171
171
|
/**
|
|
172
172
|
* Resize south-eastern corner cursor
|
|
173
173
|
*/
|
|
174
|
-
SE_RESIZE,
|
|
174
|
+
SE_RESIZE = 6,
|
|
175
175
|
/**
|
|
176
176
|
* Resize south-western corner cursor
|
|
177
177
|
*/
|
|
178
|
-
SW_RESIZE,
|
|
178
|
+
SW_RESIZE = 7,
|
|
179
179
|
/**
|
|
180
180
|
* Resize north-eastern corner cursor
|
|
181
181
|
*/
|
|
182
|
-
NE_RESIZE,
|
|
182
|
+
NE_RESIZE = 8,
|
|
183
183
|
/**
|
|
184
184
|
* Resize north-western corner cursor
|
|
185
185
|
*/
|
|
186
|
-
NW_RESIZE,
|
|
186
|
+
NW_RESIZE = 9,
|
|
187
187
|
/**
|
|
188
188
|
* Move or resize cursor
|
|
189
189
|
*/
|
|
190
|
-
MOVE_OR_RESIZE_WINDOW,
|
|
190
|
+
MOVE_OR_RESIZE_WINDOW = 10,
|
|
191
191
|
/**
|
|
192
192
|
* Busy cursor
|
|
193
193
|
*/
|
|
194
|
-
BUSY,
|
|
194
|
+
BUSY = 11,
|
|
195
195
|
/**
|
|
196
196
|
* DND in drag cursor
|
|
197
197
|
*/
|
|
198
|
-
DND_IN_DRAG,
|
|
198
|
+
DND_IN_DRAG = 12,
|
|
199
199
|
/**
|
|
200
200
|
* DND move cursor
|
|
201
201
|
*/
|
|
202
|
-
DND_MOVE,
|
|
202
|
+
DND_MOVE = 13,
|
|
203
203
|
/**
|
|
204
204
|
* DND copy cursor
|
|
205
205
|
*/
|
|
206
|
-
DND_COPY,
|
|
206
|
+
DND_COPY = 14,
|
|
207
207
|
/**
|
|
208
208
|
* DND unsupported target
|
|
209
209
|
*/
|
|
210
|
-
DND_UNSUPPORTED_TARGET,
|
|
210
|
+
DND_UNSUPPORTED_TARGET = 15,
|
|
211
211
|
/**
|
|
212
212
|
* pointing hand
|
|
213
213
|
*/
|
|
214
|
-
POINTING_HAND,
|
|
214
|
+
POINTING_HAND = 16,
|
|
215
215
|
/**
|
|
216
216
|
* crosshair (action forbidden)
|
|
217
217
|
*/
|
|
218
|
-
CROSSHAIR,
|
|
218
|
+
CROSSHAIR = 17,
|
|
219
219
|
/**
|
|
220
220
|
* I-beam (text input)
|
|
221
221
|
*/
|
|
222
|
-
IBEAM,
|
|
223
|
-
LAST,
|
|
222
|
+
IBEAM = 18,
|
|
223
|
+
LAST = 19,
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
|
|
@@ -238,19 +238,19 @@ export namespace Meta {
|
|
|
238
238
|
/**
|
|
239
239
|
* top-left corner
|
|
240
240
|
*/
|
|
241
|
-
TOPLEFT,
|
|
241
|
+
TOPLEFT = 0,
|
|
242
242
|
/**
|
|
243
243
|
* top-right corner
|
|
244
244
|
*/
|
|
245
|
-
TOPRIGHT,
|
|
245
|
+
TOPRIGHT = 1,
|
|
246
246
|
/**
|
|
247
247
|
* bottom-left corner
|
|
248
248
|
*/
|
|
249
|
-
BOTTOMLEFT,
|
|
249
|
+
BOTTOMLEFT = 2,
|
|
250
250
|
/**
|
|
251
251
|
* bottom-right corner
|
|
252
252
|
*/
|
|
253
|
-
BOTTOMRIGHT,
|
|
253
|
+
BOTTOMRIGHT = 3,
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
|
|
@@ -268,19 +268,19 @@ export namespace Meta {
|
|
|
268
268
|
/**
|
|
269
269
|
* up
|
|
270
270
|
*/
|
|
271
|
-
UP,
|
|
271
|
+
UP = 0,
|
|
272
272
|
/**
|
|
273
273
|
* down
|
|
274
274
|
*/
|
|
275
|
-
DOWN,
|
|
275
|
+
DOWN = 1,
|
|
276
276
|
/**
|
|
277
277
|
* left
|
|
278
278
|
*/
|
|
279
|
-
LEFT,
|
|
279
|
+
LEFT = 2,
|
|
280
280
|
/**
|
|
281
281
|
* right
|
|
282
282
|
*/
|
|
283
|
-
RIGHT,
|
|
283
|
+
RIGHT = 3,
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
|
|
@@ -298,15 +298,15 @@ export namespace Meta {
|
|
|
298
298
|
/**
|
|
299
299
|
* Whether the edge belongs to a window
|
|
300
300
|
*/
|
|
301
|
-
WINDOW,
|
|
301
|
+
WINDOW = 0,
|
|
302
302
|
/**
|
|
303
303
|
* Whether the edge belongs to a monitor
|
|
304
304
|
*/
|
|
305
|
-
MONITOR,
|
|
305
|
+
MONITOR = 1,
|
|
306
306
|
/**
|
|
307
307
|
* Whether the edge belongs to a screen
|
|
308
308
|
*/
|
|
309
|
-
SCREEN,
|
|
309
|
+
SCREEN = 2,
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
|
|
@@ -324,11 +324,11 @@ export namespace Meta {
|
|
|
324
324
|
/**
|
|
325
325
|
* Success
|
|
326
326
|
*/
|
|
327
|
-
SUCCESS,
|
|
327
|
+
SUCCESS = 0,
|
|
328
328
|
/**
|
|
329
329
|
* Error
|
|
330
330
|
*/
|
|
331
|
-
ERROR,
|
|
331
|
+
ERROR = 1,
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
|
|
@@ -346,35 +346,35 @@ export namespace Meta {
|
|
|
346
346
|
/**
|
|
347
347
|
* Normal frame
|
|
348
348
|
*/
|
|
349
|
-
NORMAL,
|
|
349
|
+
NORMAL = 0,
|
|
350
350
|
/**
|
|
351
351
|
* Dialog frame
|
|
352
352
|
*/
|
|
353
|
-
DIALOG,
|
|
353
|
+
DIALOG = 1,
|
|
354
354
|
/**
|
|
355
355
|
* Modal dialog frame
|
|
356
356
|
*/
|
|
357
|
-
MODAL_DIALOG,
|
|
357
|
+
MODAL_DIALOG = 2,
|
|
358
358
|
/**
|
|
359
359
|
* Utility frame
|
|
360
360
|
*/
|
|
361
|
-
UTILITY,
|
|
361
|
+
UTILITY = 3,
|
|
362
362
|
/**
|
|
363
363
|
* Menu frame
|
|
364
364
|
*/
|
|
365
|
-
MENU,
|
|
365
|
+
MENU = 4,
|
|
366
366
|
/**
|
|
367
367
|
* Border frame
|
|
368
368
|
*/
|
|
369
|
-
BORDER,
|
|
369
|
+
BORDER = 5,
|
|
370
370
|
/**
|
|
371
371
|
* Attached frame
|
|
372
372
|
*/
|
|
373
|
-
ATTACHED,
|
|
373
|
+
ATTACHED = 6,
|
|
374
374
|
/**
|
|
375
375
|
* Marks the end of the {@link Meta.FrameType} enumeration
|
|
376
376
|
*/
|
|
377
|
-
LAST,
|
|
377
|
+
LAST = 7,
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
|
|
@@ -392,90 +392,90 @@ export namespace Meta {
|
|
|
392
392
|
/**
|
|
393
393
|
* None
|
|
394
394
|
*/
|
|
395
|
-
NONE,
|
|
396
|
-
WINDOW_BASE,
|
|
395
|
+
NONE = 0,
|
|
396
|
+
WINDOW_BASE = 1,
|
|
397
397
|
/**
|
|
398
398
|
* Compositor asked for grab
|
|
399
399
|
*/
|
|
400
|
-
COMPOSITOR,
|
|
401
|
-
WAYLAND_POPUP,
|
|
402
|
-
FRAME_BUTTON,
|
|
400
|
+
COMPOSITOR = 2,
|
|
401
|
+
WAYLAND_POPUP = 3,
|
|
402
|
+
FRAME_BUTTON = 4,
|
|
403
403
|
/**
|
|
404
404
|
* Moving with pointer
|
|
405
405
|
*/
|
|
406
|
-
MOVING,
|
|
406
|
+
MOVING = 1,
|
|
407
407
|
/**
|
|
408
408
|
* Resizing NW with pointer
|
|
409
409
|
*/
|
|
410
|
-
RESIZING_NW,
|
|
410
|
+
RESIZING_NW = 36865,
|
|
411
411
|
/**
|
|
412
412
|
* Resizing N with pointer
|
|
413
413
|
*/
|
|
414
|
-
RESIZING_N,
|
|
414
|
+
RESIZING_N = 32769,
|
|
415
415
|
/**
|
|
416
416
|
* Resizing NE with pointer
|
|
417
417
|
*/
|
|
418
|
-
RESIZING_NE,
|
|
418
|
+
RESIZING_NE = 40961,
|
|
419
419
|
/**
|
|
420
420
|
* Resizing E with pointer
|
|
421
421
|
*/
|
|
422
|
-
RESIZING_E,
|
|
422
|
+
RESIZING_E = 8193,
|
|
423
423
|
/**
|
|
424
424
|
* Resizing SW with pointer
|
|
425
425
|
*/
|
|
426
|
-
RESIZING_SW,
|
|
426
|
+
RESIZING_SW = 20481,
|
|
427
427
|
/**
|
|
428
428
|
* Resizing S with pointer
|
|
429
429
|
*/
|
|
430
|
-
RESIZING_S,
|
|
430
|
+
RESIZING_S = 16385,
|
|
431
431
|
/**
|
|
432
432
|
* Resizing SE with pointer
|
|
433
433
|
*/
|
|
434
|
-
RESIZING_SE,
|
|
434
|
+
RESIZING_SE = 24577,
|
|
435
435
|
/**
|
|
436
436
|
* Resizing W with pointer
|
|
437
437
|
*/
|
|
438
|
-
RESIZING_W,
|
|
438
|
+
RESIZING_W = 4097,
|
|
439
439
|
/**
|
|
440
440
|
* Moving with keyboard
|
|
441
441
|
*/
|
|
442
|
-
KEYBOARD_MOVING,
|
|
442
|
+
KEYBOARD_MOVING = 257,
|
|
443
443
|
/**
|
|
444
444
|
* Resizing with keyboard
|
|
445
445
|
*/
|
|
446
|
-
KEYBOARD_RESIZING_UNKNOWN,
|
|
446
|
+
KEYBOARD_RESIZING_UNKNOWN = 769,
|
|
447
447
|
/**
|
|
448
448
|
* Resizing NS with keyboard
|
|
449
449
|
*/
|
|
450
|
-
KEYBOARD_RESIZING_NW,
|
|
450
|
+
KEYBOARD_RESIZING_NW = 37121,
|
|
451
451
|
/**
|
|
452
452
|
* Resizing N with keyboard
|
|
453
453
|
*/
|
|
454
|
-
KEYBOARD_RESIZING_N,
|
|
454
|
+
KEYBOARD_RESIZING_N = 33025,
|
|
455
455
|
/**
|
|
456
456
|
* Resizing NE with keyboard
|
|
457
457
|
*/
|
|
458
|
-
KEYBOARD_RESIZING_NE,
|
|
458
|
+
KEYBOARD_RESIZING_NE = 41217,
|
|
459
459
|
/**
|
|
460
460
|
* Resizing E with keyboard
|
|
461
461
|
*/
|
|
462
|
-
KEYBOARD_RESIZING_E,
|
|
462
|
+
KEYBOARD_RESIZING_E = 8449,
|
|
463
463
|
/**
|
|
464
464
|
* Resizing SW with keyboard
|
|
465
465
|
*/
|
|
466
|
-
KEYBOARD_RESIZING_SW,
|
|
466
|
+
KEYBOARD_RESIZING_SW = 20737,
|
|
467
467
|
/**
|
|
468
468
|
* Resizing S with keyboard
|
|
469
469
|
*/
|
|
470
|
-
KEYBOARD_RESIZING_S,
|
|
470
|
+
KEYBOARD_RESIZING_S = 16641,
|
|
471
471
|
/**
|
|
472
472
|
* Resizing SE with keyboard
|
|
473
473
|
*/
|
|
474
|
-
KEYBOARD_RESIZING_SE,
|
|
474
|
+
KEYBOARD_RESIZING_SE = 24833,
|
|
475
475
|
/**
|
|
476
476
|
* Resizing W with keyboard
|
|
477
477
|
*/
|
|
478
|
-
KEYBOARD_RESIZING_W,
|
|
478
|
+
KEYBOARD_RESIZING_W = 4353,
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
|
|
@@ -490,8 +490,8 @@ export namespace Meta {
|
|
|
490
490
|
* @gir-type Enum
|
|
491
491
|
*/
|
|
492
492
|
enum InhibitShortcutsDialogResponse {
|
|
493
|
-
ALLOW,
|
|
494
|
-
DENY,
|
|
493
|
+
ALLOW = 0,
|
|
494
|
+
DENY = 1,
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
|
|
@@ -509,362 +509,362 @@ export namespace Meta {
|
|
|
509
509
|
/**
|
|
510
510
|
* FILLME
|
|
511
511
|
*/
|
|
512
|
-
NONE,
|
|
512
|
+
NONE = 0,
|
|
513
513
|
/**
|
|
514
514
|
* FILLME
|
|
515
515
|
*/
|
|
516
|
-
WORKSPACE_1,
|
|
516
|
+
WORKSPACE_1 = 1,
|
|
517
517
|
/**
|
|
518
518
|
* FILLME
|
|
519
519
|
*/
|
|
520
|
-
WORKSPACE_2,
|
|
520
|
+
WORKSPACE_2 = 2,
|
|
521
521
|
/**
|
|
522
522
|
* FILLME
|
|
523
523
|
*/
|
|
524
|
-
WORKSPACE_3,
|
|
524
|
+
WORKSPACE_3 = 3,
|
|
525
525
|
/**
|
|
526
526
|
* FILLME
|
|
527
527
|
*/
|
|
528
|
-
WORKSPACE_4,
|
|
528
|
+
WORKSPACE_4 = 4,
|
|
529
529
|
/**
|
|
530
530
|
* FILLME
|
|
531
531
|
*/
|
|
532
|
-
WORKSPACE_5,
|
|
532
|
+
WORKSPACE_5 = 5,
|
|
533
533
|
/**
|
|
534
534
|
* FILLME
|
|
535
535
|
*/
|
|
536
|
-
WORKSPACE_6,
|
|
536
|
+
WORKSPACE_6 = 6,
|
|
537
537
|
/**
|
|
538
538
|
* FILLME
|
|
539
539
|
*/
|
|
540
|
-
WORKSPACE_7,
|
|
540
|
+
WORKSPACE_7 = 7,
|
|
541
541
|
/**
|
|
542
542
|
* FILLME
|
|
543
543
|
*/
|
|
544
|
-
WORKSPACE_8,
|
|
544
|
+
WORKSPACE_8 = 8,
|
|
545
545
|
/**
|
|
546
546
|
* FILLME
|
|
547
547
|
*/
|
|
548
|
-
WORKSPACE_9,
|
|
548
|
+
WORKSPACE_9 = 9,
|
|
549
549
|
/**
|
|
550
550
|
* FILLME
|
|
551
551
|
*/
|
|
552
|
-
WORKSPACE_10,
|
|
552
|
+
WORKSPACE_10 = 10,
|
|
553
553
|
/**
|
|
554
554
|
* FILLME
|
|
555
555
|
*/
|
|
556
|
-
WORKSPACE_11,
|
|
556
|
+
WORKSPACE_11 = 11,
|
|
557
557
|
/**
|
|
558
558
|
* FILLME
|
|
559
559
|
*/
|
|
560
|
-
WORKSPACE_12,
|
|
560
|
+
WORKSPACE_12 = 12,
|
|
561
561
|
/**
|
|
562
562
|
* FILLME
|
|
563
563
|
*/
|
|
564
|
-
WORKSPACE_LEFT,
|
|
564
|
+
WORKSPACE_LEFT = 13,
|
|
565
565
|
/**
|
|
566
566
|
* FILLME
|
|
567
567
|
*/
|
|
568
|
-
WORKSPACE_RIGHT,
|
|
568
|
+
WORKSPACE_RIGHT = 14,
|
|
569
569
|
/**
|
|
570
570
|
* FILLME
|
|
571
571
|
*/
|
|
572
|
-
WORKSPACE_UP,
|
|
572
|
+
WORKSPACE_UP = 15,
|
|
573
573
|
/**
|
|
574
574
|
* FILLME
|
|
575
575
|
*/
|
|
576
|
-
WORKSPACE_DOWN,
|
|
576
|
+
WORKSPACE_DOWN = 16,
|
|
577
577
|
/**
|
|
578
578
|
* FILLME
|
|
579
579
|
*/
|
|
580
|
-
WORKSPACE_LAST,
|
|
580
|
+
WORKSPACE_LAST = 17,
|
|
581
581
|
/**
|
|
582
582
|
* FILLME
|
|
583
583
|
*/
|
|
584
|
-
SWITCH_APPLICATIONS,
|
|
584
|
+
SWITCH_APPLICATIONS = 18,
|
|
585
585
|
/**
|
|
586
586
|
* FILLME
|
|
587
587
|
*/
|
|
588
|
-
SWITCH_APPLICATIONS_BACKWARD,
|
|
588
|
+
SWITCH_APPLICATIONS_BACKWARD = 19,
|
|
589
589
|
/**
|
|
590
590
|
* FILLME
|
|
591
591
|
*/
|
|
592
|
-
SWITCH_GROUP,
|
|
592
|
+
SWITCH_GROUP = 20,
|
|
593
593
|
/**
|
|
594
594
|
* FILLME
|
|
595
595
|
*/
|
|
596
|
-
SWITCH_GROUP_BACKWARD,
|
|
596
|
+
SWITCH_GROUP_BACKWARD = 21,
|
|
597
597
|
/**
|
|
598
598
|
* FILLME
|
|
599
599
|
*/
|
|
600
|
-
SWITCH_WINDOWS,
|
|
600
|
+
SWITCH_WINDOWS = 22,
|
|
601
601
|
/**
|
|
602
602
|
* FILLME
|
|
603
603
|
*/
|
|
604
|
-
SWITCH_WINDOWS_BACKWARD,
|
|
604
|
+
SWITCH_WINDOWS_BACKWARD = 23,
|
|
605
605
|
/**
|
|
606
606
|
* FILLME
|
|
607
607
|
*/
|
|
608
|
-
SWITCH_PANELS,
|
|
608
|
+
SWITCH_PANELS = 24,
|
|
609
609
|
/**
|
|
610
610
|
* FILLME
|
|
611
611
|
*/
|
|
612
|
-
SWITCH_PANELS_BACKWARD,
|
|
612
|
+
SWITCH_PANELS_BACKWARD = 25,
|
|
613
613
|
/**
|
|
614
614
|
* FILLME
|
|
615
615
|
*/
|
|
616
|
-
CYCLE_GROUP,
|
|
616
|
+
CYCLE_GROUP = 26,
|
|
617
617
|
/**
|
|
618
618
|
* FILLME
|
|
619
619
|
*/
|
|
620
|
-
CYCLE_GROUP_BACKWARD,
|
|
620
|
+
CYCLE_GROUP_BACKWARD = 27,
|
|
621
621
|
/**
|
|
622
622
|
* FILLME
|
|
623
623
|
*/
|
|
624
|
-
CYCLE_WINDOWS,
|
|
624
|
+
CYCLE_WINDOWS = 28,
|
|
625
625
|
/**
|
|
626
626
|
* FILLME
|
|
627
627
|
*/
|
|
628
|
-
CYCLE_WINDOWS_BACKWARD,
|
|
628
|
+
CYCLE_WINDOWS_BACKWARD = 29,
|
|
629
629
|
/**
|
|
630
630
|
* FILLME
|
|
631
631
|
*/
|
|
632
|
-
CYCLE_PANELS,
|
|
632
|
+
CYCLE_PANELS = 30,
|
|
633
633
|
/**
|
|
634
634
|
* FILLME
|
|
635
635
|
*/
|
|
636
|
-
CYCLE_PANELS_BACKWARD,
|
|
636
|
+
CYCLE_PANELS_BACKWARD = 31,
|
|
637
637
|
/**
|
|
638
638
|
* FILLME
|
|
639
639
|
*/
|
|
640
|
-
SHOW_DESKTOP,
|
|
640
|
+
SHOW_DESKTOP = 32,
|
|
641
641
|
/**
|
|
642
642
|
* FILLME
|
|
643
643
|
*/
|
|
644
|
-
PANEL_MAIN_MENU,
|
|
644
|
+
PANEL_MAIN_MENU = 33,
|
|
645
645
|
/**
|
|
646
646
|
* FILLME
|
|
647
647
|
*/
|
|
648
|
-
PANEL_RUN_DIALOG,
|
|
648
|
+
PANEL_RUN_DIALOG = 34,
|
|
649
649
|
/**
|
|
650
650
|
* FILLME
|
|
651
651
|
*/
|
|
652
|
-
TOGGLE_RECORDING,
|
|
652
|
+
TOGGLE_RECORDING = 35,
|
|
653
653
|
/**
|
|
654
654
|
* FILLME
|
|
655
655
|
*/
|
|
656
|
-
SET_SPEW_MARK,
|
|
656
|
+
SET_SPEW_MARK = 36,
|
|
657
657
|
/**
|
|
658
658
|
* FILLME
|
|
659
659
|
*/
|
|
660
|
-
ACTIVATE_WINDOW_MENU,
|
|
660
|
+
ACTIVATE_WINDOW_MENU = 37,
|
|
661
661
|
/**
|
|
662
662
|
* FILLME
|
|
663
663
|
*/
|
|
664
|
-
TOGGLE_FULLSCREEN,
|
|
664
|
+
TOGGLE_FULLSCREEN = 38,
|
|
665
665
|
/**
|
|
666
666
|
* FILLME
|
|
667
667
|
*/
|
|
668
|
-
TOGGLE_MAXIMIZED,
|
|
668
|
+
TOGGLE_MAXIMIZED = 39,
|
|
669
669
|
/**
|
|
670
670
|
* FILLME
|
|
671
671
|
*/
|
|
672
|
-
TOGGLE_TILED_LEFT,
|
|
672
|
+
TOGGLE_TILED_LEFT = 40,
|
|
673
673
|
/**
|
|
674
674
|
* FILLME
|
|
675
675
|
*/
|
|
676
|
-
TOGGLE_TILED_RIGHT,
|
|
676
|
+
TOGGLE_TILED_RIGHT = 41,
|
|
677
677
|
/**
|
|
678
678
|
* FILLME
|
|
679
679
|
*/
|
|
680
|
-
TOGGLE_ABOVE,
|
|
680
|
+
TOGGLE_ABOVE = 42,
|
|
681
681
|
/**
|
|
682
682
|
* FILLME
|
|
683
683
|
*/
|
|
684
|
-
MAXIMIZE,
|
|
684
|
+
MAXIMIZE = 43,
|
|
685
685
|
/**
|
|
686
686
|
* FILLME
|
|
687
687
|
*/
|
|
688
|
-
UNMAXIMIZE,
|
|
688
|
+
UNMAXIMIZE = 44,
|
|
689
689
|
/**
|
|
690
690
|
* FILLME
|
|
691
691
|
*/
|
|
692
|
-
TOGGLE_SHADED,
|
|
692
|
+
TOGGLE_SHADED = 45,
|
|
693
693
|
/**
|
|
694
694
|
* FILLME
|
|
695
695
|
*/
|
|
696
|
-
MINIMIZE,
|
|
696
|
+
MINIMIZE = 46,
|
|
697
697
|
/**
|
|
698
698
|
* FILLME
|
|
699
699
|
*/
|
|
700
|
-
CLOSE,
|
|
700
|
+
CLOSE = 47,
|
|
701
701
|
/**
|
|
702
702
|
* FILLME
|
|
703
703
|
*/
|
|
704
|
-
BEGIN_MOVE,
|
|
704
|
+
BEGIN_MOVE = 48,
|
|
705
705
|
/**
|
|
706
706
|
* FILLME
|
|
707
707
|
*/
|
|
708
|
-
BEGIN_RESIZE,
|
|
708
|
+
BEGIN_RESIZE = 49,
|
|
709
709
|
/**
|
|
710
710
|
* FILLME
|
|
711
711
|
*/
|
|
712
|
-
TOGGLE_ON_ALL_WORKSPACES,
|
|
712
|
+
TOGGLE_ON_ALL_WORKSPACES = 50,
|
|
713
713
|
/**
|
|
714
714
|
* FILLME
|
|
715
715
|
*/
|
|
716
|
-
MOVE_TO_WORKSPACE_1,
|
|
716
|
+
MOVE_TO_WORKSPACE_1 = 51,
|
|
717
717
|
/**
|
|
718
718
|
* FILLME
|
|
719
719
|
*/
|
|
720
|
-
MOVE_TO_WORKSPACE_2,
|
|
720
|
+
MOVE_TO_WORKSPACE_2 = 52,
|
|
721
721
|
/**
|
|
722
722
|
* FILLME
|
|
723
723
|
*/
|
|
724
|
-
MOVE_TO_WORKSPACE_3,
|
|
724
|
+
MOVE_TO_WORKSPACE_3 = 53,
|
|
725
725
|
/**
|
|
726
726
|
* FILLME
|
|
727
727
|
*/
|
|
728
|
-
MOVE_TO_WORKSPACE_4,
|
|
728
|
+
MOVE_TO_WORKSPACE_4 = 54,
|
|
729
729
|
/**
|
|
730
730
|
* FILLME
|
|
731
731
|
*/
|
|
732
|
-
MOVE_TO_WORKSPACE_5,
|
|
732
|
+
MOVE_TO_WORKSPACE_5 = 55,
|
|
733
733
|
/**
|
|
734
734
|
* FILLME
|
|
735
735
|
*/
|
|
736
|
-
MOVE_TO_WORKSPACE_6,
|
|
736
|
+
MOVE_TO_WORKSPACE_6 = 56,
|
|
737
737
|
/**
|
|
738
738
|
* FILLME
|
|
739
739
|
*/
|
|
740
|
-
MOVE_TO_WORKSPACE_7,
|
|
740
|
+
MOVE_TO_WORKSPACE_7 = 57,
|
|
741
741
|
/**
|
|
742
742
|
* FILLME
|
|
743
743
|
*/
|
|
744
|
-
MOVE_TO_WORKSPACE_8,
|
|
744
|
+
MOVE_TO_WORKSPACE_8 = 58,
|
|
745
745
|
/**
|
|
746
746
|
* FILLME
|
|
747
747
|
*/
|
|
748
|
-
MOVE_TO_WORKSPACE_9,
|
|
748
|
+
MOVE_TO_WORKSPACE_9 = 59,
|
|
749
749
|
/**
|
|
750
750
|
* FILLME
|
|
751
751
|
*/
|
|
752
|
-
MOVE_TO_WORKSPACE_10,
|
|
752
|
+
MOVE_TO_WORKSPACE_10 = 60,
|
|
753
753
|
/**
|
|
754
754
|
* FILLME
|
|
755
755
|
*/
|
|
756
|
-
MOVE_TO_WORKSPACE_11,
|
|
756
|
+
MOVE_TO_WORKSPACE_11 = 61,
|
|
757
757
|
/**
|
|
758
758
|
* FILLME
|
|
759
759
|
*/
|
|
760
|
-
MOVE_TO_WORKSPACE_12,
|
|
760
|
+
MOVE_TO_WORKSPACE_12 = 62,
|
|
761
761
|
/**
|
|
762
762
|
* FILLME
|
|
763
763
|
*/
|
|
764
|
-
MOVE_TO_WORKSPACE_LEFT,
|
|
764
|
+
MOVE_TO_WORKSPACE_LEFT = 63,
|
|
765
765
|
/**
|
|
766
766
|
* FILLME
|
|
767
767
|
*/
|
|
768
|
-
MOVE_TO_WORKSPACE_RIGHT,
|
|
768
|
+
MOVE_TO_WORKSPACE_RIGHT = 64,
|
|
769
769
|
/**
|
|
770
770
|
* FILLME
|
|
771
771
|
*/
|
|
772
|
-
MOVE_TO_WORKSPACE_UP,
|
|
772
|
+
MOVE_TO_WORKSPACE_UP = 65,
|
|
773
773
|
/**
|
|
774
774
|
* FILLME
|
|
775
775
|
*/
|
|
776
|
-
MOVE_TO_WORKSPACE_DOWN,
|
|
776
|
+
MOVE_TO_WORKSPACE_DOWN = 66,
|
|
777
777
|
/**
|
|
778
778
|
* FILLME
|
|
779
779
|
*/
|
|
780
|
-
MOVE_TO_WORKSPACE_LAST,
|
|
780
|
+
MOVE_TO_WORKSPACE_LAST = 67,
|
|
781
781
|
/**
|
|
782
782
|
* FILLME
|
|
783
783
|
*/
|
|
784
|
-
MOVE_TO_MONITOR_LEFT,
|
|
784
|
+
MOVE_TO_MONITOR_LEFT = 68,
|
|
785
785
|
/**
|
|
786
786
|
* FILLME
|
|
787
787
|
*/
|
|
788
|
-
MOVE_TO_MONITOR_RIGHT,
|
|
788
|
+
MOVE_TO_MONITOR_RIGHT = 69,
|
|
789
789
|
/**
|
|
790
790
|
* FILLME
|
|
791
791
|
*/
|
|
792
|
-
MOVE_TO_MONITOR_UP,
|
|
792
|
+
MOVE_TO_MONITOR_UP = 70,
|
|
793
793
|
/**
|
|
794
794
|
* FILLME
|
|
795
795
|
*/
|
|
796
|
-
MOVE_TO_MONITOR_DOWN,
|
|
796
|
+
MOVE_TO_MONITOR_DOWN = 71,
|
|
797
797
|
/**
|
|
798
798
|
* FILLME
|
|
799
799
|
*/
|
|
800
|
-
RAISE_OR_LOWER,
|
|
800
|
+
RAISE_OR_LOWER = 72,
|
|
801
801
|
/**
|
|
802
802
|
* FILLME
|
|
803
803
|
*/
|
|
804
|
-
RAISE,
|
|
804
|
+
RAISE = 73,
|
|
805
805
|
/**
|
|
806
806
|
* FILLME
|
|
807
807
|
*/
|
|
808
|
-
LOWER,
|
|
808
|
+
LOWER = 74,
|
|
809
809
|
/**
|
|
810
810
|
* FILLME
|
|
811
811
|
*/
|
|
812
|
-
MAXIMIZE_VERTICALLY,
|
|
812
|
+
MAXIMIZE_VERTICALLY = 75,
|
|
813
813
|
/**
|
|
814
814
|
* FILLME
|
|
815
815
|
*/
|
|
816
|
-
MAXIMIZE_HORIZONTALLY,
|
|
816
|
+
MAXIMIZE_HORIZONTALLY = 76,
|
|
817
817
|
/**
|
|
818
818
|
* FILLME
|
|
819
819
|
*/
|
|
820
|
-
MOVE_TO_CORNER_NW,
|
|
820
|
+
MOVE_TO_CORNER_NW = 77,
|
|
821
821
|
/**
|
|
822
822
|
* FILLME
|
|
823
823
|
*/
|
|
824
|
-
MOVE_TO_CORNER_NE,
|
|
824
|
+
MOVE_TO_CORNER_NE = 78,
|
|
825
825
|
/**
|
|
826
826
|
* FILLME
|
|
827
827
|
*/
|
|
828
|
-
MOVE_TO_CORNER_SW,
|
|
828
|
+
MOVE_TO_CORNER_SW = 79,
|
|
829
829
|
/**
|
|
830
830
|
* FILLME
|
|
831
831
|
*/
|
|
832
|
-
MOVE_TO_CORNER_SE,
|
|
832
|
+
MOVE_TO_CORNER_SE = 80,
|
|
833
833
|
/**
|
|
834
834
|
* FILLME
|
|
835
835
|
*/
|
|
836
|
-
MOVE_TO_SIDE_N,
|
|
836
|
+
MOVE_TO_SIDE_N = 81,
|
|
837
837
|
/**
|
|
838
838
|
* FILLME
|
|
839
839
|
*/
|
|
840
|
-
MOVE_TO_SIDE_S,
|
|
840
|
+
MOVE_TO_SIDE_S = 82,
|
|
841
841
|
/**
|
|
842
842
|
* FILLME
|
|
843
843
|
*/
|
|
844
|
-
MOVE_TO_SIDE_E,
|
|
844
|
+
MOVE_TO_SIDE_E = 83,
|
|
845
845
|
/**
|
|
846
846
|
* FILLME
|
|
847
847
|
*/
|
|
848
|
-
MOVE_TO_SIDE_W,
|
|
848
|
+
MOVE_TO_SIDE_W = 84,
|
|
849
849
|
/**
|
|
850
850
|
* FILLME
|
|
851
851
|
*/
|
|
852
|
-
MOVE_TO_CENTER,
|
|
852
|
+
MOVE_TO_CENTER = 85,
|
|
853
853
|
/**
|
|
854
854
|
* FILLME
|
|
855
855
|
*/
|
|
856
|
-
OVERLAY_KEY,
|
|
857
|
-
ISO_NEXT_GROUP,
|
|
856
|
+
OVERLAY_KEY = 86,
|
|
857
|
+
ISO_NEXT_GROUP = 87,
|
|
858
858
|
/**
|
|
859
859
|
* FILLME
|
|
860
860
|
*/
|
|
861
|
-
ALWAYS_ON_TOP,
|
|
862
|
-
SWITCH_MONITOR,
|
|
863
|
-
ROTATE_MONITOR,
|
|
861
|
+
ALWAYS_ON_TOP = 88,
|
|
862
|
+
SWITCH_MONITOR = 89,
|
|
863
|
+
ROTATE_MONITOR = 90,
|
|
864
864
|
/**
|
|
865
865
|
* FILLME
|
|
866
866
|
*/
|
|
867
|
-
LAST,
|
|
867
|
+
LAST = 91,
|
|
868
868
|
}
|
|
869
869
|
|
|
870
870
|
|
|
@@ -883,28 +883,28 @@ export namespace Meta {
|
|
|
883
883
|
* call in a resize processing phase that is done
|
|
884
884
|
* before GTK+ repainting (including window borders) is done.
|
|
885
885
|
*/
|
|
886
|
-
RESIZE,
|
|
886
|
+
RESIZE = 0,
|
|
887
887
|
/**
|
|
888
888
|
* used by Mutter to compute which windows should be mapped
|
|
889
889
|
*/
|
|
890
|
-
CALC_SHOWING,
|
|
890
|
+
CALC_SHOWING = 1,
|
|
891
891
|
/**
|
|
892
892
|
* used by Mutter to see if there's a fullscreen window
|
|
893
893
|
*/
|
|
894
|
-
CHECK_FULLSCREEN,
|
|
894
|
+
CHECK_FULLSCREEN = 2,
|
|
895
895
|
/**
|
|
896
896
|
* used by Mutter to send it's idea of the stacking order to the server
|
|
897
897
|
*/
|
|
898
|
-
SYNC_STACK,
|
|
898
|
+
SYNC_STACK = 3,
|
|
899
899
|
/**
|
|
900
900
|
* call before the stage is redrawn
|
|
901
901
|
*/
|
|
902
|
-
BEFORE_REDRAW,
|
|
902
|
+
BEFORE_REDRAW = 4,
|
|
903
903
|
/**
|
|
904
904
|
* call at a very low priority (can be blocked
|
|
905
905
|
* by running animations or redrawing applications)
|
|
906
906
|
*/
|
|
907
|
-
IDLE,
|
|
907
|
+
IDLE = 5,
|
|
908
908
|
}
|
|
909
909
|
|
|
910
910
|
|
|
@@ -919,8 +919,8 @@ export namespace Meta {
|
|
|
919
919
|
* @gir-type Enum
|
|
920
920
|
*/
|
|
921
921
|
enum LocaleDirection {
|
|
922
|
-
LTR,
|
|
923
|
-
RTL,
|
|
922
|
+
LTR = 0,
|
|
923
|
+
RTL = 1,
|
|
924
924
|
}
|
|
925
925
|
|
|
926
926
|
|
|
@@ -935,11 +935,11 @@ export namespace Meta {
|
|
|
935
935
|
* @gir-type Enum
|
|
936
936
|
*/
|
|
937
937
|
enum MonitorSwitchConfigType {
|
|
938
|
-
ALL_MIRROR,
|
|
939
|
-
ALL_LINEAR,
|
|
940
|
-
EXTERNAL,
|
|
941
|
-
BUILTIN,
|
|
942
|
-
UNKNOWN,
|
|
938
|
+
ALL_MIRROR = 0,
|
|
939
|
+
ALL_LINEAR = 1,
|
|
940
|
+
EXTERNAL = 2,
|
|
941
|
+
BUILTIN = 3,
|
|
942
|
+
UNKNOWN = 4,
|
|
943
943
|
}
|
|
944
944
|
|
|
945
945
|
|
|
@@ -957,35 +957,35 @@ export namespace Meta {
|
|
|
957
957
|
/**
|
|
958
958
|
* Upwards motion
|
|
959
959
|
*/
|
|
960
|
-
UP,
|
|
960
|
+
UP = -1,
|
|
961
961
|
/**
|
|
962
962
|
* Downwards motion
|
|
963
963
|
*/
|
|
964
|
-
DOWN,
|
|
964
|
+
DOWN = -2,
|
|
965
965
|
/**
|
|
966
966
|
* Motion to the left
|
|
967
967
|
*/
|
|
968
|
-
LEFT,
|
|
968
|
+
LEFT = -3,
|
|
969
969
|
/**
|
|
970
970
|
* Motion to the right
|
|
971
971
|
*/
|
|
972
|
-
RIGHT,
|
|
972
|
+
RIGHT = -4,
|
|
973
973
|
/**
|
|
974
974
|
* Motion up and to the left
|
|
975
975
|
*/
|
|
976
|
-
UP_LEFT,
|
|
976
|
+
UP_LEFT = -5,
|
|
977
977
|
/**
|
|
978
978
|
* Motion up and to the right
|
|
979
979
|
*/
|
|
980
|
-
UP_RIGHT,
|
|
980
|
+
UP_RIGHT = -6,
|
|
981
981
|
/**
|
|
982
982
|
* Motion down and to the left
|
|
983
983
|
*/
|
|
984
|
-
DOWN_LEFT,
|
|
984
|
+
DOWN_LEFT = -7,
|
|
985
985
|
/**
|
|
986
986
|
* Motion down and to the right
|
|
987
987
|
*/
|
|
988
|
-
DOWN_RIGHT,
|
|
988
|
+
DOWN_RIGHT = -8,
|
|
989
989
|
}
|
|
990
990
|
|
|
991
991
|
|
|
@@ -1000,9 +1000,9 @@ export namespace Meta {
|
|
|
1000
1000
|
* @gir-type Enum
|
|
1001
1001
|
*/
|
|
1002
1002
|
enum PadActionType {
|
|
1003
|
-
BUTTON,
|
|
1004
|
-
RING,
|
|
1005
|
-
STRIP,
|
|
1003
|
+
BUTTON = 0,
|
|
1004
|
+
RING = 1,
|
|
1005
|
+
STRIP = 2,
|
|
1006
1006
|
}
|
|
1007
1007
|
|
|
1008
1008
|
|
|
@@ -1020,135 +1020,135 @@ export namespace Meta {
|
|
|
1020
1020
|
/**
|
|
1021
1021
|
* mouse button modifiers
|
|
1022
1022
|
*/
|
|
1023
|
-
MOUSE_BUTTON_MODS,
|
|
1023
|
+
MOUSE_BUTTON_MODS = 0,
|
|
1024
1024
|
/**
|
|
1025
1025
|
* focus mode
|
|
1026
1026
|
*/
|
|
1027
|
-
FOCUS_MODE,
|
|
1027
|
+
FOCUS_MODE = 1,
|
|
1028
1028
|
/**
|
|
1029
1029
|
* focus new windows
|
|
1030
1030
|
*/
|
|
1031
|
-
FOCUS_NEW_WINDOWS,
|
|
1031
|
+
FOCUS_NEW_WINDOWS = 2,
|
|
1032
1032
|
/**
|
|
1033
1033
|
* attach modal dialogs
|
|
1034
1034
|
*/
|
|
1035
|
-
ATTACH_MODAL_DIALOGS,
|
|
1035
|
+
ATTACH_MODAL_DIALOGS = 3,
|
|
1036
1036
|
/**
|
|
1037
1037
|
* raise on click
|
|
1038
1038
|
*/
|
|
1039
|
-
RAISE_ON_CLICK,
|
|
1039
|
+
RAISE_ON_CLICK = 4,
|
|
1040
1040
|
/**
|
|
1041
1041
|
* action double click titlebar
|
|
1042
1042
|
*/
|
|
1043
|
-
ACTION_DOUBLE_CLICK_TITLEBAR,
|
|
1043
|
+
ACTION_DOUBLE_CLICK_TITLEBAR = 5,
|
|
1044
1044
|
/**
|
|
1045
1045
|
* action middle click titlebar
|
|
1046
1046
|
*/
|
|
1047
|
-
ACTION_MIDDLE_CLICK_TITLEBAR,
|
|
1047
|
+
ACTION_MIDDLE_CLICK_TITLEBAR = 6,
|
|
1048
1048
|
/**
|
|
1049
1049
|
* action right click titlebar
|
|
1050
1050
|
*/
|
|
1051
|
-
ACTION_RIGHT_CLICK_TITLEBAR,
|
|
1051
|
+
ACTION_RIGHT_CLICK_TITLEBAR = 7,
|
|
1052
1052
|
/**
|
|
1053
1053
|
* auto-raise
|
|
1054
1054
|
*/
|
|
1055
|
-
AUTO_RAISE,
|
|
1055
|
+
AUTO_RAISE = 8,
|
|
1056
1056
|
/**
|
|
1057
1057
|
* auto-raise delay
|
|
1058
1058
|
*/
|
|
1059
|
-
AUTO_RAISE_DELAY,
|
|
1059
|
+
AUTO_RAISE_DELAY = 9,
|
|
1060
1060
|
/**
|
|
1061
1061
|
* focus change on pointer rest
|
|
1062
1062
|
*/
|
|
1063
|
-
FOCUS_CHANGE_ON_POINTER_REST,
|
|
1063
|
+
FOCUS_CHANGE_ON_POINTER_REST = 10,
|
|
1064
1064
|
/**
|
|
1065
1065
|
* title-bar font
|
|
1066
1066
|
*/
|
|
1067
|
-
TITLEBAR_FONT,
|
|
1067
|
+
TITLEBAR_FONT = 11,
|
|
1068
1068
|
/**
|
|
1069
1069
|
* number of workspaces
|
|
1070
1070
|
*/
|
|
1071
|
-
NUM_WORKSPACES,
|
|
1071
|
+
NUM_WORKSPACES = 12,
|
|
1072
1072
|
/**
|
|
1073
1073
|
* dynamic workspaces
|
|
1074
1074
|
*/
|
|
1075
|
-
DYNAMIC_WORKSPACES,
|
|
1075
|
+
DYNAMIC_WORKSPACES = 13,
|
|
1076
1076
|
/**
|
|
1077
1077
|
* keybindings
|
|
1078
1078
|
*/
|
|
1079
|
-
KEYBINDINGS,
|
|
1079
|
+
KEYBINDINGS = 14,
|
|
1080
1080
|
/**
|
|
1081
1081
|
* disable workarounds
|
|
1082
1082
|
*/
|
|
1083
|
-
DISABLE_WORKAROUNDS,
|
|
1083
|
+
DISABLE_WORKAROUNDS = 15,
|
|
1084
1084
|
/**
|
|
1085
1085
|
* button layout
|
|
1086
1086
|
*/
|
|
1087
|
-
BUTTON_LAYOUT,
|
|
1087
|
+
BUTTON_LAYOUT = 16,
|
|
1088
1088
|
/**
|
|
1089
1089
|
* workspace names
|
|
1090
1090
|
*/
|
|
1091
|
-
WORKSPACE_NAMES,
|
|
1091
|
+
WORKSPACE_NAMES = 17,
|
|
1092
1092
|
/**
|
|
1093
1093
|
* visual bell
|
|
1094
1094
|
*/
|
|
1095
|
-
VISUAL_BELL,
|
|
1095
|
+
VISUAL_BELL = 18,
|
|
1096
1096
|
/**
|
|
1097
1097
|
* audible bell
|
|
1098
1098
|
*/
|
|
1099
|
-
AUDIBLE_BELL,
|
|
1099
|
+
AUDIBLE_BELL = 19,
|
|
1100
1100
|
/**
|
|
1101
1101
|
* visual bell type
|
|
1102
1102
|
*/
|
|
1103
|
-
VISUAL_BELL_TYPE,
|
|
1103
|
+
VISUAL_BELL_TYPE = 20,
|
|
1104
1104
|
/**
|
|
1105
1105
|
* GNOME accessibility
|
|
1106
1106
|
*/
|
|
1107
|
-
GNOME_ACCESSIBILITY,
|
|
1107
|
+
GNOME_ACCESSIBILITY = 21,
|
|
1108
1108
|
/**
|
|
1109
1109
|
* GNOME animations
|
|
1110
1110
|
*/
|
|
1111
|
-
GNOME_ANIMATIONS,
|
|
1111
|
+
GNOME_ANIMATIONS = 22,
|
|
1112
1112
|
/**
|
|
1113
1113
|
* cursor theme
|
|
1114
1114
|
*/
|
|
1115
|
-
CURSOR_THEME,
|
|
1115
|
+
CURSOR_THEME = 23,
|
|
1116
1116
|
/**
|
|
1117
1117
|
* cursor size
|
|
1118
1118
|
*/
|
|
1119
|
-
CURSOR_SIZE,
|
|
1119
|
+
CURSOR_SIZE = 24,
|
|
1120
1120
|
/**
|
|
1121
1121
|
* resize with right button
|
|
1122
1122
|
*/
|
|
1123
|
-
RESIZE_WITH_RIGHT_BUTTON,
|
|
1123
|
+
RESIZE_WITH_RIGHT_BUTTON = 25,
|
|
1124
1124
|
/**
|
|
1125
1125
|
* edge tiling
|
|
1126
1126
|
*/
|
|
1127
|
-
EDGE_TILING,
|
|
1127
|
+
EDGE_TILING = 26,
|
|
1128
1128
|
/**
|
|
1129
1129
|
* force fullscreen
|
|
1130
1130
|
*/
|
|
1131
|
-
FORCE_FULLSCREEN,
|
|
1131
|
+
FORCE_FULLSCREEN = 27,
|
|
1132
1132
|
/**
|
|
1133
1133
|
* workspaces only on primary
|
|
1134
1134
|
*/
|
|
1135
|
-
WORKSPACES_ONLY_ON_PRIMARY,
|
|
1135
|
+
WORKSPACES_ONLY_ON_PRIMARY = 28,
|
|
1136
1136
|
/**
|
|
1137
1137
|
* draggable border width
|
|
1138
1138
|
*/
|
|
1139
|
-
DRAGGABLE_BORDER_WIDTH,
|
|
1139
|
+
DRAGGABLE_BORDER_WIDTH = 29,
|
|
1140
1140
|
/**
|
|
1141
1141
|
* auto-maximize
|
|
1142
1142
|
*/
|
|
1143
|
-
AUTO_MAXIMIZE,
|
|
1143
|
+
AUTO_MAXIMIZE = 30,
|
|
1144
1144
|
/**
|
|
1145
1145
|
* center new windows
|
|
1146
1146
|
*/
|
|
1147
|
-
CENTER_NEW_WINDOWS,
|
|
1147
|
+
CENTER_NEW_WINDOWS = 31,
|
|
1148
1148
|
/**
|
|
1149
1149
|
* drag threshold
|
|
1150
1150
|
*/
|
|
1151
|
-
DRAG_THRESHOLD,
|
|
1151
|
+
DRAG_THRESHOLD = 32,
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
1154
|
|
|
@@ -1163,9 +1163,9 @@ export namespace Meta {
|
|
|
1163
1163
|
* @gir-type Enum
|
|
1164
1164
|
*/
|
|
1165
1165
|
enum ShadowMode {
|
|
1166
|
-
AUTO,
|
|
1167
|
-
FORCED_OFF,
|
|
1168
|
-
FORCED_ON,
|
|
1166
|
+
AUTO = 0,
|
|
1167
|
+
FORCED_OFF = 1,
|
|
1168
|
+
FORCED_ON = 2,
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
1171
|
|
|
@@ -1183,19 +1183,19 @@ export namespace Meta {
|
|
|
1183
1183
|
/**
|
|
1184
1184
|
* Left side
|
|
1185
1185
|
*/
|
|
1186
|
-
LEFT,
|
|
1186
|
+
LEFT = 1,
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Right side
|
|
1189
1189
|
*/
|
|
1190
|
-
RIGHT,
|
|
1190
|
+
RIGHT = 2,
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Top side
|
|
1193
1193
|
*/
|
|
1194
|
-
TOP,
|
|
1194
|
+
TOP = 4,
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Bottom side
|
|
1197
1197
|
*/
|
|
1198
|
-
BOTTOM,
|
|
1198
|
+
BOTTOM = 8,
|
|
1199
1199
|
}
|
|
1200
1200
|
|
|
1201
1201
|
|
|
@@ -1210,10 +1210,10 @@ export namespace Meta {
|
|
|
1210
1210
|
* @gir-type Enum
|
|
1211
1211
|
*/
|
|
1212
1212
|
enum SizeChange {
|
|
1213
|
-
MAXIMIZE,
|
|
1214
|
-
UNMAXIMIZE,
|
|
1215
|
-
FULLSCREEN,
|
|
1216
|
-
UNFULLSCREEN,
|
|
1213
|
+
MAXIMIZE = 0,
|
|
1214
|
+
UNMAXIMIZE = 1,
|
|
1215
|
+
FULLSCREEN = 2,
|
|
1216
|
+
UNFULLSCREEN = 3,
|
|
1217
1217
|
}
|
|
1218
1218
|
|
|
1219
1219
|
|
|
@@ -1233,31 +1233,31 @@ export namespace Meta {
|
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Desktop layer
|
|
1235
1235
|
*/
|
|
1236
|
-
DESKTOP,
|
|
1236
|
+
DESKTOP = 0,
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Bottom layer
|
|
1239
1239
|
*/
|
|
1240
|
-
BOTTOM,
|
|
1240
|
+
BOTTOM = 1,
|
|
1241
1241
|
/**
|
|
1242
1242
|
* Normal layer
|
|
1243
1243
|
*/
|
|
1244
|
-
NORMAL,
|
|
1244
|
+
NORMAL = 2,
|
|
1245
1245
|
/**
|
|
1246
1246
|
* Top layer
|
|
1247
1247
|
*/
|
|
1248
|
-
TOP,
|
|
1248
|
+
TOP = 4,
|
|
1249
1249
|
/**
|
|
1250
1250
|
* Dock layer
|
|
1251
1251
|
*/
|
|
1252
|
-
DOCK,
|
|
1252
|
+
DOCK = 4,
|
|
1253
1253
|
/**
|
|
1254
1254
|
* Override-redirect layer
|
|
1255
1255
|
*/
|
|
1256
|
-
OVERRIDE_REDIRECT,
|
|
1256
|
+
OVERRIDE_REDIRECT = 7,
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Marks the end of the {@link Meta.StackLayer} enumeration
|
|
1259
1259
|
*/
|
|
1260
|
-
LAST,
|
|
1260
|
+
LAST = 8,
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
1263
|
|
|
@@ -1275,19 +1275,19 @@ export namespace Meta {
|
|
|
1275
1275
|
/**
|
|
1276
1276
|
* Normal windows
|
|
1277
1277
|
*/
|
|
1278
|
-
NORMAL,
|
|
1278
|
+
NORMAL = 0,
|
|
1279
1279
|
/**
|
|
1280
1280
|
* Dock windows
|
|
1281
1281
|
*/
|
|
1282
|
-
DOCKS,
|
|
1282
|
+
DOCKS = 1,
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Groups
|
|
1285
1285
|
*/
|
|
1286
|
-
GROUP,
|
|
1286
|
+
GROUP = 2,
|
|
1287
1287
|
/**
|
|
1288
1288
|
* All windows
|
|
1289
1289
|
*/
|
|
1290
|
-
NORMAL_ALL,
|
|
1290
|
+
NORMAL_ALL = 3,
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
|
|
@@ -1305,11 +1305,11 @@ export namespace Meta {
|
|
|
1305
1305
|
/**
|
|
1306
1306
|
* Show icon (Alt-Tab mode)
|
|
1307
1307
|
*/
|
|
1308
|
-
ICON,
|
|
1308
|
+
ICON = 0,
|
|
1309
1309
|
/**
|
|
1310
1310
|
* Show instantly (Alt-Esc mode)
|
|
1311
1311
|
*/
|
|
1312
|
-
INSTANTLY,
|
|
1312
|
+
INSTANTLY = 1,
|
|
1313
1313
|
}
|
|
1314
1314
|
|
|
1315
1315
|
|
|
@@ -1327,11 +1327,11 @@ export namespace Meta {
|
|
|
1327
1327
|
/**
|
|
1328
1328
|
* A Wayland based window
|
|
1329
1329
|
*/
|
|
1330
|
-
WAYLAND,
|
|
1330
|
+
WAYLAND = 0,
|
|
1331
1331
|
/**
|
|
1332
1332
|
* An X11 based window
|
|
1333
1333
|
*/
|
|
1334
|
-
X11,
|
|
1334
|
+
X11 = 1,
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
1337
|
|
|
@@ -1350,11 +1350,11 @@ export namespace Meta {
|
|
|
1350
1350
|
/**
|
|
1351
1351
|
* the window manager menu
|
|
1352
1352
|
*/
|
|
1353
|
-
WM,
|
|
1353
|
+
WM = 0,
|
|
1354
1354
|
/**
|
|
1355
1355
|
* the (fallback) app menu
|
|
1356
1356
|
*/
|
|
1357
|
-
APP,
|
|
1357
|
+
APP = 1,
|
|
1358
1358
|
}
|
|
1359
1359
|
|
|
1360
1360
|
|
|
@@ -1372,100 +1372,148 @@ export namespace Meta {
|
|
|
1372
1372
|
/**
|
|
1373
1373
|
* Normal
|
|
1374
1374
|
*/
|
|
1375
|
-
NORMAL,
|
|
1375
|
+
NORMAL = 0,
|
|
1376
1376
|
/**
|
|
1377
1377
|
* Desktop
|
|
1378
1378
|
*/
|
|
1379
|
-
DESKTOP,
|
|
1379
|
+
DESKTOP = 1,
|
|
1380
1380
|
/**
|
|
1381
1381
|
* Dock
|
|
1382
1382
|
*/
|
|
1383
|
-
DOCK,
|
|
1383
|
+
DOCK = 2,
|
|
1384
1384
|
/**
|
|
1385
1385
|
* Dialog
|
|
1386
1386
|
*/
|
|
1387
|
-
DIALOG,
|
|
1387
|
+
DIALOG = 3,
|
|
1388
1388
|
/**
|
|
1389
1389
|
* Modal dialog
|
|
1390
1390
|
*/
|
|
1391
|
-
MODAL_DIALOG,
|
|
1391
|
+
MODAL_DIALOG = 4,
|
|
1392
1392
|
/**
|
|
1393
1393
|
* Toolbar
|
|
1394
1394
|
*/
|
|
1395
|
-
TOOLBAR,
|
|
1395
|
+
TOOLBAR = 5,
|
|
1396
1396
|
/**
|
|
1397
1397
|
* Menu
|
|
1398
1398
|
*/
|
|
1399
|
-
MENU,
|
|
1399
|
+
MENU = 6,
|
|
1400
1400
|
/**
|
|
1401
1401
|
* Utility
|
|
1402
1402
|
*/
|
|
1403
|
-
UTILITY,
|
|
1403
|
+
UTILITY = 7,
|
|
1404
1404
|
/**
|
|
1405
1405
|
* Splashcreen
|
|
1406
1406
|
*/
|
|
1407
|
-
SPLASHSCREEN,
|
|
1407
|
+
SPLASHSCREEN = 8,
|
|
1408
1408
|
/**
|
|
1409
1409
|
* Dropdown menu
|
|
1410
1410
|
*/
|
|
1411
|
-
DROPDOWN_MENU,
|
|
1411
|
+
DROPDOWN_MENU = 9,
|
|
1412
1412
|
/**
|
|
1413
1413
|
* Popup menu
|
|
1414
1414
|
*/
|
|
1415
|
-
POPUP_MENU,
|
|
1415
|
+
POPUP_MENU = 10,
|
|
1416
1416
|
/**
|
|
1417
1417
|
* Tooltip
|
|
1418
1418
|
*/
|
|
1419
|
-
TOOLTIP,
|
|
1419
|
+
TOOLTIP = 11,
|
|
1420
1420
|
/**
|
|
1421
1421
|
* Notification
|
|
1422
1422
|
*/
|
|
1423
|
-
NOTIFICATION,
|
|
1423
|
+
NOTIFICATION = 12,
|
|
1424
1424
|
/**
|
|
1425
1425
|
* Combobox
|
|
1426
1426
|
*/
|
|
1427
|
-
COMBO,
|
|
1427
|
+
COMBO = 13,
|
|
1428
1428
|
/**
|
|
1429
1429
|
* Drag and drop
|
|
1430
1430
|
*/
|
|
1431
|
-
DND,
|
|
1431
|
+
DND = 14,
|
|
1432
1432
|
/**
|
|
1433
1433
|
* Other override-redirect window type
|
|
1434
1434
|
*/
|
|
1435
|
-
OVERRIDE_OTHER,
|
|
1435
|
+
OVERRIDE_OTHER = 15,
|
|
1436
1436
|
}
|
|
1437
1437
|
|
|
1438
1438
|
|
|
1439
|
+
/**
|
|
1440
|
+
* @default 0
|
|
1441
|
+
*/
|
|
1439
1442
|
const CURRENT_TIME: number;
|
|
1440
1443
|
|
|
1444
|
+
/**
|
|
1445
|
+
* @default window
|
|
1446
|
+
*/
|
|
1441
1447
|
const DEFAULT_ICON_NAME: string;
|
|
1442
1448
|
|
|
1449
|
+
/**
|
|
1450
|
+
* @default 96
|
|
1451
|
+
*/
|
|
1443
1452
|
const ICON_HEIGHT: number;
|
|
1444
1453
|
|
|
1454
|
+
/**
|
|
1455
|
+
* @default 96
|
|
1456
|
+
*/
|
|
1445
1457
|
const ICON_WIDTH: number;
|
|
1446
1458
|
|
|
1459
|
+
/**
|
|
1460
|
+
* @default 3
|
|
1461
|
+
*/
|
|
1447
1462
|
const MAJOR_VERSION: number;
|
|
1448
1463
|
|
|
1464
|
+
/**
|
|
1465
|
+
* @default 2
|
|
1466
|
+
*/
|
|
1449
1467
|
const MICRO_VERSION: number;
|
|
1450
1468
|
|
|
1469
|
+
/**
|
|
1470
|
+
* @default 16
|
|
1471
|
+
*/
|
|
1451
1472
|
const MINI_ICON_HEIGHT: number;
|
|
1452
1473
|
|
|
1474
|
+
/**
|
|
1475
|
+
* @default 16
|
|
1476
|
+
*/
|
|
1453
1477
|
const MINI_ICON_WIDTH: number;
|
|
1454
1478
|
|
|
1479
|
+
/**
|
|
1480
|
+
* @default 30
|
|
1481
|
+
*/
|
|
1455
1482
|
const MINOR_VERSION: number;
|
|
1456
1483
|
|
|
1484
|
+
/**
|
|
1485
|
+
* @default 3
|
|
1486
|
+
*/
|
|
1457
1487
|
const PLUGIN_API_VERSION: number;
|
|
1458
1488
|
|
|
1489
|
+
/**
|
|
1490
|
+
* @default 40
|
|
1491
|
+
*/
|
|
1459
1492
|
const PRIORITY_BEFORE_REDRAW: number;
|
|
1460
1493
|
|
|
1494
|
+
/**
|
|
1495
|
+
* @default 10
|
|
1496
|
+
*/
|
|
1461
1497
|
const PRIORITY_PREFS_NOTIFY: number;
|
|
1462
1498
|
|
|
1499
|
+
/**
|
|
1500
|
+
* @default 50
|
|
1501
|
+
*/
|
|
1463
1502
|
const PRIORITY_REDRAW: number;
|
|
1464
1503
|
|
|
1504
|
+
/**
|
|
1505
|
+
* @default 15
|
|
1506
|
+
*/
|
|
1465
1507
|
const PRIORITY_RESIZE: number;
|
|
1466
1508
|
|
|
1509
|
+
/**
|
|
1510
|
+
* @default 3
|
|
1511
|
+
*/
|
|
1467
1512
|
const VIRTUAL_CORE_KEYBOARD_ID: number;
|
|
1468
1513
|
|
|
1514
|
+
/**
|
|
1515
|
+
* @default 2
|
|
1516
|
+
*/
|
|
1469
1517
|
const VIRTUAL_CORE_POINTER_ID: number;
|
|
1470
1518
|
|
|
1471
1519
|
/**
|
|
@@ -1826,6 +1874,9 @@ export namespace Meta {
|
|
|
1826
1874
|
*/
|
|
1827
1875
|
function x11_error_trap_push(x11_display: X11Display): void;
|
|
1828
1876
|
|
|
1877
|
+
/**
|
|
1878
|
+
* @throws GLib.Error
|
|
1879
|
+
*/
|
|
1829
1880
|
function x11_init_gdk_display(): boolean;
|
|
1830
1881
|
|
|
1831
1882
|
/**
|
|
@@ -1870,19 +1921,19 @@ export namespace Meta {
|
|
|
1870
1921
|
/**
|
|
1871
1922
|
* Positive direction in the X axis
|
|
1872
1923
|
*/
|
|
1873
|
-
POSITIVE_X,
|
|
1924
|
+
POSITIVE_X = 1,
|
|
1874
1925
|
/**
|
|
1875
1926
|
* Positive direction in the Y axis
|
|
1876
1927
|
*/
|
|
1877
|
-
POSITIVE_Y,
|
|
1928
|
+
POSITIVE_Y = 2,
|
|
1878
1929
|
/**
|
|
1879
1930
|
* Negative direction in the X axis
|
|
1880
1931
|
*/
|
|
1881
|
-
NEGATIVE_X,
|
|
1932
|
+
NEGATIVE_X = 4,
|
|
1882
1933
|
/**
|
|
1883
1934
|
* Negative direction in the Y axis
|
|
1884
1935
|
*/
|
|
1885
|
-
NEGATIVE_Y,
|
|
1936
|
+
NEGATIVE_Y = 8,
|
|
1886
1937
|
}
|
|
1887
1938
|
|
|
1888
1939
|
|
|
@@ -1900,96 +1951,96 @@ export namespace Meta {
|
|
|
1900
1951
|
/**
|
|
1901
1952
|
* verbose logging
|
|
1902
1953
|
*/
|
|
1903
|
-
VERBOSE,
|
|
1954
|
+
VERBOSE = -1,
|
|
1904
1955
|
/**
|
|
1905
1956
|
* focus
|
|
1906
1957
|
*/
|
|
1907
|
-
FOCUS,
|
|
1958
|
+
FOCUS = 1,
|
|
1908
1959
|
/**
|
|
1909
1960
|
* workarea
|
|
1910
1961
|
*/
|
|
1911
|
-
WORKAREA,
|
|
1962
|
+
WORKAREA = 2,
|
|
1912
1963
|
/**
|
|
1913
1964
|
* stack
|
|
1914
1965
|
*/
|
|
1915
|
-
STACK,
|
|
1966
|
+
STACK = 4,
|
|
1916
1967
|
/**
|
|
1917
1968
|
* themes
|
|
1918
1969
|
*/
|
|
1919
|
-
THEMES,
|
|
1970
|
+
THEMES = 8,
|
|
1920
1971
|
/**
|
|
1921
1972
|
* session management
|
|
1922
1973
|
*/
|
|
1923
|
-
SM,
|
|
1974
|
+
SM = 16,
|
|
1924
1975
|
/**
|
|
1925
1976
|
* events
|
|
1926
1977
|
*/
|
|
1927
|
-
EVENTS,
|
|
1978
|
+
EVENTS = 32,
|
|
1928
1979
|
/**
|
|
1929
1980
|
* window state
|
|
1930
1981
|
*/
|
|
1931
|
-
WINDOW_STATE,
|
|
1982
|
+
WINDOW_STATE = 64,
|
|
1932
1983
|
/**
|
|
1933
1984
|
* window operations
|
|
1934
1985
|
*/
|
|
1935
|
-
WINDOW_OPS,
|
|
1986
|
+
WINDOW_OPS = 128,
|
|
1936
1987
|
/**
|
|
1937
1988
|
* geometry
|
|
1938
1989
|
*/
|
|
1939
|
-
GEOMETRY,
|
|
1990
|
+
GEOMETRY = 256,
|
|
1940
1991
|
/**
|
|
1941
1992
|
* window placement
|
|
1942
1993
|
*/
|
|
1943
|
-
PLACEMENT,
|
|
1994
|
+
PLACEMENT = 512,
|
|
1944
1995
|
/**
|
|
1945
1996
|
* ping
|
|
1946
1997
|
*/
|
|
1947
|
-
PING,
|
|
1998
|
+
PING = 1024,
|
|
1948
1999
|
/**
|
|
1949
2000
|
* Xinerama
|
|
1950
2001
|
*/
|
|
1951
|
-
XINERAMA,
|
|
2002
|
+
XINERAMA = 2048,
|
|
1952
2003
|
/**
|
|
1953
2004
|
* keybindings
|
|
1954
2005
|
*/
|
|
1955
|
-
KEYBINDINGS,
|
|
2006
|
+
KEYBINDINGS = 4096,
|
|
1956
2007
|
/**
|
|
1957
2008
|
* sync
|
|
1958
2009
|
*/
|
|
1959
|
-
SYNC,
|
|
2010
|
+
SYNC = 8192,
|
|
1960
2011
|
/**
|
|
1961
2012
|
* errors
|
|
1962
2013
|
*/
|
|
1963
|
-
ERRORS,
|
|
2014
|
+
ERRORS = 16384,
|
|
1964
2015
|
/**
|
|
1965
2016
|
* startup
|
|
1966
2017
|
*/
|
|
1967
|
-
STARTUP,
|
|
2018
|
+
STARTUP = 32768,
|
|
1968
2019
|
/**
|
|
1969
2020
|
* preferences
|
|
1970
2021
|
*/
|
|
1971
|
-
PREFS,
|
|
2022
|
+
PREFS = 65536,
|
|
1972
2023
|
/**
|
|
1973
2024
|
* groups
|
|
1974
2025
|
*/
|
|
1975
|
-
GROUPS,
|
|
2026
|
+
GROUPS = 131072,
|
|
1976
2027
|
/**
|
|
1977
2028
|
* resizing
|
|
1978
2029
|
*/
|
|
1979
|
-
RESIZING,
|
|
2030
|
+
RESIZING = 262144,
|
|
1980
2031
|
/**
|
|
1981
2032
|
* shapes
|
|
1982
2033
|
*/
|
|
1983
|
-
SHAPES,
|
|
2034
|
+
SHAPES = 524288,
|
|
1984
2035
|
/**
|
|
1985
2036
|
* compositor
|
|
1986
2037
|
*/
|
|
1987
|
-
COMPOSITOR,
|
|
2038
|
+
COMPOSITOR = 1048576,
|
|
1988
2039
|
/**
|
|
1989
2040
|
* edge resistance
|
|
1990
2041
|
*/
|
|
1991
|
-
EDGE_RESISTANCE,
|
|
1992
|
-
DBUS,
|
|
2042
|
+
EDGE_RESISTANCE = 2097152,
|
|
2043
|
+
DBUS = 4194304,
|
|
1993
2044
|
}
|
|
1994
2045
|
|
|
1995
2046
|
|
|
@@ -2007,35 +2058,35 @@ export namespace Meta {
|
|
|
2007
2058
|
/**
|
|
2008
2059
|
* Left
|
|
2009
2060
|
*/
|
|
2010
|
-
LEFT,
|
|
2061
|
+
LEFT = 1,
|
|
2011
2062
|
/**
|
|
2012
2063
|
* Right
|
|
2013
2064
|
*/
|
|
2014
|
-
RIGHT,
|
|
2065
|
+
RIGHT = 2,
|
|
2015
2066
|
/**
|
|
2016
2067
|
* Top
|
|
2017
2068
|
*/
|
|
2018
|
-
TOP,
|
|
2069
|
+
TOP = 4,
|
|
2019
2070
|
/**
|
|
2020
2071
|
* Bottom
|
|
2021
2072
|
*/
|
|
2022
|
-
BOTTOM,
|
|
2073
|
+
BOTTOM = 8,
|
|
2023
2074
|
/**
|
|
2024
2075
|
* Up
|
|
2025
2076
|
*/
|
|
2026
|
-
UP,
|
|
2077
|
+
UP = 4,
|
|
2027
2078
|
/**
|
|
2028
2079
|
* Down
|
|
2029
2080
|
*/
|
|
2030
|
-
DOWN,
|
|
2081
|
+
DOWN = 8,
|
|
2031
2082
|
/**
|
|
2032
2083
|
* Horizontal
|
|
2033
2084
|
*/
|
|
2034
|
-
HORIZONTAL,
|
|
2085
|
+
HORIZONTAL = 3,
|
|
2035
2086
|
/**
|
|
2036
2087
|
* Vertical
|
|
2037
2088
|
*/
|
|
2038
|
-
VERTICAL,
|
|
2089
|
+
VERTICAL = 12,
|
|
2039
2090
|
}
|
|
2040
2091
|
|
|
2041
2092
|
|
|
@@ -2053,75 +2104,75 @@ export namespace Meta {
|
|
|
2053
2104
|
/**
|
|
2054
2105
|
* frame allows delete
|
|
2055
2106
|
*/
|
|
2056
|
-
ALLOWS_DELETE,
|
|
2107
|
+
ALLOWS_DELETE = 1,
|
|
2057
2108
|
/**
|
|
2058
2109
|
* frame allows menu
|
|
2059
2110
|
*/
|
|
2060
|
-
ALLOWS_MENU,
|
|
2111
|
+
ALLOWS_MENU = 2,
|
|
2061
2112
|
/**
|
|
2062
2113
|
* frame allows (fallback) app menu
|
|
2063
2114
|
*/
|
|
2064
|
-
ALLOWS_APPMENU,
|
|
2115
|
+
ALLOWS_APPMENU = 4,
|
|
2065
2116
|
/**
|
|
2066
2117
|
* frame allows minimize
|
|
2067
2118
|
*/
|
|
2068
|
-
ALLOWS_MINIMIZE,
|
|
2119
|
+
ALLOWS_MINIMIZE = 8,
|
|
2069
2120
|
/**
|
|
2070
2121
|
* frame allows maximize
|
|
2071
2122
|
*/
|
|
2072
|
-
ALLOWS_MAXIMIZE,
|
|
2123
|
+
ALLOWS_MAXIMIZE = 16,
|
|
2073
2124
|
/**
|
|
2074
2125
|
* frame allows vertical resize
|
|
2075
2126
|
*/
|
|
2076
|
-
ALLOWS_VERTICAL_RESIZE,
|
|
2127
|
+
ALLOWS_VERTICAL_RESIZE = 32,
|
|
2077
2128
|
/**
|
|
2078
2129
|
* frame allows horizontal resize
|
|
2079
2130
|
*/
|
|
2080
|
-
ALLOWS_HORIZONTAL_RESIZE,
|
|
2131
|
+
ALLOWS_HORIZONTAL_RESIZE = 64,
|
|
2081
2132
|
/**
|
|
2082
2133
|
* frame has focus
|
|
2083
2134
|
*/
|
|
2084
|
-
HAS_FOCUS,
|
|
2135
|
+
HAS_FOCUS = 128,
|
|
2085
2136
|
/**
|
|
2086
2137
|
* frame is shaded
|
|
2087
2138
|
*/
|
|
2088
|
-
SHADED,
|
|
2139
|
+
SHADED = 256,
|
|
2089
2140
|
/**
|
|
2090
2141
|
* frame is stuck
|
|
2091
2142
|
*/
|
|
2092
|
-
STUCK,
|
|
2143
|
+
STUCK = 512,
|
|
2093
2144
|
/**
|
|
2094
2145
|
* frame is maximized
|
|
2095
2146
|
*/
|
|
2096
|
-
MAXIMIZED,
|
|
2147
|
+
MAXIMIZED = 1024,
|
|
2097
2148
|
/**
|
|
2098
2149
|
* frame allows shade
|
|
2099
2150
|
*/
|
|
2100
|
-
ALLOWS_SHADE,
|
|
2151
|
+
ALLOWS_SHADE = 2048,
|
|
2101
2152
|
/**
|
|
2102
2153
|
* frame allows move
|
|
2103
2154
|
*/
|
|
2104
|
-
ALLOWS_MOVE,
|
|
2155
|
+
ALLOWS_MOVE = 4096,
|
|
2105
2156
|
/**
|
|
2106
2157
|
* frame allows fullscreen
|
|
2107
2158
|
*/
|
|
2108
|
-
FULLSCREEN,
|
|
2159
|
+
FULLSCREEN = 8192,
|
|
2109
2160
|
/**
|
|
2110
2161
|
* frame is flashing
|
|
2111
2162
|
*/
|
|
2112
|
-
IS_FLASHING,
|
|
2163
|
+
IS_FLASHING = 16384,
|
|
2113
2164
|
/**
|
|
2114
2165
|
* frame is above
|
|
2115
2166
|
*/
|
|
2116
|
-
ABOVE,
|
|
2167
|
+
ABOVE = 32768,
|
|
2117
2168
|
/**
|
|
2118
2169
|
* frame is tiled to the left
|
|
2119
2170
|
*/
|
|
2120
|
-
TILED_LEFT,
|
|
2171
|
+
TILED_LEFT = 65536,
|
|
2121
2172
|
/**
|
|
2122
2173
|
* frame is tiled to the right
|
|
2123
2174
|
*/
|
|
2124
|
-
TILED_RIGHT,
|
|
2175
|
+
TILED_RIGHT = 131072,
|
|
2125
2176
|
}
|
|
2126
2177
|
|
|
2127
2178
|
|
|
@@ -2139,24 +2190,24 @@ export namespace Meta {
|
|
|
2139
2190
|
/**
|
|
2140
2191
|
* none
|
|
2141
2192
|
*/
|
|
2142
|
-
NONE,
|
|
2193
|
+
NONE = 0,
|
|
2143
2194
|
/**
|
|
2144
2195
|
* per-window
|
|
2145
2196
|
*/
|
|
2146
|
-
PER_WINDOW,
|
|
2197
|
+
PER_WINDOW = 1,
|
|
2147
2198
|
/**
|
|
2148
2199
|
* built-in
|
|
2149
2200
|
*/
|
|
2150
|
-
BUILTIN,
|
|
2201
|
+
BUILTIN = 2,
|
|
2151
2202
|
/**
|
|
2152
2203
|
* is reversed
|
|
2153
2204
|
*/
|
|
2154
|
-
IS_REVERSED,
|
|
2205
|
+
IS_REVERSED = 4,
|
|
2155
2206
|
/**
|
|
2156
2207
|
* always active
|
|
2157
2208
|
*/
|
|
2158
|
-
NON_MASKABLE,
|
|
2159
|
-
IGNORE_AUTOREPEAT,
|
|
2209
|
+
NON_MASKABLE = 8,
|
|
2210
|
+
IGNORE_AUTOREPEAT = 16,
|
|
2160
2211
|
}
|
|
2161
2212
|
|
|
2162
2213
|
|
|
@@ -2174,15 +2225,15 @@ export namespace Meta {
|
|
|
2174
2225
|
/**
|
|
2175
2226
|
* Horizontal
|
|
2176
2227
|
*/
|
|
2177
|
-
HORIZONTAL,
|
|
2228
|
+
HORIZONTAL = 1,
|
|
2178
2229
|
/**
|
|
2179
2230
|
* Vertical
|
|
2180
2231
|
*/
|
|
2181
|
-
VERTICAL,
|
|
2232
|
+
VERTICAL = 2,
|
|
2182
2233
|
/**
|
|
2183
2234
|
* Both
|
|
2184
2235
|
*/
|
|
2185
|
-
BOTH,
|
|
2236
|
+
BOTH = 3,
|
|
2186
2237
|
}
|
|
2187
2238
|
|
|
2188
2239
|
|
|
@@ -2202,12 +2253,12 @@ export namespace Meta {
|
|
|
2202
2253
|
* if set the pointer is already
|
|
2203
2254
|
* grabbed by the plugin and should not be grabbed again.
|
|
2204
2255
|
*/
|
|
2205
|
-
POINTER_ALREADY_GRABBED,
|
|
2256
|
+
POINTER_ALREADY_GRABBED = 1,
|
|
2206
2257
|
/**
|
|
2207
2258
|
* if set the keyboard is already
|
|
2208
2259
|
* grabbed by the plugin and should not be grabbed again.
|
|
2209
2260
|
*/
|
|
2210
|
-
KEYBOARD_ALREADY_GRABBED,
|
|
2261
|
+
KEYBOARD_ALREADY_GRABBED = 2,
|
|
2211
2262
|
}
|
|
2212
2263
|
|
|
2213
2264
|
|
|
@@ -2225,43 +2276,43 @@ export namespace Meta {
|
|
|
2225
2276
|
/**
|
|
2226
2277
|
* Shift mask
|
|
2227
2278
|
*/
|
|
2228
|
-
SHIFT_MASK,
|
|
2279
|
+
SHIFT_MASK = 32,
|
|
2229
2280
|
/**
|
|
2230
2281
|
* Control mask
|
|
2231
2282
|
*/
|
|
2232
|
-
CONTROL_MASK,
|
|
2283
|
+
CONTROL_MASK = 64,
|
|
2233
2284
|
/**
|
|
2234
2285
|
* Alt mask
|
|
2235
2286
|
*/
|
|
2236
|
-
ALT_MASK,
|
|
2287
|
+
ALT_MASK = 128,
|
|
2237
2288
|
/**
|
|
2238
2289
|
* Meta mask
|
|
2239
2290
|
*/
|
|
2240
|
-
META_MASK,
|
|
2291
|
+
META_MASK = 256,
|
|
2241
2292
|
/**
|
|
2242
2293
|
* Super mask
|
|
2243
2294
|
*/
|
|
2244
|
-
SUPER_MASK,
|
|
2295
|
+
SUPER_MASK = 512,
|
|
2245
2296
|
/**
|
|
2246
2297
|
* Hyper mask
|
|
2247
2298
|
*/
|
|
2248
|
-
HYPER_MASK,
|
|
2299
|
+
HYPER_MASK = 1024,
|
|
2249
2300
|
/**
|
|
2250
2301
|
* Mod2 mask
|
|
2251
2302
|
*/
|
|
2252
|
-
MOD2_MASK,
|
|
2303
|
+
MOD2_MASK = 2048,
|
|
2253
2304
|
/**
|
|
2254
2305
|
* Mod3 mask
|
|
2255
2306
|
*/
|
|
2256
|
-
MOD3_MASK,
|
|
2307
|
+
MOD3_MASK = 4096,
|
|
2257
2308
|
/**
|
|
2258
2309
|
* Mod4 mask
|
|
2259
2310
|
*/
|
|
2260
|
-
MOD4_MASK,
|
|
2311
|
+
MOD4_MASK = 8192,
|
|
2261
2312
|
/**
|
|
2262
2313
|
* Mod5 mask
|
|
2263
2314
|
*/
|
|
2264
|
-
MOD5_MASK,
|
|
2315
|
+
MOD5_MASK = 16384,
|
|
2265
2316
|
}
|
|
2266
2317
|
|
|
2267
2318
|
|
|
@@ -2277,17 +2328,17 @@ export namespace Meta {
|
|
|
2277
2328
|
* @signal
|
|
2278
2329
|
* @run-last
|
|
2279
2330
|
*/
|
|
2280
|
-
"keymap-layout-group-changed": (
|
|
2331
|
+
"keymap-layout-group-changed": (object: number) => void;
|
|
2281
2332
|
/**
|
|
2282
2333
|
* @signal
|
|
2283
2334
|
* @run-last
|
|
2284
2335
|
*/
|
|
2285
|
-
"last-device-changed": (
|
|
2336
|
+
"last-device-changed": (object: number) => void;
|
|
2286
2337
|
/**
|
|
2287
2338
|
* @signal
|
|
2288
2339
|
* @run-last
|
|
2289
2340
|
*/
|
|
2290
|
-
"lid-is-closed-changed": (
|
|
2341
|
+
"lid-is-closed-changed": (object: boolean) => void;
|
|
2291
2342
|
}
|
|
2292
2343
|
|
|
2293
2344
|
// Constructor properties interface
|
|
@@ -2403,6 +2454,8 @@ export namespace Meta {
|
|
|
2403
2454
|
* instance.
|
|
2404
2455
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2405
2456
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2457
|
+
* @since 2.22
|
|
2458
|
+
* @throws GLib.Error
|
|
2406
2459
|
*/
|
|
2407
2460
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2408
2461
|
|
|
@@ -2446,6 +2499,7 @@ export namespace Meta {
|
|
|
2446
2499
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2447
2500
|
* instance.
|
|
2448
2501
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2502
|
+
* @since 2.22
|
|
2449
2503
|
* @virtual
|
|
2450
2504
|
*/
|
|
2451
2505
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2792,6 +2846,8 @@ export namespace Meta {
|
|
|
2792
2846
|
* @param progress the progress factor
|
|
2793
2847
|
* @param value return location for the animation value
|
|
2794
2848
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
2849
|
+
* @since 1.0
|
|
2850
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
2795
2851
|
*/
|
|
2796
2852
|
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;
|
|
2797
2853
|
|
|
@@ -2799,6 +2855,7 @@ export namespace Meta {
|
|
|
2799
2855
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2800
2856
|
* @param property_name the name of the animatable property to find
|
|
2801
2857
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
2858
|
+
* @since 1.4
|
|
2802
2859
|
*/
|
|
2803
2860
|
find_property(property_name: string): GObject.ParamSpec;
|
|
2804
2861
|
|
|
@@ -2806,6 +2863,7 @@ export namespace Meta {
|
|
|
2806
2863
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2807
2864
|
* @param property_name the name of the animatable property to retrieve
|
|
2808
2865
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2866
|
+
* @since 1.4
|
|
2809
2867
|
*/
|
|
2810
2868
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2811
2869
|
|
|
@@ -2823,6 +2881,7 @@ export namespace Meta {
|
|
|
2823
2881
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2824
2882
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2825
2883
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
2884
|
+
* @since 1.8
|
|
2826
2885
|
*/
|
|
2827
2886
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
2828
2887
|
|
|
@@ -2830,6 +2889,7 @@ export namespace Meta {
|
|
|
2830
2889
|
* Sets the current state of `property_name` to `value`
|
|
2831
2890
|
* @param property_name the name of the animatable property to set
|
|
2832
2891
|
* @param value the value of the animatable property to set
|
|
2892
|
+
* @since 1.4
|
|
2833
2893
|
*/
|
|
2834
2894
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2835
2895
|
|
|
@@ -2848,6 +2908,8 @@ export namespace Meta {
|
|
|
2848
2908
|
* @param final_value the final value of the animation interval
|
|
2849
2909
|
* @param progress the progress factor
|
|
2850
2910
|
* @param value return location for the animation value
|
|
2911
|
+
* @since 1.0
|
|
2912
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
2851
2913
|
* @virtual
|
|
2852
2914
|
*/
|
|
2853
2915
|
vfunc_animate_property(animation: Clutter.Animation, property_name: string, initial_value: unknown, final_value: unknown, progress: number, value: unknown): boolean;
|
|
@@ -2855,6 +2917,7 @@ export namespace Meta {
|
|
|
2855
2917
|
/**
|
|
2856
2918
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2857
2919
|
* @param property_name the name of the animatable property to find
|
|
2920
|
+
* @since 1.4
|
|
2858
2921
|
* @virtual
|
|
2859
2922
|
*/
|
|
2860
2923
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -2863,6 +2926,7 @@ export namespace Meta {
|
|
|
2863
2926
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2864
2927
|
* @param property_name the name of the animatable property to retrieve
|
|
2865
2928
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2929
|
+
* @since 1.4
|
|
2866
2930
|
* @virtual
|
|
2867
2931
|
*/
|
|
2868
2932
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -2880,6 +2944,7 @@ export namespace Meta {
|
|
|
2880
2944
|
* @param property_name the name of the property to interpolate
|
|
2881
2945
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2882
2946
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2947
|
+
* @since 1.8
|
|
2883
2948
|
* @virtual
|
|
2884
2949
|
*/
|
|
2885
2950
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -2888,6 +2953,7 @@ export namespace Meta {
|
|
|
2888
2953
|
* Sets the current state of `property_name` to `value`
|
|
2889
2954
|
* @param property_name the name of the animatable property to set
|
|
2890
2955
|
* @param value the value of the animatable property to set
|
|
2956
|
+
* @since 1.4
|
|
2891
2957
|
* @virtual
|
|
2892
2958
|
*/
|
|
2893
2959
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -2902,6 +2968,8 @@ export namespace Meta {
|
|
|
2902
2968
|
* deprecated virtual function. The default implementation will
|
|
2903
2969
|
* call `clutter_actor_add_child()`.
|
|
2904
2970
|
* @param actor the first {@link Clutter.Actor} to add
|
|
2971
|
+
* @since 0.4
|
|
2972
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
2905
2973
|
*/
|
|
2906
2974
|
add_actor(actor: Clutter.Actor): void;
|
|
2907
2975
|
|
|
@@ -2916,6 +2984,7 @@ export namespace Meta {
|
|
|
2916
2984
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2917
2985
|
* @param property the name of the property to set.
|
|
2918
2986
|
* @param value the value.
|
|
2987
|
+
* @since 0.8
|
|
2919
2988
|
*/
|
|
2920
2989
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2921
2990
|
|
|
@@ -2925,6 +2994,7 @@ export namespace Meta {
|
|
|
2925
2994
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
2926
2995
|
* @param child a {@link Clutter.Actor}
|
|
2927
2996
|
* @param pspec a {@link GObject.ParamSpec}
|
|
2997
|
+
* @since 1.6
|
|
2928
2998
|
*/
|
|
2929
2999
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
2930
3000
|
|
|
@@ -2933,6 +3003,7 @@ export namespace Meta {
|
|
|
2933
3003
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2934
3004
|
* @param property the name of the property to set.
|
|
2935
3005
|
* @param value the value.
|
|
3006
|
+
* @since 0.8
|
|
2936
3007
|
*/
|
|
2937
3008
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2938
3009
|
|
|
@@ -2947,6 +3018,7 @@ export namespace Meta {
|
|
|
2947
3018
|
*
|
|
2948
3019
|
* Applications should not call this function.
|
|
2949
3020
|
* @param actor a {@link Clutter.Actor}
|
|
3021
|
+
* @since 1.2
|
|
2950
3022
|
*/
|
|
2951
3023
|
create_child_meta(actor: Clutter.Actor): void;
|
|
2952
3024
|
|
|
@@ -2960,6 +3032,7 @@ export namespace Meta {
|
|
|
2960
3032
|
*
|
|
2961
3033
|
* Applications should not call this function.
|
|
2962
3034
|
* @param actor a {@link Clutter.Actor}
|
|
3035
|
+
* @since 1.2
|
|
2963
3036
|
*/
|
|
2964
3037
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
2965
3038
|
|
|
@@ -2968,6 +3041,7 @@ export namespace Meta {
|
|
|
2968
3041
|
* into any child container.
|
|
2969
3042
|
* @param child_name the name of the requested child.
|
|
2970
3043
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3044
|
+
* @since 0.6
|
|
2971
3045
|
*/
|
|
2972
3046
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
2973
3047
|
|
|
@@ -2980,6 +3054,8 @@ export namespace Meta {
|
|
|
2980
3054
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
2981
3055
|
* virtual function, which has been deprecated.
|
|
2982
3056
|
* @param callback a function to be called for each child
|
|
3057
|
+
* @since 0.4
|
|
3058
|
+
* @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.
|
|
2983
3059
|
*/
|
|
2984
3060
|
foreach(callback: Clutter.Callback): void;
|
|
2985
3061
|
|
|
@@ -2991,6 +3067,8 @@ export namespace Meta {
|
|
|
2991
3067
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
2992
3068
|
* virtual function, which has been deprecated.
|
|
2993
3069
|
* @param callback a function to be called for each child
|
|
3070
|
+
* @since 1.0
|
|
3071
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
2994
3072
|
*/
|
|
2995
3073
|
foreach_with_internals(callback: Clutter.Callback): void;
|
|
2996
3074
|
|
|
@@ -2999,12 +3077,15 @@ export namespace Meta {
|
|
|
2999
3077
|
* `container` specific state for `actor`.
|
|
3000
3078
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3001
3079
|
* @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
|
|
3080
|
+
* @since 0.8
|
|
3002
3081
|
*/
|
|
3003
3082
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3004
3083
|
|
|
3005
3084
|
/**
|
|
3006
3085
|
* Retrieves all the children of `container`.
|
|
3007
3086
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3087
|
+
* @since 0.4
|
|
3088
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3008
3089
|
*/
|
|
3009
3090
|
get_children(): Clutter.Actor[];
|
|
3010
3091
|
|
|
@@ -3016,6 +3097,8 @@ export namespace Meta {
|
|
|
3016
3097
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3017
3098
|
* @param actor the actor to raise
|
|
3018
3099
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3100
|
+
* @since 0.6
|
|
3101
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3019
3102
|
*/
|
|
3020
3103
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3021
3104
|
|
|
@@ -3027,6 +3110,8 @@ export namespace Meta {
|
|
|
3027
3110
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3028
3111
|
* @param actor the actor to raise
|
|
3029
3112
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3113
|
+
* @since 0.6
|
|
3114
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3030
3115
|
*/
|
|
3031
3116
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3032
3117
|
|
|
@@ -3040,12 +3125,16 @@ export namespace Meta {
|
|
|
3040
3125
|
* deprecated virtual function. The default implementation will call
|
|
3041
3126
|
* `clutter_actor_remove_child()`.
|
|
3042
3127
|
* @param actor a {@link Clutter.Actor}
|
|
3128
|
+
* @since 0.4
|
|
3129
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3043
3130
|
*/
|
|
3044
3131
|
remove_actor(actor: Clutter.Actor): void;
|
|
3045
3132
|
|
|
3046
3133
|
/**
|
|
3047
3134
|
* Sorts a container's children using their depth. This function should not
|
|
3048
3135
|
* be normally used by applications.
|
|
3136
|
+
* @since 0.6
|
|
3137
|
+
* @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.
|
|
3049
3138
|
*/
|
|
3050
3139
|
sort_depth_order(): void;
|
|
3051
3140
|
|
|
@@ -3071,6 +3160,8 @@ export namespace Meta {
|
|
|
3071
3160
|
* deprecated virtual function. The default implementation will
|
|
3072
3161
|
* call `clutter_actor_add_child()`.
|
|
3073
3162
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3163
|
+
* @since 0.4
|
|
3164
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3074
3165
|
* @virtual
|
|
3075
3166
|
*/
|
|
3076
3167
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3081,6 +3172,7 @@ export namespace Meta {
|
|
|
3081
3172
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3082
3173
|
* @param child a {@link Clutter.Actor}
|
|
3083
3174
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3175
|
+
* @since 1.6
|
|
3084
3176
|
* @virtual
|
|
3085
3177
|
*/
|
|
3086
3178
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3096,6 +3188,7 @@ export namespace Meta {
|
|
|
3096
3188
|
*
|
|
3097
3189
|
* Applications should not call this function.
|
|
3098
3190
|
* @param actor a {@link Clutter.Actor}
|
|
3191
|
+
* @since 1.2
|
|
3099
3192
|
* @virtual
|
|
3100
3193
|
*/
|
|
3101
3194
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3110,6 +3203,7 @@ export namespace Meta {
|
|
|
3110
3203
|
*
|
|
3111
3204
|
* Applications should not call this function.
|
|
3112
3205
|
* @param actor a {@link Clutter.Actor}
|
|
3206
|
+
* @since 1.2
|
|
3113
3207
|
* @virtual
|
|
3114
3208
|
*/
|
|
3115
3209
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3123,6 +3217,8 @@ export namespace Meta {
|
|
|
3123
3217
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
3124
3218
|
* virtual function, which has been deprecated.
|
|
3125
3219
|
* @param callback a function to be called for each child
|
|
3220
|
+
* @since 0.4
|
|
3221
|
+
* @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.
|
|
3126
3222
|
* @virtual
|
|
3127
3223
|
*/
|
|
3128
3224
|
vfunc_foreach(callback: Clutter.Callback): void;
|
|
@@ -3135,6 +3231,8 @@ export namespace Meta {
|
|
|
3135
3231
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
3136
3232
|
* virtual function, which has been deprecated.
|
|
3137
3233
|
* @param callback a function to be called for each child
|
|
3234
|
+
* @since 1.0
|
|
3235
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
3138
3236
|
* @virtual
|
|
3139
3237
|
*/
|
|
3140
3238
|
vfunc_foreach_with_internals(callback: Clutter.Callback): void;
|
|
@@ -3143,6 +3241,7 @@ export namespace Meta {
|
|
|
3143
3241
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3144
3242
|
* `container` specific state for `actor`.
|
|
3145
3243
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3244
|
+
* @since 0.8
|
|
3146
3245
|
* @virtual
|
|
3147
3246
|
*/
|
|
3148
3247
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3155,6 +3254,8 @@ export namespace Meta {
|
|
|
3155
3254
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3156
3255
|
* @param actor the actor to raise
|
|
3157
3256
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3257
|
+
* @since 0.6
|
|
3258
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3158
3259
|
* @virtual
|
|
3159
3260
|
*/
|
|
3160
3261
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3167,6 +3268,8 @@ export namespace Meta {
|
|
|
3167
3268
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3168
3269
|
* @param actor the actor to raise
|
|
3169
3270
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3271
|
+
* @since 0.6
|
|
3272
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3170
3273
|
* @virtual
|
|
3171
3274
|
*/
|
|
3172
3275
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3181,6 +3284,8 @@ export namespace Meta {
|
|
|
3181
3284
|
* deprecated virtual function. The default implementation will call
|
|
3182
3285
|
* `clutter_actor_remove_child()`.
|
|
3183
3286
|
* @param actor a {@link Clutter.Actor}
|
|
3287
|
+
* @since 0.4
|
|
3288
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3184
3289
|
* @virtual
|
|
3185
3290
|
*/
|
|
3186
3291
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3188,6 +3293,8 @@ export namespace Meta {
|
|
|
3188
3293
|
/**
|
|
3189
3294
|
* Sorts a container's children using their depth. This function should not
|
|
3190
3295
|
* be normally used by applications.
|
|
3296
|
+
* @since 0.6
|
|
3297
|
+
* @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.
|
|
3191
3298
|
* @virtual
|
|
3192
3299
|
*/
|
|
3193
3300
|
vfunc_sort_depth_order(): void;
|
|
@@ -3195,6 +3302,7 @@ export namespace Meta {
|
|
|
3195
3302
|
/**
|
|
3196
3303
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3197
3304
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3305
|
+
* @since 0.6
|
|
3198
3306
|
*/
|
|
3199
3307
|
get_id(): string;
|
|
3200
3308
|
|
|
@@ -3206,6 +3314,7 @@ export namespace Meta {
|
|
|
3206
3314
|
* @param name the name of the node
|
|
3207
3315
|
* @param node the JSON node to be parsed
|
|
3208
3316
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3317
|
+
* @since 0.6
|
|
3209
3318
|
*/
|
|
3210
3319
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3211
3320
|
|
|
@@ -3215,6 +3324,7 @@ export namespace Meta {
|
|
|
3215
3324
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3216
3325
|
* @param name the name of the property
|
|
3217
3326
|
* @param value the value of the property
|
|
3327
|
+
* @since 0.6
|
|
3218
3328
|
*/
|
|
3219
3329
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3220
3330
|
|
|
@@ -3226,11 +3336,13 @@ export namespace Meta {
|
|
|
3226
3336
|
* define a unique name for an object constructable using the UI
|
|
3227
3337
|
* definition language parsed by {@link Clutter.Script}.
|
|
3228
3338
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3339
|
+
* @since 0.6
|
|
3229
3340
|
*/
|
|
3230
3341
|
set_id(id_: string): void;
|
|
3231
3342
|
|
|
3232
3343
|
/**
|
|
3233
3344
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3345
|
+
* @since 0.6
|
|
3234
3346
|
* @virtual
|
|
3235
3347
|
*/
|
|
3236
3348
|
vfunc_get_id(): string;
|
|
@@ -3242,6 +3354,7 @@ export namespace Meta {
|
|
|
3242
3354
|
* @param value the generic value to be set
|
|
3243
3355
|
* @param name the name of the node
|
|
3244
3356
|
* @param node the JSON node to be parsed
|
|
3357
|
+
* @since 0.6
|
|
3245
3358
|
* @virtual
|
|
3246
3359
|
*/
|
|
3247
3360
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3252,6 +3365,7 @@ export namespace Meta {
|
|
|
3252
3365
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3253
3366
|
* @param name the name of the property
|
|
3254
3367
|
* @param value the value of the property
|
|
3368
|
+
* @since 0.6
|
|
3255
3369
|
* @virtual
|
|
3256
3370
|
*/
|
|
3257
3371
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3264,6 +3378,7 @@ export namespace Meta {
|
|
|
3264
3378
|
* define a unique name for an object constructable using the UI
|
|
3265
3379
|
* definition language parsed by {@link Clutter.Script}.
|
|
3266
3380
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3381
|
+
* @since 0.6
|
|
3267
3382
|
* @virtual
|
|
3268
3383
|
*/
|
|
3269
3384
|
vfunc_set_id(id_: string): void;
|
|
@@ -3411,6 +3526,8 @@ export namespace Meta {
|
|
|
3411
3526
|
* @param progress the progress factor
|
|
3412
3527
|
* @param value return location for the animation value
|
|
3413
3528
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
3529
|
+
* @since 1.0
|
|
3530
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
3414
3531
|
*/
|
|
3415
3532
|
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;
|
|
3416
3533
|
|
|
@@ -3418,6 +3535,7 @@ export namespace Meta {
|
|
|
3418
3535
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3419
3536
|
* @param property_name the name of the animatable property to find
|
|
3420
3537
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
3538
|
+
* @since 1.4
|
|
3421
3539
|
*/
|
|
3422
3540
|
find_property(property_name: string): GObject.ParamSpec;
|
|
3423
3541
|
|
|
@@ -3425,6 +3543,7 @@ export namespace Meta {
|
|
|
3425
3543
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3426
3544
|
* @param property_name the name of the animatable property to retrieve
|
|
3427
3545
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3546
|
+
* @since 1.4
|
|
3428
3547
|
*/
|
|
3429
3548
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3430
3549
|
|
|
@@ -3442,6 +3561,7 @@ export namespace Meta {
|
|
|
3442
3561
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3443
3562
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3444
3563
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
3564
|
+
* @since 1.8
|
|
3445
3565
|
*/
|
|
3446
3566
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
3447
3567
|
|
|
@@ -3449,6 +3569,7 @@ export namespace Meta {
|
|
|
3449
3569
|
* Sets the current state of `property_name` to `value`
|
|
3450
3570
|
* @param property_name the name of the animatable property to set
|
|
3451
3571
|
* @param value the value of the animatable property to set
|
|
3572
|
+
* @since 1.4
|
|
3452
3573
|
*/
|
|
3453
3574
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3454
3575
|
|
|
@@ -3467,6 +3588,8 @@ export namespace Meta {
|
|
|
3467
3588
|
* @param final_value the final value of the animation interval
|
|
3468
3589
|
* @param progress the progress factor
|
|
3469
3590
|
* @param value return location for the animation value
|
|
3591
|
+
* @since 1.0
|
|
3592
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
3470
3593
|
* @virtual
|
|
3471
3594
|
*/
|
|
3472
3595
|
vfunc_animate_property(animation: Clutter.Animation, property_name: string, initial_value: unknown, final_value: unknown, progress: number, value: unknown): boolean;
|
|
@@ -3474,6 +3597,7 @@ export namespace Meta {
|
|
|
3474
3597
|
/**
|
|
3475
3598
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3476
3599
|
* @param property_name the name of the animatable property to find
|
|
3600
|
+
* @since 1.4
|
|
3477
3601
|
* @virtual
|
|
3478
3602
|
*/
|
|
3479
3603
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -3482,6 +3606,7 @@ export namespace Meta {
|
|
|
3482
3606
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3483
3607
|
* @param property_name the name of the animatable property to retrieve
|
|
3484
3608
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3609
|
+
* @since 1.4
|
|
3485
3610
|
* @virtual
|
|
3486
3611
|
*/
|
|
3487
3612
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -3499,6 +3624,7 @@ export namespace Meta {
|
|
|
3499
3624
|
* @param property_name the name of the property to interpolate
|
|
3500
3625
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3501
3626
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3627
|
+
* @since 1.8
|
|
3502
3628
|
* @virtual
|
|
3503
3629
|
*/
|
|
3504
3630
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -3507,6 +3633,7 @@ export namespace Meta {
|
|
|
3507
3633
|
* Sets the current state of `property_name` to `value`
|
|
3508
3634
|
* @param property_name the name of the animatable property to set
|
|
3509
3635
|
* @param value the value of the animatable property to set
|
|
3636
|
+
* @since 1.4
|
|
3510
3637
|
* @virtual
|
|
3511
3638
|
*/
|
|
3512
3639
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -3521,6 +3648,8 @@ export namespace Meta {
|
|
|
3521
3648
|
* deprecated virtual function. The default implementation will
|
|
3522
3649
|
* call `clutter_actor_add_child()`.
|
|
3523
3650
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3651
|
+
* @since 0.4
|
|
3652
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3524
3653
|
*/
|
|
3525
3654
|
add_actor(actor: Clutter.Actor): void;
|
|
3526
3655
|
|
|
@@ -3535,6 +3664,7 @@ export namespace Meta {
|
|
|
3535
3664
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3536
3665
|
* @param property the name of the property to set.
|
|
3537
3666
|
* @param value the value.
|
|
3667
|
+
* @since 0.8
|
|
3538
3668
|
*/
|
|
3539
3669
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3540
3670
|
|
|
@@ -3544,6 +3674,7 @@ export namespace Meta {
|
|
|
3544
3674
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3545
3675
|
* @param child a {@link Clutter.Actor}
|
|
3546
3676
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3677
|
+
* @since 1.6
|
|
3547
3678
|
*/
|
|
3548
3679
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
3549
3680
|
|
|
@@ -3552,6 +3683,7 @@ export namespace Meta {
|
|
|
3552
3683
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3553
3684
|
* @param property the name of the property to set.
|
|
3554
3685
|
* @param value the value.
|
|
3686
|
+
* @since 0.8
|
|
3555
3687
|
*/
|
|
3556
3688
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3557
3689
|
|
|
@@ -3566,6 +3698,7 @@ export namespace Meta {
|
|
|
3566
3698
|
*
|
|
3567
3699
|
* Applications should not call this function.
|
|
3568
3700
|
* @param actor a {@link Clutter.Actor}
|
|
3701
|
+
* @since 1.2
|
|
3569
3702
|
*/
|
|
3570
3703
|
create_child_meta(actor: Clutter.Actor): void;
|
|
3571
3704
|
|
|
@@ -3579,6 +3712,7 @@ export namespace Meta {
|
|
|
3579
3712
|
*
|
|
3580
3713
|
* Applications should not call this function.
|
|
3581
3714
|
* @param actor a {@link Clutter.Actor}
|
|
3715
|
+
* @since 1.2
|
|
3582
3716
|
*/
|
|
3583
3717
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
3584
3718
|
|
|
@@ -3587,6 +3721,7 @@ export namespace Meta {
|
|
|
3587
3721
|
* into any child container.
|
|
3588
3722
|
* @param child_name the name of the requested child.
|
|
3589
3723
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3724
|
+
* @since 0.6
|
|
3590
3725
|
*/
|
|
3591
3726
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3592
3727
|
|
|
@@ -3599,6 +3734,8 @@ export namespace Meta {
|
|
|
3599
3734
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
3600
3735
|
* virtual function, which has been deprecated.
|
|
3601
3736
|
* @param callback a function to be called for each child
|
|
3737
|
+
* @since 0.4
|
|
3738
|
+
* @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.
|
|
3602
3739
|
*/
|
|
3603
3740
|
foreach(callback: Clutter.Callback): void;
|
|
3604
3741
|
|
|
@@ -3610,6 +3747,8 @@ export namespace Meta {
|
|
|
3610
3747
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
3611
3748
|
* virtual function, which has been deprecated.
|
|
3612
3749
|
* @param callback a function to be called for each child
|
|
3750
|
+
* @since 1.0
|
|
3751
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
3613
3752
|
*/
|
|
3614
3753
|
foreach_with_internals(callback: Clutter.Callback): void;
|
|
3615
3754
|
|
|
@@ -3618,12 +3757,15 @@ export namespace Meta {
|
|
|
3618
3757
|
* `container` specific state for `actor`.
|
|
3619
3758
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3620
3759
|
* @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
|
|
3760
|
+
* @since 0.8
|
|
3621
3761
|
*/
|
|
3622
3762
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3623
3763
|
|
|
3624
3764
|
/**
|
|
3625
3765
|
* Retrieves all the children of `container`.
|
|
3626
3766
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
3767
|
+
* @since 0.4
|
|
3768
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
3627
3769
|
*/
|
|
3628
3770
|
get_children(): Clutter.Actor[];
|
|
3629
3771
|
|
|
@@ -3635,6 +3777,8 @@ export namespace Meta {
|
|
|
3635
3777
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3636
3778
|
* @param actor the actor to raise
|
|
3637
3779
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3780
|
+
* @since 0.6
|
|
3781
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3638
3782
|
*/
|
|
3639
3783
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3640
3784
|
|
|
@@ -3646,6 +3790,8 @@ export namespace Meta {
|
|
|
3646
3790
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3647
3791
|
* @param actor the actor to raise
|
|
3648
3792
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3793
|
+
* @since 0.6
|
|
3794
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3649
3795
|
*/
|
|
3650
3796
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3651
3797
|
|
|
@@ -3659,12 +3805,16 @@ export namespace Meta {
|
|
|
3659
3805
|
* deprecated virtual function. The default implementation will call
|
|
3660
3806
|
* `clutter_actor_remove_child()`.
|
|
3661
3807
|
* @param actor a {@link Clutter.Actor}
|
|
3808
|
+
* @since 0.4
|
|
3809
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3662
3810
|
*/
|
|
3663
3811
|
remove_actor(actor: Clutter.Actor): void;
|
|
3664
3812
|
|
|
3665
3813
|
/**
|
|
3666
3814
|
* Sorts a container's children using their depth. This function should not
|
|
3667
3815
|
* be normally used by applications.
|
|
3816
|
+
* @since 0.6
|
|
3817
|
+
* @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.
|
|
3668
3818
|
*/
|
|
3669
3819
|
sort_depth_order(): void;
|
|
3670
3820
|
|
|
@@ -3690,6 +3840,8 @@ export namespace Meta {
|
|
|
3690
3840
|
* deprecated virtual function. The default implementation will
|
|
3691
3841
|
* call `clutter_actor_add_child()`.
|
|
3692
3842
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3843
|
+
* @since 0.4
|
|
3844
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3693
3845
|
* @virtual
|
|
3694
3846
|
*/
|
|
3695
3847
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3700,6 +3852,7 @@ export namespace Meta {
|
|
|
3700
3852
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3701
3853
|
* @param child a {@link Clutter.Actor}
|
|
3702
3854
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3855
|
+
* @since 1.6
|
|
3703
3856
|
* @virtual
|
|
3704
3857
|
*/
|
|
3705
3858
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3715,6 +3868,7 @@ export namespace Meta {
|
|
|
3715
3868
|
*
|
|
3716
3869
|
* Applications should not call this function.
|
|
3717
3870
|
* @param actor a {@link Clutter.Actor}
|
|
3871
|
+
* @since 1.2
|
|
3718
3872
|
* @virtual
|
|
3719
3873
|
*/
|
|
3720
3874
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3729,6 +3883,7 @@ export namespace Meta {
|
|
|
3729
3883
|
*
|
|
3730
3884
|
* Applications should not call this function.
|
|
3731
3885
|
* @param actor a {@link Clutter.Actor}
|
|
3886
|
+
* @since 1.2
|
|
3732
3887
|
* @virtual
|
|
3733
3888
|
*/
|
|
3734
3889
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3742,6 +3897,8 @@ export namespace Meta {
|
|
|
3742
3897
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
3743
3898
|
* virtual function, which has been deprecated.
|
|
3744
3899
|
* @param callback a function to be called for each child
|
|
3900
|
+
* @since 0.4
|
|
3901
|
+
* @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.
|
|
3745
3902
|
* @virtual
|
|
3746
3903
|
*/
|
|
3747
3904
|
vfunc_foreach(callback: Clutter.Callback): void;
|
|
@@ -3754,6 +3911,8 @@ export namespace Meta {
|
|
|
3754
3911
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
3755
3912
|
* virtual function, which has been deprecated.
|
|
3756
3913
|
* @param callback a function to be called for each child
|
|
3914
|
+
* @since 1.0
|
|
3915
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
3757
3916
|
* @virtual
|
|
3758
3917
|
*/
|
|
3759
3918
|
vfunc_foreach_with_internals(callback: Clutter.Callback): void;
|
|
@@ -3762,6 +3921,7 @@ export namespace Meta {
|
|
|
3762
3921
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3763
3922
|
* `container` specific state for `actor`.
|
|
3764
3923
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3924
|
+
* @since 0.8
|
|
3765
3925
|
* @virtual
|
|
3766
3926
|
*/
|
|
3767
3927
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3774,6 +3934,8 @@ export namespace Meta {
|
|
|
3774
3934
|
* `clutter_actor_set_child_below_sibling()`.
|
|
3775
3935
|
* @param actor the actor to raise
|
|
3776
3936
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3937
|
+
* @since 0.6
|
|
3938
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
3777
3939
|
* @virtual
|
|
3778
3940
|
*/
|
|
3779
3941
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3786,6 +3948,8 @@ export namespace Meta {
|
|
|
3786
3948
|
* `clutter_actor_set_child_above_sibling()`.
|
|
3787
3949
|
* @param actor the actor to raise
|
|
3788
3950
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3951
|
+
* @since 0.6
|
|
3952
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
3789
3953
|
* @virtual
|
|
3790
3954
|
*/
|
|
3791
3955
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -3800,6 +3964,8 @@ export namespace Meta {
|
|
|
3800
3964
|
* deprecated virtual function. The default implementation will call
|
|
3801
3965
|
* `clutter_actor_remove_child()`.
|
|
3802
3966
|
* @param actor a {@link Clutter.Actor}
|
|
3967
|
+
* @since 0.4
|
|
3968
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3803
3969
|
* @virtual
|
|
3804
3970
|
*/
|
|
3805
3971
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3807,6 +3973,8 @@ export namespace Meta {
|
|
|
3807
3973
|
/**
|
|
3808
3974
|
* Sorts a container's children using their depth. This function should not
|
|
3809
3975
|
* be normally used by applications.
|
|
3976
|
+
* @since 0.6
|
|
3977
|
+
* @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.
|
|
3810
3978
|
* @virtual
|
|
3811
3979
|
*/
|
|
3812
3980
|
vfunc_sort_depth_order(): void;
|
|
@@ -3814,6 +3982,7 @@ export namespace Meta {
|
|
|
3814
3982
|
/**
|
|
3815
3983
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3816
3984
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3985
|
+
* @since 0.6
|
|
3817
3986
|
*/
|
|
3818
3987
|
get_id(): string;
|
|
3819
3988
|
|
|
@@ -3825,6 +3994,7 @@ export namespace Meta {
|
|
|
3825
3994
|
* @param name the name of the node
|
|
3826
3995
|
* @param node the JSON node to be parsed
|
|
3827
3996
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3997
|
+
* @since 0.6
|
|
3828
3998
|
*/
|
|
3829
3999
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3830
4000
|
|
|
@@ -3834,6 +4004,7 @@ export namespace Meta {
|
|
|
3834
4004
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3835
4005
|
* @param name the name of the property
|
|
3836
4006
|
* @param value the value of the property
|
|
4007
|
+
* @since 0.6
|
|
3837
4008
|
*/
|
|
3838
4009
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3839
4010
|
|
|
@@ -3845,11 +4016,13 @@ export namespace Meta {
|
|
|
3845
4016
|
* define a unique name for an object constructable using the UI
|
|
3846
4017
|
* definition language parsed by {@link Clutter.Script}.
|
|
3847
4018
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4019
|
+
* @since 0.6
|
|
3848
4020
|
*/
|
|
3849
4021
|
set_id(id_: string): void;
|
|
3850
4022
|
|
|
3851
4023
|
/**
|
|
3852
4024
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
4025
|
+
* @since 0.6
|
|
3853
4026
|
* @virtual
|
|
3854
4027
|
*/
|
|
3855
4028
|
vfunc_get_id(): string;
|
|
@@ -3861,6 +4034,7 @@ export namespace Meta {
|
|
|
3861
4034
|
* @param value the generic value to be set
|
|
3862
4035
|
* @param name the name of the node
|
|
3863
4036
|
* @param node the JSON node to be parsed
|
|
4037
|
+
* @since 0.6
|
|
3864
4038
|
* @virtual
|
|
3865
4039
|
*/
|
|
3866
4040
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3871,6 +4045,7 @@ export namespace Meta {
|
|
|
3871
4045
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3872
4046
|
* @param name the name of the property
|
|
3873
4047
|
* @param value the value of the property
|
|
4048
|
+
* @since 0.6
|
|
3874
4049
|
* @virtual
|
|
3875
4050
|
*/
|
|
3876
4051
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3883,6 +4058,7 @@ export namespace Meta {
|
|
|
3883
4058
|
* define a unique name for an object constructable using the UI
|
|
3884
4059
|
* definition language parsed by {@link Clutter.Script}.
|
|
3885
4060
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
4061
|
+
* @since 0.6
|
|
3886
4062
|
* @virtual
|
|
3887
4063
|
*/
|
|
3888
4064
|
vfunc_set_id(id_: string): void;
|
|
@@ -4037,14 +4213,14 @@ export namespace Meta {
|
|
|
4037
4213
|
* @signal
|
|
4038
4214
|
* @run-first
|
|
4039
4215
|
*/
|
|
4040
|
-
hit: (
|
|
4216
|
+
hit: (event: BarrierEvent) => void;
|
|
4041
4217
|
/**
|
|
4042
4218
|
* When a pointer barrier hitbox was left, this will trigger.
|
|
4043
4219
|
* This requires an XI2-enabled server.
|
|
4044
4220
|
* @signal
|
|
4045
4221
|
* @run-first
|
|
4046
4222
|
*/
|
|
4047
|
-
left: (
|
|
4223
|
+
left: (event: BarrierEvent) => void;
|
|
4048
4224
|
"notify::directions": (pspec: GObject.ParamSpec) => void;
|
|
4049
4225
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
4050
4226
|
"notify::x1": (pspec: GObject.ParamSpec) => void;
|
|
@@ -4266,6 +4442,7 @@ export namespace Meta {
|
|
|
4266
4442
|
/**
|
|
4267
4443
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
4268
4444
|
* @returns A {@link Gio.DBusObject} or `null`. The returned reference should be freed with `g_object_unref()`.
|
|
4445
|
+
* @since 2.32
|
|
4269
4446
|
*/
|
|
4270
4447
|
get_object(): Gio.DBusObject | null;
|
|
4271
4448
|
|
|
@@ -4278,6 +4455,7 @@ export namespace Meta {
|
|
|
4278
4455
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
4279
4456
|
* {@link Gio.DBusInterfaceInfo}.
|
|
4280
4457
|
* @returns A {@link Gio.DBusInterfaceInfo}. Do not free.
|
|
4458
|
+
* @since 2.30
|
|
4281
4459
|
*/
|
|
4282
4460
|
get_info(): Gio.DBusInterfaceInfo | null;
|
|
4283
4461
|
|
|
@@ -4292,11 +4470,13 @@ export namespace Meta {
|
|
|
4292
4470
|
*
|
|
4293
4471
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
4294
4472
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
4473
|
+
* @since 2.30
|
|
4295
4474
|
*/
|
|
4296
4475
|
set_object(object: Gio.DBusObject | null): void;
|
|
4297
4476
|
|
|
4298
4477
|
/**
|
|
4299
4478
|
* Gets the {@link Gio.DBusObject} that `interface_` belongs to, if any.
|
|
4479
|
+
* @since 2.32
|
|
4300
4480
|
* @virtual
|
|
4301
4481
|
*/
|
|
4302
4482
|
vfunc_dup_object(): Gio.DBusObject | null;
|
|
@@ -4309,6 +4489,7 @@ export namespace Meta {
|
|
|
4309
4489
|
* construction of `interface_` and is also not made available otherwise.
|
|
4310
4490
|
* For example, {@link Gio.DBusProxy} implements {@link Gio.DBusInterface} but allows for a `null`
|
|
4311
4491
|
* {@link Gio.DBusInterfaceInfo}.
|
|
4492
|
+
* @since 2.30
|
|
4312
4493
|
* @virtual
|
|
4313
4494
|
*/
|
|
4314
4495
|
vfunc_get_info(): Gio.DBusInterfaceInfo | null;
|
|
@@ -4325,6 +4506,7 @@ export namespace Meta {
|
|
|
4325
4506
|
*
|
|
4326
4507
|
* Note that `interface_` will hold a weak reference to `object`.
|
|
4327
4508
|
* @param object A {@link Gio.DBusObject} or `null`.
|
|
4509
|
+
* @since 2.30
|
|
4328
4510
|
* @virtual
|
|
4329
4511
|
*/
|
|
4330
4512
|
vfunc_set_object(object: Gio.DBusObject | null): void;
|
|
@@ -4338,7 +4520,7 @@ export namespace Meta {
|
|
|
4338
4520
|
* @signal
|
|
4339
4521
|
* @run-last
|
|
4340
4522
|
*/
|
|
4341
|
-
"accelerator-activated": (
|
|
4523
|
+
"accelerator-activated": (object: number, p0: number, p1: number) => void;
|
|
4342
4524
|
/**
|
|
4343
4525
|
* @signal
|
|
4344
4526
|
* @run-last
|
|
@@ -4353,12 +4535,12 @@ export namespace Meta {
|
|
|
4353
4535
|
* @signal
|
|
4354
4536
|
* @run-last
|
|
4355
4537
|
*/
|
|
4356
|
-
"grab-op-begin": (
|
|
4538
|
+
"grab-op-begin": (object: Display, p0: Window, p1: GrabOp) => void;
|
|
4357
4539
|
/**
|
|
4358
4540
|
* @signal
|
|
4359
4541
|
* @run-last
|
|
4360
4542
|
*/
|
|
4361
|
-
"grab-op-end": (
|
|
4543
|
+
"grab-op-end": (object: Display, p0: Window, p1: GrabOp) => void;
|
|
4362
4544
|
/**
|
|
4363
4545
|
* @signal
|
|
4364
4546
|
* @run-last
|
|
@@ -4380,7 +4562,7 @@ export namespace Meta {
|
|
|
4380
4562
|
* @signal
|
|
4381
4563
|
* @run-last
|
|
4382
4564
|
*/
|
|
4383
|
-
"pad-mode-switch": (
|
|
4565
|
+
"pad-mode-switch": (object: Clutter.InputDevice, p0: number, p1: number) => void;
|
|
4384
4566
|
/**
|
|
4385
4567
|
* @signal
|
|
4386
4568
|
* @run-last
|
|
@@ -4400,18 +4582,18 @@ export namespace Meta {
|
|
|
4400
4582
|
* @signal
|
|
4401
4583
|
* @run-last
|
|
4402
4584
|
*/
|
|
4403
|
-
"show-osd": (
|
|
4585
|
+
"show-osd": (object: number, p0: string, p1: string) => void;
|
|
4404
4586
|
/**
|
|
4405
4587
|
* Requests the pad button mapping OSD to be shown.
|
|
4406
4588
|
* @signal
|
|
4407
4589
|
* @run-last
|
|
4408
4590
|
*/
|
|
4409
|
-
"show-pad-osd": (
|
|
4591
|
+
"show-pad-osd": (pad: Clutter.InputDevice, settings: Gio.Settings, layout_path: string, edition_mode: boolean, monitor_idx: number) => Clutter.Actor | null;
|
|
4410
4592
|
/**
|
|
4411
4593
|
* @signal
|
|
4412
4594
|
* @run-last
|
|
4413
4595
|
*/
|
|
4414
|
-
"show-resize-popup": (
|
|
4596
|
+
"show-resize-popup": (object: boolean, p0: Rectangle, p1: number, p2: number) => boolean | void;
|
|
4415
4597
|
/**
|
|
4416
4598
|
* The ::show-restart-message signal will be emitted to indicate
|
|
4417
4599
|
* that the compositor should show a message during restart. This is
|
|
@@ -4426,7 +4608,7 @@ export namespace Meta {
|
|
|
4426
4608
|
* @signal
|
|
4427
4609
|
* @run-last
|
|
4428
4610
|
*/
|
|
4429
|
-
"show-restart-message": (
|
|
4611
|
+
"show-restart-message": (message: string | null) => boolean | void;
|
|
4430
4612
|
/**
|
|
4431
4613
|
* @signal
|
|
4432
4614
|
* @run-last
|
|
@@ -4436,32 +4618,32 @@ export namespace Meta {
|
|
|
4436
4618
|
* @signal
|
|
4437
4619
|
* @run-last
|
|
4438
4620
|
*/
|
|
4439
|
-
"startup-sequence-changed": (
|
|
4621
|
+
"startup-sequence-changed": (object: null) => void;
|
|
4440
4622
|
/**
|
|
4441
4623
|
* @signal
|
|
4442
4624
|
* @run-last
|
|
4443
4625
|
*/
|
|
4444
|
-
"window-created": (
|
|
4626
|
+
"window-created": (object: Window) => void;
|
|
4445
4627
|
/**
|
|
4446
4628
|
* @signal
|
|
4447
4629
|
* @run-last
|
|
4448
4630
|
*/
|
|
4449
|
-
"window-demands-attention": (
|
|
4631
|
+
"window-demands-attention": (object: Window) => void;
|
|
4450
4632
|
/**
|
|
4451
4633
|
* @signal
|
|
4452
4634
|
* @run-last
|
|
4453
4635
|
*/
|
|
4454
|
-
"window-entered-monitor": (
|
|
4636
|
+
"window-entered-monitor": (object: number, p0: Window) => void;
|
|
4455
4637
|
/**
|
|
4456
4638
|
* @signal
|
|
4457
4639
|
* @run-last
|
|
4458
4640
|
*/
|
|
4459
|
-
"window-left-monitor": (
|
|
4641
|
+
"window-left-monitor": (object: number, p0: Window) => void;
|
|
4460
4642
|
/**
|
|
4461
4643
|
* @signal
|
|
4462
4644
|
* @run-last
|
|
4463
4645
|
*/
|
|
4464
|
-
"window-marked-urgent": (
|
|
4646
|
+
"window-marked-urgent": (object: Window) => void;
|
|
4465
4647
|
/**
|
|
4466
4648
|
* @signal
|
|
4467
4649
|
* @run-last
|
|
@@ -4832,7 +5014,7 @@ export namespace Meta {
|
|
|
4832
5014
|
* @signal
|
|
4833
5015
|
* @run-last
|
|
4834
5016
|
*/
|
|
4835
|
-
"dnd-position-change": (
|
|
5017
|
+
"dnd-position-change": (object: number, p0: number) => void;
|
|
4836
5018
|
}
|
|
4837
5019
|
|
|
4838
5020
|
// Constructor properties interface
|
|
@@ -5313,7 +5495,7 @@ export namespace Meta {
|
|
|
5313
5495
|
* @signal
|
|
5314
5496
|
* @run-last
|
|
5315
5497
|
*/
|
|
5316
|
-
"new-handle": (
|
|
5498
|
+
"new-handle": (object: RemoteAccessHandle) => void;
|
|
5317
5499
|
}
|
|
5318
5500
|
|
|
5319
5501
|
// Constructor properties interface
|
|
@@ -5703,6 +5885,8 @@ export namespace Meta {
|
|
|
5703
5885
|
* @param progress the progress factor
|
|
5704
5886
|
* @param value return location for the animation value
|
|
5705
5887
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
5888
|
+
* @since 1.0
|
|
5889
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
5706
5890
|
*/
|
|
5707
5891
|
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;
|
|
5708
5892
|
|
|
@@ -5710,6 +5894,7 @@ export namespace Meta {
|
|
|
5710
5894
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
5711
5895
|
* @param property_name the name of the animatable property to find
|
|
5712
5896
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
5897
|
+
* @since 1.4
|
|
5713
5898
|
*/
|
|
5714
5899
|
find_property(property_name: string): GObject.ParamSpec;
|
|
5715
5900
|
|
|
@@ -5717,6 +5902,7 @@ export namespace Meta {
|
|
|
5717
5902
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
5718
5903
|
* @param property_name the name of the animatable property to retrieve
|
|
5719
5904
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
5905
|
+
* @since 1.4
|
|
5720
5906
|
*/
|
|
5721
5907
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
5722
5908
|
|
|
@@ -5734,6 +5920,7 @@ export namespace Meta {
|
|
|
5734
5920
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
5735
5921
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
5736
5922
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
5923
|
+
* @since 1.8
|
|
5737
5924
|
*/
|
|
5738
5925
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
5739
5926
|
|
|
@@ -5741,6 +5928,7 @@ export namespace Meta {
|
|
|
5741
5928
|
* Sets the current state of `property_name` to `value`
|
|
5742
5929
|
* @param property_name the name of the animatable property to set
|
|
5743
5930
|
* @param value the value of the animatable property to set
|
|
5931
|
+
* @since 1.4
|
|
5744
5932
|
*/
|
|
5745
5933
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
5746
5934
|
|
|
@@ -5759,6 +5947,8 @@ export namespace Meta {
|
|
|
5759
5947
|
* @param final_value the final value of the animation interval
|
|
5760
5948
|
* @param progress the progress factor
|
|
5761
5949
|
* @param value return location for the animation value
|
|
5950
|
+
* @since 1.0
|
|
5951
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
5762
5952
|
* @virtual
|
|
5763
5953
|
*/
|
|
5764
5954
|
vfunc_animate_property(animation: Clutter.Animation, property_name: string, initial_value: unknown, final_value: unknown, progress: number, value: unknown): boolean;
|
|
@@ -5766,6 +5956,7 @@ export namespace Meta {
|
|
|
5766
5956
|
/**
|
|
5767
5957
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
5768
5958
|
* @param property_name the name of the animatable property to find
|
|
5959
|
+
* @since 1.4
|
|
5769
5960
|
* @virtual
|
|
5770
5961
|
*/
|
|
5771
5962
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -5774,6 +5965,7 @@ export namespace Meta {
|
|
|
5774
5965
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
5775
5966
|
* @param property_name the name of the animatable property to retrieve
|
|
5776
5967
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
5968
|
+
* @since 1.4
|
|
5777
5969
|
* @virtual
|
|
5778
5970
|
*/
|
|
5779
5971
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -5791,6 +5983,7 @@ export namespace Meta {
|
|
|
5791
5983
|
* @param property_name the name of the property to interpolate
|
|
5792
5984
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
5793
5985
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
5986
|
+
* @since 1.8
|
|
5794
5987
|
* @virtual
|
|
5795
5988
|
*/
|
|
5796
5989
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -5799,6 +5992,7 @@ export namespace Meta {
|
|
|
5799
5992
|
* Sets the current state of `property_name` to `value`
|
|
5800
5993
|
* @param property_name the name of the animatable property to set
|
|
5801
5994
|
* @param value the value of the animatable property to set
|
|
5995
|
+
* @since 1.4
|
|
5802
5996
|
* @virtual
|
|
5803
5997
|
*/
|
|
5804
5998
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -5813,6 +6007,8 @@ export namespace Meta {
|
|
|
5813
6007
|
* deprecated virtual function. The default implementation will
|
|
5814
6008
|
* call `clutter_actor_add_child()`.
|
|
5815
6009
|
* @param actor the first {@link Clutter.Actor} to add
|
|
6010
|
+
* @since 0.4
|
|
6011
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
5816
6012
|
*/
|
|
5817
6013
|
add_actor(actor: Clutter.Actor): void;
|
|
5818
6014
|
|
|
@@ -5827,6 +6023,7 @@ export namespace Meta {
|
|
|
5827
6023
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
5828
6024
|
* @param property the name of the property to set.
|
|
5829
6025
|
* @param value the value.
|
|
6026
|
+
* @since 0.8
|
|
5830
6027
|
*/
|
|
5831
6028
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
5832
6029
|
|
|
@@ -5836,6 +6033,7 @@ export namespace Meta {
|
|
|
5836
6033
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
5837
6034
|
* @param child a {@link Clutter.Actor}
|
|
5838
6035
|
* @param pspec a {@link GObject.ParamSpec}
|
|
6036
|
+
* @since 1.6
|
|
5839
6037
|
*/
|
|
5840
6038
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
5841
6039
|
|
|
@@ -5844,6 +6042,7 @@ export namespace Meta {
|
|
|
5844
6042
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
5845
6043
|
* @param property the name of the property to set.
|
|
5846
6044
|
* @param value the value.
|
|
6045
|
+
* @since 0.8
|
|
5847
6046
|
*/
|
|
5848
6047
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
5849
6048
|
|
|
@@ -5858,6 +6057,7 @@ export namespace Meta {
|
|
|
5858
6057
|
*
|
|
5859
6058
|
* Applications should not call this function.
|
|
5860
6059
|
* @param actor a {@link Clutter.Actor}
|
|
6060
|
+
* @since 1.2
|
|
5861
6061
|
*/
|
|
5862
6062
|
create_child_meta(actor: Clutter.Actor): void;
|
|
5863
6063
|
|
|
@@ -5871,6 +6071,7 @@ export namespace Meta {
|
|
|
5871
6071
|
*
|
|
5872
6072
|
* Applications should not call this function.
|
|
5873
6073
|
* @param actor a {@link Clutter.Actor}
|
|
6074
|
+
* @since 1.2
|
|
5874
6075
|
*/
|
|
5875
6076
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
5876
6077
|
|
|
@@ -5879,6 +6080,7 @@ export namespace Meta {
|
|
|
5879
6080
|
* into any child container.
|
|
5880
6081
|
* @param child_name the name of the requested child.
|
|
5881
6082
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
6083
|
+
* @since 0.6
|
|
5882
6084
|
*/
|
|
5883
6085
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
5884
6086
|
|
|
@@ -5891,6 +6093,8 @@ export namespace Meta {
|
|
|
5891
6093
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
5892
6094
|
* virtual function, which has been deprecated.
|
|
5893
6095
|
* @param callback a function to be called for each child
|
|
6096
|
+
* @since 0.4
|
|
6097
|
+
* @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.
|
|
5894
6098
|
*/
|
|
5895
6099
|
foreach(callback: Clutter.Callback): void;
|
|
5896
6100
|
|
|
@@ -5902,6 +6106,8 @@ export namespace Meta {
|
|
|
5902
6106
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
5903
6107
|
* virtual function, which has been deprecated.
|
|
5904
6108
|
* @param callback a function to be called for each child
|
|
6109
|
+
* @since 1.0
|
|
6110
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
5905
6111
|
*/
|
|
5906
6112
|
foreach_with_internals(callback: Clutter.Callback): void;
|
|
5907
6113
|
|
|
@@ -5910,12 +6116,15 @@ export namespace Meta {
|
|
|
5910
6116
|
* `container` specific state for `actor`.
|
|
5911
6117
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
5912
6118
|
* @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
|
|
6119
|
+
* @since 0.8
|
|
5913
6120
|
*/
|
|
5914
6121
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
5915
6122
|
|
|
5916
6123
|
/**
|
|
5917
6124
|
* Retrieves all the children of `container`.
|
|
5918
6125
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
6126
|
+
* @since 0.4
|
|
6127
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
5919
6128
|
*/
|
|
5920
6129
|
get_children(): Clutter.Actor[];
|
|
5921
6130
|
|
|
@@ -5927,6 +6136,8 @@ export namespace Meta {
|
|
|
5927
6136
|
* `clutter_actor_set_child_below_sibling()`.
|
|
5928
6137
|
* @param actor the actor to raise
|
|
5929
6138
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
6139
|
+
* @since 0.6
|
|
6140
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
5930
6141
|
*/
|
|
5931
6142
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
5932
6143
|
|
|
@@ -5938,6 +6149,8 @@ export namespace Meta {
|
|
|
5938
6149
|
* `clutter_actor_set_child_above_sibling()`.
|
|
5939
6150
|
* @param actor the actor to raise
|
|
5940
6151
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
6152
|
+
* @since 0.6
|
|
6153
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
5941
6154
|
*/
|
|
5942
6155
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
5943
6156
|
|
|
@@ -5951,12 +6164,16 @@ export namespace Meta {
|
|
|
5951
6164
|
* deprecated virtual function. The default implementation will call
|
|
5952
6165
|
* `clutter_actor_remove_child()`.
|
|
5953
6166
|
* @param actor a {@link Clutter.Actor}
|
|
6167
|
+
* @since 0.4
|
|
6168
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
5954
6169
|
*/
|
|
5955
6170
|
remove_actor(actor: Clutter.Actor): void;
|
|
5956
6171
|
|
|
5957
6172
|
/**
|
|
5958
6173
|
* Sorts a container's children using their depth. This function should not
|
|
5959
6174
|
* be normally used by applications.
|
|
6175
|
+
* @since 0.6
|
|
6176
|
+
* @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.
|
|
5960
6177
|
*/
|
|
5961
6178
|
sort_depth_order(): void;
|
|
5962
6179
|
|
|
@@ -5982,6 +6199,8 @@ export namespace Meta {
|
|
|
5982
6199
|
* deprecated virtual function. The default implementation will
|
|
5983
6200
|
* call `clutter_actor_add_child()`.
|
|
5984
6201
|
* @param actor the first {@link Clutter.Actor} to add
|
|
6202
|
+
* @since 0.4
|
|
6203
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
5985
6204
|
* @virtual
|
|
5986
6205
|
*/
|
|
5987
6206
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -5992,6 +6211,7 @@ export namespace Meta {
|
|
|
5992
6211
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
5993
6212
|
* @param child a {@link Clutter.Actor}
|
|
5994
6213
|
* @param pspec a {@link GObject.ParamSpec}
|
|
6214
|
+
* @since 1.6
|
|
5995
6215
|
* @virtual
|
|
5996
6216
|
*/
|
|
5997
6217
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -6007,6 +6227,7 @@ export namespace Meta {
|
|
|
6007
6227
|
*
|
|
6008
6228
|
* Applications should not call this function.
|
|
6009
6229
|
* @param actor a {@link Clutter.Actor}
|
|
6230
|
+
* @since 1.2
|
|
6010
6231
|
* @virtual
|
|
6011
6232
|
*/
|
|
6012
6233
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -6021,6 +6242,7 @@ export namespace Meta {
|
|
|
6021
6242
|
*
|
|
6022
6243
|
* Applications should not call this function.
|
|
6023
6244
|
* @param actor a {@link Clutter.Actor}
|
|
6245
|
+
* @since 1.2
|
|
6024
6246
|
* @virtual
|
|
6025
6247
|
*/
|
|
6026
6248
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -6034,6 +6256,8 @@ export namespace Meta {
|
|
|
6034
6256
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
6035
6257
|
* virtual function, which has been deprecated.
|
|
6036
6258
|
* @param callback a function to be called for each child
|
|
6259
|
+
* @since 0.4
|
|
6260
|
+
* @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.
|
|
6037
6261
|
* @virtual
|
|
6038
6262
|
*/
|
|
6039
6263
|
vfunc_foreach(callback: Clutter.Callback): void;
|
|
@@ -6046,6 +6270,8 @@ export namespace Meta {
|
|
|
6046
6270
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
6047
6271
|
* virtual function, which has been deprecated.
|
|
6048
6272
|
* @param callback a function to be called for each child
|
|
6273
|
+
* @since 1.0
|
|
6274
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
6049
6275
|
* @virtual
|
|
6050
6276
|
*/
|
|
6051
6277
|
vfunc_foreach_with_internals(callback: Clutter.Callback): void;
|
|
@@ -6054,6 +6280,7 @@ export namespace Meta {
|
|
|
6054
6280
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
6055
6281
|
* `container` specific state for `actor`.
|
|
6056
6282
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
6283
|
+
* @since 0.8
|
|
6057
6284
|
* @virtual
|
|
6058
6285
|
*/
|
|
6059
6286
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -6066,6 +6293,8 @@ export namespace Meta {
|
|
|
6066
6293
|
* `clutter_actor_set_child_below_sibling()`.
|
|
6067
6294
|
* @param actor the actor to raise
|
|
6068
6295
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
6296
|
+
* @since 0.6
|
|
6297
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
6069
6298
|
* @virtual
|
|
6070
6299
|
*/
|
|
6071
6300
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -6078,6 +6307,8 @@ export namespace Meta {
|
|
|
6078
6307
|
* `clutter_actor_set_child_above_sibling()`.
|
|
6079
6308
|
* @param actor the actor to raise
|
|
6080
6309
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
6310
|
+
* @since 0.6
|
|
6311
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
6081
6312
|
* @virtual
|
|
6082
6313
|
*/
|
|
6083
6314
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -6092,6 +6323,8 @@ export namespace Meta {
|
|
|
6092
6323
|
* deprecated virtual function. The default implementation will call
|
|
6093
6324
|
* `clutter_actor_remove_child()`.
|
|
6094
6325
|
* @param actor a {@link Clutter.Actor}
|
|
6326
|
+
* @since 0.4
|
|
6327
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
6095
6328
|
* @virtual
|
|
6096
6329
|
*/
|
|
6097
6330
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -6099,6 +6332,8 @@ export namespace Meta {
|
|
|
6099
6332
|
/**
|
|
6100
6333
|
* Sorts a container's children using their depth. This function should not
|
|
6101
6334
|
* be normally used by applications.
|
|
6335
|
+
* @since 0.6
|
|
6336
|
+
* @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.
|
|
6102
6337
|
* @virtual
|
|
6103
6338
|
*/
|
|
6104
6339
|
vfunc_sort_depth_order(): void;
|
|
@@ -6106,6 +6341,7 @@ export namespace Meta {
|
|
|
6106
6341
|
/**
|
|
6107
6342
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
6108
6343
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
6344
|
+
* @since 0.6
|
|
6109
6345
|
*/
|
|
6110
6346
|
get_id(): string;
|
|
6111
6347
|
|
|
@@ -6117,6 +6353,7 @@ export namespace Meta {
|
|
|
6117
6353
|
* @param name the name of the node
|
|
6118
6354
|
* @param node the JSON node to be parsed
|
|
6119
6355
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
6356
|
+
* @since 0.6
|
|
6120
6357
|
*/
|
|
6121
6358
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
6122
6359
|
|
|
@@ -6126,6 +6363,7 @@ export namespace Meta {
|
|
|
6126
6363
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
6127
6364
|
* @param name the name of the property
|
|
6128
6365
|
* @param value the value of the property
|
|
6366
|
+
* @since 0.6
|
|
6129
6367
|
*/
|
|
6130
6368
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
6131
6369
|
|
|
@@ -6137,11 +6375,13 @@ export namespace Meta {
|
|
|
6137
6375
|
* define a unique name for an object constructable using the UI
|
|
6138
6376
|
* definition language parsed by {@link Clutter.Script}.
|
|
6139
6377
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
6378
|
+
* @since 0.6
|
|
6140
6379
|
*/
|
|
6141
6380
|
set_id(id_: string): void;
|
|
6142
6381
|
|
|
6143
6382
|
/**
|
|
6144
6383
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
6384
|
+
* @since 0.6
|
|
6145
6385
|
* @virtual
|
|
6146
6386
|
*/
|
|
6147
6387
|
vfunc_get_id(): string;
|
|
@@ -6153,6 +6393,7 @@ export namespace Meta {
|
|
|
6153
6393
|
* @param value the generic value to be set
|
|
6154
6394
|
* @param name the name of the node
|
|
6155
6395
|
* @param node the JSON node to be parsed
|
|
6396
|
+
* @since 0.6
|
|
6156
6397
|
* @virtual
|
|
6157
6398
|
*/
|
|
6158
6399
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -6163,6 +6404,7 @@ export namespace Meta {
|
|
|
6163
6404
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
6164
6405
|
* @param name the name of the property
|
|
6165
6406
|
* @param value the value of the property
|
|
6407
|
+
* @since 0.6
|
|
6166
6408
|
* @virtual
|
|
6167
6409
|
*/
|
|
6168
6410
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -6175,6 +6417,7 @@ export namespace Meta {
|
|
|
6175
6417
|
* define a unique name for an object constructable using the UI
|
|
6176
6418
|
* definition language parsed by {@link Clutter.Script}.
|
|
6177
6419
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
6420
|
+
* @since 0.6
|
|
6178
6421
|
* @virtual
|
|
6179
6422
|
*/
|
|
6180
6423
|
vfunc_set_id(id_: string): void;
|
|
@@ -7427,6 +7670,8 @@ export namespace Meta {
|
|
|
7427
7670
|
* @param progress the progress factor
|
|
7428
7671
|
* @param value return location for the animation value
|
|
7429
7672
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
7673
|
+
* @since 1.0
|
|
7674
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
7430
7675
|
*/
|
|
7431
7676
|
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;
|
|
7432
7677
|
|
|
@@ -7434,6 +7679,7 @@ export namespace Meta {
|
|
|
7434
7679
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7435
7680
|
* @param property_name the name of the animatable property to find
|
|
7436
7681
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
7682
|
+
* @since 1.4
|
|
7437
7683
|
*/
|
|
7438
7684
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7439
7685
|
|
|
@@ -7441,6 +7687,7 @@ export namespace Meta {
|
|
|
7441
7687
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7442
7688
|
* @param property_name the name of the animatable property to retrieve
|
|
7443
7689
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7690
|
+
* @since 1.4
|
|
7444
7691
|
*/
|
|
7445
7692
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7446
7693
|
|
|
@@ -7458,6 +7705,7 @@ export namespace Meta {
|
|
|
7458
7705
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7459
7706
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7460
7707
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
7708
|
+
* @since 1.8
|
|
7461
7709
|
*/
|
|
7462
7710
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7463
7711
|
|
|
@@ -7465,6 +7713,7 @@ export namespace Meta {
|
|
|
7465
7713
|
* Sets the current state of `property_name` to `value`
|
|
7466
7714
|
* @param property_name the name of the animatable property to set
|
|
7467
7715
|
* @param value the value of the animatable property to set
|
|
7716
|
+
* @since 1.4
|
|
7468
7717
|
*/
|
|
7469
7718
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7470
7719
|
|
|
@@ -7483,6 +7732,8 @@ export namespace Meta {
|
|
|
7483
7732
|
* @param final_value the final value of the animation interval
|
|
7484
7733
|
* @param progress the progress factor
|
|
7485
7734
|
* @param value return location for the animation value
|
|
7735
|
+
* @since 1.0
|
|
7736
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
7486
7737
|
* @virtual
|
|
7487
7738
|
*/
|
|
7488
7739
|
vfunc_animate_property(animation: Clutter.Animation, property_name: string, initial_value: unknown, final_value: unknown, progress: number, value: unknown): boolean;
|
|
@@ -7490,6 +7741,7 @@ export namespace Meta {
|
|
|
7490
7741
|
/**
|
|
7491
7742
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7492
7743
|
* @param property_name the name of the animatable property to find
|
|
7744
|
+
* @since 1.4
|
|
7493
7745
|
* @virtual
|
|
7494
7746
|
*/
|
|
7495
7747
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -7498,6 +7750,7 @@ export namespace Meta {
|
|
|
7498
7750
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7499
7751
|
* @param property_name the name of the animatable property to retrieve
|
|
7500
7752
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7753
|
+
* @since 1.4
|
|
7501
7754
|
* @virtual
|
|
7502
7755
|
*/
|
|
7503
7756
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -7515,6 +7768,7 @@ export namespace Meta {
|
|
|
7515
7768
|
* @param property_name the name of the property to interpolate
|
|
7516
7769
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7517
7770
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7771
|
+
* @since 1.8
|
|
7518
7772
|
* @virtual
|
|
7519
7773
|
*/
|
|
7520
7774
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -7523,6 +7777,7 @@ export namespace Meta {
|
|
|
7523
7777
|
* Sets the current state of `property_name` to `value`
|
|
7524
7778
|
* @param property_name the name of the animatable property to set
|
|
7525
7779
|
* @param value the value of the animatable property to set
|
|
7780
|
+
* @since 1.4
|
|
7526
7781
|
* @virtual
|
|
7527
7782
|
*/
|
|
7528
7783
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -7537,6 +7792,8 @@ export namespace Meta {
|
|
|
7537
7792
|
* deprecated virtual function. The default implementation will
|
|
7538
7793
|
* call `clutter_actor_add_child()`.
|
|
7539
7794
|
* @param actor the first {@link Clutter.Actor} to add
|
|
7795
|
+
* @since 0.4
|
|
7796
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7540
7797
|
*/
|
|
7541
7798
|
add_actor(actor: Clutter.Actor): void;
|
|
7542
7799
|
|
|
@@ -7551,6 +7808,7 @@ export namespace Meta {
|
|
|
7551
7808
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7552
7809
|
* @param property the name of the property to set.
|
|
7553
7810
|
* @param value the value.
|
|
7811
|
+
* @since 0.8
|
|
7554
7812
|
*/
|
|
7555
7813
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7556
7814
|
|
|
@@ -7560,6 +7818,7 @@ export namespace Meta {
|
|
|
7560
7818
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7561
7819
|
* @param child a {@link Clutter.Actor}
|
|
7562
7820
|
* @param pspec a {@link GObject.ParamSpec}
|
|
7821
|
+
* @since 1.6
|
|
7563
7822
|
*/
|
|
7564
7823
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
7565
7824
|
|
|
@@ -7568,6 +7827,7 @@ export namespace Meta {
|
|
|
7568
7827
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7569
7828
|
* @param property the name of the property to set.
|
|
7570
7829
|
* @param value the value.
|
|
7830
|
+
* @since 0.8
|
|
7571
7831
|
*/
|
|
7572
7832
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7573
7833
|
|
|
@@ -7582,6 +7842,7 @@ export namespace Meta {
|
|
|
7582
7842
|
*
|
|
7583
7843
|
* Applications should not call this function.
|
|
7584
7844
|
* @param actor a {@link Clutter.Actor}
|
|
7845
|
+
* @since 1.2
|
|
7585
7846
|
*/
|
|
7586
7847
|
create_child_meta(actor: Clutter.Actor): void;
|
|
7587
7848
|
|
|
@@ -7595,6 +7856,7 @@ export namespace Meta {
|
|
|
7595
7856
|
*
|
|
7596
7857
|
* Applications should not call this function.
|
|
7597
7858
|
* @param actor a {@link Clutter.Actor}
|
|
7859
|
+
* @since 1.2
|
|
7598
7860
|
*/
|
|
7599
7861
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
7600
7862
|
|
|
@@ -7603,6 +7865,7 @@ export namespace Meta {
|
|
|
7603
7865
|
* into any child container.
|
|
7604
7866
|
* @param child_name the name of the requested child.
|
|
7605
7867
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
7868
|
+
* @since 0.6
|
|
7606
7869
|
*/
|
|
7607
7870
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
7608
7871
|
|
|
@@ -7615,6 +7878,8 @@ export namespace Meta {
|
|
|
7615
7878
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
7616
7879
|
* virtual function, which has been deprecated.
|
|
7617
7880
|
* @param callback a function to be called for each child
|
|
7881
|
+
* @since 0.4
|
|
7882
|
+
* @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.
|
|
7618
7883
|
*/
|
|
7619
7884
|
foreach(callback: Clutter.Callback): void;
|
|
7620
7885
|
|
|
@@ -7626,6 +7891,8 @@ export namespace Meta {
|
|
|
7626
7891
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
7627
7892
|
* virtual function, which has been deprecated.
|
|
7628
7893
|
* @param callback a function to be called for each child
|
|
7894
|
+
* @since 1.0
|
|
7895
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
7629
7896
|
*/
|
|
7630
7897
|
foreach_with_internals(callback: Clutter.Callback): void;
|
|
7631
7898
|
|
|
@@ -7634,12 +7901,15 @@ export namespace Meta {
|
|
|
7634
7901
|
* `container` specific state for `actor`.
|
|
7635
7902
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
7636
7903
|
* @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
|
|
7904
|
+
* @since 0.8
|
|
7637
7905
|
*/
|
|
7638
7906
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
7639
7907
|
|
|
7640
7908
|
/**
|
|
7641
7909
|
* Retrieves all the children of `container`.
|
|
7642
7910
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
7911
|
+
* @since 0.4
|
|
7912
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
7643
7913
|
*/
|
|
7644
7914
|
get_children(): Clutter.Actor[];
|
|
7645
7915
|
|
|
@@ -7651,6 +7921,8 @@ export namespace Meta {
|
|
|
7651
7921
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7652
7922
|
* @param actor the actor to raise
|
|
7653
7923
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
7924
|
+
* @since 0.6
|
|
7925
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7654
7926
|
*/
|
|
7655
7927
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7656
7928
|
|
|
@@ -7662,6 +7934,8 @@ export namespace Meta {
|
|
|
7662
7934
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7663
7935
|
* @param actor the actor to raise
|
|
7664
7936
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
7937
|
+
* @since 0.6
|
|
7938
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7665
7939
|
*/
|
|
7666
7940
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7667
7941
|
|
|
@@ -7675,12 +7949,16 @@ export namespace Meta {
|
|
|
7675
7949
|
* deprecated virtual function. The default implementation will call
|
|
7676
7950
|
* `clutter_actor_remove_child()`.
|
|
7677
7951
|
* @param actor a {@link Clutter.Actor}
|
|
7952
|
+
* @since 0.4
|
|
7953
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7678
7954
|
*/
|
|
7679
7955
|
remove_actor(actor: Clutter.Actor): void;
|
|
7680
7956
|
|
|
7681
7957
|
/**
|
|
7682
7958
|
* Sorts a container's children using their depth. This function should not
|
|
7683
7959
|
* be normally used by applications.
|
|
7960
|
+
* @since 0.6
|
|
7961
|
+
* @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.
|
|
7684
7962
|
*/
|
|
7685
7963
|
sort_depth_order(): void;
|
|
7686
7964
|
|
|
@@ -7706,6 +7984,8 @@ export namespace Meta {
|
|
|
7706
7984
|
* deprecated virtual function. The default implementation will
|
|
7707
7985
|
* call `clutter_actor_add_child()`.
|
|
7708
7986
|
* @param actor the first {@link Clutter.Actor} to add
|
|
7987
|
+
* @since 0.4
|
|
7988
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7709
7989
|
* @virtual
|
|
7710
7990
|
*/
|
|
7711
7991
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -7716,6 +7996,7 @@ export namespace Meta {
|
|
|
7716
7996
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7717
7997
|
* @param child a {@link Clutter.Actor}
|
|
7718
7998
|
* @param pspec a {@link GObject.ParamSpec}
|
|
7999
|
+
* @since 1.6
|
|
7719
8000
|
* @virtual
|
|
7720
8001
|
*/
|
|
7721
8002
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -7731,6 +8012,7 @@ export namespace Meta {
|
|
|
7731
8012
|
*
|
|
7732
8013
|
* Applications should not call this function.
|
|
7733
8014
|
* @param actor a {@link Clutter.Actor}
|
|
8015
|
+
* @since 1.2
|
|
7734
8016
|
* @virtual
|
|
7735
8017
|
*/
|
|
7736
8018
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7745,6 +8027,7 @@ export namespace Meta {
|
|
|
7745
8027
|
*
|
|
7746
8028
|
* Applications should not call this function.
|
|
7747
8029
|
* @param actor a {@link Clutter.Actor}
|
|
8030
|
+
* @since 1.2
|
|
7748
8031
|
* @virtual
|
|
7749
8032
|
*/
|
|
7750
8033
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -7758,6 +8041,8 @@ export namespace Meta {
|
|
|
7758
8041
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
7759
8042
|
* virtual function, which has been deprecated.
|
|
7760
8043
|
* @param callback a function to be called for each child
|
|
8044
|
+
* @since 0.4
|
|
8045
|
+
* @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.
|
|
7761
8046
|
* @virtual
|
|
7762
8047
|
*/
|
|
7763
8048
|
vfunc_foreach(callback: Clutter.Callback): void;
|
|
@@ -7770,6 +8055,8 @@ export namespace Meta {
|
|
|
7770
8055
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
7771
8056
|
* virtual function, which has been deprecated.
|
|
7772
8057
|
* @param callback a function to be called for each child
|
|
8058
|
+
* @since 1.0
|
|
8059
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
7773
8060
|
* @virtual
|
|
7774
8061
|
*/
|
|
7775
8062
|
vfunc_foreach_with_internals(callback: Clutter.Callback): void;
|
|
@@ -7778,6 +8065,7 @@ export namespace Meta {
|
|
|
7778
8065
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
7779
8066
|
* `container` specific state for `actor`.
|
|
7780
8067
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8068
|
+
* @since 0.8
|
|
7781
8069
|
* @virtual
|
|
7782
8070
|
*/
|
|
7783
8071
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -7790,6 +8078,8 @@ export namespace Meta {
|
|
|
7790
8078
|
* `clutter_actor_set_child_below_sibling()`.
|
|
7791
8079
|
* @param actor the actor to raise
|
|
7792
8080
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8081
|
+
* @since 0.6
|
|
8082
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
7793
8083
|
* @virtual
|
|
7794
8084
|
*/
|
|
7795
8085
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -7802,6 +8092,8 @@ export namespace Meta {
|
|
|
7802
8092
|
* `clutter_actor_set_child_above_sibling()`.
|
|
7803
8093
|
* @param actor the actor to raise
|
|
7804
8094
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8095
|
+
* @since 0.6
|
|
8096
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
7805
8097
|
* @virtual
|
|
7806
8098
|
*/
|
|
7807
8099
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -7816,6 +8108,8 @@ export namespace Meta {
|
|
|
7816
8108
|
* deprecated virtual function. The default implementation will call
|
|
7817
8109
|
* `clutter_actor_remove_child()`.
|
|
7818
8110
|
* @param actor a {@link Clutter.Actor}
|
|
8111
|
+
* @since 0.4
|
|
8112
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7819
8113
|
* @virtual
|
|
7820
8114
|
*/
|
|
7821
8115
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -7823,6 +8117,8 @@ export namespace Meta {
|
|
|
7823
8117
|
/**
|
|
7824
8118
|
* Sorts a container's children using their depth. This function should not
|
|
7825
8119
|
* be normally used by applications.
|
|
8120
|
+
* @since 0.6
|
|
8121
|
+
* @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.
|
|
7826
8122
|
* @virtual
|
|
7827
8123
|
*/
|
|
7828
8124
|
vfunc_sort_depth_order(): void;
|
|
@@ -7830,6 +8126,7 @@ export namespace Meta {
|
|
|
7830
8126
|
/**
|
|
7831
8127
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
7832
8128
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8129
|
+
* @since 0.6
|
|
7833
8130
|
*/
|
|
7834
8131
|
get_id(): string;
|
|
7835
8132
|
|
|
@@ -7841,6 +8138,7 @@ export namespace Meta {
|
|
|
7841
8138
|
* @param name the name of the node
|
|
7842
8139
|
* @param node the JSON node to be parsed
|
|
7843
8140
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8141
|
+
* @since 0.6
|
|
7844
8142
|
*/
|
|
7845
8143
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
7846
8144
|
|
|
@@ -7850,6 +8148,7 @@ export namespace Meta {
|
|
|
7850
8148
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
7851
8149
|
* @param name the name of the property
|
|
7852
8150
|
* @param value the value of the property
|
|
8151
|
+
* @since 0.6
|
|
7853
8152
|
*/
|
|
7854
8153
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
7855
8154
|
|
|
@@ -7861,11 +8160,13 @@ export namespace Meta {
|
|
|
7861
8160
|
* define a unique name for an object constructable using the UI
|
|
7862
8161
|
* definition language parsed by {@link Clutter.Script}.
|
|
7863
8162
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8163
|
+
* @since 0.6
|
|
7864
8164
|
*/
|
|
7865
8165
|
set_id(id_: string): void;
|
|
7866
8166
|
|
|
7867
8167
|
/**
|
|
7868
8168
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8169
|
+
* @since 0.6
|
|
7869
8170
|
* @virtual
|
|
7870
8171
|
*/
|
|
7871
8172
|
vfunc_get_id(): string;
|
|
@@ -7877,6 +8178,7 @@ export namespace Meta {
|
|
|
7877
8178
|
* @param value the generic value to be set
|
|
7878
8179
|
* @param name the name of the node
|
|
7879
8180
|
* @param node the JSON node to be parsed
|
|
8181
|
+
* @since 0.6
|
|
7880
8182
|
* @virtual
|
|
7881
8183
|
*/
|
|
7882
8184
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -7887,6 +8189,7 @@ export namespace Meta {
|
|
|
7887
8189
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
7888
8190
|
* @param name the name of the property
|
|
7889
8191
|
* @param value the value of the property
|
|
8192
|
+
* @since 0.6
|
|
7890
8193
|
* @virtual
|
|
7891
8194
|
*/
|
|
7892
8195
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -7899,6 +8202,7 @@ export namespace Meta {
|
|
|
7899
8202
|
* define a unique name for an object constructable using the UI
|
|
7900
8203
|
* definition language parsed by {@link Clutter.Script}.
|
|
7901
8204
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8205
|
+
* @since 0.6
|
|
7902
8206
|
* @virtual
|
|
7903
8207
|
*/
|
|
7904
8208
|
vfunc_set_id(id_: string): void;
|
|
@@ -8044,6 +8348,8 @@ export namespace Meta {
|
|
|
8044
8348
|
* @param progress the progress factor
|
|
8045
8349
|
* @param value return location for the animation value
|
|
8046
8350
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
8351
|
+
* @since 1.0
|
|
8352
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
8047
8353
|
*/
|
|
8048
8354
|
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;
|
|
8049
8355
|
|
|
@@ -8051,6 +8357,7 @@ export namespace Meta {
|
|
|
8051
8357
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8052
8358
|
* @param property_name the name of the animatable property to find
|
|
8053
8359
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8360
|
+
* @since 1.4
|
|
8054
8361
|
*/
|
|
8055
8362
|
find_property(property_name: string): GObject.ParamSpec;
|
|
8056
8363
|
|
|
@@ -8058,6 +8365,7 @@ export namespace Meta {
|
|
|
8058
8365
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8059
8366
|
* @param property_name the name of the animatable property to retrieve
|
|
8060
8367
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8368
|
+
* @since 1.4
|
|
8061
8369
|
*/
|
|
8062
8370
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
8063
8371
|
|
|
@@ -8075,6 +8383,7 @@ export namespace Meta {
|
|
|
8075
8383
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8076
8384
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8077
8385
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8386
|
+
* @since 1.8
|
|
8078
8387
|
*/
|
|
8079
8388
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
8080
8389
|
|
|
@@ -8082,6 +8391,7 @@ export namespace Meta {
|
|
|
8082
8391
|
* Sets the current state of `property_name` to `value`
|
|
8083
8392
|
* @param property_name the name of the animatable property to set
|
|
8084
8393
|
* @param value the value of the animatable property to set
|
|
8394
|
+
* @since 1.4
|
|
8085
8395
|
*/
|
|
8086
8396
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
8087
8397
|
|
|
@@ -8100,6 +8410,8 @@ export namespace Meta {
|
|
|
8100
8410
|
* @param final_value the final value of the animation interval
|
|
8101
8411
|
* @param progress the progress factor
|
|
8102
8412
|
* @param value return location for the animation value
|
|
8413
|
+
* @since 1.0
|
|
8414
|
+
* @deprecated since 1.8: Use `clutter_animatable_interpolate_value()` instead
|
|
8103
8415
|
* @virtual
|
|
8104
8416
|
*/
|
|
8105
8417
|
vfunc_animate_property(animation: Clutter.Animation, property_name: string, initial_value: unknown, final_value: unknown, progress: number, value: unknown): boolean;
|
|
@@ -8107,6 +8419,7 @@ export namespace Meta {
|
|
|
8107
8419
|
/**
|
|
8108
8420
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8109
8421
|
* @param property_name the name of the animatable property to find
|
|
8422
|
+
* @since 1.4
|
|
8110
8423
|
* @virtual
|
|
8111
8424
|
*/
|
|
8112
8425
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -8115,6 +8428,7 @@ export namespace Meta {
|
|
|
8115
8428
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8116
8429
|
* @param property_name the name of the animatable property to retrieve
|
|
8117
8430
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8431
|
+
* @since 1.4
|
|
8118
8432
|
* @virtual
|
|
8119
8433
|
*/
|
|
8120
8434
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -8132,6 +8446,7 @@ export namespace Meta {
|
|
|
8132
8446
|
* @param property_name the name of the property to interpolate
|
|
8133
8447
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8134
8448
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8449
|
+
* @since 1.8
|
|
8135
8450
|
* @virtual
|
|
8136
8451
|
*/
|
|
8137
8452
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -8140,6 +8455,7 @@ export namespace Meta {
|
|
|
8140
8455
|
* Sets the current state of `property_name` to `value`
|
|
8141
8456
|
* @param property_name the name of the animatable property to set
|
|
8142
8457
|
* @param value the value of the animatable property to set
|
|
8458
|
+
* @since 1.4
|
|
8143
8459
|
* @virtual
|
|
8144
8460
|
*/
|
|
8145
8461
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -8154,6 +8470,8 @@ export namespace Meta {
|
|
|
8154
8470
|
* deprecated virtual function. The default implementation will
|
|
8155
8471
|
* call `clutter_actor_add_child()`.
|
|
8156
8472
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8473
|
+
* @since 0.4
|
|
8474
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8157
8475
|
*/
|
|
8158
8476
|
add_actor(actor: Clutter.Actor): void;
|
|
8159
8477
|
|
|
@@ -8168,6 +8486,7 @@ export namespace Meta {
|
|
|
8168
8486
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8169
8487
|
* @param property the name of the property to set.
|
|
8170
8488
|
* @param value the value.
|
|
8489
|
+
* @since 0.8
|
|
8171
8490
|
*/
|
|
8172
8491
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8173
8492
|
|
|
@@ -8177,6 +8496,7 @@ export namespace Meta {
|
|
|
8177
8496
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8178
8497
|
* @param child a {@link Clutter.Actor}
|
|
8179
8498
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8499
|
+
* @since 1.6
|
|
8180
8500
|
*/
|
|
8181
8501
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
8182
8502
|
|
|
@@ -8185,6 +8505,7 @@ export namespace Meta {
|
|
|
8185
8505
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8186
8506
|
* @param property the name of the property to set.
|
|
8187
8507
|
* @param value the value.
|
|
8508
|
+
* @since 0.8
|
|
8188
8509
|
*/
|
|
8189
8510
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8190
8511
|
|
|
@@ -8199,6 +8520,7 @@ export namespace Meta {
|
|
|
8199
8520
|
*
|
|
8200
8521
|
* Applications should not call this function.
|
|
8201
8522
|
* @param actor a {@link Clutter.Actor}
|
|
8523
|
+
* @since 1.2
|
|
8202
8524
|
*/
|
|
8203
8525
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8204
8526
|
|
|
@@ -8212,6 +8534,7 @@ export namespace Meta {
|
|
|
8212
8534
|
*
|
|
8213
8535
|
* Applications should not call this function.
|
|
8214
8536
|
* @param actor a {@link Clutter.Actor}
|
|
8537
|
+
* @since 1.2
|
|
8215
8538
|
*/
|
|
8216
8539
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8217
8540
|
|
|
@@ -8220,6 +8543,7 @@ export namespace Meta {
|
|
|
8220
8543
|
* into any child container.
|
|
8221
8544
|
* @param child_name the name of the requested child.
|
|
8222
8545
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8546
|
+
* @since 0.6
|
|
8223
8547
|
*/
|
|
8224
8548
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8225
8549
|
|
|
@@ -8232,6 +8556,8 @@ export namespace Meta {
|
|
|
8232
8556
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
8233
8557
|
* virtual function, which has been deprecated.
|
|
8234
8558
|
* @param callback a function to be called for each child
|
|
8559
|
+
* @since 0.4
|
|
8560
|
+
* @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.
|
|
8235
8561
|
*/
|
|
8236
8562
|
foreach(callback: Clutter.Callback): void;
|
|
8237
8563
|
|
|
@@ -8243,6 +8569,8 @@ export namespace Meta {
|
|
|
8243
8569
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
8244
8570
|
* virtual function, which has been deprecated.
|
|
8245
8571
|
* @param callback a function to be called for each child
|
|
8572
|
+
* @since 1.0
|
|
8573
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
8246
8574
|
*/
|
|
8247
8575
|
foreach_with_internals(callback: Clutter.Callback): void;
|
|
8248
8576
|
|
|
@@ -8251,12 +8579,15 @@ export namespace Meta {
|
|
|
8251
8579
|
* `container` specific state for `actor`.
|
|
8252
8580
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8253
8581
|
* @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
|
|
8582
|
+
* @since 0.8
|
|
8254
8583
|
*/
|
|
8255
8584
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8256
8585
|
|
|
8257
8586
|
/**
|
|
8258
8587
|
* Retrieves all the children of `container`.
|
|
8259
8588
|
* @returns a list of {@link Clutter.Actor}<!-- -->s. Use `g_list_free()` on the returned list when done.
|
|
8589
|
+
* @since 0.4
|
|
8590
|
+
* @deprecated since 1.10: Use `clutter_actor_get_children()` instead.
|
|
8260
8591
|
*/
|
|
8261
8592
|
get_children(): Clutter.Actor[];
|
|
8262
8593
|
|
|
@@ -8268,6 +8599,8 @@ export namespace Meta {
|
|
|
8268
8599
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8269
8600
|
* @param actor the actor to raise
|
|
8270
8601
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8602
|
+
* @since 0.6
|
|
8603
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8271
8604
|
*/
|
|
8272
8605
|
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8273
8606
|
|
|
@@ -8279,6 +8612,8 @@ export namespace Meta {
|
|
|
8279
8612
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8280
8613
|
* @param actor the actor to raise
|
|
8281
8614
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8615
|
+
* @since 0.6
|
|
8616
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8282
8617
|
*/
|
|
8283
8618
|
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8284
8619
|
|
|
@@ -8292,12 +8627,16 @@ export namespace Meta {
|
|
|
8292
8627
|
* deprecated virtual function. The default implementation will call
|
|
8293
8628
|
* `clutter_actor_remove_child()`.
|
|
8294
8629
|
* @param actor a {@link Clutter.Actor}
|
|
8630
|
+
* @since 0.4
|
|
8631
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8295
8632
|
*/
|
|
8296
8633
|
remove_actor(actor: Clutter.Actor): void;
|
|
8297
8634
|
|
|
8298
8635
|
/**
|
|
8299
8636
|
* Sorts a container's children using their depth. This function should not
|
|
8300
8637
|
* be normally used by applications.
|
|
8638
|
+
* @since 0.6
|
|
8639
|
+
* @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.
|
|
8301
8640
|
*/
|
|
8302
8641
|
sort_depth_order(): void;
|
|
8303
8642
|
|
|
@@ -8323,6 +8662,8 @@ export namespace Meta {
|
|
|
8323
8662
|
* deprecated virtual function. The default implementation will
|
|
8324
8663
|
* call `clutter_actor_add_child()`.
|
|
8325
8664
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8665
|
+
* @since 0.4
|
|
8666
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8326
8667
|
* @virtual
|
|
8327
8668
|
*/
|
|
8328
8669
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8333,6 +8674,7 @@ export namespace Meta {
|
|
|
8333
8674
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8334
8675
|
* @param child a {@link Clutter.Actor}
|
|
8335
8676
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8677
|
+
* @since 1.6
|
|
8336
8678
|
* @virtual
|
|
8337
8679
|
*/
|
|
8338
8680
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8348,6 +8690,7 @@ export namespace Meta {
|
|
|
8348
8690
|
*
|
|
8349
8691
|
* Applications should not call this function.
|
|
8350
8692
|
* @param actor a {@link Clutter.Actor}
|
|
8693
|
+
* @since 1.2
|
|
8351
8694
|
* @virtual
|
|
8352
8695
|
*/
|
|
8353
8696
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8362,6 +8705,7 @@ export namespace Meta {
|
|
|
8362
8705
|
*
|
|
8363
8706
|
* Applications should not call this function.
|
|
8364
8707
|
* @param actor a {@link Clutter.Actor}
|
|
8708
|
+
* @since 1.2
|
|
8365
8709
|
* @virtual
|
|
8366
8710
|
*/
|
|
8367
8711
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8375,6 +8719,8 @@ export namespace Meta {
|
|
|
8375
8719
|
* This function calls the {@link Clutter.ContainerIface}.foreach()
|
|
8376
8720
|
* virtual function, which has been deprecated.
|
|
8377
8721
|
* @param callback a function to be called for each child
|
|
8722
|
+
* @since 0.4
|
|
8723
|
+
* @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.
|
|
8378
8724
|
* @virtual
|
|
8379
8725
|
*/
|
|
8380
8726
|
vfunc_foreach(callback: Clutter.Callback): void;
|
|
@@ -8387,6 +8733,8 @@ export namespace Meta {
|
|
|
8387
8733
|
* This function calls the {@link Clutter.ContainerIface}.foreach_with_internals()
|
|
8388
8734
|
* virtual function, which has been deprecated.
|
|
8389
8735
|
* @param callback a function to be called for each child
|
|
8736
|
+
* @since 1.0
|
|
8737
|
+
* @deprecated since 1.10: See `clutter_container_foreach()`.
|
|
8390
8738
|
* @virtual
|
|
8391
8739
|
*/
|
|
8392
8740
|
vfunc_foreach_with_internals(callback: Clutter.Callback): void;
|
|
@@ -8395,6 +8743,7 @@ export namespace Meta {
|
|
|
8395
8743
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8396
8744
|
* `container` specific state for `actor`.
|
|
8397
8745
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8746
|
+
* @since 0.8
|
|
8398
8747
|
* @virtual
|
|
8399
8748
|
*/
|
|
8400
8749
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8407,6 +8756,8 @@ export namespace Meta {
|
|
|
8407
8756
|
* `clutter_actor_set_child_below_sibling()`.
|
|
8408
8757
|
* @param actor the actor to raise
|
|
8409
8758
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8759
|
+
* @since 0.6
|
|
8760
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_below_sibling()` instead.
|
|
8410
8761
|
* @virtual
|
|
8411
8762
|
*/
|
|
8412
8763
|
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8419,6 +8770,8 @@ export namespace Meta {
|
|
|
8419
8770
|
* `clutter_actor_set_child_above_sibling()`.
|
|
8420
8771
|
* @param actor the actor to raise
|
|
8421
8772
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8773
|
+
* @since 0.6
|
|
8774
|
+
* @deprecated since 1.10: Use `clutter_actor_set_child_above_sibling()` instead.
|
|
8422
8775
|
* @virtual
|
|
8423
8776
|
*/
|
|
8424
8777
|
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
@@ -8433,6 +8786,8 @@ export namespace Meta {
|
|
|
8433
8786
|
* deprecated virtual function. The default implementation will call
|
|
8434
8787
|
* `clutter_actor_remove_child()`.
|
|
8435
8788
|
* @param actor a {@link Clutter.Actor}
|
|
8789
|
+
* @since 0.4
|
|
8790
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8436
8791
|
* @virtual
|
|
8437
8792
|
*/
|
|
8438
8793
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8440,6 +8795,8 @@ export namespace Meta {
|
|
|
8440
8795
|
/**
|
|
8441
8796
|
* Sorts a container's children using their depth. This function should not
|
|
8442
8797
|
* be normally used by applications.
|
|
8798
|
+
* @since 0.6
|
|
8799
|
+
* @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.
|
|
8443
8800
|
* @virtual
|
|
8444
8801
|
*/
|
|
8445
8802
|
vfunc_sort_depth_order(): void;
|
|
@@ -8447,6 +8804,7 @@ export namespace Meta {
|
|
|
8447
8804
|
/**
|
|
8448
8805
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8449
8806
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8807
|
+
* @since 0.6
|
|
8450
8808
|
*/
|
|
8451
8809
|
get_id(): string;
|
|
8452
8810
|
|
|
@@ -8458,6 +8816,7 @@ export namespace Meta {
|
|
|
8458
8816
|
* @param name the name of the node
|
|
8459
8817
|
* @param node the JSON node to be parsed
|
|
8460
8818
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8819
|
+
* @since 0.6
|
|
8461
8820
|
*/
|
|
8462
8821
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8463
8822
|
|
|
@@ -8467,6 +8826,7 @@ export namespace Meta {
|
|
|
8467
8826
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8468
8827
|
* @param name the name of the property
|
|
8469
8828
|
* @param value the value of the property
|
|
8829
|
+
* @since 0.6
|
|
8470
8830
|
*/
|
|
8471
8831
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8472
8832
|
|
|
@@ -8478,11 +8838,13 @@ export namespace Meta {
|
|
|
8478
8838
|
* define a unique name for an object constructable using the UI
|
|
8479
8839
|
* definition language parsed by {@link Clutter.Script}.
|
|
8480
8840
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8841
|
+
* @since 0.6
|
|
8481
8842
|
*/
|
|
8482
8843
|
set_id(id_: string): void;
|
|
8483
8844
|
|
|
8484
8845
|
/**
|
|
8485
8846
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8847
|
+
* @since 0.6
|
|
8486
8848
|
* @virtual
|
|
8487
8849
|
*/
|
|
8488
8850
|
vfunc_get_id(): string;
|
|
@@ -8494,6 +8856,7 @@ export namespace Meta {
|
|
|
8494
8856
|
* @param value the generic value to be set
|
|
8495
8857
|
* @param name the name of the node
|
|
8496
8858
|
* @param node the JSON node to be parsed
|
|
8859
|
+
* @since 0.6
|
|
8497
8860
|
* @virtual
|
|
8498
8861
|
*/
|
|
8499
8862
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8504,6 +8867,7 @@ export namespace Meta {
|
|
|
8504
8867
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8505
8868
|
* @param name the name of the property
|
|
8506
8869
|
* @param value the value of the property
|
|
8870
|
+
* @since 0.6
|
|
8507
8871
|
* @virtual
|
|
8508
8872
|
*/
|
|
8509
8873
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8516,6 +8880,7 @@ export namespace Meta {
|
|
|
8516
8880
|
* define a unique name for an object constructable using the UI
|
|
8517
8881
|
* definition language parsed by {@link Clutter.Script}.
|
|
8518
8882
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8883
|
+
* @since 0.6
|
|
8519
8884
|
* @virtual
|
|
8520
8885
|
*/
|
|
8521
8886
|
vfunc_set_id(id_: string): void;
|
|
@@ -8529,12 +8894,12 @@ export namespace Meta {
|
|
|
8529
8894
|
* @signal
|
|
8530
8895
|
* @run-last
|
|
8531
8896
|
*/
|
|
8532
|
-
"window-added": (
|
|
8897
|
+
"window-added": (object: Window) => void;
|
|
8533
8898
|
/**
|
|
8534
8899
|
* @signal
|
|
8535
8900
|
* @run-last
|
|
8536
8901
|
*/
|
|
8537
|
-
"window-removed": (
|
|
8902
|
+
"window-removed": (object: Window) => void;
|
|
8538
8903
|
"notify::n-windows": (pspec: GObject.ParamSpec) => void;
|
|
8539
8904
|
"notify::workspace-index": (pspec: GObject.ParamSpec) => void;
|
|
8540
8905
|
}
|
|
@@ -8689,17 +9054,17 @@ export namespace Meta {
|
|
|
8689
9054
|
* @signal
|
|
8690
9055
|
* @run-last
|
|
8691
9056
|
*/
|
|
8692
|
-
"workspace-added": (
|
|
9057
|
+
"workspace-added": (object: number) => void;
|
|
8693
9058
|
/**
|
|
8694
9059
|
* @signal
|
|
8695
9060
|
* @run-last
|
|
8696
9061
|
*/
|
|
8697
|
-
"workspace-removed": (
|
|
9062
|
+
"workspace-removed": (object: number) => void;
|
|
8698
9063
|
/**
|
|
8699
9064
|
* @signal
|
|
8700
9065
|
* @run-last
|
|
8701
9066
|
*/
|
|
8702
|
-
"workspace-switched": (
|
|
9067
|
+
"workspace-switched": (object: number, p0: number, p1: MotionDirection) => void;
|
|
8703
9068
|
"notify::n-workspaces": (pspec: GObject.ParamSpec) => void;
|
|
8704
9069
|
}
|
|
8705
9070
|
|