@girs/gimp-3.0 2.99.19-4.0.0-beta.21 → 2.99.19-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/gimp-3.0.d.ts +399 -46
  3. package/package.json +13 -13
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gimp-3.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gimp-3.0, generated from library version 2.99.19 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
8
+ GJS TypeScript type definitions for Gimp-3.0, generated from library version 2.99.19 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.23.
9
9
 
10
10
 
11
11
  ## Install
package/gimp-3.0.d.ts CHANGED
@@ -7,8 +7,10 @@
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
- import type cairo from '@girs/cairo-1.0';
13
+ import type cairo from 'cairo';
12
14
  import type GObject from '@girs/gobject-2.0';
13
15
  import type GLib from '@girs/glib-2.0';
14
16
  import type Pango from '@girs/pango-1.0';
@@ -7667,7 +7669,21 @@ export namespace Gimp {
7667
7669
  * @returns the data if found, or %NULL if no such data exists.
7668
7670
  */
7669
7671
  get_data(key: string): any | null;
7670
- get_property(property_name: string): any;
7672
+ /**
7673
+ * Gets a property of an object.
7674
+ *
7675
+ * The value can be:
7676
+ * - 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)
7677
+ * - a GObject.Value initialized with the expected type of the property
7678
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
7679
+ *
7680
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
7681
+ *
7682
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
7683
+ * @param property_name The name of the property to get
7684
+ * @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
7685
+ */
7686
+ get_property(property_name: string, value: GObject.Value | any): any;
7671
7687
  /**
7672
7688
  * This function gets back user data pointers stored via
7673
7689
  * g_object_set_qdata().
@@ -7795,7 +7811,12 @@ export namespace Gimp {
7795
7811
  * @param data data to associate with that key
7796
7812
  */
7797
7813
  set_data(key: string, data?: any | null): void;
7798
- set_property(property_name: string, value: any): void;
7814
+ /**
7815
+ * Sets a property on an object.
7816
+ * @param property_name The name of the property to set
7817
+ * @param value The value to set the property to
7818
+ */
7819
+ set_property(property_name: string, value: GObject.Value | any): void;
7799
7820
  /**
7800
7821
  * Remove a specified datum from the object's data associations,
7801
7822
  * without invoking the association's destroy handler.
@@ -7945,11 +7966,31 @@ export namespace Gimp {
7945
7966
  * @param pspec
7946
7967
  */
7947
7968
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
7969
+ /**
7970
+ * 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.
7971
+ * @param id Handler ID of the handler to be disconnected
7972
+ */
7948
7973
  disconnect(id: number): void;
7974
+ /**
7975
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
7976
+ * @param properties Object containing the properties to set
7977
+ */
7949
7978
  set(properties: { [key: string]: any }): void;
7950
- block_signal_handler(id: number): any;
7951
- unblock_signal_handler(id: number): any;
7952
- stop_emission_by_name(detailedName: string): any;
7979
+ /**
7980
+ * Blocks a handler of an instance so it will not be called during any signal emissions
7981
+ * @param id Handler ID of the handler to be blocked
7982
+ */
7983
+ block_signal_handler(id: number): void;
7984
+ /**
7985
+ * Unblocks a handler so it will be called again during any signal emissions
7986
+ * @param id Handler ID of the handler to be unblocked
7987
+ */
7988
+ unblock_signal_handler(id: number): void;
7989
+ /**
7990
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
7991
+ * @param detailedName Name of the signal to stop emission of
7992
+ */
7993
+ stop_emission_by_name(detailedName: string): void;
7953
7994
  }
7954
7995
 
