@girs/clutter-14 14.0.0-4.0.0-beta.20 → 14.0.0-4.0.0-beta.23

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 +312 -36
  3. package/package.json +18 -17
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.20.
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.23.
9
9
 
10
10
 
11
11
  ## Install
package/clutter-14.d.ts CHANGED
@@ -7,13 +7,16 @@
7
7
  * The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
8
8
  */
9
9
 
10
+ import '@girs/gjs';
11
+
10
12
  // Module dependencies
11
- import type cairo from '@girs/cairo-1.0';
13
+ import type cairo from 'cairo';
12
14
  import type GObject from '@girs/gobject-2.0';
13
15
  import type GLib from '@girs/glib-2.0';
14
16
  import type Mtk from '@girs/mtk-14';
15
17
  import type Graphene from '@girs/graphene-1.0';
16
18
  import type Gio from '@girs/gio-2.0';
19
+ import type GModule from '@girs/gmodule-2.0';
17
20
  import type GL from '@girs/gl-1.0';
18
21
  import type CoglPango from '@girs/coglpango-14';
19
22
  import type PangoCairo from '@girs/pangocairo-1.0';
@@ -9280,7 +9283,21 @@ export namespace Clutter {
9280
9283
  * @returns the data if found, or %NULL if no such data exists.
9281
9284
  */
9282
9285
  get_data(key: string): any | null;
9283
- get_property(property_name: string): any;
9286
+ /**
9287
+ * Gets a property of an object.
9288
+ *
9289
+ * The value can be:
9290
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
9291
+ * - a GObject.Value initialized with the expected type of the property
9292
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
9293
+ *
9294
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
9295
+ *
9296
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
9297
+ * @param property_name The name of the property to get
9298
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
9299
+ */
9300
+ get_property(property_name: string, value: GObject.Value | any): any;
9284
9301
  /**
9285
9302
  * This function gets back user data pointers stored via
9286
9303
  * g_object_set_qdata().
@@ -9408,7 +9425,12 @@ export namespace Clutter {
9408
9425
  * @param data data to associate with that key
9409
9426
  */
9410
9427
  set_data(key: string, data?: any | null): void;
9411
- set_property(property_name: string, value: any): void;
9428
+ /**
9429
+ * Sets a property on an object.
9430
+ * @param property_name The name of the property to set
9431
+ * @param value The value to set the property to
9432
+ */
9433
+ set_property(property_name: string, value: GObject.Value | any): void;
9412
9434
  /**
9413
9435
  * Remove a specified datum from the object's data associations,
9414
9436
  * without invoking the association's destroy handler.
@@ -9558,11 +9580,31 @@ export namespace Clutter {
9558
9580
  * @param pspec
9559
9581
  */
9560
9582
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
9583
+ /**
9584
+ * 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.
9585
+ * @param id Handler ID of the handler to be disconnected
9586
+ */
9561
9587
  disconnect(id: number): void;
9588
+ /**
9589
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
9590
+ * @param properties Object containing the properties to set
9591
+ */
9562
9592
  set(properties: { [key: string]: any }): void;
9563
- block_signal_handler(id: number): any;
9564
- unblock_signal_handler(id: number): any;
9565
- stop_emission_by_name(detailedName: string): any;
9593
+ /**
9594
+ * Blocks a handler of an instance so it will not be called during any signal emissions
9595
+ * @param id Handler ID of the handler to be blocked
9596
+ */
9597
+ block_signal_handler(id: number): void;
9598
+ /**
9599
+ * Unblocks a handler so it will be called again during any signal emissions
9600
+ * @param id Handler ID of the handler to be unblocked
9601
+ */
9602
+ unblock_signal_handler(id: number): void;
9603
+ /**
9604
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
9605
+ * @param detailedName Name of the signal to stop emission of
9606
+ */
9607
+ stop_emission_by_name(detailedName: string): void;
9566
9608
  }
