@girs/gitg-1.0 1.0.0-4.0.0-beta.21 → 1.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 +1 -1
- package/gitg-1.0.d.ts +269 -33
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Gitg-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for Gitg-1.0, generated from library version 1.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/gitg-1.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 '
|
|
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';
|
|
@@ -819,7 +821,21 @@ export namespace Gitg {
|
|
|
819
821
|
* @returns the data if found, or %NULL if no such data exists.
|
|
820
822
|
*/
|
|
821
823
|
get_data(key: string): any | null;
|
|
822
|
-
|
|
824
|
+
/**
|
|
825
|
+
* Gets a property of an object.
|
|
826
|
+
*
|
|
827
|
+
* The value can be:
|
|
828
|
+
* - 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)
|
|
829
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
830
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
831
|
+
*
|
|
832
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
833
|
+
*
|
|
834
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
835
|
+
* @param property_name The name of the property to get
|
|
836
|
+
* @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
|
|
837
|
+
*/
|
|
838
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
823
839
|
/**
|
|
824
840
|
* This function gets back user data pointers stored via
|
|
825
841
|
* g_object_set_qdata().
|
|
@@ -947,7 +963,12 @@ export namespace Gitg {
|
|
|
947
963
|
* @param data data to associate with that key
|
|
948
964
|
*/
|
|
949
965
|
set_data(key: string, data?: any | null): void;
|
|
950
|
-
|
|
966
|
+
/**
|
|
967
|
+
* Sets a property on an object.
|
|
968
|
+
* @param property_name The name of the property to set
|
|
969
|
+
* @param value The value to set the property to
|
|
970
|
+
*/
|
|
971
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
951
972
|
/**
|
|
952
973
|
* Remove a specified datum from the object's data associations,
|
|
953
974
|
* without invoking the association's destroy handler.
|
|
@@ -1097,11 +1118,31 @@ export namespace Gitg {
|
|
|
1097
1118
|
* @param pspec
|
|
1098
1119
|
*/
|
|
1099
1120
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
1121
|
+
/**
|
|
1122
|
+
* 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.
|
|
1123
|
+
* @param id Handler ID of the handler to be disconnected
|
|
1124
|
+
*/
|
|
1100
1125
|
disconnect(id: number): void;
|
|
1126
|
+
/**
|
|
1127
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
1128
|
+
* @param properties Object containing the properties to set
|
|
1129
|
+
*/
|
|
1101
1130
|
set(properties: { [key: string]: any }): void;
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1131
|
+
/**
|
|
1132
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
1133
|
+
* @param id Handler ID of the handler to be blocked
|
|
1134
|
+
*/
|
|
1135
|
+
block_signal_handler(id: number): void;
|
|
1136
|
+
/**
|
|
1137
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
1138
|
+
* @param id Handler ID of the handler to be unblocked
|
|
1139
|
+
*/
|
|
1140
|
+
unblock_signal_handler(id: number): void;
|
|
1141
|
+
/**
|
|
1142
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
1143
|
+
* @param detailedName Name of the signal to stop emission of
|
|
1144
|
+
*/
|
|
1145
|
+
stop_emission_by_name(detailedName: string): void;
|
|
1105
1146
|
}
|
|
1106
1147
|
|
|
1107
1148
|
namespace CommitModel {
|
|
@@ -1719,7 +1760,21 @@ export namespace Gitg {
|
|
|
1719
1760
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1720
1761
|
*/
|
|
1721
1762
|
get_data(key: string): any | null;
|
|
1722
|
-
|
|
1763
|
+
/**
|
|
1764
|
+
* Gets a property of an object.
|
|
1765
|
+
*
|
|
1766
|
+
* The value can be:
|
|
1767
|
+
* - 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)
|
|
1768
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
1769
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
1770
|
+
*
|
|
1771
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
1772
|
+
*
|
|
1773
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
1774
|
+
* @param property_name The name of the property to get
|
|
1775
|
+
* @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
|
|
1776
|
+
*/
|
|
1777
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
1723
1778
|
/**
|
|
1724
1779
|
* This function gets back user data pointers stored via
|
|
1725
1780
|
* g_object_set_qdata().
|
|
@@ -1847,7 +1902,12 @@ export namespace Gitg {
|
|
|
1847
1902
|
* @param data data to associate with that key
|
|
1848
1903
|
*/
|
|
1849
1904
|
set_data(key: string, data?: any | null): void;
|
|
1850
|
-
|
|
1905
|
+
/**
|
|
1906
|
+
* Sets a property on an object.
|
|
1907
|
+
* @param property_name The name of the property to set
|
|
1908
|
+
* @param value The value to set the property to
|
|
1909
|
+
*/
|
|
1910
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
1851
1911
|
/**
|
|
1852
1912
|
* Remove a specified datum from the object's data associations,
|
|
1853
1913
|
* without invoking the association's destroy handler.
|
|
@@ -1997,11 +2057,31 @@ export namespace Gitg {
|
|
|
1997
2057
|
* @param pspec
|
|
1998
2058
|
*/
|
|
1999
2059
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
2060
|
+
/**
|
|
2061
|
+
* 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.
|
|
2062
|
+
* @param id Handler ID of the handler to be disconnected
|
|
2063
|
+
*/
|
|
2000
2064
|
disconnect(id: number): void;
|
|
2065
|
+
/**
|
|
2066
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
2067
|
+
* @param properties Object containing the properties to set
|
|
2068
|
+
*/
|
|
2001
2069
|
set(properties: { [key: string]: any }): void;
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2070
|
+
/**
|
|
2071
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
2072
|
+
* @param id Handler ID of the handler to be blocked
|
|
2073
|
+
*/
|
|
2074
|
+
block_signal_handler(id: number): void;
|
|
2075
|
+
/**
|
|
2076
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
2077
|
+
* @param id Handler ID of the handler to be unblocked
|
|
2078
|
+
*/
|
|
2079
|
+
unblock_signal_handler(id: number): void;
|
|
2080
|
+
/**
|
|
2081
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
2082
|
+
* @param detailedName Name of the signal to stop emission of
|
|
2083
|
+
*/
|
|
2084
|
+
stop_emission_by_name(detailedName: string): void;
|
|
2005
2085
|
}
|
|
2006
2086
|
|
|
2007
2087
|
namespace Commit {
|
|
@@ -2147,7 +2227,7 @@ export namespace Gitg {
|
|
|
2147
2227
|
* If the object is not initialized, or initialization returns with an
|
|
2148
2228
|
* error, then all operations on the object except g_object_ref() and
|
|
2149
2229
|
* g_object_unref() are considered to be invalid, and have undefined
|
|
2150
|
-
* behaviour. See the [
|
|
2230
|
+
* behaviour. See the [description][iface`Gio`.Initable#description] for more details.
|
|
2151
2231
|
*
|
|
2152
2232
|
* Callers should not assume that a class which implements #GInitable can be
|
|
2153
2233
|
* initialized multiple times, unless the class explicitly documents itself as
|
|
@@ -2190,7 +2270,7 @@ export namespace Gitg {
|
|
|
2190
2270
|
* If the object is not initialized, or initialization returns with an
|
|
2191
2271
|
* error, then all operations on the object except g_object_ref() and
|
|
2192
2272
|
* g_object_unref() are considered to be invalid, and have undefined
|
|
2193
|
-
* behaviour. See the [
|
|
2273
|
+
* behaviour. See the [description][iface`Gio`.Initable#description] for more details.
|
|
2194
2274
|
*
|
|
2195
2275
|
* Callers should not assume that a class which implements #GInitable can be
|
|
2196
2276
|
* initialized multiple times, unless the class explicitly documents itself as
|
|
@@ -2330,7 +2410,21 @@ export namespace Gitg {
|
|
|
2330
2410
|
* @returns the data if found, or %NULL if no such data exists.
|
|
2331
2411
|
*/
|
|
2332
2412
|
get_data(key: string): any | null;
|
|
2333
|
-
|
|
2413
|
+
/**
|
|
2414
|
+
* Gets a property of an object.
|
|
2415
|
+
*
|
|
2416
|
+
* The value can be:
|
|
2417
|
+
* - 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)
|
|
2418
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
2419
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
2420
|
+
*
|
|
2421
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
2422
|
+
*
|
|
2423
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
2424
|
+
* @param property_name The name of the property to get
|
|
2425
|
+
* @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
|
|
2426
|
+
*/
|
|
2427
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
2334
2428
|
/**
|
|
2335
2429
|
* This function gets back user data pointers stored via
|
|
2336
2430
|
* g_object_set_qdata().
|
|
@@ -2458,7 +2552,12 @@ export namespace Gitg {
|
|
|
2458
2552
|
* @param data data to associate with that key
|
|
2459
2553
|
*/
|
|
2460
2554
|
set_data(key: string, data?: any | null): void;
|
|
2461
|
-
|
|
2555
|
+
/**
|
|
2556
|
+
* Sets a property on an object.
|
|
2557
|
+
* @param property_name The name of the property to set
|
|
2558
|
+
* @param value The value to set the property to
|
|
2559
|
+
*/
|
|
2560
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
2462
2561
|
/**
|
|
2463
2562
|
* Remove a specified datum from the object's data associations,
|
|
2464
2563
|
* without invoking the association's destroy handler.
|
|
@@ -2608,11 +2707,31 @@ export namespace Gitg {
|
|
|
2608
2707
|
* @param pspec
|
|
2609
2708
|
*/
|
|
2610
2709
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
2710
|
+
/**
|
|
2711
|
+
* 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.
|
|
2712
|
+
* @param id Handler ID of the handler to be disconnected
|
|
2713
|
+
*/
|
|
2611
2714
|
disconnect(id: number): void;
|
|
2715
|
+
/**
|
|
2716
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
2717
|
+
* @param properties Object containing the properties to set
|
|
2718
|
+
*/
|
|
2612
2719
|
set(properties: { [key: string]: any }): void;
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2720
|
+
/**
|
|
2721
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
2722
|
+
* @param id Handler ID of the handler to be blocked
|
|
2723
|
+
*/
|
|
2724
|
+
block_signal_handler(id: number): void;
|
|
2725
|
+
/**
|
|
2726
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
2727
|
+
* @param id Handler ID of the handler to be unblocked
|
|
2728
|
+
*/
|
|
2729
|
+
unblock_signal_handler(id: number): void;
|
|
2730
|
+
/**
|
|
2731
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
2732
|
+
* @param detailedName Name of the signal to stop emission of
|
|
2733
|
+
*/
|
|
2734
|
+
stop_emission_by_name(detailedName: string): void;
|
|
2616
2735
|
}
|
|
2617
2736
|
|
|
2618
2737
|
namespace DiffStat {
|
|
@@ -3955,7 +4074,21 @@ export namespace Gitg {
|
|
|
3955
4074
|
* @returns the data if found, or %NULL if no such data exists.
|
|
3956
4075
|
*/
|
|
3957
4076
|
get_data(key: string): any | null;
|
|
3958
|
-
|
|
4077
|
+
/**
|
|
4078
|
+
* Gets a property of an object.
|
|
4079
|
+
*
|
|
4080
|
+
* The value can be:
|
|
4081
|
+
* - 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)
|
|
4082
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
4083
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
4084
|
+
*
|
|
4085
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
4086
|
+
*
|
|
4087
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
4088
|
+
* @param property_name The name of the property to get
|
|
4089
|
+
* @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
|
|
4090
|
+
*/
|
|
4091
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
3959
4092
|
/**
|
|
3960
4093
|
* This function gets back user data pointers stored via
|
|
3961
4094
|
* g_object_set_qdata().
|
|
@@ -4083,7 +4216,12 @@ export namespace Gitg {
|
|
|
4083
4216
|
* @param data data to associate with that key
|
|
4084
4217
|
*/
|
|
4085
4218
|
set_data(key: string, data?: any | null): void;
|
|
4086
|
-
|
|
4219
|
+
/**
|
|
4220
|
+
* Sets a property on an object.
|
|
4221
|
+
* @param property_name The name of the property to set
|
|
4222
|
+
* @param value The value to set the property to
|
|
4223
|
+
*/
|
|
4224
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
4087
4225
|
/**
|
|
4088
4226
|
* Remove a specified datum from the object's data associations,
|
|
4089
4227
|
* without invoking the association's destroy handler.
|
|
@@ -4233,11 +4371,31 @@ export namespace Gitg {
|
|
|
4233
4371
|
* @param pspec
|
|
4234
4372
|
*/
|
|
4235
4373
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
4374
|
+
/**
|
|
4375
|
+
* 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.
|
|
4376
|
+
* @param id Handler ID of the handler to be disconnected
|
|
4377
|
+
*/
|
|
4236
4378
|
disconnect(id: number): void;
|
|
4379
|
+
/**
|
|
4380
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
4381
|
+
* @param properties Object containing the properties to set
|
|
4382
|
+
*/
|
|
4237
4383
|
set(properties: { [key: string]: any }): void;
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4384
|
+
/**
|
|
4385
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
4386
|
+
* @param id Handler ID of the handler to be blocked
|
|
4387
|
+
*/
|
|
4388
|
+
block_signal_handler(id: number): void;
|
|
4389
|
+
/**
|
|
4390
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
4391
|
+
* @param id Handler ID of the handler to be unblocked
|
|
4392
|
+
*/
|
|
4393
|
+
unblock_signal_handler(id: number): void;
|
|
4394
|
+
/**
|
|
4395
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
4396
|
+
* @param detailedName Name of the signal to stop emission of
|
|
4397
|
+
*/
|
|
4398
|
+
stop_emission_by_name(detailedName: string): void;
|
|
4241
4399
|
}
|
|
4242
4400
|
|
|
4243
4401
|
namespace SidebarStoreSidebarHeader {
|
|
@@ -4506,7 +4664,21 @@ export namespace Gitg {
|
|
|
4506
4664
|
* @returns the data if found, or %NULL if no such data exists.
|
|
4507
4665
|
*/
|
|
4508
4666
|
get_data(key: string): any | null;
|
|
4509
|
-
|
|
4667
|
+
/**
|
|
4668
|
+
* Gets a property of an object.
|
|
4669
|
+
*
|
|
4670
|
+
* The value can be:
|
|
4671
|
+
* - 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)
|
|
4672
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
4673
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
4674
|
+
*
|
|
4675
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
4676
|
+
*
|
|
4677
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
4678
|
+
* @param property_name The name of the property to get
|
|
4679
|
+
* @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
|
|
4680
|
+
*/
|
|
4681
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
4510
4682
|
/**
|
|
4511
4683
|
* This function gets back user data pointers stored via
|
|
4512
4684
|
* g_object_set_qdata().
|
|
@@ -4634,7 +4806,12 @@ export namespace Gitg {
|
|
|
4634
4806
|
* @param data data to associate with that key
|
|
4635
4807
|
*/
|
|
4636
4808
|
set_data(key: string, data?: any | null): void;
|
|
4637
|
-
|
|
4809
|
+
/**
|
|
4810
|
+
* Sets a property on an object.
|
|
4811
|
+
* @param property_name The name of the property to set
|
|
4812
|
+
* @param value The value to set the property to
|
|
4813
|
+
*/
|
|
4814
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
4638
4815
|
/**
|
|
4639
4816
|
* Remove a specified datum from the object's data associations,
|
|
4640
4817
|
* without invoking the association's destroy handler.
|
|
@@ -4784,11 +4961,31 @@ export namespace Gitg {
|
|
|
4784
4961
|
* @param pspec
|
|
4785
4962
|
*/
|
|
4786
4963
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
4964
|
+
/**
|
|
4965
|
+
* 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.
|
|
4966
|
+
* @param id Handler ID of the handler to be disconnected
|
|
4967
|
+
*/
|
|
4787
4968
|
disconnect(id: number): void;
|
|
4969
|
+
/**
|
|
4970
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
4971
|
+
* @param properties Object containing the properties to set
|
|
4972
|
+
*/
|
|
4788
4973
|
set(properties: { [key: string]: any }): void;
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4974
|
+
/**
|
|
4975
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
4976
|
+
* @param id Handler ID of the handler to be blocked
|
|
4977
|
+
*/
|
|
4978
|
+
block_signal_handler(id: number): void;
|
|
4979
|
+
/**
|
|
4980
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
4981
|
+
* @param id Handler ID of the handler to be unblocked
|
|
4982
|
+
*/
|
|
4983
|
+
unblock_signal_handler(id: number): void;
|
|
4984
|
+
/**
|
|
4985
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
4986
|
+
* @param detailedName Name of the signal to stop emission of
|
|
4987
|
+
*/
|
|
4988
|
+
stop_emission_by_name(detailedName: string): void;
|
|
4792
4989
|
}
|
|
4793
4990
|
|
|
4794
4991
|
namespace StageStatusSubmodule {
|
|
@@ -4965,7 +5162,21 @@ export namespace Gitg {
|
|
|
4965
5162
|
* @returns the data if found, or %NULL if no such data exists.
|
|
4966
5163
|
*/
|
|
4967
5164
|
get_data(key: string): any | null;
|
|
4968
|
-
|
|
5165
|
+
/**
|
|
5166
|
+
* Gets a property of an object.
|
|
5167
|
+
*
|
|
5168
|
+
* The value can be:
|
|
5169
|
+
* - 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)
|
|
5170
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
5171
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
5172
|
+
*
|
|
5173
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
5174
|
+
*
|
|
5175
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
5176
|
+
* @param property_name The name of the property to get
|
|
5177
|
+
* @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
|
|
5178
|
+
*/
|
|
5179
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
4969
5180
|
/**
|
|
4970
5181
|
* This function gets back user data pointers stored via
|
|
4971
5182
|
* g_object_set_qdata().
|
|
@@ -5093,7 +5304,12 @@ export namespace Gitg {
|
|
|
5093
5304
|
* @param data data to associate with that key
|
|
5094
5305
|
*/
|
|
5095
5306
|
set_data(key: string, data?: any | null): void;
|
|
5096
|
-
|
|
5307
|
+
/**
|
|
5308
|
+
* Sets a property on an object.
|
|
5309
|
+
* @param property_name The name of the property to set
|
|
5310
|
+
* @param value The value to set the property to
|
|
5311
|
+
*/
|
|
5312
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
5097
5313
|
/**
|
|
5098
5314
|
* Remove a specified datum from the object's data associations,
|
|
5099
5315
|
* without invoking the association's destroy handler.
|
|
@@ -5243,11 +5459,31 @@ export namespace Gitg {
|
|
|
5243
5459
|
* @param pspec
|
|
5244
5460
|
*/
|
|
5245
5461
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
5462
|
+
/**
|
|
5463
|
+
* 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.
|
|
5464
|
+
* @param id Handler ID of the handler to be disconnected
|
|
5465
|
+
*/
|
|
5246
5466
|
disconnect(id: number): void;
|
|
5467
|
+
/**
|
|
5468
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
5469
|
+
* @param properties Object containing the properties to set
|
|
5470
|
+
*/
|
|
5247
5471
|
set(properties: { [key: string]: any }): void;
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5472
|
+
/**
|
|
5473
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
5474
|
+
* @param id Handler ID of the handler to be blocked
|
|
5475
|
+
*/
|
|
5476
|
+
block_signal_handler(id: number): void;
|
|
5477
|
+
/**
|
|
5478
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
5479
|
+
* @param id Handler ID of the handler to be unblocked
|
|
5480
|
+
*/
|
|
5481
|
+
unblock_signal_handler(id: number): void;
|
|
5482
|
+
/**
|
|
5483
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
5484
|
+
* @param detailedName Name of the signal to stop emission of
|
|
5485
|
+
*/
|
|
5486
|
+
stop_emission_by_name(detailedName: string): void;
|
|
5251
5487
|
}
|
|
5252
5488
|
|
|
5253
5489
|
namespace StageStatusEnumerator {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gitg-1.0",
|
|
3
|
-
"version": "1.0.0-4.0.0-beta.
|
|
3
|
+
"version": "1.0.0-4.0.0-beta.23",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Gitg-1.0, generated from library version 1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gitg-1.0.js",
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/atk-1.0": "^2.
|
|
35
|
-
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.
|
|
36
|
-
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.
|
|
37
|
-
"@girs/gdk-3.0": "^3.24.
|
|
38
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.
|
|
39
|
-
"@girs/gee-0.8": "^0.8.0-4.0.0-beta.
|
|
40
|
-
"@girs/ggit-1.0": "^1.2.
|
|
41
|
-
"@girs/gio-2.0": "^2.
|
|
42
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
43
|
-
"@girs/glib-2.0": "^2.
|
|
44
|
-
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.
|
|
45
|
-
"@girs/gobject-2.0": "^2.
|
|
46
|
-
"@girs/gtk-3.0": "^3.24.
|
|
47
|
-
"@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.
|
|
48
|
-
"@girs/pango-1.0": "^1.56.
|
|
49
|
-
"@girs/xlib-2.0": "^2.0.0-4.0.0-beta.
|
|
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/gee-0.8": "^0.8.0-4.0.0-beta.23",
|
|
40
|
+
"@girs/ggit-1.0": "^1.2.1-4.0.0-beta.23",
|
|
41
|
+
"@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
|
|
42
|
+
"@girs/gjs": "^4.0.0-beta.23",
|
|
43
|
+
"@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
|
|
44
|
+
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
|
|
45
|
+
"@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23",
|
|
46
|
+
"@girs/gtk-3.0": "^3.24.50-4.0.0-beta.23",
|
|
47
|
+
"@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.23",
|
|
48
|
+
"@girs/pango-1.0": "^1.56.4-4.0.0-beta.23",
|
|
49
|
+
"@girs/xlib-2.0": "^2.0.0-4.0.0-beta.23"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"typescript": "*"
|