7955
7996
  namespace Channel {
@@ -8405,7 +8446,21 @@ export namespace Gimp {
8405
8446
  * @returns the data if found, or %NULL if no such data exists.
8406
8447
  */
8407
8448
  get_data(key: string): any | null;
8408
- get_property(property_name: string): any;
8449
+ /**
8450
+ * Gets a property of an object.
8451
+ *
8452
+ * The value can be:
8453
+ * - 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)
8454
+ * - a GObject.Value initialized with the expected type of the property
8455
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
8456
+ *
8457
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
8458
+ *
8459
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
8460
+ * @param property_name The name of the property to get
8461
+ * @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
8462
+ */
8463
+ get_property(property_name: string, value: GObject.Value | any): any;
8409
8464
  /**
8410
8465
  * This function gets back user data pointers stored via
8411
8466
  * g_object_set_qdata().
@@ -8533,7 +8588,12 @@ export namespace Gimp {
8533
8588
  * @param data data to associate with that key
8534
8589
  */
8535
8590
  set_data(key: string, data?: any | null): void;
8536
- set_property(property_name: string, value: any): void;
8591
+ /**
8592
+ * Sets a property on an object.
8593
+ * @param property_name The name of the property to set
8594
+ * @param value The value to set the property to
8595
+ */
8596
+ set_property(property_name: string, value: GObject.Value | any): void;
8537
8597
  /**
8538
8598
  * Remove a specified datum from the object's data associations,
8539
8599
  * without invoking the association's destroy handler.
@@ -8683,11 +8743,31 @@ export namespace Gimp {
8683
8743
  * @param pspec
8684
8744
  */
8685
8745
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
8746
+ /**
8747
+ * 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.
8748
+ * @param id Handler ID of the handler to be disconnected
8749
+ */
8686
8750
  disconnect(id: number): void;
8751
+ /**
8752
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
8753
+ * @param properties Object containing the properties to set
8754
+ */
8687
8755
  set(properties: { [key: string]: any }): void;
8688
- block_signal_handler(id: number): any;
8689
- unblock_signal_handler(id: number): any;
8690
- stop_emission_by_name(detailedName: string): any;
8756
+ /**
8757
+ * Blocks a handler of an instance so it will not be called during any signal emissions
8758
+ * @param id Handler ID of the handler to be blocked
8759
+ */
8760
+ block_signal_handler(id: number): void;
8761
+ /**
8762
+ * Unblocks a handler so it will be called again during any signal emissions
8763
+ * @param id Handler ID of the handler to be unblocked
8764
+ */
8765
+ unblock_signal_handler(id: number): void;
8766
+ /**
8767
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
8768
+ * @param detailedName Name of the signal to stop emission of
8769
+ */
8770
+ stop_emission_by_name(detailedName: string): void;
8691
8771
  }
8692
8772
 
8693
8773
  namespace ColorProfile {
@@ -10473,7 +10553,21 @@ export namespace Gimp {
10473
10553
  * @returns the data if found, or %NULL if no such data exists.
10474
10554
  */
10475
10555
  get_data(key: string): any | null;
10476
- get_property(property_name: string): any;
10556
+ /**
10557
+ * Gets a property of an object.
10558
+ *
10559
+ * The value can be:
10560
+ * - 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)
10561
+ * - a GObject.Value initialized with the expected type of the property
10562
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
10563
+ *
10564
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
10565
+ *
10566
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
10567
+ * @param property_name The name of the property to get
10568
+ * @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
10569
+ */
10570
+ get_property(property_name: string, value: GObject.Value | any): any;
10477
10571
  /**
10478
10572
  * This function gets back user data pointers stored via
10479
10573
  * g_object_set_qdata().
@@ -10601,7 +10695,12 @@ export namespace Gimp {
10601
10695
  * @param data data to associate with that key
10602
10696
  */
10603
10697
  set_data(key: string, data?: any | null): void;
10604
- set_property(property_name: string, value: any): void;
10698
+ /**
10699
+ * Sets a property on an object.
10700
+ * @param property_name The name of the property to set
10701
+ * @param value The value to set the property to
10702
+ */
10703
+ set_property(property_name: string, value: GObject.Value | any): void;
10605
10704
  /**
10606
10705
  * Remove a specified datum from the object's data associations,
10607
10706
  * without invoking the association's destroy handler.
@@ -10751,11 +10850,31 @@ export namespace Gimp {
10751
10850
  * @param pspec
10752
10851
  */
10753
10852
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
10853
+ /**
10854
+ * 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.
10855
+ * @param id Handler ID of the handler to be disconnected
10856
+ */
10754
10857
  disconnect(id: number): void;
10858
+ /**
10859
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
10860
+ * @param properties Object containing the properties to set
10861
+ */
10755
10862
  set(properties: { [key: string]: any }): void;
10756
- block_signal_handler(id: number): any;
10757
- unblock_signal_handler(id: number): any;
10758
- stop_emission_by_name(detailedName: string): any;
10863
+ /**
10864
+ * Blocks a handler of an instance so it will not be called during any signal emissions
10865
+ * @param id Handler ID of the handler to be blocked
10866
+ */
10867
+ block_signal_handler(id: number): void;
10868
+ /**
10869
+ * Unblocks a handler so it will be called again during any signal emissions
10870
+ * @param id Handler ID of the handler to be unblocked
10871
+ */
10872
+ unblock_signal_handler(id: number): void;
10873
+ /**
10874
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
10875
+ * @param detailedName Name of the signal to stop emission of
10876
+ */
10877
+ stop_emission_by_name(detailedName: string): void;
10759
10878
  }
10760
10879
 
10761
10880
  namespace Gradient {
@@ -11226,7 +11345,21 @@ export namespace Gimp {
11226
11345
  * @returns the data if found, or %NULL if no such data exists.
11227
11346
  */
11228
11347
  get_data(key: string): any | null;
11229
- get_property(property_name: string): any;
11348
+ /**
11349
+ * Gets a property of an object.
11350
+ *
11351
+ * The value can be:
11352
+ * - 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)
11353
+ * - a GObject.Value initialized with the expected type of the property
11354
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
11355
+ *
11356
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
11357
+ *
11358
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
11359
+ * @param property_name The name of the property to get
11360
+ * @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
11361
+ */
11362
+ get_property(property_name: string, value: GObject.Value | any): any;
11230
11363
  /**
11231
11364
  * This function gets back user data pointers stored via
11232
11365
  * g_object_set_qdata().
@@ -11354,7 +11487,12 @@ export namespace Gimp {
11354
11487
  * @param data data to associate with that key
11355
11488
  */
11356
11489
  set_data(key: string, data?: any | null): void;
11357
- set_property(property_name: string, value: any): void;
11490
+ /**
11491
+ * Sets a property on an object.
11492
+ * @param property_name The name of the property to set
11493
+ * @param value The value to set the property to
11494
+ */
11495
+ set_property(property_name: string, value: GObject.Value | any): void;
11358
11496
  /**
11359
11497
  * Remove a specified datum from the object's data associations,
11360
11498
  * without invoking the association's destroy handler.
@@ -11504,11 +11642,31 @@ export namespace Gimp {
11504
11642
  * @param pspec
11505
11643
  */
11506
11644
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
11645
+ /**
11646
+ * 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.
11647
+ * @param id Handler ID of the handler to be disconnected
11648
+ */
11507
11649
  disconnect(id: number): void;
11650
+ /**
11651
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
11652
+ * @param properties Object containing the properties to set
11653
+ */
11508
11654
  set(properties: { [key: string]: any }): void;
11509
- block_signal_handler(id: number): any;
11510
- unblock_signal_handler(id: number): any;
11511
- stop_emission_by_name(detailedName: string): any;
11655
+ /**
11656
+ * Blocks a handler of an instance so it will not be called during any signal emissions
11657
+ * @param id Handler ID of the handler to be blocked
11658
+ */
11659
+ block_signal_handler(id: number): void;
11660
+ /**
11661
+ * Unblocks a handler so it will be called again during any signal emissions
11662
+ * @param id Handler ID of the handler to be unblocked
11663
+ */
11664
+ unblock_signal_handler(id: number): void;
11665
+ /**
11666
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
11667
+ * @param detailedName Name of the signal to stop emission of
11668
+ */
11669
+ stop_emission_by_name(detailedName: string): void;
11512
11670
  }
11513
11671
 
11514
11672
  namespace GroupLayer {
@@ -15016,7 +15174,21 @@ export namespace Gimp {
15016
15174
  * @returns the data if found, or %NULL if no such data exists.
15017
15175
  */
15018
15176
  get_data(key: string): any | null;
15019
- get_property(property_name: string): any;
15177
+ /**
15178
+ * Gets a property of an object.
15179
+ *
15180
+ * The value can be:
15181
+ * - 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)
15182
+ * - a GObject.Value initialized with the expected type of the property
15183
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
15184
+ *
15185
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
15186
+ *
15187
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
15188
+ * @param property_name The name of the property to get
15189
+ * @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
15190
+ */
15191
+ get_property(property_name: string, value: GObject.Value | any): any;
15020
15192
  /**
15021
15193
  * This function gets back user data pointers stored via
15022
15194
  * g_object_set_qdata().
@@ -15144,7 +15316,12 @@ export namespace Gimp {
15144
15316
  * @param data data to associate with that key
15145
15317
  */
15146
15318
  set_data(key: string, data?: any | null): void;
15147
- set_property(property_name: string, value: any): void;
15319
+ /**
15320
+ * Sets a property on an object.
15321
+ * @param property_name The name of the property to set
15322
+ * @param value The value to set the property to
15323
+ */
15324
+ set_property(property_name: string, value: GObject.Value | any): void;
15148
15325
  /**
15149
15326
  * Remove a specified datum from the object's data associations,
15150
15327
  * without invoking the association's destroy handler.
@@ -15294,11 +15471,31 @@ export namespace Gimp {
15294
15471
  * @param pspec
15295
15472
  */
15296
15473
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
15474
+ /**
15475
+ * 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.
15476
+ * @param id Handler ID of the handler to be disconnected
15477
+ */
15297
15478
  disconnect(id: number): void;
15479
+ /**
15480
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
15481
+ * @param properties Object containing the properties to set
15482
+ */
15298
15483
  set(properties: { [key: string]: any }): void;
15299
- block_signal_handler(id: number): any;
15300
- unblock_signal_handler(id: number): any;
15301
- stop_emission_by_name(detailedName: string): any;
15484
+ /**
15485
+ * Blocks a handler of an instance so it will not be called during any signal emissions
15486
+ * @param id Handler ID of the handler to be blocked
15487
+ */
15488
+ block_signal_handler(id: number): void;
15489
+ /**
15490
+ * Unblocks a handler so it will be called again during any signal emissions
15491
+ * @param id Handler ID of the handler to be unblocked
15492
+ */
15493
+ unblock_signal_handler(id: number): void;
15494
+ /**
15495
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
15496
+ * @param detailedName Name of the signal to stop emission of
15497
+ */
15498
+ stop_emission_by_name(detailedName: string): void;
15302
15499
  }
15303
15500
 
15304
15501
  namespace ModuleDB {
@@ -15577,7 +15774,21 @@ export namespace Gimp {
15577
15774
  * @returns the data if found, or %NULL if no such data exists.
15578
15775
  */
15579
15776
  get_data(key: string): any | null;
15580
- get_property(property_name: string): any;
15777
+ /**
15778
+ * Gets a property of an object.
15779
+ *
15780
+ * The value can be:
15781
+ * - 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)
15782
+ * - a GObject.Value initialized with the expected type of the property
15783
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
15784
+ *
15785
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
15786
+ *
15787
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
15788
+ * @param property_name The name of the property to get
15789
+ * @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
15790
+ */
15791
+ get_property(property_name: string, value: GObject.Value | any): any;
15581
15792
  /**
15582
15793
  * This function gets back user data pointers stored via
15583
15794
  * g_object_set_qdata().
@@ -15705,7 +15916,12 @@ export namespace Gimp {
15705
15916
  * @param data data to associate with that key
15706
15917
  */
15707
15918
  set_data(key: string, data?: any | null): void;
15708
- set_property(property_name: string, value: any): void;
15919
+ /**
15920
+ * Sets a property on an object.
15921
+ * @param property_name The name of the property to set
15922
+ * @param value The value to set the property to
15923
+ */
15924
+ set_property(property_name: string, value: GObject.Value | any): void;
15709
15925
  /**
15710
15926
  * Remove a specified datum from the object's data associations,
15711
15927
  * without invoking the association's destroy handler.
@@ -15855,11 +16071,31 @@ export namespace Gimp {
15855
16071
  * @param pspec
15856
16072
  */
15857
16073
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
16074
+ /**
16075
+ * 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.
16076
+ * @param id Handler ID of the handler to be disconnected
16077
+ */
15858
16078
  disconnect(id: number): void;
16079
+ /**
16080
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
16081
+ * @param properties Object containing the properties to set
16082
+ */
15859
16083
  set(properties: { [key: string]: any }): void;
15860
- block_signal_handler(id: number): any;
15861
- unblock_signal_handler(id: number): any;
15862
- stop_emission_by_name(detailedName: string): any;
16084
+ /**
16085
+ * Blocks a handler of an instance so it will not be called during any signal emissions
16086
+ * @param id Handler ID of the handler to be blocked
16087
+ */
16088
+ block_signal_handler(id: number): void;
16089
+ /**
16090
+ * Unblocks a handler so it will be called again during any signal emissions
16091
+ * @param id Handler ID of the handler to be unblocked
16092
+ */
16093
+ unblock_signal_handler(id: number): void;
16094
+ /**
16095
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
16096
+ * @param detailedName Name of the signal to stop emission of
16097
+ */
16098
+ stop_emission_by_name(detailedName: string): void;
15863
16099
  }
15864
16100
 
15865
16101
  namespace PDB {
@@ -16224,7 +16460,21 @@ export namespace Gimp {
16224
16460
  * @returns the data if found, or %NULL if no such data exists.
16225
16461
  */
16226
16462
  get_data(key: string): any | null;
16227
- get_property(property_name: string): any;
16463
+ /**
16464
+ * Gets a property of an object.
16465
+ *
16466
+ * The value can be:
16467
+ * - 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)
16468
+ * - a GObject.Value initialized with the expected type of the property
16469
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
16470
+ *
16471
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
16472
+ *
16473
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
16474
+ * @param property_name The name of the property to get
16475
+ * @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
16476
+ */
16477
+ get_property(property_name: string, value: GObject.Value | any): any;
16228
16478
  /**
16229
16479
  * This function gets back user data pointers stored via
16230
16480
  * g_object_set_qdata().
@@ -16352,7 +16602,12 @@ export namespace Gimp {
16352
16602
  * @param data data to associate with that key
16353
16603
  */
16354
16604
  set_data(key: string, data?: any | null): void;
16355
- set_property(property_name: string, value: any): void;
16605
+ /**
16606
+ * Sets a property on an object.
16607
+ * @param property_name The name of the property to set
16608
+ * @param value The value to set the property to
16609
+ */
16610
+ set_property(property_name: string, value: GObject.Value | any): void;
16356
16611
  /**
16357
16612
  * Remove a specified datum from the object's data associations,
16358
16613
  * without invoking the association's destroy handler.
@@ -16502,11 +16757,31 @@ export namespace Gimp {
16502
16757
  * @param pspec
16503
16758
  */
16504
16759
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
16760
+ /**
16761
+ * 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.
16762
+ * @param id Handler ID of the handler to be disconnected
16763
+ */
16505
16764
  disconnect(id: number): void;
16765
+ /**
16766
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
16767
+ * @param properties Object containing the properties to set
16768
+ */
16506
16769
  set(properties: { [key: string]: any }): void;
16507
- block_signal_handler(id: number): any;
16508
- unblock_signal_handler(id: number): any;
16509
- stop_emission_by_name(detailedName: string): any;
16770
+ /**
16771
+ * Blocks a handler of an instance so it will not be called during any signal emissions
16772
+ * @param id Handler ID of the handler to be blocked
16773
+ */
16774
+ block_signal_handler(id: number): void;
16775
+ /**
16776
+ * Unblocks a handler so it will be called again during any signal emissions
16777
+ * @param id Handler ID of the handler to be unblocked
16778
+ */
16779
+ unblock_signal_handler(id: number): void;
16780
+ /**
16781
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
16782
+ * @param detailedName Name of the signal to stop emission of
16783
+ */
16784
+ stop_emission_by_name(detailedName: string): void;
16510
16785
  }
16511
16786
 
16512
16787
  class ParamBrush extends ParamResource {
@@ -17105,7 +17380,21 @@ export namespace Gimp {
17105
17380
  * @returns the data if found, or %NULL if no such data exists.
17106
17381
  */
17107
17382
  get_data(key: string): any | null;
17108
- get_property(property_name: string): any;
17383
+ /**
17384
+ * Gets a property of an object.
17385
+ *
17386
+ * The value can be:
17387
+ * - 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)
17388
+ * - a GObject.Value initialized with the expected type of the property
17389
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
17390
+ *
17391
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
17392
+ *
17393
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
17394
+ * @param property_name The name of the property to get
17395
+ * @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
17396
+ */
17397
+ get_property(property_name: string, value: GObject.Value | any): any;
17109
17398
  /**
17110
17399
  * This function gets back user data pointers stored via
17111
17400
  * g_object_set_qdata().
@@ -17233,7 +17522,12 @@ export namespace Gimp {
17233
17522
  * @param data data to associate with that key
17234
17523
  */
17235
17524
  set_data(key: string, data?: any | null): void;
17236
- set_property(property_name: string, value: any): void;
17525
+ /**
17526
+ * Sets a property on an object.
17527
+ * @param property_name The name of the property to set
17528
+ * @param value The value to set the property to
17529
+ */
17530
+ set_property(property_name: string, value: GObject.Value | any): void;
17237
17531
  /**
17238
17532
  * Remove a specified datum from the object's data associations,
17239
17533
  * without invoking the association's destroy handler.
@@ -17383,11 +17677,31 @@ export namespace Gimp {
17383
17677
  * @param pspec
17384
17678
  */
17385
17679
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
17680
+ /**
17681
+ * 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.
17682
+ * @param id Handler ID of the handler to be disconnected
17683
+ */
17386
17684
  disconnect(id: number): void;
17685
+ /**
17686
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
17687
+ * @param properties Object containing the properties to set
17688
+ */
17387
17689
  set(properties: { [key: string]: any }): void;
17388
- block_signal_handler(id: number): any;
17389
- unblock_signal_handler(id: number): any;
17390
- stop_emission_by_name(detailedName: string): any;
17690
+ /**
17691
+ * Blocks a handler of an instance so it will not be called during any signal emissions
17692
+ * @param id Handler ID of the handler to be blocked
17693
+ */
17694
+ block_signal_handler(id: number): void;
17695
+ /**
17696
+ * Unblocks a handler so it will be called again during any signal emissions
17697
+ * @param id Handler ID of the handler to be unblocked
17698
+ */
17699
+ unblock_signal_handler(id: number): void;
17700
+ /**
17701
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
17702
+ * @param detailedName Name of the signal to stop emission of
17703
+ */
17704
+ stop_emission_by_name(detailedName: string): void;
17391
17705
  }
17392
17706
 
17393
17707
  namespace PlugIn {
@@ -19961,7 +20275,21 @@ export namespace Gimp {
19961
20275
  * @returns the data if found, or %NULL if no such data exists.
19962
20276
  */
19963
20277
  get_data(key: string): any | null;
19964
- get_property(property_name: string): any;
20278
+ /**
20279
+ * Gets a property of an object.
20280
+ *
20281
+ * The value can be:
20282
+ * - 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)
20283
+ * - a GObject.Value initialized with the expected type of the property
20284
+ * - a GObject.Value initialized with a type to which the expected type of the property can be transformed
20285
+ *
20286
+ * In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
20287
+ *
20288
+ * Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
20289
+ * @param property_name The name of the property to get
20290
+ * @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
20291
+ */
20292
+ get_property(property_name: string, value: GObject.Value | any): any;
19965
20293
  /**
19966
20294
  * This function gets back user data pointers stored via
19967
20295
  * g_object_set_qdata().
@@ -20089,7 +20417,12 @@ export namespace Gimp {
20089
20417
  * @param data data to associate with that key
20090
20418
  */
20091
20419
  set_data(key: string, data?: any | null): void;
20092
- set_property(property_name: string, value: any): void;
20420
+ /**
20421
+ * Sets a property on an object.
20422
+ * @param property_name The name of the property to set
20423
+ * @param value The value to set the property to
20424
+ */
20425
+ set_property(property_name: string, value: GObject.Value | any): void;
20093
20426
  /**
20094
20427
  * Remove a specified datum from the object's data associations,
20095
20428
  * without invoking the association's destroy handler.
@@ -20239,11 +20572,31 @@ export namespace Gimp {
20239
20572
  * @param pspec
20240
20573
  */
20241
20574
  vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
20575
+ /**
20576
+ * 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.
20577
+ * @param id Handler ID of the handler to be disconnected
20578
+ */
20242
20579
  disconnect(id: number): void;
20580
+ /**
20581
+ * Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
20582
+ * @param properties Object containing the properties to set
20583
+ */
20243
20584
  set(properties: { [key: string]: any }): void;
20244
- block_signal_handler(id: number): any;
20245
- unblock_signal_handler(id: number): any;
20246
- stop_emission_by_name(detailedName: string): any;
20585
+ /**
20586
+ * Blocks a handler of an instance so it will not be called during any signal emissions
20587
+ * @param id Handler ID of the handler to be blocked
20588
+ */
20589
+ block_signal_handler(id: number): void;
20590
+ /**
20591
+ * Unblocks a handler so it will be called again during any signal emissions
20592
+ * @param id Handler ID of the handler to be unblocked
20593
+ */
20594
+ unblock_signal_handler(id: number): void;
20595
+ /**
20596
+ * Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
20597
+ * @param detailedName Name of the signal to stop emission of
20598
+ */
20599
+ stop_emission_by_name(detailedName: string): void;
20247
20600
  }
20248
20601
 
20249
20602
  namespace Selection {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gimp-3.0",
3
- "version": "2.99.19-4.0.0-beta.21",
3
+ "version": "2.99.19-4.0.0-beta.23",
4
4
  "description": "GJS TypeScript type definitions for Gimp-3.0, generated from library version 2.99.19",
5
5
  "type": "module",
6
6
  "module": "gimp-3.0.js",
@@ -31,18 +31,18 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/babl-0.1": "^0.1.108-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/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.21",
38
- "@girs/gegl-0.4": "^0.4.48-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/harfbuzz-0.0": "^9.0.0-4.0.0-beta.21",
45
- "@girs/pango-1.0": "^1.56.0-4.0.0-beta.21"
34
+ "@girs/babl-0.1": "^0.1.108-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/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.23",
38
+ "@girs/gegl-0.4": "^0.4.48-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/harfbuzz-0.0": "^9.0.0-4.0.0-beta.23",
45
+ "@girs/pango-1.0": "^1.56.4-4.0.0-beta.23"
46
46
  },
47
47
  "devDependencies": {
48
48
  "typescript": "*"