@girs/clutter-15 15.0.0-4.0.0-beta.21 → 15.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-15.d.ts +311 -36
  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-15)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Clutter-15, generated from library version 15.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
8
+ GJS TypeScript type definitions for Clutter-15, generated from library version 15.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-15.d.ts CHANGED
@@ -7,8 +7,10 @@
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-15';
@@ -9273,7 +9275,21 @@ export namespace Clutter {
9273
9275
  * @returns the data if found, or %NULL if no such data exists.
9274
9276
  */
9275
9277
  get_data(key: string): any | null;
9276
- get_property(property_name: string): any;
9278
+ /**
9279
+ * Gets a property of an object.
9280
+ *
9281
+ * The value can be:
9282
+ * - 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)
9283
+ * - a GObject.Value initialized with the expected type of the property
9284
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
9285
+ *
9286
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
9287
+ *
9288
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
9289
+ * @param property_name The name of the property to get
9290
+ * @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
9291
+ */
9292
+ get_property(property_name: string, value: GObject.Value | any): any;
9277
9293
  /**
9278
9294
  * This function gets back user data pointers stored via
9279
9295
  * g_object_set_qdata().
@@ -9401,7 +9417,12 @@ export namespace Clutter {
9401
9417
  * @param data data to associate with that key
9402
9418
  */
9403
9419
  set_data(key: string, data?: any | null): void;
9404
- set_property(property_name: string, value: any): void;
9420
+ /**
9421
+ * Sets a property on an object.
9422
+ * @param property_name The name of the property to set
9423
+ * @param value The value to set the property to
9424
+ */
9425
+ set_property(property_name: string, value: GObject.Value | any): void;
9405
9426
  /**
9406
9427
  * Remove a specified datum from the object's data associations,
9407
9428
  * without invoking the association's destroy handler.
@@ -9551,11 +9572,31 @@ export namespace Clutter {
9551
9572
  * @param pspec
9552
9573
  */
9553
9574
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
9575
+ /**
9576
+ * 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.
9577
+ * @param id Handler ID of the handler to be disconnected
9578
+ */
9554
9579
  disconnect(id: number): void;
9580
+ /**
9581
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
9582
+ * @param properties Object containing the properties to set
9583
+ */
9555
9584
  set(properties: { [key: string]: any }): void;
9556
- block_signal_handler(id: number): any;
9557
- unblock_signal_handler(id: number): any;
9558
- stop_emission_by_name(detailedName: string): any;
9585
+ /**
9586
+ * Blocks a handler of an instance so it will not be called during any signal emissions
9587
+ * @param id Handler ID of the handler to be blocked
9588
+ */
9589
+ block_signal_handler(id: number): void;
9590
+ /**
9591
+ * Unblocks a handler so it will be called again during any signal emissions
9592
+ * @param id Handler ID of the handler to be unblocked
9593
+ */
9594
+ unblock_signal_handler(id: number): void;
9595
+ /**
9596
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
9597
+ * @param detailedName Name of the signal to stop emission of
9598
+ */
9599
+ stop_emission_by_name(detailedName: string): void;
9559
9600
  }
9560
9601
 
