@girs/gcr-4 4.3.91-4.0.0-beta.21 → 4.4.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/gcr-4.d.ts +444 -52
  3. package/package.json +8 -8
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gcr-4)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gcr-4, generated from library version 4.3.91 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
8
+ GJS TypeScript type definitions for Gcr-4, generated from library version 4.4.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/gcr-4.d.ts CHANGED
@@ -7,6 +7,8 @@
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
13
  import type Gio from '@girs/gio-2.0';
12
14
  import type GObject from '@girs/gobject-2.0';
@@ -1776,7 +1778,21 @@ export namespace Gcr {
1776
1778
  * @returns the data if found, or %NULL if no such data exists.
1777
1779
  */
1778
1780
  get_data(key: string): any | null;
1779
- get_property(property_name: string): any;
1781
+ /**
1782
+ * Gets a property of an object.
1783
+ *
1784
+ * The value can be:
1785
+ * - 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)
1786
+ * - a GObject.Value initialized with the expected type of the property
1787
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
1788
+ *
1789
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
1790
+ *
1791
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
1792
+ * @param property_name The name of the property to get
1793
+ * @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
1794
+ */
1795
+ get_property(property_name: string, value: GObject.Value | any): any;
1780
1796
  /**
1781
1797
  * This function gets back user data pointers stored via
1782
1798
  * g_object_set_qdata().
@@ -1904,7 +1920,12 @@ export namespace Gcr {
1904
1920
  * @param data data to associate with that key
1905
1921
  */
1906
1922
  set_data(key: string, data?: any | null): void;
1907
- set_property(property_name: string, value: any): void;
1923
+ /**
1924
+ * Sets a property on an object.
1925
+ * @param property_name The name of the property to set
1926
+ * @param value The value to set the property to
1927
+ */
1928
+ set_property(property_name: string, value: GObject.Value | any): void;
1908
1929
  /**
1909
1930
  * Remove a specified datum from the object's data associations,
1910
1931
  * without invoking the association's destroy handler.
@@ -2054,11 +2075,31 @@ export namespace Gcr {
2054
2075
  * @param pspec
2055
2076
  */
2056
2077
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2078
+ /**
2079
+ * 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.
2080
+ * @param id Handler ID of the handler to be disconnected
2081
+ */
2057
2082
  disconnect(id: number): void;
2083
+ /**
2084
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
2085
+ * @param properties Object containing the properties to set
2086
+ */
2058
2087
  set(properties: { [key: string]: any }): void;
2059
- block_signal_handler(id: number): any;
2060
- unblock_signal_handler(id: number): any;
2061
- stop_emission_by_name(detailedName: string): any;
2088
+ /**
2089
+ * Blocks a handler of an instance so it will not be called during any signal emissions
2090
+ * @param id Handler ID of the handler to be blocked
2091
+ */
2092
+ block_signal_handler(id: number): void;
2093
+ /**
2094
+ * Unblocks a handler so it will be called again during any signal emissions
2095
+ * @param id Handler ID of the handler to be unblocked
2096
+ */
2097
+ unblock_signal_handler(id: number): void;
2098
+ /**
2099
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
2100
+ * @param detailedName Name of the signal to stop emission of
2101
+ */
2102
+ stop_emission_by_name(detailedName: string): void;
2062
2103
  }
2063
2104
 
