@girs/gedit-3.0 3.0.0-4.0.0-beta.21 → 3.0.0-4.0.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gedit-3.0.d.ts +267 -31
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Gedit-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for Gedit-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.23.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/gedit-3.0.d.ts
CHANGED
|
@@ -7,12 +7,14 @@
|
|
|
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 GtkSource from '@girs/gtksource-4';
|
|
12
14
|
import type Gtk from '@girs/gtk-3.0';
|
|
13
15
|
import type xlib from '@girs/xlib-2.0';
|
|
14
16
|
import type Gdk from '@girs/gdk-3.0';
|
|
15
|
-
import type cairo from '
|
|
17
|
+
import type cairo from 'cairo';
|
|
16
18
|
import type GObject from '@girs/gobject-2.0';
|
|
17
19
|
import type GLib from '@girs/glib-2.0';
|
|
18
20
|
import type Pango from '@girs/pango-1.0';
|
|
@@ -461,7 +463,21 @@ export namespace Gedit {
|
|
|
461
463
|
* @returns the data if found, or %NULL if no such data exists.
|
|
462
464
|
*/
|
|
463
465
|
get_data(key: string): any | null;
|
|
464
|
-
|
|
466
|
+
/**
|
|
467
|
+
* Gets a property of an object.
|
|
468
|
+
*
|
|
469
|
+
* The value can be:
|
|
470
|
+
* - 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)
|
|
471
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
472
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
473
|
+
*
|
|
474
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
475
|
+
*
|
|
476
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
477
|
+
* @param property_name The name of the property to get
|
|
478
|
+
* @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
|
|
479
|
+
*/
|
|
480
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
465
481
|
/**
|
|
466
482
|
* This function gets back user data pointers stored via
|
|
467
483
|
* g_object_set_qdata().
|
|
@@ -589,7 +605,12 @@ export namespace Gedit {
|
|
|
589
605
|
* @param data data to associate with that key
|
|
590
606
|
*/
|
|
591
607
|
set_data(key: string, data?: any | null): void;
|
|
592
|
-
|
|
608
|
+
/**
|
|
609
|
+
* Sets a property on an object.
|
|
610
|
+
* @param property_name The name of the property to set
|
|
611
|
+
* @param value The value to set the property to
|
|
612
|
+
*/
|
|
613
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
593
614
|
/**
|
|
594
615
|
* Remove a specified datum from the object's data associations,
|
|
595
616
|
* without invoking the association's destroy handler.
|
|
@@ -739,11 +760,31 @@ export namespace Gedit {
|
|
|
739
760
|
* @param pspec
|
|
740
761
|
*/
|
|
741
762
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
763
|
+
/**
|
|
764
|
+
* 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.
|
|
765
|
+
* @param id Handler ID of the handler to be disconnected
|
|
766
|
+
*/
|
|
742
767
|
disconnect(id: number): void;
|
|
768
|
+
/**
|
|
769
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
770
|
+
* @param properties Object containing the properties to set
|
|
771
|
+
*/
|
|
743
772
|
set(properties: { [key: string]: any }): void;
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
773
|
+
/**
|
|
774
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
775
|
+
* @param id Handler ID of the handler to be blocked
|
|
776
|
+
*/
|
|
777
|
+
block_signal_handler(id: number): void;
|
|
778
|
+
/**
|
|
779
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
780
|
+
* @param id Handler ID of the handler to be unblocked
|
|
781
|
+
*/
|
|
782
|
+
unblock_signal_handler(id: number): void;
|
|
783
|
+
/**
|
|
784
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
785
|
+
* @param detailedName Name of the signal to stop emission of
|
|
786
|
+
*/
|
|
787
|
+
stop_emission_by_name(detailedName: string): void;
|
|
747
788
|
}
|
|
748
789
|
|
|
749
790
|
namespace Document {
|
|
@@ -1645,7 +1686,21 @@ export namespace Gedit {
|
|
|
1645
1686
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1646
1687
|
*/
|
|
1647
1688
|
get_data(key: string): any | null;
|
|
1648
|
-
|
|
1689
|
+
/**
|
|
1690
|
+
* Gets a property of an object.
|
|
1691
|
+
*
|
|
1692
|
+
* The value can be:
|
|
1693
|
+
* - 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)
|
|
1694
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
1695
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
1696
|
+
*
|
|
1697
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
1698
|
+
*
|
|
1699
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
1700
|
+
* @param property_name The name of the property to get
|
|
1701
|
+
* @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
|
|
1702
|
+
*/
|
|
1703
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
1649
1704
|
/**
|
|
1650
1705
|
* This function gets back user data pointers stored via
|
|
1651
1706
|
* g_object_set_qdata().
|
|
@@ -1773,7 +1828,12 @@ export namespace Gedit {
|
|
|
1773
1828
|
* @param data data to associate with that key
|
|
1774
1829
|
*/
|
|
1775
1830
|
set_data(key: string, data?: any | null): void;
|
|
1776
|
-
|
|
1831
|
+
/**
|
|
1832
|
+
* Sets a property on an object.
|
|
1833
|
+
* @param property_name The name of the property to set
|
|
1834
|
+
* @param value The value to set the property to
|
|
1835
|
+
*/
|
|
1836
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
1777
1837
|
/**
|
|
1778
1838
|
* Remove a specified datum from the object's data associations,
|
|
1779
1839
|
* without invoking the association's destroy handler.
|
|
@@ -1923,11 +1983,31 @@ export namespace Gedit {
|
|
|
1923
1983
|
* @param pspec
|
|
1924
1984
|
*/
|
|
1925
1985
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
1986
|
+
/**
|
|
1987
|
+
* 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.
|
|
1988
|
+
* @param id Handler ID of the handler to be disconnected
|
|
1989
|
+
*/
|
|
1926
1990
|
disconnect(id: number): void;
|
|
1991
|
+
/**
|
|
1992
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
1993
|
+
* @param properties Object containing the properties to set
|
|
1994
|
+
*/
|
|
1927
1995
|
set(properties: { [key: string]: any }): void;
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1996
|
+
/**
|
|
1997
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
1998
|
+
* @param id Handler ID of the handler to be blocked
|
|
1999
|
+
*/
|
|
2000
|
+
block_signal_handler(id: number): void;
|
|
2001
|
+
/**
|
|
2002
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
2003
|
+
* @param id Handler ID of the handler to be unblocked
|
|
2004
|
+
*/
|
|
2005
|
+
unblock_signal_handler(id: number): void;
|
|
2006
|
+
/**
|
|
2007
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
2008
|
+
* @param detailedName Name of the signal to stop emission of
|
|
2009
|
+
*/
|
|
2010
|
+
stop_emission_by_name(detailedName: string): void;
|
|
1931
2011
|
/**
|
|
1932
2012
|
* For widgets that can be “activated” (buttons, menu items, etc.)
|
|
1933
2013
|
* this function activates them. Activation is what happens when you
|
|
@@ -5837,7 +5917,21 @@ export namespace Gedit {
|
|
|
5837
5917
|
* @returns the data if found, or %NULL if no such data exists.
|
|
5838
5918
|
*/
|
|
5839
5919
|
get_data(key: string): any | null;
|
|
5840
|
-
|
|
5920
|
+
/**
|
|
5921
|
+
* Gets a property of an object.
|
|
5922
|
+
*
|
|
5923
|
+
* The value can be:
|
|
5924
|
+
* - 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)
|
|
5925
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
5926
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
5927
|
+
*
|
|
5928
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
5929
|
+
*
|
|
5930
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
5931
|
+
* @param property_name The name of the property to get
|
|
5932
|
+
* @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
|
|
5933
|
+
*/
|
|
5934
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
5841
5935
|
/**
|
|
5842
5936
|
* This function gets back user data pointers stored via
|
|
5843
5937
|
* g_object_set_qdata().
|
|
@@ -5965,7 +6059,12 @@ export namespace Gedit {
|
|
|
5965
6059
|
* @param data data to associate with that key
|
|
5966
6060
|
*/
|
|
5967
6061
|
set_data(key: string, data?: any | null): void;
|
|
5968
|
-
|
|
6062
|
+
/**
|
|
6063
|
+
* Sets a property on an object.
|
|
6064
|
+
* @param property_name The name of the property to set
|
|
6065
|
+
* @param value The value to set the property to
|
|
6066
|
+
*/
|
|
6067
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
5969
6068
|
/**
|
|
5970
6069
|
* Remove a specified datum from the object's data associations,
|
|
5971
6070
|
* without invoking the association's destroy handler.
|
|
@@ -6115,11 +6214,31 @@ export namespace Gedit {
|
|
|
6115
6214
|
* @param pspec
|
|
6116
6215
|
*/
|
|
6117
6216
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
6217
|
+
/**
|
|
6218
|
+
* 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.
|
|
6219
|
+
* @param id Handler ID of the handler to be disconnected
|
|
6220
|
+
*/
|
|
6118
6221
|
disconnect(id: number): void;
|
|
6222
|
+
/**
|
|
6223
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
6224
|
+
* @param properties Object containing the properties to set
|
|
6225
|
+
*/
|
|
6119
6226
|
set(properties: { [key: string]: any }): void;
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6227
|
+
/**
|
|
6228
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
6229
|
+
* @param id Handler ID of the handler to be blocked
|
|
6230
|
+
*/
|
|
6231
|
+
block_signal_handler(id: number): void;
|
|
6232
|
+
/**
|
|
6233
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
6234
|
+
* @param id Handler ID of the handler to be unblocked
|
|
6235
|
+
*/
|
|
6236
|
+
unblock_signal_handler(id: number): void;
|
|
6237
|
+
/**
|
|
6238
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
6239
|
+
* @param detailedName Name of the signal to stop emission of
|
|
6240
|
+
*/
|
|
6241
|
+
stop_emission_by_name(detailedName: string): void;
|
|
6123
6242
|
}
|
|
6124
6243
|
|
|
6125
6244
|
namespace Tab {
|
|
@@ -6362,7 +6481,21 @@ export namespace Gedit {
|
|
|
6362
6481
|
* @returns the data if found, or %NULL if no such data exists.
|
|
6363
6482
|
*/
|
|
6364
6483
|
get_data(key: string): any | null;
|
|
6365
|
-
|
|
6484
|
+
/**
|
|
6485
|
+
* Gets a property of an object.
|
|
6486
|
+
*
|
|
6487
|
+
* The value can be:
|
|
6488
|
+
* - 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)
|
|
6489
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
6490
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
6491
|
+
*
|
|
6492
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
6493
|
+
*
|
|
6494
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
6495
|
+
* @param property_name The name of the property to get
|
|
6496
|
+
* @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
|
|
6497
|
+
*/
|
|
6498
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
6366
6499
|
/**
|
|
6367
6500
|
* This function gets back user data pointers stored via
|
|
6368
6501
|
* g_object_set_qdata().
|
|
@@ -6490,7 +6623,12 @@ export namespace Gedit {
|
|
|
6490
6623
|
* @param data data to associate with that key
|
|
6491
6624
|
*/
|
|
6492
6625
|
set_data(key: string, data?: any | null): void;
|
|
6493
|
-
|
|
6626
|
+
/**
|
|
6627
|
+
* Sets a property on an object.
|
|
6628
|
+
* @param property_name The name of the property to set
|
|
6629
|
+
* @param value The value to set the property to
|
|
6630
|
+
*/
|
|
6631
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
6494
6632
|
/**
|
|
6495
6633
|
* Remove a specified datum from the object's data associations,
|
|
6496
6634
|
* without invoking the association's destroy handler.
|
|
@@ -6640,11 +6778,31 @@ export namespace Gedit {
|
|
|
6640
6778
|
* @param pspec
|
|
6641
6779
|
*/
|
|
6642
6780
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
6781
|
+
/**
|
|
6782
|
+
* 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.
|
|
6783
|
+
* @param id Handler ID of the handler to be disconnected
|
|
6784
|
+
*/
|
|
6643
6785
|
disconnect(id: number): void;
|
|
6786
|
+
/**
|
|
6787
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
6788
|
+
* @param properties Object containing the properties to set
|
|
6789
|
+
*/
|
|
6644
6790
|
set(properties: { [key: string]: any }): void;
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6791
|
+
/**
|
|
6792
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
6793
|
+
* @param id Handler ID of the handler to be blocked
|
|
6794
|
+
*/
|
|
6795
|
+
block_signal_handler(id: number): void;
|
|
6796
|
+
/**
|
|
6797
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
6798
|
+
* @param id Handler ID of the handler to be unblocked
|
|
6799
|
+
*/
|
|
6800
|
+
unblock_signal_handler(id: number): void;
|
|
6801
|
+
/**
|
|
6802
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
6803
|
+
* @param detailedName Name of the signal to stop emission of
|
|
6804
|
+
*/
|
|
6805
|
+
stop_emission_by_name(detailedName: string): void;
|
|
6648
6806
|
}
|
|
6649
6807
|
|
|
6650
6808
|
namespace View {
|
|
@@ -6808,7 +6966,21 @@ export namespace Gedit {
|
|
|
6808
6966
|
* @returns the data if found, or %NULL if no such data exists.
|
|
6809
6967
|
*/
|
|
6810
6968
|
get_data(key: string): any | null;
|
|
6811
|
-
|
|
6969
|
+
/**
|
|
6970
|
+
* Gets a property of an object.
|
|
6971
|
+
*
|
|
6972
|
+
* The value can be:
|
|
6973
|
+
* - 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)
|
|
6974
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
6975
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
6976
|
+
*
|
|
6977
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
6978
|
+
*
|
|
6979
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
6980
|
+
* @param property_name The name of the property to get
|
|
6981
|
+
* @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
|
|
6982
|
+
*/
|
|
6983
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
6812
6984
|
/**
|
|
6813
6985
|
* This function gets back user data pointers stored via
|
|
6814
6986
|
* g_object_set_qdata().
|
|
@@ -6936,7 +7108,12 @@ export namespace Gedit {
|
|
|
6936
7108
|
* @param data data to associate with that key
|
|
6937
7109
|
*/
|
|
6938
7110
|
set_data(key: string, data?: any | null): void;
|
|
6939
|
-
|
|
7111
|
+
/**
|
|
7112
|
+
* Sets a property on an object.
|
|
7113
|
+
* @param property_name The name of the property to set
|
|
7114
|
+
* @param value The value to set the property to
|
|
7115
|
+
*/
|
|
7116
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
6940
7117
|
/**
|
|
6941
7118
|
* Remove a specified datum from the object's data associations,
|
|
6942
7119
|
* without invoking the association's destroy handler.
|
|
@@ -7086,11 +7263,31 @@ export namespace Gedit {
|
|
|
7086
7263
|
* @param pspec
|
|
7087
7264
|
*/
|
|
7088
7265
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
7266
|
+
/**
|
|
7267
|
+
* 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.
|
|
7268
|
+
* @param id Handler ID of the handler to be disconnected
|
|
7269
|
+
*/
|
|
7089
7270
|
disconnect(id: number): void;
|
|
7271
|
+
/**
|
|
7272
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
7273
|
+
* @param properties Object containing the properties to set
|
|
7274
|
+
*/
|
|
7090
7275
|
set(properties: { [key: string]: any }): void;
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7276
|
+
/**
|
|
7277
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
7278
|
+
* @param id Handler ID of the handler to be blocked
|
|
7279
|
+
*/
|
|
7280
|
+
block_signal_handler(id: number): void;
|
|
7281
|
+
/**
|
|
7282
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
7283
|
+
* @param id Handler ID of the handler to be unblocked
|
|
7284
|
+
*/
|
|
7285
|
+
unblock_signal_handler(id: number): void;
|
|
7286
|
+
/**
|
|
7287
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
7288
|
+
* @param detailedName Name of the signal to stop emission of
|
|
7289
|
+
*/
|
|
7290
|
+
stop_emission_by_name(detailedName: string): void;
|
|
7094
7291
|
}
|
|
7095
7292
|
|
|
7096
7293
|
namespace Window {
|
|
@@ -7942,7 +8139,21 @@ export namespace Gedit {
|
|
|
7942
8139
|
* @returns the data if found, or %NULL if no such data exists.
|
|
7943
8140
|
*/
|
|
7944
8141
|
get_data(key: string): any | null;
|
|
7945
|
-
|
|
8142
|
+
/**
|
|
8143
|
+
* Gets a property of an object.
|
|
8144
|
+
*
|
|
8145
|
+
* The value can be:
|
|
8146
|
+
* - 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)
|
|
8147
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
8148
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
8149
|
+
*
|
|
8150
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
8151
|
+
*
|
|
8152
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
8153
|
+
* @param property_name The name of the property to get
|
|
8154
|
+
* @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
|
|
8155
|
+
*/
|
|
8156
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
7946
8157
|
/**
|
|
7947
8158
|
* This function gets back user data pointers stored via
|
|
7948
8159
|
* g_object_set_qdata().
|
|
@@ -8070,7 +8281,12 @@ export namespace Gedit {
|
|
|
8070
8281
|
* @param data data to associate with that key
|
|
8071
8282
|
*/
|
|
8072
8283
|
set_data(key: string, data?: any | null): void;
|
|
8073
|
-
|
|
8284
|
+
/**
|
|
8285
|
+
* Sets a property on an object.
|
|
8286
|
+
* @param property_name The name of the property to set
|
|
8287
|
+
* @param value The value to set the property to
|
|
8288
|
+
*/
|
|
8289
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
8074
8290
|
/**
|
|
8075
8291
|
* Remove a specified datum from the object's data associations,
|
|
8076
8292
|
* without invoking the association's destroy handler.
|
|
@@ -8220,11 +8436,31 @@ export namespace Gedit {
|
|
|
8220
8436
|
* @param pspec
|
|
8221
8437
|
*/
|
|
8222
8438
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
8439
|
+
/**
|
|
8440
|
+
* 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.
|
|
8441
|
+
* @param id Handler ID of the handler to be disconnected
|
|
8442
|
+
*/
|
|
8223
8443
|
disconnect(id: number): void;
|
|
8444
|
+
/**
|
|
8445
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
8446
|
+
* @param properties Object containing the properties to set
|
|
8447
|
+
*/
|
|
8224
8448
|
set(properties: { [key: string]: any }): void;
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8449
|
+
/**
|
|
8450
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
8451
|
+
* @param id Handler ID of the handler to be blocked
|
|
8452
|
+
*/
|
|
8453
|
+
block_signal_handler(id: number): void;
|
|
8454
|
+
/**
|
|
8455
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
8456
|
+
* @param id Handler ID of the handler to be unblocked
|
|
8457
|
+
*/
|
|
8458
|
+
unblock_signal_handler(id: number): void;
|
|
8459
|
+
/**
|
|
8460
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
8461
|
+
* @param detailedName Name of the signal to stop emission of
|
|
8462
|
+
*/
|
|
8463
|
+
stop_emission_by_name(detailedName: string): void;
|
|
8228
8464
|
}
|
|
8229
8465
|
|
|
8230
8466
|
type AppActivatableInterface = typeof AppActivatable;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gedit-3.0",
|
|
3
|
-
"version": "3.0.0-4.0.0-beta.
|
|
3
|
+
"version": "3.0.0-4.0.0-beta.23",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Gedit-3.0, generated from library version 3.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gedit-3.0.js",
|
|
@@ -31,21 +31,21 @@
|
|
|
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/gtksource-4": "^4.0.0-4.0.0-beta.
|
|
46
|
-
"@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.
|
|
47
|
-
"@girs/pango-1.0": "^1.56.
|
|
48
|
-
"@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/gtksource-4": "^4.0.0-4.0.0-beta.23",
|
|
46
|
+
"@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.23",
|
|
47
|
+
"@girs/pango-1.0": "^1.56.4-4.0.0-beta.23",
|
|
48
|
+
"@girs/xlib-2.0": "^2.0.0-4.0.0-beta.23"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"typescript": "*"
|