9561
9602
  namespace ActorAccessible {
@@ -9931,7 +9972,21 @@ export namespace Clutter {
9931
9972
  * @returns the data if found, or %NULL if no such data exists.
9932
9973
  */
9933
9974
  get_data(key: string): any | null;
9934
- get_property(property_name: string): any;
9975
+ /**
9976
+ * Gets a property of an object.
9977
+ *
9978
+ * The value can be:
9979
+ * - 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)
9980
+ * - a GObject.Value initialized with the expected type of the property
9981
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
9982
+ *
9983
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
9984
+ *
9985
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
9986
+ * @param property_name The name of the property to get
9987
+ * @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
9988
+ */
9989
+ get_property(property_name: string, value: GObject.Value | any): any;
9935
9990
  /**
9936
9991
  * This function gets back user data pointers stored via
9937
9992
  * g_object_set_qdata().
@@ -10059,7 +10114,12 @@ export namespace Clutter {
10059
10114
  * @param data data to associate with that key
10060
10115
  */
10061
10116
  set_data(key: string, data?: any | null): void;
10062
- set_property(property_name: string, value: any): void;
10117
+ /**
10118
+ * Sets a property on an object.
10119
+ * @param property_name The name of the property to set
10120
+ * @param value The value to set the property to
10121
+ */
10122
+ set_property(property_name: string, value: GObject.Value | any): void;
10063
10123
  /**
10064
10124
  * Remove a specified datum from the object's data associations,
10065
10125
  * without invoking the association's destroy handler.
@@ -10209,11 +10269,31 @@ export namespace Clutter {
10209
10269
  * @param pspec
10210
10270
  */
10211
10271
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
10272
+ /**
10273
+ * 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.
10274
+ * @param id Handler ID of the handler to be disconnected
10275
+ */
10212
10276
  disconnect(id: number): void;
10277
+ /**
10278
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
10279
+ * @param properties Object containing the properties to set
10280
+ */
10213
10281
  set(properties: { [key: string]: any }): void;
10214
- block_signal_handler(id: number): any;
10215
- unblock_signal_handler(id: number): any;
10216
- stop_emission_by_name(detailedName: string): any;
10282
+ /**
10283
+ * Blocks a handler of an instance so it will not be called during any signal emissions
10284
+ * @param id Handler ID of the handler to be blocked
10285
+ */
10286
+ block_signal_handler(id: number): void;
10287
+ /**
10288
+ * Unblocks a handler so it will be called again during any signal emissions
10289
+ * @param id Handler ID of the handler to be unblocked
10290
+ */
10291
+ unblock_signal_handler(id: number): void;
10292
+ /**
10293
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
10294
+ * @param detailedName Name of the signal to stop emission of
10295
+ */
10296
+ stop_emission_by_name(detailedName: string): void;
10217
10297
  }
10218
10298
 
10219
10299
  namespace ActorMeta {
@@ -11737,7 +11817,21 @@ export namespace Clutter {
11737
11817
  * @returns the data if found, or %NULL if no such data exists.
11738
11818
  */
11739
11819
  get_data(key: string): any | null;
11740
- get_property(property_name: string): any;
11820
+ /**
11821
+ * Gets a property of an object.
11822
+ *
11823
+ * The value can be:
11824
+ * - 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)
11825
+ * - a GObject.Value initialized with the expected type of the property
11826
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
11827
+ *
11828
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
11829
+ *
11830
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
11831
+ * @param property_name The name of the property to get
11832
+ * @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
11833
+ */
11834
+ get_property(property_name: string, value: GObject.Value | any): any;
11741
11835
  /**
11742
11836
  * This function gets back user data pointers stored via
11743
11837
  * g_object_set_qdata().
@@ -11865,7 +11959,12 @@ export namespace Clutter {
11865
11959
  * @param data data to associate with that key
11866
11960
  */
11867
11961
  set_data(key: string, data?: any | null): void;
11868
- set_property(property_name: string, value: any): void;
11962
+ /**
11963
+ * Sets a property on an object.
11964
+ * @param property_name The name of the property to set
11965
+ * @param value The value to set the property to
11966
+ */
11967
+ set_property(property_name: string, value: GObject.Value | any): void;
11869
11968
  /**
11870
11969
  * Remove a specified datum from the object's data associations,
11871
11970
  * without invoking the association's destroy handler.
@@ -12015,11 +12114,31 @@ export namespace Clutter {
12015
12114
  * @param pspec
12016
12115
  */
12017
12116
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
12117
+ /**
12118
+ * 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.
12119
+ * @param id Handler ID of the handler to be disconnected
12120
+ */
12018
12121
  disconnect(id: number): void;
12122
+ /**
12123
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
12124
+ * @param properties Object containing the properties to set
12125
+ */
12019
12126
  set(properties: { [key: string]: any }): void;
12020
- block_signal_handler(id: number): any;
12021
- unblock_signal_handler(id: number): any;
12022
- stop_emission_by_name(detailedName: string): any;
12127
+ /**
12128
+ * Blocks a handler of an instance so it will not be called during any signal emissions
12129
+ * @param id Handler ID of the handler to be blocked
12130
+ */
12131
+ block_signal_handler(id: number): void;
12132
+ /**
12133
+ * Unblocks a handler so it will be called again during any signal emissions
12134
+ * @param id Handler ID of the handler to be unblocked
12135
+ */
12136
+ unblock_signal_handler(id: number): void;
12137
+ /**
12138
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
12139
+ * @param detailedName Name of the signal to stop emission of
12140
+ */
12141
+ stop_emission_by_name(detailedName: string): void;
12023
12142
  }
12024
12143
 
12025
12144
  namespace ColorManager {
@@ -14201,7 +14320,21 @@ export namespace Clutter {
14201
14320
  * @returns the data if found, or %NULL if no such data exists.
14202
14321
  */
14203
14322
  get_data(key: string): any | null;
14204
- get_property(property_name: string): any;
14323
+ /**
14324
+ * Gets a property of an object.
14325
+ *
14326
+ * The value can be:
14327
+ * - 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)
14328
+ * - a GObject.Value initialized with the expected type of the property
14329
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
14330
+ *
14331
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
14332
+ *
14333
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
14334
+ * @param property_name The name of the property to get
14335
+ * @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
14336
+ */
14337
+ get_property(property_name: string, value: GObject.Value | any): any;
14205
14338
  /**
14206
14339
  * This function gets back user data pointers stored via
14207
14340
  * g_object_set_qdata().
@@ -14314,7 +14447,12 @@ export namespace Clutter {
14314
14447
  * This function should only be called from object system implementations.
14315
14448
  */
14316
14449
  run_dispose(): void;
14317
- set_property(property_name: string, value: any): void;
14450
+ /**
14451
+ * Sets a property on an object.
14452
+ * @param property_name The name of the property to set
14453
+ * @param value The value to set the property to
14454
+ */
14455
+ set_property(property_name: string, value: GObject.Value | any): void;
14318
14456
  /**
14319
14457
  * Remove a specified datum from the object's data associations,
14320
14458
  * without invoking the association's destroy handler.
@@ -14464,11 +14602,31 @@ export namespace Clutter {
14464
14602
  * @param pspec
14465
14603
  */
14466
14604
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
14605
+ /**
14606
+ * 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.
14607
+ * @param id Handler ID of the handler to be disconnected
14608
+ */
14467
14609
  disconnect(id: number): void;
14610
+ /**
14611
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
14612
+ * @param properties Object containing the properties to set
14613
+ */
14468
14614
  set(properties: { [key: string]: any }): void;
14469
- block_signal_handler(id: number): any;
14470
- unblock_signal_handler(id: number): any;
14471
- stop_emission_by_name(detailedName: string): any;
14615
+ /**
14616
+ * Blocks a handler of an instance so it will not be called during any signal emissions
14617
+ * @param id Handler ID of the handler to be blocked
14618
+ */
14619
+ block_signal_handler(id: number): void;
14620
+ /**
14621
+ * Unblocks a handler so it will be called again during any signal emissions
14622
+ * @param id Handler ID of the handler to be unblocked
14623
+ */
14624
+ unblock_signal_handler(id: number): void;
14625
+ /**
14626
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
14627
+ * @param detailedName Name of the signal to stop emission of
14628
+ */
14629
+ stop_emission_by_name(detailedName: string): void;
14472
14630
  }
14473
14631
 
14474
14632
  namespace InputDevice {
@@ -17485,7 +17643,21 @@ export namespace Clutter {
17485
17643
  * @returns the data if found, or %NULL if no such data exists.
17486
17644
  */
17487
17645
  get_data(key: string): any | null;
17488
- get_property(property_name: string): any;
17646
+ /**
17647
+ * Gets a property of an object.
17648
+ *
17649
+ * The value can be:
17650
+ * - 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)
17651
+ * - a GObject.Value initialized with the expected type of the property
17652
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
17653
+ *
17654
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
17655
+ *
17656
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
17657
+ * @param property_name The name of the property to get
17658
+ * @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
17659
+ */
17660
+ get_property(property_name: string, value: GObject.Value | any): any;
17489
17661
  /**
17490
17662
  * This function gets back user data pointers stored via
17491
17663
  * g_object_set_qdata().
@@ -17613,7 +17785,12 @@ export namespace Clutter {
17613
17785
  * @param data data to associate with that key
17614
17786
  */
17615
17787
  set_data(key: string, data?: any | null): void;
17616
- set_property(property_name: string, value: any): void;
17788
+ /**
17789
+ * Sets a property on an object.
17790
+ * @param property_name The name of the property to set
17791
+ * @param value The value to set the property to
17792
+ */
17793
+ set_property(property_name: string, value: GObject.Value | any): void;
17617
17794
  /**
17618
17795
  * Remove a specified datum from the object's data associations,
17619
17796
  * without invoking the association's destroy handler.
@@ -17763,11 +17940,31 @@ export namespace Clutter {
17763
17940
  * @param pspec
17764
17941
  */
17765
17942
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
17943
+ /**
17944
+ * 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.
17945
+ * @param id Handler ID of the handler to be disconnected
17946
+ */
17766
17947
  disconnect(id: number): void;
17948
+ /**
17949
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
17950
+ * @param properties Object containing the properties to set
17951
+ */
17767
17952
  set(properties: { [key: string]: any }): void;
17768
- block_signal_handler(id: number): any;
17769
- unblock_signal_handler(id: number): any;
17770
- stop_emission_by_name(detailedName: string): any;
17953
+ /**
17954
+ * Blocks a handler of an instance so it will not be called during any signal emissions
17955
+ * @param id Handler ID of the handler to be blocked
17956
+ */
17957
+ block_signal_handler(id: number): void;
17958
+ /**
17959
+ * Unblocks a handler so it will be called again during any signal emissions
17960
+ * @param id Handler ID of the handler to be unblocked
17961
+ */
17962
+ unblock_signal_handler(id: number): void;
17963
+ /**
17964
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
17965
+ * @param detailedName Name of the signal to stop emission of
17966
+ */
17967
+ stop_emission_by_name(detailedName: string): void;
17771
17968
  }
17772
17969
 
17773
17970
  namespace StageView {
@@ -19170,7 +19367,21 @@ export namespace Clutter {
19170
19367
  * @returns the data if found, or %NULL if no such data exists.
19171
19368
  */
19172
19369
  get_data(key: string): any | null;
19173
- get_property(property_name: string): any;
19370
+ /**
19371
+ * Gets a property of an object.
19372
+ *
19373
+ * The value can be:
19374
+ * - 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)
19375
+ * - a GObject.Value initialized with the expected type of the property
19376
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
19377
+ *
19378
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
19379
+ *
19380
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
19381
+ * @param property_name The name of the property to get
19382
+ * @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
19383
+ */
19384
+ get_property(property_name: string, value: GObject.Value | any): any;
19174
19385
  /**
19175
19386
  * This function gets back user data pointers stored via
19176
19387
  * g_object_set_qdata().
@@ -19298,7 +19509,12 @@ export namespace Clutter {
19298
19509
  * @param data data to associate with that key
19299
19510
  */
19300
19511
  set_data(key: string, data?: any | null): void;
19301
- set_property(property_name: string, value: any): void;
19512
+ /**
19513
+ * Sets a property on an object.
19514
+ * @param property_name The name of the property to set
19515
+ * @param value The value to set the property to
19516
+ */
19517
+ set_property(property_name: string, value: GObject.Value | any): void;
19302
19518
  /**
19303
19519
  * Remove a specified datum from the object's data associations,
19304
19520
  * without invoking the association's destroy handler.
@@ -19448,11 +19664,31 @@ export namespace Clutter {
19448
19664
  * @param pspec
19449
19665
  */
19450
19666
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
19667
+ /**
19668
+ * 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.
19669
+ * @param id Handler ID of the handler to be disconnected
19670
+ */
19451
19671
  disconnect(id: number): void;
19672
+ /**
19673
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
19674
+ * @param properties Object containing the properties to set
19675
+ */
19452
19676
  set(properties: { [key: string]: any }): void;
19453
- block_signal_handler(id: number): any;
19454
- unblock_signal_handler(id: number): any;
19455
- stop_emission_by_name(detailedName: string): any;
19677
+ /**
19678
+ * Blocks a handler of an instance so it will not be called during any signal emissions
19679
+ * @param id Handler ID of the handler to be blocked
19680
+ */
19681
+ block_signal_handler(id: number): void;
19682
+ /**
19683
+ * Unblocks a handler so it will be called again during any signal emissions
19684
+ * @param id Handler ID of the handler to be unblocked
19685
+ */
19686
+ unblock_signal_handler(id: number): void;
19687
+ /**
19688
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
19689
+ * @param detailedName Name of the signal to stop emission of
19690
+ */
19691
+ stop_emission_by_name(detailedName: string): void;
19456
19692
  }
19457
19693
 
19458
19694
  namespace TextBuffer {
@@ -19932,7 +20168,21 @@ export namespace Clutter {
19932
20168
  * @returns the data if found, or %NULL if no such data exists.
19933
20169
  */
19934
20170
  get_data(key: string): any | null;
19935
- get_property(property_name: string): any;
20171
+ /**
20172
+ * Gets a property of an object.
20173
+ *
20174
+ * The value can be:
20175
+ * - 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)
20176
+ * - a GObject.Value initialized with the expected type of the property
20177
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
20178
+ *
20179
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
20180
+ *
20181
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
20182
+ * @param property_name The name of the property to get
20183
+ * @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
20184
+ */
20185
+ get_property(property_name: string, value: GObject.Value | any): any;
19936
20186
  /**
19937
20187
  * This function gets back user data pointers stored via
19938
20188
  * g_object_set_qdata().
@@ -20060,7 +20310,12 @@ export namespace Clutter {
20060
20310
  * @param data data to associate with that key
20061
20311
  */
20062
20312
  set_data(key: string, data?: any | null): void;
20063
- set_property(property_name: string, value: any): void;
20313
+ /**
20314
+ * Sets a property on an object.
20315
+ * @param property_name The name of the property to set
20316
+ * @param value The value to set the property to
20317
+ */
20318
+ set_property(property_name: string, value: GObject.Value | any): void;
20064
20319
  /**
20065
20320
  * Remove a specified datum from the object's data associations,
20066
20321
  * without invoking the association's destroy handler.
@@ -20210,11 +20465,31 @@ export namespace Clutter {
20210
20465
  * @param pspec
20211
20466
  */
20212
20467
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
20468
+ /**
20469
+ * 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.
20470
+ * @param id Handler ID of the handler to be disconnected
20471
+ */
20213
20472
  disconnect(id: number): void;
20473
+ /**
20474
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
20475
+ * @param properties Object containing the properties to set
20476
+ */
20214
20477
  set(properties: { [key: string]: any }): void;
20215
- block_signal_handler(id: number): any;
20216
- unblock_signal_handler(id: number): any;
20217
- stop_emission_by_name(detailedName: string): any;
20478
+ /**
20479
+ * Blocks a handler of an instance so it will not be called during any signal emissions
20480
+ * @param id Handler ID of the handler to be blocked
20481
+ */
20482
+ block_signal_handler(id: number): void;
20483
+ /**
20484
+ * Unblocks a handler so it will be called again during any signal emissions
20485
+ * @param id Handler ID of the handler to be unblocked
20486
+ */
20487
+ unblock_signal_handler(id: number): void;
20488
+ /**
20489
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
20490
+ * @param detailedName Name of the signal to stop emission of
20491
+ */
20492
+ stop_emission_by_name(detailedName: string): void;
20218
20493
  }
20219
20494
 
20220
20495
  class TextureNode extends PipelineNode {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/clutter-15",
3
- "version": "15.0.0-4.0.0-beta.21",
3
+ "version": "15.0.0-4.0.0-beta.23",
4
4
  "description": "GJS TypeScript type definitions for Clutter-15, generated from library version 15.0.0",
5
5
  "type": "module",
6
6
  "module": "clutter-15.js",
@@ -31,23 +31,23 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/atk-1.0": "^2.55.2-4.0.0-beta.21",
35
- "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.21",
36
- "@girs/cogl-15": "^15.0.0-4.0.0-beta.21",
37
- "@girs/coglpango-15": "^15.0.0-4.0.0-beta.21",
38
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.21",
39
- "@girs/gio-2.0": "^2.83.3-4.0.0-beta.21",
40
- "@girs/gjs": "^4.0.0-beta.21",
41
- "@girs/gl-1.0": "^1.0.0-4.0.0-beta.21",
42
- "@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
43
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.21",
44
- "@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21",
45
- "@girs/graphene-1.0": "^1.0.0-4.0.0-beta.21",
46
- "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.21",
47
- "@girs/mtk-15": "^15.0.0-4.0.0-beta.21",
48
- "@girs/pango-1.0": "^1.56.0-4.0.0-beta.21",
49
- "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.21",
50
- "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.21"
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-15": "^15.0.0-4.0.0-beta.23",
37
+ "@girs/coglpango-15": "^15.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-15": "^15.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"
51
51
  },
52
52
  "devDependencies": {
53
53
  "typescript": "*"