@girs/trackerminer-2.0 2.0.0-4.0.0-beta.21 → 2.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.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/trackerminer-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for TrackerMiner-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
8
+ GJS TypeScript type definitions for TrackerMiner-2.0, generated from library version 2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/trackerminer-2.0",
3
- "version": "2.0.0-4.0.0-beta.21",
3
+ "version": "2.0.0-4.0.0-beta.23",
4
4
  "description": "GJS TypeScript type definitions for TrackerMiner-2.0, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "trackerminer-2.0.js",
@@ -31,11 +31,11 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gio-2.0": "^2.83.3-4.0.0-beta.21",
35
- "@girs/gjs": "^4.0.0-beta.21",
36
- "@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
37
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.21",
38
- "@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21"
34
+ "@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
35
+ "@girs/gjs": "^4.0.0-beta.23",
36
+ "@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
37
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
38
+ "@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23"
39
39
  },
40
40
  "devDependencies": {
41
41
  "typescript": "*"
@@ -7,6 +7,8 @@
7
7
  * The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
8
8
  */
9
9
 
10
+ import '@girs/gjs';
11
+
10
12
  // Module dependencies
11
13
  import type Gio from '@girs/gio-2.0';
12
14
  import type GObject from '@girs/gobject-2.0';
@@ -493,7 +495,7 @@ export namespace TrackerMiner {
493
495
  * If the object is not initialized, or initialization returns with an
494
496
  * error, then all operations on the object except g_object_ref() and
495
497
  * g_object_unref() are considered to be invalid, and have undefined
496
- * behaviour. See the [introduction][ginitable] for more details.
498
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
497
499
  *
498
500
  * Callers should not assume that a class which implements #GInitable can be
499
501
  * initialized multiple times, unless the class explicitly documents itself as
@@ -536,7 +538,7 @@ export namespace TrackerMiner {
536
538
  * If the object is not initialized, or initialization returns with an
537
539
  * error, then all operations on the object except g_object_ref() and
538
540
  * g_object_unref() are considered to be invalid, and have undefined
539
- * behaviour. See the [introduction][ginitable] for more details.
541
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
540
542
  *
541
543
  * Callers should not assume that a class which implements #GInitable can be
542
544
  * initialized multiple times, unless the class explicitly documents itself as
@@ -676,7 +678,21 @@ export namespace TrackerMiner {
676
678
  * @returns the data if found, or %NULL if no such data exists.
677
679
  */
678
680
  get_data(key: string): any | null;
679
- get_property(property_name: string): any;
681
+ /**
682
+ * Gets a property of an object.
683
+ *
684
+ * The value can be:
685
+ * - 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)
686
+ * - a GObject.Value initialized with the expected type of the property
687
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
688
+ *
689
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
690
+ *
691
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
692
+ * @param property_name The name of the property to get
693
+ * @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
694
+ */
695
+ get_property(property_name: string, value: GObject.Value | any): any;
680
696
  /**
681
697
  * This function gets back user data pointers stored via
682
698
  * g_object_set_qdata().
@@ -804,7 +820,12 @@ export namespace TrackerMiner {
804
820
  * @param data data to associate with that key
805
821
  */
806
822
  set_data(key: string, data?: any | null): void;
807
- set_property(property_name: string, value: any): void;
823
+ /**
824
+ * Sets a property on an object.
825
+ * @param property_name The name of the property to set
826
+ * @param value The value to set the property to
827
+ */
828
+ set_property(property_name: string, value: GObject.Value | any): void;
808
829
  /**
809
830
  * Remove a specified datum from the object's data associations,
810
831
  * without invoking the association's destroy handler.
@@ -954,11 +975,31 @@ export namespace TrackerMiner {
954
975
  * @param pspec
955
976
  */
956
977
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
978
+ /**
979
+ * 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.
980
+ * @param id Handler ID of the handler to be disconnected
981
+ */
957
982
  disconnect(id: number): void;
983
+ /**
984
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
985
+ * @param properties Object containing the properties to set
986
+ */
958
987
  set(properties: { [key: string]: any }): void;
959
- block_signal_handler(id: number): any;
960
- unblock_signal_handler(id: number): any;
961
- stop_emission_by_name(detailedName: string): any;
988
+ /**
989
+ * Blocks a handler of an instance so it will not be called during any signal emissions
990
+ * @param id Handler ID of the handler to be blocked
991
+ */
992
+ block_signal_handler(id: number): void;
993
+ /**
994
+ * Unblocks a handler so it will be called again during any signal emissions
995
+ * @param id Handler ID of the handler to be unblocked
996
+ */
997
+ unblock_signal_handler(id: number): void;
998
+ /**
999
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
1000
+ * @param detailedName Name of the signal to stop emission of
1001
+ */
1002
+ stop_emission_by_name(detailedName: string): void;
962
1003
  }
963
1004
 
964
1005
  namespace DecoratorFS {
@@ -1110,7 +1151,21 @@ export namespace TrackerMiner {
1110
1151
  * @returns the data if found, or %NULL if no such data exists.
1111
1152
  */
1112
1153
  get_data(key: string): any | null;
1113
- get_property(property_name: string): any;
1154
+ /**
1155
+ * Gets a property of an object.
1156
+ *
1157
+ * The value can be:
1158
+ * - 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)
1159
+ * - a GObject.Value initialized with the expected type of the property
1160
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
1161
+ *
1162
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
1163
+ *
1164
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
1165
+ * @param property_name The name of the property to get
1166
+ * @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
1167
+ */
1168
+ get_property(property_name: string, value: GObject.Value | any): any;
1114
1169
  /**
1115
1170
  * This function gets back user data pointers stored via
1116
1171
  * g_object_set_qdata().
@@ -1238,7 +1293,12 @@ export namespace TrackerMiner {
1238
1293
  * @param data data to associate with that key
1239
1294
  */
1240
1295
  set_data(key: string, data?: any | null): void;
1241
- set_property(property_name: string, value: any): void;
1296
+ /**
1297
+ * Sets a property on an object.
1298
+ * @param property_name The name of the property to set
1299
+ * @param value The value to set the property to
1300
+ */
1301
+ set_property(property_name: string, value: GObject.Value | any): void;
1242
1302
  /**
1243
1303
  * Remove a specified datum from the object's data associations,
1244
1304
  * without invoking the association's destroy handler.
@@ -1388,11 +1448,31 @@ export namespace TrackerMiner {
1388
1448
  * @param pspec
1389
1449
  */
1390
1450
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1451
+ /**
1452
+ * 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.
1453
+ * @param id Handler ID of the handler to be disconnected
1454
+ */
1391
1455
  disconnect(id: number): void;
1456
+ /**
1457
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
1458
+ * @param properties Object containing the properties to set
1459
+ */
1392
1460
  set(properties: { [key: string]: any }): void;
1393
- block_signal_handler(id: number): any;
1394
- unblock_signal_handler(id: number): any;
1395
- stop_emission_by_name(detailedName: string): any;
1461
+ /**
1462
+ * Blocks a handler of an instance so it will not be called during any signal emissions
1463
+ * @param id Handler ID of the handler to be blocked
1464
+ */
1465
+ block_signal_handler(id: number): void;
1466
+ /**
1467
+ * Unblocks a handler so it will be called again during any signal emissions
1468
+ * @param id Handler ID of the handler to be unblocked
1469
+ */
1470
+ unblock_signal_handler(id: number): void;
1471
+ /**
1472
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
1473
+ * @param detailedName Name of the signal to stop emission of
1474
+ */
1475
+ stop_emission_by_name(detailedName: string): void;
1396
1476
  }
1397
1477
 
1398
1478
  namespace IndexingTree {
@@ -1790,7 +1870,7 @@ export namespace TrackerMiner {
1790
1870
  * If the object is not initialized, or initialization returns with an
1791
1871
  * error, then all operations on the object except g_object_ref() and
1792
1872
  * g_object_unref() are considered to be invalid, and have undefined
1793
- * behaviour. See the [introduction][ginitable] for more details.
1873
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
1794
1874
  *
1795
1875
  * Callers should not assume that a class which implements #GInitable can be
1796
1876
  * initialized multiple times, unless the class explicitly documents itself as
@@ -1833,7 +1913,7 @@ export namespace TrackerMiner {
1833
1913
  * If the object is not initialized, or initialization returns with an
1834
1914
  * error, then all operations on the object except g_object_ref() and
1835
1915
  * g_object_unref() are considered to be invalid, and have undefined
1836
- * behaviour. See the [introduction][ginitable] for more details.
1916
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
1837
1917
  *
1838
1918
  * Callers should not assume that a class which implements #GInitable can be
1839
1919
  * initialized multiple times, unless the class explicitly documents itself as
@@ -1973,7 +2053,21 @@ export namespace TrackerMiner {
1973
2053
  * @returns the data if found, or %NULL if no such data exists.
1974
2054
  */
1975
2055
  get_data(key: string): any | null;
1976
- get_property(property_name: string): any;
2056
+ /**
2057
+ * Gets a property of an object.
2058
+ *
2059
+ * The value can be:
2060
+ * - 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)
2061
+ * - a GObject.Value initialized with the expected type of the property
2062
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
2063
+ *
2064
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
2065
+ *
2066
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
2067
+ * @param property_name The name of the property to get
2068
+ * @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
2069
+ */
2070
+ get_property(property_name: string, value: GObject.Value | any): any;
1977
2071
  /**
1978
2072
  * This function gets back user data pointers stored via
1979
2073
  * g_object_set_qdata().
@@ -2101,7 +2195,12 @@ export namespace TrackerMiner {
2101
2195
  * @param data data to associate with that key
2102
2196
  */
2103
2197
  set_data(key: string, data?: any | null): void;
2104
- set_property(property_name: string, value: any): void;
2198
+ /**
2199
+ * Sets a property on an object.
2200
+ * @param property_name The name of the property to set
2201
+ * @param value The value to set the property to
2202
+ */
2203
+ set_property(property_name: string, value: GObject.Value | any): void;
2105
2204
  /**
2106
2205
  * Remove a specified datum from the object's data associations,
2107
2206
  * without invoking the association's destroy handler.
@@ -2251,11 +2350,31 @@ export namespace TrackerMiner {
2251
2350
  * @param pspec
2252
2351
  */
2253
2352
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2353
+ /**
2354
+ * 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.
2355
+ * @param id Handler ID of the handler to be disconnected
2356
+ */
2254
2357
  disconnect(id: number): void;
2358
+ /**
2359
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
2360
+ * @param properties Object containing the properties to set
2361
+ */
2255
2362
  set(properties: { [key: string]: any }): void;
2256
- block_signal_handler(id: number): any;
2257
- unblock_signal_handler(id: number): any;
2258
- stop_emission_by_name(detailedName: string): any;
2363
+ /**
2364
+ * Blocks a handler of an instance so it will not be called during any signal emissions
2365
+ * @param id Handler ID of the handler to be blocked
2366
+ */
2367
+ block_signal_handler(id: number): void;
2368
+ /**
2369
+ * Unblocks a handler so it will be called again during any signal emissions
2370
+ * @param id Handler ID of the handler to be unblocked
2371
+ */
2372
+ unblock_signal_handler(id: number): void;
2373
+ /**
2374
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
2375
+ * @param detailedName Name of the signal to stop emission of
2376
+ */
2377
+ stop_emission_by_name(detailedName: string): void;
2259
2378
  }
2260
2379
 
2261
2380
  namespace MinerFS {
@@ -2540,7 +2659,7 @@ export namespace TrackerMiner {
2540
2659
  * If the object is not initialized, or initialization returns with an
2541
2660
  * error, then all operations on the object except g_object_ref() and
2542
2661
  * g_object_unref() are considered to be invalid, and have undefined
2543
- * behaviour. See the [introduction][ginitable] for more details.
2662
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
2544
2663
  *
2545
2664
  * Callers should not assume that a class which implements #GInitable can be
2546
2665
  * initialized multiple times, unless the class explicitly documents itself as
@@ -2583,7 +2702,7 @@ export namespace TrackerMiner {
2583
2702
  * If the object is not initialized, or initialization returns with an
2584
2703
  * error, then all operations on the object except g_object_ref() and
2585
2704
  * g_object_unref() are considered to be invalid, and have undefined
2586
- * behaviour. See the [introduction][ginitable] for more details.
2705
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
2587
2706
  *
2588
2707
  * Callers should not assume that a class which implements #GInitable can be
2589
2708
  * initialized multiple times, unless the class explicitly documents itself as
@@ -2723,7 +2842,21 @@ export namespace TrackerMiner {
2723
2842
  * @returns the data if found, or %NULL if no such data exists.
2724
2843
  */
2725
2844
  get_data(key: string): any | null;
2726
- get_property(property_name: string): any;
2845
+ /**
2846
+ * Gets a property of an object.
2847
+ *
2848
+ * The value can be:
2849
+ * - 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)
2850
+ * - a GObject.Value initialized with the expected type of the property
2851
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
2852
+ *
2853
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
2854
+ *
2855
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
2856
+ * @param property_name The name of the property to get
2857
+ * @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
2858
+ */
2859
+ get_property(property_name: string, value: GObject.Value | any): any;
2727
2860
  /**
2728
2861
  * This function gets back user data pointers stored via
2729
2862
  * g_object_set_qdata().
@@ -2851,7 +2984,12 @@ export namespace TrackerMiner {
2851
2984
  * @param data data to associate with that key
2852
2985
  */
2853
2986
  set_data(key: string, data?: any | null): void;
2854
- set_property(property_name: string, value: any): void;
2987
+ /**
2988
+ * Sets a property on an object.
2989
+ * @param property_name The name of the property to set
2990
+ * @param value The value to set the property to
2991
+ */
2992
+ set_property(property_name: string, value: GObject.Value | any): void;
2855
2993
  /**
2856
2994
  * Remove a specified datum from the object's data associations,
2857
2995
  * without invoking the association's destroy handler.
@@ -3001,11 +3139,31 @@ export namespace TrackerMiner {
3001
3139
  * @param pspec
3002
3140
  */
3003
3141
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3142
+ /**
3143
+ * 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.
3144
+ * @param id Handler ID of the handler to be disconnected
3145
+ */
3004
3146
  disconnect(id: number): void;
3147
+ /**
3148
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
3149
+ * @param properties Object containing the properties to set
3150
+ */
3005
3151
  set(properties: { [key: string]: any }): void;
3006
- block_signal_handler(id: number): any;
3007
- unblock_signal_handler(id: number): any;
3008
- stop_emission_by_name(detailedName: string): any;
3152
+ /**
3153
+ * Blocks a handler of an instance so it will not be called during any signal emissions
3154
+ * @param id Handler ID of the handler to be blocked
3155
+ */
3156
+ block_signal_handler(id: number): void;
3157
+ /**
3158
+ * Unblocks a handler so it will be called again during any signal emissions
3159
+ * @param id Handler ID of the handler to be unblocked
3160
+ */
3161
+ unblock_signal_handler(id: number): void;
3162
+ /**
3163
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
3164
+ * @param detailedName Name of the signal to stop emission of
3165
+ */
3166
+ stop_emission_by_name(detailedName: string): void;
3009
3167
  }
3010
3168
 
3011
3169
  namespace MinerOnline {
@@ -3081,7 +3239,7 @@ export namespace TrackerMiner {
3081
3239
  * If the object is not initialized, or initialization returns with an
3082
3240
  * error, then all operations on the object except g_object_ref() and
3083
3241
  * g_object_unref() are considered to be invalid, and have undefined
3084
- * behaviour. See the [introduction][ginitable] for more details.
3242
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
3085
3243
  *
3086
3244
  * Callers should not assume that a class which implements #GInitable can be
3087
3245
  * initialized multiple times, unless the class explicitly documents itself as
@@ -3124,7 +3282,7 @@ export namespace TrackerMiner {
3124
3282
  * If the object is not initialized, or initialization returns with an
3125
3283
  * error, then all operations on the object except g_object_ref() and
3126
3284
  * g_object_unref() are considered to be invalid, and have undefined
3127
- * behaviour. See the [introduction][ginitable] for more details.
3285
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
3128
3286
  *
3129
3287
  * Callers should not assume that a class which implements #GInitable can be
3130
3288
  * initialized multiple times, unless the class explicitly documents itself as
@@ -3264,7 +3422,21 @@ export namespace TrackerMiner {
3264
3422
  * @returns the data if found, or %NULL if no such data exists.
3265
3423
  */
3266
3424
  get_data(key: string): any | null;
3267
- get_property(property_name: string): any;
3425
+ /**
3426
+ * Gets a property of an object.
3427
+ *
3428
+ * The value can be:
3429
+ * - 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)
3430
+ * - a GObject.Value initialized with the expected type of the property
3431
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
3432
+ *
3433
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
3434
+ *
3435
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
3436
+ * @param property_name The name of the property to get
3437
+ * @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
3438
+ */
3439
+ get_property(property_name: string, value: GObject.Value | any): any;
3268
3440
  /**
3269
3441
  * This function gets back user data pointers stored via
3270
3442
  * g_object_set_qdata().
@@ -3392,7 +3564,12 @@ export namespace TrackerMiner {
3392
3564
  * @param data data to associate with that key
3393
3565
  */
3394
3566
  set_data(key: string, data?: any | null): void;
3395
- set_property(property_name: string, value: any): void;
3567
+ /**
3568
+ * Sets a property on an object.
3569
+ * @param property_name The name of the property to set
3570
+ * @param value The value to set the property to
3571
+ */
3572
+ set_property(property_name: string, value: GObject.Value | any): void;
3396
3573
  /**
3397
3574
  * Remove a specified datum from the object's data associations,
3398
3575
  * without invoking the association's destroy handler.
@@ -3542,11 +3719,31 @@ export namespace TrackerMiner {
3542
3719
  * @param pspec
3543
3720
  */
3544
3721
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
3722
+ /**
3723
+ * 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.
3724
+ * @param id Handler ID of the handler to be disconnected
3725
+ */
3545
3726
  disconnect(id: number): void;
3727
+ /**
3728
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
3729
+ * @param properties Object containing the properties to set
3730
+ */
3546
3731
  set(properties: { [key: string]: any }): void;
3547
- block_signal_handler(id: number): any;
3548
- unblock_signal_handler(id: number): any;
3549
- stop_emission_by_name(detailedName: string): any;
3732
+ /**
3733
+ * Blocks a handler of an instance so it will not be called during any signal emissions
3734
+ * @param id Handler ID of the handler to be blocked
3735
+ */
3736
+ block_signal_handler(id: number): void;
3737
+ /**
3738
+ * Unblocks a handler so it will be called again during any signal emissions
3739
+ * @param id Handler ID of the handler to be unblocked
3740
+ */
3741
+ unblock_signal_handler(id: number): void;
3742
+ /**
3743
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
3744
+ * @param detailedName Name of the signal to stop emission of
3745
+ */
3746
+ stop_emission_by_name(detailedName: string): void;
3550
3747
  }
3551
3748
 
3552
3749
  namespace MinerProxy {
@@ -3605,7 +3802,7 @@ export namespace TrackerMiner {
3605
3802
  * If the object is not initialized, or initialization returns with an
3606
3803
  * error, then all operations on the object except g_object_ref() and
3607
3804
  * g_object_unref() are considered to be invalid, and have undefined
3608
- * behaviour. See the [introduction][ginitable] for more details.
3805
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
3609
3806
  *
3610
3807
  * Callers should not assume that a class which implements #GInitable can be
3611
3808
  * initialized multiple times, unless the class explicitly documents itself as
@@ -3648,7 +3845,7 @@ export namespace TrackerMiner {
3648
3845
  * If the object is not initialized, or initialization returns with an
3649
3846
  * error, then all operations on the object except g_object_ref() and
3650
3847
  * g_object_unref() are considered to be invalid, and have undefined
3651
- * behaviour. See the [introduction][ginitable] for more details.
3848
+ * behaviour. See the [description][iface`Gio`.Initable#description] for more details.
3652
3849
  *
3653
3850
  * Callers should not assume that a class which implements #GInitable can be
3654
3851
  * initialized multiple times, unless the class explicitly documents itself as
@@ -3788,7 +3985,21 @@ export namespace TrackerMiner {
3788
3985
  * @returns the data if found, or %NULL if no such data exists.
3789
3986
  */
3790
3987
  get_data(key: string): any | null;
3791
- get_property(property_name: string): any;
3988
+ /**
3989
+ * Gets a property of an object.
3990
+ *
3991
+ * The value can be:
3992
+ * - 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)
3993
+ * - a GObject.Value initialized with the expected type of the property
3994
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
3995
+ *
3996
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
3997
+ *
3998
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
3999
+ * @param property_name The name of the property to get
4000
+ * @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
4001
+ */
4002
+ get_property(property_name: string, value: GObject.Value | any): any;
3792
4003
  /**
3793
4004
  * This function gets back user data pointers stored via
3794
4005
  * g_object_set_qdata().
@@ -3916,7 +4127,12 @@ export namespace TrackerMiner {
3916
4127
  * @param data data to associate with that key
3917
4128
  */
3918
4129
  set_data(key: string, data?: any | null): void;
3919
- set_property(property_name: string, value: any): void;
4130
+ /**
4131
+ * Sets a property on an object.
4132
+ * @param property_name The name of the property to set
4133
+ * @param value The value to set the property to
4134
+ */
4135
+ set_property(property_name: string, value: GObject.Value | any): void;
3920
4136
  /**
3921
4137
  * Remove a specified datum from the object's data associations,
3922
4138
  * without invoking the association's destroy handler.
@@ -4066,11 +4282,31 @@ export namespace TrackerMiner {
4066
4282
  * @param pspec
4067
4283
  */
4068
4284
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4285
+ /**
4286
+ * 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.
4287
+ * @param id Handler ID of the handler to be disconnected
4288
+ */
4069
4289
  disconnect(id: number): void;
4290
+ /**
4291
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
4292
+ * @param properties Object containing the properties to set
4293
+ */
4070
4294
  set(properties: { [key: string]: any }): void;
4071
- block_signal_handler(id: number): any;
4072
- unblock_signal_handler(id: number): any;
4073
- stop_emission_by_name(detailedName: string): any;
4295
+ /**
4296
+ * Blocks a handler of an instance so it will not be called during any signal emissions
4297
+ * @param id Handler ID of the handler to be blocked
4298
+ */
4299
+ block_signal_handler(id: number): void;
4300
+ /**
4301
+ * Unblocks a handler so it will be called again during any signal emissions
4302
+ * @param id Handler ID of the handler to be unblocked
4303
+ */
4304
+ unblock_signal_handler(id: number): void;
4305
+ /**
4306
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
4307
+ * @param detailedName Name of the signal to stop emission of
4308
+ */
4309
+ stop_emission_by_name(detailedName: string): void;
4074
4310
  }
4075
4311
 
4076
4312
  type DataProviderIface = typeof DataProvider;