@girs/meta-13 13.0.0-4.0.0-beta.21 → 13.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-13.d.ts +449 -57
  3. package/package.json +22 -22
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/meta-13)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Meta-13, generated from library version 13.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-13, generated from library version 13.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-13.d.ts CHANGED
@@ -7,11 +7,13 @@
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';
13
15
  import type Mtk from '@girs/mtk-13';
14
- import type cairo from '@girs/cairo-1.0';
16
+ import type cairo from 'cairo';
15
17
  import type GObject from '@girs/gobject-2.0';
16
18
  import type GLib from '@girs/glib-2.0';
17
19
  import type Graphene from '@girs/graphene-1.0';
@@ -2027,7 +2029,7 @@ export namespace Meta {
2027
2029
  * If the object is not initialized, or initialization returns with an
2028
2030
  * error, then all operations on the object except g_object_ref() and
2029
2031
  * g_object_unref() are considered to be invalid, and have undefined
2030
- * behaviour. See the [introduction][ginitable] for more details.
2032
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
2031
2033
  *
2032
2034
  * Callers should not assume that a class which implements #GInitable can be
2033
2035
  * initialized multiple times, unless the class explicitly documents itself as
@@ -2070,7 +2072,7 @@ export namespace Meta {
2070
2072
  * If the object is not initialized, or initialization returns with an
2071
2073
  * error, then all operations on the object except g_object_ref() and
2072
2074
  * g_object_unref() are considered to be invalid, and have undefined
2073
- * behaviour. See the [introduction][ginitable] for more details.
2075
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
2074
2076
  *
2075
2077
  * Callers should not assume that a class which implements #GInitable can be
2076
2078
  * initialized multiple times, unless the class explicitly documents itself as
@@ -2210,7 +2212,21 @@ export namespace Meta {
2210
2212
  * @returns the data if found, or %NULL if no such data exists.
2211
2213
  */
2212
2214
  get_data(key: string): any | null;
2213
- get_property(property_name: string): any;
2215
+ /**
2216
+ * Gets a property of an object.
2217
+ *
2218
+ * The value can be:
2219
+ * - 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)
2220
+ * - a GObject.Value initialized with the expected type of the property
2221
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
2222
+ *
2223
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
2224
+ *
2225
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
2226
+ * @param property_name The name of the property to get
2227
+ * @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
2228
+ */
2229
+ get_property(property_name: string, value: GObject.Value | any): any;
2214
2230
  /**
2215
2231
  * This function gets back user data pointers stored via
2216
2232
  * g_object_set_qdata().
@@ -2338,7 +2354,12 @@ export namespace Meta {
2338
2354
  * @param data data to associate with that key
2339
2355
  */
2340
2356
  set_data(key: string, data?: any | null): void;
2341
- set_property(property_name: string, value: any): void;
2357
+ /**
2358
+ * Sets a property on an object.
2359
+ * @param property_name The name of the property to set
2360
+ * @param value The value to set the property to
2361
+ */
2362
+ set_property(property_name: string, value: GObject.Value | any): void;
2342
2363
  /**
2343
2364
  * Remove a specified datum from the object's data associations,
2344
2365
  * without invoking the association's destroy handler.
@@ -2488,11 +2509,31 @@ export namespace Meta {
2488
2509
  * @param pspec
2489
2510
  */
2490
2511
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2512
+ /**
2513
+ * 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.
2514
+ * @param id Handler ID of the handler to be disconnected
2515
+ */
2491
2516
  disconnect(id: number): void;
2517
+ /**
2518
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
2519
+ * @param properties Object containing the properties to set
2520
+ */
2492
2521
  set(properties: { [key: string]: any }): void;
2493
- block_signal_handler(id: number): any;
2494
- unblock_signal_handler(id: number): any;
2495
- stop_emission_by_name(detailedName: string): any;
2522
+ /**
2523
+ * Blocks a handler of an instance so it will not be called during any signal emissions
2524
+ * @param id Handler ID of the handler to be blocked
2525
+ */
2526
+ block_signal_handler(id: number): void;
2527
+ /**
2528
+ * Unblocks a handler so it will be called again during any signal emissions
2529
+ * @param id Handler ID of the handler to be unblocked
2530
+ */
2531
+ unblock_signal_handler(id: number): void;
2532
+ /**
2533
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
2534
+ * @param detailedName Name of the signal to stop emission of
2535
+ */
2536
+ stop_emission_by_name(detailedName: string): void;
2496
2537
  }
2497
2538
 
2498
2539
  namespace Background {
@@ -3033,7 +3074,21 @@ export namespace Meta {
3033
3074
  * @returns the data if found, or %NULL if no such data exists.
3034
3075
  */
3035
3076
  get_data(key: string): any | null;
3036
- get_property(property_name: string): any;
3077
+ /**
3078
+ * Gets a property of an object.
3079
+ *
3080
+ * The value can be:
3081
+ * - 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)
3082
+ * - a GObject.Value initialized with the expected type of the property
3083
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
3084
+ *
3085
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
3086
+ *
3087
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
3088
+ * @param property_name The name of the property to get
3089
+ * @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
3090
+ */
3091
+ get_property(property_name: string, value: GObject.Value | any): any;
3037
3092
  /**
3038
3093
  * This function gets back user data pointers stored via
3039
3094
  * g_object_set_qdata().
@@ -3161,7 +3216,12 @@ export namespace Meta {
3161
3216
  * @param data data to associate with that key
3162
3217
  */
3163
3218
  set_data(key: string, data?: any | null): void;
3164
- set_property(property_name: string, value: any): void;
3219
+ /**
3220
+ * Sets a property on an object.
3221
+ * @param property_name The name of the property to set
3222
+ * @param value The value to set the property to
3223
+ */
3224
+ set_property(property_name: string, value: GObject.Value | any): void;
3165
3225
  /**
3166
3226
  * Remove a specified datum from the object's data associations,
3167
3227
  * without invoking the association's destroy handler.
@@ -3311,11 +3371,31 @@ export namespace Meta {
3311
3371
  * @param pspec
3312
3372
  */
3313
3373
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3374
+ /**
3375
+ * 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.
3376
+ * @param id Handler ID of the handler to be disconnected
3377
+ */
3314
3378
  disconnect(id: number): void;
3379
+ /**
3380
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
3381
+ * @param properties Object containing the properties to set
3382
+ */
3315
3383
  set(properties: { [key: string]: any }): void;
3316
- block_signal_handler(id: number): any;
3317
- unblock_signal_handler(id: number): any;
3318
- stop_emission_by_name(detailedName: string): any;
3384
+ /**
3385
+ * Blocks a handler of an instance so it will not be called during any signal emissions
3386
+ * @param id Handler ID of the handler to be blocked
3387
+ */
3388
+ block_signal_handler(id: number): void;
3389
+ /**
3390
+ * Unblocks a handler so it will be called again during any signal emissions
3391
+ * @param id Handler ID of the handler to be unblocked
3392
+ */
3393
+ unblock_signal_handler(id: number): void;
3394
+ /**
3395
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
3396
+ * @param detailedName Name of the signal to stop emission of
3397
+ */
3398
+ stop_emission_by_name(detailedName: string): void;
3319
3399
  }
3320
3400
 
3321
3401
  namespace BackgroundContent {
@@ -3623,7 +3703,21 @@ export namespace Meta {
3623
3703
  * @returns the data if found, or %NULL if no such data exists.
3624
3704
  */
3625
3705
  get_data(key: string): any | null;
3626
- get_property(property_name: string): any;
3706
+ /**
3707
+ * Gets a property of an object.
3708
+ *
3709
+ * The value can be:
3710
+ * - 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)
3711
+ * - a GObject.Value initialized with the expected type of the property
3712
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
3713
+ *
3714
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
3715
+ *
3716
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
3717
+ * @param property_name The name of the property to get
3718
+ * @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
3719
+ */
3720
+ get_property(property_name: string, value: GObject.Value | any): any;
3627
3721
  /**
3628
3722
  * This function gets back user data pointers stored via
3629
3723
  * g_object_set_qdata().
@@ -3751,7 +3845,12 @@ export namespace Meta {
3751
3845
  * @param data data to associate with that key
3752
3846
  */
3753
3847
  set_data(key: string, data?: any | null): void;
3754
- set_property(property_name: string, value: any): void;
3848
+ /**
3849
+ * Sets a property on an object.
3850
+ * @param property_name The name of the property to set
3851
+ * @param value The value to set the property to
3852
+ */
3853
+ set_property(property_name: string, value: GObject.Value | any): void;
3755
3854
  /**
3756
3855
  * Remove a specified datum from the object's data associations,
3757
3856
  * without invoking the association's destroy handler.
@@ -3901,11 +4000,31 @@ export namespace Meta {
3901
4000
  * @param pspec
3902
4001
  */
3903
4002
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4003
+ /**
4004
+ * 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.
4005
+ * @param id Handler ID of the handler to be disconnected
4006
+ */
3904
4007
  disconnect(id: number): void;
4008
+ /**
4009
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
4010
+ * @param properties Object containing the properties to set
4011
+ */
3905
4012
  set(properties: { [key: string]: any }): void;
3906
- block_signal_handler(id: number): any;
3907
- unblock_signal_handler(id: number): any;
3908
- stop_emission_by_name(detailedName: string): any;
4013
+ /**
4014
+ * Blocks a handler of an instance so it will not be called during any signal emissions
4015
+ * @param id Handler ID of the handler to be blocked
4016
+ */
4017
+ block_signal_handler(id: number): void;
4018
+ /**
4019
+ * Unblocks a handler so it will be called again during any signal emissions
4020
+ * @param id Handler ID of the handler to be unblocked
4021
+ */
4022
+ unblock_signal_handler(id: number): void;
4023
+ /**
4024
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
4025
+ * @param detailedName Name of the signal to stop emission of
4026
+ */
4027
+ stop_emission_by_name(detailedName: string): void;
3909
4028
  }
3910
4029
 
3911
4030
  namespace BackgroundGroup {
@@ -4366,7 +4485,21 @@ export namespace Meta {
4366
4485
  * @returns the data if found, or %NULL if no such data exists.
4367
4486
  */
4368
4487
  get_data(key: string): any | null;
4369
- get_property(property_name: string): any;
4488
+ /**
4489
+ * Gets a property of an object.
4490
+ *
4491
+ * The value can be:
4492
+ * - 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)
4493
+ * - a GObject.Value initialized with the expected type of the property
4494
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
4495
+ *
4496
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
4497
+ *
4498
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
4499
+ * @param property_name The name of the property to get
4500
+ * @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
4501
+ */
4502
+ get_property(property_name: string, value: GObject.Value | any): any;
4370
4503
  /**
4371
4504
  * This function gets back user data pointers stored via
4372
4505
  * g_object_set_qdata().
@@ -4494,7 +4627,12 @@ export namespace Meta {
4494
4627
  * @param data data to associate with that key
4495
4628
  */
4496
4629
  set_data(key: string, data?: any | null): void;
4497
- set_property(property_name: string, value: any): void;
4630
+ /**
4631
+ * Sets a property on an object.
4632
+ * @param property_name The name of the property to set
4633
+ * @param value The value to set the property to
4634
+ */
4635
+ set_property(property_name: string, value: GObject.Value | any): void;
4498
4636
  /**
4499
4637
  * Remove a specified datum from the object's data associations,
4500
4638
  * without invoking the association's destroy handler.
@@ -4644,11 +4782,31 @@ export namespace Meta {
4644
4782
  * @param pspec
4645
4783
  */
4646
4784
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4785
+ /**
4786
+ * 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.
4787
+ * @param id Handler ID of the handler to be disconnected
4788
+ */
4647
4789
  disconnect(id: number): void;
4790
+ /**
4791
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
4792
+ * @param properties Object containing the properties to set
4793
+ */
4648
4794
  set(properties: { [key: string]: any }): void;
4649
- block_signal_handler(id: number): any;
4650
- unblock_signal_handler(id: number): any;
4651
- stop_emission_by_name(detailedName: string): any;
4795
+ /**
4796
+ * Blocks a handler of an instance so it will not be called during any signal emissions
4797
+ * @param id Handler ID of the handler to be blocked
4798
+ */
4799
+ block_signal_handler(id: number): void;
4800
+ /**
4801
+ * Unblocks a handler so it will be called again during any signal emissions
4802
+ * @param id Handler ID of the handler to be unblocked
4803
+ */
4804
+ unblock_signal_handler(id: number): void;
4805
+ /**
4806
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
4807
+ * @param detailedName Name of the signal to stop emission of
4808
+ */
4809
+ stop_emission_by_name(detailedName: string): void;
4652
4810
  }
4653
4811
 
4654
4812
  namespace BackgroundImage {
@@ -4848,7 +5006,7 @@ export namespace Meta {
4848
5006
  * If the object is not initialized, or initialization returns with an
4849
5007
  * error, then all operations on the object except g_object_ref() and
4850
5008
  * g_object_unref() are considered to be invalid, and have undefined
4851
- * behaviour. See the [introduction][ginitable] for more details.
5009
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
4852
5010
  *
4853
5011
  * Callers should not assume that a class which implements #GInitable can be
4854
5012
  * initialized multiple times, unless the class explicitly documents itself as
@@ -4891,7 +5049,7 @@ export namespace Meta {
4891
5049
  * If the object is not initialized, or initialization returns with an
4892
5050
  * error, then all operations on the object except g_object_ref() and
4893
5051
  * g_object_unref() are considered to be invalid, and have undefined
4894
- * behaviour. See the [introduction][ginitable] for more details.
5052
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
4895
5053
  *
4896
5054
  * Callers should not assume that a class which implements #GInitable can be
4897
5055
  * initialized multiple times, unless the class explicitly documents itself as
@@ -5031,7 +5189,21 @@ export namespace Meta {
5031
5189
  * @returns the data if found, or %NULL if no such data exists.
5032
5190
  */
5033
5191
  get_data(key: string): any | null;
5034
- get_property(property_name: string): any;
5192
+ /**
5193
+ * Gets a property of an object.
5194
+ *
5195
+ * The value can be:
5196
+ * - 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)
5197
+ * - a GObject.Value initialized with the expected type of the property
5198
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
5199
+ *
5200
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
5201
+ *
5202
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
5203
+ * @param property_name The name of the property to get
5204
+ * @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
5205
+ */
5206
+ get_property(property_name: string, value: GObject.Value | any): any;
5035
5207
  /**
5036
5208
  * This function gets back user data pointers stored via
5037
5209
  * g_object_set_qdata().
@@ -5159,7 +5331,12 @@ export namespace Meta {
5159
5331
  * @param data data to associate with that key
5160
5332
  */
5161
5333
  set_data(key: string, data?: any | null): void;
5162
- set_property(property_name: string, value: any): void;
5334
+ /**
5335
+ * Sets a property on an object.
5336
+ * @param property_name The name of the property to set
5337
+ * @param value The value to set the property to
5338
+ */
5339
+ set_property(property_name: string, value: GObject.Value | any): void;
5163
5340
  /**
5164
5341
  * Remove a specified datum from the object's data associations,
5165
5342
  * without invoking the association's destroy handler.
@@ -5309,11 +5486,31 @@ export namespace Meta {
5309
5486
  * @param pspec
5310
5487
  */
5311
5488
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
5489
+ /**
5490
+ * 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.
5491
+ * @param id Handler ID of the handler to be disconnected
5492
+ */
5312
5493
  disconnect(id: number): void;
5494
+ /**
5495
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
5496
+ * @param properties Object containing the properties to set
5497
+ */
5313
5498
  set(properties: { [key: string]: any }): void;
5314
- block_signal_handler(id: number): any;
5315
- unblock_signal_handler(id: number): any;
5316
- stop_emission_by_name(detailedName: string): any;
5499
+ /**
5500
+ * Blocks a handler of an instance so it will not be called during any signal emissions
5501
+ * @param id Handler ID of the handler to be blocked
5502
+ */
5503
+ block_signal_handler(id: number): void;
5504
+ /**
5505
+ * Unblocks a handler so it will be called again during any signal emissions
5506
+ * @param id Handler ID of the handler to be unblocked
5507
+ */
5508
+ unblock_signal_handler(id: number): void;
5509
+ /**
5510
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
5511
+ * @param detailedName Name of the signal to stop emission of
5512
+ */
5513
+ stop_emission_by_name(detailedName: string): void;
5317
5514
  }
5318
5515
 
5319
5516
  namespace Compositor {
@@ -7173,7 +7370,21 @@ export namespace Meta {
7173
7370
  * @returns the data if found, or %NULL if no such data exists.
7174
7371
  */
7175
7372
  get_data(key: string): any | null;
7176
- get_property(property_name: string): any;
7373
+ /**
7374
+ * Gets a property of an object.
7375
+ *
7376
+ * The value can be:
7377
+ * - 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)
7378
+ * - a GObject.Value initialized with the expected type of the property
7379
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
7380
+ *
7381
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
7382
+ *
7383
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
7384
+ * @param property_name The name of the property to get
7385
+ * @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
7386
+ */
7387
+ get_property(property_name: string, value: GObject.Value | any): any;
7177
7388
  /**
7178
7389
  * This function gets back user data pointers stored via
7179
7390
  * g_object_set_qdata().
@@ -7301,7 +7512,12 @@ export namespace Meta {
7301
7512
  * @param data data to associate with that key
7302
7513
  */
7303
7514
  set_data(key: string, data?: any | null): void;
7304
- set_property(property_name: string, value: any): void;
7515
+ /**
7516
+ * Sets a property on an object.
7517
+ * @param property_name The name of the property to set
7518
+ * @param value The value to set the property to
7519
+ */
7520
+ set_property(property_name: string, value: GObject.Value | any): void;
7305
7521
  /**
7306
7522
  * Remove a specified datum from the object's data associations,
7307
7523
  * without invoking the association's destroy handler.
@@ -7451,11 +7667,31 @@ export namespace Meta {
7451
7667
  * @param pspec
7452
7668
  */
7453
7669
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
7670
+ /**
7671
+ * 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.
7672
+ * @param id Handler ID of the handler to be disconnected
7673
+ */
7454
7674
  disconnect(id: number): void;
7675
+ /**
7676
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
7677
+ * @param properties Object containing the properties to set
7678
+ */
7455
7679
  set(properties: { [key: string]: any }): void;
7456
- block_signal_handler(id: number): any;
7457
- unblock_signal_handler(id: number): any;
7458
- stop_emission_by_name(detailedName: string): any;
7680
+ /**
7681
+ * Blocks a handler of an instance so it will not be called during any signal emissions
7682
+ * @param id Handler ID of the handler to be blocked
7683
+ */
7684
+ block_signal_handler(id: number): void;
7685
+ /**
7686
+ * Unblocks a handler so it will be called again during any signal emissions
7687
+ * @param id Handler ID of the handler to be unblocked
7688
+ */
7689
+ unblock_signal_handler(id: number): void;
7690
+ /**
7691
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
7692
+ * @param detailedName Name of the signal to stop emission of
7693
+ */
7694
+ stop_emission_by_name(detailedName: string): void;
7459
7695
  }
7460
7696
 
7461
7697
  namespace SoundPlayer {
@@ -7792,7 +8028,21 @@ export namespace Meta {
7792
8028
  * @returns the data if found, or %NULL if no such data exists.
7793
8029
  */
7794
8030
  get_data(key: string): any | null;
7795
- get_property(property_name: string): any;
8031
+ /**
8032
+ * Gets a property of an object.
8033
+ *
8034
+ * The value can be:
8035
+ * - 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)
8036
+ * - a GObject.Value initialized with the expected type of the property
8037
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
8038
+ *
8039
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
8040
+ *
8041
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
8042
+ * @param property_name The name of the property to get
8043
+ * @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
8044
+ */
8045
+ get_property(property_name: string, value: GObject.Value | any): any;
7796
8046
  /**
7797
8047
  * This function gets back user data pointers stored via
7798
8048
  * g_object_set_qdata().
@@ -7920,7 +8170,12 @@ export namespace Meta {
7920
8170
  * @param data data to associate with that key
7921
8171
  */
7922
8172
  set_data(key: string, data?: any | null): void;
7923
- set_property(property_name: string, value: any): void;
8173
+ /**
8174
+ * Sets a property on an object.
8175
+ * @param property_name The name of the property to set
8176
+ * @param value The value to set the property to
8177
+ */
8178
+ set_property(property_name: string, value: GObject.Value | any): void;
7924
8179
  /**
7925
8180
  * Remove a specified datum from the object's data associations,
7926
8181
  * without invoking the association's destroy handler.
@@ -8070,11 +8325,31 @@ export namespace Meta {
8070
8325
  * @param pspec
8071
8326
  */
8072
8327
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
8328
+ /**
8329
+ * 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.
8330
+ * @param id Handler ID of the handler to be disconnected
8331
+ */
8073
8332
  disconnect(id: number): void;
8333
+ /**
8334
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
8335
+ * @param properties Object containing the properties to set
8336
+ */
8074
8337
  set(properties: { [key: string]: any }): void;
8075
- block_signal_handler(id: number): any;
8076
- unblock_signal_handler(id: number): any;
8077
- stop_emission_by_name(detailedName: string): any;
8338
+ /**
8339
+ * Blocks a handler of an instance so it will not be called during any signal emissions
8340
+ * @param id Handler ID of the handler to be blocked
8341
+ */
8342
+ block_signal_handler(id: number): void;
8343
+ /**
8344
+ * Unblocks a handler so it will be called again during any signal emissions
8345
+ * @param id Handler ID of the handler to be unblocked
8346
+ */
8347
+ unblock_signal_handler(id: number): void;
8348
+ /**
8349
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
8350
+ * @param detailedName Name of the signal to stop emission of
8351
+ */
8352
+ stop_emission_by_name(detailedName: string): void;
8078
8353
  }
8079
8354
 
8080
8355
  namespace StartupNotification {
@@ -8895,7 +9170,7 @@ export namespace Meta {
8895
9170
  * If the object is not initialized, or initialization returns with an
8896
9171
  * error, then all operations on the object except g_object_ref() and
8897
9172
  * g_object_unref() are considered to be invalid, and have undefined
8898
- * behaviour. See the [introduction][ginitable] for more details.
9173
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
8899
9174
  *
8900
9175
  * Callers should not assume that a class which implements #GInitable can be
8901
9176
  * initialized multiple times, unless the class explicitly documents itself as
@@ -8938,7 +9213,7 @@ export namespace Meta {
8938
9213
  * If the object is not initialized, or initialization returns with an
8939
9214
  * error, then all operations on the object except g_object_ref() and
8940
9215
  * g_object_unref() are considered to be invalid, and have undefined
8941
- * behaviour. See the [introduction][ginitable] for more details.
9216
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
8942
9217
  *
8943
9218
  * Callers should not assume that a class which implements #GInitable can be
8944
9219
  * initialized multiple times, unless the class explicitly documents itself as
@@ -9078,7 +9353,21 @@ export namespace Meta {
9078
9353
  * @returns the data if found, or %NULL if no such data exists.
9079
9354
  */
9080
9355
  get_data(key: string): any | null;
9081
- get_property(property_name: string): any;
9356
+ /**
9357
+ * Gets a property of an object.
9358
+ *
9359
+ * The value can be:
9360
+ * - 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)
9361
+ * - a GObject.Value initialized with the expected type of the property
9362
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
9363
+ *
9364
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
9365
+ *
9366
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
9367
+ * @param property_name The name of the property to get
9368
+ * @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
9369
+ */
9370
+ get_property(property_name: string, value: GObject.Value | any): any;
9082
9371
  /**
9083
9372
  * This function gets back user data pointers stored via
9084
9373
  * g_object_set_qdata().
@@ -9206,7 +9495,12 @@ export namespace Meta {
9206
9495
  * @param data data to associate with that key
9207
9496
  */
9208
9497
  set_data(key: string, data?: any | null): void;
9209
- set_property(property_name: string, value: any): void;
9498
+ /**
9499
+ * Sets a property on an object.
9500
+ * @param property_name The name of the property to set
9501
+ * @param value The value to set the property to
9502
+ */
9503
+ set_property(property_name: string, value: GObject.Value | any): void;
9210
9504
  /**
9211
9505
  * Remove a specified datum from the object's data associations,
9212
9506
  * without invoking the association's destroy handler.
@@ -9356,11 +9650,31 @@ export namespace Meta {
9356
9650
  * @param pspec
9357
9651
  */
9358
9652
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
9653
+ /**
9654
+ * 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.
9655
+ * @param id Handler ID of the handler to be disconnected
9656
+ */
9359
9657
  disconnect(id: number): void;
9658
+ /**
9659
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
9660
+ * @param properties Object containing the properties to set
9661
+ */
9360
9662
  set(properties: { [key: string]: any }): void;
9361
- block_signal_handler(id: number): any;
9362
- unblock_signal_handler(id: number): any;
9363
- stop_emission_by_name(detailedName: string): any;
9663
+ /**
9664
+ * Blocks a handler of an instance so it will not be called during any signal emissions
9665
+ * @param id Handler ID of the handler to be blocked
9666
+ */
9667
+ block_signal_handler(id: number): void;
9668
+ /**
9669
+ * Unblocks a handler so it will be called again during any signal emissions
9670
+ * @param id Handler ID of the handler to be unblocked
9671
+ */
9672
+ unblock_signal_handler(id: number): void;
9673
+ /**
9674
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
9675
+ * @param detailedName Name of the signal to stop emission of
9676
+ */
9677
+ stop_emission_by_name(detailedName: string): void;
9364
9678
  }
9365
9679
 
9366
9680
  namespace WindowActor {
@@ -9907,7 +10221,21 @@ export namespace Meta {
9907
10221
  * @returns the data if found, or %NULL if no such data exists.
9908
10222
  */
9909
10223
  get_data(key: string): any | null;
9910
- get_property(property_name: string): any;
10224
+ /**
10225
+ * Gets a property of an object.
10226
+ *
10227
+ * The value can be:
10228
+ * - 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)
10229
+ * - a GObject.Value initialized with the expected type of the property
10230
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
10231
+ *
10232
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
10233
+ *
10234
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
10235
+ * @param property_name The name of the property to get
10236
+ * @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
10237
+ */
10238
+ get_property(property_name: string, value: GObject.Value | any): any;
9911
10239
  /**
9912
10240
  * This function gets back user data pointers stored via
9913
10241
  * g_object_set_qdata().
@@ -10035,7 +10363,12 @@ export namespace Meta {
10035
10363
  * @param data data to associate with that key
10036
10364
  */
10037
10365
  set_data(key: string, data?: any | null): void;
10038
- set_property(property_name: string, value: any): void;
10366
+ /**
10367
+ * Sets a property on an object.
10368
+ * @param property_name The name of the property to set
10369
+ * @param value The value to set the property to
10370
+ */
10371
+ set_property(property_name: string, value: GObject.Value | any): void;
10039
10372
  /**
10040
10373
  * Remove a specified datum from the object's data associations,
10041
10374
  * without invoking the association's destroy handler.
@@ -10185,11 +10518,31 @@ export namespace Meta {
10185
10518
  * @param pspec
10186
10519
  */
10187
10520
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
10521
+ /**
10522
+ * 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.
10523
+ * @param id Handler ID of the handler to be disconnected
10524
+ */
10188
10525
  disconnect(id: number): void;
10526
+ /**
10527
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
10528
+ * @param properties Object containing the properties to set
10529
+ */
10189
10530
  set(properties: { [key: string]: any }): void;
10190
- block_signal_handler(id: number): any;
10191
- unblock_signal_handler(id: number): any;
10192
- stop_emission_by_name(detailedName: string): any;
10531
+ /**
10532
+ * Blocks a handler of an instance so it will not be called during any signal emissions
10533
+ * @param id Handler ID of the handler to be blocked
10534
+ */
10535
+ block_signal_handler(id: number): void;
10536
+ /**
10537
+ * Unblocks a handler so it will be called again during any signal emissions
10538
+ * @param id Handler ID of the handler to be unblocked
10539
+ */
10540
+ unblock_signal_handler(id: number): void;
10541
+ /**
10542
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
10543
+ * @param detailedName Name of the signal to stop emission of
10544
+ */
10545
+ stop_emission_by_name(detailedName: string): void;
10193
10546
  }
10194
10547
 
10195
10548
  namespace WindowGroup {
@@ -10637,7 +10990,21 @@ export namespace Meta {
10637
10990
  * @returns the data if found, or %NULL if no such data exists.
10638
10991
  */
10639
10992
  get_data(key: string): any | null;
10640
- get_property(property_name: string): any;
10993
+ /**
10994
+ * Gets a property of an object.
10995
+ *
10996
+ * The value can be:
10997
+ * - 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)
10998
+ * - a GObject.Value initialized with the expected type of the property
10999
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
11000
+ *
11001
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
11002
+ *
11003
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
11004
+ * @param property_name The name of the property to get
11005
+ * @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
11006
+ */
11007
+ get_property(property_name: string, value: GObject.Value | any): any;
10641
11008
  /**
10642
11009
  * This function gets back user data pointers stored via
10643
11010
  * g_object_set_qdata().
@@ -10765,7 +11132,12 @@ export namespace Meta {
10765
11132
  * @param data data to associate with that key
10766
11133
  */
10767
11134
  set_data(key: string, data?: any | null): void;
10768
- set_property(property_name: string, value: any): void;
11135
+ /**
11136
+ * Sets a property on an object.
11137
+ * @param property_name The name of the property to set
11138
+ * @param value The value to set the property to
11139
+ */
11140
+ set_property(property_name: string, value: GObject.Value | any): void;
10769
11141
  /**
10770
11142
  * Remove a specified datum from the object's data associations,
10771
11143
  * without invoking the association's destroy handler.
@@ -10915,11 +11287,31 @@ export namespace Meta {
10915
11287
  * @param pspec
10916
11288
  */
10917
11289
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
11290
+ /**
11291
+ * 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.
11292
+ * @param id Handler ID of the handler to be disconnected
11293
+ */
10918
11294
  disconnect(id: number): void;
11295
+ /**
11296
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
11297
+ * @param properties Object containing the properties to set
11298
+ */
10919
11299
  set(properties: { [key: string]: any }): void;
10920
- block_signal_handler(id: number): any;
10921
- unblock_signal_handler(id: number): any;
10922
- stop_emission_by_name(detailedName: string): any;
11300
+ /**
11301
+ * Blocks a handler of an instance so it will not be called during any signal emissions
11302
+ * @param id Handler ID of the handler to be blocked
11303
+ */
11304
+ block_signal_handler(id: number): void;
11305
+ /**
11306
+ * Unblocks a handler so it will be called again during any signal emissions
11307
+ * @param id Handler ID of the handler to be unblocked
11308
+ */
11309
+ unblock_signal_handler(id: number): void;
11310
+ /**
11311
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
11312
+ * @param detailedName Name of the signal to stop emission of
11313
+ */
11314
+ stop_emission_by_name(detailedName: string): void;
10923
11315
  }
10924
11316
 
10925
11317
  namespace Workspace {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/meta-13",
3
- "version": "13.0.0-4.0.0-beta.21",
3
+ "version": "13.0.0-4.0.0-beta.23",
4
4
  "description": "GJS TypeScript type definitions for Meta-13, generated from library version 13.0.0",
5
5
  "type": "module",
6
6
  "module": "meta-13.js",
@@ -31,27 +31,27 @@
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-13": "^13.0.0-4.0.0-beta.21",
37
- "@girs/cogl-13": "^13.0.0-4.0.0-beta.21",
38
- "@girs/coglpango-13": "^13.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/mtk-13": "^13.0.0-4.0.0-beta.21",
51
- "@girs/pango-1.0": "^1.56.0-4.0.0-beta.21",
52
- "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.21",
53
- "@girs/xfixes-4.0": "^4.0.0-4.0.0-beta.21",
54
- "@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-13": "^13.0.0-4.0.0-beta.23",
37
+ "@girs/cogl-13": "^13.0.0-4.0.0-beta.23",
38
+ "@girs/coglpango-13": "^13.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/mtk-13": "^13.0.0-4.0.0-beta.23",
51
+ "@girs/pango-1.0": "^1.56.4-4.0.0-beta.23",
52
+ "@girs/pangocairo-1.0": "^1.0.0-4.0.0-beta.23",
53
+ "@girs/xfixes-4.0": "^4.0.0-4.0.0-beta.23",
54
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.23"
55
55
  },
56
56
  "devDependencies": {
57
57
  "typescript": "*"