@girs/meta-4 3.32.2-4.0.0-rc.15 → 3.32.2-4.0.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 +1 -1
- package/meta-4.d.ts +99 -133
- package/package.json +23 -23
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Meta-4, generated from library version 3.32.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0
|
|
8
|
+
GJS TypeScript type definitions for Meta-4, generated from library version 3.32.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
package/meta-4.d.ts
CHANGED
|
@@ -1527,7 +1527,7 @@ export namespace Meta {
|
|
|
1527
1527
|
* @param src
|
|
1528
1528
|
* @param n
|
|
1529
1529
|
*/
|
|
1530
|
-
function g_utf8_strndup(src: string, n:
|
|
1530
|
+
function g_utf8_strndup(src: string, n: bigint | number): string;
|
|
1531
1531
|
|
|
1532
1532
|
/**
|
|
1533
1533
|
* Accessor for the singleton MetaBackend.
|
|
@@ -1606,7 +1606,7 @@ export namespace Meta {
|
|
|
1606
1606
|
* @param handler The new handler function
|
|
1607
1607
|
* @returns `true` if the binding known as `name` was found, `false` otherwise.
|
|
1608
1608
|
*/
|
|
1609
|
-
function keybindings_set_custom_handler(name: string, handler:
|
|
1609
|
+
function keybindings_set_custom_handler(name: string, handler: KeyHandlerFunc | null): boolean;
|
|
1610
1610
|
|
|
1611
1611
|
/**
|
|
1612
1612
|
* Sets up a callback to be called at some later time. `when` determines the
|
|
@@ -1784,7 +1784,7 @@ export namespace Meta {
|
|
|
1784
1784
|
* reexec the compositor.
|
|
1785
1785
|
* @param message message to display to the user, or `null`
|
|
1786
1786
|
*/
|
|
1787
|
-
function restart(message:
|
|
1787
|
+
function restart(message: string | null): void;
|
|
1788
1788
|
|
|
1789
1789
|
/**
|
|
1790
1790
|
* @param display
|
|
@@ -2275,9 +2275,7 @@ export namespace Meta {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
|
|
2277
2277
|
// Constructor properties interface
|
|
2278
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps, Gio.Initable.ConstructorProps {
|
|
2279
|
-
|
|
2280
|
-
}
|
|
2278
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps, Gio.Initable.ConstructorProps {}
|
|
2281
2279
|
}
|
|
2282
2280
|
|
|
2283
2281
|
/**
|
|
@@ -2390,7 +2388,7 @@ export namespace Meta {
|
|
|
2390
2388
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2391
2389
|
* @returns `true` if successful. If an error has occurred, this function will return `false` and set `error` appropriately if present.
|
|
2392
2390
|
*/
|
|
2393
|
-
init(cancellable:
|
|
2391
|
+
init(cancellable: Gio.Cancellable | null): boolean;
|
|
2394
2392
|
|
|
2395
2393
|
/**
|
|
2396
2394
|
* Initializes the object implementing the interface.
|
|
@@ -2434,7 +2432,7 @@ export namespace Meta {
|
|
|
2434
2432
|
* @param cancellable optional {@link Gio.Cancellable} object, `null` to ignore.
|
|
2435
2433
|
* @virtual
|
|
2436
2434
|
*/
|
|
2437
|
-
vfunc_init(cancellable:
|
|
2435
|
+
vfunc_init(cancellable: Gio.Cancellable | null): boolean;
|
|
2438
2436
|
}
|
|
2439
2437
|
|
|
2440
2438
|
|
|
@@ -2780,7 +2778,7 @@ export namespace Meta {
|
|
|
2780
2778
|
* @param value return location for the animation value
|
|
2781
2779
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
2782
2780
|
*/
|
|
2783
|
-
animate_property(animation: Clutter.Animation, property_name: string, initial_value:
|
|
2781
|
+
animate_property(animation: Clutter.Animation, property_name: string, initial_value: GObject.Value | any, final_value: GObject.Value | any, progress: number, value: GObject.Value | any): boolean;
|
|
2784
2782
|
|
|
2785
2783
|
/**
|
|
2786
2784
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
@@ -2794,7 +2792,7 @@ export namespace Meta {
|
|
|
2794
2792
|
* @param property_name the name of the animatable property to retrieve
|
|
2795
2793
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
2796
2794
|
*/
|
|
2797
|
-
get_initial_state(property_name: string, value:
|
|
2795
|
+
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
2798
2796
|
|
|
2799
2797
|
/**
|
|
2800
2798
|
* Asks a {@link Clutter.Animatable} implementation to interpolate a
|
|
@@ -2818,7 +2816,7 @@ export namespace Meta {
|
|
|
2818
2816
|
* @param property_name the name of the animatable property to set
|
|
2819
2817
|
* @param value the value of the animatable property to set
|
|
2820
2818
|
*/
|
|
2821
|
-
set_final_state(property_name: string, value:
|
|
2819
|
+
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
2822
2820
|
|
|
2823
2821
|
/**
|
|
2824
2822
|
* Calls the `animate_property()` virtual function for `animatable`.
|
|
@@ -2904,7 +2902,7 @@ export namespace Meta {
|
|
|
2904
2902
|
* @param property the name of the property to set.
|
|
2905
2903
|
* @param value the value.
|
|
2906
2904
|
*/
|
|
2907
|
-
child_get_property(child: Clutter.Actor, property: string, value:
|
|
2905
|
+
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2908
2906
|
|
|
2909
2907
|
/**
|
|
2910
2908
|
* Calls the {@link Clutter.ContainerIface}.child_notify() virtual function
|
|
@@ -2921,7 +2919,7 @@ export namespace Meta {
|
|
|
2921
2919
|
* @param property the name of the property to set.
|
|
2922
2920
|
* @param value the value.
|
|
2923
2921
|
*/
|
|
2924
|
-
child_set_property(child: Clutter.Actor, property: string, value:
|
|
2922
|
+
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
2925
2923
|
|
|
2926
2924
|
/**
|
|
2927
2925
|
* Creates the {@link Clutter.ChildMeta} wrapping `actor` inside the
|
|
@@ -3004,7 +3002,7 @@ export namespace Meta {
|
|
|
3004
3002
|
* @param actor the actor to raise
|
|
3005
3003
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3006
3004
|
*/
|
|
3007
|
-
lower_child(actor: Clutter.Actor, sibling:
|
|
3005
|
+
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3008
3006
|
|
|
3009
3007
|
/**
|
|
3010
3008
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -3015,7 +3013,7 @@ export namespace Meta {
|
|
|
3015
3013
|
* @param actor the actor to raise
|
|
3016
3014
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3017
3015
|
*/
|
|
3018
|
-
raise_child(actor: Clutter.Actor, sibling:
|
|
3016
|
+
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3019
3017
|
|
|
3020
3018
|
/**
|
|
3021
3019
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -3144,7 +3142,7 @@ export namespace Meta {
|
|
|
3144
3142
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3145
3143
|
* @virtual
|
|
3146
3144
|
*/
|
|
3147
|
-
vfunc_lower(actor: Clutter.Actor, sibling:
|
|
3145
|
+
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3148
3146
|
|
|
3149
3147
|
/**
|
|
3150
3148
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -3156,7 +3154,7 @@ export namespace Meta {
|
|
|
3156
3154
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3157
3155
|
* @virtual
|
|
3158
3156
|
*/
|
|
3159
|
-
vfunc_raise(actor: Clutter.Actor, sibling:
|
|
3157
|
+
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3160
3158
|
|
|
3161
3159
|
/**
|
|
3162
3160
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -3194,7 +3192,7 @@ export namespace Meta {
|
|
|
3194
3192
|
* @param node the JSON node to be parsed
|
|
3195
3193
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3196
3194
|
*/
|
|
3197
|
-
parse_custom_node(script: Clutter.Script, value:
|
|
3195
|
+
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3198
3196
|
|
|
3199
3197
|
/**
|
|
3200
3198
|
* Overrides the common properties setting. The underlying virtual
|
|
@@ -3203,7 +3201,7 @@ export namespace Meta {
|
|
|
3203
3201
|
* @param name the name of the property
|
|
3204
3202
|
* @param value the value of the property
|
|
3205
3203
|
*/
|
|
3206
|
-
set_custom_property(script: Clutter.Script, name: string, value:
|
|
3204
|
+
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3207
3205
|
|
|
3208
3206
|
/**
|
|
3209
3207
|
* Sets `id_` as the unique Clutter script it for this instance of
|
|
@@ -3345,9 +3343,7 @@ export namespace Meta {
|
|
|
3345
3343
|
}
|
|
3346
3344
|
|
|
3347
3345
|
// Constructor properties interface
|
|
3348
|
-
interface ConstructorProps extends Clutter.Actor.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps {
|
|
3349
|
-
|
|
3350
|
-
}
|
|
3346
|
+
interface ConstructorProps extends Clutter.Actor.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps {}
|
|
3351
3347
|
}
|
|
3352
3348
|
|
|
3353
3349
|
/**
|
|
@@ -3402,7 +3398,7 @@ export namespace Meta {
|
|
|
3402
3398
|
* @param value return location for the animation value
|
|
3403
3399
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
3404
3400
|
*/
|
|
3405
|
-
animate_property(animation: Clutter.Animation, property_name: string, initial_value:
|
|
3401
|
+
animate_property(animation: Clutter.Animation, property_name: string, initial_value: GObject.Value | any, final_value: GObject.Value | any, progress: number, value: GObject.Value | any): boolean;
|
|
3406
3402
|
|
|
3407
3403
|
/**
|
|
3408
3404
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
@@ -3416,7 +3412,7 @@ export namespace Meta {
|
|
|
3416
3412
|
* @param property_name the name of the animatable property to retrieve
|
|
3417
3413
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
3418
3414
|
*/
|
|
3419
|
-
get_initial_state(property_name: string, value:
|
|
3415
|
+
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
3420
3416
|
|
|
3421
3417
|
/**
|
|
3422
3418
|
* Asks a {@link Clutter.Animatable} implementation to interpolate a
|
|
@@ -3440,7 +3436,7 @@ export namespace Meta {
|
|
|
3440
3436
|
* @param property_name the name of the animatable property to set
|
|
3441
3437
|
* @param value the value of the animatable property to set
|
|
3442
3438
|
*/
|
|
3443
|
-
set_final_state(property_name: string, value:
|
|
3439
|
+
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
3444
3440
|
|
|
3445
3441
|
/**
|
|
3446
3442
|
* Calls the `animate_property()` virtual function for `animatable`.
|
|
@@ -3526,7 +3522,7 @@ export namespace Meta {
|
|
|
3526
3522
|
* @param property the name of the property to set.
|
|
3527
3523
|
* @param value the value.
|
|
3528
3524
|
*/
|
|
3529
|
-
child_get_property(child: Clutter.Actor, property: string, value:
|
|
3525
|
+
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3530
3526
|
|
|
3531
3527
|
/**
|
|
3532
3528
|
* Calls the {@link Clutter.ContainerIface}.child_notify() virtual function
|
|
@@ -3543,7 +3539,7 @@ export namespace Meta {
|
|
|
3543
3539
|
* @param property the name of the property to set.
|
|
3544
3540
|
* @param value the value.
|
|
3545
3541
|
*/
|
|
3546
|
-
child_set_property(child: Clutter.Actor, property: string, value:
|
|
3542
|
+
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
3547
3543
|
|
|
3548
3544
|
/**
|
|
3549
3545
|
* Creates the {@link Clutter.ChildMeta} wrapping `actor` inside the
|
|
@@ -3626,7 +3622,7 @@ export namespace Meta {
|
|
|
3626
3622
|
* @param actor the actor to raise
|
|
3627
3623
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3628
3624
|
*/
|
|
3629
|
-
lower_child(actor: Clutter.Actor, sibling:
|
|
3625
|
+
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3630
3626
|
|
|
3631
3627
|
/**
|
|
3632
3628
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -3637,7 +3633,7 @@ export namespace Meta {
|
|
|
3637
3633
|
* @param actor the actor to raise
|
|
3638
3634
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3639
3635
|
*/
|
|
3640
|
-
raise_child(actor: Clutter.Actor, sibling:
|
|
3636
|
+
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3641
3637
|
|
|
3642
3638
|
/**
|
|
3643
3639
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -3766,7 +3762,7 @@ export namespace Meta {
|
|
|
3766
3762
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
3767
3763
|
* @virtual
|
|
3768
3764
|
*/
|
|
3769
|
-
vfunc_lower(actor: Clutter.Actor, sibling:
|
|
3765
|
+
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3770
3766
|
|
|
3771
3767
|
/**
|
|
3772
3768
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -3778,7 +3774,7 @@ export namespace Meta {
|
|
|
3778
3774
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
3779
3775
|
* @virtual
|
|
3780
3776
|
*/
|
|
3781
|
-
vfunc_raise(actor: Clutter.Actor, sibling:
|
|
3777
|
+
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
3782
3778
|
|
|
3783
3779
|
/**
|
|
3784
3780
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -3816,7 +3812,7 @@ export namespace Meta {
|
|
|
3816
3812
|
* @param node the JSON node to be parsed
|
|
3817
3813
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
3818
3814
|
*/
|
|
3819
|
-
parse_custom_node(script: Clutter.Script, value:
|
|
3815
|
+
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
3820
3816
|
|
|
3821
3817
|
/**
|
|
3822
3818
|
* Overrides the common properties setting. The underlying virtual
|
|
@@ -3825,7 +3821,7 @@ export namespace Meta {
|
|
|
3825
3821
|
* @param name the name of the property
|
|
3826
3822
|
* @param value the value of the property
|
|
3827
3823
|
*/
|
|
3828
|
-
set_custom_property(script: Clutter.Script, name: string, value:
|
|
3824
|
+
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
3829
3825
|
|
|
3830
3826
|
/**
|
|
3831
3827
|
* Sets `id_` as the unique Clutter script it for this instance of
|
|
@@ -3890,9 +3886,7 @@ export namespace Meta {
|
|
|
3890
3886
|
}
|
|
3891
3887
|
|
|
3892
3888
|
// Constructor properties interface
|
|
3893
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
3894
|
-
|
|
3895
|
-
}
|
|
3889
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
3896
3890
|
}
|
|
3897
3891
|
|
|
3898
3892
|
/**
|
|
@@ -3952,13 +3946,10 @@ export namespace Meta {
|
|
|
3952
3946
|
|
|
3953
3947
|
namespace BackgroundImageCache {
|
|
3954
3948
|
// Signal signatures
|
|
3955
|
-
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
3956
|
-
}
|
|
3949
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
3957
3950
|
|
|
3958
3951
|
// Constructor properties interface
|
|
3959
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
3960
|
-
|
|
3961
|
-
}
|
|
3952
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
3962
3953
|
}
|
|
3963
3954
|
|
|
3964
3955
|
/**
|
|
@@ -4157,9 +4148,7 @@ export namespace Meta {
|
|
|
4157
4148
|
}
|
|
4158
4149
|
|
|
4159
4150
|
// Constructor properties interface
|
|
4160
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
4161
|
-
|
|
4162
|
-
}
|
|
4151
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
4163
4152
|
}
|
|
4164
4153
|
|
|
4165
4154
|
/**
|
|
@@ -4260,7 +4249,7 @@ export namespace Meta {
|
|
|
4260
4249
|
* @signal
|
|
4261
4250
|
* @run-last
|
|
4262
4251
|
*/
|
|
4263
|
-
"modifiers-accelerator-activated": () =>
|
|
4252
|
+
"modifiers-accelerator-activated": () => boolean | void;
|
|
4264
4253
|
/**
|
|
4265
4254
|
* @signal
|
|
4266
4255
|
* @run-last
|
|
@@ -4285,7 +4274,7 @@ export namespace Meta {
|
|
|
4285
4274
|
* @signal
|
|
4286
4275
|
* @run-last
|
|
4287
4276
|
*/
|
|
4288
|
-
restart: () =>
|
|
4277
|
+
restart: () => boolean | void;
|
|
4289
4278
|
/**
|
|
4290
4279
|
* @signal
|
|
4291
4280
|
* @run-last
|
|
@@ -4296,12 +4285,12 @@ export namespace Meta {
|
|
|
4296
4285
|
* @signal
|
|
4297
4286
|
* @run-last
|
|
4298
4287
|
*/
|
|
4299
|
-
"show-pad-osd": (arg0: Clutter.InputDevice, arg1: Gio.Settings, arg2: string, arg3: boolean, arg4: number) =>
|
|
4288
|
+
"show-pad-osd": (arg0: Clutter.InputDevice, arg1: Gio.Settings, arg2: string, arg3: boolean, arg4: number) => Clutter.Actor | null;
|
|
4300
4289
|
/**
|
|
4301
4290
|
* @signal
|
|
4302
4291
|
* @run-last
|
|
4303
4292
|
*/
|
|
4304
|
-
"show-resize-popup": (arg0: boolean, arg1: Rectangle, arg2: number, arg3: number) =>
|
|
4293
|
+
"show-resize-popup": (arg0: boolean, arg1: Rectangle, arg2: number, arg3: number) => boolean | void;
|
|
4305
4294
|
/**
|
|
4306
4295
|
* The ::show-restart-message signal will be emitted to indicate
|
|
4307
4296
|
* that the compositor should show a message during restart. This is
|
|
@@ -4316,7 +4305,7 @@ export namespace Meta {
|
|
|
4316
4305
|
* @signal
|
|
4317
4306
|
* @run-last
|
|
4318
4307
|
*/
|
|
4319
|
-
"show-restart-message": (arg0:
|
|
4308
|
+
"show-restart-message": (arg0: string | null) => boolean | void;
|
|
4320
4309
|
/**
|
|
4321
4310
|
* @signal
|
|
4322
4311
|
* @run-last
|
|
@@ -4425,7 +4414,7 @@ export namespace Meta {
|
|
|
4425
4414
|
* end up in a new window.
|
|
4426
4415
|
* @param serial the serial to ignore
|
|
4427
4416
|
*/
|
|
4428
|
-
add_ignored_crossing_serial(serial:
|
|
4417
|
+
add_ignored_crossing_serial(serial: bigint | number): void;
|
|
4429
4418
|
|
|
4430
4419
|
/**
|
|
4431
4420
|
* Add a keybinding at runtime. The key `name` in `schema` needs to be of
|
|
@@ -4456,7 +4445,7 @@ export namespace Meta {
|
|
|
4456
4445
|
* @param root_x
|
|
4457
4446
|
* @param root_y
|
|
4458
4447
|
*/
|
|
4459
|
-
begin_grab_op(window: Window, op: GrabOp, pointer_already_grabbed: boolean, frame_action: boolean, button: number, modmask:
|
|
4448
|
+
begin_grab_op(window: Window, op: GrabOp, pointer_already_grabbed: boolean, frame_action: boolean, button: number, modmask: bigint | number, timestamp: number, root_x: number, root_y: number): boolean;
|
|
4460
4449
|
|
|
4461
4450
|
/**
|
|
4462
4451
|
* Sets the mouse-mode flag to `false`, which means that motion events are
|
|
@@ -4519,7 +4508,7 @@ export namespace Meta {
|
|
|
4519
4508
|
* @param mask Event mask
|
|
4520
4509
|
* @returns The action that should be taken for the given key, or {@link Meta.KeyBindingAction.NONE}.
|
|
4521
4510
|
*/
|
|
4522
|
-
get_keybinding_action(keycode: number, mask:
|
|
4511
|
+
get_keybinding_action(keycode: number, mask: bigint | number): number;
|
|
4523
4512
|
|
|
4524
4513
|
/**
|
|
4525
4514
|
* @returns Timestamp of the last user interaction event with a window
|
|
@@ -4609,7 +4598,7 @@ export namespace Meta {
|
|
|
4609
4598
|
* @param workspace origin workspace
|
|
4610
4599
|
* @returns List of windows
|
|
4611
4600
|
*/
|
|
4612
|
-
get_tab_list(type: TabList, workspace:
|
|
4601
|
+
get_tab_list(type: TabList, workspace: Workspace | null): Window[];
|
|
4613
4602
|
|
|
4614
4603
|
/**
|
|
4615
4604
|
* Determine the next window that should be displayed for Alt-TAB
|
|
@@ -4620,7 +4609,7 @@ export namespace Meta {
|
|
|
4620
4609
|
* @param backward If `true`, look for the previous window.
|
|
4621
4610
|
* @returns Next window
|
|
4622
4611
|
*/
|
|
4623
|
-
get_tab_next(type: TabList, workspace: Workspace, window:
|
|
4612
|
+
get_tab_next(type: TabList, workspace: Workspace, window: Window | null, backward: boolean): Window;
|
|
4624
4613
|
|
|
4625
4614
|
/**
|
|
4626
4615
|
* @returns The workspace manager of the display
|
|
@@ -4639,7 +4628,7 @@ export namespace Meta {
|
|
|
4639
4628
|
* @param sequence a {@link Clutter.EventSequence}
|
|
4640
4629
|
* @returns `TRUE` if the sequence emulates pointer behavior
|
|
4641
4630
|
*/
|
|
4642
|
-
is_pointer_emulating_sequence(sequence:
|
|
4631
|
+
is_pointer_emulating_sequence(sequence: Clutter.EventSequence | null): boolean;
|
|
4643
4632
|
|
|
4644
4633
|
/**
|
|
4645
4634
|
* Remove keybinding `name`; the function will fail if `name` is not a known
|
|
@@ -4734,9 +4723,7 @@ export namespace Meta {
|
|
|
4734
4723
|
}
|
|
4735
4724
|
|
|
4736
4725
|
// Constructor properties interface
|
|
4737
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
4738
|
-
|
|
4739
|
-
}
|
|
4726
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
4740
4727
|
}
|
|
4741
4728
|
|
|
4742
4729
|
/**
|
|
@@ -4845,13 +4832,13 @@ export namespace Meta {
|
|
|
4845
4832
|
* @param callback The callback to call when the user has accumulated `interval_msec` milliseconds of idle time.
|
|
4846
4833
|
* @returns a watch id Adds a watch for a specific idle time. The callback will be called when the user has accumulated `interval_msec` milliseconds of idle time. This function will return an ID that can either be passed to `meta_idle_monitor_remove_watch()`, or can be used to tell idle time watches apart if you have more than one. Also note that this function will only care about positive transitions (user's idle time exceeding a certain time). If you want to know about when the user has become active, use `meta_idle_monitor_add_user_active_watch()`.
|
|
4847
4834
|
*/
|
|
4848
|
-
add_idle_watch(interval_msec:
|
|
4835
|
+
add_idle_watch(interval_msec: bigint | number, callback: IdleMonitorWatchFunc | null): number;
|
|
4849
4836
|
|
|
4850
4837
|
/**
|
|
4851
4838
|
* @param callback The callback to call when the user is active again.
|
|
4852
4839
|
* @returns a watch id Add a one-time watch to know when the user is active again. Note that this watch is one-time and will de-activate after the function is called, for efficiency purposes. It's most convenient to call this when an idle watch, as added by `meta_idle_monitor_add_idle_watch()`, has triggered.
|
|
4853
4840
|
*/
|
|
4854
|
-
add_user_active_watch(callback:
|
|
4841
|
+
add_user_active_watch(callback: IdleMonitorWatchFunc | null): number;
|
|
4855
4842
|
|
|
4856
4843
|
/**
|
|
4857
4844
|
* @returns The current idle time, in milliseconds, or -1 for not supported
|
|
@@ -5046,13 +5033,10 @@ export namespace Meta {
|
|
|
5046
5033
|
|
|
5047
5034
|
namespace Plugin {
|
|
5048
5035
|
// Signal signatures
|
|
5049
|
-
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
5050
|
-
}
|
|
5036
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
5051
5037
|
|
|
5052
5038
|
// Constructor properties interface
|
|
5053
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
5054
|
-
|
|
5055
|
-
}
|
|
5039
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
5056
5040
|
}
|
|
5057
5041
|
|
|
5058
5042
|
/**
|
|
@@ -5306,9 +5290,7 @@ export namespace Meta {
|
|
|
5306
5290
|
}
|
|
5307
5291
|
|
|
5308
5292
|
// Constructor properties interface
|
|
5309
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
5310
|
-
|
|
5311
|
-
}
|
|
5293
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
5312
5294
|
}
|
|
5313
5295
|
|
|
5314
5296
|
/**
|
|
@@ -5357,9 +5339,7 @@ export namespace Meta {
|
|
|
5357
5339
|
}
|
|
5358
5340
|
|
|
5359
5341
|
// Constructor properties interface
|
|
5360
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
5361
|
-
|
|
5362
|
-
}
|
|
5342
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
5363
5343
|
}
|
|
5364
5344
|
|
|
5365
5345
|
/**
|
|
@@ -5421,9 +5401,7 @@ export namespace Meta {
|
|
|
5421
5401
|
}
|
|
5422
5402
|
|
|
5423
5403
|
// Constructor properties interface
|
|
5424
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
5425
|
-
|
|
5426
|
-
}
|
|
5404
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
5427
5405
|
}
|
|
5428
5406
|
|
|
5429
5407
|
/**
|
|
@@ -5600,9 +5578,7 @@ export namespace Meta {
|
|
|
5600
5578
|
}
|
|
5601
5579
|
|
|
5602
5580
|
// Constructor properties interface
|
|
5603
|
-
interface ConstructorProps extends Clutter.Actor.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps {
|
|
5604
|
-
|
|
5605
|
-
}
|
|
5581
|
+
interface ConstructorProps extends Clutter.Actor.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps {}
|
|
5606
5582
|
}
|
|
5607
5583
|
|
|
5608
5584
|
/**
|
|
@@ -5700,7 +5676,7 @@ export namespace Meta {
|
|
|
5700
5676
|
* @param value return location for the animation value
|
|
5701
5677
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
5702
5678
|
*/
|
|
5703
|
-
animate_property(animation: Clutter.Animation, property_name: string, initial_value:
|
|
5679
|
+
animate_property(animation: Clutter.Animation, property_name: string, initial_value: GObject.Value | any, final_value: GObject.Value | any, progress: number, value: GObject.Value | any): boolean;
|
|
5704
5680
|
|
|
5705
5681
|
/**
|
|
5706
5682
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
@@ -5714,7 +5690,7 @@ export namespace Meta {
|
|
|
5714
5690
|
* @param property_name the name of the animatable property to retrieve
|
|
5715
5691
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
5716
5692
|
*/
|
|
5717
|
-
get_initial_state(property_name: string, value:
|
|
5693
|
+
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
5718
5694
|
|
|
5719
5695
|
/**
|
|
5720
5696
|
* Asks a {@link Clutter.Animatable} implementation to interpolate a
|
|
@@ -5738,7 +5714,7 @@ export namespace Meta {
|
|
|
5738
5714
|
* @param property_name the name of the animatable property to set
|
|
5739
5715
|
* @param value the value of the animatable property to set
|
|
5740
5716
|
*/
|
|
5741
|
-
set_final_state(property_name: string, value:
|
|
5717
|
+
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
5742
5718
|
|
|
5743
5719
|
/**
|
|
5744
5720
|
* Calls the `animate_property()` virtual function for `animatable`.
|
|
@@ -5824,7 +5800,7 @@ export namespace Meta {
|
|
|
5824
5800
|
* @param property the name of the property to set.
|
|
5825
5801
|
* @param value the value.
|
|
5826
5802
|
*/
|
|
5827
|
-
child_get_property(child: Clutter.Actor, property: string, value:
|
|
5803
|
+
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
5828
5804
|
|
|
5829
5805
|
/**
|
|
5830
5806
|
* Calls the {@link Clutter.ContainerIface}.child_notify() virtual function
|
|
@@ -5841,7 +5817,7 @@ export namespace Meta {
|
|
|
5841
5817
|
* @param property the name of the property to set.
|
|
5842
5818
|
* @param value the value.
|
|
5843
5819
|
*/
|
|
5844
|
-
child_set_property(child: Clutter.Actor, property: string, value:
|
|
5820
|
+
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
5845
5821
|
|
|
5846
5822
|
/**
|
|
5847
5823
|
* Creates the {@link Clutter.ChildMeta} wrapping `actor` inside the
|
|
@@ -5924,7 +5900,7 @@ export namespace Meta {
|
|
|
5924
5900
|
* @param actor the actor to raise
|
|
5925
5901
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
5926
5902
|
*/
|
|
5927
|
-
lower_child(actor: Clutter.Actor, sibling:
|
|
5903
|
+
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
5928
5904
|
|
|
5929
5905
|
/**
|
|
5930
5906
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -5935,7 +5911,7 @@ export namespace Meta {
|
|
|
5935
5911
|
* @param actor the actor to raise
|
|
5936
5912
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
5937
5913
|
*/
|
|
5938
|
-
raise_child(actor: Clutter.Actor, sibling:
|
|
5914
|
+
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
5939
5915
|
|
|
5940
5916
|
/**
|
|
5941
5917
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -6064,7 +6040,7 @@ export namespace Meta {
|
|
|
6064
6040
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
6065
6041
|
* @virtual
|
|
6066
6042
|
*/
|
|
6067
|
-
vfunc_lower(actor: Clutter.Actor, sibling:
|
|
6043
|
+
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
6068
6044
|
|
|
6069
6045
|
/**
|
|
6070
6046
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -6076,7 +6052,7 @@ export namespace Meta {
|
|
|
6076
6052
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
6077
6053
|
* @virtual
|
|
6078
6054
|
*/
|
|
6079
|
-
vfunc_raise(actor: Clutter.Actor, sibling:
|
|
6055
|
+
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
6080
6056
|
|
|
6081
6057
|
/**
|
|
6082
6058
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -6114,7 +6090,7 @@ export namespace Meta {
|
|
|
6114
6090
|
* @param node the JSON node to be parsed
|
|
6115
6091
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
6116
6092
|
*/
|
|
6117
|
-
parse_custom_node(script: Clutter.Script, value:
|
|
6093
|
+
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
6118
6094
|
|
|
6119
6095
|
/**
|
|
6120
6096
|
* Overrides the common properties setting. The underlying virtual
|
|
@@ -6123,7 +6099,7 @@ export namespace Meta {
|
|
|
6123
6099
|
* @param name the name of the property
|
|
6124
6100
|
* @param value the value of the property
|
|
6125
6101
|
*/
|
|
6126
|
-
set_custom_property(script: Clutter.Script, name: string, value:
|
|
6102
|
+
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
6127
6103
|
|
|
6128
6104
|
/**
|
|
6129
6105
|
* Sets `id_` as the unique Clutter script it for this instance of
|
|
@@ -6179,13 +6155,10 @@ export namespace Meta {
|
|
|
6179
6155
|
|
|
6180
6156
|
namespace SoundPlayer {
|
|
6181
6157
|
// Signal signatures
|
|
6182
|
-
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
6183
|
-
}
|
|
6158
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
6184
6159
|
|
|
6185
6160
|
// Constructor properties interface
|
|
6186
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
6187
|
-
|
|
6188
|
-
}
|
|
6161
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
6189
6162
|
}
|
|
6190
6163
|
|
|
6191
6164
|
/**
|
|
@@ -6228,7 +6201,7 @@ export namespace Meta {
|
|
|
6228
6201
|
* @param description description of the played sound
|
|
6229
6202
|
* @param cancellable cancellable for the request
|
|
6230
6203
|
*/
|
|
6231
|
-
play_from_file(file: Gio.File, description: string, cancellable:
|
|
6204
|
+
play_from_file(file: Gio.File, description: string, cancellable: Gio.Cancellable | null): void;
|
|
6232
6205
|
|
|
6233
6206
|
/**
|
|
6234
6207
|
* Plays a sound from the sound theme.
|
|
@@ -6236,7 +6209,7 @@ export namespace Meta {
|
|
|
6236
6209
|
* @param description description of the event
|
|
6237
6210
|
* @param cancellable cancellable for the request
|
|
6238
6211
|
*/
|
|
6239
|
-
play_from_theme(name: string, description: string, cancellable:
|
|
6212
|
+
play_from_theme(name: string, description: string, cancellable: Gio.Cancellable | null): void;
|
|
6240
6213
|
}
|
|
6241
6214
|
|
|
6242
6215
|
|
|
@@ -6346,9 +6319,7 @@ export namespace Meta {
|
|
|
6346
6319
|
}
|
|
6347
6320
|
|
|
6348
6321
|
// Constructor properties interface
|
|
6349
|
-
interface ConstructorProps extends Clutter.Stage.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps {
|
|
6350
|
-
|
|
6351
|
-
}
|
|
6322
|
+
interface ConstructorProps extends Clutter.Stage.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps {}
|
|
6352
6323
|
}
|
|
6353
6324
|
|
|
6354
6325
|
/**
|
|
@@ -6482,7 +6453,7 @@ export namespace Meta {
|
|
|
6482
6453
|
iconName: string;
|
|
6483
6454
|
id: string;
|
|
6484
6455
|
name: string;
|
|
6485
|
-
timestamp:
|
|
6456
|
+
timestamp: bigint | number;
|
|
6486
6457
|
wmclass: string;
|
|
6487
6458
|
workspace: number;
|
|
6488
6459
|
}
|
|
@@ -7091,7 +7062,7 @@ export namespace Meta {
|
|
|
7091
7062
|
* Gets a region representing the outer bounds of the window's frame.
|
|
7092
7063
|
* @returns a {@link cairo.Region} holding the outer bounds of the window, or `null` if the window doesn't have a frame.
|
|
7093
7064
|
*/
|
|
7094
|
-
get_frame_bounds():
|
|
7065
|
+
get_frame_bounds(): cairo.Region | null;
|
|
7095
7066
|
|
|
7096
7067
|
/**
|
|
7097
7068
|
* Gets the rectangle that bounds `window` that is what the user thinks of
|
|
@@ -7225,7 +7196,7 @@ export namespace Meta {
|
|
|
7225
7196
|
* partially visible in the common edge.
|
|
7226
7197
|
* @returns the matching tiled window or `null` if it doesn't exist.
|
|
7227
7198
|
*/
|
|
7228
|
-
get_tile_match():
|
|
7199
|
+
get_tile_match(): Window | null;
|
|
7229
7200
|
|
|
7230
7201
|
/**
|
|
7231
7202
|
* @returns the current title of the window.
|
|
@@ -7440,7 +7411,7 @@ export namespace Meta {
|
|
|
7440
7411
|
* interface element displaying the icon, and is relative to the root window.
|
|
7441
7412
|
* @param rect rectangle with the desired geometry or `null`.
|
|
7442
7413
|
*/
|
|
7443
|
-
set_icon_geometry(rect:
|
|
7414
|
+
set_icon_geometry(rect: Rectangle | null): void;
|
|
7444
7415
|
|
|
7445
7416
|
/**
|
|
7446
7417
|
* @param timestamp
|
|
@@ -7702,7 +7673,7 @@ export namespace Meta {
|
|
|
7702
7673
|
* @param value return location for the animation value
|
|
7703
7674
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
7704
7675
|
*/
|
|
7705
|
-
animate_property(animation: Clutter.Animation, property_name: string, initial_value:
|
|
7676
|
+
animate_property(animation: Clutter.Animation, property_name: string, initial_value: GObject.Value | any, final_value: GObject.Value | any, progress: number, value: GObject.Value | any): boolean;
|
|
7706
7677
|
|
|
7707
7678
|
/**
|
|
7708
7679
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
@@ -7716,7 +7687,7 @@ export namespace Meta {
|
|
|
7716
7687
|
* @param property_name the name of the animatable property to retrieve
|
|
7717
7688
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
7718
7689
|
*/
|
|
7719
|
-
get_initial_state(property_name: string, value:
|
|
7690
|
+
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
7720
7691
|
|
|
7721
7692
|
/**
|
|
7722
7693
|
* Asks a {@link Clutter.Animatable} implementation to interpolate a
|
|
@@ -7740,7 +7711,7 @@ export namespace Meta {
|
|
|
7740
7711
|
* @param property_name the name of the animatable property to set
|
|
7741
7712
|
* @param value the value of the animatable property to set
|
|
7742
7713
|
*/
|
|
7743
|
-
set_final_state(property_name: string, value:
|
|
7714
|
+
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
7744
7715
|
|
|
7745
7716
|
/**
|
|
7746
7717
|
* Calls the `animate_property()` virtual function for `animatable`.
|
|
@@ -7826,7 +7797,7 @@ export namespace Meta {
|
|
|
7826
7797
|
* @param property the name of the property to set.
|
|
7827
7798
|
* @param value the value.
|
|
7828
7799
|
*/
|
|
7829
|
-
child_get_property(child: Clutter.Actor, property: string, value:
|
|
7800
|
+
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7830
7801
|
|
|
7831
7802
|
/**
|
|
7832
7803
|
* Calls the {@link Clutter.ContainerIface}.child_notify() virtual function
|
|
@@ -7843,7 +7814,7 @@ export namespace Meta {
|
|
|
7843
7814
|
* @param property the name of the property to set.
|
|
7844
7815
|
* @param value the value.
|
|
7845
7816
|
*/
|
|
7846
|
-
child_set_property(child: Clutter.Actor, property: string, value:
|
|
7817
|
+
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
7847
7818
|
|
|
7848
7819
|
/**
|
|
7849
7820
|
* Creates the {@link Clutter.ChildMeta} wrapping `actor` inside the
|
|
@@ -7926,7 +7897,7 @@ export namespace Meta {
|
|
|
7926
7897
|
* @param actor the actor to raise
|
|
7927
7898
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
7928
7899
|
*/
|
|
7929
|
-
lower_child(actor: Clutter.Actor, sibling:
|
|
7900
|
+
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7930
7901
|
|
|
7931
7902
|
/**
|
|
7932
7903
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -7937,7 +7908,7 @@ export namespace Meta {
|
|
|
7937
7908
|
* @param actor the actor to raise
|
|
7938
7909
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
7939
7910
|
*/
|
|
7940
|
-
raise_child(actor: Clutter.Actor, sibling:
|
|
7911
|
+
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
7941
7912
|
|
|
7942
7913
|
/**
|
|
7943
7914
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -8066,7 +8037,7 @@ export namespace Meta {
|
|
|
8066
8037
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8067
8038
|
* @virtual
|
|
8068
8039
|
*/
|
|
8069
|
-
vfunc_lower(actor: Clutter.Actor, sibling:
|
|
8040
|
+
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8070
8041
|
|
|
8071
8042
|
/**
|
|
8072
8043
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -8078,7 +8049,7 @@ export namespace Meta {
|
|
|
8078
8049
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8079
8050
|
* @virtual
|
|
8080
8051
|
*/
|
|
8081
|
-
vfunc_raise(actor: Clutter.Actor, sibling:
|
|
8052
|
+
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8082
8053
|
|
|
8083
8054
|
/**
|
|
8084
8055
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -8116,7 +8087,7 @@ export namespace Meta {
|
|
|
8116
8087
|
* @param node the JSON node to be parsed
|
|
8117
8088
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8118
8089
|
*/
|
|
8119
|
-
parse_custom_node(script: Clutter.Script, value:
|
|
8090
|
+
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8120
8091
|
|
|
8121
8092
|
/**
|
|
8122
8093
|
* Overrides the common properties setting. The underlying virtual
|
|
@@ -8125,7 +8096,7 @@ export namespace Meta {
|
|
|
8125
8096
|
* @param name the name of the property
|
|
8126
8097
|
* @param value the value of the property
|
|
8127
8098
|
*/
|
|
8128
|
-
set_custom_property(script: Clutter.Script, name: string, value:
|
|
8099
|
+
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8129
8100
|
|
|
8130
8101
|
/**
|
|
8131
8102
|
* Sets `id_` as the unique Clutter script it for this instance of
|
|
@@ -8267,9 +8238,7 @@ export namespace Meta {
|
|
|
8267
8238
|
}
|
|
8268
8239
|
|
|
8269
8240
|
// Constructor properties interface
|
|
8270
|
-
interface ConstructorProps extends Clutter.Actor.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps {
|
|
8271
|
-
|
|
8272
|
-
}
|
|
8241
|
+
interface ConstructorProps extends Clutter.Actor.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps {}
|
|
8273
8242
|
}
|
|
8274
8243
|
|
|
8275
8244
|
/**
|
|
@@ -8322,7 +8291,7 @@ export namespace Meta {
|
|
|
8322
8291
|
* @param value return location for the animation value
|
|
8323
8292
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
8324
8293
|
*/
|
|
8325
|
-
animate_property(animation: Clutter.Animation, property_name: string, initial_value:
|
|
8294
|
+
animate_property(animation: Clutter.Animation, property_name: string, initial_value: GObject.Value | any, final_value: GObject.Value | any, progress: number, value: GObject.Value | any): boolean;
|
|
8326
8295
|
|
|
8327
8296
|
/**
|
|
8328
8297
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
@@ -8336,7 +8305,7 @@ export namespace Meta {
|
|
|
8336
8305
|
* @param property_name the name of the animatable property to retrieve
|
|
8337
8306
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
8338
8307
|
*/
|
|
8339
|
-
get_initial_state(property_name: string, value:
|
|
8308
|
+
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
8340
8309
|
|
|
8341
8310
|
/**
|
|
8342
8311
|
* Asks a {@link Clutter.Animatable} implementation to interpolate a
|
|
@@ -8360,7 +8329,7 @@ export namespace Meta {
|
|
|
8360
8329
|
* @param property_name the name of the animatable property to set
|
|
8361
8330
|
* @param value the value of the animatable property to set
|
|
8362
8331
|
*/
|
|
8363
|
-
set_final_state(property_name: string, value:
|
|
8332
|
+
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
8364
8333
|
|
|
8365
8334
|
/**
|
|
8366
8335
|
* Calls the `animate_property()` virtual function for `animatable`.
|
|
@@ -8446,7 +8415,7 @@ export namespace Meta {
|
|
|
8446
8415
|
* @param property the name of the property to set.
|
|
8447
8416
|
* @param value the value.
|
|
8448
8417
|
*/
|
|
8449
|
-
child_get_property(child: Clutter.Actor, property: string, value:
|
|
8418
|
+
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8450
8419
|
|
|
8451
8420
|
/**
|
|
8452
8421
|
* Calls the {@link Clutter.ContainerIface}.child_notify() virtual function
|
|
@@ -8463,7 +8432,7 @@ export namespace Meta {
|
|
|
8463
8432
|
* @param property the name of the property to set.
|
|
8464
8433
|
* @param value the value.
|
|
8465
8434
|
*/
|
|
8466
|
-
child_set_property(child: Clutter.Actor, property: string, value:
|
|
8435
|
+
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
8467
8436
|
|
|
8468
8437
|
/**
|
|
8469
8438
|
* Creates the {@link Clutter.ChildMeta} wrapping `actor` inside the
|
|
@@ -8546,7 +8515,7 @@ export namespace Meta {
|
|
|
8546
8515
|
* @param actor the actor to raise
|
|
8547
8516
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8548
8517
|
*/
|
|
8549
|
-
lower_child(actor: Clutter.Actor, sibling:
|
|
8518
|
+
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8550
8519
|
|
|
8551
8520
|
/**
|
|
8552
8521
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -8557,7 +8526,7 @@ export namespace Meta {
|
|
|
8557
8526
|
* @param actor the actor to raise
|
|
8558
8527
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8559
8528
|
*/
|
|
8560
|
-
raise_child(actor: Clutter.Actor, sibling:
|
|
8529
|
+
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8561
8530
|
|
|
8562
8531
|
/**
|
|
8563
8532
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -8686,7 +8655,7 @@ export namespace Meta {
|
|
|
8686
8655
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
8687
8656
|
* @virtual
|
|
8688
8657
|
*/
|
|
8689
|
-
vfunc_lower(actor: Clutter.Actor, sibling:
|
|
8658
|
+
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8690
8659
|
|
|
8691
8660
|
/**
|
|
8692
8661
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -8698,7 +8667,7 @@ export namespace Meta {
|
|
|
8698
8667
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
8699
8668
|
* @virtual
|
|
8700
8669
|
*/
|
|
8701
|
-
vfunc_raise(actor: Clutter.Actor, sibling:
|
|
8670
|
+
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
8702
8671
|
|
|
8703
8672
|
/**
|
|
8704
8673
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -8736,7 +8705,7 @@ export namespace Meta {
|
|
|
8736
8705
|
* @param node the JSON node to be parsed
|
|
8737
8706
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
8738
8707
|
*/
|
|
8739
|
-
parse_custom_node(script: Clutter.Script, value:
|
|
8708
|
+
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
8740
8709
|
|
|
8741
8710
|
/**
|
|
8742
8711
|
* Overrides the common properties setting. The underlying virtual
|
|
@@ -8745,7 +8714,7 @@ export namespace Meta {
|
|
|
8745
8714
|
* @param name the name of the property
|
|
8746
8715
|
* @param value the value of the property
|
|
8747
8716
|
*/
|
|
8748
|
-
set_custom_property(script: Clutter.Script, name: string, value:
|
|
8717
|
+
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
8749
8718
|
|
|
8750
8719
|
/**
|
|
8751
8720
|
* Sets `id_` as the unique Clutter script it for this instance of
|
|
@@ -9079,13 +9048,10 @@ export namespace Meta {
|
|
|
9079
9048
|
|
|
9080
9049
|
namespace X11Display {
|
|
9081
9050
|
// Signal signatures
|
|
9082
|
-
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
9083
|
-
}
|
|
9051
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
9084
9052
|
|
|
9085
9053
|
// Constructor properties interface
|
|
9086
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
9087
|
-
|
|
9088
|
-
}
|
|
9054
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
9089
9055
|
}
|
|
9090
9056
|
|
|
9091
9057
|
/**
|
|
@@ -9553,7 +9519,7 @@ export namespace Meta {
|
|
|
9553
9519
|
* @param clip if non-`null` specifies the visible portion of the shadow.
|
|
9554
9520
|
* @param clip_strictly if `true`, drawing will be clipped strictly to `clip`, otherwise, it will be only used to optimize drawing.
|
|
9555
9521
|
*/
|
|
9556
|
-
paint(framebuffer: Cogl.Framebuffer, window_x: number, window_y: number, window_width: number, window_height: number, opacity: number, clip:
|
|
9522
|
+
paint(framebuffer: Cogl.Framebuffer, window_x: number, window_y: number, window_width: number, window_height: number, opacity: number, clip: cairo.Region | null, clip_strictly: boolean): void;
|
|
9557
9523
|
|
|
9558
9524
|
ref(): Shadow;
|
|
9559
9525
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/meta-4",
|
|
3
|
-
"version": "3.32.2-4.0.0
|
|
3
|
+
"version": "3.32.2-4.0.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Meta-4, generated from library version 3.32.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "meta-4.js",
|
|
@@ -31,28 +31,28 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "4.0.0
|
|
35
|
-
"@girs/xlib-2.0": "2.0.0-4.0.0
|
|
36
|
-
"@girs/xfixes-4.0": "4.0.0-4.0.0
|
|
37
|
-
"@girs/gtk-3.0": "3.24.53-4.0.0
|
|
38
|
-
"@girs/gdk-3.0": "3.24.53-4.0.0
|
|
39
|
-
"@girs/cairo-1.0": "1.0.0-4.0.0
|
|
40
|
-
"@girs/gobject-2.0": "2.88.0-4.0.0
|
|
41
|
-
"@girs/glib-2.0": "2.88.0-4.0.0
|
|
42
|
-
"@girs/pango-1.0": "1.57.1-4.0.0
|
|
43
|
-
"@girs/harfbuzz-0.0": "13.2.1-4.0.0
|
|
44
|
-
"@girs/freetype2-2.0": "2.0.0-4.0.0
|
|
45
|
-
"@girs/gio-2.0": "2.88.0-4.0.0
|
|
46
|
-
"@girs/gmodule-2.0": "2.0.0-4.0.0
|
|
47
|
-
"@girs/gdkpixbuf-2.0": "2.0.0-4.0.0
|
|
48
|
-
"@girs/atk-1.0": "2.60.0-4.0.0
|
|
49
|
-
"@girs/gdesktopenums-3.0": "3.0.0-4.0.0
|
|
50
|
-
"@girs/coglpango-4": "4.0.0-4.0.0
|
|
51
|
-
"@girs/pangocairo-1.0": "1.0.0-4.0.0
|
|
52
|
-
"@girs/cogl-4": "4.0.0-4.0.0
|
|
53
|
-
"@girs/gl-1.0": "1.0.0-4.0.0
|
|
54
|
-
"@girs/clutter-4": "4.0.0-4.0.0
|
|
55
|
-
"@girs/json-1.0": "1.10.8-4.0.0
|
|
34
|
+
"@girs/gjs": "4.0.0",
|
|
35
|
+
"@girs/xlib-2.0": "2.0.0-4.0.0",
|
|
36
|
+
"@girs/xfixes-4.0": "4.0.0-4.0.0",
|
|
37
|
+
"@girs/gtk-3.0": "3.24.53-4.0.0",
|
|
38
|
+
"@girs/gdk-3.0": "3.24.53-4.0.0",
|
|
39
|
+
"@girs/cairo-1.0": "1.0.0-4.0.0",
|
|
40
|
+
"@girs/gobject-2.0": "2.88.0-4.0.0",
|
|
41
|
+
"@girs/glib-2.0": "2.88.0-4.0.0",
|
|
42
|
+
"@girs/pango-1.0": "1.57.1-4.0.0",
|
|
43
|
+
"@girs/harfbuzz-0.0": "13.2.1-4.0.0",
|
|
44
|
+
"@girs/freetype2-2.0": "2.0.0-4.0.0",
|
|
45
|
+
"@girs/gio-2.0": "2.88.0-4.0.0",
|
|
46
|
+
"@girs/gmodule-2.0": "2.0.0-4.0.0",
|
|
47
|
+
"@girs/gdkpixbuf-2.0": "2.0.0-4.0.0",
|
|
48
|
+
"@girs/atk-1.0": "2.60.0-4.0.0",
|
|
49
|
+
"@girs/gdesktopenums-3.0": "3.0.0-4.0.0",
|
|
50
|
+
"@girs/coglpango-4": "4.0.0-4.0.0",
|
|
51
|
+
"@girs/pangocairo-1.0": "1.0.0-4.0.0",
|
|
52
|
+
"@girs/cogl-4": "4.0.0-4.0.0",
|
|
53
|
+
"@girs/gl-1.0": "1.0.0-4.0.0",
|
|
54
|
+
"@girs/clutter-4": "4.0.0-4.0.0",
|
|
55
|
+
"@girs/json-1.0": "1.10.8-4.0.0" },
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"typescript": "*"
|
|
58
58
|
},
|