@girs/gtksource-4 4.0.0-4.0.0-beta.21 → 4.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/gtksource-4.d.ts +355 -41
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GtkSource-4, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for GtkSource-4, generated from library version 4.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/gtksource-4.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 '
|
|
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';
|
|
@@ -1618,7 +1620,21 @@ export namespace GtkSource {
|
|
|
1618
1620
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1619
1621
|
*/
|
|
1620
1622
|
get_data(key: string): any | null;
|
|
1621
|
-
|
|
1623
|
+
/**
|
|
1624
|
+
* Gets a property of an object.
|
|
1625
|
+
*
|
|
1626
|
+
* The value can be:
|
|
1627
|
+
* - 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)
|
|
1628
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
1629
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
1630
|
+
*
|
|
1631
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
1632
|
+
*
|
|
1633
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
1634
|
+
* @param property_name The name of the property to get
|
|
1635
|
+
* @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
|
|
1636
|
+
*/
|
|
1637
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
1622
1638
|
/**
|
|
1623
1639
|
* This function gets back user data pointers stored via
|
|
1624
1640
|
* g_object_set_qdata().
|
|
@@ -1746,7 +1762,12 @@ export namespace GtkSource {
|
|
|
1746
1762
|
* @param data data to associate with that key
|
|
1747
1763
|
*/
|
|
1748
1764
|
set_data(key: string, data?: any | null): void;
|
|
1749
|
-
|
|
1765
|
+
/**
|
|
1766
|
+
* Sets a property on an object.
|
|
1767
|
+
* @param property_name The name of the property to set
|
|
1768
|
+
* @param value The value to set the property to
|
|
1769
|
+
*/
|
|
1770
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
1750
1771
|
/**
|
|
1751
1772
|
* Remove a specified datum from the object's data associations,
|
|
1752
1773
|
* without invoking the association's destroy handler.
|
|
@@ -1896,11 +1917,31 @@ export namespace GtkSource {
|
|
|
1896
1917
|
* @param pspec
|
|
1897
1918
|
*/
|
|
1898
1919
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
1920
|
+
/**
|
|
1921
|
+
* 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.
|
|
1922
|
+
* @param id Handler ID of the handler to be disconnected
|
|
1923
|
+
*/
|
|
1899
1924
|
disconnect(id: number): void;
|
|
1925
|
+
/**
|
|
1926
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
1927
|
+
* @param properties Object containing the properties to set
|
|
1928
|
+
*/
|
|
1900
1929
|
set(properties: { [key: string]: any }): void;
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1930
|
+
/**
|
|
1931
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
1932
|
+
* @param id Handler ID of the handler to be blocked
|
|
1933
|
+
*/
|
|
1934
|
+
block_signal_handler(id: number): void;
|
|
1935
|
+
/**
|
|
1936
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
1937
|
+
* @param id Handler ID of the handler to be unblocked
|
|
1938
|
+
*/
|
|
1939
|
+
unblock_signal_handler(id: number): void;
|
|
1940
|
+
/**
|
|
1941
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
1942
|
+
* @param detailedName Name of the signal to stop emission of
|
|
1943
|
+
*/
|
|
1944
|
+
stop_emission_by_name(detailedName: string): void;
|
|
1904
1945
|
}
|
|
1905
1946
|
|
|
1906
1947
|
namespace CompletionContext {
|
|
@@ -2135,7 +2176,21 @@ export namespace GtkSource {
|
|
|
2135
2176
|
* @returns the data if found, or %NULL if no such data exists.
|
|
2136
2177
|
*/
|
|
2137
2178
|
get_data(key: string): any | null;
|
|
2138
|
-
|
|
2179
|
+
/**
|
|
2180
|
+
* Gets a property of an object.
|
|
2181
|
+
*
|
|
2182
|
+
* The value can be:
|
|
2183
|
+
* - 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)
|
|
2184
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
2185
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
2186
|
+
*
|
|
2187
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
2188
|
+
*
|
|
2189
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
2190
|
+
* @param property_name The name of the property to get
|
|
2191
|
+
* @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
|
|
2192
|
+
*/
|
|
2193
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
2139
2194
|
/**
|
|
2140
2195
|
* This function gets back user data pointers stored via
|
|
2141
2196
|
* g_object_set_qdata().
|
|
@@ -2263,7 +2318,12 @@ export namespace GtkSource {
|
|
|
2263
2318
|
* @param data data to associate with that key
|
|
2264
2319
|
*/
|
|
2265
2320
|
set_data(key: string, data?: any | null): void;
|
|
2266
|
-
|
|
2321
|
+
/**
|
|
2322
|
+
* Sets a property on an object.
|
|
2323
|
+
* @param property_name The name of the property to set
|
|
2324
|
+
* @param value The value to set the property to
|
|
2325
|
+
*/
|
|
2326
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
2267
2327
|
/**
|
|
2268
2328
|
* Remove a specified datum from the object's data associations,
|
|
2269
2329
|
* without invoking the association's destroy handler.
|
|
@@ -2413,11 +2473,31 @@ export namespace GtkSource {
|
|
|
2413
2473
|
* @param pspec
|
|
2414
2474
|
*/
|
|
2415
2475
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
2476
|
+
/**
|
|
2477
|
+
* 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.
|
|
2478
|
+
* @param id Handler ID of the handler to be disconnected
|
|
2479
|
+
*/
|
|
2416
2480
|
disconnect(id: number): void;
|
|
2481
|
+
/**
|
|
2482
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
2483
|
+
* @param properties Object containing the properties to set
|
|
2484
|
+
*/
|
|
2417
2485
|
set(properties: { [key: string]: any }): void;
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2486
|
+
/**
|
|
2487
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
2488
|
+
* @param id Handler ID of the handler to be blocked
|
|
2489
|
+
*/
|
|
2490
|
+
block_signal_handler(id: number): void;
|
|
2491
|
+
/**
|
|
2492
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
2493
|
+
* @param id Handler ID of the handler to be unblocked
|
|
2494
|
+
*/
|
|
2495
|
+
unblock_signal_handler(id: number): void;
|
|
2496
|
+
/**
|
|
2497
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
2498
|
+
* @param detailedName Name of the signal to stop emission of
|
|
2499
|
+
*/
|
|
2500
|
+
stop_emission_by_name(detailedName: string): void;
|
|
2421
2501
|
}
|
|
2422
2502
|
|
|
2423
2503
|
namespace CompletionItem {
|
|
@@ -2746,7 +2826,21 @@ export namespace GtkSource {
|
|
|
2746
2826
|
* @returns the data if found, or %NULL if no such data exists.
|
|
2747
2827
|
*/
|
|
2748
2828
|
get_data(key: string): any | null;
|
|
2749
|
-
|
|
2829
|
+
/**
|
|
2830
|
+
* Gets a property of an object.
|
|
2831
|
+
*
|
|
2832
|
+
* The value can be:
|
|
2833
|
+
* - 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)
|
|
2834
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
2835
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
2836
|
+
*
|
|
2837
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
2838
|
+
*
|
|
2839
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
2840
|
+
* @param property_name The name of the property to get
|
|
2841
|
+
* @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
|
|
2842
|
+
*/
|
|
2843
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
2750
2844
|
/**
|
|
2751
2845
|
* This function gets back user data pointers stored via
|
|
2752
2846
|
* g_object_set_qdata().
|
|
@@ -2874,7 +2968,12 @@ export namespace GtkSource {
|
|
|
2874
2968
|
* @param data data to associate with that key
|
|
2875
2969
|
*/
|
|
2876
2970
|
set_data(key: string, data?: any | null): void;
|
|
2877
|
-
|
|
2971
|
+
/**
|
|
2972
|
+
* Sets a property on an object.
|
|
2973
|
+
* @param property_name The name of the property to set
|
|
2974
|
+
* @param value The value to set the property to
|
|
2975
|
+
*/
|
|
2976
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
2878
2977
|
/**
|
|
2879
2978
|
* Remove a specified datum from the object's data associations,
|
|
2880
2979
|
* without invoking the association's destroy handler.
|
|
@@ -3024,11 +3123,31 @@ export namespace GtkSource {
|
|
|
3024
3123
|
* @param pspec
|
|
3025
3124
|
*/
|
|
3026
3125
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
3126
|
+
/**
|
|
3127
|
+
* 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.
|
|
3128
|
+
* @param id Handler ID of the handler to be disconnected
|
|
3129
|
+
*/
|
|
3027
3130
|
disconnect(id: number): void;
|
|
3131
|
+
/**
|
|
3132
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
3133
|
+
* @param properties Object containing the properties to set
|
|
3134
|
+
*/
|
|
3028
3135
|
set(properties: { [key: string]: any }): void;
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3136
|
+
/**
|
|
3137
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
3138
|
+
* @param id Handler ID of the handler to be blocked
|
|
3139
|
+
*/
|
|
3140
|
+
block_signal_handler(id: number): void;
|
|
3141
|
+
/**
|
|
3142
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
3143
|
+
* @param id Handler ID of the handler to be unblocked
|
|
3144
|
+
*/
|
|
3145
|
+
unblock_signal_handler(id: number): void;
|
|
3146
|
+
/**
|
|
3147
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
3148
|
+
* @param detailedName Name of the signal to stop emission of
|
|
3149
|
+
*/
|
|
3150
|
+
stop_emission_by_name(detailedName: string): void;
|
|
3032
3151
|
}
|
|
3033
3152
|
|
|
3034
3153
|
namespace CompletionWords {
|
|
@@ -3453,7 +3572,21 @@ export namespace GtkSource {
|
|
|
3453
3572
|
* @returns the data if found, or %NULL if no such data exists.
|
|
3454
3573
|
*/
|
|
3455
3574
|
get_data(key: string): any | null;
|
|
3456
|
-
|
|
3575
|
+
/**
|
|
3576
|
+
* Gets a property of an object.
|
|
3577
|
+
*
|
|
3578
|
+
* The value can be:
|
|
3579
|
+
* - 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)
|
|
3580
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
3581
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
3582
|
+
*
|
|
3583
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
3584
|
+
*
|
|
3585
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
3586
|
+
* @param property_name The name of the property to get
|
|
3587
|
+
* @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
|
|
3588
|
+
*/
|
|
3589
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
3457
3590
|
/**
|
|
3458
3591
|
* This function gets back user data pointers stored via
|
|
3459
3592
|
* g_object_set_qdata().
|
|
@@ -3581,7 +3714,12 @@ export namespace GtkSource {
|
|
|
3581
3714
|
* @param data data to associate with that key
|
|
3582
3715
|
*/
|
|
3583
3716
|
set_data(key: string, data?: any | null): void;
|
|
3584
|
-
|
|
3717
|
+
/**
|
|
3718
|
+
* Sets a property on an object.
|
|
3719
|
+
* @param property_name The name of the property to set
|
|
3720
|
+
* @param value The value to set the property to
|
|
3721
|
+
*/
|
|
3722
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
3585
3723
|
/**
|
|
3586
3724
|
* Remove a specified datum from the object's data associations,
|
|
3587
3725
|
* without invoking the association's destroy handler.
|
|
@@ -3731,11 +3869,31 @@ export namespace GtkSource {
|
|
|
3731
3869
|
* @param pspec
|
|
3732
3870
|
*/
|
|
3733
3871
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
3872
|
+
/**
|
|
3873
|
+
* 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.
|
|
3874
|
+
* @param id Handler ID of the handler to be disconnected
|
|
3875
|
+
*/
|
|
3734
3876
|
disconnect(id: number): void;
|
|
3877
|
+
/**
|
|
3878
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
3879
|
+
* @param properties Object containing the properties to set
|
|
3880
|
+
*/
|
|
3735
3881
|
set(properties: { [key: string]: any }): void;
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3882
|
+
/**
|
|
3883
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
3884
|
+
* @param id Handler ID of the handler to be blocked
|
|
3885
|
+
*/
|
|
3886
|
+
block_signal_handler(id: number): void;
|
|
3887
|
+
/**
|
|
3888
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
3889
|
+
* @param id Handler ID of the handler to be unblocked
|
|
3890
|
+
*/
|
|
3891
|
+
unblock_signal_handler(id: number): void;
|
|
3892
|
+
/**
|
|
3893
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
3894
|
+
* @param detailedName Name of the signal to stop emission of
|
|
3895
|
+
*/
|
|
3896
|
+
stop_emission_by_name(detailedName: string): void;
|
|
3739
3897
|
}
|
|
3740
3898
|
|
|
3741
3899
|
namespace File {
|
|
@@ -5204,7 +5362,21 @@ export namespace GtkSource {
|
|
|
5204
5362
|
* @returns the data if found, or %NULL if no such data exists.
|
|
5205
5363
|
*/
|
|
5206
5364
|
get_data(key: string): any | null;
|
|
5207
|
-
|
|
5365
|
+
/**
|
|
5366
|
+
* Gets a property of an object.
|
|
5367
|
+
*
|
|
5368
|
+
* The value can be:
|
|
5369
|
+
* - 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)
|
|
5370
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
5371
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
5372
|
+
*
|
|
5373
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
5374
|
+
*
|
|
5375
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
5376
|
+
* @param property_name The name of the property to get
|
|
5377
|
+
* @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
|
|
5378
|
+
*/
|
|
5379
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
5208
5380
|
/**
|
|
5209
5381
|
* This function gets back user data pointers stored via
|
|
5210
5382
|
* g_object_set_qdata().
|
|
@@ -5332,7 +5504,12 @@ export namespace GtkSource {
|
|
|
5332
5504
|
* @param data data to associate with that key
|
|
5333
5505
|
*/
|
|
5334
5506
|
set_data(key: string, data?: any | null): void;
|
|
5335
|
-
|
|
5507
|
+
/**
|
|
5508
|
+
* Sets a property on an object.
|
|
5509
|
+
* @param property_name The name of the property to set
|
|
5510
|
+
* @param value The value to set the property to
|
|
5511
|
+
*/
|
|
5512
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
5336
5513
|
/**
|
|
5337
5514
|
* Remove a specified datum from the object's data associations,
|
|
5338
5515
|
* without invoking the association's destroy handler.
|
|
@@ -5482,11 +5659,31 @@ export namespace GtkSource {
|
|
|
5482
5659
|
* @param pspec
|
|
5483
5660
|
*/
|
|
5484
5661
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
5662
|
+
/**
|
|
5663
|
+
* 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.
|
|
5664
|
+
* @param id Handler ID of the handler to be disconnected
|
|
5665
|
+
*/
|
|
5485
5666
|
disconnect(id: number): void;
|
|
5667
|
+
/**
|
|
5668
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
5669
|
+
* @param properties Object containing the properties to set
|
|
5670
|
+
*/
|
|
5486
5671
|
set(properties: { [key: string]: any }): void;
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5672
|
+
/**
|
|
5673
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
5674
|
+
* @param id Handler ID of the handler to be blocked
|
|
5675
|
+
*/
|
|
5676
|
+
block_signal_handler(id: number): void;
|
|
5677
|
+
/**
|
|
5678
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
5679
|
+
* @param id Handler ID of the handler to be unblocked
|
|
5680
|
+
*/
|
|
5681
|
+
unblock_signal_handler(id: number): void;
|
|
5682
|
+
/**
|
|
5683
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
5684
|
+
* @param detailedName Name of the signal to stop emission of
|
|
5685
|
+
*/
|
|
5686
|
+
stop_emission_by_name(detailedName: string): void;
|
|
5490
5687
|
}
|
|
5491
5688
|
|
|
5492
5689
|
namespace Mark {
|
|
@@ -7988,7 +8185,21 @@ export namespace GtkSource {
|
|
|
7988
8185
|
* @returns the data if found, or %NULL if no such data exists.
|
|
7989
8186
|
*/
|
|
7990
8187
|
get_data(key: string): any | null;
|
|
7991
|
-
|
|
8188
|
+
/**
|
|
8189
|
+
* Gets a property of an object.
|
|
8190
|
+
*
|
|
8191
|
+
* The value can be:
|
|
8192
|
+
* - 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)
|
|
8193
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
8194
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
8195
|
+
*
|
|
8196
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
8197
|
+
*
|
|
8198
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
8199
|
+
* @param property_name The name of the property to get
|
|
8200
|
+
* @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
|
|
8201
|
+
*/
|
|
8202
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
7992
8203
|
/**
|
|
7993
8204
|
* This function gets back user data pointers stored via
|
|
7994
8205
|
* g_object_set_qdata().
|
|
@@ -8116,7 +8327,12 @@ export namespace GtkSource {
|
|
|
8116
8327
|
* @param data data to associate with that key
|
|
8117
8328
|
*/
|
|
8118
8329
|
set_data(key: string, data?: any | null): void;
|
|
8119
|
-
|
|
8330
|
+
/**
|
|
8331
|
+
* Sets a property on an object.
|
|
8332
|
+
* @param property_name The name of the property to set
|
|
8333
|
+
* @param value The value to set the property to
|
|
8334
|
+
*/
|
|
8335
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
8120
8336
|
/**
|
|
8121
8337
|
* Remove a specified datum from the object's data associations,
|
|
8122
8338
|
* without invoking the association's destroy handler.
|
|
@@ -8266,11 +8482,31 @@ export namespace GtkSource {
|
|
|
8266
8482
|
* @param pspec
|
|
8267
8483
|
*/
|
|
8268
8484
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
8485
|
+
/**
|
|
8486
|
+
* 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.
|
|
8487
|
+
* @param id Handler ID of the handler to be disconnected
|
|
8488
|
+
*/
|
|
8269
8489
|
disconnect(id: number): void;
|
|
8490
|
+
/**
|
|
8491
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
8492
|
+
* @param properties Object containing the properties to set
|
|
8493
|
+
*/
|
|
8270
8494
|
set(properties: { [key: string]: any }): void;
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8495
|
+
/**
|
|
8496
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
8497
|
+
* @param id Handler ID of the handler to be blocked
|
|
8498
|
+
*/
|
|
8499
|
+
block_signal_handler(id: number): void;
|
|
8500
|
+
/**
|
|
8501
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
8502
|
+
* @param id Handler ID of the handler to be unblocked
|
|
8503
|
+
*/
|
|
8504
|
+
unblock_signal_handler(id: number): void;
|
|
8505
|
+
/**
|
|
8506
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
8507
|
+
* @param detailedName Name of the signal to stop emission of
|
|
8508
|
+
*/
|
|
8509
|
+
stop_emission_by_name(detailedName: string): void;
|
|
8274
8510
|
/**
|
|
8275
8511
|
* For widgets that can be “activated” (buttons, menu items, etc.)
|
|
8276
8512
|
* this function activates them. Activation is what happens when you
|
|
@@ -11921,7 +12157,21 @@ export namespace GtkSource {
|
|
|
11921
12157
|
* @returns the data if found, or %NULL if no such data exists.
|
|
11922
12158
|
*/
|
|
11923
12159
|
get_data(key: string): any | null;
|
|
11924
|
-
|
|
12160
|
+
/**
|
|
12161
|
+
* Gets a property of an object.
|
|
12162
|
+
*
|
|
12163
|
+
* The value can be:
|
|
12164
|
+
* - 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)
|
|
12165
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
12166
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
12167
|
+
*
|
|
12168
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
12169
|
+
*
|
|
12170
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
12171
|
+
* @param property_name The name of the property to get
|
|
12172
|
+
* @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
|
|
12173
|
+
*/
|
|
12174
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
11925
12175
|
/**
|
|
11926
12176
|
* This function gets back user data pointers stored via
|
|
11927
12177
|
* g_object_set_qdata().
|
|
@@ -12049,7 +12299,12 @@ export namespace GtkSource {
|
|
|
12049
12299
|
* @param data data to associate with that key
|
|
12050
12300
|
*/
|
|
12051
12301
|
set_data(key: string, data?: any | null): void;
|
|
12052
|
-
|
|
12302
|
+
/**
|
|
12303
|
+
* Sets a property on an object.
|
|
12304
|
+
* @param property_name The name of the property to set
|
|
12305
|
+
* @param value The value to set the property to
|
|
12306
|
+
*/
|
|
12307
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
12053
12308
|
/**
|
|
12054
12309
|
* Remove a specified datum from the object's data associations,
|
|
12055
12310
|
* without invoking the association's destroy handler.
|
|
@@ -12199,11 +12454,31 @@ export namespace GtkSource {
|
|
|
12199
12454
|
* @param pspec
|
|
12200
12455
|
*/
|
|
12201
12456
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
12457
|
+
/**
|
|
12458
|
+
* 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.
|
|
12459
|
+
* @param id Handler ID of the handler to be disconnected
|
|
12460
|
+
*/
|
|
12202
12461
|
disconnect(id: number): void;
|
|
12462
|
+
/**
|
|
12463
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
12464
|
+
* @param properties Object containing the properties to set
|
|
12465
|
+
*/
|
|
12203
12466
|
set(properties: { [key: string]: any }): void;
|
|
12204
|
-
|
|
12205
|
-
|
|
12206
|
-
|
|
12467
|
+
/**
|
|
12468
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
12469
|
+
* @param id Handler ID of the handler to be blocked
|
|
12470
|
+
*/
|
|
12471
|
+
block_signal_handler(id: number): void;
|
|
12472
|
+
/**
|
|
12473
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
12474
|
+
* @param id Handler ID of the handler to be unblocked
|
|
12475
|
+
*/
|
|
12476
|
+
unblock_signal_handler(id: number): void;
|
|
12477
|
+
/**
|
|
12478
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
12479
|
+
* @param detailedName Name of the signal to stop emission of
|
|
12480
|
+
*/
|
|
12481
|
+
stop_emission_by_name(detailedName: string): void;
|
|
12207
12482
|
}
|
|
12208
12483
|
|
|
12209
12484
|
namespace StyleSchemeManager {
|
|
@@ -13085,7 +13360,21 @@ export namespace GtkSource {
|
|
|
13085
13360
|
* @returns the data if found, or %NULL if no such data exists.
|
|
13086
13361
|
*/
|
|
13087
13362
|
get_data(key: string): any | null;
|
|
13088
|
-
|
|
13363
|
+
/**
|
|
13364
|
+
* Gets a property of an object.
|
|
13365
|
+
*
|
|
13366
|
+
* The value can be:
|
|
13367
|
+
* - 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)
|
|
13368
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
13369
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
13370
|
+
*
|
|
13371
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
13372
|
+
*
|
|
13373
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
13374
|
+
* @param property_name The name of the property to get
|
|
13375
|
+
* @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
|
|
13376
|
+
*/
|
|
13377
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
13089
13378
|
/**
|
|
13090
13379
|
* This function gets back user data pointers stored via
|
|
13091
13380
|
* g_object_set_qdata().
|
|
@@ -13213,7 +13502,12 @@ export namespace GtkSource {
|
|
|
13213
13502
|
* @param data data to associate with that key
|
|
13214
13503
|
*/
|
|
13215
13504
|
set_data(key: string, data?: any | null): void;
|
|
13216
|
-
|
|
13505
|
+
/**
|
|
13506
|
+
* Sets a property on an object.
|
|
13507
|
+
* @param property_name The name of the property to set
|
|
13508
|
+
* @param value The value to set the property to
|
|
13509
|
+
*/
|
|
13510
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
13217
13511
|
/**
|
|
13218
13512
|
* Remove a specified datum from the object's data associations,
|
|
13219
13513
|
* without invoking the association's destroy handler.
|
|
@@ -13363,11 +13657,31 @@ export namespace GtkSource {
|
|
|
13363
13657
|
* @param pspec
|
|
13364
13658
|
*/
|
|
13365
13659
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
13660
|
+
/**
|
|
13661
|
+
* 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.
|
|
13662
|
+
* @param id Handler ID of the handler to be disconnected
|
|
13663
|
+
*/
|
|
13366
13664
|
disconnect(id: number): void;
|
|
13665
|
+
/**
|
|
13666
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
13667
|
+
* @param properties Object containing the properties to set
|
|
13668
|
+
*/
|
|
13367
13669
|
set(properties: { [key: string]: any }): void;
|
|
13368
|
-
|
|
13369
|
-
|
|
13370
|
-
|
|
13670
|
+
/**
|
|
13671
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
13672
|
+
* @param id Handler ID of the handler to be blocked
|
|
13673
|
+
*/
|
|
13674
|
+
block_signal_handler(id: number): void;
|
|
13675
|
+
/**
|
|
13676
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
13677
|
+
* @param id Handler ID of the handler to be unblocked
|
|
13678
|
+
*/
|
|
13679
|
+
unblock_signal_handler(id: number): void;
|
|
13680
|
+
/**
|
|
13681
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
13682
|
+
* @param detailedName Name of the signal to stop emission of
|
|
13683
|
+
*/
|
|
13684
|
+
stop_emission_by_name(detailedName: string): void;
|
|
13371
13685
|
}
|
|
13372
13686
|
|
|
13373
13687
|
type BufferClass = typeof Buffer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gtksource-4",
|
|
3
|
-
"version": "4.0.0-4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-4.0.0-beta.23",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GtkSource-4, generated from library version 4.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gtksource-4.js",
|
|
@@ -31,20 +31,20 @@
|
|
|
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/gio-2.0": "^2.
|
|
40
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
41
|
-
"@girs/glib-2.0": "^2.
|
|
42
|
-
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.
|
|
43
|
-
"@girs/gobject-2.0": "^2.
|
|
44
|
-
"@girs/gtk-3.0": "^3.24.
|
|
45
|
-
"@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.
|
|
46
|
-
"@girs/pango-1.0": "^1.56.
|
|
47
|
-
"@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/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": "*"
|