9567
9609
 
9568
9610
  namespace ActorMeta {
@@ -11080,7 +11122,21 @@ export namespace Clutter {
11080
11122
  * @returns the data if found, or %NULL if no such data exists.
11081
11123
  */
11082
11124
  get_data(key: string): any | null;
11083
- get_property(property_name: string): any;
11125
+ /**
11126
+ * Gets a property of an object.
11127
+ *
11128
+ * The value can be:
11129
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
11130
+ * - a GObject.Value initialized with the expected type of the property
11131
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
11132
+ *
11133
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
11134
+ *
11135
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
11136
+ * @param property_name The name of the property to get
11137
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
11138
+ */
11139
+ get_property(property_name: string, value: GObject.Value | any): any;
11084
11140
  /**
11085
11141
  * This function gets back user data pointers stored via
11086
11142
  * g_object_set_qdata().
@@ -11208,7 +11264,12 @@ export namespace Clutter {
11208
11264
  * @param data data to associate with that key
11209
11265
  */
11210
11266
  set_data(key: string, data?: any | null): void;
11211
- set_property(property_name: string, value: any): void;
11267
+ /**
11268
+ * Sets a property on an object.
11269
+ * @param property_name The name of the property to set
11270
+ * @param value The value to set the property to
11271
+ */
11272
+ set_property(property_name: string, value: GObject.Value | any): void;
11212
11273
  /**
11213
11274
  * Remove a specified datum from the object's data associations,
11214
11275
  * without invoking the association's destroy handler.
@@ -11358,11 +11419,31 @@ export namespace Clutter {
11358
11419
  * @param pspec
11359
11420
  */
11360
11421
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
11422
+ /**
11423
+ * 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.
11424
+ * @param id Handler ID of the handler to be disconnected
11425
+ */
11361
11426
  disconnect(id: number): void;
11427
+ /**
11428
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
11429
+ * @param properties Object containing the properties to set
11430
+ */
11362
11431
  set(properties: { [key: string]: any }): void;
11363
- block_signal_handler(id: number): any;
11364
- unblock_signal_handler(id: number): any;
11365
- stop_emission_by_name(detailedName: string): any;
11432
+ /**
11433
+ * Blocks a handler of an instance so it will not be called during any signal emissions
11434
+ * @param id Handler ID of the handler to be blocked
11435
+ */
11436
+ block_signal_handler(id: number): void;
11437
+ /**
11438
+ * Unblocks a handler so it will be called again during any signal emissions
11439
+ * @param id Handler ID of the handler to be unblocked
11440
+ */
11441
+ unblock_signal_handler(id: number): void;
11442
+ /**
11443
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
11444
+ * @param detailedName Name of the signal to stop emission of
11445
+ */
11446
+ stop_emission_by_name(detailedName: string): void;
11366
11447
  }
11367
11448
 
11368
11449
  class ColorNode extends PipelineNode {
@@ -13428,7 +13509,21 @@ export namespace Clutter {
13428
13509
  * @returns the data if found, or %NULL if no such data exists.
13429
13510
  */
13430
13511
  get_data(key: string): any | null;
13431
- get_property(property_name: string): any;
13512
+ /**
13513
+ * Gets a property of an object.
13514
+ *
13515
+ * The value can be:
13516
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
13517
+ * - a GObject.Value initialized with the expected type of the property
13518
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
13519
+ *
13520
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
13521
+ *
13522
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
13523
+ * @param property_name The name of the property to get
13524
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
13525
+ */
13526
+ get_property(property_name: string, value: GObject.Value | any): any;
13432
13527
  /**
13433
13528
  * This function gets back user data pointers stored via
13434
13529
  * g_object_set_qdata().
@@ -13541,7 +13636,12 @@ export namespace Clutter {
13541
13636
  * This function should only be called from object system implementations.
13542
13637
  */
13543
13638
  run_dispose(): void;
13544
- set_property(property_name: string, value: any): void;
13639
+ /**
13640
+ * Sets a property on an object.
13641
+ * @param property_name The name of the property to set
13642
+ * @param value The value to set the property to
13643
+ */
13644
+ set_property(property_name: string, value: GObject.Value | any): void;
13545
13645
  /**
13546
13646
  * Remove a specified datum from the object's data associations,
13547
13647
  * without invoking the association's destroy handler.
@@ -13691,11 +13791,31 @@ export namespace Clutter {
13691
13791
  * @param pspec
13692
13792
  */
13693
13793
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
13794
+ /**
13795
+ * 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.
13796
+ * @param id Handler ID of the handler to be disconnected
13797
+ */
13694
13798
  disconnect(id: number): void;
13799
+ /**
13800
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
13801
+ * @param properties Object containing the properties to set
13802
+ */
13695
13803
  set(properties: { [key: string]: any }): void;
13696
- block_signal_handler(id: number): any;
13697
- unblock_signal_handler(id: number): any;
13698
- stop_emission_by_name(detailedName: string): any;
13804
+ /**
13805
+ * Blocks a handler of an instance so it will not be called during any signal emissions
13806
+ * @param id Handler ID of the handler to be blocked
13807
+ */
13808
+ block_signal_handler(id: number): void;
13809
+ /**
13810
+ * Unblocks a handler so it will be called again during any signal emissions
13811
+ * @param id Handler ID of the handler to be unblocked
13812
+ */
13813
+ unblock_signal_handler(id: number): void;
13814
+ /**
13815
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
13816
+ * @param detailedName Name of the signal to stop emission of
13817
+ */
13818
+ stop_emission_by_name(detailedName: string): void;
13699
13819
  }
13700
13820
 
13701
13821
  namespace InputDevice {
@@ -15642,7 +15762,21 @@ export namespace Clutter {
15642
15762
  * @returns the data if found, or %NULL if no such data exists.
15643
15763
  */
15644
15764
  get_data(key: string): any | null;
15645
- get_property(property_name: string): any;
15765
+ /**
15766
+ * Gets a property of an object.
15767
+ *
15768
+ * The value can be:
15769
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
15770
+ * - a GObject.Value initialized with the expected type of the property
15771
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
15772
+ *
15773
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
15774
+ *
15775
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
15776
+ * @param property_name The name of the property to get
15777
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
15778
+ */
15779
+ get_property(property_name: string, value: GObject.Value | any): any;
15646
15780
  /**
15647
15781
  * This function gets back user data pointers stored via
15648
15782
  * g_object_set_qdata().
@@ -15770,7 +15904,12 @@ export namespace Clutter {
15770
15904
  * @param data data to associate with that key
15771
15905
  */
15772
15906
  set_data(key: string, data?: any | null): void;
15773
- set_property(property_name: string, value: any): void;
15907
+ /**
15908
+ * Sets a property on an object.
15909
+ * @param property_name The name of the property to set
15910
+ * @param value The value to set the property to
15911
+ */
15912
+ set_property(property_name: string, value: GObject.Value | any): void;
15774
15913
  /**
15775
15914
  * Remove a specified datum from the object's data associations,
15776
15915
  * without invoking the association's destroy handler.
@@ -15920,11 +16059,31 @@ export namespace Clutter {
15920
16059
  * @param pspec
15921
16060
  */
15922
16061
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
16062
+ /**
16063
+ * 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.
16064
+ * @param id Handler ID of the handler to be disconnected
16065
+ */
15923
16066
  disconnect(id: number): void;
16067
+ /**
16068
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
16069
+ * @param properties Object containing the properties to set
16070
+ */
15924
16071
  set(properties: { [key: string]: any }): void;
15925
- block_signal_handler(id: number): any;
15926
- unblock_signal_handler(id: number): any;
15927
- stop_emission_by_name(detailedName: string): any;
16072
+ /**
16073
+ * Blocks a handler of an instance so it will not be called during any signal emissions
16074
+ * @param id Handler ID of the handler to be blocked
16075
+ */
16076
+ block_signal_handler(id: number): void;
16077
+ /**
16078
+ * Unblocks a handler so it will be called again during any signal emissions
16079
+ * @param id Handler ID of the handler to be unblocked
16080
+ */
16081
+ unblock_signal_handler(id: number): void;
16082
+ /**
16083
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
16084
+ * @param detailedName Name of the signal to stop emission of
16085
+ */
16086
+ stop_emission_by_name(detailedName: string): void;
15928
16087
  }
15929
16088
 
15930
16089
  namespace Seat {
@@ -17268,7 +17427,21 @@ export namespace Clutter {
17268
17427
  * @returns the data if found, or %NULL if no such data exists.
17269
17428
  */
17270
17429
  get_data(key: string): any | null;
17271
- get_property(property_name: string): any;
17430
+ /**
17431
+ * Gets a property of an object.
17432
+ *
17433
+ * The value can be:
17434
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
17435
+ * - a GObject.Value initialized with the expected type of the property
17436
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
17437
+ *
17438
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
17439
+ *
17440
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
17441
+ * @param property_name The name of the property to get
17442
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
17443
+ */
17444
+ get_property(property_name: string, value: GObject.Value | any): any;
17272
17445
  /**
17273
17446
  * This function gets back user data pointers stored via
17274
17447
  * g_object_set_qdata().
@@ -17396,7 +17569,12 @@ export namespace Clutter {
17396
17569
  * @param data data to associate with that key
17397
17570
  */
17398
17571
  set_data(key: string, data?: any | null): void;
17399
- set_property(property_name: string, value: any): void;
17572
+ /**
17573
+ * Sets a property on an object.
17574
+ * @param property_name The name of the property to set
17575
+ * @param value The value to set the property to
17576
+ */
17577
+ set_property(property_name: string, value: GObject.Value | any): void;
17400
17578
  /**
17401
17579
  * Remove a specified datum from the object's data associations,
17402
17580
  * without invoking the association's destroy handler.
@@ -17546,11 +17724,31 @@ export namespace Clutter {
17546
17724
  * @param pspec
17547
17725
  */
17548
17726
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
17727
+ /**
17728
+ * 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.
17729
+ * @param id Handler ID of the handler to be disconnected
17730
+ */
17549
17731
  disconnect(id: number): void;
17732
+ /**
17733
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
17734
+ * @param properties Object containing the properties to set
17735
+ */
17550
17736
  set(properties: { [key: string]: any }): void;
17551
- block_signal_handler(id: number): any;
17552
- unblock_signal_handler(id: number): any;
17553
- stop_emission_by_name(detailedName: string): any;
17737
+ /**
17738
+ * Blocks a handler of an instance so it will not be called during any signal emissions
17739
+ * @param id Handler ID of the handler to be blocked
17740
+ */
17741
+ block_signal_handler(id: number): void;
17742
+ /**
17743
+ * Unblocks a handler so it will be called again during any signal emissions
17744
+ * @param id Handler ID of the handler to be unblocked
17745
+ */
17746
+ unblock_signal_handler(id: number): void;
17747
+ /**
17748
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
17749
+ * @param detailedName Name of the signal to stop emission of
17750
+ */
17751
+ stop_emission_by_name(detailedName: string): void;
17554
17752
  }
17555
17753
 
17556
17754
  namespace StageManager {
@@ -19041,7 +19239,21 @@ export namespace Clutter {
19041
19239
  * @returns the data if found, or %NULL if no such data exists.
19042
19240
  */
19043
19241
  get_data(key: string): any | null;
19044
- get_property(property_name: string): any;
19242
+ /**
19243
+ * Gets a property of an object.
19244
+ *
19245
+ * The value can be:
19246
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
19247
+ * - a GObject.Value initialized with the expected type of the property
19248
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
19249
+ *
19250
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
19251
+ *
19252
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
19253
+ * @param property_name The name of the property to get
19254
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
19255
+ */
19256
+ get_property(property_name: string, value: GObject.Value | any): any;
19045
19257
  /**
19046
19258
  * This function gets back user data pointers stored via
19047
19259
  * g_object_set_qdata().
@@ -19169,7 +19381,12 @@ export namespace Clutter {
19169
19381
  * @param data data to associate with that key
19170
19382
  */
19171
19383
  set_data(key: string, data?: any | null): void;
19172
- set_property(property_name: string, value: any): void;
19384
+ /**
19385
+ * Sets a property on an object.
19386
+ * @param property_name The name of the property to set
19387
+ * @param value The value to set the property to
19388
+ */
19389
+ set_property(property_name: string, value: GObject.Value | any): void;
19173
19390
  /**
19174
19391
  * Remove a specified datum from the object's data associations,
19175
19392
  * without invoking the association's destroy handler.
@@ -19319,11 +19536,31 @@ export namespace Clutter {
19319
19536
  * @param pspec
19320
19537
  */
19321
19538
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
19539
+ /**
19540
+ * 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.
19541
+ * @param id Handler ID of the handler to be disconnected
19542
+ */
19322
19543
  disconnect(id: number): void;
19544
+ /**
19545
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
19546
+ * @param properties Object containing the properties to set
19547
+ */
19323
19548
  set(properties: { [key: string]: any }): void;
19324
- block_signal_handler(id: number): any;
19325
- unblock_signal_handler(id: number): any;
19326
- stop_emission_by_name(detailedName: string): any;
19549
+ /**
19550
+ * Blocks a handler of an instance so it will not be called during any signal emissions
19551
+ * @param id Handler ID of the handler to be blocked
19552
+ */
19553
+ block_signal_handler(id: number): void;
19554
+ /**
19555
+ * Unblocks a handler so it will be called again during any signal emissions
19556
+ * @param id Handler ID of the handler to be unblocked
19557
+ */
19558
+ unblock_signal_handler(id: number): void;
19559
+ /**
19560
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
19561
+ * @param detailedName Name of the signal to stop emission of
19562
+ */
19563
+ stop_emission_by_name(detailedName: string): void;
19327
19564
  }
19328
19565
 
19329
19566
  namespace TextBuffer {
@@ -19803,7 +20040,21 @@ export namespace Clutter {
19803
20040
  * @returns the data if found, or %NULL if no such data exists.
19804
20041
  */
19805
20042
  get_data(key: string): any | null;
19806
- get_property(property_name: string): any;
20043
+ /**
20044
+ * Gets a property of an object.
20045
+ *
20046
+ * The value can be:
20047
+ * - an empty GObject.Value initialized by G_VALUE_INIT, which will be automatically initialized with the expected type of the property (since GLib 2.60)
20048
+ * - a GObject.Value initialized with the expected type of the property
20049
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
20050
+ *
20051
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
20052
+ *
20053
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
20054
+ * @param property_name The name of the property to get
20055
+ * @param value Return location for the property value. Can be an empty GObject.Value initialized by G_VALUE_INIT (auto-initialized with expected type since GLib 2.60), a GObject.Value initialized with the expected property type, or a GObject.Value initialized with a transformable type
20056
+ */
20057
+ get_property(property_name: string, value: GObject.Value | any): any;
19807
20058
  /**
19808
20059
  * This function gets back user data pointers stored via
19809
20060
  * g_object_set_qdata().
@@ -19931,7 +20182,12 @@ export namespace Clutter {
19931
20182
  * @param data data to associate with that key
19932
20183
  */
19933
20184
  set_data(key: string, data?: any | null): void;
19934
- set_property(property_name: string, value: any): void;
20185
+ /**
20186
+ * Sets a property on an object.
20187
+ * @param property_name The name of the property to set
20188
+ * @param value The value to set the property to
20189
+ */
20190
+ set_property(property_name: string, value: GObject.Value | any): void;
19935
20191
  /**
19936
20192
  * Remove a specified datum from the object's data associations,
19937
20193
  * without invoking the association's destroy handler.
@@ -20081,11 +20337,31 @@ export namespace Clutter {
20081
20337
  * @param pspec
20082
20338
  */
20083
20339
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
20340
+ /**
20341
+ * 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.
20342
+ * @param id Handler ID of the handler to be disconnected
20343
+ */
20084
20344
  disconnect(id: number): void;
20345
+ /**
20346
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
20347
+ * @param properties Object containing the properties to set
20348
+ */
20085
20349
  set(properties: { [key: string]: any }): void;
20086
- block_signal_handler(id: number): any;
20087
- unblock_signal_handler(id: number): any;
20088
- stop_emission_by_name(detailedName: string): any;
20350
+ /**
20351
+ * Blocks a handler of an instance so it will not be called during any signal emissions
20352
+ * @param id Handler ID of the handler to be blocked
20353
+ */
20354
+ block_signal_handler(id: number): void;
20355
+ /**
20356
+ * Unblocks a handler so it will be called again during any signal emissions
20357
+ * @param id Handler ID of the handler to be unblocked
20358
+ */
20359
+ unblock_signal_handler(id: number): void;
20360
+ /**
20361
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
20362
+ * @param detailedName Name of the signal to stop emission of
20363
+ */
20364
+ stop_emission_by_name(detailedName: string): void;
20089
20365
  }
20090
20366
 
20091
20367
  class TextureNode extends PipelineNode {
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.20",
3
+ "version": "14.0.0-4.0.0-beta.23",
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,22 +31,23 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/atk-1.0": "^2.54.0-4.0.0-beta.20",
35
- "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.20",
36
- "@girs/cogl-14": "^14.0.0-4.0.0-beta.20",
37
- "@girs/coglpango-14": "^14.0.0-4.0.0-beta.20",
38
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.20",
39
- "@girs/gio-2.0": "^2.82.4-4.0.0-beta.20",
40
- "@girs/gjs": "^4.0.0-beta.20",
41
- "@girs/gl-1.0": "^1.0.0-4.0.0-beta.20",
42
- "@girs/glib-2.0": "^2.82.4-4.0.0-beta.20",
43
- "@girs/gobject-2.0": "^2.82.4-4.0.0-beta.20",
44
- "@girs/graphene-1.0": "^1.0.0-4.0.0-beta.20",
45
- "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.20",
46
- "@girs/mtk-14": "^14.0.0-4.0.0-beta.20",
47
- "@girs/pango-1.0": "^1.54.0-4.0.0-beta.20",
48
- "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.20",
49
- "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.20"
34
+ "@girs/atk-1.0": "^2.56.0-4.0.0-beta.23",
35
+ "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.23",
36
+ "@girs/cogl-14": "^14.0.0-4.0.0-beta.23",
37
+ "@girs/coglpango-14": "^14.0.0-4.0.0-beta.23",
38
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.23",
39
+ "@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
40
+ "@girs/gjs": "^4.0.0-beta.23",
41
+ "@girs/gl-1.0": "^1.0.0-4.0.0-beta.23",
42
+ "@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
43
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
44
+ "@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23",
45
+ "@girs/graphene-1.0": "^1.0.0-4.0.0-beta.23",
46
+ "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.23",
47
+ "@girs/mtk-14": "^14.0.0-4.0.0-beta.23",
48
+ "@girs/pango-1.0": "^1.56.4-4.0.0-beta.23",
49
+ "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.23",
50
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.23"
50
51
  },
51
52
  "devDependencies": {
52
53
  "typescript": "*"