@girs/meta-10 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-10.d.ts +606 -400
- package/package.json +24 -24
package/meta-10.d.ts
CHANGED
|
@@ -58,23 +58,23 @@ export namespace Meta {
|
|
|
58
58
|
/**
|
|
59
59
|
* Menu
|
|
60
60
|
*/
|
|
61
|
-
MENU,
|
|
61
|
+
MENU = 0,
|
|
62
62
|
/**
|
|
63
63
|
* Minimize
|
|
64
64
|
*/
|
|
65
|
-
MINIMIZE,
|
|
65
|
+
MINIMIZE = 1,
|
|
66
66
|
/**
|
|
67
67
|
* Maximize
|
|
68
68
|
*/
|
|
69
|
-
MAXIMIZE,
|
|
69
|
+
MAXIMIZE = 2,
|
|
70
70
|
/**
|
|
71
71
|
* Close
|
|
72
72
|
*/
|
|
73
|
-
CLOSE,
|
|
73
|
+
CLOSE = 3,
|
|
74
74
|
/**
|
|
75
75
|
* Marks the end of the {@link Meta.ButtonFunction} enumeration
|
|
76
76
|
*/
|
|
77
|
-
LAST,
|
|
77
|
+
LAST = 4,
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
|
|
@@ -89,8 +89,8 @@ export namespace Meta {
|
|
|
89
89
|
* @gir-type Enum
|
|
90
90
|
*/
|
|
91
91
|
enum CloseDialogResponse {
|
|
92
|
-
WAIT,
|
|
93
|
-
FORCE_CLOSE,
|
|
92
|
+
WAIT = 0,
|
|
93
|
+
FORCE_CLOSE = 1,
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
|
|
@@ -113,26 +113,26 @@ export namespace Meta {
|
|
|
113
113
|
* workspace and is changed to become visible on the active
|
|
114
114
|
* workspace.)
|
|
115
115
|
*/
|
|
116
|
-
CREATE,
|
|
116
|
+
CREATE = 0,
|
|
117
117
|
/**
|
|
118
118
|
* The window should be shown
|
|
119
119
|
* as unminimizing from its icon geometry.
|
|
120
120
|
*/
|
|
121
|
-
UNMINIMIZE,
|
|
121
|
+
UNMINIMIZE = 1,
|
|
122
122
|
/**
|
|
123
123
|
* The window is being destroyed
|
|
124
124
|
*/
|
|
125
|
-
DESTROY,
|
|
125
|
+
DESTROY = 2,
|
|
126
126
|
/**
|
|
127
127
|
* The window should be shown
|
|
128
128
|
* as minimizing to its icon geometry.
|
|
129
129
|
*/
|
|
130
|
-
MINIMIZE,
|
|
130
|
+
MINIMIZE = 3,
|
|
131
131
|
/**
|
|
132
132
|
* No effect, the window should be
|
|
133
133
|
* shown or hidden immediately.
|
|
134
134
|
*/
|
|
135
|
-
NONE,
|
|
135
|
+
NONE = 4,
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
|
|
@@ -147,8 +147,8 @@ export namespace Meta {
|
|
|
147
147
|
* @gir-type Enum
|
|
148
148
|
*/
|
|
149
149
|
enum CompositorType {
|
|
150
|
-
WAYLAND,
|
|
151
|
-
X11,
|
|
150
|
+
WAYLAND = 0,
|
|
151
|
+
X11 = 1,
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
|
|
@@ -163,84 +163,84 @@ export namespace Meta {
|
|
|
163
163
|
* @gir-type Enum
|
|
164
164
|
*/
|
|
165
165
|
enum Cursor {
|
|
166
|
-
NONE,
|
|
166
|
+
NONE = 0,
|
|
167
167
|
/**
|
|
168
168
|
* Default cursor
|
|
169
169
|
*/
|
|
170
|
-
DEFAULT,
|
|
170
|
+
DEFAULT = 1,
|
|
171
171
|
/**
|
|
172
172
|
* Resize northern edge cursor
|
|
173
173
|
*/
|
|
174
|
-
NORTH_RESIZE,
|
|
174
|
+
NORTH_RESIZE = 2,
|
|
175
175
|
/**
|
|
176
176
|
* Resize southern edge cursor
|
|
177
177
|
*/
|
|
178
|
-
SOUTH_RESIZE,
|
|
178
|
+
SOUTH_RESIZE = 3,
|
|
179
179
|
/**
|
|
180
180
|
* Resize western edge cursor
|
|
181
181
|
*/
|
|
182
|
-
WEST_RESIZE,
|
|
182
|
+
WEST_RESIZE = 4,
|
|
183
183
|
/**
|
|
184
184
|
* Resize eastern edge cursor
|
|
185
185
|
*/
|
|
186
|
-
EAST_RESIZE,
|
|
186
|
+
EAST_RESIZE = 5,
|
|
187
187
|
/**
|
|
188
188
|
* Resize south-eastern corner cursor
|
|
189
189
|
*/
|
|
190
|
-
SE_RESIZE,
|
|
190
|
+
SE_RESIZE = 6,
|
|
191
191
|
/**
|
|
192
192
|
* Resize south-western corner cursor
|
|
193
193
|
*/
|
|
194
|
-
SW_RESIZE,
|
|
194
|
+
SW_RESIZE = 7,
|
|
195
195
|
/**
|
|
196
196
|
* Resize north-eastern corner cursor
|
|
197
197
|
*/
|
|
198
|
-
NE_RESIZE,
|
|
198
|
+
NE_RESIZE = 8,
|
|
199
199
|
/**
|
|
200
200
|
* Resize north-western corner cursor
|
|
201
201
|
*/
|
|
202
|
-
NW_RESIZE,
|
|
202
|
+
NW_RESIZE = 9,
|
|
203
203
|
/**
|
|
204
204
|
* Move or resize cursor
|
|
205
205
|
*/
|
|
206
|
-
MOVE_OR_RESIZE_WINDOW,
|
|
206
|
+
MOVE_OR_RESIZE_WINDOW = 10,
|
|
207
207
|
/**
|
|
208
208
|
* Busy cursor
|
|
209
209
|
*/
|
|
210
|
-
BUSY,
|
|
210
|
+
BUSY = 11,
|
|
211
211
|
/**
|
|
212
212
|
* DND in drag cursor
|
|
213
213
|
*/
|
|
214
|
-
DND_IN_DRAG,
|
|
214
|
+
DND_IN_DRAG = 12,
|
|
215
215
|
/**
|
|
216
216
|
* DND move cursor
|
|
217
217
|
*/
|
|
218
|
-
DND_MOVE,
|
|
218
|
+
DND_MOVE = 13,
|
|
219
219
|
/**
|
|
220
220
|
* DND copy cursor
|
|
221
221
|
*/
|
|
222
|
-
DND_COPY,
|
|
222
|
+
DND_COPY = 14,
|
|
223
223
|
/**
|
|
224
224
|
* DND unsupported target
|
|
225
225
|
*/
|
|
226
|
-
DND_UNSUPPORTED_TARGET,
|
|
226
|
+
DND_UNSUPPORTED_TARGET = 15,
|
|
227
227
|
/**
|
|
228
228
|
* pointing hand
|
|
229
229
|
*/
|
|
230
|
-
POINTING_HAND,
|
|
230
|
+
POINTING_HAND = 16,
|
|
231
231
|
/**
|
|
232
232
|
* crosshair (action forbidden)
|
|
233
233
|
*/
|
|
234
|
-
CROSSHAIR,
|
|
234
|
+
CROSSHAIR = 17,
|
|
235
235
|
/**
|
|
236
236
|
* I-beam (text input)
|
|
237
237
|
*/
|
|
238
|
-
IBEAM,
|
|
238
|
+
IBEAM = 18,
|
|
239
239
|
/**
|
|
240
240
|
* Invisible cursor
|
|
241
241
|
*/
|
|
242
|
-
BLANK,
|
|
243
|
-
LAST,
|
|
242
|
+
BLANK = 19,
|
|
243
|
+
LAST = 20,
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
|
|
@@ -258,19 +258,19 @@ export namespace Meta {
|
|
|
258
258
|
/**
|
|
259
259
|
* top-left corner
|
|
260
260
|
*/
|
|
261
|
-
TOPLEFT,
|
|
261
|
+
TOPLEFT = 0,
|
|
262
262
|
/**
|
|
263
263
|
* top-right corner
|
|
264
264
|
*/
|
|
265
|
-
TOPRIGHT,
|
|
265
|
+
TOPRIGHT = 1,
|
|
266
266
|
/**
|
|
267
267
|
* bottom-left corner
|
|
268
268
|
*/
|
|
269
|
-
BOTTOMLEFT,
|
|
269
|
+
BOTTOMLEFT = 2,
|
|
270
270
|
/**
|
|
271
271
|
* bottom-right corner
|
|
272
272
|
*/
|
|
273
|
-
BOTTOMRIGHT,
|
|
273
|
+
BOTTOMRIGHT = 3,
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
|
|
@@ -288,19 +288,19 @@ export namespace Meta {
|
|
|
288
288
|
/**
|
|
289
289
|
* up
|
|
290
290
|
*/
|
|
291
|
-
UP,
|
|
291
|
+
UP = 0,
|
|
292
292
|
/**
|
|
293
293
|
* down
|
|
294
294
|
*/
|
|
295
|
-
DOWN,
|
|
295
|
+
DOWN = 1,
|
|
296
296
|
/**
|
|
297
297
|
* left
|
|
298
298
|
*/
|
|
299
|
-
LEFT,
|
|
299
|
+
LEFT = 2,
|
|
300
300
|
/**
|
|
301
301
|
* right
|
|
302
302
|
*/
|
|
303
|
-
RIGHT,
|
|
303
|
+
RIGHT = 3,
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
|
|
@@ -318,15 +318,15 @@ export namespace Meta {
|
|
|
318
318
|
/**
|
|
319
319
|
* Whether the edge belongs to a window
|
|
320
320
|
*/
|
|
321
|
-
WINDOW,
|
|
321
|
+
WINDOW = 0,
|
|
322
322
|
/**
|
|
323
323
|
* Whether the edge belongs to a monitor
|
|
324
324
|
*/
|
|
325
|
-
MONITOR,
|
|
325
|
+
MONITOR = 1,
|
|
326
326
|
/**
|
|
327
327
|
* Whether the edge belongs to a screen
|
|
328
328
|
*/
|
|
329
|
-
SCREEN,
|
|
329
|
+
SCREEN = 2,
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
|
|
@@ -344,11 +344,11 @@ export namespace Meta {
|
|
|
344
344
|
/**
|
|
345
345
|
* Success
|
|
346
346
|
*/
|
|
347
|
-
SUCCESS,
|
|
347
|
+
SUCCESS = 0,
|
|
348
348
|
/**
|
|
349
349
|
* Error
|
|
350
350
|
*/
|
|
351
|
-
ERROR,
|
|
351
|
+
ERROR = 1,
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
|
|
@@ -366,35 +366,35 @@ export namespace Meta {
|
|
|
366
366
|
/**
|
|
367
367
|
* Normal frame
|
|
368
368
|
*/
|
|
369
|
-
NORMAL,
|
|
369
|
+
NORMAL = 0,
|
|
370
370
|
/**
|
|
371
371
|
* Dialog frame
|
|
372
372
|
*/
|
|
373
|
-
DIALOG,
|
|
373
|
+
DIALOG = 1,
|
|
374
374
|
/**
|
|
375
375
|
* Modal dialog frame
|
|
376
376
|
*/
|
|
377
|
-
MODAL_DIALOG,
|
|
377
|
+
MODAL_DIALOG = 2,
|
|
378
378
|
/**
|
|
379
379
|
* Utility frame
|
|
380
380
|
*/
|
|
381
|
-
UTILITY,
|
|
381
|
+
UTILITY = 3,
|
|
382
382
|
/**
|
|
383
383
|
* Menu frame
|
|
384
384
|
*/
|
|
385
|
-
MENU,
|
|
385
|
+
MENU = 4,
|
|
386
386
|
/**
|
|
387
387
|
* Border frame
|
|
388
388
|
*/
|
|
389
|
-
BORDER,
|
|
389
|
+
BORDER = 5,
|
|
390
390
|
/**
|
|
391
391
|
* Attached frame
|
|
392
392
|
*/
|
|
393
|
-
ATTACHED,
|
|
393
|
+
ATTACHED = 6,
|
|
394
394
|
/**
|
|
395
395
|
* Marks the end of the {@link Meta.FrameType} enumeration
|
|
396
396
|
*/
|
|
397
|
-
LAST,
|
|
397
|
+
LAST = 7,
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
|
|
@@ -412,86 +412,86 @@ export namespace Meta {
|
|
|
412
412
|
/**
|
|
413
413
|
* None
|
|
414
414
|
*/
|
|
415
|
-
NONE,
|
|
416
|
-
WINDOW_BASE,
|
|
417
|
-
WAYLAND_POPUP,
|
|
418
|
-
FRAME_BUTTON,
|
|
415
|
+
NONE = 0,
|
|
416
|
+
WINDOW_BASE = 1,
|
|
417
|
+
WAYLAND_POPUP = 2,
|
|
418
|
+
FRAME_BUTTON = 3,
|
|
419
419
|
/**
|
|
420
420
|
* Moving with pointer
|
|
421
421
|
*/
|
|
422
|
-
MOVING,
|
|
422
|
+
MOVING = 1,
|
|
423
423
|
/**
|
|
424
424
|
* Resizing NW with pointer
|
|
425
425
|
*/
|
|
426
|
-
RESIZING_NW,
|
|
426
|
+
RESIZING_NW = 36865,
|
|
427
427
|
/**
|
|
428
428
|
* Resizing N with pointer
|
|
429
429
|
*/
|
|
430
|
-
RESIZING_N,
|
|
430
|
+
RESIZING_N = 32769,
|
|
431
431
|
/**
|
|
432
432
|
* Resizing NE with pointer
|
|
433
433
|
*/
|
|
434
|
-
RESIZING_NE,
|
|
434
|
+
RESIZING_NE = 40961,
|
|
435
435
|
/**
|
|
436
436
|
* Resizing E with pointer
|
|
437
437
|
*/
|
|
438
|
-
RESIZING_E,
|
|
438
|
+
RESIZING_E = 8193,
|
|
439
439
|
/**
|
|
440
440
|
* Resizing SW with pointer
|
|
441
441
|
*/
|
|
442
|
-
RESIZING_SW,
|
|
442
|
+
RESIZING_SW = 20481,
|
|
443
443
|
/**
|
|
444
444
|
* Resizing S with pointer
|
|
445
445
|
*/
|
|
446
|
-
RESIZING_S,
|
|
446
|
+
RESIZING_S = 16385,
|
|
447
447
|
/**
|
|
448
448
|
* Resizing SE with pointer
|
|
449
449
|
*/
|
|
450
|
-
RESIZING_SE,
|
|
450
|
+
RESIZING_SE = 24577,
|
|
451
451
|
/**
|
|
452
452
|
* Resizing W with pointer
|
|
453
453
|
*/
|
|
454
|
-
RESIZING_W,
|
|
454
|
+
RESIZING_W = 4097,
|
|
455
455
|
/**
|
|
456
456
|
* Moving with keyboard
|
|
457
457
|
*/
|
|
458
|
-
KEYBOARD_MOVING,
|
|
458
|
+
KEYBOARD_MOVING = 257,
|
|
459
459
|
/**
|
|
460
460
|
* Resizing with keyboard
|
|
461
461
|
*/
|
|
462
|
-
KEYBOARD_RESIZING_UNKNOWN,
|
|
462
|
+
KEYBOARD_RESIZING_UNKNOWN = 769,
|
|
463
463
|
/**
|
|
464
464
|
* Resizing NS with keyboard
|
|
465
465
|
*/
|
|
466
|
-
KEYBOARD_RESIZING_NW,
|
|
466
|
+
KEYBOARD_RESIZING_NW = 37121,
|
|
467
467
|
/**
|
|
468
468
|
* Resizing N with keyboard
|
|
469
469
|
*/
|
|
470
|
-
KEYBOARD_RESIZING_N,
|
|
470
|
+
KEYBOARD_RESIZING_N = 33025,
|
|
471
471
|
/**
|
|
472
472
|
* Resizing NE with keyboard
|
|
473
473
|
*/
|
|
474
|
-
KEYBOARD_RESIZING_NE,
|
|
474
|
+
KEYBOARD_RESIZING_NE = 41217,
|
|
475
475
|
/**
|
|
476
476
|
* Resizing E with keyboard
|
|
477
477
|
*/
|
|
478
|
-
KEYBOARD_RESIZING_E,
|
|
478
|
+
KEYBOARD_RESIZING_E = 8449,
|
|
479
479
|
/**
|
|
480
480
|
* Resizing SW with keyboard
|
|
481
481
|
*/
|
|
482
|
-
KEYBOARD_RESIZING_SW,
|
|
482
|
+
KEYBOARD_RESIZING_SW = 20737,
|
|
483
483
|
/**
|
|
484
484
|
* Resizing S with keyboard
|
|
485
485
|
*/
|
|
486
|
-
KEYBOARD_RESIZING_S,
|
|
486
|
+
KEYBOARD_RESIZING_S = 16641,
|
|
487
487
|
/**
|
|
488
488
|
* Resizing SE with keyboard
|
|
489
489
|
*/
|
|
490
|
-
KEYBOARD_RESIZING_SE,
|
|
490
|
+
KEYBOARD_RESIZING_SE = 24833,
|
|
491
491
|
/**
|
|
492
492
|
* Resizing W with keyboard
|
|
493
493
|
*/
|
|
494
|
-
KEYBOARD_RESIZING_W,
|
|
494
|
+
KEYBOARD_RESIZING_W = 4353,
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
|
|
@@ -506,17 +506,17 @@ export namespace Meta {
|
|
|
506
506
|
* @gir-type Enum
|
|
507
507
|
*/
|
|
508
508
|
enum Gravity {
|
|
509
|
-
NONE,
|
|
510
|
-
NORTH_WEST,
|
|
511
|
-
NORTH,
|
|
512
|
-
NORTH_EAST,
|
|
513
|
-
WEST,
|
|
514
|
-
CENTER,
|
|
515
|
-
EAST,
|
|
516
|
-
SOUTH_WEST,
|
|
517
|
-
SOUTH,
|
|
518
|
-
SOUTH_EAST,
|
|
519
|
-
STATIC,
|
|
509
|
+
NONE = 0,
|
|
510
|
+
NORTH_WEST = 1,
|
|
511
|
+
NORTH = 2,
|
|
512
|
+
NORTH_EAST = 3,
|
|
513
|
+
WEST = 4,
|
|
514
|
+
CENTER = 5,
|
|
515
|
+
EAST = 6,
|
|
516
|
+
SOUTH_WEST = 7,
|
|
517
|
+
SOUTH = 8,
|
|
518
|
+
SOUTH_EAST = 9,
|
|
519
|
+
STATIC = 10,
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
|
|
@@ -531,8 +531,8 @@ export namespace Meta {
|
|
|
531
531
|
* @gir-type Enum
|
|
532
532
|
*/
|
|
533
533
|
enum InhibitShortcutsDialogResponse {
|
|
534
|
-
ALLOW,
|
|
535
|
-
DENY,
|
|
534
|
+
ALLOW = 0,
|
|
535
|
+
DENY = 1,
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
|
|
@@ -550,362 +550,362 @@ export namespace Meta {
|
|
|
550
550
|
/**
|
|
551
551
|
* FILLME
|
|
552
552
|
*/
|
|
553
|
-
NONE,
|
|
553
|
+
NONE = 0,
|
|
554
554
|
/**
|
|
555
555
|
* FILLME
|
|
556
556
|
*/
|
|
557
|
-
WORKSPACE_1,
|
|
557
|
+
WORKSPACE_1 = 1,
|
|
558
558
|
/**
|
|
559
559
|
* FILLME
|
|
560
560
|
*/
|
|
561
|
-
WORKSPACE_2,
|
|
561
|
+
WORKSPACE_2 = 2,
|
|
562
562
|
/**
|
|
563
563
|
* FILLME
|
|
564
564
|
*/
|
|
565
|
-
WORKSPACE_3,
|
|
565
|
+
WORKSPACE_3 = 3,
|
|
566
566
|
/**
|
|
567
567
|
* FILLME
|
|
568
568
|
*/
|
|
569
|
-
WORKSPACE_4,
|
|
569
|
+
WORKSPACE_4 = 4,
|
|
570
570
|
/**
|
|
571
571
|
* FILLME
|
|
572
572
|
*/
|
|
573
|
-
WORKSPACE_5,
|
|
573
|
+
WORKSPACE_5 = 5,
|
|
574
574
|
/**
|
|
575
575
|
* FILLME
|
|
576
576
|
*/
|
|
577
|
-
WORKSPACE_6,
|
|
577
|
+
WORKSPACE_6 = 6,
|
|
578
578
|
/**
|
|
579
579
|
* FILLME
|
|
580
580
|
*/
|
|
581
|
-
WORKSPACE_7,
|
|
581
|
+
WORKSPACE_7 = 7,
|
|
582
582
|
/**
|
|
583
583
|
* FILLME
|
|
584
584
|
*/
|
|
585
|
-
WORKSPACE_8,
|
|
585
|
+
WORKSPACE_8 = 8,
|
|
586
586
|
/**
|
|
587
587
|
* FILLME
|
|
588
588
|
*/
|
|
589
|
-
WORKSPACE_9,
|
|
589
|
+
WORKSPACE_9 = 9,
|
|
590
590
|
/**
|
|
591
591
|
* FILLME
|
|
592
592
|
*/
|
|
593
|
-
WORKSPACE_10,
|
|
593
|
+
WORKSPACE_10 = 10,
|
|
594
594
|
/**
|
|
595
595
|
* FILLME
|
|
596
596
|
*/
|
|
597
|
-
WORKSPACE_11,
|
|
597
|
+
WORKSPACE_11 = 11,
|
|
598
598
|
/**
|
|
599
599
|
* FILLME
|
|
600
600
|
*/
|
|
601
|
-
WORKSPACE_12,
|
|
601
|
+
WORKSPACE_12 = 12,
|
|
602
602
|
/**
|
|
603
603
|
* FILLME
|
|
604
604
|
*/
|
|
605
|
-
WORKSPACE_LEFT,
|
|
605
|
+
WORKSPACE_LEFT = 13,
|
|
606
606
|
/**
|
|
607
607
|
* FILLME
|
|
608
608
|
*/
|
|
609
|
-
WORKSPACE_RIGHT,
|
|
609
|
+
WORKSPACE_RIGHT = 14,
|
|
610
610
|
/**
|
|
611
611
|
* FILLME
|
|
612
612
|
*/
|
|
613
|
-
WORKSPACE_UP,
|
|
613
|
+
WORKSPACE_UP = 15,
|
|
614
614
|
/**
|
|
615
615
|
* FILLME
|
|
616
616
|
*/
|
|
617
|
-
WORKSPACE_DOWN,
|
|
617
|
+
WORKSPACE_DOWN = 16,
|
|
618
618
|
/**
|
|
619
619
|
* FILLME
|
|
620
620
|
*/
|
|
621
|
-
WORKSPACE_LAST,
|
|
621
|
+
WORKSPACE_LAST = 17,
|
|
622
622
|
/**
|
|
623
623
|
* FILLME
|
|
624
624
|
*/
|
|
625
|
-
SWITCH_APPLICATIONS,
|
|
625
|
+
SWITCH_APPLICATIONS = 18,
|
|
626
626
|
/**
|
|
627
627
|
* FILLME
|
|
628
628
|
*/
|
|
629
|
-
SWITCH_APPLICATIONS_BACKWARD,
|
|
629
|
+
SWITCH_APPLICATIONS_BACKWARD = 19,
|
|
630
630
|
/**
|
|
631
631
|
* FILLME
|
|
632
632
|
*/
|
|
633
|
-
SWITCH_GROUP,
|
|
633
|
+
SWITCH_GROUP = 20,
|
|
634
634
|
/**
|
|
635
635
|
* FILLME
|
|
636
636
|
*/
|
|
637
|
-
SWITCH_GROUP_BACKWARD,
|
|
637
|
+
SWITCH_GROUP_BACKWARD = 21,
|
|
638
638
|
/**
|
|
639
639
|
* FILLME
|
|
640
640
|
*/
|
|
641
|
-
SWITCH_WINDOWS,
|
|
641
|
+
SWITCH_WINDOWS = 22,
|
|
642
642
|
/**
|
|
643
643
|
* FILLME
|
|
644
644
|
*/
|
|
645
|
-
SWITCH_WINDOWS_BACKWARD,
|
|
645
|
+
SWITCH_WINDOWS_BACKWARD = 23,
|
|
646
646
|
/**
|
|
647
647
|
* FILLME
|
|
648
648
|
*/
|
|
649
|
-
SWITCH_PANELS,
|
|
649
|
+
SWITCH_PANELS = 24,
|
|
650
650
|
/**
|
|
651
651
|
* FILLME
|
|
652
652
|
*/
|
|
653
|
-
SWITCH_PANELS_BACKWARD,
|
|
653
|
+
SWITCH_PANELS_BACKWARD = 25,
|
|
654
654
|
/**
|
|
655
655
|
* FILLME
|
|
656
656
|
*/
|
|
657
|
-
CYCLE_GROUP,
|
|
657
|
+
CYCLE_GROUP = 26,
|
|
658
658
|
/**
|
|
659
659
|
* FILLME
|
|
660
660
|
*/
|
|
661
|
-
CYCLE_GROUP_BACKWARD,
|
|
661
|
+
CYCLE_GROUP_BACKWARD = 27,
|
|
662
662
|
/**
|
|
663
663
|
* FILLME
|
|
664
664
|
*/
|
|
665
|
-
CYCLE_WINDOWS,
|
|
665
|
+
CYCLE_WINDOWS = 28,
|
|
666
666
|
/**
|
|
667
667
|
* FILLME
|
|
668
668
|
*/
|
|
669
|
-
CYCLE_WINDOWS_BACKWARD,
|
|
669
|
+
CYCLE_WINDOWS_BACKWARD = 29,
|
|
670
670
|
/**
|
|
671
671
|
* FILLME
|
|
672
672
|
*/
|
|
673
|
-
CYCLE_PANELS,
|
|
673
|
+
CYCLE_PANELS = 30,
|
|
674
674
|
/**
|
|
675
675
|
* FILLME
|
|
676
676
|
*/
|
|
677
|
-
CYCLE_PANELS_BACKWARD,
|
|
677
|
+
CYCLE_PANELS_BACKWARD = 31,
|
|
678
678
|
/**
|
|
679
679
|
* FILLME
|
|
680
680
|
*/
|
|
681
|
-
SHOW_DESKTOP,
|
|
681
|
+
SHOW_DESKTOP = 32,
|
|
682
682
|
/**
|
|
683
683
|
* FILLME
|
|
684
684
|
*/
|
|
685
|
-
PANEL_RUN_DIALOG,
|
|
685
|
+
PANEL_RUN_DIALOG = 33,
|
|
686
686
|
/**
|
|
687
687
|
* FILLME
|
|
688
688
|
*/
|
|
689
|
-
TOGGLE_RECORDING,
|
|
689
|
+
TOGGLE_RECORDING = 34,
|
|
690
690
|
/**
|
|
691
691
|
* FILLME
|
|
692
692
|
*/
|
|
693
|
-
SET_SPEW_MARK,
|
|
693
|
+
SET_SPEW_MARK = 35,
|
|
694
694
|
/**
|
|
695
695
|
* FILLME
|
|
696
696
|
*/
|
|
697
|
-
ACTIVATE_WINDOW_MENU,
|
|
697
|
+
ACTIVATE_WINDOW_MENU = 36,
|
|
698
698
|
/**
|
|
699
699
|
* FILLME
|
|
700
700
|
*/
|
|
701
|
-
TOGGLE_FULLSCREEN,
|
|
701
|
+
TOGGLE_FULLSCREEN = 37,
|
|
702
702
|
/**
|
|
703
703
|
* FILLME
|
|
704
704
|
*/
|
|
705
|
-
TOGGLE_MAXIMIZED,
|
|
705
|
+
TOGGLE_MAXIMIZED = 38,
|
|
706
706
|
/**
|
|
707
707
|
* FILLME
|
|
708
708
|
*/
|
|
709
|
-
TOGGLE_TILED_LEFT,
|
|
709
|
+
TOGGLE_TILED_LEFT = 39,
|
|
710
710
|
/**
|
|
711
711
|
* FILLME
|
|
712
712
|
*/
|
|
713
|
-
TOGGLE_TILED_RIGHT,
|
|
713
|
+
TOGGLE_TILED_RIGHT = 40,
|
|
714
714
|
/**
|
|
715
715
|
* FILLME
|
|
716
716
|
*/
|
|
717
|
-
TOGGLE_ABOVE,
|
|
717
|
+
TOGGLE_ABOVE = 41,
|
|
718
718
|
/**
|
|
719
719
|
* FILLME
|
|
720
720
|
*/
|
|
721
|
-
MAXIMIZE,
|
|
721
|
+
MAXIMIZE = 42,
|
|
722
722
|
/**
|
|
723
723
|
* FILLME
|
|
724
724
|
*/
|
|
725
|
-
UNMAXIMIZE,
|
|
725
|
+
UNMAXIMIZE = 43,
|
|
726
726
|
/**
|
|
727
727
|
* FILLME
|
|
728
728
|
*/
|
|
729
|
-
TOGGLE_SHADED,
|
|
729
|
+
TOGGLE_SHADED = 44,
|
|
730
730
|
/**
|
|
731
731
|
* FILLME
|
|
732
732
|
*/
|
|
733
|
-
MINIMIZE,
|
|
733
|
+
MINIMIZE = 45,
|
|
734
734
|
/**
|
|
735
735
|
* FILLME
|
|
736
736
|
*/
|
|
737
|
-
CLOSE,
|
|
737
|
+
CLOSE = 46,
|
|
738
738
|
/**
|
|
739
739
|
* FILLME
|
|
740
740
|
*/
|
|
741
|
-
BEGIN_MOVE,
|
|
741
|
+
BEGIN_MOVE = 47,
|
|
742
742
|
/**
|
|
743
743
|
* FILLME
|
|
744
744
|
*/
|
|
745
|
-
BEGIN_RESIZE,
|
|
745
|
+
BEGIN_RESIZE = 48,
|
|
746
746
|
/**
|
|
747
747
|
* FILLME
|
|
748
748
|
*/
|
|
749
|
-
TOGGLE_ON_ALL_WORKSPACES,
|
|
749
|
+
TOGGLE_ON_ALL_WORKSPACES = 49,
|
|
750
750
|
/**
|
|
751
751
|
* FILLME
|
|
752
752
|
*/
|
|
753
|
-
MOVE_TO_WORKSPACE_1,
|
|
753
|
+
MOVE_TO_WORKSPACE_1 = 50,
|
|
754
754
|
/**
|
|
755
755
|
* FILLME
|
|
756
756
|
*/
|
|
757
|
-
MOVE_TO_WORKSPACE_2,
|
|
757
|
+
MOVE_TO_WORKSPACE_2 = 51,
|
|
758
758
|
/**
|
|
759
759
|
* FILLME
|
|
760
760
|
*/
|
|
761
|
-
MOVE_TO_WORKSPACE_3,
|
|
761
|
+
MOVE_TO_WORKSPACE_3 = 52,
|
|
762
762
|
/**
|
|
763
763
|
* FILLME
|
|
764
764
|
*/
|
|
765
|
-
MOVE_TO_WORKSPACE_4,
|
|
765
|
+
MOVE_TO_WORKSPACE_4 = 53,
|
|
766
766
|
/**
|
|
767
767
|
* FILLME
|
|
768
768
|
*/
|
|
769
|
-
MOVE_TO_WORKSPACE_5,
|
|
769
|
+
MOVE_TO_WORKSPACE_5 = 54,
|
|
770
770
|
/**
|
|
771
771
|
* FILLME
|
|
772
772
|
*/
|
|
773
|
-
MOVE_TO_WORKSPACE_6,
|
|
773
|
+
MOVE_TO_WORKSPACE_6 = 55,
|
|
774
774
|
/**
|
|
775
775
|
* FILLME
|
|
776
776
|
*/
|
|
777
|
-
MOVE_TO_WORKSPACE_7,
|
|
777
|
+
MOVE_TO_WORKSPACE_7 = 56,
|
|
778
778
|
/**
|
|
779
779
|
* FILLME
|
|
780
780
|
*/
|
|
781
|
-
MOVE_TO_WORKSPACE_8,
|
|
781
|
+
MOVE_TO_WORKSPACE_8 = 57,
|
|
782
782
|
/**
|
|
783
783
|
* FILLME
|
|
784
784
|
*/
|
|
785
|
-
MOVE_TO_WORKSPACE_9,
|
|
785
|
+
MOVE_TO_WORKSPACE_9 = 58,
|
|
786
786
|
/**
|
|
787
787
|
* FILLME
|
|
788
788
|
*/
|
|
789
|
-
MOVE_TO_WORKSPACE_10,
|
|
789
|
+
MOVE_TO_WORKSPACE_10 = 59,
|
|
790
790
|
/**
|
|
791
791
|
* FILLME
|
|
792
792
|
*/
|
|
793
|
-
MOVE_TO_WORKSPACE_11,
|
|
793
|
+
MOVE_TO_WORKSPACE_11 = 60,
|
|
794
794
|
/**
|
|
795
795
|
* FILLME
|
|
796
796
|
*/
|
|
797
|
-
MOVE_TO_WORKSPACE_12,
|
|
797
|
+
MOVE_TO_WORKSPACE_12 = 61,
|
|
798
798
|
/**
|
|
799
799
|
* FILLME
|
|
800
800
|
*/
|
|
801
|
-
MOVE_TO_WORKSPACE_LEFT,
|
|
801
|
+
MOVE_TO_WORKSPACE_LEFT = 62,
|
|
802
802
|
/**
|
|
803
803
|
* FILLME
|
|
804
804
|
*/
|
|
805
|
-
MOVE_TO_WORKSPACE_RIGHT,
|
|
805
|
+
MOVE_TO_WORKSPACE_RIGHT = 63,
|
|
806
806
|
/**
|
|
807
807
|
* FILLME
|
|
808
808
|
*/
|
|
809
|
-
MOVE_TO_WORKSPACE_UP,
|
|
809
|
+
MOVE_TO_WORKSPACE_UP = 64,
|
|
810
810
|
/**
|
|
811
811
|
* FILLME
|
|
812
812
|
*/
|
|
813
|
-
MOVE_TO_WORKSPACE_DOWN,
|
|
813
|
+
MOVE_TO_WORKSPACE_DOWN = 65,
|
|
814
814
|
/**
|
|
815
815
|
* FILLME
|
|
816
816
|
*/
|
|
817
|
-
MOVE_TO_WORKSPACE_LAST,
|
|
817
|
+
MOVE_TO_WORKSPACE_LAST = 66,
|
|
818
818
|
/**
|
|
819
819
|
* FILLME
|
|
820
820
|
*/
|
|
821
|
-
MOVE_TO_MONITOR_LEFT,
|
|
821
|
+
MOVE_TO_MONITOR_LEFT = 67,
|
|
822
822
|
/**
|
|
823
823
|
* FILLME
|
|
824
824
|
*/
|
|
825
|
-
MOVE_TO_MONITOR_RIGHT,
|
|
825
|
+
MOVE_TO_MONITOR_RIGHT = 68,
|
|
826
826
|
/**
|
|
827
827
|
* FILLME
|
|
828
828
|
*/
|
|
829
|
-
MOVE_TO_MONITOR_UP,
|
|
829
|
+
MOVE_TO_MONITOR_UP = 69,
|
|
830
830
|
/**
|
|
831
831
|
* FILLME
|
|
832
832
|
*/
|
|
833
|
-
MOVE_TO_MONITOR_DOWN,
|
|
833
|
+
MOVE_TO_MONITOR_DOWN = 70,
|
|
834
834
|
/**
|
|
835
835
|
* FILLME
|
|
836
836
|
*/
|
|
837
|
-
RAISE_OR_LOWER,
|
|
837
|
+
RAISE_OR_LOWER = 71,
|
|
838
838
|
/**
|
|
839
839
|
* FILLME
|
|
840
840
|
*/
|
|
841
|
-
RAISE,
|
|
841
|
+
RAISE = 72,
|
|
842
842
|
/**
|
|
843
843
|
* FILLME
|
|
844
844
|
*/
|
|
845
|
-
LOWER,
|
|
845
|
+
LOWER = 73,
|
|
846
846
|
/**
|
|
847
847
|
* FILLME
|
|
848
848
|
*/
|
|
849
|
-
MAXIMIZE_VERTICALLY,
|
|
849
|
+
MAXIMIZE_VERTICALLY = 74,
|
|
850
850
|
/**
|
|
851
851
|
* FILLME
|
|
852
852
|
*/
|
|
853
|
-
MAXIMIZE_HORIZONTALLY,
|
|
853
|
+
MAXIMIZE_HORIZONTALLY = 75,
|
|
854
854
|
/**
|
|
855
855
|
* FILLME
|
|
856
856
|
*/
|
|
857
|
-
MOVE_TO_CORNER_NW,
|
|
857
|
+
MOVE_TO_CORNER_NW = 76,
|
|
858
858
|
/**
|
|
859
859
|
* FILLME
|
|
860
860
|
*/
|
|
861
|
-
MOVE_TO_CORNER_NE,
|
|
861
|
+
MOVE_TO_CORNER_NE = 77,
|
|
862
862
|
/**
|
|
863
863
|
* FILLME
|
|
864
864
|
*/
|
|
865
|
-
MOVE_TO_CORNER_SW,
|
|
865
|
+
MOVE_TO_CORNER_SW = 78,
|
|
866
866
|
/**
|
|
867
867
|
* FILLME
|
|
868
868
|
*/
|
|
869
|
-
MOVE_TO_CORNER_SE,
|
|
869
|
+
MOVE_TO_CORNER_SE = 79,
|
|
870
870
|
/**
|
|
871
871
|
* FILLME
|
|
872
872
|
*/
|
|
873
|
-
MOVE_TO_SIDE_N,
|
|
873
|
+
MOVE_TO_SIDE_N = 80,
|
|
874
874
|
/**
|
|
875
875
|
* FILLME
|
|
876
876
|
*/
|
|
877
|
-
MOVE_TO_SIDE_S,
|
|
877
|
+
MOVE_TO_SIDE_S = 81,
|
|
878
878
|
/**
|
|
879
879
|
* FILLME
|
|
880
880
|
*/
|
|
881
|
-
MOVE_TO_SIDE_E,
|
|
881
|
+
MOVE_TO_SIDE_E = 82,
|
|
882
882
|
/**
|
|
883
883
|
* FILLME
|
|
884
884
|
*/
|
|
885
|
-
MOVE_TO_SIDE_W,
|
|
885
|
+
MOVE_TO_SIDE_W = 83,
|
|
886
886
|
/**
|
|
887
887
|
* FILLME
|
|
888
888
|
*/
|
|
889
|
-
MOVE_TO_CENTER,
|
|
889
|
+
MOVE_TO_CENTER = 84,
|
|
890
890
|
/**
|
|
891
891
|
* FILLME
|
|
892
892
|
*/
|
|
893
|
-
OVERLAY_KEY,
|
|
893
|
+
OVERLAY_KEY = 85,
|
|
894
894
|
/**
|
|
895
895
|
* FILLME
|
|
896
896
|
*/
|
|
897
|
-
LOCATE_POINTER_KEY,
|
|
898
|
-
ISO_NEXT_GROUP,
|
|
897
|
+
LOCATE_POINTER_KEY = 86,
|
|
898
|
+
ISO_NEXT_GROUP = 87,
|
|
899
899
|
/**
|
|
900
900
|
* FILLME
|
|
901
901
|
*/
|
|
902
|
-
ALWAYS_ON_TOP,
|
|
903
|
-
SWITCH_MONITOR,
|
|
904
|
-
ROTATE_MONITOR,
|
|
902
|
+
ALWAYS_ON_TOP = 88,
|
|
903
|
+
SWITCH_MONITOR = 89,
|
|
904
|
+
ROTATE_MONITOR = 90,
|
|
905
905
|
/**
|
|
906
906
|
* FILLME
|
|
907
907
|
*/
|
|
908
|
-
LAST,
|
|
908
|
+
LAST = 91,
|
|
909
909
|
}
|
|
910
910
|
|
|
911
911
|
|
|
@@ -924,28 +924,28 @@ export namespace Meta {
|
|
|
924
924
|
* call in a resize processing phase that is done
|
|
925
925
|
* before GTK+ repainting (including window borders) is done.
|
|
926
926
|
*/
|
|
927
|
-
RESIZE,
|
|
927
|
+
RESIZE = 0,
|
|
928
928
|
/**
|
|
929
929
|
* used by Mutter to compute which windows should be mapped
|
|
930
930
|
*/
|
|
931
|
-
CALC_SHOWING,
|
|
931
|
+
CALC_SHOWING = 1,
|
|
932
932
|
/**
|
|
933
933
|
* used by Mutter to see if there's a fullscreen window
|
|
934
934
|
*/
|
|
935
|
-
CHECK_FULLSCREEN,
|
|
935
|
+
CHECK_FULLSCREEN = 2,
|
|
936
936
|
/**
|
|
937
937
|
* used by Mutter to send it's idea of the stacking order to the server
|
|
938
938
|
*/
|
|
939
|
-
SYNC_STACK,
|
|
939
|
+
SYNC_STACK = 3,
|
|
940
940
|
/**
|
|
941
941
|
* call before the stage is redrawn
|
|
942
942
|
*/
|
|
943
|
-
BEFORE_REDRAW,
|
|
943
|
+
BEFORE_REDRAW = 4,
|
|
944
944
|
/**
|
|
945
945
|
* call at a very low priority (can be blocked
|
|
946
946
|
* by running animations or redrawing applications)
|
|
947
947
|
*/
|
|
948
|
-
IDLE,
|
|
948
|
+
IDLE = 5,
|
|
949
949
|
}
|
|
950
950
|
|
|
951
951
|
|
|
@@ -960,8 +960,8 @@ export namespace Meta {
|
|
|
960
960
|
* @gir-type Enum
|
|
961
961
|
*/
|
|
962
962
|
enum LocaleDirection {
|
|
963
|
-
LTR,
|
|
964
|
-
RTL,
|
|
963
|
+
LTR = 0,
|
|
964
|
+
RTL = 1,
|
|
965
965
|
}
|
|
966
966
|
|
|
967
967
|
|
|
@@ -976,11 +976,11 @@ export namespace Meta {
|
|
|
976
976
|
* @gir-type Enum
|
|
977
977
|
*/
|
|
978
978
|
enum MonitorSwitchConfigType {
|
|
979
|
-
ALL_MIRROR,
|
|
980
|
-
ALL_LINEAR,
|
|
981
|
-
EXTERNAL,
|
|
982
|
-
BUILTIN,
|
|
983
|
-
UNKNOWN,
|
|
979
|
+
ALL_MIRROR = 0,
|
|
980
|
+
ALL_LINEAR = 1,
|
|
981
|
+
EXTERNAL = 2,
|
|
982
|
+
BUILTIN = 3,
|
|
983
|
+
UNKNOWN = 4,
|
|
984
984
|
}
|
|
985
985
|
|
|
986
986
|
|
|
@@ -998,35 +998,35 @@ export namespace Meta {
|
|
|
998
998
|
/**
|
|
999
999
|
* Upwards motion
|
|
1000
1000
|
*/
|
|
1001
|
-
UP,
|
|
1001
|
+
UP = -1,
|
|
1002
1002
|
/**
|
|
1003
1003
|
* Downwards motion
|
|
1004
1004
|
*/
|
|
1005
|
-
DOWN,
|
|
1005
|
+
DOWN = -2,
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Motion to the left
|
|
1008
1008
|
*/
|
|
1009
|
-
LEFT,
|
|
1009
|
+
LEFT = -3,
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Motion to the right
|
|
1012
1012
|
*/
|
|
1013
|
-
RIGHT,
|
|
1013
|
+
RIGHT = -4,
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Motion up and to the left
|
|
1016
1016
|
*/
|
|
1017
|
-
UP_LEFT,
|
|
1017
|
+
UP_LEFT = -5,
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Motion up and to the right
|
|
1020
1020
|
*/
|
|
1021
|
-
UP_RIGHT,
|
|
1021
|
+
UP_RIGHT = -6,
|
|
1022
1022
|
/**
|
|
1023
1023
|
* Motion down and to the left
|
|
1024
1024
|
*/
|
|
1025
|
-
DOWN_LEFT,
|
|
1025
|
+
DOWN_LEFT = -7,
|
|
1026
1026
|
/**
|
|
1027
1027
|
* Motion down and to the right
|
|
1028
1028
|
*/
|
|
1029
|
-
DOWN_RIGHT,
|
|
1029
|
+
DOWN_RIGHT = -8,
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
1032
1032
|
|
|
@@ -1041,9 +1041,9 @@ export namespace Meta {
|
|
|
1041
1041
|
* @gir-type Enum
|
|
1042
1042
|
*/
|
|
1043
1043
|
enum PadActionType {
|
|
1044
|
-
BUTTON,
|
|
1045
|
-
RING,
|
|
1046
|
-
STRIP,
|
|
1044
|
+
BUTTON = 0,
|
|
1045
|
+
RING = 1,
|
|
1046
|
+
STRIP = 2,
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
1049
|
|
|
@@ -1061,140 +1061,140 @@ export namespace Meta {
|
|
|
1061
1061
|
/**
|
|
1062
1062
|
* mouse button modifiers
|
|
1063
1063
|
*/
|
|
1064
|
-
MOUSE_BUTTON_MODS,
|
|
1064
|
+
MOUSE_BUTTON_MODS = 0,
|
|
1065
1065
|
/**
|
|
1066
1066
|
* focus mode
|
|
1067
1067
|
*/
|
|
1068
|
-
FOCUS_MODE,
|
|
1068
|
+
FOCUS_MODE = 1,
|
|
1069
1069
|
/**
|
|
1070
1070
|
* focus new windows
|
|
1071
1071
|
*/
|
|
1072
|
-
FOCUS_NEW_WINDOWS,
|
|
1072
|
+
FOCUS_NEW_WINDOWS = 2,
|
|
1073
1073
|
/**
|
|
1074
1074
|
* attach modal dialogs
|
|
1075
1075
|
*/
|
|
1076
|
-
ATTACH_MODAL_DIALOGS,
|
|
1076
|
+
ATTACH_MODAL_DIALOGS = 3,
|
|
1077
1077
|
/**
|
|
1078
1078
|
* raise on click
|
|
1079
1079
|
*/
|
|
1080
|
-
RAISE_ON_CLICK,
|
|
1080
|
+
RAISE_ON_CLICK = 4,
|
|
1081
1081
|
/**
|
|
1082
1082
|
* action double click titlebar
|
|
1083
1083
|
*/
|
|
1084
|
-
ACTION_DOUBLE_CLICK_TITLEBAR,
|
|
1084
|
+
ACTION_DOUBLE_CLICK_TITLEBAR = 5,
|
|
1085
1085
|
/**
|
|
1086
1086
|
* action middle click titlebar
|
|
1087
1087
|
*/
|
|
1088
|
-
ACTION_MIDDLE_CLICK_TITLEBAR,
|
|
1088
|
+
ACTION_MIDDLE_CLICK_TITLEBAR = 6,
|
|
1089
1089
|
/**
|
|
1090
1090
|
* action right click titlebar
|
|
1091
1091
|
*/
|
|
1092
|
-
ACTION_RIGHT_CLICK_TITLEBAR,
|
|
1092
|
+
ACTION_RIGHT_CLICK_TITLEBAR = 7,
|
|
1093
1093
|
/**
|
|
1094
1094
|
* auto-raise
|
|
1095
1095
|
*/
|
|
1096
|
-
AUTO_RAISE,
|
|
1096
|
+
AUTO_RAISE = 8,
|
|
1097
1097
|
/**
|
|
1098
1098
|
* auto-raise delay
|
|
1099
1099
|
*/
|
|
1100
|
-
AUTO_RAISE_DELAY,
|
|
1100
|
+
AUTO_RAISE_DELAY = 9,
|
|
1101
1101
|
/**
|
|
1102
1102
|
* focus change on pointer rest
|
|
1103
1103
|
*/
|
|
1104
|
-
FOCUS_CHANGE_ON_POINTER_REST,
|
|
1104
|
+
FOCUS_CHANGE_ON_POINTER_REST = 10,
|
|
1105
1105
|
/**
|
|
1106
1106
|
* title-bar font
|
|
1107
1107
|
*/
|
|
1108
|
-
TITLEBAR_FONT,
|
|
1108
|
+
TITLEBAR_FONT = 11,
|
|
1109
1109
|
/**
|
|
1110
1110
|
* number of workspaces
|
|
1111
1111
|
*/
|
|
1112
|
-
NUM_WORKSPACES,
|
|
1112
|
+
NUM_WORKSPACES = 12,
|
|
1113
1113
|
/**
|
|
1114
1114
|
* dynamic workspaces
|
|
1115
1115
|
*/
|
|
1116
|
-
DYNAMIC_WORKSPACES,
|
|
1116
|
+
DYNAMIC_WORKSPACES = 13,
|
|
1117
1117
|
/**
|
|
1118
1118
|
* keybindings
|
|
1119
1119
|
*/
|
|
1120
|
-
KEYBINDINGS,
|
|
1120
|
+
KEYBINDINGS = 14,
|
|
1121
1121
|
/**
|
|
1122
1122
|
* disable workarounds
|
|
1123
1123
|
*/
|
|
1124
|
-
DISABLE_WORKAROUNDS,
|
|
1124
|
+
DISABLE_WORKAROUNDS = 15,
|
|
1125
1125
|
/**
|
|
1126
1126
|
* button layout
|
|
1127
1127
|
*/
|
|
1128
|
-
BUTTON_LAYOUT,
|
|
1128
|
+
BUTTON_LAYOUT = 16,
|
|
1129
1129
|
/**
|
|
1130
1130
|
* workspace names
|
|
1131
1131
|
*/
|
|
1132
|
-
WORKSPACE_NAMES,
|
|
1132
|
+
WORKSPACE_NAMES = 17,
|
|
1133
1133
|
/**
|
|
1134
1134
|
* visual bell
|
|
1135
1135
|
*/
|
|
1136
|
-
VISUAL_BELL,
|
|
1136
|
+
VISUAL_BELL = 18,
|
|
1137
1137
|
/**
|
|
1138
1138
|
* audible bell
|
|
1139
1139
|
*/
|
|
1140
|
-
AUDIBLE_BELL,
|
|
1140
|
+
AUDIBLE_BELL = 19,
|
|
1141
1141
|
/**
|
|
1142
1142
|
* visual bell type
|
|
1143
1143
|
*/
|
|
1144
|
-
VISUAL_BELL_TYPE,
|
|
1144
|
+
VISUAL_BELL_TYPE = 20,
|
|
1145
1145
|
/**
|
|
1146
1146
|
* GNOME accessibility
|
|
1147
1147
|
*/
|
|
1148
|
-
GNOME_ACCESSIBILITY,
|
|
1148
|
+
GNOME_ACCESSIBILITY = 21,
|
|
1149
1149
|
/**
|
|
1150
1150
|
* GNOME animations
|
|
1151
1151
|
*/
|
|
1152
|
-
GNOME_ANIMATIONS,
|
|
1152
|
+
GNOME_ANIMATIONS = 22,
|
|
1153
1153
|
/**
|
|
1154
1154
|
* cursor theme
|
|
1155
1155
|
*/
|
|
1156
|
-
CURSOR_THEME,
|
|
1156
|
+
CURSOR_THEME = 23,
|
|
1157
1157
|
/**
|
|
1158
1158
|
* cursor size
|
|
1159
1159
|
*/
|
|
1160
|
-
CURSOR_SIZE,
|
|
1160
|
+
CURSOR_SIZE = 24,
|
|
1161
1161
|
/**
|
|
1162
1162
|
* resize with right button
|
|
1163
1163
|
*/
|
|
1164
|
-
RESIZE_WITH_RIGHT_BUTTON,
|
|
1164
|
+
RESIZE_WITH_RIGHT_BUTTON = 25,
|
|
1165
1165
|
/**
|
|
1166
1166
|
* edge tiling
|
|
1167
1167
|
*/
|
|
1168
|
-
EDGE_TILING,
|
|
1168
|
+
EDGE_TILING = 26,
|
|
1169
1169
|
/**
|
|
1170
1170
|
* force fullscreen
|
|
1171
1171
|
*/
|
|
1172
|
-
FORCE_FULLSCREEN,
|
|
1172
|
+
FORCE_FULLSCREEN = 27,
|
|
1173
1173
|
/**
|
|
1174
1174
|
* workspaces only on primary
|
|
1175
1175
|
*/
|
|
1176
|
-
WORKSPACES_ONLY_ON_PRIMARY,
|
|
1176
|
+
WORKSPACES_ONLY_ON_PRIMARY = 28,
|
|
1177
1177
|
/**
|
|
1178
1178
|
* draggable border width
|
|
1179
1179
|
*/
|
|
1180
|
-
DRAGGABLE_BORDER_WIDTH,
|
|
1180
|
+
DRAGGABLE_BORDER_WIDTH = 29,
|
|
1181
1181
|
/**
|
|
1182
1182
|
* auto-maximize
|
|
1183
1183
|
*/
|
|
1184
|
-
AUTO_MAXIMIZE,
|
|
1184
|
+
AUTO_MAXIMIZE = 30,
|
|
1185
1185
|
/**
|
|
1186
1186
|
* center new windows
|
|
1187
1187
|
*/
|
|
1188
|
-
CENTER_NEW_WINDOWS,
|
|
1188
|
+
CENTER_NEW_WINDOWS = 31,
|
|
1189
1189
|
/**
|
|
1190
1190
|
* drag threshold
|
|
1191
1191
|
*/
|
|
1192
|
-
DRAG_THRESHOLD,
|
|
1192
|
+
DRAG_THRESHOLD = 32,
|
|
1193
1193
|
/**
|
|
1194
1194
|
* show pointer location
|
|
1195
1195
|
*/
|
|
1196
|
-
LOCATE_POINTER,
|
|
1197
|
-
CHECK_ALIVE_TIMEOUT,
|
|
1196
|
+
LOCATE_POINTER = 33,
|
|
1197
|
+
CHECK_ALIVE_TIMEOUT = 34,
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
1200
|
|
|
@@ -1209,10 +1209,10 @@ export namespace Meta {
|
|
|
1209
1209
|
* @gir-type Enum
|
|
1210
1210
|
*/
|
|
1211
1211
|
enum SelectionType {
|
|
1212
|
-
SELECTION_PRIMARY,
|
|
1213
|
-
SELECTION_CLIPBOARD,
|
|
1214
|
-
SELECTION_DND,
|
|
1215
|
-
N_SELECTION_TYPES,
|
|
1212
|
+
SELECTION_PRIMARY = 0,
|
|
1213
|
+
SELECTION_CLIPBOARD = 1,
|
|
1214
|
+
SELECTION_DND = 2,
|
|
1215
|
+
N_SELECTION_TYPES = 3,
|
|
1216
1216
|
}
|
|
1217
1217
|
|
|
1218
1218
|
|
|
@@ -1227,9 +1227,9 @@ export namespace Meta {
|
|
|
1227
1227
|
* @gir-type Enum
|
|
1228
1228
|
*/
|
|
1229
1229
|
enum ShadowMode {
|
|
1230
|
-
AUTO,
|
|
1231
|
-
FORCED_OFF,
|
|
1232
|
-
FORCED_ON,
|
|
1230
|
+
AUTO = 0,
|
|
1231
|
+
FORCED_OFF = 1,
|
|
1232
|
+
FORCED_ON = 2,
|
|
1233
1233
|
}
|
|
1234
1234
|
|
|
1235
1235
|
|
|
@@ -1247,19 +1247,19 @@ export namespace Meta {
|
|
|
1247
1247
|
/**
|
|
1248
1248
|
* Left side
|
|
1249
1249
|
*/
|
|
1250
|
-
LEFT,
|
|
1250
|
+
LEFT = 1,
|
|
1251
1251
|
/**
|
|
1252
1252
|
* Right side
|
|
1253
1253
|
*/
|
|
1254
|
-
RIGHT,
|
|
1254
|
+
RIGHT = 2,
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Top side
|
|
1257
1257
|
*/
|
|
1258
|
-
TOP,
|
|
1258
|
+
TOP = 4,
|
|
1259
1259
|
/**
|
|
1260
1260
|
* Bottom side
|
|
1261
1261
|
*/
|
|
1262
|
-
BOTTOM,
|
|
1262
|
+
BOTTOM = 8,
|
|
1263
1263
|
}
|
|
1264
1264
|
|
|
1265
1265
|
|
|
@@ -1274,10 +1274,10 @@ export namespace Meta {
|
|
|
1274
1274
|
* @gir-type Enum
|
|
1275
1275
|
*/
|
|
1276
1276
|
enum SizeChange {
|
|
1277
|
-
MAXIMIZE,
|
|
1278
|
-
UNMAXIMIZE,
|
|
1279
|
-
FULLSCREEN,
|
|
1280
|
-
UNFULLSCREEN,
|
|
1277
|
+
MAXIMIZE = 0,
|
|
1278
|
+
UNMAXIMIZE = 1,
|
|
1279
|
+
FULLSCREEN = 2,
|
|
1280
|
+
UNFULLSCREEN = 3,
|
|
1281
1281
|
}
|
|
1282
1282
|
|
|
1283
1283
|
|
|
@@ -1297,31 +1297,31 @@ export namespace Meta {
|
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Desktop layer
|
|
1299
1299
|
*/
|
|
1300
|
-
DESKTOP,
|
|
1300
|
+
DESKTOP = 0,
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Bottom layer
|
|
1303
1303
|
*/
|
|
1304
|
-
BOTTOM,
|
|
1304
|
+
BOTTOM = 1,
|
|
1305
1305
|
/**
|
|
1306
1306
|
* Normal layer
|
|
1307
1307
|
*/
|
|
1308
|
-
NORMAL,
|
|
1308
|
+
NORMAL = 2,
|
|
1309
1309
|
/**
|
|
1310
1310
|
* Top layer
|
|
1311
1311
|
*/
|
|
1312
|
-
TOP,
|
|
1312
|
+
TOP = 4,
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Dock layer
|
|
1315
1315
|
*/
|
|
1316
|
-
DOCK,
|
|
1316
|
+
DOCK = 4,
|
|
1317
1317
|
/**
|
|
1318
1318
|
* Override-redirect layer
|
|
1319
1319
|
*/
|
|
1320
|
-
OVERRIDE_REDIRECT,
|
|
1320
|
+
OVERRIDE_REDIRECT = 7,
|
|
1321
1321
|
/**
|
|
1322
1322
|
* Marks the end of the {@link Meta.StackLayer} enumeration
|
|
1323
1323
|
*/
|
|
1324
|
-
LAST,
|
|
1324
|
+
LAST = 8,
|
|
1325
1325
|
}
|
|
1326
1326
|
|
|
1327
1327
|
|
|
@@ -1339,19 +1339,19 @@ export namespace Meta {
|
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Normal windows
|
|
1341
1341
|
*/
|
|
1342
|
-
NORMAL,
|
|
1342
|
+
NORMAL = 0,
|
|
1343
1343
|
/**
|
|
1344
1344
|
* Dock windows
|
|
1345
1345
|
*/
|
|
1346
|
-
DOCKS,
|
|
1346
|
+
DOCKS = 1,
|
|
1347
1347
|
/**
|
|
1348
1348
|
* Groups
|
|
1349
1349
|
*/
|
|
1350
|
-
GROUP,
|
|
1350
|
+
GROUP = 2,
|
|
1351
1351
|
/**
|
|
1352
1352
|
* All windows
|
|
1353
1353
|
*/
|
|
1354
|
-
NORMAL_ALL,
|
|
1354
|
+
NORMAL_ALL = 3,
|
|
1355
1355
|
}
|
|
1356
1356
|
|
|
1357
1357
|
|
|
@@ -1369,11 +1369,11 @@ export namespace Meta {
|
|
|
1369
1369
|
/**
|
|
1370
1370
|
* Show icon (Alt-Tab mode)
|
|
1371
1371
|
*/
|
|
1372
|
-
ICON,
|
|
1372
|
+
ICON = 0,
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Show instantly (Alt-Esc mode)
|
|
1375
1375
|
*/
|
|
1376
|
-
INSTANTLY,
|
|
1376
|
+
INSTANTLY = 1,
|
|
1377
1377
|
}
|
|
1378
1378
|
|
|
1379
1379
|
|
|
@@ -1391,11 +1391,11 @@ export namespace Meta {
|
|
|
1391
1391
|
/**
|
|
1392
1392
|
* A Wayland based window
|
|
1393
1393
|
*/
|
|
1394
|
-
WAYLAND,
|
|
1394
|
+
WAYLAND = 0,
|
|
1395
1395
|
/**
|
|
1396
1396
|
* An X11 based window
|
|
1397
1397
|
*/
|
|
1398
|
-
X11,
|
|
1398
|
+
X11 = 1,
|
|
1399
1399
|
}
|
|
1400
1400
|
|
|
1401
1401
|
|
|
@@ -1414,11 +1414,11 @@ export namespace Meta {
|
|
|
1414
1414
|
/**
|
|
1415
1415
|
* the window manager menu
|
|
1416
1416
|
*/
|
|
1417
|
-
WM,
|
|
1417
|
+
WM = 0,
|
|
1418
1418
|
/**
|
|
1419
1419
|
* the (fallback) app menu
|
|
1420
1420
|
*/
|
|
1421
|
-
APP,
|
|
1421
|
+
APP = 1,
|
|
1422
1422
|
}
|
|
1423
1423
|
|
|
1424
1424
|
|
|
@@ -1436,92 +1436,128 @@ export namespace Meta {
|
|
|
1436
1436
|
/**
|
|
1437
1437
|
* Normal
|
|
1438
1438
|
*/
|
|
1439
|
-
NORMAL,
|
|
1439
|
+
NORMAL = 0,
|
|
1440
1440
|
/**
|
|
1441
1441
|
* Desktop
|
|
1442
1442
|
*/
|
|
1443
|
-
DESKTOP,
|
|
1443
|
+
DESKTOP = 1,
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Dock
|
|
1446
1446
|
*/
|
|
1447
|
-
DOCK,
|
|
1447
|
+
DOCK = 2,
|
|
1448
1448
|
/**
|
|
1449
1449
|
* Dialog
|
|
1450
1450
|
*/
|
|
1451
|
-
DIALOG,
|
|
1451
|
+
DIALOG = 3,
|
|
1452
1452
|
/**
|
|
1453
1453
|
* Modal dialog
|
|
1454
1454
|
*/
|
|
1455
|
-
MODAL_DIALOG,
|
|
1455
|
+
MODAL_DIALOG = 4,
|
|
1456
1456
|
/**
|
|
1457
1457
|
* Toolbar
|
|
1458
1458
|
*/
|
|
1459
|
-
TOOLBAR,
|
|
1459
|
+
TOOLBAR = 5,
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Menu
|
|
1462
1462
|
*/
|
|
1463
|
-
MENU,
|
|
1463
|
+
MENU = 6,
|
|
1464
1464
|
/**
|
|
1465
1465
|
* Utility
|
|
1466
1466
|
*/
|
|
1467
|
-
UTILITY,
|
|
1467
|
+
UTILITY = 7,
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Splashcreen
|
|
1470
1470
|
*/
|
|
1471
|
-
SPLASHSCREEN,
|
|
1471
|
+
SPLASHSCREEN = 8,
|
|
1472
1472
|
/**
|
|
1473
1473
|
* Dropdown menu
|
|
1474
1474
|
*/
|
|
1475
|
-
DROPDOWN_MENU,
|
|
1475
|
+
DROPDOWN_MENU = 9,
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Popup menu
|
|
1478
1478
|
*/
|
|
1479
|
-
POPUP_MENU,
|
|
1479
|
+
POPUP_MENU = 10,
|
|
1480
1480
|
/**
|
|
1481
1481
|
* Tooltip
|
|
1482
1482
|
*/
|
|
1483
|
-
TOOLTIP,
|
|
1483
|
+
TOOLTIP = 11,
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Notification
|
|
1486
1486
|
*/
|
|
1487
|
-
NOTIFICATION,
|
|
1487
|
+
NOTIFICATION = 12,
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Combobox
|
|
1490
1490
|
*/
|
|
1491
|
-
COMBO,
|
|
1491
|
+
COMBO = 13,
|
|
1492
1492
|
/**
|
|
1493
1493
|
* Drag and drop
|
|
1494
1494
|
*/
|
|
1495
|
-
DND,
|
|
1495
|
+
DND = 14,
|
|
1496
1496
|
/**
|
|
1497
1497
|
* Other override-redirect window type
|
|
1498
1498
|
*/
|
|
1499
|
-
OVERRIDE_OTHER,
|
|
1499
|
+
OVERRIDE_OTHER = 15,
|
|
1500
1500
|
}
|
|
1501
1501
|
|
|
1502
1502
|
|
|
1503
|
+
/**
|
|
1504
|
+
* @default 0
|
|
1505
|
+
*/
|
|
1503
1506
|
const CURRENT_TIME: number;
|
|
1504
1507
|
|
|
1508
|
+
/**
|
|
1509
|
+
* @default window
|
|
1510
|
+
*/
|
|
1505
1511
|
const DEFAULT_ICON_NAME: string;
|
|
1506
1512
|
|
|
1513
|
+
/**
|
|
1514
|
+
* @default 96
|
|
1515
|
+
*/
|
|
1507
1516
|
const ICON_HEIGHT: number;
|
|
1508
1517
|
|
|
1518
|
+
/**
|
|
1519
|
+
* @default 96
|
|
1520
|
+
*/
|
|
1509
1521
|
const ICON_WIDTH: number;
|
|
1510
1522
|
|
|
1523
|
+
/**
|
|
1524
|
+
* @default 16
|
|
1525
|
+
*/
|
|
1511
1526
|
const MINI_ICON_HEIGHT: number;
|
|
1512
1527
|
|
|
1528
|
+
/**
|
|
1529
|
+
* @default 16
|
|
1530
|
+
*/
|
|
1513
1531
|
const MINI_ICON_WIDTH: number;
|
|
1514
1532
|
|
|
1533
|
+
/**
|
|
1534
|
+
* @default 40
|
|
1535
|
+
*/
|
|
1515
1536
|
const PRIORITY_BEFORE_REDRAW: number;
|
|
1516
1537
|
|
|
1538
|
+
/**
|
|
1539
|
+
* @default 10
|
|
1540
|
+
*/
|
|
1517
1541
|
const PRIORITY_PREFS_NOTIFY: number;
|
|
1518
1542
|
|
|
1543
|
+
/**
|
|
1544
|
+
* @default 50
|
|
1545
|
+
*/
|
|
1519
1546
|
const PRIORITY_REDRAW: number;
|
|
1520
1547
|
|
|
1548
|
+
/**
|
|
1549
|
+
* @default 15
|
|
1550
|
+
*/
|
|
1521
1551
|
const PRIORITY_RESIZE: number;
|
|
1522
1552
|
|
|
1553
|
+
/**
|
|
1554
|
+
* @default 3
|
|
1555
|
+
*/
|
|
1523
1556
|
const VIRTUAL_CORE_KEYBOARD_ID: number;
|
|
1524
1557
|
|
|
1558
|
+
/**
|
|
1559
|
+
* @default 2
|
|
1560
|
+
*/
|
|
1525
1561
|
const VIRTUAL_CORE_POINTER_ID: number;
|
|
1526
1562
|
|
|
1527
1563
|
/**
|
|
@@ -1881,6 +1917,9 @@ export namespace Meta {
|
|
|
1881
1917
|
*/
|
|
1882
1918
|
function x11_error_trap_push(x11_display: X11Display): void;
|
|
1883
1919
|
|
|
1920
|
+
/**
|
|
1921
|
+
* @throws GLib.Error
|
|
1922
|
+
*/
|
|
1884
1923
|
function x11_init_gdk_display(): boolean;
|
|
1885
1924
|
|
|
1886
1925
|
/**
|
|
@@ -1925,19 +1964,19 @@ export namespace Meta {
|
|
|
1925
1964
|
/**
|
|
1926
1965
|
* Positive direction in the X axis
|
|
1927
1966
|
*/
|
|
1928
|
-
POSITIVE_X,
|
|
1967
|
+
POSITIVE_X = 1,
|
|
1929
1968
|
/**
|
|
1930
1969
|
* Positive direction in the Y axis
|
|
1931
1970
|
*/
|
|
1932
|
-
POSITIVE_Y,
|
|
1971
|
+
POSITIVE_Y = 2,
|
|
1933
1972
|
/**
|
|
1934
1973
|
* Negative direction in the X axis
|
|
1935
1974
|
*/
|
|
1936
|
-
NEGATIVE_X,
|
|
1975
|
+
NEGATIVE_X = 4,
|
|
1937
1976
|
/**
|
|
1938
1977
|
* Negative direction in the Y axis
|
|
1939
1978
|
*/
|
|
1940
|
-
NEGATIVE_Y,
|
|
1979
|
+
NEGATIVE_Y = 8,
|
|
1941
1980
|
}
|
|
1942
1981
|
|
|
1943
1982
|
|
|
@@ -1955,11 +1994,11 @@ export namespace Meta {
|
|
|
1955
1994
|
/**
|
|
1956
1995
|
* default
|
|
1957
1996
|
*/
|
|
1958
|
-
NONE,
|
|
1997
|
+
NONE = 0,
|
|
1959
1998
|
/**
|
|
1960
1999
|
* paint opaque regions
|
|
1961
2000
|
*/
|
|
1962
|
-
OPAQUE_REGION,
|
|
2001
|
+
OPAQUE_REGION = 1,
|
|
1963
2002
|
}
|
|
1964
2003
|
|
|
1965
2004
|
|
|
@@ -1977,105 +2016,105 @@ export namespace Meta {
|
|
|
1977
2016
|
/**
|
|
1978
2017
|
* verbose logging
|
|
1979
2018
|
*/
|
|
1980
|
-
VERBOSE,
|
|
2019
|
+
VERBOSE = -1,
|
|
1981
2020
|
/**
|
|
1982
2021
|
* focus
|
|
1983
2022
|
*/
|
|
1984
|
-
FOCUS,
|
|
2023
|
+
FOCUS = 1,
|
|
1985
2024
|
/**
|
|
1986
2025
|
* workarea
|
|
1987
2026
|
*/
|
|
1988
|
-
WORKAREA,
|
|
2027
|
+
WORKAREA = 2,
|
|
1989
2028
|
/**
|
|
1990
2029
|
* stack
|
|
1991
2030
|
*/
|
|
1992
|
-
STACK,
|
|
2031
|
+
STACK = 4,
|
|
1993
2032
|
/**
|
|
1994
2033
|
* session management
|
|
1995
2034
|
*/
|
|
1996
|
-
SM,
|
|
2035
|
+
SM = 8,
|
|
1997
2036
|
/**
|
|
1998
2037
|
* events
|
|
1999
2038
|
*/
|
|
2000
|
-
EVENTS,
|
|
2039
|
+
EVENTS = 16,
|
|
2001
2040
|
/**
|
|
2002
2041
|
* window state
|
|
2003
2042
|
*/
|
|
2004
|
-
WINDOW_STATE,
|
|
2043
|
+
WINDOW_STATE = 32,
|
|
2005
2044
|
/**
|
|
2006
2045
|
* window operations
|
|
2007
2046
|
*/
|
|
2008
|
-
WINDOW_OPS,
|
|
2047
|
+
WINDOW_OPS = 64,
|
|
2009
2048
|
/**
|
|
2010
2049
|
* geometry
|
|
2011
2050
|
*/
|
|
2012
|
-
GEOMETRY,
|
|
2051
|
+
GEOMETRY = 128,
|
|
2013
2052
|
/**
|
|
2014
2053
|
* window placement
|
|
2015
2054
|
*/
|
|
2016
|
-
PLACEMENT,
|
|
2055
|
+
PLACEMENT = 256,
|
|
2017
2056
|
/**
|
|
2018
2057
|
* ping
|
|
2019
2058
|
*/
|
|
2020
|
-
PING,
|
|
2059
|
+
PING = 512,
|
|
2021
2060
|
/**
|
|
2022
2061
|
* keybindings
|
|
2023
2062
|
*/
|
|
2024
|
-
KEYBINDINGS,
|
|
2063
|
+
KEYBINDINGS = 1024,
|
|
2025
2064
|
/**
|
|
2026
2065
|
* sync
|
|
2027
2066
|
*/
|
|
2028
|
-
SYNC,
|
|
2067
|
+
SYNC = 2048,
|
|
2029
2068
|
/**
|
|
2030
2069
|
* startup
|
|
2031
2070
|
*/
|
|
2032
|
-
STARTUP,
|
|
2071
|
+
STARTUP = 4096,
|
|
2033
2072
|
/**
|
|
2034
2073
|
* preferences
|
|
2035
2074
|
*/
|
|
2036
|
-
PREFS,
|
|
2075
|
+
PREFS = 8192,
|
|
2037
2076
|
/**
|
|
2038
2077
|
* groups
|
|
2039
2078
|
*/
|
|
2040
|
-
GROUPS,
|
|
2079
|
+
GROUPS = 16384,
|
|
2041
2080
|
/**
|
|
2042
2081
|
* resizing
|
|
2043
2082
|
*/
|
|
2044
|
-
RESIZING,
|
|
2083
|
+
RESIZING = 32768,
|
|
2045
2084
|
/**
|
|
2046
2085
|
* shapes
|
|
2047
2086
|
*/
|
|
2048
|
-
SHAPES,
|
|
2087
|
+
SHAPES = 65536,
|
|
2049
2088
|
/**
|
|
2050
2089
|
* edge resistance
|
|
2051
2090
|
*/
|
|
2052
|
-
EDGE_RESISTANCE,
|
|
2053
|
-
DBUS,
|
|
2054
|
-
INPUT,
|
|
2091
|
+
EDGE_RESISTANCE = 131072,
|
|
2092
|
+
DBUS = 262144,
|
|
2093
|
+
INPUT = 524288,
|
|
2055
2094
|
/**
|
|
2056
2095
|
* Wayland
|
|
2057
2096
|
*/
|
|
2058
|
-
WAYLAND,
|
|
2097
|
+
WAYLAND = 1048576,
|
|
2059
2098
|
/**
|
|
2060
2099
|
* kernel mode setting
|
|
2061
2100
|
*/
|
|
2062
|
-
KMS,
|
|
2101
|
+
KMS = 2097152,
|
|
2063
2102
|
/**
|
|
2064
2103
|
* screencasting
|
|
2065
2104
|
*/
|
|
2066
|
-
SCREEN_CAST,
|
|
2105
|
+
SCREEN_CAST = 4194304,
|
|
2067
2106
|
/**
|
|
2068
2107
|
* remote desktop
|
|
2069
2108
|
*/
|
|
2070
|
-
REMOTE_DESKTOP,
|
|
2109
|
+
REMOTE_DESKTOP = 8388608,
|
|
2071
2110
|
/**
|
|
2072
2111
|
* backend
|
|
2073
2112
|
*/
|
|
2074
|
-
BACKEND,
|
|
2113
|
+
BACKEND = 16777216,
|
|
2075
2114
|
/**
|
|
2076
2115
|
* native backend rendering
|
|
2077
2116
|
*/
|
|
2078
|
-
RENDER,
|
|
2117
|
+
RENDER = 33554432,
|
|
2079
2118
|
}
|
|
2080
2119
|
|
|
2081
2120
|
|
|
@@ -2093,35 +2132,35 @@ export namespace Meta {
|
|
|
2093
2132
|
/**
|
|
2094
2133
|
* Left
|
|
2095
2134
|
*/
|
|
2096
|
-
LEFT,
|
|
2135
|
+
LEFT = 1,
|
|
2097
2136
|
/**
|
|
2098
2137
|
* Right
|
|
2099
2138
|
*/
|
|
2100
|
-
RIGHT,
|
|
2139
|
+
RIGHT = 2,
|
|
2101
2140
|
/**
|
|
2102
2141
|
* Top
|
|
2103
2142
|
*/
|
|
2104
|
-
TOP,
|
|
2143
|
+
TOP = 4,
|
|
2105
2144
|
/**
|
|
2106
2145
|
* Bottom
|
|
2107
2146
|
*/
|
|
2108
|
-
BOTTOM,
|
|
2147
|
+
BOTTOM = 8,
|
|
2109
2148
|
/**
|
|
2110
2149
|
* Up
|
|
2111
2150
|
*/
|
|
2112
|
-
UP,
|
|
2151
|
+
UP = 4,
|
|
2113
2152
|
/**
|
|
2114
2153
|
* Down
|
|
2115
2154
|
*/
|
|
2116
|
-
DOWN,
|
|
2155
|
+
DOWN = 8,
|
|
2117
2156
|
/**
|
|
2118
2157
|
* Horizontal
|
|
2119
2158
|
*/
|
|
2120
|
-
HORIZONTAL,
|
|
2159
|
+
HORIZONTAL = 3,
|
|
2121
2160
|
/**
|
|
2122
2161
|
* Vertical
|
|
2123
2162
|
*/
|
|
2124
|
-
VERTICAL,
|
|
2163
|
+
VERTICAL = 12,
|
|
2125
2164
|
}
|
|
2126
2165
|
|
|
2127
2166
|
|
|
@@ -2139,67 +2178,67 @@ export namespace Meta {
|
|
|
2139
2178
|
/**
|
|
2140
2179
|
* frame allows delete
|
|
2141
2180
|
*/
|
|
2142
|
-
ALLOWS_DELETE,
|
|
2181
|
+
ALLOWS_DELETE = 1,
|
|
2143
2182
|
/**
|
|
2144
2183
|
* frame allows menu
|
|
2145
2184
|
*/
|
|
2146
|
-
ALLOWS_MENU,
|
|
2185
|
+
ALLOWS_MENU = 2,
|
|
2147
2186
|
/**
|
|
2148
2187
|
* frame allows minimize
|
|
2149
2188
|
*/
|
|
2150
|
-
ALLOWS_MINIMIZE,
|
|
2189
|
+
ALLOWS_MINIMIZE = 4,
|
|
2151
2190
|
/**
|
|
2152
2191
|
* frame allows maximize
|
|
2153
2192
|
*/
|
|
2154
|
-
ALLOWS_MAXIMIZE,
|
|
2193
|
+
ALLOWS_MAXIMIZE = 8,
|
|
2155
2194
|
/**
|
|
2156
2195
|
* frame allows vertical resize
|
|
2157
2196
|
*/
|
|
2158
|
-
ALLOWS_VERTICAL_RESIZE,
|
|
2197
|
+
ALLOWS_VERTICAL_RESIZE = 16,
|
|
2159
2198
|
/**
|
|
2160
2199
|
* frame allows horizontal resize
|
|
2161
2200
|
*/
|
|
2162
|
-
ALLOWS_HORIZONTAL_RESIZE,
|
|
2201
|
+
ALLOWS_HORIZONTAL_RESIZE = 32,
|
|
2163
2202
|
/**
|
|
2164
2203
|
* frame has focus
|
|
2165
2204
|
*/
|
|
2166
|
-
HAS_FOCUS,
|
|
2205
|
+
HAS_FOCUS = 64,
|
|
2167
2206
|
/**
|
|
2168
2207
|
* frame is shaded
|
|
2169
2208
|
*/
|
|
2170
|
-
SHADED,
|
|
2209
|
+
SHADED = 128,
|
|
2171
2210
|
/**
|
|
2172
2211
|
* frame is stuck
|
|
2173
2212
|
*/
|
|
2174
|
-
STUCK,
|
|
2213
|
+
STUCK = 256,
|
|
2175
2214
|
/**
|
|
2176
2215
|
* frame is maximized
|
|
2177
2216
|
*/
|
|
2178
|
-
MAXIMIZED,
|
|
2217
|
+
MAXIMIZED = 512,
|
|
2179
2218
|
/**
|
|
2180
2219
|
* frame allows shade
|
|
2181
2220
|
*/
|
|
2182
|
-
ALLOWS_SHADE,
|
|
2221
|
+
ALLOWS_SHADE = 1024,
|
|
2183
2222
|
/**
|
|
2184
2223
|
* frame allows move
|
|
2185
2224
|
*/
|
|
2186
|
-
ALLOWS_MOVE,
|
|
2225
|
+
ALLOWS_MOVE = 2048,
|
|
2187
2226
|
/**
|
|
2188
2227
|
* frame allows fullscreen
|
|
2189
2228
|
*/
|
|
2190
|
-
FULLSCREEN,
|
|
2229
|
+
FULLSCREEN = 4096,
|
|
2191
2230
|
/**
|
|
2192
2231
|
* frame is above
|
|
2193
2232
|
*/
|
|
2194
|
-
ABOVE,
|
|
2233
|
+
ABOVE = 8192,
|
|
2195
2234
|
/**
|
|
2196
2235
|
* frame is tiled to the left
|
|
2197
2236
|
*/
|
|
2198
|
-
TILED_LEFT,
|
|
2237
|
+
TILED_LEFT = 16384,
|
|
2199
2238
|
/**
|
|
2200
2239
|
* frame is tiled to the right
|
|
2201
2240
|
*/
|
|
2202
|
-
TILED_RIGHT,
|
|
2241
|
+
TILED_RIGHT = 32768,
|
|
2203
2242
|
}
|
|
2204
2243
|
|
|
2205
2244
|
|
|
@@ -2217,28 +2256,28 @@ export namespace Meta {
|
|
|
2217
2256
|
/**
|
|
2218
2257
|
* none
|
|
2219
2258
|
*/
|
|
2220
|
-
NONE,
|
|
2259
|
+
NONE = 0,
|
|
2221
2260
|
/**
|
|
2222
2261
|
* per-window
|
|
2223
2262
|
*/
|
|
2224
|
-
PER_WINDOW,
|
|
2263
|
+
PER_WINDOW = 1,
|
|
2225
2264
|
/**
|
|
2226
2265
|
* built-in
|
|
2227
2266
|
*/
|
|
2228
|
-
BUILTIN,
|
|
2267
|
+
BUILTIN = 2,
|
|
2229
2268
|
/**
|
|
2230
2269
|
* is reversed
|
|
2231
2270
|
*/
|
|
2232
|
-
IS_REVERSED,
|
|
2271
|
+
IS_REVERSED = 4,
|
|
2233
2272
|
/**
|
|
2234
2273
|
* always active
|
|
2235
2274
|
*/
|
|
2236
|
-
NON_MASKABLE,
|
|
2237
|
-
IGNORE_AUTOREPEAT,
|
|
2275
|
+
NON_MASKABLE = 8,
|
|
2276
|
+
IGNORE_AUTOREPEAT = 16,
|
|
2238
2277
|
/**
|
|
2239
2278
|
* not grabbed automatically
|
|
2240
2279
|
*/
|
|
2241
|
-
NO_AUTO_GRAB,
|
|
2280
|
+
NO_AUTO_GRAB = 32,
|
|
2242
2281
|
}
|
|
2243
2282
|
|
|
2244
2283
|
|
|
@@ -2256,15 +2295,15 @@ export namespace Meta {
|
|
|
2256
2295
|
/**
|
|
2257
2296
|
* Horizontal
|
|
2258
2297
|
*/
|
|
2259
|
-
HORIZONTAL,
|
|
2298
|
+
HORIZONTAL = 1,
|
|
2260
2299
|
/**
|
|
2261
2300
|
* Vertical
|
|
2262
2301
|
*/
|
|
2263
|
-
VERTICAL,
|
|
2302
|
+
VERTICAL = 2,
|
|
2264
2303
|
/**
|
|
2265
2304
|
* Both
|
|
2266
2305
|
*/
|
|
2267
|
-
BOTH,
|
|
2306
|
+
BOTH = 3,
|
|
2268
2307
|
}
|
|
2269
2308
|
|
|
2270
2309
|
|
|
@@ -2282,43 +2321,43 @@ export namespace Meta {
|
|
|
2282
2321
|
/**
|
|
2283
2322
|
* Shift mask
|
|
2284
2323
|
*/
|
|
2285
|
-
SHIFT_MASK,
|
|
2324
|
+
SHIFT_MASK = 32,
|
|
2286
2325
|
/**
|
|
2287
2326
|
* Control mask
|
|
2288
2327
|
*/
|
|
2289
|
-
CONTROL_MASK,
|
|
2328
|
+
CONTROL_MASK = 64,
|
|
2290
2329
|
/**
|
|
2291
2330
|
* Alt mask
|
|
2292
2331
|
*/
|
|
2293
|
-
ALT_MASK,
|
|
2332
|
+
ALT_MASK = 128,
|
|
2294
2333
|
/**
|
|
2295
2334
|
* Meta mask
|
|
2296
2335
|
*/
|
|
2297
|
-
META_MASK,
|
|
2336
|
+
META_MASK = 256,
|
|
2298
2337
|
/**
|
|
2299
2338
|
* Super mask
|
|
2300
2339
|
*/
|
|
2301
|
-
SUPER_MASK,
|
|
2340
|
+
SUPER_MASK = 512,
|
|
2302
2341
|
/**
|
|
2303
2342
|
* Hyper mask
|
|
2304
2343
|
*/
|
|
2305
|
-
HYPER_MASK,
|
|
2344
|
+
HYPER_MASK = 1024,
|
|
2306
2345
|
/**
|
|
2307
2346
|
* Mod2 mask
|
|
2308
2347
|
*/
|
|
2309
|
-
MOD2_MASK,
|
|
2348
|
+
MOD2_MASK = 2048,
|
|
2310
2349
|
/**
|
|
2311
2350
|
* Mod3 mask
|
|
2312
2351
|
*/
|
|
2313
|
-
MOD3_MASK,
|
|
2352
|
+
MOD3_MASK = 4096,
|
|
2314
2353
|
/**
|
|
2315
2354
|
* Mod4 mask
|
|
2316
2355
|
*/
|
|
2317
|
-
MOD4_MASK,
|
|
2356
|
+
MOD4_MASK = 8192,
|
|
2318
2357
|
/**
|
|
2319
2358
|
* Mod5 mask
|
|
2320
2359
|
*/
|
|
2321
|
-
MOD5_MASK,
|
|
2360
|
+
MOD5_MASK = 16384,
|
|
2322
2361
|
}
|
|
2323
2362
|
|
|
2324
2363
|
|
|
@@ -2329,7 +2368,7 @@ export namespace Meta {
|
|
|
2329
2368
|
* @signal
|
|
2330
2369
|
* @run-last
|
|
2331
2370
|
*/
|
|
2332
|
-
"gpu-added": (
|
|
2371
|
+
"gpu-added": (gpu: unknown) => void;
|
|
2333
2372
|
/**
|
|
2334
2373
|
* @signal
|
|
2335
2374
|
* @run-last
|
|
@@ -2339,17 +2378,17 @@ export namespace Meta {
|
|
|
2339
2378
|
* @signal
|
|
2340
2379
|
* @run-last
|
|
2341
2380
|
*/
|
|
2342
|
-
"keymap-layout-group-changed": (
|
|
2381
|
+
"keymap-layout-group-changed": (object: number) => void;
|
|
2343
2382
|
/**
|
|
2344
2383
|
* @signal
|
|
2345
2384
|
* @run-last
|
|
2346
2385
|
*/
|
|
2347
|
-
"last-device-changed": (
|
|
2386
|
+
"last-device-changed": (object: Clutter.InputDevice) => void;
|
|
2348
2387
|
/**
|
|
2349
2388
|
* @signal
|
|
2350
2389
|
* @run-last
|
|
2351
2390
|
*/
|
|
2352
|
-
"lid-is-closed-changed": (
|
|
2391
|
+
"lid-is-closed-changed": (object: boolean) => void;
|
|
2353
2392
|
/**
|
|
2354
2393
|
* @signal
|
|
2355
2394
|
* @run-last
|
|
@@ -2496,6 +2535,8 @@ export namespace Meta {
|
|
|
2496
2535
|
* instance.
|
|
2497
2536
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2498
2537
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2538
|
+
* @since 2.22
|
|
2539
|
+
* @throws GLib.Error
|
|
2499
2540
|
*/
|
|
2500
2541
|
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2501
2542
|
|
|
@@ -2539,6 +2580,7 @@ export namespace Meta {
|
|
|
2539
2580
|
* on the result of `g_object_new()`, regardless of whether it is in fact a new
|
|
2540
2581
|
* instance.
|
|
2541
2582
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2583
|
+
* @since 2.22
|
|
2542
2584
|
* @virtual
|
|
2543
2585
|
*/
|
|
2544
2586
|
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
@@ -2791,6 +2833,7 @@ export namespace Meta {
|
|
|
2791
2833
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2792
2834
|
* @param property_name the name of the animatable property to find
|
|
2793
2835
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
2836
|
+
* @since 1.4
|
|
2794
2837
|
*/
|
|
2795
2838
|
find_property(property_name: string): GObject.ParamSpec;
|
|
2796
2839
|
|
|
@@ -2804,6 +2847,7 @@ export namespace Meta {
|
|
|
2804
2847
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2805
2848
|
* @param property_name the name of the animatable property to retrieve
|
|
2806
2849
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2850
|
+
* @since 1.4
|
|
2807
2851
|
*/
|
|
2808
2852
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2809
2853
|
|
|
@@ -2821,6 +2865,7 @@ export namespace Meta {
|
|
|
2821
2865
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2822
2866
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2823
2867
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
2868
|
+
* @since 1.8
|
|
2824
2869
|
*/
|
|
2825
2870
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
2826
2871
|
|
|
@@ -2828,12 +2873,14 @@ export namespace Meta {
|
|
|
2828
2873
|
* Sets the current state of `property_name` to `value`
|
|
2829
2874
|
* @param property_name the name of the animatable property to set
|
|
2830
2875
|
* @param value the value of the animatable property to set
|
|
2876
|
+
* @since 1.4
|
|
2831
2877
|
*/
|
|
2832
2878
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2833
2879
|
|
|
2834
2880
|
/**
|
|
2835
2881
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
2836
2882
|
* @param property_name the name of the animatable property to find
|
|
2883
|
+
* @since 1.4
|
|
2837
2884
|
* @virtual
|
|
2838
2885
|
*/
|
|
2839
2886
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -2848,6 +2895,7 @@ export namespace Meta {
|
|
|
2848
2895
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
2849
2896
|
* @param property_name the name of the animatable property to retrieve
|
|
2850
2897
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2898
|
+
* @since 1.4
|
|
2851
2899
|
* @virtual
|
|
2852
2900
|
*/
|
|
2853
2901
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -2865,6 +2913,7 @@ export namespace Meta {
|
|
|
2865
2913
|
* @param property_name the name of the property to interpolate
|
|
2866
2914
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
2867
2915
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
2916
|
+
* @since 1.8
|
|
2868
2917
|
* @virtual
|
|
2869
2918
|
*/
|
|
2870
2919
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -2873,6 +2922,7 @@ export namespace Meta {
|
|
|
2873
2922
|
* Sets the current state of `property_name` to `value`
|
|
2874
2923
|
* @param property_name the name of the animatable property to set
|
|
2875
2924
|
* @param value the value of the animatable property to set
|
|
2925
|
+
* @since 1.4
|
|
2876
2926
|
* @virtual
|
|
2877
2927
|
*/
|
|
2878
2928
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -2887,6 +2937,8 @@ export namespace Meta {
|
|
|
2887
2937
|
* deprecated virtual function. The default implementation will
|
|
2888
2938
|
* call `clutter_actor_add_child()`.
|
|
2889
2939
|
* @param actor the first {@link Clutter.Actor} to add
|
|
2940
|
+
* @since 0.4
|
|
2941
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
2890
2942
|
*/
|
|
2891
2943
|
add_actor(actor: Clutter.Actor): void;
|
|
2892
2944
|
|
|
@@ -2901,6 +2953,7 @@ export namespace Meta {
|
|
|
2901
2953
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2902
2954
|
* @param property the name of the property to set.
|
|
2903
2955
|
* @param value the value.
|
|
2956
|
+
* @since 0.8
|
|
2904
2957
|
*/
|
|
2905
2958
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2906
2959
|
|
|
@@ -2910,6 +2963,7 @@ export namespace Meta {
|
|
|
2910
2963
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
2911
2964
|
* @param child a {@link Clutter.Actor}
|
|
2912
2965
|
* @param pspec a {@link GObject.ParamSpec}
|
|
2966
|
+
* @since 1.6
|
|
2913
2967
|
*/
|
|
2914
2968
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
2915
2969
|
|
|
@@ -2918,6 +2972,7 @@ export namespace Meta {
|
|
|
2918
2972
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
2919
2973
|
* @param property the name of the property to set.
|
|
2920
2974
|
* @param value the value.
|
|
2975
|
+
* @since 0.8
|
|
2921
2976
|
*/
|
|
2922
2977
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2923
2978
|
|
|
@@ -2932,6 +2987,7 @@ export namespace Meta {
|
|
|
2932
2987
|
*
|
|
2933
2988
|
* Applications should not call this function.
|
|
2934
2989
|
* @param actor a {@link Clutter.Actor}
|
|
2990
|
+
* @since 1.2
|
|
2935
2991
|
*/
|
|
2936
2992
|
create_child_meta(actor: Clutter.Actor): void;
|
|
2937
2993
|
|
|
@@ -2945,6 +3001,7 @@ export namespace Meta {
|
|
|
2945
3001
|
*
|
|
2946
3002
|
* Applications should not call this function.
|
|
2947
3003
|
* @param actor a {@link Clutter.Actor}
|
|
3004
|
+
* @since 1.2
|
|
2948
3005
|
*/
|
|
2949
3006
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
2950
3007
|
|
|
@@ -2953,6 +3010,7 @@ export namespace Meta {
|
|
|
2953
3010
|
* into any child container.
|
|
2954
3011
|
* @param child_name the name of the requested child.
|
|
2955
3012
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3013
|
+
* @since 0.6
|
|
2956
3014
|
*/
|
|
2957
3015
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
2958
3016
|
|
|
@@ -2961,6 +3019,7 @@ export namespace Meta {
|
|
|
2961
3019
|
* `container` specific state for `actor`.
|
|
2962
3020
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
2963
3021
|
* @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
|
|
3022
|
+
* @since 0.8
|
|
2964
3023
|
*/
|
|
2965
3024
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
2966
3025
|
|
|
@@ -2974,6 +3033,8 @@ export namespace Meta {
|
|
|
2974
3033
|
* deprecated virtual function. The default implementation will call
|
|
2975
3034
|
* `clutter_actor_remove_child()`.
|
|
2976
3035
|
* @param actor a {@link Clutter.Actor}
|
|
3036
|
+
* @since 0.4
|
|
3037
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
2977
3038
|
*/
|
|
2978
3039
|
remove_actor(actor: Clutter.Actor): void;
|
|
2979
3040
|
|
|
@@ -2999,6 +3060,8 @@ export namespace Meta {
|
|
|
2999
3060
|
* deprecated virtual function. The default implementation will
|
|
3000
3061
|
* call `clutter_actor_add_child()`.
|
|
3001
3062
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3063
|
+
* @since 0.4
|
|
3064
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3002
3065
|
* @virtual
|
|
3003
3066
|
*/
|
|
3004
3067
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3009,6 +3072,7 @@ export namespace Meta {
|
|
|
3009
3072
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3010
3073
|
* @param child a {@link Clutter.Actor}
|
|
3011
3074
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3075
|
+
* @since 1.6
|
|
3012
3076
|
* @virtual
|
|
3013
3077
|
*/
|
|
3014
3078
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3024,6 +3088,7 @@ export namespace Meta {
|
|
|
3024
3088
|
*
|
|
3025
3089
|
* Applications should not call this function.
|
|
3026
3090
|
* @param actor a {@link Clutter.Actor}
|
|
3091
|
+
* @since 1.2
|
|
3027
3092
|
* @virtual
|
|
3028
3093
|
*/
|
|
3029
3094
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3038,6 +3103,7 @@ export namespace Meta {
|
|
|
3038
3103
|
*
|
|
3039
3104
|
* Applications should not call this function.
|
|
3040
3105
|
* @param actor a {@link Clutter.Actor}
|
|
3106
|
+
* @since 1.2
|
|
3041
3107
|
* @virtual
|
|
3042
3108
|
*/
|
|
3043
3109
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3046,6 +3112,7 @@ export namespace Meta {
|
|
|
3046
3112
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3047
3113
|
* `container` specific state for `actor`.
|
|
3048
3114
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3115
|
+
* @since 0.8
|
|
3049
3116
|
* @virtual
|
|
3050
3117
|
*/
|
|
3051
3118
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3060,6 +3127,8 @@ export namespace Meta {
|
|
|
3060
3127
|
* deprecated virtual function. The default implementation will call
|
|
3061
3128
|
* `clutter_actor_remove_child()`.
|
|
3062
3129
|
* @param actor a {@link Clutter.Actor}
|
|
3130
|
+
* @since 0.4
|
|
3131
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3063
3132
|
* @virtual
|
|
3064
3133
|
*/
|
|
3065
3134
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3067,6 +3136,7 @@ export namespace Meta {
|
|
|
3067
3136
|
/**
|
|
3068
3137
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3069
3138
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3139
|
+
* @since 0.6
|
|
3070
3140
|
*/
|
|
3071
3141
|
get_id(): string;
|
|
3072
3142
|
|
|
@@ -3078,6 +3148,7 @@ export namespace Meta {
|
|
|
3078
3148
|
* @param name the name of the node
|
|
3079
3149
|
* @param node the JSON node to be parsed
|
|
3080
3150
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3151
|
+
* @since 0.6
|
|
3081
3152
|
*/
|
|
3082
3153
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3083
3154
|
|
|
@@ -3087,6 +3158,7 @@ export namespace Meta {
|
|
|
3087
3158
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3088
3159
|
* @param name the name of the property
|
|
3089
3160
|
* @param value the value of the property
|
|
3161
|
+
* @since 0.6
|
|
3090
3162
|
*/
|
|
3091
3163
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3092
3164
|
|
|
@@ -3098,11 +3170,13 @@ export namespace Meta {
|
|
|
3098
3170
|
* define a unique name for an object constructable using the UI
|
|
3099
3171
|
* definition language parsed by {@link Clutter.Script}.
|
|
3100
3172
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3173
|
+
* @since 0.6
|
|
3101
3174
|
*/
|
|
3102
3175
|
set_id(id_: string): void;
|
|
3103
3176
|
|
|
3104
3177
|
/**
|
|
3105
3178
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3179
|
+
* @since 0.6
|
|
3106
3180
|
* @virtual
|
|
3107
3181
|
*/
|
|
3108
3182
|
vfunc_get_id(): string;
|
|
@@ -3114,6 +3188,7 @@ export namespace Meta {
|
|
|
3114
3188
|
* @param value the generic value to be set
|
|
3115
3189
|
* @param name the name of the node
|
|
3116
3190
|
* @param node the JSON node to be parsed
|
|
3191
|
+
* @since 0.6
|
|
3117
3192
|
* @virtual
|
|
3118
3193
|
*/
|
|
3119
3194
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3124,6 +3199,7 @@ export namespace Meta {
|
|
|
3124
3199
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3125
3200
|
* @param name the name of the property
|
|
3126
3201
|
* @param value the value of the property
|
|
3202
|
+
* @since 0.6
|
|
3127
3203
|
* @virtual
|
|
3128
3204
|
*/
|
|
3129
3205
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3136,6 +3212,7 @@ export namespace Meta {
|
|
|
3136
3212
|
* define a unique name for an object constructable using the UI
|
|
3137
3213
|
* definition language parsed by {@link Clutter.Script}.
|
|
3138
3214
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3215
|
+
* @since 0.6
|
|
3139
3216
|
* @virtual
|
|
3140
3217
|
*/
|
|
3141
3218
|
vfunc_set_id(id_: string): void;
|
|
@@ -3314,6 +3391,7 @@ export namespace Meta {
|
|
|
3314
3391
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3315
3392
|
* for instance the size of an image data.
|
|
3316
3393
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
3394
|
+
* @since 1.10
|
|
3317
3395
|
*/
|
|
3318
3396
|
get_preferred_size(): [boolean, number, number];
|
|
3319
3397
|
|
|
@@ -3323,6 +3401,7 @@ export namespace Meta {
|
|
|
3323
3401
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3324
3402
|
* they change the way a the content should be painted regardless of the
|
|
3325
3403
|
* actor state.
|
|
3404
|
+
* @since 1.10
|
|
3326
3405
|
*/
|
|
3327
3406
|
invalidate(): void;
|
|
3328
3407
|
|
|
@@ -3353,6 +3432,7 @@ export namespace Meta {
|
|
|
3353
3432
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
3354
3433
|
* would have regardless of the allocation of the actor that is painting it,
|
|
3355
3434
|
* for instance the size of an image data.
|
|
3435
|
+
* @since 1.10
|
|
3356
3436
|
* @virtual
|
|
3357
3437
|
*/
|
|
3358
3438
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -3363,6 +3443,7 @@ export namespace Meta {
|
|
|
3363
3443
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
3364
3444
|
* they change the way a the content should be painted regardless of the
|
|
3365
3445
|
* actor state.
|
|
3446
|
+
* @since 1.10
|
|
3366
3447
|
* @virtual
|
|
3367
3448
|
*/
|
|
3368
3449
|
vfunc_invalidate(): void;
|
|
@@ -3505,6 +3586,7 @@ export namespace Meta {
|
|
|
3505
3586
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3506
3587
|
* @param property_name the name of the animatable property to find
|
|
3507
3588
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
3589
|
+
* @since 1.4
|
|
3508
3590
|
*/
|
|
3509
3591
|
find_property(property_name: string): GObject.ParamSpec;
|
|
3510
3592
|
|
|
@@ -3518,6 +3600,7 @@ export namespace Meta {
|
|
|
3518
3600
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3519
3601
|
* @param property_name the name of the animatable property to retrieve
|
|
3520
3602
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3603
|
+
* @since 1.4
|
|
3521
3604
|
*/
|
|
3522
3605
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3523
3606
|
|
|
@@ -3535,6 +3618,7 @@ export namespace Meta {
|
|
|
3535
3618
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3536
3619
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3537
3620
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
3621
|
+
* @since 1.8
|
|
3538
3622
|
*/
|
|
3539
3623
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
3540
3624
|
|
|
@@ -3542,12 +3626,14 @@ export namespace Meta {
|
|
|
3542
3626
|
* Sets the current state of `property_name` to `value`
|
|
3543
3627
|
* @param property_name the name of the animatable property to set
|
|
3544
3628
|
* @param value the value of the animatable property to set
|
|
3629
|
+
* @since 1.4
|
|
3545
3630
|
*/
|
|
3546
3631
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3547
3632
|
|
|
3548
3633
|
/**
|
|
3549
3634
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
3550
3635
|
* @param property_name the name of the animatable property to find
|
|
3636
|
+
* @since 1.4
|
|
3551
3637
|
* @virtual
|
|
3552
3638
|
*/
|
|
3553
3639
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -3562,6 +3648,7 @@ export namespace Meta {
|
|
|
3562
3648
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
3563
3649
|
* @param property_name the name of the animatable property to retrieve
|
|
3564
3650
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3651
|
+
* @since 1.4
|
|
3565
3652
|
* @virtual
|
|
3566
3653
|
*/
|
|
3567
3654
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -3579,6 +3666,7 @@ export namespace Meta {
|
|
|
3579
3666
|
* @param property_name the name of the property to interpolate
|
|
3580
3667
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
3581
3668
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
3669
|
+
* @since 1.8
|
|
3582
3670
|
* @virtual
|
|
3583
3671
|
*/
|
|
3584
3672
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -3587,6 +3675,7 @@ export namespace Meta {
|
|
|
3587
3675
|
* Sets the current state of `property_name` to `value`
|
|
3588
3676
|
* @param property_name the name of the animatable property to set
|
|
3589
3677
|
* @param value the value of the animatable property to set
|
|
3678
|
+
* @since 1.4
|
|
3590
3679
|
* @virtual
|
|
3591
3680
|
*/
|
|
3592
3681
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -3601,6 +3690,8 @@ export namespace Meta {
|
|
|
3601
3690
|
* deprecated virtual function. The default implementation will
|
|
3602
3691
|
* call `clutter_actor_add_child()`.
|
|
3603
3692
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3693
|
+
* @since 0.4
|
|
3694
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3604
3695
|
*/
|
|
3605
3696
|
add_actor(actor: Clutter.Actor): void;
|
|
3606
3697
|
|
|
@@ -3615,6 +3706,7 @@ export namespace Meta {
|
|
|
3615
3706
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3616
3707
|
* @param property the name of the property to set.
|
|
3617
3708
|
* @param value the value.
|
|
3709
|
+
* @since 0.8
|
|
3618
3710
|
*/
|
|
3619
3711
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3620
3712
|
|
|
@@ -3624,6 +3716,7 @@ export namespace Meta {
|
|
|
3624
3716
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3625
3717
|
* @param child a {@link Clutter.Actor}
|
|
3626
3718
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3719
|
+
* @since 1.6
|
|
3627
3720
|
*/
|
|
3628
3721
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
3629
3722
|
|
|
@@ -3632,6 +3725,7 @@ export namespace Meta {
|
|
|
3632
3725
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
3633
3726
|
* @param property the name of the property to set.
|
|
3634
3727
|
* @param value the value.
|
|
3728
|
+
* @since 0.8
|
|
3635
3729
|
*/
|
|
3636
3730
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3637
3731
|
|
|
@@ -3646,6 +3740,7 @@ export namespace Meta {
|
|
|
3646
3740
|
*
|
|
3647
3741
|
* Applications should not call this function.
|
|
3648
3742
|
* @param actor a {@link Clutter.Actor}
|
|
3743
|
+
* @since 1.2
|
|
3649
3744
|
*/
|
|
3650
3745
|
create_child_meta(actor: Clutter.Actor): void;
|
|
3651
3746
|
|
|
@@ -3659,6 +3754,7 @@ export namespace Meta {
|
|
|
3659
3754
|
*
|
|
3660
3755
|
* Applications should not call this function.
|
|
3661
3756
|
* @param actor a {@link Clutter.Actor}
|
|
3757
|
+
* @since 1.2
|
|
3662
3758
|
*/
|
|
3663
3759
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
3664
3760
|
|
|
@@ -3667,6 +3763,7 @@ export namespace Meta {
|
|
|
3667
3763
|
* into any child container.
|
|
3668
3764
|
* @param child_name the name of the requested child.
|
|
3669
3765
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
3766
|
+
* @since 0.6
|
|
3670
3767
|
*/
|
|
3671
3768
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
3672
3769
|
|
|
@@ -3675,6 +3772,7 @@ export namespace Meta {
|
|
|
3675
3772
|
* `container` specific state for `actor`.
|
|
3676
3773
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3677
3774
|
* @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
|
|
3775
|
+
* @since 0.8
|
|
3678
3776
|
*/
|
|
3679
3777
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
3680
3778
|
|
|
@@ -3688,6 +3786,8 @@ export namespace Meta {
|
|
|
3688
3786
|
* deprecated virtual function. The default implementation will call
|
|
3689
3787
|
* `clutter_actor_remove_child()`.
|
|
3690
3788
|
* @param actor a {@link Clutter.Actor}
|
|
3789
|
+
* @since 0.4
|
|
3790
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3691
3791
|
*/
|
|
3692
3792
|
remove_actor(actor: Clutter.Actor): void;
|
|
3693
3793
|
|
|
@@ -3713,6 +3813,8 @@ export namespace Meta {
|
|
|
3713
3813
|
* deprecated virtual function. The default implementation will
|
|
3714
3814
|
* call `clutter_actor_add_child()`.
|
|
3715
3815
|
* @param actor the first {@link Clutter.Actor} to add
|
|
3816
|
+
* @since 0.4
|
|
3817
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
3716
3818
|
* @virtual
|
|
3717
3819
|
*/
|
|
3718
3820
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -3723,6 +3825,7 @@ export namespace Meta {
|
|
|
3723
3825
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
3724
3826
|
* @param child a {@link Clutter.Actor}
|
|
3725
3827
|
* @param pspec a {@link GObject.ParamSpec}
|
|
3828
|
+
* @since 1.6
|
|
3726
3829
|
* @virtual
|
|
3727
3830
|
*/
|
|
3728
3831
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -3738,6 +3841,7 @@ export namespace Meta {
|
|
|
3738
3841
|
*
|
|
3739
3842
|
* Applications should not call this function.
|
|
3740
3843
|
* @param actor a {@link Clutter.Actor}
|
|
3844
|
+
* @since 1.2
|
|
3741
3845
|
* @virtual
|
|
3742
3846
|
*/
|
|
3743
3847
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3752,6 +3856,7 @@ export namespace Meta {
|
|
|
3752
3856
|
*
|
|
3753
3857
|
* Applications should not call this function.
|
|
3754
3858
|
* @param actor a {@link Clutter.Actor}
|
|
3859
|
+
* @since 1.2
|
|
3755
3860
|
* @virtual
|
|
3756
3861
|
*/
|
|
3757
3862
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -3760,6 +3865,7 @@ export namespace Meta {
|
|
|
3760
3865
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
3761
3866
|
* `container` specific state for `actor`.
|
|
3762
3867
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
3868
|
+
* @since 0.8
|
|
3763
3869
|
* @virtual
|
|
3764
3870
|
*/
|
|
3765
3871
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -3774,6 +3880,8 @@ export namespace Meta {
|
|
|
3774
3880
|
* deprecated virtual function. The default implementation will call
|
|
3775
3881
|
* `clutter_actor_remove_child()`.
|
|
3776
3882
|
* @param actor a {@link Clutter.Actor}
|
|
3883
|
+
* @since 0.4
|
|
3884
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
3777
3885
|
* @virtual
|
|
3778
3886
|
*/
|
|
3779
3887
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -3781,6 +3889,7 @@ export namespace Meta {
|
|
|
3781
3889
|
/**
|
|
3782
3890
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3783
3891
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
3892
|
+
* @since 0.6
|
|
3784
3893
|
*/
|
|
3785
3894
|
get_id(): string;
|
|
3786
3895
|
|
|
@@ -3792,6 +3901,7 @@ export namespace Meta {
|
|
|
3792
3901
|
* @param name the name of the node
|
|
3793
3902
|
* @param node the JSON node to be parsed
|
|
3794
3903
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3904
|
+
* @since 0.6
|
|
3795
3905
|
*/
|
|
3796
3906
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3797
3907
|
|
|
@@ -3801,6 +3911,7 @@ export namespace Meta {
|
|
|
3801
3911
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3802
3912
|
* @param name the name of the property
|
|
3803
3913
|
* @param value the value of the property
|
|
3914
|
+
* @since 0.6
|
|
3804
3915
|
*/
|
|
3805
3916
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3806
3917
|
|
|
@@ -3812,11 +3923,13 @@ export namespace Meta {
|
|
|
3812
3923
|
* define a unique name for an object constructable using the UI
|
|
3813
3924
|
* definition language parsed by {@link Clutter.Script}.
|
|
3814
3925
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3926
|
+
* @since 0.6
|
|
3815
3927
|
*/
|
|
3816
3928
|
set_id(id_: string): void;
|
|
3817
3929
|
|
|
3818
3930
|
/**
|
|
3819
3931
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
3932
|
+
* @since 0.6
|
|
3820
3933
|
* @virtual
|
|
3821
3934
|
*/
|
|
3822
3935
|
vfunc_get_id(): string;
|
|
@@ -3828,6 +3941,7 @@ export namespace Meta {
|
|
|
3828
3941
|
* @param value the generic value to be set
|
|
3829
3942
|
* @param name the name of the node
|
|
3830
3943
|
* @param node the JSON node to be parsed
|
|
3944
|
+
* @since 0.6
|
|
3831
3945
|
* @virtual
|
|
3832
3946
|
*/
|
|
3833
3947
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -3838,6 +3952,7 @@ export namespace Meta {
|
|
|
3838
3952
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
3839
3953
|
* @param name the name of the property
|
|
3840
3954
|
* @param value the value of the property
|
|
3955
|
+
* @since 0.6
|
|
3841
3956
|
* @virtual
|
|
3842
3957
|
*/
|
|
3843
3958
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -3850,6 +3965,7 @@ export namespace Meta {
|
|
|
3850
3965
|
* define a unique name for an object constructable using the UI
|
|
3851
3966
|
* definition language parsed by {@link Clutter.Script}.
|
|
3852
3967
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
3968
|
+
* @since 0.6
|
|
3853
3969
|
* @virtual
|
|
3854
3970
|
*/
|
|
3855
3971
|
vfunc_set_id(id_: string): void;
|
|
@@ -4004,14 +4120,14 @@ export namespace Meta {
|
|
|
4004
4120
|
* @signal
|
|
4005
4121
|
* @run-first
|
|
4006
4122
|
*/
|
|
4007
|
-
hit: (
|
|
4123
|
+
hit: (event: BarrierEvent) => void;
|
|
4008
4124
|
/**
|
|
4009
4125
|
* When a pointer barrier hitbox was left, this will trigger.
|
|
4010
4126
|
* This requires an XI2-enabled server.
|
|
4011
4127
|
* @signal
|
|
4012
4128
|
* @run-first
|
|
4013
4129
|
*/
|
|
4014
|
-
left: (
|
|
4130
|
+
left: (event: BarrierEvent) => void;
|
|
4015
4131
|
"notify::directions": (pspec: GObject.ParamSpec) => void;
|
|
4016
4132
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
4017
4133
|
"notify::x1": (pspec: GObject.ParamSpec) => void;
|
|
@@ -4190,6 +4306,7 @@ export namespace Meta {
|
|
|
4190
4306
|
/**
|
|
4191
4307
|
* @param argv Address of the`argv` parameter of `main()`, or `null`.
|
|
4192
4308
|
* @returns `true` if the commandline arguments (if any) were valid and if the configuration has been successfull, `false` otherwise
|
|
4309
|
+
* @throws GLib.Error
|
|
4193
4310
|
*/
|
|
4194
4311
|
configure(argv: string[] | null): [boolean, string[] | null];
|
|
4195
4312
|
|
|
@@ -4213,14 +4330,19 @@ export namespace Meta {
|
|
|
4213
4330
|
|
|
4214
4331
|
/**
|
|
4215
4332
|
* Raises the RLIMIT_NOFILE limit value to the hard limit.
|
|
4333
|
+
* @throws GLib.Error
|
|
4216
4334
|
*/
|
|
4217
4335
|
raise_rlimit_nofile(): boolean;
|
|
4218
4336
|
|
|
4219
4337
|
/**
|
|
4220
4338
|
* Restores the RLIMIT_NOFILE limits from when the {@link Meta.Context} was created.
|
|
4339
|
+
* @throws GLib.Error
|
|
4221
4340
|
*/
|
|
4222
4341
|
restore_rlimit_nofile(): boolean;
|
|
4223
4342
|
|
|
4343
|
+
/**
|
|
4344
|
+
* @throws GLib.Error
|
|
4345
|
+
*/
|
|
4224
4346
|
run_main_loop(): boolean;
|
|
4225
4347
|
|
|
4226
4348
|
/**
|
|
@@ -4238,8 +4360,14 @@ export namespace Meta {
|
|
|
4238
4360
|
*/
|
|
4239
4361
|
set_plugin_name(plugin_name: string): void;
|
|
4240
4362
|
|
|
4363
|
+
/**
|
|
4364
|
+
* @throws GLib.Error
|
|
4365
|
+
*/
|
|
4241
4366
|
setup(): boolean;
|
|
4242
4367
|
|
|
4368
|
+
/**
|
|
4369
|
+
* @throws GLib.Error
|
|
4370
|
+
*/
|
|
4243
4371
|
start(): boolean;
|
|
4244
4372
|
|
|
4245
4373
|
terminate(): void;
|
|
@@ -4352,7 +4480,7 @@ export namespace Meta {
|
|
|
4352
4480
|
* @signal
|
|
4353
4481
|
* @run-last
|
|
4354
4482
|
*/
|
|
4355
|
-
"accelerator-activated": (
|
|
4483
|
+
"accelerator-activated": (object: number, p0: Clutter.InputDevice, p1: number) => void;
|
|
4356
4484
|
/**
|
|
4357
4485
|
* @signal
|
|
4358
4486
|
* @run-last
|
|
@@ -4372,12 +4500,12 @@ export namespace Meta {
|
|
|
4372
4500
|
* @signal
|
|
4373
4501
|
* @run-last
|
|
4374
4502
|
*/
|
|
4375
|
-
"grab-op-begin": (
|
|
4503
|
+
"grab-op-begin": (object: Window, p0: GrabOp) => void;
|
|
4376
4504
|
/**
|
|
4377
4505
|
* @signal
|
|
4378
4506
|
* @run-last
|
|
4379
4507
|
*/
|
|
4380
|
-
"grab-op-end": (
|
|
4508
|
+
"grab-op-end": (object: Window, p0: GrabOp) => void;
|
|
4381
4509
|
/**
|
|
4382
4510
|
* @signal
|
|
4383
4511
|
* @run-last
|
|
@@ -4387,7 +4515,7 @@ export namespace Meta {
|
|
|
4387
4515
|
* @signal
|
|
4388
4516
|
* @run-last
|
|
4389
4517
|
*/
|
|
4390
|
-
"init-xserver": (
|
|
4518
|
+
"init-xserver": (object: Gio.Task) => boolean | void;
|
|
4391
4519
|
/**
|
|
4392
4520
|
* The ::modifiers-accelerator-activated signal will be emitted when
|
|
4393
4521
|
* a special modifiers-only keybinding is activated.
|
|
@@ -4404,7 +4532,7 @@ export namespace Meta {
|
|
|
4404
4532
|
* @signal
|
|
4405
4533
|
* @run-last
|
|
4406
4534
|
*/
|
|
4407
|
-
"pad-mode-switch": (
|
|
4535
|
+
"pad-mode-switch": (object: Clutter.InputDevice, p0: number, p1: number) => void;
|
|
4408
4536
|
/**
|
|
4409
4537
|
* @signal
|
|
4410
4538
|
* @run-last
|
|
@@ -4424,18 +4552,18 @@ export namespace Meta {
|
|
|
4424
4552
|
* @signal
|
|
4425
4553
|
* @run-last
|
|
4426
4554
|
*/
|
|
4427
|
-
"show-osd": (
|
|
4555
|
+
"show-osd": (object: number, p0: string, p1: string) => void;
|
|
4428
4556
|
/**
|
|
4429
4557
|
* Requests the pad button mapping OSD to be shown.
|
|
4430
4558
|
* @signal
|
|
4431
4559
|
* @run-last
|
|
4432
4560
|
*/
|
|
4433
|
-
"show-pad-osd": (
|
|
4561
|
+
"show-pad-osd": (pad: Clutter.InputDevice, settings: Gio.Settings, layout_path: string, edition_mode: boolean, monitor_idx: number) => Clutter.Actor | null;
|
|
4434
4562
|
/**
|
|
4435
4563
|
* @signal
|
|
4436
4564
|
* @run-last
|
|
4437
4565
|
*/
|
|
4438
|
-
"show-resize-popup": (
|
|
4566
|
+
"show-resize-popup": (object: boolean, p0: Rectangle, p1: number, p2: number) => boolean | void;
|
|
4439
4567
|
/**
|
|
4440
4568
|
* The ::show-restart-message signal will be emitted to indicate
|
|
4441
4569
|
* that the compositor should show a message during restart. This is
|
|
@@ -4450,7 +4578,7 @@ export namespace Meta {
|
|
|
4450
4578
|
* @signal
|
|
4451
4579
|
* @run-last
|
|
4452
4580
|
*/
|
|
4453
|
-
"show-restart-message": (
|
|
4581
|
+
"show-restart-message": (message: string | null) => boolean | void;
|
|
4454
4582
|
/**
|
|
4455
4583
|
* @signal
|
|
4456
4584
|
* @run-last
|
|
@@ -4460,32 +4588,32 @@ export namespace Meta {
|
|
|
4460
4588
|
* @signal
|
|
4461
4589
|
* @run-last
|
|
4462
4590
|
*/
|
|
4463
|
-
"window-created": (
|
|
4591
|
+
"window-created": (object: Window) => void;
|
|
4464
4592
|
/**
|
|
4465
4593
|
* @signal
|
|
4466
4594
|
* @run-last
|
|
4467
4595
|
*/
|
|
4468
|
-
"window-demands-attention": (
|
|
4596
|
+
"window-demands-attention": (object: Window) => void;
|
|
4469
4597
|
/**
|
|
4470
4598
|
* @signal
|
|
4471
4599
|
* @run-last
|
|
4472
4600
|
*/
|
|
4473
|
-
"window-entered-monitor": (
|
|
4601
|
+
"window-entered-monitor": (object: number, p0: Window) => void;
|
|
4474
4602
|
/**
|
|
4475
4603
|
* @signal
|
|
4476
4604
|
* @run-last
|
|
4477
4605
|
*/
|
|
4478
|
-
"window-left-monitor": (
|
|
4606
|
+
"window-left-monitor": (object: number, p0: Window) => void;
|
|
4479
4607
|
/**
|
|
4480
4608
|
* @signal
|
|
4481
4609
|
* @run-last
|
|
4482
4610
|
*/
|
|
4483
|
-
"window-marked-urgent": (
|
|
4611
|
+
"window-marked-urgent": (object: Window) => void;
|
|
4484
4612
|
/**
|
|
4485
4613
|
* @signal
|
|
4486
4614
|
* @run-last
|
|
4487
4615
|
*/
|
|
4488
|
-
"window-visibility-updated": (
|
|
4616
|
+
"window-visibility-updated": (object: null, p0: null, p1: null) => void;
|
|
4489
4617
|
/**
|
|
4490
4618
|
* @signal
|
|
4491
4619
|
* @run-last
|
|
@@ -4918,7 +5046,7 @@ export namespace Meta {
|
|
|
4918
5046
|
* @signal
|
|
4919
5047
|
* @run-last
|
|
4920
5048
|
*/
|
|
4921
|
-
"dnd-position-change": (
|
|
5049
|
+
"dnd-position-change": (object: number, p0: number) => void;
|
|
4922
5050
|
}
|
|
4923
5051
|
|
|
4924
5052
|
// Constructor properties interface
|
|
@@ -5127,7 +5255,7 @@ export namespace Meta {
|
|
|
5127
5255
|
* @signal
|
|
5128
5256
|
* @run-last
|
|
5129
5257
|
*/
|
|
5130
|
-
"monitor-privacy-screen-changed": (
|
|
5258
|
+
"monitor-privacy-screen-changed": (logical_monitor: unknown, enabled: boolean) => void;
|
|
5131
5259
|
/**
|
|
5132
5260
|
* @signal
|
|
5133
5261
|
* @run-last
|
|
@@ -5486,7 +5614,7 @@ export namespace Meta {
|
|
|
5486
5614
|
* @signal
|
|
5487
5615
|
* @run-last
|
|
5488
5616
|
*/
|
|
5489
|
-
"new-handle": (
|
|
5617
|
+
"new-handle": (object: RemoteAccessHandle) => void;
|
|
5490
5618
|
}
|
|
5491
5619
|
|
|
5492
5620
|
// Constructor properties interface
|
|
@@ -5628,7 +5756,7 @@ export namespace Meta {
|
|
|
5628
5756
|
* @signal
|
|
5629
5757
|
* @run-last
|
|
5630
5758
|
*/
|
|
5631
|
-
"owner-changed": (
|
|
5759
|
+
"owner-changed": (object: number, p0: SelectionSource) => void;
|
|
5632
5760
|
}
|
|
5633
5761
|
|
|
5634
5762
|
// Constructor properties interface
|
|
@@ -5725,6 +5853,7 @@ export namespace Meta {
|
|
|
5725
5853
|
* Finishes the transfer of a queried mimetype.
|
|
5726
5854
|
* @param result The async result
|
|
5727
5855
|
* @returns `TRUE` if the transfer was successful.
|
|
5856
|
+
* @throws GLib.Error
|
|
5728
5857
|
*/
|
|
5729
5858
|
transfer_finish(result: Gio.AsyncResult): boolean;
|
|
5730
5859
|
|
|
@@ -5861,6 +5990,7 @@ export namespace Meta {
|
|
|
5861
5990
|
* Finishes a read from the selection source.
|
|
5862
5991
|
* @param result The async result
|
|
5863
5992
|
* @returns The resulting {@link Gio.InputStream}
|
|
5993
|
+
* @throws GLib.Error
|
|
5864
5994
|
*/
|
|
5865
5995
|
read_finish(result: Gio.AsyncResult): Gio.InputStream;
|
|
5866
5996
|
}
|
|
@@ -6085,6 +6215,7 @@ export namespace Meta {
|
|
|
6085
6215
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6086
6216
|
* for instance the size of an image data.
|
|
6087
6217
|
* @returns `true` if the content has a preferred size, and `false` otherwise
|
|
6218
|
+
* @since 1.10
|
|
6088
6219
|
*/
|
|
6089
6220
|
get_preferred_size(): [boolean, number, number];
|
|
6090
6221
|
|
|
@@ -6094,6 +6225,7 @@ export namespace Meta {
|
|
|
6094
6225
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6095
6226
|
* they change the way a the content should be painted regardless of the
|
|
6096
6227
|
* actor state.
|
|
6228
|
+
* @since 1.10
|
|
6097
6229
|
*/
|
|
6098
6230
|
invalidate(): void;
|
|
6099
6231
|
|
|
@@ -6124,6 +6256,7 @@ export namespace Meta {
|
|
|
6124
6256
|
* The natural size of a {@link Clutter.Content} is defined as the size the content
|
|
6125
6257
|
* would have regardless of the allocation of the actor that is painting it,
|
|
6126
6258
|
* for instance the size of an image data.
|
|
6259
|
+
* @since 1.10
|
|
6127
6260
|
* @virtual
|
|
6128
6261
|
*/
|
|
6129
6262
|
vfunc_get_preferred_size(): [boolean, number, number];
|
|
@@ -6134,6 +6267,7 @@ export namespace Meta {
|
|
|
6134
6267
|
* This function should be called by {@link Clutter.Content} implementations when
|
|
6135
6268
|
* they change the way a the content should be painted regardless of the
|
|
6136
6269
|
* actor state.
|
|
6270
|
+
* @since 1.10
|
|
6137
6271
|
* @virtual
|
|
6138
6272
|
*/
|
|
6139
6273
|
vfunc_invalidate(): void;
|
|
@@ -6353,7 +6487,7 @@ export namespace Meta {
|
|
|
6353
6487
|
* @signal
|
|
6354
6488
|
* @run-last
|
|
6355
6489
|
*/
|
|
6356
|
-
changed: (
|
|
6490
|
+
changed: (object: StartupSequence) => void;
|
|
6357
6491
|
"notify::display": (pspec: GObject.ParamSpec) => void;
|
|
6358
6492
|
}
|
|
6359
6493
|
|
|
@@ -6633,6 +6767,7 @@ export namespace Meta {
|
|
|
6633
6767
|
* @param display the current MetaDisplay
|
|
6634
6768
|
* @param argv Command line arguments
|
|
6635
6769
|
* @returns A new {@link Gio.Subprocess}, or `null` on error (and `error` will be set)
|
|
6770
|
+
* @throws GLib.Error
|
|
6636
6771
|
*/
|
|
6637
6772
|
spawnv(display: Display, argv: string[]): Gio.Subprocess;
|
|
6638
6773
|
}
|
|
@@ -6651,7 +6786,7 @@ export namespace Meta {
|
|
|
6651
6786
|
* @signal
|
|
6652
6787
|
* @run-last
|
|
6653
6788
|
*/
|
|
6654
|
-
"monitor-changed": (
|
|
6789
|
+
"monitor-changed": (old_monitor: number) => void;
|
|
6655
6790
|
/**
|
|
6656
6791
|
* This is emitted when the position of a window might
|
|
6657
6792
|
* have changed. Specifically, this is emitted when the
|
|
@@ -7769,6 +7904,7 @@ export namespace Meta {
|
|
|
7769
7904
|
/**
|
|
7770
7905
|
* @param clip A clipping rectangle, in actor coordinates, to help prevent extra processing. In the case that the clipping rectangle is partially or fully outside the bounds of the actor, the rectangle will be clipped.
|
|
7771
7906
|
* @returns a new {@link Clutter.Content}
|
|
7907
|
+
* @throws GLib.Error
|
|
7772
7908
|
*/
|
|
7773
7909
|
paint_to_content(clip: Rectangle | null): Clutter.Content | null;
|
|
7774
7910
|
|
|
@@ -7784,6 +7920,7 @@ export namespace Meta {
|
|
|
7784
7920
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7785
7921
|
* @param property_name the name of the animatable property to find
|
|
7786
7922
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
7923
|
+
* @since 1.4
|
|
7787
7924
|
*/
|
|
7788
7925
|
find_property(property_name: string): GObject.ParamSpec;
|
|
7789
7926
|
|
|
@@ -7797,6 +7934,7 @@ export namespace Meta {
|
|
|
7797
7934
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7798
7935
|
* @param property_name the name of the animatable property to retrieve
|
|
7799
7936
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7937
|
+
* @since 1.4
|
|
7800
7938
|
*/
|
|
7801
7939
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7802
7940
|
|
|
@@ -7814,6 +7952,7 @@ export namespace Meta {
|
|
|
7814
7952
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7815
7953
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
7816
7954
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
7955
|
+
* @since 1.8
|
|
7817
7956
|
*/
|
|
7818
7957
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
7819
7958
|
|
|
@@ -7821,12 +7960,14 @@ export namespace Meta {
|
|
|
7821
7960
|
* Sets the current state of `property_name` to `value`
|
|
7822
7961
|
* @param property_name the name of the animatable property to set
|
|
7823
7962
|
* @param value the value of the animatable property to set
|
|
7963
|
+
* @since 1.4
|
|
7824
7964
|
*/
|
|
7825
7965
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7826
7966
|
|
|
7827
7967
|
/**
|
|
7828
7968
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
7829
7969
|
* @param property_name the name of the animatable property to find
|
|
7970
|
+
* @since 1.4
|
|
7830
7971
|
* @virtual
|
|
7831
7972
|
*/
|
|
7832
7973
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -7841,6 +7982,7 @@ export namespace Meta {
|
|
|
7841
7982
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
7842
7983
|
* @param property_name the name of the animatable property to retrieve
|
|
7843
7984
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7985
|
+
* @since 1.4
|
|
7844
7986
|
* @virtual
|
|
7845
7987
|
*/
|
|
7846
7988
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -7858,6 +8000,7 @@ export namespace Meta {
|
|
|
7858
8000
|
* @param property_name the name of the property to interpolate
|
|
7859
8001
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
7860
8002
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8003
|
+
* @since 1.8
|
|
7861
8004
|
* @virtual
|
|
7862
8005
|
*/
|
|
7863
8006
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -7866,6 +8009,7 @@ export namespace Meta {
|
|
|
7866
8009
|
* Sets the current state of `property_name` to `value`
|
|
7867
8010
|
* @param property_name the name of the animatable property to set
|
|
7868
8011
|
* @param value the value of the animatable property to set
|
|
8012
|
+
* @since 1.4
|
|
7869
8013
|
* @virtual
|
|
7870
8014
|
*/
|
|
7871
8015
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -7880,6 +8024,8 @@ export namespace Meta {
|
|
|
7880
8024
|
* deprecated virtual function. The default implementation will
|
|
7881
8025
|
* call `clutter_actor_add_child()`.
|
|
7882
8026
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8027
|
+
* @since 0.4
|
|
8028
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7883
8029
|
*/
|
|
7884
8030
|
add_actor(actor: Clutter.Actor): void;
|
|
7885
8031
|
|
|
@@ -7894,6 +8040,7 @@ export namespace Meta {
|
|
|
7894
8040
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7895
8041
|
* @param property the name of the property to set.
|
|
7896
8042
|
* @param value the value.
|
|
8043
|
+
* @since 0.8
|
|
7897
8044
|
*/
|
|
7898
8045
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7899
8046
|
|
|
@@ -7903,6 +8050,7 @@ export namespace Meta {
|
|
|
7903
8050
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
7904
8051
|
* @param child a {@link Clutter.Actor}
|
|
7905
8052
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8053
|
+
* @since 1.6
|
|
7906
8054
|
*/
|
|
7907
8055
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
7908
8056
|
|
|
@@ -7911,6 +8059,7 @@ export namespace Meta {
|
|
|
7911
8059
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
7912
8060
|
* @param property the name of the property to set.
|
|
7913
8061
|
* @param value the value.
|
|
8062
|
+
* @since 0.8
|
|
7914
8063
|
*/
|
|
7915
8064
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7916
8065
|
|
|
@@ -7925,6 +8074,7 @@ export namespace Meta {
|
|
|
7925
8074
|
*
|
|
7926
8075
|
* Applications should not call this function.
|
|
7927
8076
|
* @param actor a {@link Clutter.Actor}
|
|
8077
|
+
* @since 1.2
|
|
7928
8078
|
*/
|
|
7929
8079
|
create_child_meta(actor: Clutter.Actor): void;
|
|
7930
8080
|
|
|
@@ -7938,6 +8088,7 @@ export namespace Meta {
|
|
|
7938
8088
|
*
|
|
7939
8089
|
* Applications should not call this function.
|
|
7940
8090
|
* @param actor a {@link Clutter.Actor}
|
|
8091
|
+
* @since 1.2
|
|
7941
8092
|
*/
|
|
7942
8093
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
7943
8094
|
|
|
@@ -7946,6 +8097,7 @@ export namespace Meta {
|
|
|
7946
8097
|
* into any child container.
|
|
7947
8098
|
* @param child_name the name of the requested child.
|
|
7948
8099
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8100
|
+
* @since 0.6
|
|
7949
8101
|
*/
|
|
7950
8102
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
7951
8103
|
|
|
@@ -7954,6 +8106,7 @@ export namespace Meta {
|
|
|
7954
8106
|
* `container` specific state for `actor`.
|
|
7955
8107
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
7956
8108
|
* @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
|
|
8109
|
+
* @since 0.8
|
|
7957
8110
|
*/
|
|
7958
8111
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
7959
8112
|
|
|
@@ -7967,6 +8120,8 @@ export namespace Meta {
|
|
|
7967
8120
|
* deprecated virtual function. The default implementation will call
|
|
7968
8121
|
* `clutter_actor_remove_child()`.
|
|
7969
8122
|
* @param actor a {@link Clutter.Actor}
|
|
8123
|
+
* @since 0.4
|
|
8124
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
7970
8125
|
*/
|
|
7971
8126
|
remove_actor(actor: Clutter.Actor): void;
|
|
7972
8127
|
|
|
@@ -7992,6 +8147,8 @@ export namespace Meta {
|
|
|
7992
8147
|
* deprecated virtual function. The default implementation will
|
|
7993
8148
|
* call `clutter_actor_add_child()`.
|
|
7994
8149
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8150
|
+
* @since 0.4
|
|
8151
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
7995
8152
|
* @virtual
|
|
7996
8153
|
*/
|
|
7997
8154
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8002,6 +8159,7 @@ export namespace Meta {
|
|
|
8002
8159
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8003
8160
|
* @param child a {@link Clutter.Actor}
|
|
8004
8161
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8162
|
+
* @since 1.6
|
|
8005
8163
|
* @virtual
|
|
8006
8164
|
*/
|
|
8007
8165
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8017,6 +8175,7 @@ export namespace Meta {
|
|
|
8017
8175
|
*
|
|
8018
8176
|
* Applications should not call this function.
|
|
8019
8177
|
* @param actor a {@link Clutter.Actor}
|
|
8178
|
+
* @since 1.2
|
|
8020
8179
|
* @virtual
|
|
8021
8180
|
*/
|
|
8022
8181
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8031,6 +8190,7 @@ export namespace Meta {
|
|
|
8031
8190
|
*
|
|
8032
8191
|
* Applications should not call this function.
|
|
8033
8192
|
* @param actor a {@link Clutter.Actor}
|
|
8193
|
+
* @since 1.2
|
|
8034
8194
|
* @virtual
|
|
8035
8195
|
*/
|
|
8036
8196
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8039,6 +8199,7 @@ export namespace Meta {
|
|
|
8039
8199
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8040
8200
|
* `container` specific state for `actor`.
|
|
8041
8201
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8202
|
+
* @since 0.8
|
|
8042
8203
|
* @virtual
|
|
8043
8204
|
*/
|
|
8044
8205
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8053,6 +8214,8 @@ export namespace Meta {
|
|
|
8053
8214
|
* deprecated virtual function. The default implementation will call
|
|
8054
8215
|
* `clutter_actor_remove_child()`.
|
|
8055
8216
|
* @param actor a {@link Clutter.Actor}
|
|
8217
|
+
* @since 0.4
|
|
8218
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8056
8219
|
* @virtual
|
|
8057
8220
|
*/
|
|
8058
8221
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8060,6 +8223,7 @@ export namespace Meta {
|
|
|
8060
8223
|
/**
|
|
8061
8224
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8062
8225
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8226
|
+
* @since 0.6
|
|
8063
8227
|
*/
|
|
8064
8228
|
get_id(): string;
|
|
8065
8229
|
|
|
@@ -8071,6 +8235,7 @@ export namespace Meta {
|
|
|
8071
8235
|
* @param name the name of the node
|
|
8072
8236
|
* @param node the JSON node to be parsed
|
|
8073
8237
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8238
|
+
* @since 0.6
|
|
8074
8239
|
*/
|
|
8075
8240
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8076
8241
|
|
|
@@ -8080,6 +8245,7 @@ export namespace Meta {
|
|
|
8080
8245
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8081
8246
|
* @param name the name of the property
|
|
8082
8247
|
* @param value the value of the property
|
|
8248
|
+
* @since 0.6
|
|
8083
8249
|
*/
|
|
8084
8250
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8085
8251
|
|
|
@@ -8091,11 +8257,13 @@ export namespace Meta {
|
|
|
8091
8257
|
* define a unique name for an object constructable using the UI
|
|
8092
8258
|
* definition language parsed by {@link Clutter.Script}.
|
|
8093
8259
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8260
|
+
* @since 0.6
|
|
8094
8261
|
*/
|
|
8095
8262
|
set_id(id_: string): void;
|
|
8096
8263
|
|
|
8097
8264
|
/**
|
|
8098
8265
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8266
|
+
* @since 0.6
|
|
8099
8267
|
* @virtual
|
|
8100
8268
|
*/
|
|
8101
8269
|
vfunc_get_id(): string;
|
|
@@ -8107,6 +8275,7 @@ export namespace Meta {
|
|
|
8107
8275
|
* @param value the generic value to be set
|
|
8108
8276
|
* @param name the name of the node
|
|
8109
8277
|
* @param node the JSON node to be parsed
|
|
8278
|
+
* @since 0.6
|
|
8110
8279
|
* @virtual
|
|
8111
8280
|
*/
|
|
8112
8281
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8117,6 +8286,7 @@ export namespace Meta {
|
|
|
8117
8286
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8118
8287
|
* @param name the name of the property
|
|
8119
8288
|
* @param value the value of the property
|
|
8289
|
+
* @since 0.6
|
|
8120
8290
|
* @virtual
|
|
8121
8291
|
*/
|
|
8122
8292
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8129,6 +8299,7 @@ export namespace Meta {
|
|
|
8129
8299
|
* define a unique name for an object constructable using the UI
|
|
8130
8300
|
* definition language parsed by {@link Clutter.Script}.
|
|
8131
8301
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8302
|
+
* @since 0.6
|
|
8132
8303
|
* @virtual
|
|
8133
8304
|
*/
|
|
8134
8305
|
vfunc_set_id(id_: string): void;
|
|
@@ -8251,6 +8422,7 @@ export namespace Meta {
|
|
|
8251
8422
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8252
8423
|
* @param property_name the name of the animatable property to find
|
|
8253
8424
|
* @returns The {@link GObject.ParamSpec} for the given property or `null`
|
|
8425
|
+
* @since 1.4
|
|
8254
8426
|
*/
|
|
8255
8427
|
find_property(property_name: string): GObject.ParamSpec;
|
|
8256
8428
|
|
|
@@ -8264,6 +8436,7 @@ export namespace Meta {
|
|
|
8264
8436
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8265
8437
|
* @param property_name the name of the animatable property to retrieve
|
|
8266
8438
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8439
|
+
* @since 1.4
|
|
8267
8440
|
*/
|
|
8268
8441
|
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
8269
8442
|
|
|
@@ -8281,6 +8454,7 @@ export namespace Meta {
|
|
|
8281
8454
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8282
8455
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8283
8456
|
* @returns `true` if the interpolation was successful, and `false` otherwise
|
|
8457
|
+
* @since 1.8
|
|
8284
8458
|
*/
|
|
8285
8459
|
interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, unknown];
|
|
8286
8460
|
|
|
@@ -8288,12 +8462,14 @@ export namespace Meta {
|
|
|
8288
8462
|
* Sets the current state of `property_name` to `value`
|
|
8289
8463
|
* @param property_name the name of the animatable property to set
|
|
8290
8464
|
* @param value the value of the animatable property to set
|
|
8465
|
+
* @since 1.4
|
|
8291
8466
|
*/
|
|
8292
8467
|
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
8293
8468
|
|
|
8294
8469
|
/**
|
|
8295
8470
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
8296
8471
|
* @param property_name the name of the animatable property to find
|
|
8472
|
+
* @since 1.4
|
|
8297
8473
|
* @virtual
|
|
8298
8474
|
*/
|
|
8299
8475
|
vfunc_find_property(property_name: string): GObject.ParamSpec;
|
|
@@ -8308,6 +8484,7 @@ export namespace Meta {
|
|
|
8308
8484
|
* Retrieves the current state of `property_name` and sets `value` with it
|
|
8309
8485
|
* @param property_name the name of the animatable property to retrieve
|
|
8310
8486
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8487
|
+
* @since 1.4
|
|
8311
8488
|
* @virtual
|
|
8312
8489
|
*/
|
|
8313
8490
|
vfunc_get_initial_state(property_name: string, value: unknown): void;
|
|
@@ -8325,6 +8502,7 @@ export namespace Meta {
|
|
|
8325
8502
|
* @param property_name the name of the property to interpolate
|
|
8326
8503
|
* @param interval a {@link Clutter.Interval} with the animation range
|
|
8327
8504
|
* @param progress the progress to use to interpolate between the initial and final values of the `interval`
|
|
8505
|
+
* @since 1.8
|
|
8328
8506
|
* @virtual
|
|
8329
8507
|
*/
|
|
8330
8508
|
vfunc_interpolate_value(property_name: string, interval: Clutter.Interval, progress: number): [boolean, GObject.Value | any];
|
|
@@ -8333,6 +8511,7 @@ export namespace Meta {
|
|
|
8333
8511
|
* Sets the current state of `property_name` to `value`
|
|
8334
8512
|
* @param property_name the name of the animatable property to set
|
|
8335
8513
|
* @param value the value of the animatable property to set
|
|
8514
|
+
* @since 1.4
|
|
8336
8515
|
* @virtual
|
|
8337
8516
|
*/
|
|
8338
8517
|
vfunc_set_final_state(property_name: string, value: unknown): void;
|
|
@@ -8347,6 +8526,8 @@ export namespace Meta {
|
|
|
8347
8526
|
* deprecated virtual function. The default implementation will
|
|
8348
8527
|
* call `clutter_actor_add_child()`.
|
|
8349
8528
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8529
|
+
* @since 0.4
|
|
8530
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8350
8531
|
*/
|
|
8351
8532
|
add_actor(actor: Clutter.Actor): void;
|
|
8352
8533
|
|
|
@@ -8361,6 +8542,7 @@ export namespace Meta {
|
|
|
8361
8542
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8362
8543
|
* @param property the name of the property to set.
|
|
8363
8544
|
* @param value the value.
|
|
8545
|
+
* @since 0.8
|
|
8364
8546
|
*/
|
|
8365
8547
|
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8366
8548
|
|
|
@@ -8370,6 +8552,7 @@ export namespace Meta {
|
|
|
8370
8552
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8371
8553
|
* @param child a {@link Clutter.Actor}
|
|
8372
8554
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8555
|
+
* @since 1.6
|
|
8373
8556
|
*/
|
|
8374
8557
|
child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
8375
8558
|
|
|
@@ -8378,6 +8561,7 @@ export namespace Meta {
|
|
|
8378
8561
|
* @param child a {@link Clutter.Actor} that is a child of `container`.
|
|
8379
8562
|
* @param property the name of the property to set.
|
|
8380
8563
|
* @param value the value.
|
|
8564
|
+
* @since 0.8
|
|
8381
8565
|
*/
|
|
8382
8566
|
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8383
8567
|
|
|
@@ -8392,6 +8576,7 @@ export namespace Meta {
|
|
|
8392
8576
|
*
|
|
8393
8577
|
* Applications should not call this function.
|
|
8394
8578
|
* @param actor a {@link Clutter.Actor}
|
|
8579
|
+
* @since 1.2
|
|
8395
8580
|
*/
|
|
8396
8581
|
create_child_meta(actor: Clutter.Actor): void;
|
|
8397
8582
|
|
|
@@ -8405,6 +8590,7 @@ export namespace Meta {
|
|
|
8405
8590
|
*
|
|
8406
8591
|
* Applications should not call this function.
|
|
8407
8592
|
* @param actor a {@link Clutter.Actor}
|
|
8593
|
+
* @since 1.2
|
|
8408
8594
|
*/
|
|
8409
8595
|
destroy_child_meta(actor: Clutter.Actor): void;
|
|
8410
8596
|
|
|
@@ -8413,6 +8599,7 @@ export namespace Meta {
|
|
|
8413
8599
|
* into any child container.
|
|
8414
8600
|
* @param child_name the name of the requested child.
|
|
8415
8601
|
* @returns The child actor with the requested name, or `null` if no actor with that name was found.
|
|
8602
|
+
* @since 0.6
|
|
8416
8603
|
*/
|
|
8417
8604
|
find_child_by_name(child_name: string): Clutter.Actor;
|
|
8418
8605
|
|
|
@@ -8421,6 +8608,7 @@ export namespace Meta {
|
|
|
8421
8608
|
* `container` specific state for `actor`.
|
|
8422
8609
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8423
8610
|
* @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
|
|
8611
|
+
* @since 0.8
|
|
8424
8612
|
*/
|
|
8425
8613
|
get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
8426
8614
|
|
|
@@ -8434,6 +8622,8 @@ export namespace Meta {
|
|
|
8434
8622
|
* deprecated virtual function. The default implementation will call
|
|
8435
8623
|
* `clutter_actor_remove_child()`.
|
|
8436
8624
|
* @param actor a {@link Clutter.Actor}
|
|
8625
|
+
* @since 0.4
|
|
8626
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8437
8627
|
*/
|
|
8438
8628
|
remove_actor(actor: Clutter.Actor): void;
|
|
8439
8629
|
|
|
@@ -8459,6 +8649,8 @@ export namespace Meta {
|
|
|
8459
8649
|
* deprecated virtual function. The default implementation will
|
|
8460
8650
|
* call `clutter_actor_add_child()`.
|
|
8461
8651
|
* @param actor the first {@link Clutter.Actor} to add
|
|
8652
|
+
* @since 0.4
|
|
8653
|
+
* @deprecated since 1.10: Use `clutter_actor_add_child()` instead.
|
|
8462
8654
|
* @virtual
|
|
8463
8655
|
*/
|
|
8464
8656
|
vfunc_add(actor: Clutter.Actor): void;
|
|
@@ -8469,6 +8661,7 @@ export namespace Meta {
|
|
|
8469
8661
|
* {@link Clutter.Container.SignalSignatures.child_notify | Clutter.Container::child-notify} signal.
|
|
8470
8662
|
* @param child a {@link Clutter.Actor}
|
|
8471
8663
|
* @param pspec a {@link GObject.ParamSpec}
|
|
8664
|
+
* @since 1.6
|
|
8472
8665
|
* @virtual
|
|
8473
8666
|
*/
|
|
8474
8667
|
vfunc_child_notify(child: Clutter.Actor, pspec: GObject.ParamSpec): void;
|
|
@@ -8484,6 +8677,7 @@ export namespace Meta {
|
|
|
8484
8677
|
*
|
|
8485
8678
|
* Applications should not call this function.
|
|
8486
8679
|
* @param actor a {@link Clutter.Actor}
|
|
8680
|
+
* @since 1.2
|
|
8487
8681
|
* @virtual
|
|
8488
8682
|
*/
|
|
8489
8683
|
vfunc_create_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8498,6 +8692,7 @@ export namespace Meta {
|
|
|
8498
8692
|
*
|
|
8499
8693
|
* Applications should not call this function.
|
|
8500
8694
|
* @param actor a {@link Clutter.Actor}
|
|
8695
|
+
* @since 1.2
|
|
8501
8696
|
* @virtual
|
|
8502
8697
|
*/
|
|
8503
8698
|
vfunc_destroy_child_meta(actor: Clutter.Actor): void;
|
|
@@ -8506,6 +8701,7 @@ export namespace Meta {
|
|
|
8506
8701
|
* Retrieves the {@link Clutter.ChildMeta} which contains the data about the
|
|
8507
8702
|
* `container` specific state for `actor`.
|
|
8508
8703
|
* @param actor a {@link Clutter.Actor} that is a child of `container`.
|
|
8704
|
+
* @since 0.8
|
|
8509
8705
|
* @virtual
|
|
8510
8706
|
*/
|
|
8511
8707
|
vfunc_get_child_meta(actor: Clutter.Actor): Clutter.ChildMeta;
|
|
@@ -8520,6 +8716,8 @@ export namespace Meta {
|
|
|
8520
8716
|
* deprecated virtual function. The default implementation will call
|
|
8521
8717
|
* `clutter_actor_remove_child()`.
|
|
8522
8718
|
* @param actor a {@link Clutter.Actor}
|
|
8719
|
+
* @since 0.4
|
|
8720
|
+
* @deprecated since 1.10: Use `clutter_actor_remove_child()` instead.
|
|
8523
8721
|
* @virtual
|
|
8524
8722
|
*/
|
|
8525
8723
|
vfunc_remove(actor: Clutter.Actor): void;
|
|
@@ -8527,6 +8725,7 @@ export namespace Meta {
|
|
|
8527
8725
|
/**
|
|
8528
8726
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8529
8727
|
* @returns the id of the object. The returned string is owned by the scriptable object and should never be modified of freed
|
|
8728
|
+
* @since 0.6
|
|
8530
8729
|
*/
|
|
8531
8730
|
get_id(): string;
|
|
8532
8731
|
|
|
@@ -8538,6 +8737,7 @@ export namespace Meta {
|
|
|
8538
8737
|
* @param name the name of the node
|
|
8539
8738
|
* @param node the JSON node to be parsed
|
|
8540
8739
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8740
|
+
* @since 0.6
|
|
8541
8741
|
*/
|
|
8542
8742
|
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8543
8743
|
|
|
@@ -8547,6 +8747,7 @@ export namespace Meta {
|
|
|
8547
8747
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8548
8748
|
* @param name the name of the property
|
|
8549
8749
|
* @param value the value of the property
|
|
8750
|
+
* @since 0.6
|
|
8550
8751
|
*/
|
|
8551
8752
|
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8552
8753
|
|
|
@@ -8558,11 +8759,13 @@ export namespace Meta {
|
|
|
8558
8759
|
* define a unique name for an object constructable using the UI
|
|
8559
8760
|
* definition language parsed by {@link Clutter.Script}.
|
|
8560
8761
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8762
|
+
* @since 0.6
|
|
8561
8763
|
*/
|
|
8562
8764
|
set_id(id_: string): void;
|
|
8563
8765
|
|
|
8564
8766
|
/**
|
|
8565
8767
|
* Retrieves the id of `scriptable` set using `clutter_scriptable_set_id()`.
|
|
8768
|
+
* @since 0.6
|
|
8566
8769
|
* @virtual
|
|
8567
8770
|
*/
|
|
8568
8771
|
vfunc_get_id(): string;
|
|
@@ -8574,6 +8777,7 @@ export namespace Meta {
|
|
|
8574
8777
|
* @param value the generic value to be set
|
|
8575
8778
|
* @param name the name of the node
|
|
8576
8779
|
* @param node the JSON node to be parsed
|
|
8780
|
+
* @since 0.6
|
|
8577
8781
|
* @virtual
|
|
8578
8782
|
*/
|
|
8579
8783
|
vfunc_parse_custom_node(script: Clutter.Script, value: unknown, name: string, node: Json.Node): boolean;
|
|
@@ -8584,6 +8788,7 @@ export namespace Meta {
|
|
|
8584
8788
|
* @param script the {@link Clutter.Script} creating the scriptable instance
|
|
8585
8789
|
* @param name the name of the property
|
|
8586
8790
|
* @param value the value of the property
|
|
8791
|
+
* @since 0.6
|
|
8587
8792
|
* @virtual
|
|
8588
8793
|
*/
|
|
8589
8794
|
vfunc_set_custom_property(script: Clutter.Script, name: string, value: unknown): void;
|
|
@@ -8596,6 +8801,7 @@ export namespace Meta {
|
|
|
8596
8801
|
* define a unique name for an object constructable using the UI
|
|
8597
8802
|
* definition language parsed by {@link Clutter.Script}.
|
|
8598
8803
|
* @param id_ the {@link Clutter.Script} id of the object
|
|
8804
|
+
* @since 0.6
|
|
8599
8805
|
* @virtual
|
|
8600
8806
|
*/
|
|
8601
8807
|
vfunc_set_id(id_: string): void;
|
|
@@ -8609,12 +8815,12 @@ export namespace Meta {
|
|
|
8609
8815
|
* @signal
|
|
8610
8816
|
* @run-last
|
|
8611
8817
|
*/
|
|
8612
|
-
"window-added": (
|
|
8818
|
+
"window-added": (object: Window) => void;
|
|
8613
8819
|
/**
|
|
8614
8820
|
* @signal
|
|
8615
8821
|
* @run-last
|
|
8616
8822
|
*/
|
|
8617
|
-
"window-removed": (
|
|
8823
|
+
"window-removed": (object: Window) => void;
|
|
8618
8824
|
"notify::active": (pspec: GObject.ParamSpec) => void;
|
|
8619
8825
|
"notify::n-windows": (pspec: GObject.ParamSpec) => void;
|
|
8620
8826
|
"notify::workspace-index": (pspec: GObject.ParamSpec) => void;
|
|
@@ -8776,17 +8982,17 @@ export namespace Meta {
|
|
|
8776
8982
|
* @signal
|
|
8777
8983
|
* @run-last
|
|
8778
8984
|
*/
|
|
8779
|
-
"workspace-added": (
|
|
8985
|
+
"workspace-added": (object: number) => void;
|
|
8780
8986
|
/**
|
|
8781
8987
|
* @signal
|
|
8782
8988
|
* @run-last
|
|
8783
8989
|
*/
|
|
8784
|
-
"workspace-removed": (
|
|
8990
|
+
"workspace-removed": (object: number) => void;
|
|
8785
8991
|
/**
|
|
8786
8992
|
* @signal
|
|
8787
8993
|
* @run-last
|
|
8788
8994
|
*/
|
|
8789
|
-
"workspace-switched": (
|
|
8995
|
+
"workspace-switched": (object: number, p0: number, p1: MotionDirection) => void;
|
|
8790
8996
|
/**
|
|
8791
8997
|
* @signal
|
|
8792
8998
|
* @run-last
|