@girs/gdl-3 3.0.0-4.0.0-beta.21 → 3.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/gdl-3.d.ts +531 -61
  3. package/package.json +15 -15
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gdl-3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gdl-3, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
8
+ GJS TypeScript type definitions for Gdl-3, generated from library version 3.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/gdl-3.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 Gtk from '@girs/gtk-3.0';
12
14
  import type xlib from '@girs/xlib-2.0';
13
15
  import type Gdk from '@girs/gdk-3.0';
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 Pango from '@girs/pango-1.0';
@@ -617,7 +619,21 @@ export namespace Gdl {
617
619
  * @returns the data if found, or %NULL if no such data exists.
618
620
  */
619
621
  get_data(key: string): any | null;
620
- get_property(property_name: string): any;
622
+ /**
623
+ * Gets a property of an object.
624
+ *
625
+ * The value can be:
626
+ * - 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)
627
+ * - a GObject.Value initialized with the expected type of the property
628
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
629
+ *
630
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
631
+ *
632
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
633
+ * @param property_name The name of the property to get
634
+ * @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
635
+ */
636
+ get_property(property_name: string, value: GObject.Value | any): any;
621
637
  /**
622
638
  * This function gets back user data pointers stored via
623
639
  * g_object_set_qdata().
@@ -745,7 +761,12 @@ export namespace Gdl {
745
761
  * @param data data to associate with that key
746
762
  */
747
763
  set_data(key: string, data?: any | null): void;
748
- set_property(property_name: string, value: any): void;
764
+ /**
765
+ * Sets a property on an object.
766
+ * @param property_name The name of the property to set
767
+ * @param value The value to set the property to
768
+ */
769
+ set_property(property_name: string, value: GObject.Value | any): void;
749
770
  /**
750
771
  * Remove a specified datum from the object's data associations,
751
772
  * without invoking the association's destroy handler.
@@ -895,11 +916,31 @@ export namespace Gdl {
895
916
  * @param pspec
896
917
  */
897
918
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
919
+ /**
920
+ * 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.
921
+ * @param id Handler ID of the handler to be disconnected
922
+ */
898
923
  disconnect(id: number): void;
924
+ /**
925
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
926
+ * @param properties Object containing the properties to set
927
+ */
899
928
  set(properties: { [key: string]: any }): void;
900
- block_signal_handler(id: number): any;
901
- unblock_signal_handler(id: number): any;
902
- stop_emission_by_name(detailedName: string): any;
929
+ /**
930
+ * Blocks a handler of an instance so it will not be called during any signal emissions
931
+ * @param id Handler ID of the handler to be blocked
932
+ */
933
+ block_signal_handler(id: number): void;
934
+ /**
935
+ * Unblocks a handler so it will be called again during any signal emissions
936
+ * @param id Handler ID of the handler to be unblocked
937
+ */
938
+ unblock_signal_handler(id: number): void;
939
+ /**
940
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
941
+ * @param detailedName Name of the signal to stop emission of
942
+ */
943
+ stop_emission_by_name(detailedName: string): void;
903
944
  }
904
945
 
