@girs/meta-12 12.0.0-4.0.0-beta.21 → 12.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/meta-12.d.ts +449 -57
  3. package/package.json +21 -21
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/meta-12)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Meta-12, generated from library version 12.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
8
+ GJS TypeScript type definitions for Meta-12, generated from library version 12.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/meta-12.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 xlib from '@girs/xlib-2.0';
12
14
  import type xfixes from '@girs/xfixes-4.0';
@@ -15,7 +17,7 @@ import type GLib from '@girs/glib-2.0';
15
17
  import type GDesktopEnums from '@girs/gdesktopenums-3.0';
16
18
  import type CoglPango from '@girs/coglpango-12';
17
19
  import type PangoCairo from '@girs/pangocairo-1.0';
18
- import type cairo from '@girs/cairo-1.0';
20
+ import type cairo from 'cairo';
19
21
  import type Pango from '@girs/pango-1.0';
20
22
  import type HarfBuzz from '@girs/harfbuzz-0.0';
21
23
  import type freetype2 from '@girs/freetype2-2.0';
@@ -1993,7 +1995,7 @@ export namespace Meta {
1993
1995
  * If the object is not initialized, or initialization returns with an
1994
1996
  * error, then all operations on the object except g_object_ref() and
1995
1997
  * g_object_unref() are considered to be invalid, and have undefined
1996
- * behaviour. See the [introduction][ginitable] for more details.
1998
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
1997
1999
  *
1998
2000
  * Callers should not assume that a class which implements #GInitable can be
1999
2001
  * initialized multiple times, unless the class explicitly documents itself as
@@ -2036,7 +2038,7 @@ export namespace Meta {
2036
2038
  * If the object is not initialized, or initialization returns with an
2037
2039
  * error, then all operations on the object except g_object_ref() and
2038
2040
  * g_object_unref() are considered to be invalid, and have undefined
2039
- * behaviour. See the [introduction][ginitable] for more details.
2041
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
2040
2042
  *
2041
2043
  * Callers should not assume that a class which implements #GInitable can be
2042
2044
  * initialized multiple times, unless the class explicitly documents itself as
@@ -2176,7 +2178,21 @@ export namespace Meta {
2176
2178
  * @returns the data if found, or %NULL if no such data exists.
2177
2179
  */
2178
2180
  get_data(key: string): any | null;
2179
- get_property(property_name: string): any;
2181
+ /**
2182
+ * Gets a property of an object.
2183
+ *
2184
+ * The value can be:
2185
+ * - 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)
2186
+ * - a GObject.Value initialized with the expected type of the property
2187
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
2188
+ *
2189
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
2190
+ *
2191
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
2192
+ * @param property_name The name of the property to get
2193
+ * @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
2194
+ */
2195
+ get_property(property_name: string, value: GObject.Value | any): any;
2180
2196
  /**
2181
2197
  * This function gets back user data pointers stored via
2182
2198
  * g_object_set_qdata().
@@ -2304,7 +2320,12 @@ export namespace Meta {
2304
2320
  * @param data data to associate with that key
2305
2321
  */
2306
2322
  set_data(key: string, data?: any | null): void;
2307
- set_property(property_name: string, value: any): void;
2323
+ /**
2324
+ * Sets a property on an object.
2325
+ * @param property_name The name of the property to set
2326
+ * @param value The value to set the property to
2327
+ */
2328
+ set_property(property_name: string, value: GObject.Value | any): void;
2308
2329
  /**
2309
2330
  * Remove a specified datum from the object's data associations,
2310
2331
  * without invoking the association's destroy handler.
@@ -2454,11 +2475,31 @@ export namespace Meta {
2454
2475
  * @param pspec
2455
2476
  */
2456
2477
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2478
+ /**
2479
+ * 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.
2480
+ * @param id Handler ID of the handler to be disconnected
2481
+ */
2457
2482
  disconnect(id: number): void;
2483
+ /**
2484
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
2485
+ * @param properties Object containing the properties to set
2486
+ */
2458
2487
  set(properties: { [key: string]: any }): void;
2459
- block_signal_handler(id: number): any;
2460
- unblock_signal_handler(id: number): any;
2461
- stop_emission_by_name(detailedName: string): any;
2488
+ /**
2489
+ * Blocks a handler of an instance so it will not be called during any signal emissions
2490
+ * @param id Handler ID of the handler to be blocked
2491
+ */
2492
+ block_signal_handler(id: number): void;
2493
+ /**
2494
+ * Unblocks a handler so it will be called again during any signal emissions
2495
+ * @param id Handler ID of the handler to be unblocked
2496
+ */
2497
+ unblock_signal_handler(id: number): void;
2498
+ /**
2499
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
2500
+ * @param detailedName Name of the signal to stop emission of
2501
+ */
2502
+ stop_emission_by_name(detailedName: string): void;
2462
2503
  }
2463
2504
 
2464
2505
  namespace Background {
@@ -2997,7 +3038,21 @@ export namespace Meta {
2997
3038
  * @returns the data if found, or %NULL if no such data exists.
2998
3039
  */
2999
3040
  get_data(key: string): any | null;
3000
- get_property(property_name: string): any;
3041
+ /**
3042
+ * Gets a property of an object.
3043
+ *
3044
+ * The value can be:
3045
+ * - 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)
3046
+ * - a GObject.Value initialized with the expected type of the property
3047
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
3048
+ *
3049
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
3050
+ *
3051
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
3052
+ * @param property_name The name of the property to get
3053
+ * @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
3054
+ */
3055
+ get_property(property_name: string, value: GObject.Value | any): any;
3001
3056
  /**
3002
3057
  * This function gets back user data pointers stored via
3003
3058
  * g_object_set_qdata().
@@ -3125,7 +3180,12 @@ export namespace Meta {
3125
3180
  * @param data data to associate with that key
3126
3181
  */
3127
3182
  set_data(key: string, data?: any | null): void;
3128
- set_property(property_name: string, value: any): void;
3183
+ /**
3184
+ * Sets a property on an object.
3185
+ * @param property_name The name of the property to set
3186
+ * @param value The value to set the property to
3187
+ */
3188
+ set_property(property_name: string, value: GObject.Value | any): void;
3129
3189
  /**
3130
3190
  * Remove a specified datum from the object's data associations,
3131
3191
  * without invoking the association's destroy handler.
@@ -3275,11 +3335,31 @@ export namespace Meta {
3275
3335
  * @param pspec
3276
3336
  */
3277
3337
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3338
+ /**
3339
+ * 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.
3340
+ * @param id Handler ID of the handler to be disconnected
3341
+ */
3278
3342
  disconnect(id: number): void;
3343
+ /**
3344
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
3345
+ * @param properties Object containing the properties to set
3346
+ */
3279
3347
  set(properties: { [key: string]: any }): void;
3280
- block_signal_handler(id: number): any;
3281
- unblock_signal_handler(id: number): any;
3282
- stop_emission_by_name(detailedName: string): any;
3348
+ /**
3349
+ * Blocks a handler of an instance so it will not be called during any signal emissions
3350
+ * @param id Handler ID of the handler to be blocked
3351
+ */
3352
+ block_signal_handler(id: number): void;
3353
+ /**
3354
+ * Unblocks a handler so it will be called again during any signal emissions
3355
+ * @param id Handler ID of the handler to be unblocked
3356
+ */
3357
+ unblock_signal_handler(id: number): void;
3358
+ /**
3359
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
3360
+ * @param detailedName Name of the signal to stop emission of
3361
+ */
3362
+ stop_emission_by_name(detailedName: string): void;
3283
3363
  }
3284
3364
 
3285
3365
  namespace BackgroundContent {
@@ -3542,7 +3622,21 @@ export namespace Meta {
3542
3622
  * @returns the data if found, or %NULL if no such data exists.
3543
3623
  */
3544
3624
  get_data(key: string): any | null;
3545
- get_property(property_name: string): any;
3625
+ /**
3626
+ * Gets a property of an object.
3627
+ *
3628
+ * The value can be:
3629
+ * - 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)
3630
+ * - a GObject.Value initialized with the expected type of the property
3631
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
3632
+ *
3633
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
3634
+ *
3635
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
3636
+ * @param property_name The name of the property to get
3637
+ * @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
3638
+ */
3639
+ get_property(property_name: string, value: GObject.Value | any): any;
3546
3640
  /**
3547
3641
  * This function gets back user data pointers stored via
3548
3642
  * g_object_set_qdata().
@@ -3670,7 +3764,12 @@ export namespace Meta {
3670
3764
  * @param data data to associate with that key
3671
3765
  */
3672
3766
  set_data(key: string, data?: any | null): void;
3673
- set_property(property_name: string, value: any): void;
3767
+ /**
3768
+ * Sets a property on an object.
3769
+ * @param property_name The name of the property to set
3770
+ * @param value The value to set the property to
3771
+ */
3772
+ set_property(property_name: string, value: GObject.Value | any): void;
3674
3773
  /**
3675
3774
  * Remove a specified datum from the object's data associations,
3676
3775
  * without invoking the association's destroy handler.
@@ -3820,11 +3919,31 @@ export namespace Meta {
3820
3919
  * @param pspec
3821
3920
  */
3822
3921
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3922
+ /**
3923
+ * 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.
3924
+ * @param id Handler ID of the handler to be disconnected
3925
+ */
3823
3926
  disconnect(id: number): void;
3927
+ /**
3928
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
3929
+ * @param properties Object containing the properties to set
3930
+ */
3824
3931
  set(properties: { [key: string]: any }): void;
3825
- block_signal_handler(id: number): any;
3826
- unblock_signal_handler(id: number): any;
3827
- stop_emission_by_name(detailedName: string): any;
3932
+ /**
3933
+ * Blocks a handler of an instance so it will not be called during any signal emissions
3934
+ * @param id Handler ID of the handler to be blocked
3935
+ */
3936
+ block_signal_handler(id: number): void;
3937
+ /**
3938
+ * Unblocks a handler so it will be called again during any signal emissions
3939
+ * @param id Handler ID of the handler to be unblocked
3940
+ */
3941
+ unblock_signal_handler(id: number): void;
3942
+ /**
3943
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
3944
+ * @param detailedName Name of the signal to stop emission of
3945
+ */
3946
+ stop_emission_by_name(detailedName: string): void;
3828
3947
  }
3829
3948
 
3830
3949
  namespace BackgroundGroup {
@@ -4274,7 +4393,21 @@ export namespace Meta {
4274
4393
  * @returns the data if found, or %NULL if no such data exists.
4275
4394
  */
4276
4395
  get_data(key: string): any | null;
4277
- get_property(property_name: string): any;
4396
+ /**
4397
+ * Gets a property of an object.
4398
+ *
4399
+ * The value can be:
4400
+ * - 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)
4401
+ * - a GObject.Value initialized with the expected type of the property
4402
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
4403
+ *
4404
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
4405
+ *
4406
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
4407
+ * @param property_name The name of the property to get
4408
+ * @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
4409
+ */
4410
+ get_property(property_name: string, value: GObject.Value | any): any;
4278
4411
  /**
4279
4412
  * This function gets back user data pointers stored via
4280
4413
  * g_object_set_qdata().
@@ -4402,7 +4535,12 @@ export namespace Meta {
4402
4535
  * @param data data to associate with that key
4403
4536
  */
4404
4537
  set_data(key: string, data?: any | null): void;
4405
- set_property(property_name: string, value: any): void;
4538
+ /**
4539
+ * Sets a property on an object.
4540
+ * @param property_name The name of the property to set
4541
+ * @param value The value to set the property to
4542
+ */
4543
+ set_property(property_name: string, value: GObject.Value | any): void;
4406
4544
  /**
4407
4545
  * Remove a specified datum from the object's data associations,
4408
4546
  * without invoking the association's destroy handler.
@@ -4552,11 +4690,31 @@ export namespace Meta {
4552
4690
  * @param pspec
4553
4691
  */
4554
4692
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4693
+ /**
4694
+ * 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.
4695
+ * @param id Handler ID of the handler to be disconnected
4696
+ */
4555
4697
  disconnect(id: number): void;
4698
+ /**
4699
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
4700
+ * @param properties Object containing the properties to set
4701
+ */
4556
4702
  set(properties: { [key: string]: any }): void;
4557
- block_signal_handler(id: number): any;
4558
- unblock_signal_handler(id: number): any;
4559
- stop_emission_by_name(detailedName: string): any;
4703
+ /**
4704
+ * Blocks a handler of an instance so it will not be called during any signal emissions
4705
+ * @param id Handler ID of the handler to be blocked
4706
+ */
4707
+ block_signal_handler(id: number): void;
4708
+ /**
4709
+ * Unblocks a handler so it will be called again during any signal emissions
4710
+ * @param id Handler ID of the handler to be unblocked
4711
+ */
4712
+ unblock_signal_handler(id: number): void;
4713
+ /**
4714
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
4715
+ * @param detailedName Name of the signal to stop emission of
4716
+ */
4717
+ stop_emission_by_name(detailedName: string): void;
4560
4718
  }
4561
4719
 
4562
4720
  namespace BackgroundImage {
@@ -4748,7 +4906,7 @@ export namespace Meta {
4748
4906
  * If the object is not initialized, or initialization returns with an
4749
4907
  * error, then all operations on the object except g_object_ref() and
4750
4908
  * g_object_unref() are considered to be invalid, and have undefined
4751
- * behaviour. See the [introduction][ginitable] for more details.
4909
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
4752
4910
  *
4753
4911
  * Callers should not assume that a class which implements #GInitable can be
4754
4912
  * initialized multiple times, unless the class explicitly documents itself as
@@ -4791,7 +4949,7 @@ export namespace Meta {
4791
4949
  * If the object is not initialized, or initialization returns with an
4792
4950
  * error, then all operations on the object except g_object_ref() and
4793
4951
  * g_object_unref() are considered to be invalid, and have undefined
4794
- * behaviour. See the [introduction][ginitable] for more details.
4952
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
4795
4953
  *
4796
4954
  * Callers should not assume that a class which implements #GInitable can be
4797
4955
  * initialized multiple times, unless the class explicitly documents itself as
@@ -4931,7 +5089,21 @@ export namespace Meta {
4931
5089
  * @returns the data if found, or %NULL if no such data exists.
4932
5090
  */
4933
5091
  get_data(key: string): any | null;
4934
- get_property(property_name: string): any;
5092
+ /**
5093
+ * Gets a property of an object.
5094
+ *
5095
+ * The value can be:
5096
+ * - 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)
5097
+ * - a GObject.Value initialized with the expected type of the property
5098
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
5099
+ *
5100
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
5101
+ *
5102
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
5103
+ * @param property_name The name of the property to get
5104
+ * @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
5105
+ */
5106
+ get_property(property_name: string, value: GObject.Value | any): any;
4935
5107
  /**
4936
5108
  * This function gets back user data pointers stored via
4937
5109
  * g_object_set_qdata().
@@ -5059,7 +5231,12 @@ export namespace Meta {
5059
5231
  * @param data data to associate with that key
5060
5232
  */
5061
5233
  set_data(key: string, data?: any | null): void;
5062
- set_property(property_name: string, value: any): void;
5234
+ /**
5235
+ * Sets a property on an object.
5236
+ * @param property_name The name of the property to set
5237
+ * @param value The value to set the property to
5238
+ */
5239
+ set_property(property_name: string, value: GObject.Value | any): void;
5063
5240
  /**
5064
5241
  * Remove a specified datum from the object's data associations,
5065
5242
  * without invoking the association's destroy handler.
@@ -5209,11 +5386,31 @@ export namespace Meta {
5209
5386
  * @param pspec
5210
5387
  */
5211
5388
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
5389
+ /**
5390
+ * 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.
5391
+ * @param id Handler ID of the handler to be disconnected
5392
+ */
5212
5393
  disconnect(id: number): void;
5394
+ /**
5395
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
5396
+ * @param properties Object containing the properties to set
5397
+ */
5213
5398
  set(properties: { [key: string]: any }): void;
5214
- block_signal_handler(id: number): any;
5215
- unblock_signal_handler(id: number): any;
5216
- stop_emission_by_name(detailedName: string): any;
5399
+ /**
5400
+ * Blocks a handler of an instance so it will not be called during any signal emissions
5401
+ * @param id Handler ID of the handler to be blocked
5402
+ */
5403
+ block_signal_handler(id: number): void;
5404
+ /**
5405
+ * Unblocks a handler so it will be called again during any signal emissions
5406
+ * @param id Handler ID of the handler to be unblocked
5407
+ */
5408
+ unblock_signal_handler(id: number): void;
5409
+ /**
5410
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
5411
+ * @param detailedName Name of the signal to stop emission of
5412
+ */
5413
+ stop_emission_by_name(detailedName: string): void;
5217
5414
  }
5218
5415
 
5219
5416
  namespace Compositor {
@@ -6907,7 +7104,21 @@ export namespace Meta {
6907
7104
  * @returns the data if found, or %NULL if no such data exists.
6908
7105
  */
6909
7106
  get_data(key: string): any | null;
6910
- get_property(property_name: string): any;
7107
+ /**
7108
+ * Gets a property of an object.
7109
+ *
7110
+ * The value can be:
7111
+ * - 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)
7112
+ * - a GObject.Value initialized with the expected type of the property
7113
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
7114
+ *
7115
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
7116
+ *
7117
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
7118
+ * @param property_name The name of the property to get
7119
+ * @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
7120
+ */
7121
+ get_property(property_name: string, value: GObject.Value | any): any;
6911
7122
  /**
6912
7123
  * This function gets back user data pointers stored via
6913
7124
  * g_object_set_qdata().
@@ -7035,7 +7246,12 @@ export namespace Meta {
7035
7246
  * @param data data to associate with that key
7036
7247
  */
7037
7248
  set_data(key: string, data?: any | null): void;
7038
- set_property(property_name: string, value: any): void;
7249
+ /**
7250
+ * Sets a property on an object.
7251
+ * @param property_name The name of the property to set
7252
+ * @param value The value to set the property to
7253
+ */
7254
+ set_property(property_name: string, value: GObject.Value | any): void;
7039
7255
  /**
7040
7256
  * Remove a specified datum from the object's data associations,
7041
7257
  * without invoking the association's destroy handler.
@@ -7185,11 +7401,31 @@ export namespace Meta {
7185
7401
  * @param pspec
7186
7402
  */
7187
7403
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
7404
+ /**
7405
+ * 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.
7406
+ * @param id Handler ID of the handler to be disconnected
7407
+ */
7188
7408
  disconnect(id: number): void;
7409
+ /**
7410
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
7411
+ * @param properties Object containing the properties to set
7412
+ */
7189
7413
  set(properties: { [key: string]: any }): void;
7190
- block_signal_handler(id: number): any;
7191
- unblock_signal_handler(id: number): any;
7192
- stop_emission_by_name(detailedName: string): any;
7414
+ /**
7415
+ * Blocks a handler of an instance so it will not be called during any signal emissions
7416
+ * @param id Handler ID of the handler to be blocked
7417
+ */
7418
+ block_signal_handler(id: number): void;
7419
+ /**
7420
+ * Unblocks a handler so it will be called again during any signal emissions
7421
+ * @param id Handler ID of the handler to be unblocked
7422
+ */
7423
+ unblock_signal_handler(id: number): void;
7424
+ /**
7425
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
7426
+ * @param detailedName Name of the signal to stop emission of
7427
+ */
7428
+ stop_emission_by_name(detailedName: string): void;
7193
7429
  }
7194
7430
 
7195
7431
  namespace SoundPlayer {
@@ -7541,7 +7777,21 @@ export namespace Meta {
7541
7777
  * @returns the data if found, or %NULL if no such data exists.
7542
7778
  */
7543
7779
  get_data(key: string): any | null;
7544
- get_property(property_name: string): any;
7780
+ /**
7781
+ * Gets a property of an object.
7782
+ *
7783
+ * The value can be:
7784
+ * - 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)
7785
+ * - a GObject.Value initialized with the expected type of the property
7786
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
7787
+ *
7788
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
7789
+ *
7790
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
7791
+ * @param property_name The name of the property to get
7792
+ * @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
7793
+ */
7794
+ get_property(property_name: string, value: GObject.Value | any): any;
7545
7795
  /**
7546
7796
  * This function gets back user data pointers stored via
7547
7797
  * g_object_set_qdata().
@@ -7669,7 +7919,12 @@ export namespace Meta {
7669
7919
  * @param data data to associate with that key
7670
7920
  */
7671
7921
  set_data(key: string, data?: any | null): void;
7672
- set_property(property_name: string, value: any): void;
7922
+ /**
7923
+ * Sets a property on an object.
7924
+ * @param property_name The name of the property to set
7925
+ * @param value The value to set the property to
7926
+ */
7927
+ set_property(property_name: string, value: GObject.Value | any): void;
7673
7928
  /**
7674
7929
  * Remove a specified datum from the object's data associations,
7675
7930
  * without invoking the association's destroy handler.
@@ -7819,11 +8074,31 @@ export namespace Meta {
7819
8074
  * @param pspec
7820
8075
  */
7821
8076
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
8077
+ /**
8078
+ * 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.
8079
+ * @param id Handler ID of the handler to be disconnected
8080
+ */
7822
8081
  disconnect(id: number): void;
8082
+ /**
8083
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
8084
+ * @param properties Object containing the properties to set
8085
+ */
7823
8086
  set(properties: { [key: string]: any }): void;
7824
- block_signal_handler(id: number): any;
7825
- unblock_signal_handler(id: number): any;
7826
- stop_emission_by_name(detailedName: string): any;
8087
+ /**
8088
+ * Blocks a handler of an instance so it will not be called during any signal emissions
8089
+ * @param id Handler ID of the handler to be blocked
8090
+ */
8091
+ block_signal_handler(id: number): void;
8092
+ /**
8093
+ * Unblocks a handler so it will be called again during any signal emissions
8094
+ * @param id Handler ID of the handler to be unblocked
8095
+ */
8096
+ unblock_signal_handler(id: number): void;
8097
+ /**
8098
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
8099
+ * @param detailedName Name of the signal to stop emission of
8100
+ */
8101
+ stop_emission_by_name(detailedName: string): void;
7827
8102
  }
7828
8103
 
7829
8104
  namespace StartupNotification {
@@ -8554,7 +8829,7 @@ export namespace Meta {
8554
8829
  * If the object is not initialized, or initialization returns with an
8555
8830
  * error, then all operations on the object except g_object_ref() and
8556
8831
  * g_object_unref() are considered to be invalid, and have undefined
8557
- * behaviour. See the [introduction][ginitable] for more details.
8832
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
8558
8833
  *
8559
8834
  * Callers should not assume that a class which implements #GInitable can be
8560
8835
  * initialized multiple times, unless the class explicitly documents itself as
@@ -8597,7 +8872,7 @@ export namespace Meta {
8597
8872
  * If the object is not initialized, or initialization returns with an
8598
8873
  * error, then all operations on the object except g_object_ref() and
8599
8874
  * g_object_unref() are considered to be invalid, and have undefined
8600
- * behaviour. See the [introduction][ginitable] for more details.
8875
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
8601
8876
  *
8602
8877
  * Callers should not assume that a class which implements #GInitable can be
8603
8878
  * initialized multiple times, unless the class explicitly documents itself as
@@ -8737,7 +9012,21 @@ export namespace Meta {
8737
9012
  * @returns the data if found, or %NULL if no such data exists.
8738
9013
  */
8739
9014
  get_data(key: string): any | null;
8740
- get_property(property_name: string): any;
9015
+ /**
9016
+ * Gets a property of an object.
9017
+ *
9018
+ * The value can be:
9019
+ * - 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)
9020
+ * - a GObject.Value initialized with the expected type of the property
9021
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
9022
+ *
9023
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
9024
+ *
9025
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
9026
+ * @param property_name The name of the property to get
9027
+ * @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
9028
+ */
9029
+ get_property(property_name: string, value: GObject.Value | any): any;
8741
9030
  /**
8742
9031
  * This function gets back user data pointers stored via
8743
9032
  * g_object_set_qdata().
@@ -8865,7 +9154,12 @@ export namespace Meta {
8865
9154
  * @param data data to associate with that key
8866
9155
  */
8867
9156
  set_data(key: string, data?: any | null): void;
8868
- set_property(property_name: string, value: any): void;
9157
+ /**
9158
+ * Sets a property on an object.
9159
+ * @param property_name The name of the property to set
9160
+ * @param value The value to set the property to
9161
+ */
9162
+ set_property(property_name: string, value: GObject.Value | any): void;
8869
9163
  /**
8870
9164
  * Remove a specified datum from the object's data associations,
8871
9165
  * without invoking the association's destroy handler.
@@ -9015,11 +9309,31 @@ export namespace Meta {
9015
9309
  * @param pspec
9016
9310
  */
9017
9311
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
9312
+ /**
9313
+ * 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.
9314
+ * @param id Handler ID of the handler to be disconnected
9315
+ */
9018
9316
  disconnect(id: number): void;
9317
+ /**
9318
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
9319
+ * @param properties Object containing the properties to set
9320
+ */
9019
9321
  set(properties: { [key: string]: any }): void;
9020
- block_signal_handler(id: number): any;
9021
- unblock_signal_handler(id: number): any;
9022
- stop_emission_by_name(detailedName: string): any;
9322
+ /**
9323
+ * Blocks a handler of an instance so it will not be called during any signal emissions
9324
+ * @param id Handler ID of the handler to be blocked
9325
+ */
9326
+ block_signal_handler(id: number): void;
9327
+ /**
9328
+ * Unblocks a handler so it will be called again during any signal emissions
9329
+ * @param id Handler ID of the handler to be unblocked
9330
+ */
9331
+ unblock_signal_handler(id: number): void;
9332
+ /**
9333
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
9334
+ * @param detailedName Name of the signal to stop emission of
9335
+ */
9336
+ stop_emission_by_name(detailedName: string): void;
9023
9337
  }
9024
9338
 
9025
9339
  namespace WindowActor {
@@ -9551,7 +9865,21 @@ export namespace Meta {
9551
9865
  * @returns the data if found, or %NULL if no such data exists.
9552
9866
  */
9553
9867
  get_data(key: string): any | null;
9554
- get_property(property_name: string): any;
9868
+ /**
9869
+ * Gets a property of an object.
9870
+ *
9871
+ * The value can be:
9872
+ * - 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)
9873
+ * - a GObject.Value initialized with the expected type of the property
9874
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
9875
+ *
9876
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
9877
+ *
9878
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
9879
+ * @param property_name The name of the property to get
9880
+ * @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
9881
+ */
9882
+ get_property(property_name: string, value: GObject.Value | any): any;
9555
9883
  /**
9556
9884
  * This function gets back user data pointers stored via
9557
9885
  * g_object_set_qdata().
@@ -9679,7 +10007,12 @@ export namespace Meta {
9679
10007
  * @param data data to associate with that key
9680
10008
  */
9681
10009
  set_data(key: string, data?: any | null): void;
9682
- set_property(property_name: string, value: any): void;
10010
+ /**
10011
+ * Sets a property on an object.
10012
+ * @param property_name The name of the property to set
10013
+ * @param value The value to set the property to
10014
+ */
10015
+ set_property(property_name: string, value: GObject.Value | any): void;
9683
10016
  /**
9684
10017
  * Remove a specified datum from the object's data associations,
9685
10018
  * without invoking the association's destroy handler.
@@ -9829,11 +10162,31 @@ export namespace Meta {
9829
10162
  * @param pspec
9830
10163
  */
9831
10164
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
10165
+ /**
10166
+ * 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.
10167
+ * @param id Handler ID of the handler to be disconnected
10168
+ */
9832
10169
  disconnect(id: number): void;
10170
+ /**
10171
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
10172
+ * @param properties Object containing the properties to set
10173
+ */
9833
10174
  set(properties: { [key: string]: any }): void;
9834
- block_signal_handler(id: number): any;
9835
- unblock_signal_handler(id: number): any;
9836
- stop_emission_by_name(detailedName: string): any;
10175
+ /**
10176
+ * Blocks a handler of an instance so it will not be called during any signal emissions
10177
+ * @param id Handler ID of the handler to be blocked
10178
+ */
10179
+ block_signal_handler(id: number): void;
10180
+ /**
10181
+ * Unblocks a handler so it will be called again during any signal emissions
10182
+ * @param id Handler ID of the handler to be unblocked
10183
+ */
10184
+ unblock_signal_handler(id: number): void;
10185
+ /**
10186
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
10187
+ * @param detailedName Name of the signal to stop emission of
10188
+ */
10189
+ stop_emission_by_name(detailedName: string): void;
9837
10190
  }
9838
10191
 
9839
10192
  namespace WindowGroup {
@@ -10281,7 +10634,21 @@ export namespace Meta {
10281
10634
  * @returns the data if found, or %NULL if no such data exists.
10282
10635
  */
10283
10636
  get_data(key: string): any | null;
10284
- get_property(property_name: string): any;
10637
+ /**
10638
+ * Gets a property of an object.
10639
+ *
10640
+ * The value can be:
10641
+ * - 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)
10642
+ * - a GObject.Value initialized with the expected type of the property
10643
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
10644
+ *
10645
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
10646
+ *
10647
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
10648
+ * @param property_name The name of the property to get
10649
+ * @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
10650
+ */
10651
+ get_property(property_name: string, value: GObject.Value | any): any;
10285
10652
  /**
10286
10653
  * This function gets back user data pointers stored via
10287
10654
  * g_object_set_qdata().
@@ -10409,7 +10776,12 @@ export namespace Meta {
10409
10776
  * @param data data to associate with that key
10410
10777
  */
10411
10778
  set_data(key: string, data?: any | null): void;
10412
- set_property(property_name: string, value: any): void;
10779
+ /**
10780
+ * Sets a property on an object.
10781
+ * @param property_name The name of the property to set
10782
+ * @param value The value to set the property to
10783
+ */
10784
+ set_property(property_name: string, value: GObject.Value | any): void;
10413
10785
  /**
10414
10786
  * Remove a specified datum from the object's data associations,
10415
10787
  * without invoking the association's destroy handler.
@@ -10559,11 +10931,31 @@ export namespace Meta {
10559
10931
  * @param pspec
10560
10932
  */
10561
10933
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
10934
+ /**
10935
+ * 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.
10936
+ * @param id Handler ID of the handler to be disconnected
10937
+ */
10562
10938
  disconnect(id: number): void;
10939
+ /**
10940
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
10941
+ * @param properties Object containing the properties to set
10942
+ */
10563
10943
  set(properties: { [key: string]: any }): void;
10564
- block_signal_handler(id: number): any;
10565
- unblock_signal_handler(id: number): any;
10566
- stop_emission_by_name(detailedName: string): any;
10944
+ /**
10945
+ * Blocks a handler of an instance so it will not be called during any signal emissions
10946
+ * @param id Handler ID of the handler to be blocked
10947
+ */
10948
+ block_signal_handler(id: number): void;
10949
+ /**
10950
+ * Unblocks a handler so it will be called again during any signal emissions
10951
+ * @param id Handler ID of the handler to be unblocked
10952
+ */
10953
+ unblock_signal_handler(id: number): void;
10954
+ /**
10955
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
10956
+ * @param detailedName Name of the signal to stop emission of
10957
+ */
10958
+ stop_emission_by_name(detailedName: string): void;
10567
10959
  }
10568
10960
 
10569
10961
  namespace Workspace {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/meta-12",
3
- "version": "12.0.0-4.0.0-beta.21",
3
+ "version": "12.0.0-4.0.0-beta.23",
4
4
  "description": "GJS TypeScript type definitions for Meta-12, generated from library version 12.0.0",
5
5
  "type": "module",
6
6
  "module": "meta-12.js",
@@ -31,26 +31,26 @@
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/clutter-12": "^12.0.0-4.0.0-beta.21",
37
- "@girs/cogl-12": "^12.0.0-4.0.0-beta.21",
38
- "@girs/coglpango-12": "^12.0.0-4.0.0-beta.21",
39
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.21",
40
- "@girs/gdesktopenums-3.0": "^3.0.0-4.0.0-beta.21",
41
- "@girs/gio-2.0": "^2.83.3-4.0.0-beta.21",
42
- "@girs/gjs": "^4.0.0-beta.21",
43
- "@girs/gl-1.0": "^1.0.0-4.0.0-beta.21",
44
- "@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
45
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.21",
46
- "@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21",
47
- "@girs/graphene-1.0": "^1.0.0-4.0.0-beta.21",
48
- "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.21",
49
- "@girs/json-1.0": "^1.10.7-4.0.0-beta.21",
50
- "@girs/pango-1.0": "^1.56.0-4.0.0-beta.21",
51
- "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.21",
52
- "@girs/xfixes-4.0": "^4.0.0-4.0.0-beta.21",
53
- "@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/clutter-12": "^12.0.0-4.0.0-beta.23",
37
+ "@girs/cogl-12": "^12.0.0-4.0.0-beta.23",
38
+ "@girs/coglpango-12": "^12.0.0-4.0.0-beta.23",
39
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.23",
40
+ "@girs/gdesktopenums-3.0": "^3.0.0-4.0.0-beta.23",
41
+ "@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
42
+ "@girs/gjs": "^4.0.0-beta.23",
43
+ "@girs/gl-1.0": "^1.0.0-4.0.0-beta.23",
44
+ "@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
45
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
46
+ "@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23",
47
+ "@girs/graphene-1.0": "^1.0.0-4.0.0-beta.23",
48
+ "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.23",
49
+ "@girs/json-1.0": "^1.10.7-4.0.0-beta.23",
50
+ "@girs/pango-1.0": "^1.56.4-4.0.0-beta.23",
51
+ "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.23",
52
+ "@girs/xfixes-4.0": "^4.0.0-4.0.0-beta.23",
53
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.23"
54
54
  },
55
55
  "devDependencies": {
56
56
  "typescript": "*"