2064
2105
  namespace CertificateExtensionAuthorityKeyIdentifier {
@@ -2406,7 +2447,21 @@ export namespace Gcr {
2406
2447
  * @returns the data if found, or %NULL if no such data exists.
2407
2448
  */
2408
2449
  get_data(key: string): any | null;
2409
- get_property(property_name: string): any;
2450
+ /**
2451
+ * Gets a property of an object.
2452
+ *
2453
+ * The value can be:
2454
+ * - 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)
2455
+ * - a GObject.Value initialized with the expected type of the property
2456
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
2457
+ *
2458
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
2459
+ *
2460
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
2461
+ * @param property_name The name of the property to get
2462
+ * @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
2463
+ */
2464
+ get_property(property_name: string, value: GObject.Value | any): any;
2410
2465
  /**
2411
2466
  * This function gets back user data pointers stored via
2412
2467
  * g_object_set_qdata().
@@ -2534,7 +2589,12 @@ export namespace Gcr {
2534
2589
  * @param data data to associate with that key
2535
2590
  */
2536
2591
  set_data(key: string, data?: any | null): void;
2537
- set_property(property_name: string, value: any): void;
2592
+ /**
2593
+ * Sets a property on an object.
2594
+ * @param property_name The name of the property to set
2595
+ * @param value The value to set the property to
2596
+ */
2597
+ set_property(property_name: string, value: GObject.Value | any): void;
2538
2598
  /**
2539
2599
  * Remove a specified datum from the object's data associations,
2540
2600
  * without invoking the association's destroy handler.
@@ -2684,11 +2744,31 @@ export namespace Gcr {
2684
2744
  * @param pspec
2685
2745
  */
2686
2746
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2747
+ /**
2748
+ * 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.
2749
+ * @param id Handler ID of the handler to be disconnected
2750
+ */
2687
2751
  disconnect(id: number): void;
2752
+ /**
2753
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
2754
+ * @param properties Object containing the properties to set
2755
+ */
2688
2756
  set(properties: { [key: string]: any }): void;
2689
- block_signal_handler(id: number): any;
2690
- unblock_signal_handler(id: number): any;
2691
- stop_emission_by_name(detailedName: string): any;
2757
+ /**
2758
+ * Blocks a handler of an instance so it will not be called during any signal emissions
2759
+ * @param id Handler ID of the handler to be blocked
2760
+ */
2761
+ block_signal_handler(id: number): void;
2762
+ /**
2763
+ * Unblocks a handler so it will be called again during any signal emissions
2764
+ * @param id Handler ID of the handler to be unblocked
2765
+ */
2766
+ unblock_signal_handler(id: number): void;
2767
+ /**
2768
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
2769
+ * @param detailedName Name of the signal to stop emission of
2770
+ */
2771
+ stop_emission_by_name(detailedName: string): void;
2692
2772
  }
2693
2773
 
2694
2774
  namespace CertificateExtensionCrlDistributionPoints {
@@ -2954,7 +3034,21 @@ export namespace Gcr {
2954
3034
  * @returns the data if found, or %NULL if no such data exists.
2955
3035
  */
2956
3036
  get_data(key: string): any | null;
2957
- get_property(property_name: string): any;
3037
+ /**
3038
+ * Gets a property of an object.
3039
+ *
3040
+ * The value can be:
3041
+ * - 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)
3042
+ * - a GObject.Value initialized with the expected type of the property
3043
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
3044
+ *
3045
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
3046
+ *
3047
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
3048
+ * @param property_name The name of the property to get
3049
+ * @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
3050
+ */
3051
+ get_property(property_name: string, value: GObject.Value | any): any;
2958
3052
  /**
2959
3053
  * This function gets back user data pointers stored via
2960
3054
  * g_object_set_qdata().
@@ -3082,7 +3176,12 @@ export namespace Gcr {
3082
3176
  * @param data data to associate with that key
3083
3177
  */
3084
3178
  set_data(key: string, data?: any | null): void;
3085
- set_property(property_name: string, value: any): void;
3179
+ /**
3180
+ * Sets a property on an object.
3181
+ * @param property_name The name of the property to set
3182
+ * @param value The value to set the property to
3183
+ */
3184
+ set_property(property_name: string, value: GObject.Value | any): void;
3086
3185
  /**
3087
3186
  * Remove a specified datum from the object's data associations,
3088
3187
  * without invoking the association's destroy handler.
@@ -3232,11 +3331,31 @@ export namespace Gcr {
3232
3331
  * @param pspec
3233
3332
  */
3234
3333
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3334
+ /**
3335
+ * 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.
3336
+ * @param id Handler ID of the handler to be disconnected
3337
+ */
3235
3338
  disconnect(id: number): void;
3339
+ /**
3340
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
3341
+ * @param properties Object containing the properties to set
3342
+ */
3236
3343
  set(properties: { [key: string]: any }): void;
3237
- block_signal_handler(id: number): any;
3238
- unblock_signal_handler(id: number): any;
3239
- stop_emission_by_name(detailedName: string): any;
3344
+ /**
3345
+ * Blocks a handler of an instance so it will not be called during any signal emissions
3346
+ * @param id Handler ID of the handler to be blocked
3347
+ */
3348
+ block_signal_handler(id: number): void;
3349
+ /**
3350
+ * Unblocks a handler so it will be called again during any signal emissions
3351
+ * @param id Handler ID of the handler to be unblocked
3352
+ */
3353
+ unblock_signal_handler(id: number): void;
3354
+ /**
3355
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
3356
+ * @param detailedName Name of the signal to stop emission of
3357
+ */
3358
+ stop_emission_by_name(detailedName: string): void;
3240
3359
  }
3241
3360
 
3242
3361
  namespace CertificateExtensionExtendedKeyUsage {
@@ -3570,7 +3689,21 @@ export namespace Gcr {
3570
3689
  * @returns the data if found, or %NULL if no such data exists.
3571
3690
  */
3572
3691
  get_data(key: string): any | null;
3573
- get_property(property_name: string): any;
3692
+ /**
3693
+ * Gets a property of an object.
3694
+ *
3695
+ * The value can be:
3696
+ * - 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)
3697
+ * - a GObject.Value initialized with the expected type of the property
3698
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
3699
+ *
3700
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
3701
+ *
3702
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
3703
+ * @param property_name The name of the property to get
3704
+ * @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
3705
+ */
3706
+ get_property(property_name: string, value: GObject.Value | any): any;
3574
3707
  /**
3575
3708
  * This function gets back user data pointers stored via
3576
3709
  * g_object_set_qdata().
@@ -3698,7 +3831,12 @@ export namespace Gcr {
3698
3831
  * @param data data to associate with that key
3699
3832
  */
3700
3833
  set_data(key: string, data?: any | null): void;
3701
- set_property(property_name: string, value: any): void;
3834
+ /**
3835
+ * Sets a property on an object.
3836
+ * @param property_name The name of the property to set
3837
+ * @param value The value to set the property to
3838
+ */
3839
+ set_property(property_name: string, value: GObject.Value | any): void;
3702
3840
  /**
3703
3841
  * Remove a specified datum from the object's data associations,
3704
3842
  * without invoking the association's destroy handler.
@@ -3848,11 +3986,31 @@ export namespace Gcr {
3848
3986
  * @param pspec
3849
3987
  */
3850
3988
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3989
+ /**
3990
+ * 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.
3991
+ * @param id Handler ID of the handler to be disconnected
3992
+ */
3851
3993
  disconnect(id: number): void;
3994
+ /**
3995
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
3996
+ * @param properties Object containing the properties to set
3997
+ */
3852
3998
  set(properties: { [key: string]: any }): void;
3853
- block_signal_handler(id: number): any;
3854
- unblock_signal_handler(id: number): any;
3855
- stop_emission_by_name(detailedName: string): any;
3999
+ /**
4000
+ * Blocks a handler of an instance so it will not be called during any signal emissions
4001
+ * @param id Handler ID of the handler to be blocked
4002
+ */
4003
+ block_signal_handler(id: number): void;
4004
+ /**
4005
+ * Unblocks a handler so it will be called again during any signal emissions
4006
+ * @param id Handler ID of the handler to be unblocked
4007
+ */
4008
+ unblock_signal_handler(id: number): void;
4009
+ /**
4010
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
4011
+ * @param detailedName Name of the signal to stop emission of
4012
+ */
4013
+ stop_emission_by_name(detailedName: string): void;
3856
4014
  }
3857
4015
 
3858
4016
  namespace CertificateExtensionSubjectAltName {
@@ -4104,7 +4262,21 @@ export namespace Gcr {
4104
4262
  * @returns the data if found, or %NULL if no such data exists.
4105
4263
  */
4106
4264
  get_data(key: string): any | null;
4107
- get_property(property_name: string): any;
4265
+ /**
4266
+ * Gets a property of an object.
4267
+ *
4268
+ * The value can be:
4269
+ * - 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)
4270
+ * - a GObject.Value initialized with the expected type of the property
4271
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
4272
+ *
4273
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
4274
+ *
4275
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
4276
+ * @param property_name The name of the property to get
4277
+ * @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
4278
+ */
4279
+ get_property(property_name: string, value: GObject.Value | any): any;
4108
4280
  /**
4109
4281
  * This function gets back user data pointers stored via
4110
4282
  * g_object_set_qdata().
@@ -4232,7 +4404,12 @@ export namespace Gcr {
4232
4404
  * @param data data to associate with that key
4233
4405
  */
4234
4406
  set_data(key: string, data?: any | null): void;
4235
- set_property(property_name: string, value: any): void;
4407
+ /**
4408
+ * Sets a property on an object.
4409
+ * @param property_name The name of the property to set
4410
+ * @param value The value to set the property to
4411
+ */
4412
+ set_property(property_name: string, value: GObject.Value | any): void;
4236
4413
  /**
4237
4414
  * Remove a specified datum from the object's data associations,
4238
4415
  * without invoking the association's destroy handler.
@@ -4382,11 +4559,31 @@ export namespace Gcr {
4382
4559
  * @param pspec
4383
4560
  */
4384
4561
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4562
+ /**
4563
+ * 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.
4564
+ * @param id Handler ID of the handler to be disconnected
4565
+ */
4385
4566
  disconnect(id: number): void;
4567
+ /**
4568
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
4569
+ * @param properties Object containing the properties to set
4570
+ */
4386
4571
  set(properties: { [key: string]: any }): void;
4387
- block_signal_handler(id: number): any;
4388
- unblock_signal_handler(id: number): any;
4389
- stop_emission_by_name(detailedName: string): any;
4572
+ /**
4573
+ * Blocks a handler of an instance so it will not be called during any signal emissions
4574
+ * @param id Handler ID of the handler to be blocked
4575
+ */
4576
+ block_signal_handler(id: number): void;
4577
+ /**
4578
+ * Unblocks a handler so it will be called again during any signal emissions
4579
+ * @param id Handler ID of the handler to be unblocked
4580
+ */
4581
+ unblock_signal_handler(id: number): void;
4582
+ /**
4583
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
4584
+ * @param detailedName Name of the signal to stop emission of
4585
+ */
4586
+ stop_emission_by_name(detailedName: string): void;
4390
4587
  }
4391
4588
 
4392
4589
  namespace CertificateExtensionSubjectKeyIdentifier {
@@ -4722,7 +4919,21 @@ export namespace Gcr {
4722
4919
  * @returns the data if found, or %NULL if no such data exists.
4723
4920
  */
4724
4921
  get_data(key: string): any | null;
4725
- get_property(property_name: string): any;
4922
+ /**
4923
+ * Gets a property of an object.
4924
+ *
4925
+ * The value can be:
4926
+ * - 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)
4927
+ * - a GObject.Value initialized with the expected type of the property
4928
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
4929
+ *
4930
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
4931
+ *
4932
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
4933
+ * @param property_name The name of the property to get
4934
+ * @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
4935
+ */
4936
+ get_property(property_name: string, value: GObject.Value | any): any;
4726
4937
  /**
4727
4938
  * This function gets back user data pointers stored via
4728
4939
  * g_object_set_qdata().
@@ -4850,7 +5061,12 @@ export namespace Gcr {
4850
5061
  * @param data data to associate with that key
4851
5062
  */
4852
5063
  set_data(key: string, data?: any | null): void;
4853
- set_property(property_name: string, value: any): void;
5064
+ /**
5065
+ * Sets a property on an object.
5066
+ * @param property_name The name of the property to set
5067
+ * @param value The value to set the property to
5068
+ */
5069
+ set_property(property_name: string, value: GObject.Value | any): void;
4854
5070
  /**
4855
5071
  * Remove a specified datum from the object's data associations,
4856
5072
  * without invoking the association's destroy handler.
@@ -5000,11 +5216,31 @@ export namespace Gcr {
5000
5216
  * @param pspec
5001
5217
  */
5002
5218
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
5219
+ /**
5220
+ * 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.
5221
+ * @param id Handler ID of the handler to be disconnected
5222
+ */
5003
5223
  disconnect(id: number): void;
5224
+ /**
5225
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
5226
+ * @param properties Object containing the properties to set
5227
+ */
5004
5228
  set(properties: { [key: string]: any }): void;
5005
- block_signal_handler(id: number): any;
5006
- unblock_signal_handler(id: number): any;
5007
- stop_emission_by_name(detailedName: string): any;
5229
+ /**
5230
+ * Blocks a handler of an instance so it will not be called during any signal emissions
5231
+ * @param id Handler ID of the handler to be blocked
5232
+ */
5233
+ block_signal_handler(id: number): void;
5234
+ /**
5235
+ * Unblocks a handler so it will be called again during any signal emissions
5236
+ * @param id Handler ID of the handler to be unblocked
5237
+ */
5238
+ unblock_signal_handler(id: number): void;
5239
+ /**
5240
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
5241
+ * @param detailedName Name of the signal to stop emission of
5242
+ */
5243
+ stop_emission_by_name(detailedName: string): void;
5008
5244
  }
5009
5245
 
5010
5246
  namespace CertificatePolicyQualifier {
@@ -5556,7 +5792,21 @@ export namespace Gcr {
5556
5792
  * @returns the data if found, or %NULL if no such data exists.
5557
5793
  */
5558
5794
  get_data(key: string): any | null;
5559
- get_property(property_name: string): any;
5795
+ /**
5796
+ * Gets a property of an object.
5797
+ *
5798
+ * The value can be:
5799
+ * - 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)
5800
+ * - a GObject.Value initialized with the expected type of the property
5801
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
5802
+ *
5803
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
5804
+ *
5805
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
5806
+ * @param property_name The name of the property to get
5807
+ * @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
5808
+ */
5809
+ get_property(property_name: string, value: GObject.Value | any): any;
5560
5810
  /**
5561
5811
  * This function gets back user data pointers stored via
5562
5812
  * g_object_set_qdata().
@@ -5684,7 +5934,12 @@ export namespace Gcr {
5684
5934
  * @param data data to associate with that key
5685
5935
  */
5686
5936
  set_data(key: string, data?: any | null): void;
5687
- set_property(property_name: string, value: any): void;
5937
+ /**
5938
+ * Sets a property on an object.
5939
+ * @param property_name The name of the property to set
5940
+ * @param value The value to set the property to
5941
+ */
5942
+ set_property(property_name: string, value: GObject.Value | any): void;
5688
5943
  /**
5689
5944
  * Remove a specified datum from the object's data associations,
5690
5945
  * without invoking the association's destroy handler.
@@ -5834,11 +6089,31 @@ export namespace Gcr {
5834
6089
  * @param pspec
5835
6090
  */
5836
6091
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
6092
+ /**
6093
+ * 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.
6094
+ * @param id Handler ID of the handler to be disconnected
6095
+ */
5837
6096
  disconnect(id: number): void;
6097
+ /**
6098
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
6099
+ * @param properties Object containing the properties to set
6100
+ */
5838
6101
  set(properties: { [key: string]: any }): void;
5839
- block_signal_handler(id: number): any;
5840
- unblock_signal_handler(id: number): any;
5841
- stop_emission_by_name(detailedName: string): any;
6102
+ /**
6103
+ * Blocks a handler of an instance so it will not be called during any signal emissions
6104
+ * @param id Handler ID of the handler to be blocked
6105
+ */
6106
+ block_signal_handler(id: number): void;
6107
+ /**
6108
+ * Unblocks a handler so it will be called again during any signal emissions
6109
+ * @param id Handler ID of the handler to be unblocked
6110
+ */
6111
+ unblock_signal_handler(id: number): void;
6112
+ /**
6113
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
6114
+ * @param detailedName Name of the signal to stop emission of
6115
+ */
6116
+ stop_emission_by_name(detailedName: string): void;
5842
6117
  }
5843
6118
 
5844
6119
  namespace Parser {
@@ -6566,7 +6841,21 @@ export namespace Gcr {
6566
6841
  get_data(key: string): any | null;
6567
6842
  // Conflicted with Gck.Object.get_data
6568
6843
  get_data(...args: never[]): any;
6569
- get_property(property_name: string): any;
6844
+ /**
6845
+ * Gets a property of an object.
6846
+ *
6847
+ * The value can be:
6848
+ * - 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)
6849
+ * - a GObject.Value initialized with the expected type of the property
6850
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
6851
+ *
6852
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
6853
+ *
6854
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
6855
+ * @param property_name The name of the property to get
6856
+ * @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
6857
+ */
6858
+ get_property(property_name: string, value: GObject.Value | any): any;
6570
6859
  /**
6571
6860
  * This function gets back user data pointers stored via
6572
6861
  * g_object_set_qdata().
@@ -6694,7 +6983,12 @@ export namespace Gcr {
6694
6983
  * @param data data to associate with that key
6695
6984
  */
6696
6985
  set_data(key: string, data?: any | null): void;
6697
- set_property(property_name: string, value: any): void;
6986
+ /**
6987
+ * Sets a property on an object.
6988
+ * @param property_name The name of the property to set
6989
+ * @param value The value to set the property to
6990
+ */
6991
+ set_property(property_name: string, value: GObject.Value | any): void;
6698
6992
  /**
6699
6993
  * Remove a specified datum from the object's data associations,
6700
6994
  * without invoking the association's destroy handler.
@@ -6844,13 +7138,33 @@ export namespace Gcr {
6844
7138
  * @param pspec
6845
7139
  */
6846
7140
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
7141
+ /**
7142
+ * 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.
7143
+ * @param id Handler ID of the handler to be disconnected
7144
+ */
6847
7145
  disconnect(id: number): void;
7146
+ /**
7147
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
7148
+ * @param properties Object containing the properties to set
7149
+ */
6848
7150
  set(properties: { [key: string]: any }): void;
6849
7151
  // Conflicted with Gck.Object.set
6850
7152
  set(...args: never[]): any;
6851
- block_signal_handler(id: number): any;
6852
- unblock_signal_handler(id: number): any;
6853
- stop_emission_by_name(detailedName: string): any;
7153
+ /**
7154
+ * Blocks a handler of an instance so it will not be called during any signal emissions
7155
+ * @param id Handler ID of the handler to be blocked
7156
+ */
7157
+ block_signal_handler(id: number): void;
7158
+ /**
7159
+ * Unblocks a handler so it will be called again during any signal emissions
7160
+ * @param id Handler ID of the handler to be unblocked
7161
+ */
7162
+ unblock_signal_handler(id: number): void;
7163
+ /**
7164
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
7165
+ * @param detailedName Name of the signal to stop emission of
7166
+ */
7167
+ stop_emission_by_name(detailedName: string): void;
6854
7168
  }
6855
7169
 
6856
7170
  namespace SecretExchange {
@@ -7330,7 +7644,21 @@ export namespace Gcr {
7330
7644
  * @returns the data if found, or %NULL if no such data exists.
7331
7645
  */
7332
7646
  get_data(key: string): any | null;
7333
- get_property(property_name: string): any;
7647
+ /**
7648
+ * Gets a property of an object.
7649
+ *
7650
+ * The value can be:
7651
+ * - 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)
7652
+ * - a GObject.Value initialized with the expected type of the property
7653
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
7654
+ *
7655
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
7656
+ *
7657
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
7658
+ * @param property_name The name of the property to get
7659
+ * @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
7660
+ */
7661
+ get_property(property_name: string, value: GObject.Value | any): any;
7334
7662
  /**
7335
7663
  * This function gets back user data pointers stored via
7336
7664
  * g_object_set_qdata().
@@ -7458,7 +7786,12 @@ export namespace Gcr {
7458
7786
  * @param data data to associate with that key
7459
7787
  */
7460
7788
  set_data(key: string, data?: any | null): void;
7461
- set_property(property_name: string, value: any): void;
7789
+ /**
7790
+ * Sets a property on an object.
7791
+ * @param property_name The name of the property to set
7792
+ * @param value The value to set the property to
7793
+ */
7794
+ set_property(property_name: string, value: GObject.Value | any): void;
7462
7795
  /**
7463
7796
  * Remove a specified datum from the object's data associations,
7464
7797
  * without invoking the association's destroy handler.
@@ -7608,11 +7941,31 @@ export namespace Gcr {
7608
7941
  * @param pspec
7609
7942
  */
7610
7943
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
7944
+ /**
7945
+ * 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.
7946
+ * @param id Handler ID of the handler to be disconnected
7947
+ */
7611
7948
  disconnect(id: number): void;
7949
+ /**
7950
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
7951
+ * @param properties Object containing the properties to set
7952
+ */
7612
7953
  set(properties: { [key: string]: any }): void;
7613
- block_signal_handler(id: number): any;
7614
- unblock_signal_handler(id: number): any;
7615
- stop_emission_by_name(detailedName: string): any;
7954
+ /**
7955
+ * Blocks a handler of an instance so it will not be called during any signal emissions
7956
+ * @param id Handler ID of the handler to be blocked
7957
+ */
7958
+ block_signal_handler(id: number): void;
7959
+ /**
7960
+ * Unblocks a handler so it will be called again during any signal emissions
7961
+ * @param id Handler ID of the handler to be unblocked
7962
+ */
7963
+ unblock_signal_handler(id: number): void;
7964
+ /**
7965
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
7966
+ * @param detailedName Name of the signal to stop emission of
7967
+ */
7968
+ stop_emission_by_name(detailedName: string): void;
7616
7969
  }
7617
7970
 
7618
7971
  namespace SshAskpass {
@@ -8634,7 +8987,7 @@ export namespace Gcr {
8634
8987
  * If the object is not initialized, or initialization returns with an
8635
8988
  * error, then all operations on the object except g_object_ref() and
8636
8989
  * g_object_unref() are considered to be invalid, and have undefined
8637
- * behaviour. See the [introduction][ginitable] for more details.
8990
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
8638
8991
  *
8639
8992
  * Callers should not assume that a class which implements #GInitable can be
8640
8993
  * initialized multiple times, unless the class explicitly documents itself as
@@ -8677,7 +9030,7 @@ export namespace Gcr {
8677
9030
  * If the object is not initialized, or initialization returns with an
8678
9031
  * error, then all operations on the object except g_object_ref() and
8679
9032
  * g_object_unref() are considered to be invalid, and have undefined
8680
- * behaviour. See the [introduction][ginitable] for more details.
9033
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
8681
9034
  *
8682
9035
  * Callers should not assume that a class which implements #GInitable can be
8683
9036
  * initialized multiple times, unless the class explicitly documents itself as
@@ -8817,7 +9170,21 @@ export namespace Gcr {
8817
9170
  * @returns the data if found, or %NULL if no such data exists.
8818
9171
  */
8819
9172
  get_data(key: string): any | null;
8820
- get_property(property_name: string): any;
9173
+ /**
9174
+ * Gets a property of an object.
9175
+ *
9176
+ * The value can be:
9177
+ * - 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)
9178
+ * - a GObject.Value initialized with the expected type of the property
9179
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
9180
+ *
9181
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
9182
+ *
9183
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
9184
+ * @param property_name The name of the property to get
9185
+ * @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
9186
+ */
9187
+ get_property(property_name: string, value: GObject.Value | any): any;
8821
9188
  /**
8822
9189
  * This function gets back user data pointers stored via
8823
9190
  * g_object_set_qdata().
@@ -8945,7 +9312,12 @@ export namespace Gcr {
8945
9312
  * @param data data to associate with that key
8946
9313
  */
8947
9314
  set_data(key: string, data?: any | null): void;
8948
- set_property(property_name: string, value: any): void;
9315
+ /**
9316
+ * Sets a property on an object.
9317
+ * @param property_name The name of the property to set
9318
+ * @param value The value to set the property to
9319
+ */
9320
+ set_property(property_name: string, value: GObject.Value | any): void;
8949
9321
  /**
8950
9322
  * Remove a specified datum from the object's data associations,
8951
9323
  * without invoking the association's destroy handler.
@@ -9095,11 +9467,31 @@ export namespace Gcr {
9095
9467
  * @param pspec
9096
9468
  */
9097
9469
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
9470
+ /**
9471
+ * 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.
9472
+ * @param id Handler ID of the handler to be disconnected
9473
+ */
9098
9474
  disconnect(id: number): void;
9475
+ /**
9476
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
9477
+ * @param properties Object containing the properties to set
9478
+ */
9099
9479
  set(properties: { [key: string]: any }): void;
9100
- block_signal_handler(id: number): any;
9101
- unblock_signal_handler(id: number): any;
9102
- stop_emission_by_name(detailedName: string): any;
9480
+ /**
9481
+ * Blocks a handler of an instance so it will not be called during any signal emissions
9482
+ * @param id Handler ID of the handler to be blocked
9483
+ */
9484
+ block_signal_handler(id: number): void;
9485
+ /**
9486
+ * Unblocks a handler so it will be called again during any signal emissions
9487
+ * @param id Handler ID of the handler to be unblocked
9488
+ */
9489
+ unblock_signal_handler(id: number): void;
9490
+ /**
9491
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
9492
+ * @param detailedName Name of the signal to stop emission of
9493
+ */
9494
+ stop_emission_by_name(detailedName: string): void;
9103
9495
  }
9104
9496
 
9105
9497
  namespace SystemPrompter {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@girs/gcr-4",
3
- "version": "4.3.91-4.0.0-beta.21",
4
- "description": "GJS TypeScript type definitions for Gcr-4, generated from library version 4.3.91",
3
+ "version": "4.4.0-4.0.0-beta.23",
4
+ "description": "GJS TypeScript type definitions for Gcr-4, generated from library version 4.4.0",
5
5
  "type": "module",
6
6
  "module": "gcr-4.js",
7
7
  "main": "gcr-4.js",
@@ -31,12 +31,12 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gck-2": "^4.3.91-4.0.0-beta.21",
35
- "@girs/gio-2.0": "^2.83.3-4.0.0-beta.21",
36
- "@girs/gjs": "^4.0.0-beta.21",
37
- "@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
38
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.21",
39
- "@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21"
34
+ "@girs/gck-2": "^4.4.0-4.0.0-beta.23",
35
+ "@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
36
+ "@girs/gjs": "^4.0.0-beta.23",
37
+ "@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
38
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
39
+ "@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23"
40
40
  },
41
41
  "devDependencies": {
42
42
  "typescript": "*"