905
946
  namespace DockBar {
@@ -1094,7 +1135,21 @@ export namespace Gdl {
1094
1135
  * @returns the data if found, or %NULL if no such data exists.
1095
1136
  */
1096
1137
  get_data(key: string): any | null;
1097
- get_property(property_name: string): any;
1138
+ /**
1139
+ * Gets a property of an object.
1140
+ *
1141
+ * The value can be:
1142
+ * - 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)
1143
+ * - a GObject.Value initialized with the expected type of the property
1144
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
1145
+ *
1146
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
1147
+ *
1148
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
1149
+ * @param property_name The name of the property to get
1150
+ * @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
1151
+ */
1152
+ get_property(property_name: string, value: GObject.Value | any): any;
1098
1153
  /**
1099
1154
  * This function gets back user data pointers stored via
1100
1155
  * g_object_set_qdata().
@@ -1222,7 +1277,12 @@ export namespace Gdl {
1222
1277
  * @param data data to associate with that key
1223
1278
  */
1224
1279
  set_data(key: string, data?: any | null): void;
1225
- set_property(property_name: string, value: any): void;
1280
+ /**
1281
+ * Sets a property on an object.
1282
+ * @param property_name The name of the property to set
1283
+ * @param value The value to set the property to
1284
+ */
1285
+ set_property(property_name: string, value: GObject.Value | any): void;
1226
1286
  /**
1227
1287
  * Remove a specified datum from the object's data associations,
1228
1288
  * without invoking the association's destroy handler.
@@ -1372,11 +1432,31 @@ export namespace Gdl {
1372
1432
  * @param pspec
1373
1433
  */
1374
1434
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
1435
+ /**
1436
+ * 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.
1437
+ * @param id Handler ID of the handler to be disconnected
1438
+ */
1375
1439
  disconnect(id: number): void;
1440
+ /**
1441
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
1442
+ * @param properties Object containing the properties to set
1443
+ */
1376
1444
  set(properties: { [key: string]: any }): void;
1377
- block_signal_handler(id: number): any;
1378
- unblock_signal_handler(id: number): any;
1379
- stop_emission_by_name(detailedName: string): any;
1445
+ /**
1446
+ * Blocks a handler of an instance so it will not be called during any signal emissions
1447
+ * @param id Handler ID of the handler to be blocked
1448
+ */
1449
+ block_signal_handler(id: number): void;
1450
+ /**
1451
+ * Unblocks a handler so it will be called again during any signal emissions
1452
+ * @param id Handler ID of the handler to be unblocked
1453
+ */
1454
+ unblock_signal_handler(id: number): void;
1455
+ /**
1456
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
1457
+ * @param detailedName Name of the signal to stop emission of
1458
+ */
1459
+ stop_emission_by_name(detailedName: string): void;
1380
1460
  }
1381
1461
 
1382
1462
  namespace DockItem {
@@ -1821,7 +1901,21 @@ export namespace Gdl {
1821
1901
  * @returns the data if found, or %NULL if no such data exists.
1822
1902
  */
1823
1903
  get_data(key: string): any | null;
1824
- get_property(property_name: string): any;
1904
+ /**
1905
+ * Gets a property of an object.
1906
+ *
1907
+ * The value can be:
1908
+ * - 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)
1909
+ * - a GObject.Value initialized with the expected type of the property
1910
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
1911
+ *
1912
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
1913
+ *
1914
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
1915
+ * @param property_name The name of the property to get
1916
+ * @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
1917
+ */
1918
+ get_property(property_name: string, value: GObject.Value | any): any;
1825
1919
  /**
1826
1920
  * This function gets back user data pointers stored via
1827
1921
  * g_object_set_qdata().
@@ -1949,7 +2043,12 @@ export namespace Gdl {
1949
2043
  * @param data data to associate with that key
1950
2044
  */
1951
2045
  set_data(key: string, data?: any | null): void;
1952
- set_property(property_name: string, value: any): void;
2046
+ /**
2047
+ * Sets a property on an object.
2048
+ * @param property_name The name of the property to set
2049
+ * @param value The value to set the property to
2050
+ */
2051
+ set_property(property_name: string, value: GObject.Value | any): void;
1953
2052
  /**
1954
2053
  * Remove a specified datum from the object's data associations,
1955
2054
  * without invoking the association's destroy handler.
@@ -2099,11 +2198,31 @@ export namespace Gdl {
2099
2198
  * @param pspec
2100
2199
  */
2101
2200
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2201
+ /**
2202
+ * 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.
2203
+ * @param id Handler ID of the handler to be disconnected
2204
+ */
2102
2205
  disconnect(id: number): void;
2206
+ /**
2207
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
2208
+ * @param properties Object containing the properties to set
2209
+ */
2103
2210
  set(properties: { [key: string]: any }): void;
2104
- block_signal_handler(id: number): any;
2105
- unblock_signal_handler(id: number): any;
2106
- stop_emission_by_name(detailedName: string): any;
2211
+ /**
2212
+ * Blocks a handler of an instance so it will not be called during any signal emissions
2213
+ * @param id Handler ID of the handler to be blocked
2214
+ */
2215
+ block_signal_handler(id: number): void;
2216
+ /**
2217
+ * Unblocks a handler so it will be called again during any signal emissions
2218
+ * @param id Handler ID of the handler to be unblocked
2219
+ */
2220
+ unblock_signal_handler(id: number): void;
2221
+ /**
2222
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
2223
+ * @param detailedName Name of the signal to stop emission of
2224
+ */
2225
+ stop_emission_by_name(detailedName: string): void;
2107
2226
  }
2108
2227
 
2109
2228
  namespace DockItemButtonImage {
@@ -2424,7 +2543,21 @@ export namespace Gdl {
2424
2543
  * @returns the data if found, or %NULL if no such data exists.
2425
2544
  */
2426
2545
  get_data(key: string): any | null;
2427
- get_property(property_name: string): any;
2546
+ /**
2547
+ * Gets a property of an object.
2548
+ *
2549
+ * The value can be:
2550
+ * - 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)
2551
+ * - a GObject.Value initialized with the expected type of the property
2552
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
2553
+ *
2554
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
2555
+ *
2556
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
2557
+ * @param property_name The name of the property to get
2558
+ * @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
2559
+ */
2560
+ get_property(property_name: string, value: GObject.Value | any): any;
2428
2561
  /**
2429
2562
  * This function gets back user data pointers stored via
2430
2563
  * g_object_set_qdata().
@@ -2552,7 +2685,12 @@ export namespace Gdl {
2552
2685
  * @param data data to associate with that key
2553
2686
  */
2554
2687
  set_data(key: string, data?: any | null): void;
2555
- set_property(property_name: string, value: any): void;
2688
+ /**
2689
+ * Sets a property on an object.
2690
+ * @param property_name The name of the property to set
2691
+ * @param value The value to set the property to
2692
+ */
2693
+ set_property(property_name: string, value: GObject.Value | any): void;
2556
2694
  /**
2557
2695
  * Remove a specified datum from the object's data associations,
2558
2696
  * without invoking the association's destroy handler.
@@ -2702,11 +2840,31 @@ export namespace Gdl {
2702
2840
  * @param pspec
2703
2841
  */
2704
2842
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
2843
+ /**
2844
+ * 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.
2845
+ * @param id Handler ID of the handler to be disconnected
2846
+ */
2705
2847
  disconnect(id: number): void;
2848
+ /**
2849
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
2850
+ * @param properties Object containing the properties to set
2851
+ */
2706
2852
  set(properties: { [key: string]: any }): void;
2707
- block_signal_handler(id: number): any;
2708
- unblock_signal_handler(id: number): any;
2709
- stop_emission_by_name(detailedName: string): any;
2853
+ /**
2854
+ * Blocks a handler of an instance so it will not be called during any signal emissions
2855
+ * @param id Handler ID of the handler to be blocked
2856
+ */
2857
+ block_signal_handler(id: number): void;
2858
+ /**
2859
+ * Unblocks a handler so it will be called again during any signal emissions
2860
+ * @param id Handler ID of the handler to be unblocked
2861
+ */
2862
+ unblock_signal_handler(id: number): void;
2863
+ /**
2864
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
2865
+ * @param detailedName Name of the signal to stop emission of
2866
+ */
2867
+ stop_emission_by_name(detailedName: string): void;
2710
2868
  }
2711
2869
 
2712
2870
  namespace DockItemGrip {
@@ -2880,7 +3038,21 @@ export namespace Gdl {
2880
3038
  * @returns the data if found, or %NULL if no such data exists.
2881
3039
  */
2882
3040
  get_data(key: string): any | null;
2883
- 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;
2884
3056
  /**
2885
3057
  * This function gets back user data pointers stored via
2886
3058
  * g_object_set_qdata().
@@ -3008,7 +3180,12 @@ export namespace Gdl {
3008
3180
  * @param data data to associate with that key
3009
3181
  */
3010
3182
  set_data(key: string, data?: any | null): void;
3011
- 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;
3012
3189
  /**
3013
3190
  * Remove a specified datum from the object's data associations,
3014
3191
  * without invoking the association's destroy handler.
@@ -3158,11 +3335,31 @@ export namespace Gdl {
3158
3335
  * @param pspec
3159
3336
  */
3160
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
+ */
3161
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
+ */
3162
3347
  set(properties: { [key: string]: any }): void;
3163
- block_signal_handler(id: number): any;
3164
- unblock_signal_handler(id: number): any;
3165
- 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;
3166
3363
  }
3167
3364
 
3168
3365
  namespace DockLayout {
@@ -3538,7 +3735,21 @@ export namespace Gdl {
3538
3735
  * @returns the data if found, or %NULL if no such data exists.
3539
3736
  */
3540
3737
  get_data(key: string): any | null;
3541
- get_property(property_name: string): any;
3738
+ /**
3739
+ * Gets a property of an object.
3740
+ *
3741
+ * The value can be:
3742
+ * - 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)
3743
+ * - a GObject.Value initialized with the expected type of the property
3744
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
3745
+ *
3746
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
3747
+ *
3748
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
3749
+ * @param property_name The name of the property to get
3750
+ * @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
3751
+ */
3752
+ get_property(property_name: string, value: GObject.Value | any): any;
3542
3753
  /**
3543
3754
  * This function gets back user data pointers stored via
3544
3755
  * g_object_set_qdata().
@@ -3666,7 +3877,12 @@ export namespace Gdl {
3666
3877
  * @param data data to associate with that key
3667
3878
  */
3668
3879
  set_data(key: string, data?: any | null): void;
3669
- set_property(property_name: string, value: any): void;
3880
+ /**
3881
+ * Sets a property on an object.
3882
+ * @param property_name The name of the property to set
3883
+ * @param value The value to set the property to
3884
+ */
3885
+ set_property(property_name: string, value: GObject.Value | any): void;
3670
3886
  /**
3671
3887
  * Remove a specified datum from the object's data associations,
3672
3888
  * without invoking the association's destroy handler.
@@ -3816,11 +4032,31 @@ export namespace Gdl {
3816
4032
  * @param pspec
3817
4033
  */
3818
4034
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4035
+ /**
4036
+ * 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.
4037
+ * @param id Handler ID of the handler to be disconnected
4038
+ */
3819
4039
  disconnect(id: number): void;
4040
+ /**
4041
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
4042
+ * @param properties Object containing the properties to set
4043
+ */
3820
4044
  set(properties: { [key: string]: any }): void;
3821
- block_signal_handler(id: number): any;
3822
- unblock_signal_handler(id: number): any;
3823
- stop_emission_by_name(detailedName: string): any;
4045
+ /**
4046
+ * Blocks a handler of an instance so it will not be called during any signal emissions
4047
+ * @param id Handler ID of the handler to be blocked
4048
+ */
4049
+ block_signal_handler(id: number): void;
4050
+ /**
4051
+ * Unblocks a handler so it will be called again during any signal emissions
4052
+ * @param id Handler ID of the handler to be unblocked
4053
+ */
4054
+ unblock_signal_handler(id: number): void;
4055
+ /**
4056
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
4057
+ * @param detailedName Name of the signal to stop emission of
4058
+ */
4059
+ stop_emission_by_name(detailedName: string): void;
3824
4060
  }
3825
4061
 
3826
4062
  namespace DockObject {
@@ -4316,7 +4552,21 @@ export namespace Gdl {
4316
4552
  * @returns the data if found, or %NULL if no such data exists.
4317
4553
  */
4318
4554
  get_data(key: string): any | null;
4319
- get_property(property_name: string): any;
4555
+ /**
4556
+ * Gets a property of an object.
4557
+ *
4558
+ * The value can be:
4559
+ * - 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)
4560
+ * - a GObject.Value initialized with the expected type of the property
4561
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
4562
+ *
4563
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
4564
+ *
4565
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
4566
+ * @param property_name The name of the property to get
4567
+ * @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
4568
+ */
4569
+ get_property(property_name: string, value: GObject.Value | any): any;
4320
4570
  /**
4321
4571
  * This function gets back user data pointers stored via
4322
4572
  * g_object_set_qdata().
@@ -4444,7 +4694,12 @@ export namespace Gdl {
4444
4694
  * @param data data to associate with that key
4445
4695
  */
4446
4696
  set_data(key: string, data?: any | null): void;
4447
- set_property(property_name: string, value: any): void;
4697
+ /**
4698
+ * Sets a property on an object.
4699
+ * @param property_name The name of the property to set
4700
+ * @param value The value to set the property to
4701
+ */
4702
+ set_property(property_name: string, value: GObject.Value | any): void;
4448
4703
  /**
4449
4704
  * Remove a specified datum from the object's data associations,
4450
4705
  * without invoking the association's destroy handler.
@@ -4594,11 +4849,31 @@ export namespace Gdl {
4594
4849
  * @param pspec
4595
4850
  */
4596
4851
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
4852
+ /**
4853
+ * 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.
4854
+ * @param id Handler ID of the handler to be disconnected
4855
+ */
4597
4856
  disconnect(id: number): void;
4857
+ /**
4858
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
4859
+ * @param properties Object containing the properties to set
4860
+ */
4598
4861
  set(properties: { [key: string]: any }): void;
4599
- block_signal_handler(id: number): any;
4600
- unblock_signal_handler(id: number): any;
4601
- stop_emission_by_name(detailedName: string): any;
4862
+ /**
4863
+ * Blocks a handler of an instance so it will not be called during any signal emissions
4864
+ * @param id Handler ID of the handler to be blocked
4865
+ */
4866
+ block_signal_handler(id: number): void;
4867
+ /**
4868
+ * Unblocks a handler so it will be called again during any signal emissions
4869
+ * @param id Handler ID of the handler to be unblocked
4870
+ */
4871
+ unblock_signal_handler(id: number): void;
4872
+ /**
4873
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
4874
+ * @param detailedName Name of the signal to stop emission of
4875
+ */
4876
+ stop_emission_by_name(detailedName: string): void;
4602
4877
  }
4603
4878
 
4604
4879
  namespace DockPaned {
@@ -4753,7 +5028,21 @@ export namespace Gdl {
4753
5028
  * @returns the data if found, or %NULL if no such data exists.
4754
5029
  */
4755
5030
  get_data(key: string): any | null;
4756
- get_property(property_name: string): any;
5031
+ /**
5032
+ * Gets a property of an object.
5033
+ *
5034
+ * The value can be:
5035
+ * - 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)
5036
+ * - a GObject.Value initialized with the expected type of the property
5037
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
5038
+ *
5039
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
5040
+ *
5041
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
5042
+ * @param property_name The name of the property to get
5043
+ * @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
5044
+ */
5045
+ get_property(property_name: string, value: GObject.Value | any): any;
4757
5046
  /**
4758
5047
  * This function gets back user data pointers stored via
4759
5048
  * g_object_set_qdata().
@@ -4881,7 +5170,12 @@ export namespace Gdl {
4881
5170
  * @param data data to associate with that key
4882
5171
  */
4883
5172
  set_data(key: string, data?: any | null): void;
4884
- set_property(property_name: string, value: any): void;
5173
+ /**
5174
+ * Sets a property on an object.
5175
+ * @param property_name The name of the property to set
5176
+ * @param value The value to set the property to
5177
+ */
5178
+ set_property(property_name: string, value: GObject.Value | any): void;
4885
5179
  /**
4886
5180
  * Remove a specified datum from the object's data associations,
4887
5181
  * without invoking the association's destroy handler.
@@ -5031,11 +5325,31 @@ export namespace Gdl {
5031
5325
  * @param pspec
5032
5326
  */
5033
5327
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
5328
+ /**
5329
+ * 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.
5330
+ * @param id Handler ID of the handler to be disconnected
5331
+ */
5034
5332
  disconnect(id: number): void;
5333
+ /**
5334
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
5335
+ * @param properties Object containing the properties to set
5336
+ */
5035
5337
  set(properties: { [key: string]: any }): void;
5036
- block_signal_handler(id: number): any;
5037
- unblock_signal_handler(id: number): any;
5038
- stop_emission_by_name(detailedName: string): any;
5338
+ /**
5339
+ * Blocks a handler of an instance so it will not be called during any signal emissions
5340
+ * @param id Handler ID of the handler to be blocked
5341
+ */
5342
+ block_signal_handler(id: number): void;
5343
+ /**
5344
+ * Unblocks a handler so it will be called again during any signal emissions
5345
+ * @param id Handler ID of the handler to be unblocked
5346
+ */
5347
+ unblock_signal_handler(id: number): void;
5348
+ /**
5349
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
5350
+ * @param detailedName Name of the signal to stop emission of
5351
+ */
5352
+ stop_emission_by_name(detailedName: string): void;
5039
5353
  }
5040
5354
 
5041
5355
  class DockParam {
@@ -5223,7 +5537,21 @@ export namespace Gdl {
5223
5537
  * @returns the data if found, or %NULL if no such data exists.
5224
5538
  */
5225
5539
  get_data(key: string): any | null;
5226
- get_property(property_name: string): any;
5540
+ /**
5541
+ * Gets a property of an object.
5542
+ *
5543
+ * The value can be:
5544
+ * - 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)
5545
+ * - a GObject.Value initialized with the expected type of the property
5546
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
5547
+ *
5548
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
5549
+ *
5550
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
5551
+ * @param property_name The name of the property to get
5552
+ * @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
5553
+ */
5554
+ get_property(property_name: string, value: GObject.Value | any): any;
5227
5555
  /**
5228
5556
  * This function gets back user data pointers stored via
5229
5557
  * g_object_set_qdata().
@@ -5351,7 +5679,12 @@ export namespace Gdl {
5351
5679
  * @param data data to associate with that key
5352
5680
  */
5353
5681
  set_data(key: string, data?: any | null): void;
5354
- set_property(property_name: string, value: any): void;
5682
+ /**
5683
+ * Sets a property on an object.
5684
+ * @param property_name The name of the property to set
5685
+ * @param value The value to set the property to
5686
+ */
5687
+ set_property(property_name: string, value: GObject.Value | any): void;
5355
5688
  /**
5356
5689
  * Remove a specified datum from the object's data associations,
5357
5690
  * without invoking the association's destroy handler.
@@ -5501,11 +5834,31 @@ export namespace Gdl {
5501
5834
  * @param pspec
5502
5835
  */
5503
5836
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
5837
+ /**
5838
+ * 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.
5839
+ * @param id Handler ID of the handler to be disconnected
5840
+ */
5504
5841
  disconnect(id: number): void;
5842
+ /**
5843
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
5844
+ * @param properties Object containing the properties to set
5845
+ */
5505
5846
  set(properties: { [key: string]: any }): void;
5506
- block_signal_handler(id: number): any;
5507
- unblock_signal_handler(id: number): any;
5508
- stop_emission_by_name(detailedName: string): any;
5847
+ /**
5848
+ * Blocks a handler of an instance so it will not be called during any signal emissions
5849
+ * @param id Handler ID of the handler to be blocked
5850
+ */
5851
+ block_signal_handler(id: number): void;
5852
+ /**
5853
+ * Unblocks a handler so it will be called again during any signal emissions
5854
+ * @param id Handler ID of the handler to be unblocked
5855
+ */
5856
+ unblock_signal_handler(id: number): void;
5857
+ /**
5858
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
5859
+ * @param detailedName Name of the signal to stop emission of
5860
+ */
5861
+ stop_emission_by_name(detailedName: string): void;
5509
5862
  }
5510
5863
 
5511
5864
  namespace DockTablabel {
@@ -5692,7 +6045,21 @@ export namespace Gdl {
5692
6045
  * @returns the data if found, or %NULL if no such data exists.
5693
6046
  */
5694
6047
  get_data(key: string): any | null;
5695
- get_property(property_name: string): any;
6048
+ /**
6049
+ * Gets a property of an object.
6050
+ *
6051
+ * The value can be:
6052
+ * - 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)
6053
+ * - a GObject.Value initialized with the expected type of the property
6054
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
6055
+ *
6056
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
6057
+ *
6058
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
6059
+ * @param property_name The name of the property to get
6060
+ * @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
6061
+ */
6062
+ get_property(property_name: string, value: GObject.Value | any): any;
5696
6063
  /**
5697
6064
  * This function gets back user data pointers stored via
5698
6065
  * g_object_set_qdata().
@@ -5820,7 +6187,12 @@ export namespace Gdl {
5820
6187
  * @param data data to associate with that key
5821
6188
  */
5822
6189
  set_data(key: string, data?: any | null): void;
5823
- set_property(property_name: string, value: any): void;
6190
+ /**
6191
+ * Sets a property on an object.
6192
+ * @param property_name The name of the property to set
6193
+ * @param value The value to set the property to
6194
+ */
6195
+ set_property(property_name: string, value: GObject.Value | any): void;
5824
6196
  /**
5825
6197
  * Remove a specified datum from the object's data associations,
5826
6198
  * without invoking the association's destroy handler.
@@ -5970,11 +6342,31 @@ export namespace Gdl {
5970
6342
  * @param pspec
5971
6343
  */
5972
6344
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
6345
+ /**
6346
+ * 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.
6347
+ * @param id Handler ID of the handler to be disconnected
6348
+ */
5973
6349
  disconnect(id: number): void;
6350
+ /**
6351
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
6352
+ * @param properties Object containing the properties to set
6353
+ */
5974
6354
  set(properties: { [key: string]: any }): void;
5975
- block_signal_handler(id: number): any;
5976
- unblock_signal_handler(id: number): any;
5977
- stop_emission_by_name(detailedName: string): any;
6355
+ /**
6356
+ * Blocks a handler of an instance so it will not be called during any signal emissions
6357
+ * @param id Handler ID of the handler to be blocked
6358
+ */
6359
+ block_signal_handler(id: number): void;
6360
+ /**
6361
+ * Unblocks a handler so it will be called again during any signal emissions
6362
+ * @param id Handler ID of the handler to be unblocked
6363
+ */
6364
+ unblock_signal_handler(id: number): void;
6365
+ /**
6366
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
6367
+ * @param detailedName Name of the signal to stop emission of
6368
+ */
6369
+ stop_emission_by_name(detailedName: string): void;
5978
6370
  }
5979
6371
 
5980
6372
  namespace PreviewWindow {
@@ -6129,7 +6521,21 @@ export namespace Gdl {
6129
6521
  * @returns the data if found, or %NULL if no such data exists.
6130
6522
  */
6131
6523
  get_data(key: string): any | null;
6132
- get_property(property_name: string): any;
6524
+ /**
6525
+ * Gets a property of an object.
6526
+ *
6527
+ * The value can be:
6528
+ * - 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)
6529
+ * - a GObject.Value initialized with the expected type of the property
6530
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
6531
+ *
6532
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
6533
+ *
6534
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
6535
+ * @param property_name The name of the property to get
6536
+ * @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
6537
+ */
6538
+ get_property(property_name: string, value: GObject.Value | any): any;
6133
6539
  /**
6134
6540
  * This function gets back user data pointers stored via
6135
6541
  * g_object_set_qdata().
@@ -6257,7 +6663,12 @@ export namespace Gdl {
6257
6663
  * @param data data to associate with that key
6258
6664
  */
6259
6665
  set_data(key: string, data?: any | null): void;
6260
- set_property(property_name: string, value: any): void;
6666
+ /**
6667
+ * Sets a property on an object.
6668
+ * @param property_name The name of the property to set
6669
+ * @param value The value to set the property to
6670
+ */
6671
+ set_property(property_name: string, value: GObject.Value | any): void;
6261
6672
  /**
6262
6673
  * Remove a specified datum from the object's data associations,
6263
6674
  * without invoking the association's destroy handler.
@@ -6407,11 +6818,31 @@ export namespace Gdl {
6407
6818
  * @param pspec
6408
6819
  */
6409
6820
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
6821
+ /**
6822
+ * 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.
6823
+ * @param id Handler ID of the handler to be disconnected
6824
+ */
6410
6825
  disconnect(id: number): void;
6826
+ /**
6827
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
6828
+ * @param properties Object containing the properties to set
6829
+ */
6411
6830
  set(properties: { [key: string]: any }): void;
6412
- block_signal_handler(id: number): any;
6413
- unblock_signal_handler(id: number): any;
6414
- stop_emission_by_name(detailedName: string): any;
6831
+ /**
6832
+ * Blocks a handler of an instance so it will not be called during any signal emissions
6833
+ * @param id Handler ID of the handler to be blocked
6834
+ */
6835
+ block_signal_handler(id: number): void;
6836
+ /**
6837
+ * Unblocks a handler so it will be called again during any signal emissions
6838
+ * @param id Handler ID of the handler to be unblocked
6839
+ */
6840
+ unblock_signal_handler(id: number): void;
6841
+ /**
6842
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
6843
+ * @param detailedName Name of the signal to stop emission of
6844
+ */
6845
+ stop_emission_by_name(detailedName: string): void;
6415
6846
  }
6416
6847
 
6417
6848
  namespace Switcher {
@@ -6604,7 +7035,21 @@ export namespace Gdl {
6604
7035
  * @returns the data if found, or %NULL if no such data exists.
6605
7036
  */
6606
7037
  get_data(key: string): any | null;
6607
- get_property(property_name: string): any;
7038
+ /**
7039
+ * Gets a property of an object.
7040
+ *
7041
+ * The value can be:
7042
+ * - 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)
7043
+ * - a GObject.Value initialized with the expected type of the property
7044
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
7045
+ *
7046
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
7047
+ *
7048
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
7049
+ * @param property_name The name of the property to get
7050
+ * @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
7051
+ */
7052
+ get_property(property_name: string, value: GObject.Value | any): any;
6608
7053
  /**
6609
7054
  * This function gets back user data pointers stored via
6610
7055
  * g_object_set_qdata().
@@ -6732,7 +7177,12 @@ export namespace Gdl {
6732
7177
  * @param data data to associate with that key
6733
7178
  */
6734
7179
  set_data(key: string, data?: any | null): void;
6735
- set_property(property_name: string, value: any): void;
7180
+ /**
7181
+ * Sets a property on an object.
7182
+ * @param property_name The name of the property to set
7183
+ * @param value The value to set the property to
7184
+ */
7185
+ set_property(property_name: string, value: GObject.Value | any): void;
6736
7186
  /**
6737
7187
  * Remove a specified datum from the object's data associations,
6738
7188
  * without invoking the association's destroy handler.
@@ -6882,11 +7332,31 @@ export namespace Gdl {
6882
7332
  * @param pspec
6883
7333
  */
6884
7334
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
7335
+ /**
7336
+ * 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.
7337
+ * @param id Handler ID of the handler to be disconnected
7338
+ */
6885
7339
  disconnect(id: number): void;
7340
+ /**
7341
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
7342
+ * @param properties Object containing the properties to set
7343
+ */
6886
7344
  set(properties: { [key: string]: any }): void;
6887
- block_signal_handler(id: number): any;
6888
- unblock_signal_handler(id: number): any;
6889
- stop_emission_by_name(detailedName: string): any;
7345
+ /**
7346
+ * Blocks a handler of an instance so it will not be called during any signal emissions
7347
+ * @param id Handler ID of the handler to be blocked
7348
+ */
7349
+ block_signal_handler(id: number): void;
7350
+ /**
7351
+ * Unblocks a handler so it will be called again during any signal emissions
7352
+ * @param id Handler ID of the handler to be unblocked
7353
+ */
7354
+ unblock_signal_handler(id: number): void;
7355
+ /**
7356
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
7357
+ * @param detailedName Name of the signal to stop emission of
7358
+ */
7359
+ stop_emission_by_name(detailedName: string): void;
6890
7360
  }
6891
7361
 
6892
7362
  type DockBarClass = typeof DockBar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gdl-3",
3
- "version": "3.0.0-4.0.0-beta.21",
3
+ "version": "3.0.0-4.0.0-beta.23",
4
4
  "description": "GJS TypeScript type definitions for Gdl-3, generated from library version 3.0.0",
5
5
  "type": "module",
6
6
  "module": "gdl-3.js",
@@ -31,20 +31,20 @@
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/freetype2-2.0": "^2.0.0-4.0.0-beta.21",
37
- "@girs/gdk-3.0": "^3.24.48-4.0.0-beta.21",
38
- "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.21",
39
- "@girs/gio-2.0": "^2.83.3-4.0.0-beta.21",
40
- "@girs/gjs": "^4.0.0-beta.21",
41
- "@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
42
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.21",
43
- "@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21",
44
- "@girs/gtk-3.0": "^3.24.48-4.0.0-beta.21",
45
- "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.21",
46
- "@girs/pango-1.0": "^1.56.0-4.0.0-beta.21",
47
- "@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/freetype2-2.0": "^2.0.0-4.0.0-beta.23",
37
+ "@girs/gdk-3.0": "^3.24.50-4.0.0-beta.23",
38
+ "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.23",
39
+ "@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
40
+ "@girs/gjs": "^4.0.0-beta.23",
41
+ "@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
42
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
43
+ "@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23",
44
+ "@girs/gtk-3.0": "^3.24.50-4.0.0-beta.23",
45
+ "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.23",
46
+ "@girs/pango-1.0": "^1.56.4-4.0.0-beta.23",
47
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.23"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "*"