@girs/clutter-14 14.0.0-4.0.0-beta.44 → 14.0.0-4.0.0-rc.2

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/clutter-14.d.ts +108 -84
  3. package/package.json +18 -18
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/clutter-14)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Clutter-14, generated from library version 14.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.44.
8
+ GJS TypeScript type definitions for Clutter-14, generated from library version 14.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.
9
9
 
10
10
  ## Install
11
11
 
package/clutter-14.d.ts CHANGED
@@ -4269,7 +4269,7 @@ export namespace Clutter {
4269
4269
  * @gir-type Callback
4270
4270
  */
4271
4271
  interface ProgressFunc {
4272
- (a: GObject.Value | any, b: GObject.Value | any, progress: number, retval: GObject.Value | any): boolean;
4272
+ (a: unknown, b: unknown, progress: number, retval: unknown): boolean;
4273
4273
  }
4274
4274
  /**
4275
4275
  * @gir-type Callback
@@ -12059,7 +12059,7 @@ export namespace Clutter {
12059
12059
  * @param value a {@link GObject.Value} initialized to the type of the property to retrieve
12060
12060
  * @virtual
12061
12061
  */
12062
- vfunc_get_initial_state(property_name: string, value: GObject.Value | any): void;
12062
+ vfunc_get_initial_state(property_name: string, value: unknown): void;
12063
12063
  /**
12064
12064
  * Asks a {@link Clutter.Animatable} implementation to interpolate a
12065
12065
  * a named property between the initial and final values of
@@ -12073,14 +12073,18 @@ export namespace Clutter {
12073
12073
  * @param progress the progress to use to interpolate between the initial and final values of the `interval`
12074
12074
  * @virtual
12075
12075
  */
12076
- vfunc_interpolate_value(property_name: string, interval: Interval, progress: number): [boolean, unknown];
12076
+ vfunc_interpolate_value(
12077
+ property_name: string,
12078
+ interval: Interval,
12079
+ progress: number,
12080
+ ): [boolean, GObject.Value | any];
12077
12081
  /**
12078
12082
  * Sets the current state of `property_name` to `value`
12079
12083
  * @param property_name the name of the animatable property to set
12080
12084
  * @param value the value of the animatable property to set
12081
12085
  * @virtual
12082
12086
  */
12083
- vfunc_set_final_state(property_name: string, value: GObject.Value | any): void;
12087
+ vfunc_set_final_state(property_name: string, value: unknown): void;
12084
12088
  /**
12085
12089
  * Creates a binding between `source_property` on `source` and `target_property`
12086
12090
  * on `target`.
@@ -12178,7 +12182,7 @@ export namespace Clutter {
12178
12182
  bind_property_full(...args: never[]): any;
12179
12183
  /**
12180
12184
  * This function is intended for {@link GObject.Object} implementations to re-enforce
12181
- * a [floating](floating-refs.html) object reference. Doing this is seldom
12185
+ * a [floating][floating-ref] object reference. Doing this is seldom
12182
12186
  * required: all `GInitiallyUnowneds` are created with a floating reference
12183
12187
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
12184
12188
  */
@@ -12233,7 +12237,7 @@ export namespace Clutter {
12233
12237
  */
12234
12238
  getv(names: string[], values: (GObject.Value | any)[]): void;
12235
12239
  /**
12236
- * Checks whether `object` has a [floating](floating-refs.html) reference.
12240
+ * Checks whether `object` has a [floating][floating-ref] reference.
12237
12241
  * @returns `true` if `object` has a floating reference
12238
12242
  */
12239
12243
  is_floating(): boolean;
@@ -12308,7 +12312,7 @@ export namespace Clutter {
12308
12312
  ref(): GObject.Object;
12309
12313
  /**
12310
12314
  * Increase the reference count of `object`, and possibly remove the
12311
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
12315
+ * [floating][floating-ref] reference, if `object` has a floating reference.
12312
12316
  *
12313
12317
  * In other words, if the object is floating, then this call "assumes
12314
12318
  * ownership" of the floating reference, converting it to a normal
@@ -12477,7 +12481,7 @@ export namespace Clutter {
12477
12481
  * @param pspec
12478
12482
  * @virtual
12479
12483
  */
12480
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
12484
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
12481
12485
  /**
12482
12486
  * Emits a "notify" signal for the property `property_name` on `object`.
12483
12487
  *
@@ -12504,7 +12508,7 @@ export namespace Clutter {
12504
12508
  * @param pspec
12505
12509
  * @virtual
12506
12510
  */
12507
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
12511
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
12508
12512
  /**
12509
12513
  * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
12510
12514
  * @param id Handler ID of the handler to be disconnected
@@ -14518,7 +14522,7 @@ export namespace Clutter {
14518
14522
  * @param value a {@link GObject.Value} initialized to the type of the property to retrieve
14519
14523
  * @virtual
14520
14524
  */
14521
- vfunc_get_initial_state(property_name: string, value: GObject.Value | any): void;
14525
+ vfunc_get_initial_state(property_name: string, value: unknown): void;
14522
14526
  /**
14523
14527
  * Asks a {@link Clutter.Animatable} implementation to interpolate a
14524
14528
  * a named property between the initial and final values of
@@ -14532,14 +14536,18 @@ export namespace Clutter {
14532
14536
  * @param progress the progress to use to interpolate between the initial and final values of the `interval`
14533
14537
  * @virtual
14534
14538
  */
14535
- vfunc_interpolate_value(property_name: string, interval: Interval, progress: number): [boolean, unknown];
14539
+ vfunc_interpolate_value(
14540
+ property_name: string,
14541
+ interval: Interval,
14542
+ progress: number,
14543
+ ): [boolean, GObject.Value | any];
14536
14544
  /**
14537
14545
  * Sets the current state of `property_name` to `value`
14538
14546
  * @param property_name the name of the animatable property to set
14539
14547
  * @param value the value of the animatable property to set
14540
14548
  * @virtual
14541
14549
  */
14542
- vfunc_set_final_state(property_name: string, value: GObject.Value | any): void;
14550
+ vfunc_set_final_state(property_name: string, value: unknown): void;
14543
14551
  /**
14544
14552
  * Creates a binding between `source_property` on `source` and `target_property`
14545
14553
  * on `target`.
@@ -14637,7 +14645,7 @@ export namespace Clutter {
14637
14645
  bind_property_full(...args: never[]): any;
14638
14646
  /**
14639
14647
  * This function is intended for {@link GObject.Object} implementations to re-enforce
14640
- * a [floating](floating-refs.html) object reference. Doing this is seldom
14648
+ * a [floating][floating-ref] object reference. Doing this is seldom
14641
14649
  * required: all `GInitiallyUnowneds` are created with a floating reference
14642
14650
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
14643
14651
  */
@@ -14692,7 +14700,7 @@ export namespace Clutter {
14692
14700
  */
14693
14701
  getv(names: string[], values: (GObject.Value | any)[]): void;
14694
14702
  /**
14695
- * Checks whether `object` has a [floating](floating-refs.html) reference.
14703
+ * Checks whether `object` has a [floating][floating-ref] reference.
14696
14704
  * @returns `true` if `object` has a floating reference
14697
14705
  */
14698
14706
  is_floating(): boolean;
@@ -14767,7 +14775,7 @@ export namespace Clutter {
14767
14775
  ref(): GObject.Object;
14768
14776
  /**
14769
14777
  * Increase the reference count of `object`, and possibly remove the
14770
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
14778
+ * [floating][floating-ref] reference, if `object` has a floating reference.
14771
14779
  *
14772
14780
  * In other words, if the object is floating, then this call "assumes
14773
14781
  * ownership" of the floating reference, converting it to a normal
@@ -14936,7 +14944,7 @@ export namespace Clutter {
14936
14944
  * @param pspec
14937
14945
  * @virtual
14938
14946
  */
14939
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
14947
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
14940
14948
  /**
14941
14949
  * Emits a "notify" signal for the property `property_name` on `object`.
14942
14950
  *
@@ -14963,7 +14971,7 @@ export namespace Clutter {
14963
14971
  * @param pspec
14964
14972
  * @virtual
14965
14973
  */
14966
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
14974
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
14967
14975
  /**
14968
14976
  * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
14969
14977
  * @param id Handler ID of the handler to be disconnected
@@ -16387,7 +16395,7 @@ export namespace Clutter {
16387
16395
  /**
16388
16396
  * @param flip_time_us
16389
16397
  */
16390
- record_flip_time(flip_time_us: number): void;
16398
+ record_flip_time(flip_time_us: bigint | number): void;
16391
16399
  /**
16392
16400
  * @param timeline
16393
16401
  */
@@ -17667,7 +17675,7 @@ export namespace Clutter {
17667
17675
  bind_property_full(...args: never[]): any;
17668
17676
  /**
17669
17677
  * This function is intended for {@link GObject.Object} implementations to re-enforce
17670
- * a [floating](floating-refs.html) object reference. Doing this is seldom
17678
+ * a [floating][floating-ref] object reference. Doing this is seldom
17671
17679
  * required: all `GInitiallyUnowneds` are created with a floating reference
17672
17680
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
17673
17681
  */
@@ -17722,7 +17730,7 @@ export namespace Clutter {
17722
17730
  */
17723
17731
  getv(names: string[], values: (GObject.Value | any)[]): void;
17724
17732
  /**
17725
- * Checks whether `object` has a [floating](floating-refs.html) reference.
17733
+ * Checks whether `object` has a [floating][floating-ref] reference.
17726
17734
  * @returns `true` if `object` has a floating reference
17727
17735
  */
17728
17736
  is_floating(): boolean;
@@ -17797,7 +17805,7 @@ export namespace Clutter {
17797
17805
  ref(): GObject.Object;
17798
17806
  /**
17799
17807
  * Increase the reference count of `object`, and possibly remove the
17800
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
17808
+ * [floating][floating-ref] reference, if `object` has a floating reference.
17801
17809
  *
17802
17810
  * In other words, if the object is floating, then this call "assumes
17803
17811
  * ownership" of the floating reference, converting it to a normal
@@ -17951,7 +17959,7 @@ export namespace Clutter {
17951
17959
  * @param pspec
17952
17960
  * @virtual
17953
17961
  */
17954
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
17962
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
17955
17963
  /**
17956
17964
  * Emits a "notify" signal for the property `property_name` on `object`.
17957
17965
  *
@@ -17978,7 +17986,7 @@ export namespace Clutter {
17978
17986
  * @param pspec
17979
17987
  * @virtual
17980
17988
  */
17981
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
17989
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
17982
17990
  /**
17983
17991
  * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
17984
17992
  * @param id Handler ID of the handler to be disconnected
@@ -18325,8 +18333,8 @@ export namespace Clutter {
18325
18333
 
18326
18334
  interface ConstructorProps extends GObject.Object.ConstructorProps {
18327
18335
  axes: InputAxisFlags;
18328
- id: number;
18329
- serial: number;
18336
+ id: bigint | number;
18337
+ serial: bigint | number;
18330
18338
  type: InputDeviceToolType;
18331
18339
  }
18332
18340
  }
@@ -18707,7 +18715,7 @@ export namespace Clutter {
18707
18715
  * @param time_
18708
18716
  * @param press
18709
18717
  */
18710
- forward_key(keyval: number, keycode: number, state: number, time_: number, press: boolean): void;
18718
+ forward_key(keyval: number, keycode: number, state: number, time_: bigint | number, press: boolean): void;
18711
18719
  /**
18712
18720
  * @param event
18713
18721
  * @param filtered
@@ -18739,8 +18747,8 @@ export namespace Clutter {
18739
18747
  // Constructor properties interface
18740
18748
 
18741
18749
  interface ConstructorProps extends GObject.InitiallyUnowned.ConstructorProps {
18742
- final: GObject.Value;
18743
- initial: GObject.Value;
18750
+ final: GObject.Value | any;
18751
+ initial: GObject.Value | any;
18744
18752
  value_type: GObject.GTypeInput;
18745
18753
  valueType: GObject.GTypeInput;
18746
18754
  }
@@ -18772,13 +18780,13 @@ export namespace Clutter {
18772
18780
  /**
18773
18781
  * The final value of the interval.
18774
18782
  */
18775
- get final(): GObject.Value;
18776
- set final(val: GObject.Value);
18783
+ get final(): unknown;
18784
+ set final(val: GObject.Value | any);
18777
18785
  /**
18778
18786
  * The initial value of the interval.
18779
18787
  */
18780
- get initial(): GObject.Value;
18781
- set initial(val: GObject.Value);
18788
+ get initial(): unknown;
18789
+ set initial(val: GObject.Value | any);
18782
18790
  /**
18783
18791
  * The type of the values in the interval.
18784
18792
  * @construct-only
@@ -18840,7 +18848,7 @@ export namespace Clutter {
18840
18848
  * @param factor the progress factor, between 0 and 1
18841
18849
  * @virtual
18842
18850
  */
18843
- vfunc_compute_value(factor: number): [boolean, unknown];
18851
+ vfunc_compute_value(factor: number): [boolean, GObject.Value | any];
18844
18852
  /**
18845
18853
  * Validates the initial and final values of `interval` against
18846
18854
  * a {@link GObject.ParamSpec}.
@@ -20818,7 +20826,7 @@ export namespace Clutter {
20818
20826
  * @param value a {@link GObject.Value} initialized to the type of the property to retrieve
20819
20827
  * @virtual
20820
20828
  */
20821
- vfunc_get_initial_state(property_name: string, value: GObject.Value | any): void;
20829
+ vfunc_get_initial_state(property_name: string, value: unknown): void;
20822
20830
  /**
20823
20831
  * Asks a {@link Clutter.Animatable} implementation to interpolate a
20824
20832
  * a named property between the initial and final values of
@@ -20832,14 +20840,18 @@ export namespace Clutter {
20832
20840
  * @param progress the progress to use to interpolate between the initial and final values of the `interval`
20833
20841
  * @virtual
20834
20842
  */
20835
- vfunc_interpolate_value(property_name: string, interval: Interval, progress: number): [boolean, unknown];
20843
+ vfunc_interpolate_value(
20844
+ property_name: string,
20845
+ interval: Interval,
20846
+ progress: number,
20847
+ ): [boolean, GObject.Value | any];
20836
20848
  /**
20837
20849
  * Sets the current state of `property_name` to `value`
20838
20850
  * @param property_name the name of the animatable property to set
20839
20851
  * @param value the value of the animatable property to set
20840
20852
  * @virtual
20841
20853
  */
20842
- vfunc_set_final_state(property_name: string, value: GObject.Value | any): void;
20854
+ vfunc_set_final_state(property_name: string, value: unknown): void;
20843
20855
  /**
20844
20856
  * Creates a binding between `source_property` on `source` and `target_property`
20845
20857
  * on `target`.
@@ -20937,7 +20949,7 @@ export namespace Clutter {
20937
20949
  bind_property_full(...args: never[]): any;
20938
20950
  /**
20939
20951
  * This function is intended for {@link GObject.Object} implementations to re-enforce
20940
- * a [floating](floating-refs.html) object reference. Doing this is seldom
20952
+ * a [floating][floating-ref] object reference. Doing this is seldom
20941
20953
  * required: all `GInitiallyUnowneds` are created with a floating reference
20942
20954
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
20943
20955
  */
@@ -20992,7 +21004,7 @@ export namespace Clutter {
20992
21004
  */
20993
21005
  getv(names: string[], values: (GObject.Value | any)[]): void;
20994
21006
  /**
20995
- * Checks whether `object` has a [floating](floating-refs.html) reference.
21007
+ * Checks whether `object` has a [floating][floating-ref] reference.
20996
21008
  * @returns `true` if `object` has a floating reference
20997
21009
  */
20998
21010
  is_floating(): boolean;
@@ -21067,7 +21079,7 @@ export namespace Clutter {
21067
21079
  ref(): GObject.Object;
21068
21080
  /**
21069
21081
  * Increase the reference count of `object`, and possibly remove the
21070
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
21082
+ * [floating][floating-ref] reference, if `object` has a floating reference.
21071
21083
  *
21072
21084
  * In other words, if the object is floating, then this call "assumes
21073
21085
  * ownership" of the floating reference, converting it to a normal
@@ -21236,7 +21248,7 @@ export namespace Clutter {
21236
21248
  * @param pspec
21237
21249
  * @virtual
21238
21250
  */
21239
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
21251
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
21240
21252
  /**
21241
21253
  * Emits a "notify" signal for the property `property_name` on `object`.
21242
21254
  *
@@ -21263,7 +21275,7 @@ export namespace Clutter {
21263
21275
  * @param pspec
21264
21276
  * @virtual
21265
21277
  */
21266
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
21278
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
21267
21279
  /**
21268
21280
  * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
21269
21281
  * @param id Handler ID of the handler to be disconnected
@@ -22886,7 +22898,7 @@ export namespace Clutter {
22886
22898
  * @param value a {@link GObject.Value} initialized to the type of the property to retrieve
22887
22899
  * @virtual
22888
22900
  */
22889
- vfunc_get_initial_state(property_name: string, value: GObject.Value | any): void;
22901
+ vfunc_get_initial_state(property_name: string, value: unknown): void;
22890
22902
  /**
22891
22903
  * Asks a {@link Clutter.Animatable} implementation to interpolate a
22892
22904
  * a named property between the initial and final values of
@@ -22900,14 +22912,18 @@ export namespace Clutter {
22900
22912
  * @param progress the progress to use to interpolate between the initial and final values of the `interval`
22901
22913
  * @virtual
22902
22914
  */
22903
- vfunc_interpolate_value(property_name: string, interval: Interval, progress: number): [boolean, unknown];
22915
+ vfunc_interpolate_value(
22916
+ property_name: string,
22917
+ interval: Interval,
22918
+ progress: number,
22919
+ ): [boolean, GObject.Value | any];
22904
22920
  /**
22905
22921
  * Sets the current state of `property_name` to `value`
22906
22922
  * @param property_name the name of the animatable property to set
22907
22923
  * @param value the value of the animatable property to set
22908
22924
  * @virtual
22909
22925
  */
22910
- vfunc_set_final_state(property_name: string, value: GObject.Value | any): void;
22926
+ vfunc_set_final_state(property_name: string, value: unknown): void;
22911
22927
  /**
22912
22928
  * Creates a binding between `source_property` on `source` and `target_property`
22913
22929
  * on `target`.
@@ -23005,7 +23021,7 @@ export namespace Clutter {
23005
23021
  bind_property_full(...args: never[]): any;
23006
23022
  /**
23007
23023
  * This function is intended for {@link GObject.Object} implementations to re-enforce
23008
- * a [floating](floating-refs.html) object reference. Doing this is seldom
23024
+ * a [floating][floating-ref] object reference. Doing this is seldom
23009
23025
  * required: all `GInitiallyUnowneds` are created with a floating reference
23010
23026
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
23011
23027
  */
@@ -23060,7 +23076,7 @@ export namespace Clutter {
23060
23076
  */
23061
23077
  getv(names: string[], values: (GObject.Value | any)[]): void;
23062
23078
  /**
23063
- * Checks whether `object` has a [floating](floating-refs.html) reference.
23079
+ * Checks whether `object` has a [floating][floating-ref] reference.
23064
23080
  * @returns `true` if `object` has a floating reference
23065
23081
  */
23066
23082
  is_floating(): boolean;
@@ -23135,7 +23151,7 @@ export namespace Clutter {
23135
23151
  ref(): GObject.Object;
23136
23152
  /**
23137
23153
  * Increase the reference count of `object`, and possibly remove the
23138
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
23154
+ * [floating][floating-ref] reference, if `object` has a floating reference.
23139
23155
  *
23140
23156
  * In other words, if the object is floating, then this call "assumes
23141
23157
  * ownership" of the floating reference, converting it to a normal
@@ -23304,7 +23320,7 @@ export namespace Clutter {
23304
23320
  * @param pspec
23305
23321
  * @virtual
23306
23322
  */
23307
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
23323
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
23308
23324
  /**
23309
23325
  * Emits a "notify" signal for the property `property_name` on `object`.
23310
23326
  *
@@ -23331,7 +23347,7 @@ export namespace Clutter {
23331
23347
  * @param pspec
23332
23348
  * @virtual
23333
23349
  */
23334
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
23350
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
23335
23351
  /**
23336
23352
  * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
23337
23353
  * @param id Handler ID of the handler to be disconnected
@@ -23522,8 +23538,8 @@ export namespace Clutter {
23522
23538
  stage: Stage;
23523
23539
  use_shadowfb: boolean;
23524
23540
  useShadowfb: boolean;
23525
- vblank_duration_us: number;
23526
- vblankDurationUs: number;
23541
+ vblank_duration_us: bigint | number;
23542
+ vblankDurationUs: bigint | number;
23527
23543
  }
23528
23544
  }
23529
23545
 
@@ -24496,7 +24512,7 @@ export namespace Clutter {
24496
24512
  * @param start_pos starting position
24497
24513
  * @param end_pos ending position
24498
24514
  */
24499
- delete_text(start_pos: number, end_pos: number): void;
24515
+ delete_text(start_pos: bigint | number, end_pos: bigint | number): void;
24500
24516
  /**
24501
24517
  * Retrieves whether a {@link Clutter.Text} is activatable or not.
24502
24518
  * @returns `true` if the actor is activatable
@@ -24523,7 +24539,7 @@ export namespace Clutter {
24523
24539
  * @param end_pos end of text, in characters
24524
24540
  * @returns a newly allocated string with the contents of the text actor between the specified positions. Use {@link GLib.free} to free the resources when done
24525
24541
  */
24526
- get_chars(start_pos: number, end_pos: number): string;
24542
+ get_chars(start_pos: bigint | number, end_pos: bigint | number): string;
24527
24543
  /**
24528
24544
  * Retrieves the text color as set by {@link Text.set_color}.
24529
24545
  */
@@ -24688,7 +24704,7 @@ export namespace Clutter {
24688
24704
  * @param text the text to be inserted
24689
24705
  * @param position the position of the insertion, or -1
24690
24706
  */
24691
- insert_text(text: string, position: number): void;
24707
+ insert_text(text: string, position: bigint | number): void;
24692
24708
  /**
24693
24709
  * Inserts `wc` at the current cursor position of a
24694
24710
  * {@link Clutter.Text} actor.
@@ -24926,7 +24942,7 @@ export namespace Clutter {
24926
24942
  * @param start_pos start of the selection, in characters
24927
24943
  * @param end_pos end of the selection, in characters
24928
24944
  */
24929
- set_selection(start_pos: number, end_pos: number): void;
24945
+ set_selection(start_pos: bigint | number, end_pos: bigint | number): void;
24930
24946
  /**
24931
24947
  * Sets the other end of the selection, starting from the current
24932
24948
  * cursor position.
@@ -25036,7 +25052,7 @@ export namespace Clutter {
25036
25052
  * @param value a {@link GObject.Value} initialized to the type of the property to retrieve
25037
25053
  * @virtual
25038
25054
  */
25039
- vfunc_get_initial_state(property_name: string, value: GObject.Value | any): void;
25055
+ vfunc_get_initial_state(property_name: string, value: unknown): void;
25040
25056
  /**
25041
25057
  * Asks a {@link Clutter.Animatable} implementation to interpolate a
25042
25058
  * a named property between the initial and final values of
@@ -25050,14 +25066,18 @@ export namespace Clutter {
25050
25066
  * @param progress the progress to use to interpolate between the initial and final values of the `interval`
25051
25067
  * @virtual
25052
25068
  */
25053
- vfunc_interpolate_value(property_name: string, interval: Interval, progress: number): [boolean, unknown];
25069
+ vfunc_interpolate_value(
25070
+ property_name: string,
25071
+ interval: Interval,
25072
+ progress: number,
25073
+ ): [boolean, GObject.Value | any];
25054
25074
  /**
25055
25075
  * Sets the current state of `property_name` to `value`
25056
25076
  * @param property_name the name of the animatable property to set
25057
25077
  * @param value the value of the animatable property to set
25058
25078
  * @virtual
25059
25079
  */
25060
- vfunc_set_final_state(property_name: string, value: GObject.Value | any): void;
25080
+ vfunc_set_final_state(property_name: string, value: unknown): void;
25061
25081
  /**
25062
25082
  * Creates a binding between `source_property` on `source` and `target_property`
25063
25083
  * on `target`.
@@ -25155,7 +25175,7 @@ export namespace Clutter {
25155
25175
  bind_property_full(...args: never[]): any;
25156
25176
  /**
25157
25177
  * This function is intended for {@link GObject.Object} implementations to re-enforce
25158
- * a [floating](floating-refs.html) object reference. Doing this is seldom
25178
+ * a [floating][floating-ref] object reference. Doing this is seldom
25159
25179
  * required: all `GInitiallyUnowneds` are created with a floating reference
25160
25180
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
25161
25181
  */
@@ -25210,7 +25230,7 @@ export namespace Clutter {
25210
25230
  */
25211
25231
  getv(names: string[], values: (GObject.Value | any)[]): void;
25212
25232
  /**
25213
- * Checks whether `object` has a [floating](floating-refs.html) reference.
25233
+ * Checks whether `object` has a [floating][floating-ref] reference.
25214
25234
  * @returns `true` if `object` has a floating reference
25215
25235
  */
25216
25236
  is_floating(): boolean;
@@ -25285,7 +25305,7 @@ export namespace Clutter {
25285
25305
  ref(): GObject.Object;
25286
25306
  /**
25287
25307
  * Increase the reference count of `object`, and possibly remove the
25288
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
25308
+ * [floating][floating-ref] reference, if `object` has a floating reference.
25289
25309
  *
25290
25310
  * In other words, if the object is floating, then this call "assumes
25291
25311
  * ownership" of the floating reference, converting it to a normal
@@ -25454,7 +25474,7 @@ export namespace Clutter {
25454
25474
  * @param pspec
25455
25475
  * @virtual
25456
25476
  */
25457
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
25477
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
25458
25478
  /**
25459
25479
  * Emits a "notify" signal for the property `property_name` on `object`.
25460
25480
  *
@@ -25481,7 +25501,7 @@ export namespace Clutter {
25481
25501
  * @param pspec
25482
25502
  * @virtual
25483
25503
  */
25484
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
25504
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
25485
25505
  /**
25486
25506
  * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
25487
25507
  * @param id Handler ID of the handler to be disconnected
@@ -25598,7 +25618,7 @@ export namespace Clutter {
25598
25618
 
25599
25619
  static ['new'](): TextBuffer;
25600
25620
 
25601
- static new_with_text(text: string | null, text_len: number): TextBuffer;
25621
+ static new_with_text(text: string | null, text_len: bigint | number): TextBuffer;
25602
25622
 
25603
25623
  // Signals
25604
25624
 
@@ -26062,7 +26082,7 @@ export namespace Clutter {
26062
26082
  bind_property_full(...args: never[]): any;
26063
26083
  /**
26064
26084
  * This function is intended for {@link GObject.Object} implementations to re-enforce
26065
- * a [floating](floating-refs.html) object reference. Doing this is seldom
26085
+ * a [floating][floating-ref] object reference. Doing this is seldom
26066
26086
  * required: all `GInitiallyUnowneds` are created with a floating reference
26067
26087
  * which usually just needs to be sunken by calling `g_object_ref_sink()`.
26068
26088
  */
@@ -26117,7 +26137,7 @@ export namespace Clutter {
26117
26137
  */
26118
26138
  getv(names: string[], values: (GObject.Value | any)[]): void;
26119
26139
  /**
26120
- * Checks whether `object` has a [floating](floating-refs.html) reference.
26140
+ * Checks whether `object` has a [floating][floating-ref] reference.
26121
26141
  * @returns `true` if `object` has a floating reference
26122
26142
  */
26123
26143
  is_floating(): boolean;
@@ -26192,7 +26212,7 @@ export namespace Clutter {
26192
26212
  ref(): GObject.Object;
26193
26213
  /**
26194
26214
  * Increase the reference count of `object`, and possibly remove the
26195
- * [floating](floating-refs.html) reference, if `object` has a floating reference.
26215
+ * [floating][floating-ref] reference, if `object` has a floating reference.
26196
26216
  *
26197
26217
  * In other words, if the object is floating, then this call "assumes
26198
26218
  * ownership" of the floating reference, converting it to a normal
@@ -26361,7 +26381,7 @@ export namespace Clutter {
26361
26381
  * @param pspec
26362
26382
  * @virtual
26363
26383
  */
26364
- vfunc_get_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
26384
+ vfunc_get_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
26365
26385
  /**
26366
26386
  * Emits a "notify" signal for the property `property_name` on `object`.
26367
26387
  *
@@ -26388,7 +26408,7 @@ export namespace Clutter {
26388
26408
  * @param pspec
26389
26409
  * @virtual
26390
26410
  */
26391
- vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
26411
+ vfunc_set_property(property_id: number, value: unknown, pspec: GObject.ParamSpec): void;
26392
26412
  /**
26393
26413
  * Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to.
26394
26414
  * @param id Handler ID of the handler to be disconnected
@@ -27843,20 +27863,20 @@ export namespace Clutter {
27843
27863
  * @param x
27844
27864
  * @param y
27845
27865
  */
27846
- notify_absolute_motion(time_us: number, x: number, y: number): void;
27866
+ notify_absolute_motion(time_us: bigint | number, x: number, y: number): void;
27847
27867
  /**
27848
27868
  * @param time_us
27849
27869
  * @param button
27850
27870
  * @param button_state
27851
27871
  */
27852
- notify_button(time_us: number, button: number, button_state: ButtonState | null): void;
27872
+ notify_button(time_us: bigint | number, button: number, button_state: ButtonState | null): void;
27853
27873
  /**
27854
27874
  * @param time_us
27855
27875
  * @param direction
27856
27876
  * @param scroll_source
27857
27877
  */
27858
27878
  notify_discrete_scroll(
27859
- time_us: number,
27879
+ time_us: bigint | number,
27860
27880
  direction: ScrollDirection | null,
27861
27881
  scroll_source: ScrollSource | null,
27862
27882
  ): void;
@@ -27865,19 +27885,19 @@ export namespace Clutter {
27865
27885
  * @param key
27866
27886
  * @param key_state
27867
27887
  */
27868
- notify_key(time_us: number, key: number, key_state: KeyState | null): void;
27888
+ notify_key(time_us: bigint | number, key: number, key_state: KeyState | null): void;
27869
27889
  /**
27870
27890
  * @param time_us
27871
27891
  * @param keyval
27872
27892
  * @param key_state
27873
27893
  */
27874
- notify_keyval(time_us: number, keyval: number, key_state: KeyState | null): void;
27894
+ notify_keyval(time_us: bigint | number, keyval: number, key_state: KeyState | null): void;
27875
27895
  /**
27876
27896
  * @param time_us
27877
27897
  * @param dx
27878
27898
  * @param dy
27879
27899
  */
27880
- notify_relative_motion(time_us: number, dx: number, dy: number): void;
27900
+ notify_relative_motion(time_us: bigint | number, dx: number, dy: number): void;
27881
27901
  /**
27882
27902
  * @param time_us
27883
27903
  * @param dx
@@ -27886,7 +27906,7 @@ export namespace Clutter {
27886
27906
  * @param finish_flags
27887
27907
  */
27888
27908
  notify_scroll_continuous(
27889
- time_us: number,
27909
+ time_us: bigint | number,
27890
27910
  dx: number,
27891
27911
  dy: number,
27892
27912
  scroll_source: ScrollSource | null,
@@ -27898,19 +27918,19 @@ export namespace Clutter {
27898
27918
  * @param x
27899
27919
  * @param y
27900
27920
  */
27901
- notify_touch_down(time_us: number, slot: number, x: number, y: number): void;
27921
+ notify_touch_down(time_us: bigint | number, slot: number, x: number, y: number): void;
27902
27922
  /**
27903
27923
  * @param time_us
27904
27924
  * @param slot
27905
27925
  * @param x
27906
27926
  * @param y
27907
27927
  */
27908
- notify_touch_motion(time_us: number, slot: number, x: number, y: number): void;
27928
+ notify_touch_motion(time_us: bigint | number, slot: number, x: number, y: number): void;
27909
27929
  /**
27910
27930
  * @param time_us
27911
27931
  * @param slot
27912
27932
  */
27913
- notify_touch_up(time_us: number, slot: number): void;
27933
+ notify_touch_up(time_us: bigint | number, slot: number): void;
27914
27934
  }
27915
27935
 
27916
27936
  namespace ZoomAction {
@@ -28620,11 +28640,11 @@ export namespace Clutter {
28620
28640
  /**
28621
28641
  * @param frame_deadline_us
28622
28642
  */
28623
- get_frame_deadline(frame_deadline_us: number): boolean;
28643
+ get_frame_deadline(frame_deadline_us: bigint | number): boolean;
28624
28644
  /**
28625
28645
  * @param target_presentation_time_us
28626
28646
  */
28627
- get_target_presentation_time(target_presentation_time_us: number): boolean;
28647
+ get_target_presentation_time(target_presentation_time_us: bigint | number): boolean;
28628
28648
  has_result(): boolean;
28629
28649
  ref(): Frame;
28630
28650
  /**
@@ -29560,7 +29580,7 @@ export namespace Clutter {
29560
29580
  * @param value a {@link GObject.Value} initialized to the type of the property to retrieve
29561
29581
  * @virtual
29562
29582
  */
29563
- vfunc_get_initial_state(property_name: string, value: GObject.Value | any): void;
29583
+ vfunc_get_initial_state(property_name: string, value: unknown): void;
29564
29584
  /**
29565
29585
  * Asks a {@link Clutter.Animatable} implementation to interpolate a
29566
29586
  * a named property between the initial and final values of
@@ -29574,14 +29594,18 @@ export namespace Clutter {
29574
29594
  * @param progress the progress to use to interpolate between the initial and final values of the `interval`
29575
29595
  * @virtual
29576
29596
  */
29577
- vfunc_interpolate_value(property_name: string, interval: Interval, progress: number): [boolean, unknown];
29597
+ vfunc_interpolate_value(
29598
+ property_name: string,
29599
+ interval: Interval,
29600
+ progress: number,
29601
+ ): [boolean, GObject.Value | any];
29578
29602
  /**
29579
29603
  * Sets the current state of `property_name` to `value`
29580
29604
  * @param property_name the name of the animatable property to set
29581
29605
  * @param value the value of the animatable property to set
29582
29606
  * @virtual
29583
29607
  */
29584
- vfunc_set_final_state(property_name: string, value: GObject.Value | any): void;
29608
+ vfunc_set_final_state(property_name: string, value: unknown): void;
29585
29609
  }
29586
29610
 
29587
29611
  // Constructor properties interface
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/clutter-14",
3
- "version": "14.0.0-4.0.0-beta.44",
3
+ "version": "14.0.0-4.0.0-rc.2",
4
4
  "description": "GJS TypeScript type definitions for Clutter-14, generated from library version 14.0.0",
5
5
  "type": "module",
6
6
  "module": "clutter-14.js",
@@ -31,23 +31,23 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "4.0.0-beta.44",
35
- "@girs/cairo-1.0": "1.0.0-4.0.0-beta.44",
36
- "@girs/gobject-2.0": "2.88.0-4.0.0-beta.44",
37
- "@girs/glib-2.0": "2.88.0-4.0.0-beta.44",
38
- "@girs/mtk-14": "14.0.0-4.0.0-beta.44",
39
- "@girs/graphene-1.0": "1.0.0-4.0.0-beta.44",
40
- "@girs/gio-2.0": "2.88.0-4.0.0-beta.44",
41
- "@girs/gmodule-2.0": "2.0.0-4.0.0-beta.44",
42
- "@girs/gl-1.0": "1.0.0-4.0.0-beta.44",
43
- "@girs/coglpango-14": "14.0.0-4.0.0-beta.44",
44
- "@girs/pangocairo-1.0": "1.0.0-4.0.0-beta.44",
45
- "@girs/pango-1.0": "1.57.0-4.0.0-beta.44",
46
- "@girs/harfbuzz-0.0": "12.3.2-4.0.0-beta.44",
47
- "@girs/freetype2-2.0": "2.0.0-4.0.0-beta.44",
48
- "@girs/cogl-14": "14.0.0-4.0.0-beta.44",
49
- "@girs/xlib-2.0": "2.0.0-4.0.0-beta.44",
50
- "@girs/atk-1.0": "2.60.0-4.0.0-beta.44" },
34
+ "@girs/gjs": "4.0.0-rc.2",
35
+ "@girs/cairo-1.0": "1.0.0-4.0.0-rc.2",
36
+ "@girs/gobject-2.0": "2.88.0-4.0.0-rc.2",
37
+ "@girs/glib-2.0": "2.88.0-4.0.0-rc.2",
38
+ "@girs/mtk-14": "14.0.0-4.0.0-rc.2",
39
+ "@girs/graphene-1.0": "1.0.0-4.0.0-rc.2",
40
+ "@girs/gio-2.0": "2.88.0-4.0.0-rc.2",
41
+ "@girs/gmodule-2.0": "2.0.0-4.0.0-rc.2",
42
+ "@girs/gl-1.0": "1.0.0-4.0.0-rc.2",
43
+ "@girs/coglpango-14": "14.0.0-4.0.0-rc.2",
44
+ "@girs/pangocairo-1.0": "1.0.0-4.0.0-rc.2",
45
+ "@girs/pango-1.0": "1.57.1-4.0.0-rc.2",
46
+ "@girs/harfbuzz-0.0": "13.2.1-4.0.0-rc.2",
47
+ "@girs/freetype2-2.0": "2.0.0-4.0.0-rc.2",
48
+ "@girs/cogl-14": "14.0.0-4.0.0-rc.2",
49
+ "@girs/xlib-2.0": "2.0.0-4.0.0-rc.2",
50
+ "@girs/atk-1.0": "2.60.0-4.0.0-rc.2" },
51
51
  "devDependencies": {
52
52
  "typescript": "*"
53
53
  },