@girs/mx-2.0 1.99.4-4.0.0-rc.15 → 1.99.4-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/mx-2.0.d.ts +105 -129
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Mx-2.0, generated from library version 1.99.4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0
|
|
8
|
+
GJS TypeScript type definitions for Mx-2.0, generated from library version 1.99.4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
package/mx-2.0.d.ts
CHANGED
|
@@ -205,7 +205,7 @@ export namespace Mx {
|
|
|
205
205
|
static INVALID_PARAMETER: number;
|
|
206
206
|
|
|
207
207
|
// Constructors
|
|
208
|
-
constructor(options: { message: string
|
|
208
|
+
constructor(options: { message: string; code: number });
|
|
209
209
|
|
|
210
210
|
// Static methods
|
|
211
211
|
static quark(): GLib.Quark;
|
|
@@ -520,7 +520,7 @@ export namespace Mx {
|
|
|
520
520
|
* @param str
|
|
521
521
|
* @param filename
|
|
522
522
|
*/
|
|
523
|
-
function border_image_set_from_string(value:
|
|
523
|
+
function border_image_set_from_string(value: GObject.Value | any, str: string, filename: string): void;
|
|
524
524
|
|
|
525
525
|
/**
|
|
526
526
|
* Transforms a focus direction to a focus hint. This is a convenience
|
|
@@ -545,7 +545,7 @@ export namespace Mx {
|
|
|
545
545
|
* @param value
|
|
546
546
|
* @param str
|
|
547
547
|
*/
|
|
548
|
-
function font_weight_set_from_string(value:
|
|
548
|
+
function font_weight_set_from_string(value: GObject.Value | any, str: string): void;
|
|
549
549
|
|
|
550
550
|
function image_error_quark(): GLib.Quark;
|
|
551
551
|
|
|
@@ -784,7 +784,7 @@ export namespace Mx {
|
|
|
784
784
|
* @read-only
|
|
785
785
|
* @category Inherited from Gio.Action
|
|
786
786
|
*/
|
|
787
|
-
get parameter_type():
|
|
787
|
+
get parameter_type(): GLib.VariantType | null;
|
|
788
788
|
|
|
789
789
|
/**
|
|
790
790
|
* The type of the parameter that must be given when activating the
|
|
@@ -794,7 +794,7 @@ export namespace Mx {
|
|
|
794
794
|
* @read-only
|
|
795
795
|
* @category Inherited from Gio.Action
|
|
796
796
|
*/
|
|
797
|
-
get parameterType():
|
|
797
|
+
get parameterType(): GLib.VariantType | null;
|
|
798
798
|
|
|
799
799
|
/**
|
|
800
800
|
* The state of the action, or `NULL` if the action is stateless.
|
|
@@ -802,7 +802,7 @@ export namespace Mx {
|
|
|
802
802
|
* @read-only
|
|
803
803
|
* @category Inherited from Gio.Action
|
|
804
804
|
*/
|
|
805
|
-
get state():
|
|
805
|
+
get state(): GLib.Variant | null;
|
|
806
806
|
|
|
807
807
|
/**
|
|
808
808
|
* The {@link GLib.VariantType} of the state that the action has, or `NULL` if the
|
|
@@ -811,7 +811,7 @@ export namespace Mx {
|
|
|
811
811
|
* @read-only
|
|
812
812
|
* @category Inherited from Gio.Action
|
|
813
813
|
*/
|
|
814
|
-
get state_type():
|
|
814
|
+
get state_type(): GLib.VariantType | null;
|
|
815
815
|
|
|
816
816
|
/**
|
|
817
817
|
* The {@link GLib.VariantType} of the state that the action has, or `NULL` if the
|
|
@@ -820,7 +820,7 @@ export namespace Mx {
|
|
|
820
820
|
* @read-only
|
|
821
821
|
* @category Inherited from Gio.Action
|
|
822
822
|
*/
|
|
823
|
-
get stateType():
|
|
823
|
+
get stateType(): GLib.VariantType | null;
|
|
824
824
|
|
|
825
825
|
/**
|
|
826
826
|
* Activates the action.
|
|
@@ -832,7 +832,7 @@ export namespace Mx {
|
|
|
832
832
|
* If the `parameter` {@link GLib.Variant} is floating, it is consumed.
|
|
833
833
|
* @param parameter the parameter to the activation
|
|
834
834
|
*/
|
|
835
|
-
activate(parameter:
|
|
835
|
+
activate(parameter: GLib.Variant | null): void;
|
|
836
836
|
|
|
837
837
|
/**
|
|
838
838
|
* Request for the state of `action` to be changed to `value`.
|
|
@@ -870,7 +870,7 @@ export namespace Mx {
|
|
|
870
870
|
* {@link GLib.Variant}, but `NULL` instead.
|
|
871
871
|
* @returns the parameter type
|
|
872
872
|
*/
|
|
873
|
-
get_parameter_type():
|
|
873
|
+
get_parameter_type(): GLib.VariantType | null;
|
|
874
874
|
|
|
875
875
|
/**
|
|
876
876
|
* Queries the current state of `action`.
|
|
@@ -883,7 +883,7 @@ export namespace Mx {
|
|
|
883
883
|
* {@link GLib.Variant.unref} when it is no longer required.
|
|
884
884
|
* @returns the current state of the action
|
|
885
885
|
*/
|
|
886
|
-
get_state():
|
|
886
|
+
get_state(): GLib.Variant | null;
|
|
887
887
|
|
|
888
888
|
/**
|
|
889
889
|
* Requests a hint about the valid range of values for the state of
|
|
@@ -906,7 +906,7 @@ export namespace Mx {
|
|
|
906
906
|
* {@link GLib.Variant.unref} when it is no longer required.
|
|
907
907
|
* @returns the state range hint
|
|
908
908
|
*/
|
|
909
|
-
get_state_hint():
|
|
909
|
+
get_state_hint(): GLib.Variant | null;
|
|
910
910
|
|
|
911
911
|
/**
|
|
912
912
|
* Queries the type of the state of `action`.
|
|
@@ -923,7 +923,7 @@ export namespace Mx {
|
|
|
923
923
|
* will return `NULL` and you must not call {@link Gio.Action.change_state}.
|
|
924
924
|
* @returns the state type, if the action is stateful
|
|
925
925
|
*/
|
|
926
|
-
get_state_type():
|
|
926
|
+
get_state_type(): GLib.VariantType | null;
|
|
927
927
|
|
|
928
928
|
/**
|
|
929
929
|
* Activates the action.
|
|
@@ -936,7 +936,7 @@ export namespace Mx {
|
|
|
936
936
|
* @param parameter the parameter to the activation
|
|
937
937
|
* @virtual
|
|
938
938
|
*/
|
|
939
|
-
vfunc_activate(parameter:
|
|
939
|
+
vfunc_activate(parameter: GLib.Variant | null): void;
|
|
940
940
|
|
|
941
941
|
/**
|
|
942
942
|
* Request for the state of `action` to be changed to `value`.
|
|
@@ -981,7 +981,7 @@ export namespace Mx {
|
|
|
981
981
|
* {@link GLib.Variant}, but `NULL` instead.
|
|
982
982
|
* @virtual
|
|
983
983
|
*/
|
|
984
|
-
vfunc_get_parameter_type():
|
|
984
|
+
vfunc_get_parameter_type(): GLib.VariantType | null;
|
|
985
985
|
|
|
986
986
|
/**
|
|
987
987
|
* Queries the current state of `action`.
|
|
@@ -994,7 +994,7 @@ export namespace Mx {
|
|
|
994
994
|
* {@link GLib.Variant.unref} when it is no longer required.
|
|
995
995
|
* @virtual
|
|
996
996
|
*/
|
|
997
|
-
vfunc_get_state():
|
|
997
|
+
vfunc_get_state(): GLib.Variant | null;
|
|
998
998
|
|
|
999
999
|
/**
|
|
1000
1000
|
* Requests a hint about the valid range of values for the state of
|
|
@@ -1017,7 +1017,7 @@ export namespace Mx {
|
|
|
1017
1017
|
* {@link GLib.Variant.unref} when it is no longer required.
|
|
1018
1018
|
* @virtual
|
|
1019
1019
|
*/
|
|
1020
|
-
vfunc_get_state_hint():
|
|
1020
|
+
vfunc_get_state_hint(): GLib.Variant | null;
|
|
1021
1021
|
|
|
1022
1022
|
/**
|
|
1023
1023
|
* Queries the type of the state of `action`.
|
|
@@ -1034,7 +1034,7 @@ export namespace Mx {
|
|
|
1034
1034
|
* will return `NULL` and you must not call {@link Gio.Action.change_state}.
|
|
1035
1035
|
* @virtual
|
|
1036
1036
|
*/
|
|
1037
|
-
vfunc_get_state_type():
|
|
1037
|
+
vfunc_get_state_type(): GLib.VariantType | null;
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
1040
|
|
|
@@ -1241,7 +1241,7 @@ export namespace Mx {
|
|
|
1241
1241
|
* is cancelled.
|
|
1242
1242
|
* @param id An operation ID
|
|
1243
1243
|
*/
|
|
1244
|
-
cancel_operation(id:
|
|
1244
|
+
cancel_operation(id: bigint | number): void;
|
|
1245
1245
|
|
|
1246
1246
|
/**
|
|
1247
1247
|
* Cancels all operations associated with the given actor.
|
|
@@ -1512,7 +1512,7 @@ export namespace Mx {
|
|
|
1512
1512
|
* @param duration duration in milliseconds
|
|
1513
1513
|
* @param mode A {@link Clutter.AnimationMode}
|
|
1514
1514
|
*/
|
|
1515
|
-
interpolate(value: number, duration: number, mode:
|
|
1515
|
+
interpolate(value: number, duration: number, mode: bigint | number): void;
|
|
1516
1516
|
|
|
1517
1517
|
/**
|
|
1518
1518
|
* Interpolate the value of {@link Mx.Adjustment.value} to a new value calculated from
|
|
@@ -1521,7 +1521,7 @@ export namespace Mx {
|
|
|
1521
1521
|
* @param duration duration in milliseconds
|
|
1522
1522
|
* @param mode A {@link Clutter.AnimationMode}
|
|
1523
1523
|
*/
|
|
1524
|
-
interpolate_relative(offset: number, duration: number, mode:
|
|
1524
|
+
interpolate_relative(offset: number, duration: number, mode: bigint | number): void;
|
|
1525
1525
|
|
|
1526
1526
|
/**
|
|
1527
1527
|
* Set the value of the {@link Mx.Adjustment.clamp_value} property.
|
|
@@ -1599,9 +1599,7 @@ export namespace Mx {
|
|
|
1599
1599
|
}
|
|
1600
1600
|
|
|
1601
1601
|
// Constructor properties interface
|
|
1602
|
-
interface ConstructorProps extends Gio.Application.ConstructorProps, Gio.ActionGroup.ConstructorProps, Gio.ActionMap.ConstructorProps {
|
|
1603
|
-
|
|
1604
|
-
}
|
|
1602
|
+
interface ConstructorProps extends Gio.Application.ConstructorProps, Gio.ActionGroup.ConstructorProps, Gio.ActionMap.ConstructorProps {}
|
|
1605
1603
|
}
|
|
1606
1604
|
|
|
1607
1605
|
/**
|
|
@@ -1747,7 +1745,7 @@ export namespace Mx {
|
|
|
1747
1745
|
* @param action_name the name of the action to activate
|
|
1748
1746
|
* @param parameter parameters to the activation
|
|
1749
1747
|
*/
|
|
1750
|
-
activate_action(action_name: string, parameter:
|
|
1748
|
+
activate_action(action_name: string, parameter: GLib.Variant | null): void;
|
|
1751
1749
|
|
|
1752
1750
|
/**
|
|
1753
1751
|
* Request for the state of the named action within `action_group` to be
|
|
@@ -1793,7 +1791,7 @@ export namespace Mx {
|
|
|
1793
1791
|
* @param action_name the name of the action to query
|
|
1794
1792
|
* @returns the parameter type
|
|
1795
1793
|
*/
|
|
1796
|
-
get_action_parameter_type(action_name: string):
|
|
1794
|
+
get_action_parameter_type(action_name: string): GLib.VariantType | null;
|
|
1797
1795
|
|
|
1798
1796
|
/**
|
|
1799
1797
|
* Queries the current state of the named action within `action_group`.
|
|
@@ -1807,7 +1805,7 @@ export namespace Mx {
|
|
|
1807
1805
|
* @param action_name the name of the action to query
|
|
1808
1806
|
* @returns the current state of the action
|
|
1809
1807
|
*/
|
|
1810
|
-
get_action_state(action_name: string):
|
|
1808
|
+
get_action_state(action_name: string): GLib.Variant | null;
|
|
1811
1809
|
|
|
1812
1810
|
/**
|
|
1813
1811
|
* Requests a hint about the valid range of values for the state of the
|
|
@@ -1831,7 +1829,7 @@ export namespace Mx {
|
|
|
1831
1829
|
* @param action_name the name of the action to query
|
|
1832
1830
|
* @returns the state range hint
|
|
1833
1831
|
*/
|
|
1834
|
-
get_action_state_hint(action_name: string):
|
|
1832
|
+
get_action_state_hint(action_name: string): GLib.Variant | null;
|
|
1835
1833
|
|
|
1836
1834
|
/**
|
|
1837
1835
|
* Queries the type of the state of the named action within
|
|
@@ -1853,7 +1851,7 @@ export namespace Mx {
|
|
|
1853
1851
|
* @param action_name the name of the action to query
|
|
1854
1852
|
* @returns the state type, if the action is stateful
|
|
1855
1853
|
*/
|
|
1856
|
-
get_action_state_type(action_name: string):
|
|
1854
|
+
get_action_state_type(action_name: string): GLib.VariantType | null;
|
|
1857
1855
|
|
|
1858
1856
|
/**
|
|
1859
1857
|
* Checks if the named action exists within `action_group`.
|
|
@@ -1980,7 +1978,7 @@ export namespace Mx {
|
|
|
1980
1978
|
* @param parameter parameters to the activation
|
|
1981
1979
|
* @virtual
|
|
1982
1980
|
*/
|
|
1983
|
-
vfunc_activate_action(action_name: string, parameter:
|
|
1981
|
+
vfunc_activate_action(action_name: string, parameter: GLib.Variant | null): void;
|
|
1984
1982
|
|
|
1985
1983
|
/**
|
|
1986
1984
|
* Request for the state of the named action within `action_group` to be
|
|
@@ -2027,7 +2025,7 @@ export namespace Mx {
|
|
|
2027
2025
|
* @param action_name the name of the action to query
|
|
2028
2026
|
* @virtual
|
|
2029
2027
|
*/
|
|
2030
|
-
vfunc_get_action_parameter_type(action_name: string):
|
|
2028
|
+
vfunc_get_action_parameter_type(action_name: string): GLib.VariantType | null;
|
|
2031
2029
|
|
|
2032
2030
|
/**
|
|
2033
2031
|
* Queries the current state of the named action within `action_group`.
|
|
@@ -2041,7 +2039,7 @@ export namespace Mx {
|
|
|
2041
2039
|
* @param action_name the name of the action to query
|
|
2042
2040
|
* @virtual
|
|
2043
2041
|
*/
|
|
2044
|
-
vfunc_get_action_state(action_name: string):
|
|
2042
|
+
vfunc_get_action_state(action_name: string): GLib.Variant | null;
|
|
2045
2043
|
|
|
2046
2044
|
/**
|
|
2047
2045
|
* Requests a hint about the valid range of values for the state of the
|
|
@@ -2065,7 +2063,7 @@ export namespace Mx {
|
|
|
2065
2063
|
* @param action_name the name of the action to query
|
|
2066
2064
|
* @virtual
|
|
2067
2065
|
*/
|
|
2068
|
-
vfunc_get_action_state_hint(action_name: string):
|
|
2066
|
+
vfunc_get_action_state_hint(action_name: string): GLib.Variant | null;
|
|
2069
2067
|
|
|
2070
2068
|
/**
|
|
2071
2069
|
* Queries the type of the state of the named action within
|
|
@@ -2087,7 +2085,7 @@ export namespace Mx {
|
|
|
2087
2085
|
* @param action_name the name of the action to query
|
|
2088
2086
|
* @virtual
|
|
2089
2087
|
*/
|
|
2090
|
-
vfunc_get_action_state_type(action_name: string):
|
|
2088
|
+
vfunc_get_action_state_type(action_name: string): GLib.VariantType | null;
|
|
2091
2089
|
|
|
2092
2090
|
/**
|
|
2093
2091
|
* Checks if the named action exists within `action_group`.
|
|
@@ -2163,7 +2161,7 @@ export namespace Mx {
|
|
|
2163
2161
|
* @param action_name the name of an action
|
|
2164
2162
|
* @returns a {@link Gio.Action}
|
|
2165
2163
|
*/
|
|
2166
|
-
lookup_action(action_name: string):
|
|
2164
|
+
lookup_action(action_name: string): Gio.Action | null;
|
|
2167
2165
|
|
|
2168
2166
|
/**
|
|
2169
2167
|
* Removes the named action from the action map.
|
|
@@ -2219,7 +2217,7 @@ export namespace Mx {
|
|
|
2219
2217
|
* @param action_name the name of an action
|
|
2220
2218
|
* @virtual
|
|
2221
2219
|
*/
|
|
2222
|
-
vfunc_lookup_action(action_name: string):
|
|
2220
|
+
vfunc_lookup_action(action_name: string): Gio.Action | null;
|
|
2223
2221
|
|
|
2224
2222
|
/**
|
|
2225
2223
|
* Removes the named action from the action map.
|
|
@@ -2333,12 +2331,12 @@ export namespace Mx {
|
|
|
2333
2331
|
// Constructor properties interface
|
|
2334
2332
|
interface ConstructorProps extends Widget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Focusable.ConstructorProps, Stylable.ConstructorProps {
|
|
2335
2333
|
child: Clutter.Actor;
|
|
2336
|
-
x_align:
|
|
2337
|
-
xAlign:
|
|
2334
|
+
x_align: Align | any;
|
|
2335
|
+
xAlign: Align | any;
|
|
2338
2336
|
x_fill: boolean;
|
|
2339
2337
|
xFill: boolean;
|
|
2340
|
-
y_align:
|
|
2341
|
-
yAlign:
|
|
2338
|
+
y_align: Align | any;
|
|
2339
|
+
yAlign: Align | any;
|
|
2342
2340
|
y_fill: boolean;
|
|
2343
2341
|
yFill: boolean;
|
|
2344
2342
|
}
|
|
@@ -2362,17 +2360,17 @@ export namespace Mx {
|
|
|
2362
2360
|
* The horizontal alignment of the {@link Mx.Bin} child.
|
|
2363
2361
|
*/
|
|
2364
2362
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
2365
|
-
get x_align():
|
|
2363
|
+
get x_align(): Align | any;
|
|
2366
2364
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
2367
|
-
set x_align(val:
|
|
2365
|
+
set x_align(val: Align | any);
|
|
2368
2366
|
|
|
2369
2367
|
/**
|
|
2370
2368
|
* The horizontal alignment of the {@link Mx.Bin} child.
|
|
2371
2369
|
*/
|
|
2372
2370
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
2373
|
-
get xAlign():
|
|
2371
|
+
get xAlign(): Align | any;
|
|
2374
2372
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
2375
|
-
set xAlign(val:
|
|
2373
|
+
set xAlign(val: Align | any);
|
|
2376
2374
|
|
|
2377
2375
|
/**
|
|
2378
2376
|
* Whether the child should fill the horizontal allocation
|
|
@@ -2390,17 +2388,17 @@ export namespace Mx {
|
|
|
2390
2388
|
* The vertical alignment of the {@link Mx.Bin} child.
|
|
2391
2389
|
*/
|
|
2392
2390
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
2393
|
-
get y_align():
|
|
2391
|
+
get y_align(): Align | any;
|
|
2394
2392
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
2395
|
-
set y_align(val:
|
|
2393
|
+
set y_align(val: Align | any);
|
|
2396
2394
|
|
|
2397
2395
|
/**
|
|
2398
2396
|
* The vertical alignment of the {@link Mx.Bin} child.
|
|
2399
2397
|
*/
|
|
2400
2398
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
2401
|
-
get yAlign():
|
|
2399
|
+
get yAlign(): Align | any;
|
|
2402
2400
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
2403
|
-
set yAlign(val:
|
|
2401
|
+
set yAlign(val: Align | any);
|
|
2404
2402
|
|
|
2405
2403
|
/**
|
|
2406
2404
|
* Whether the child should fill the vertical allocation
|
|
@@ -4068,13 +4066,10 @@ export namespace Mx {
|
|
|
4068
4066
|
|
|
4069
4067
|
namespace Clipboard {
|
|
4070
4068
|
// Signal signatures
|
|
4071
|
-
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
4072
|
-
}
|
|
4069
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
4073
4070
|
|
|
4074
4071
|
// Constructor properties interface
|
|
4075
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
4076
|
-
|
|
4077
|
-
}
|
|
4072
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
4078
4073
|
}
|
|
4079
4074
|
|
|
4080
4075
|
/**
|
|
@@ -4692,9 +4687,7 @@ export namespace Mx {
|
|
|
4692
4687
|
}
|
|
4693
4688
|
|
|
4694
4689
|
// Constructor properties interface
|
|
4695
|
-
interface ConstructorProps extends Widget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Focusable.ConstructorProps, Stylable.ConstructorProps {
|
|
4696
|
-
|
|
4697
|
-
}
|
|
4690
|
+
interface ConstructorProps extends Widget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Focusable.ConstructorProps, Stylable.ConstructorProps {}
|
|
4698
4691
|
}
|
|
4699
4692
|
|
|
4700
4693
|
/**
|
|
@@ -6196,9 +6189,7 @@ export namespace Mx {
|
|
|
6196
6189
|
}
|
|
6197
6190
|
|
|
6198
6191
|
// Constructor properties interface
|
|
6199
|
-
interface ConstructorProps extends Widget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Stylable.ConstructorProps {
|
|
6200
|
-
|
|
6201
|
-
}
|
|
6192
|
+
interface ConstructorProps extends Widget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Stylable.ConstructorProps {}
|
|
6202
6193
|
}
|
|
6203
6194
|
|
|
6204
6195
|
/**
|
|
@@ -6637,9 +6628,7 @@ export namespace Mx {
|
|
|
6637
6628
|
}
|
|
6638
6629
|
|
|
6639
6630
|
// Constructor properties interface
|
|
6640
|
-
interface ConstructorProps extends Widget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Stylable.ConstructorProps {
|
|
6641
|
-
|
|
6642
|
-
}
|
|
6631
|
+
interface ConstructorProps extends Widget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Stylable.ConstructorProps {}
|
|
6643
6632
|
}
|
|
6644
6633
|
|
|
6645
6634
|
/**
|
|
@@ -8155,7 +8144,7 @@ export namespace Mx {
|
|
|
8155
8144
|
* @param duration duration of the animation in milliseconds
|
|
8156
8145
|
* @param scale_mode The {@link Mx.ImageScaleMode} to set
|
|
8157
8146
|
*/
|
|
8158
|
-
animate_scale_mode(mode:
|
|
8147
|
+
animate_scale_mode(mode: bigint | number, duration: number, scale_mode: ImageScaleMode): void;
|
|
8159
8148
|
|
|
8160
8149
|
/**
|
|
8161
8150
|
* Clear the current image and set a blank, transparent image.
|
|
@@ -8224,7 +8213,7 @@ export namespace Mx {
|
|
|
8224
8213
|
* @param buffer A buffer pointing to encoded image data
|
|
8225
8214
|
* @returns `TRUE` if the image was successfully updated
|
|
8226
8215
|
*/
|
|
8227
|
-
set_from_buffer(buffer:
|
|
8216
|
+
set_from_buffer(buffer: Uint8Array | string): boolean;
|
|
8228
8217
|
|
|
8229
8218
|
/**
|
|
8230
8219
|
* Set the image data from unencoded image data, stored in memory, and scales
|
|
@@ -8237,7 +8226,7 @@ export namespace Mx {
|
|
|
8237
8226
|
* @param height Height to scale the image to, or -1
|
|
8238
8227
|
* @returns `TRUE` if the image was successfully updated
|
|
8239
8228
|
*/
|
|
8240
|
-
set_from_buffer_at_size(buffer:
|
|
8229
|
+
set_from_buffer_at_size(buffer: Uint8Array | string, width: number, height: number): boolean;
|
|
8241
8230
|
|
|
8242
8231
|
/**
|
|
8243
8232
|
* Sets the contents of the image from the given Cogl texture.
|
|
@@ -8256,7 +8245,7 @@ export namespace Mx {
|
|
|
8256
8245
|
* @param rowstride Distance in bytes between row starts.
|
|
8257
8246
|
* @returns `TRUE` if the image was successfully updated
|
|
8258
8247
|
*/
|
|
8259
|
-
set_from_data(data:
|
|
8248
|
+
set_from_data(data: Uint8Array | string, pixel_format: Cogl.PixelFormat, width: number, height: number, rowstride: number): boolean;
|
|
8260
8249
|
|
|
8261
8250
|
/**
|
|
8262
8251
|
* Set the image data from an image file. In case of failure, `FALSE` is returned
|
|
@@ -8939,8 +8928,8 @@ export namespace Mx {
|
|
|
8939
8928
|
accelerationFactor: number;
|
|
8940
8929
|
clamp_duration: number;
|
|
8941
8930
|
clampDuration: number;
|
|
8942
|
-
clamp_mode:
|
|
8943
|
-
clampMode:
|
|
8931
|
+
clamp_mode: bigint | number;
|
|
8932
|
+
clampMode: bigint | number;
|
|
8944
8933
|
clamp_to_center: boolean;
|
|
8945
8934
|
clampToCenter: boolean;
|
|
8946
8935
|
deceleration: number;
|
|
@@ -8981,10 +8970,10 @@ export namespace Mx {
|
|
|
8981
8970
|
set clampDuration(val: number);
|
|
8982
8971
|
|
|
8983
8972
|
get clamp_mode(): number;
|
|
8984
|
-
set clamp_mode(val:
|
|
8973
|
+
set clamp_mode(val: bigint | number);
|
|
8985
8974
|
|
|
8986
8975
|
get clampMode(): number;
|
|
8987
|
-
set clampMode(val:
|
|
8976
|
+
set clampMode(val: bigint | number);
|
|
8988
8977
|
|
|
8989
8978
|
get clamp_to_center(): boolean;
|
|
8990
8979
|
set clamp_to_center(val: boolean);
|
|
@@ -9158,7 +9147,7 @@ export namespace Mx {
|
|
|
9158
9147
|
* Animation mode to use for the adjustment clamp animation.
|
|
9159
9148
|
* @param clamp_mode Clamp mode
|
|
9160
9149
|
*/
|
|
9161
|
-
set_clamp_mode(clamp_mode:
|
|
9150
|
+
set_clamp_mode(clamp_mode: bigint | number): void;
|
|
9162
9151
|
|
|
9163
9152
|
/**
|
|
9164
9153
|
* Set whether to clamp to step increments based on the center of the page.
|
|
@@ -9603,15 +9592,15 @@ export namespace Mx {
|
|
|
9603
9592
|
fadeOut: boolean;
|
|
9604
9593
|
line_wrap: boolean;
|
|
9605
9594
|
lineWrap: boolean;
|
|
9606
|
-
show_tooltip:
|
|
9595
|
+
show_tooltip: boolean | any;
|
|
9607
9596
|
showTooltip: boolean;
|
|
9608
9597
|
text: string;
|
|
9609
9598
|
use_markup: boolean;
|
|
9610
9599
|
useMarkup: boolean;
|
|
9611
|
-
x_align:
|
|
9612
|
-
xAlign:
|
|
9613
|
-
y_align:
|
|
9614
|
-
yAlign:
|
|
9600
|
+
x_align: Align | any;
|
|
9601
|
+
xAlign: Align | any;
|
|
9602
|
+
y_align: Align | any;
|
|
9603
|
+
yAlign: Align | any;
|
|
9615
9604
|
}
|
|
9616
9605
|
}
|
|
9617
9606
|
|
|
@@ -9684,24 +9673,24 @@ export namespace Mx {
|
|
|
9684
9673
|
set useMarkup(val: boolean);
|
|
9685
9674
|
|
|
9686
9675
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
9687
|
-
get x_align():
|
|
9676
|
+
get x_align(): Align | any;
|
|
9688
9677
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
9689
|
-
set x_align(val:
|
|
9678
|
+
set x_align(val: Align | any);
|
|
9690
9679
|
|
|
9691
9680
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
9692
|
-
get xAlign():
|
|
9681
|
+
get xAlign(): Align | any;
|
|
9693
9682
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
9694
|
-
set xAlign(val:
|
|
9683
|
+
set xAlign(val: Align | any);
|
|
9695
9684
|
|
|
9696
9685
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
9697
|
-
get y_align():
|
|
9686
|
+
get y_align(): Align | any;
|
|
9698
9687
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
9699
|
-
set y_align(val:
|
|
9688
|
+
set y_align(val: Align | any);
|
|
9700
9689
|
|
|
9701
9690
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
9702
|
-
get yAlign():
|
|
9691
|
+
get yAlign(): Align | any;
|
|
9703
9692
|
// This accessor conflicts with another accessor's type in a parent class or interface.
|
|
9704
|
-
set yAlign(val:
|
|
9693
|
+
set yAlign(val: Align | any);
|
|
9705
9694
|
|
|
9706
9695
|
/**
|
|
9707
9696
|
* Compile-time signal type information.
|
|
@@ -10440,9 +10429,7 @@ export namespace Mx {
|
|
|
10440
10429
|
}
|
|
10441
10430
|
|
|
10442
10431
|
// Constructor properties interface
|
|
10443
|
-
interface ConstructorProps extends FloatingWidget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Focusable.ConstructorProps, Stylable.ConstructorProps {
|
|
10444
|
-
|
|
10445
|
-
}
|
|
10432
|
+
interface ConstructorProps extends FloatingWidget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Focusable.ConstructorProps, Stylable.ConstructorProps {}
|
|
10446
10433
|
}
|
|
10447
10434
|
|
|
10448
10435
|
/**
|
|
@@ -13776,9 +13763,7 @@ export namespace Mx {
|
|
|
13776
13763
|
}
|
|
13777
13764
|
|
|
13778
13765
|
// Constructor properties interface
|
|
13779
|
-
interface ConstructorProps extends Widget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Focusable.ConstructorProps, Stylable.ConstructorProps {
|
|
13780
|
-
|
|
13781
|
-
}
|
|
13766
|
+
interface ConstructorProps extends Widget.ConstructorProps, Atk.ImplementorIface.ConstructorProps, Clutter.Animatable.ConstructorProps, Clutter.Container.ConstructorProps, Clutter.Scriptable.ConstructorProps, Focusable.ConstructorProps, Stylable.ConstructorProps {}
|
|
13782
13767
|
}
|
|
13783
13768
|
|
|
13784
13769
|
/**
|
|
@@ -14238,9 +14223,7 @@ export namespace Mx {
|
|
|
14238
14223
|
}
|
|
14239
14224
|
|
|
14240
14225
|
// Constructor properties interface
|
|
14241
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
14242
|
-
|
|
14243
|
-
}
|
|
14226
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
14244
14227
|
}
|
|
14245
14228
|
|
|
14246
14229
|
/**
|
|
@@ -15076,13 +15059,10 @@ export namespace Mx {
|
|
|
15076
15059
|
|
|
15077
15060
|
namespace TextureCache {
|
|
15078
15061
|
// Signal signatures
|
|
15079
|
-
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
15080
|
-
}
|
|
15062
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
15081
15063
|
|
|
15082
15064
|
// Constructor properties interface
|
|
15083
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
15084
|
-
|
|
15085
|
-
}
|
|
15065
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
15086
15066
|
}
|
|
15087
15067
|
|
|
15088
15068
|
/**
|
|
@@ -15481,7 +15461,7 @@ export namespace Mx {
|
|
|
15481
15461
|
* @param value return location for the animation value
|
|
15482
15462
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
15483
15463
|
*/
|
|
15484
|
-
animate_property(animation: Clutter.Animation, property_name: string, initial_value:
|
|
15464
|
+
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;
|
|
15485
15465
|
|
|
15486
15466
|
/**
|
|
15487
15467
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
@@ -15495,7 +15475,7 @@ export namespace Mx {
|
|
|
15495
15475
|
* @param property_name the name of the animatable property to retrieve
|
|
15496
15476
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
15497
15477
|
*/
|
|
15498
|
-
get_initial_state(property_name: string, value:
|
|
15478
|
+
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
15499
15479
|
|
|
15500
15480
|
/**
|
|
15501
15481
|
* Asks a {@link Clutter.Animatable} implementation to interpolate a
|
|
@@ -15519,7 +15499,7 @@ export namespace Mx {
|
|
|
15519
15499
|
* @param property_name the name of the animatable property to set
|
|
15520
15500
|
* @param value the value of the animatable property to set
|
|
15521
15501
|
*/
|
|
15522
|
-
set_final_state(property_name: string, value:
|
|
15502
|
+
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
15523
15503
|
|
|
15524
15504
|
/**
|
|
15525
15505
|
* Calls the `animate_property()` virtual function for `animatable`.
|
|
@@ -15605,7 +15585,7 @@ export namespace Mx {
|
|
|
15605
15585
|
* @param property the name of the property to set.
|
|
15606
15586
|
* @param value the value.
|
|
15607
15587
|
*/
|
|
15608
|
-
child_get_property(child: Clutter.Actor, property: string, value:
|
|
15588
|
+
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
15609
15589
|
|
|
15610
15590
|
/**
|
|
15611
15591
|
* Calls the {@link Clutter.ContainerIface}.child_notify() virtual function
|
|
@@ -15622,7 +15602,7 @@ export namespace Mx {
|
|
|
15622
15602
|
* @param property the name of the property to set.
|
|
15623
15603
|
* @param value the value.
|
|
15624
15604
|
*/
|
|
15625
|
-
child_set_property(child: Clutter.Actor, property: string, value:
|
|
15605
|
+
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
15626
15606
|
|
|
15627
15607
|
/**
|
|
15628
15608
|
* Creates the {@link Clutter.ChildMeta} wrapping `actor` inside the
|
|
@@ -15705,7 +15685,7 @@ export namespace Mx {
|
|
|
15705
15685
|
* @param actor the actor to raise
|
|
15706
15686
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
15707
15687
|
*/
|
|
15708
|
-
lower_child(actor: Clutter.Actor, sibling:
|
|
15688
|
+
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
15709
15689
|
|
|
15710
15690
|
/**
|
|
15711
15691
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -15716,7 +15696,7 @@ export namespace Mx {
|
|
|
15716
15696
|
* @param actor the actor to raise
|
|
15717
15697
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
15718
15698
|
*/
|
|
15719
|
-
raise_child(actor: Clutter.Actor, sibling:
|
|
15699
|
+
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
15720
15700
|
|
|
15721
15701
|
/**
|
|
15722
15702
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -15845,7 +15825,7 @@ export namespace Mx {
|
|
|
15845
15825
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
15846
15826
|
* @virtual
|
|
15847
15827
|
*/
|
|
15848
|
-
vfunc_lower(actor: Clutter.Actor, sibling:
|
|
15828
|
+
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
15849
15829
|
|
|
15850
15830
|
/**
|
|
15851
15831
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -15857,7 +15837,7 @@ export namespace Mx {
|
|
|
15857
15837
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
15858
15838
|
* @virtual
|
|
15859
15839
|
*/
|
|
15860
|
-
vfunc_raise(actor: Clutter.Actor, sibling:
|
|
15840
|
+
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
15861
15841
|
|
|
15862
15842
|
/**
|
|
15863
15843
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -15895,7 +15875,7 @@ export namespace Mx {
|
|
|
15895
15875
|
* @param node the JSON node to be parsed
|
|
15896
15876
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
15897
15877
|
*/
|
|
15898
|
-
parse_custom_node(script: Clutter.Script, value:
|
|
15878
|
+
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
15899
15879
|
|
|
15900
15880
|
/**
|
|
15901
15881
|
* Overrides the common properties setting. The underlying virtual
|
|
@@ -15904,7 +15884,7 @@ export namespace Mx {
|
|
|
15904
15884
|
* @param name the name of the property
|
|
15905
15885
|
* @param value the value of the property
|
|
15906
15886
|
*/
|
|
15907
|
-
set_custom_property(script: Clutter.Script, name: string, value:
|
|
15887
|
+
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
15908
15888
|
|
|
15909
15889
|
/**
|
|
15910
15890
|
* Sets `id_` as the unique Clutter script it for this instance of
|
|
@@ -16347,7 +16327,7 @@ export namespace Mx {
|
|
|
16347
16327
|
* @signal
|
|
16348
16328
|
* @run-last
|
|
16349
16329
|
*/
|
|
16350
|
-
"close-button-clicked": () =>
|
|
16330
|
+
"close-button-clicked": () => boolean | void;
|
|
16351
16331
|
"notify::has-close-button": (pspec: GObject.ParamSpec) => void;
|
|
16352
16332
|
"notify::disabled": (pspec: GObject.ParamSpec) => void;
|
|
16353
16333
|
"notify::menu": (pspec: GObject.ParamSpec) => void;
|
|
@@ -17218,7 +17198,7 @@ export namespace Mx {
|
|
|
17218
17198
|
* @signal
|
|
17219
17199
|
* @run-last
|
|
17220
17200
|
*/
|
|
17221
|
-
"long-press": (arg0: number, arg1: number, arg2: LongPressAction) =>
|
|
17201
|
+
"long-press": (arg0: number, arg1: number, arg2: LongPressAction) => boolean | void;
|
|
17222
17202
|
"notify::disabled": (pspec: GObject.ParamSpec) => void;
|
|
17223
17203
|
"notify::menu": (pspec: GObject.ParamSpec) => void;
|
|
17224
17204
|
"notify::tooltip-delay": (pspec: GObject.ParamSpec) => void;
|
|
@@ -17551,7 +17531,7 @@ export namespace Mx {
|
|
|
17551
17531
|
* @param value return location for the animation value
|
|
17552
17532
|
* @returns `true` if the value has been validated and can be applied to the {@link Clutter.Animatable}, and `false` otherwise
|
|
17553
17533
|
*/
|
|
17554
|
-
animate_property(animation: Clutter.Animation, property_name: string, initial_value:
|
|
17534
|
+
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;
|
|
17555
17535
|
|
|
17556
17536
|
/**
|
|
17557
17537
|
* Finds the {@link GObject.ParamSpec} for `property_name`
|
|
@@ -17565,7 +17545,7 @@ export namespace Mx {
|
|
|
17565
17545
|
* @param property_name the name of the animatable property to retrieve
|
|
17566
17546
|
* @param value a {@link GObject.Value} initialized to the type of the property to retrieve
|
|
17567
17547
|
*/
|
|
17568
|
-
get_initial_state(property_name: string, value:
|
|
17548
|
+
get_initial_state(property_name: string, value: GObject.Value | any): void;
|
|
17569
17549
|
|
|
17570
17550
|
/**
|
|
17571
17551
|
* Asks a {@link Clutter.Animatable} implementation to interpolate a
|
|
@@ -17589,7 +17569,7 @@ export namespace Mx {
|
|
|
17589
17569
|
* @param property_name the name of the animatable property to set
|
|
17590
17570
|
* @param value the value of the animatable property to set
|
|
17591
17571
|
*/
|
|
17592
|
-
set_final_state(property_name: string, value:
|
|
17572
|
+
set_final_state(property_name: string, value: GObject.Value | any): void;
|
|
17593
17573
|
|
|
17594
17574
|
/**
|
|
17595
17575
|
* Calls the `animate_property()` virtual function for `animatable`.
|
|
@@ -17675,7 +17655,7 @@ export namespace Mx {
|
|
|
17675
17655
|
* @param property the name of the property to set.
|
|
17676
17656
|
* @param value the value.
|
|
17677
17657
|
*/
|
|
17678
|
-
child_get_property(child: Clutter.Actor, property: string, value:
|
|
17658
|
+
child_get_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
17679
17659
|
|
|
17680
17660
|
/**
|
|
17681
17661
|
* Calls the {@link Clutter.ContainerIface}.child_notify() virtual function
|
|
@@ -17692,7 +17672,7 @@ export namespace Mx {
|
|
|
17692
17672
|
* @param property the name of the property to set.
|
|
17693
17673
|
* @param value the value.
|
|
17694
17674
|
*/
|
|
17695
|
-
child_set_property(child: Clutter.Actor, property: string, value:
|
|
17675
|
+
child_set_property(child: Clutter.Actor, property: string, value: GObject.Value | any): void;
|
|
17696
17676
|
|
|
17697
17677
|
/**
|
|
17698
17678
|
* Creates the {@link Clutter.ChildMeta} wrapping `actor` inside the
|
|
@@ -17775,7 +17755,7 @@ export namespace Mx {
|
|
|
17775
17755
|
* @param actor the actor to raise
|
|
17776
17756
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
17777
17757
|
*/
|
|
17778
|
-
lower_child(actor: Clutter.Actor, sibling:
|
|
17758
|
+
lower_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
17779
17759
|
|
|
17780
17760
|
/**
|
|
17781
17761
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -17786,7 +17766,7 @@ export namespace Mx {
|
|
|
17786
17766
|
* @param actor the actor to raise
|
|
17787
17767
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
17788
17768
|
*/
|
|
17789
|
-
raise_child(actor: Clutter.Actor, sibling:
|
|
17769
|
+
raise_child(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
17790
17770
|
|
|
17791
17771
|
/**
|
|
17792
17772
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -17915,7 +17895,7 @@ export namespace Mx {
|
|
|
17915
17895
|
* @param sibling the sibling to lower to, or `null` to lower to the bottom
|
|
17916
17896
|
* @virtual
|
|
17917
17897
|
*/
|
|
17918
|
-
vfunc_lower(actor: Clutter.Actor, sibling:
|
|
17898
|
+
vfunc_lower(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
17919
17899
|
|
|
17920
17900
|
/**
|
|
17921
17901
|
* Raises `actor` to `sibling` level, in the depth ordering.
|
|
@@ -17927,7 +17907,7 @@ export namespace Mx {
|
|
|
17927
17907
|
* @param sibling the sibling to raise to, or `null` to raise to the top
|
|
17928
17908
|
* @virtual
|
|
17929
17909
|
*/
|
|
17930
|
-
vfunc_raise(actor: Clutter.Actor, sibling:
|
|
17910
|
+
vfunc_raise(actor: Clutter.Actor, sibling: Clutter.Actor | null): void;
|
|
17931
17911
|
|
|
17932
17912
|
/**
|
|
17933
17913
|
* Removes `actor` from `container`. The actor should be unparented, so
|
|
@@ -17965,7 +17945,7 @@ export namespace Mx {
|
|
|
17965
17945
|
* @param node the JSON node to be parsed
|
|
17966
17946
|
* @returns `true` if the node was successfully parsed, `false` otherwise.
|
|
17967
17947
|
*/
|
|
17968
|
-
parse_custom_node(script: Clutter.Script, value:
|
|
17948
|
+
parse_custom_node(script: Clutter.Script, value: GObject.Value | any, name: string, node: Json.Node): boolean;
|
|
17969
17949
|
|
|
17970
17950
|
/**
|
|
17971
17951
|
* Overrides the common properties setting. The underlying virtual
|
|
@@ -17974,7 +17954,7 @@ export namespace Mx {
|
|
|
17974
17954
|
* @param name the name of the property
|
|
17975
17955
|
* @param value the value of the property
|
|
17976
17956
|
*/
|
|
17977
|
-
set_custom_property(script: Clutter.Script, name: string, value:
|
|
17957
|
+
set_custom_property(script: Clutter.Script, name: string, value: GObject.Value | any): void;
|
|
17978
17958
|
|
|
17979
17959
|
/**
|
|
17980
17960
|
* Sets `id_` as the unique Clutter script it for this instance of
|
|
@@ -18642,7 +18622,7 @@ export namespace Mx {
|
|
|
18642
18622
|
* @param str
|
|
18643
18623
|
* @param filename
|
|
18644
18624
|
*/
|
|
18645
|
-
static set_from_string(value:
|
|
18625
|
+
static set_from_string(value: GObject.Value | any, str: string, filename: string): void;
|
|
18646
18626
|
|
|
18647
18627
|
// Methods
|
|
18648
18628
|
/**
|
|
@@ -19549,9 +19529,7 @@ export namespace Mx {
|
|
|
19549
19529
|
|
|
19550
19530
|
|
|
19551
19531
|
// Constructor properties interface
|
|
19552
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
19553
|
-
|
|
19554
|
-
}
|
|
19532
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
19555
19533
|
}
|
|
19556
19534
|
|
|
19557
19535
|
export interface FocusableNamespace {
|
|
@@ -19603,9 +19581,7 @@ export namespace Mx {
|
|
|
19603
19581
|
|
|
19604
19582
|
|
|
19605
19583
|
// Constructor properties interface
|
|
19606
|
-
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
19607
|
-
|
|
19608
|
-
}
|
|
19584
|
+
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
19609
19585
|
}
|
|
19610
19586
|
|
|
19611
19587
|
export interface ItemFactoryNamespace {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/mx-2.0",
|
|
3
|
-
"version": "1.99.4-4.0.0
|
|
3
|
+
"version": "1.99.4-4.0.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Mx-2.0, generated from library version 1.99.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "mx-2.0.js",
|
|
@@ -31,25 +31,25 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "4.0.0
|
|
35
|
-
"@girs/freetype2-2.0": "2.0.0-4.0.0
|
|
36
|
-
"@girs/fontconfig-2.0": "2.0.0-4.0.0
|
|
37
|
-
"@girs/cairo-1.0": "1.0.0-4.0.0
|
|
38
|
-
"@girs/gobject-2.0": "2.88.0-4.0.0
|
|
39
|
-
"@girs/glib-2.0": "2.88.0-4.0.0
|
|
40
|
-
"@girs/pangoft2-1.0": "1.0.0-4.0.0
|
|
41
|
-
"@girs/pangofc-1.0": "1.0.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/gio-2.0": "2.88.0-4.0.0
|
|
45
|
-
"@girs/gmodule-2.0": "2.0.0-4.0.0
|
|
46
|
-
"@girs/pangocairo-1.0": "1.0.0-4.0.0
|
|
47
|
-
"@girs/json-1.0": "1.10.8-4.0.0
|
|
48
|
-
"@girs/gl-1.0": "1.0.0-4.0.0
|
|
49
|
-
"@girs/coglpango-1.0": "1.0.0-4.0.0
|
|
50
|
-
"@girs/cogl-1.0": "1.0.0-4.0.0
|
|
51
|
-
"@girs/clutter-1.0": "1.26.5-4.0.0
|
|
52
|
-
"@girs/atk-1.0": "2.60.0-4.0.0
|
|
34
|
+
"@girs/gjs": "4.0.0",
|
|
35
|
+
"@girs/freetype2-2.0": "2.0.0-4.0.0",
|
|
36
|
+
"@girs/fontconfig-2.0": "2.0.0-4.0.0",
|
|
37
|
+
"@girs/cairo-1.0": "1.0.0-4.0.0",
|
|
38
|
+
"@girs/gobject-2.0": "2.88.0-4.0.0",
|
|
39
|
+
"@girs/glib-2.0": "2.88.0-4.0.0",
|
|
40
|
+
"@girs/pangoft2-1.0": "1.0.0-4.0.0",
|
|
41
|
+
"@girs/pangofc-1.0": "1.0.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/gio-2.0": "2.88.0-4.0.0",
|
|
45
|
+
"@girs/gmodule-2.0": "2.0.0-4.0.0",
|
|
46
|
+
"@girs/pangocairo-1.0": "1.0.0-4.0.0",
|
|
47
|
+
"@girs/json-1.0": "1.10.8-4.0.0",
|
|
48
|
+
"@girs/gl-1.0": "1.0.0-4.0.0",
|
|
49
|
+
"@girs/coglpango-1.0": "1.0.0-4.0.0",
|
|
50
|
+
"@girs/cogl-1.0": "1.0.0-4.0.0",
|
|
51
|
+
"@girs/clutter-1.0": "1.26.5-4.0.0",
|
|
52
|
+
"@girs/atk-1.0": "2.60.0-4.0.0" },
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"typescript": "*"
|
|
55
55
|
},
|