@girs/msg-0 0.0.0-4.0.0-beta.20 → 0.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/msg-0.d.ts +135 -15
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for Msg-0, generated from library version 0.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/msg-0.d.ts
CHANGED
|
@@ -7,11 +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 Soup from '@girs/soup-3.0';
|
|
12
14
|
import type Gio from '@girs/gio-2.0';
|
|
13
15
|
import type GObject from '@girs/gobject-2.0';
|
|
14
16
|
import type GLib from '@girs/glib-2.0';
|
|
17
|
+
import type GModule from '@girs/gmodule-2.0';
|
|
15
18
|
import type Json from '@girs/json-1.0';
|
|
16
19
|
import type Goa from '@girs/goa-1.0';
|
|
17
20
|
|
|
@@ -700,7 +703,21 @@ export namespace Msg {
|
|
|
700
703
|
* @returns the data if found, or %NULL if no such data exists.
|
|
701
704
|
*/
|
|
702
705
|
get_data(key: string): any | null;
|
|
703
|
-
|
|
706
|
+
/**
|
|
707
|
+
* Gets a property of an object.
|
|
708
|
+
*
|
|
709
|
+
* The value can be:
|
|
710
|
+
* - 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)
|
|
711
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
712
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
713
|
+
*
|
|
714
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
715
|
+
*
|
|
716
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
717
|
+
* @param property_name The name of the property to get
|
|
718
|
+
* @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
|
|
719
|
+
*/
|
|
720
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
704
721
|
/**
|
|
705
722
|
* This function gets back user data pointers stored via
|
|
706
723
|
* g_object_set_qdata().
|
|
@@ -828,7 +845,12 @@ export namespace Msg {
|
|
|
828
845
|
* @param data data to associate with that key
|
|
829
846
|
*/
|
|
830
847
|
set_data(key: string, data?: any | null): void;
|
|
831
|
-
|
|
848
|
+
/**
|
|
849
|
+
* Sets a property on an object.
|
|
850
|
+
* @param property_name The name of the property to set
|
|
851
|
+
* @param value The value to set the property to
|
|
852
|
+
*/
|
|
853
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
832
854
|
/**
|
|
833
855
|
* Remove a specified datum from the object's data associations,
|
|
834
856
|
* without invoking the association's destroy handler.
|
|
@@ -978,11 +1000,31 @@ export namespace Msg {
|
|
|
978
1000
|
* @param pspec
|
|
979
1001
|
*/
|
|
980
1002
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
1003
|
+
/**
|
|
1004
|
+
* 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.
|
|
1005
|
+
* @param id Handler ID of the handler to be disconnected
|
|
1006
|
+
*/
|
|
981
1007
|
disconnect(id: number): void;
|
|
1008
|
+
/**
|
|
1009
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
1010
|
+
* @param properties Object containing the properties to set
|
|
1011
|
+
*/
|
|
982
1012
|
set(properties: { [key: string]: any }): void;
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
1013
|
+
/**
|
|
1014
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
1015
|
+
* @param id Handler ID of the handler to be blocked
|
|
1016
|
+
*/
|
|
1017
|
+
block_signal_handler(id: number): void;
|
|
1018
|
+
/**
|
|
1019
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
1020
|
+
* @param id Handler ID of the handler to be unblocked
|
|
1021
|
+
*/
|
|
1022
|
+
unblock_signal_handler(id: number): void;
|
|
1023
|
+
/**
|
|
1024
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
1025
|
+
* @param detailedName Name of the signal to stop emission of
|
|
1026
|
+
*/
|
|
1027
|
+
stop_emission_by_name(detailedName: string): void;
|
|
986
1028
|
}
|
|
987
1029
|
|
|
988
1030
|
namespace InputStream {
|
|
@@ -1234,7 +1276,21 @@ export namespace Msg {
|
|
|
1234
1276
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1235
1277
|
*/
|
|
1236
1278
|
get_data(key: string): any | null;
|
|
1237
|
-
|
|
1279
|
+
/**
|
|
1280
|
+
* Gets a property of an object.
|
|
1281
|
+
*
|
|
1282
|
+
* The value can be:
|
|
1283
|
+
* - 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)
|
|
1284
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
1285
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
1286
|
+
*
|
|
1287
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
1288
|
+
*
|
|
1289
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
1290
|
+
* @param property_name The name of the property to get
|
|
1291
|
+
* @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
|
|
1292
|
+
*/
|
|
1293
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
1238
1294
|
/**
|
|
1239
1295
|
* This function gets back user data pointers stored via
|
|
1240
1296
|
* g_object_set_qdata().
|
|
@@ -1362,7 +1418,12 @@ export namespace Msg {
|
|
|
1362
1418
|
* @param data data to associate with that key
|
|
1363
1419
|
*/
|
|
1364
1420
|
set_data(key: string, data?: any | null): void;
|
|
1365
|
-
|
|
1421
|
+
/**
|
|
1422
|
+
* Sets a property on an object.
|
|
1423
|
+
* @param property_name The name of the property to set
|
|
1424
|
+
* @param value The value to set the property to
|
|
1425
|
+
*/
|
|
1426
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
1366
1427
|
/**
|
|
1367
1428
|
* Remove a specified datum from the object's data associations,
|
|
1368
1429
|
* without invoking the association's destroy handler.
|
|
@@ -1512,11 +1573,31 @@ export namespace Msg {
|
|
|
1512
1573
|
* @param pspec
|
|
1513
1574
|
*/
|
|
1514
1575
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
1576
|
+
/**
|
|
1577
|
+
* 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.
|
|
1578
|
+
* @param id Handler ID of the handler to be disconnected
|
|
1579
|
+
*/
|
|
1515
1580
|
disconnect(id: number): void;
|
|
1581
|
+
/**
|
|
1582
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
1583
|
+
* @param properties Object containing the properties to set
|
|
1584
|
+
*/
|
|
1516
1585
|
set(properties: { [key: string]: any }): void;
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1586
|
+
/**
|
|
1587
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
1588
|
+
* @param id Handler ID of the handler to be blocked
|
|
1589
|
+
*/
|
|
1590
|
+
block_signal_handler(id: number): void;
|
|
1591
|
+
/**
|
|
1592
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
1593
|
+
* @param id Handler ID of the handler to be unblocked
|
|
1594
|
+
*/
|
|
1595
|
+
unblock_signal_handler(id: number): void;
|
|
1596
|
+
/**
|
|
1597
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
1598
|
+
* @param detailedName Name of the signal to stop emission of
|
|
1599
|
+
*/
|
|
1600
|
+
stop_emission_by_name(detailedName: string): void;
|
|
1520
1601
|
}
|
|
1521
1602
|
|
|
1522
1603
|
namespace MailFolder {
|
|
@@ -1833,7 +1914,21 @@ export namespace Msg {
|
|
|
1833
1914
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1834
1915
|
*/
|
|
1835
1916
|
get_data(key: string): any | null;
|
|
1836
|
-
|
|
1917
|
+
/**
|
|
1918
|
+
* Gets a property of an object.
|
|
1919
|
+
*
|
|
1920
|
+
* The value can be:
|
|
1921
|
+
* - 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)
|
|
1922
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
1923
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
1924
|
+
*
|
|
1925
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
1926
|
+
*
|
|
1927
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
1928
|
+
* @param property_name The name of the property to get
|
|
1929
|
+
* @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
|
|
1930
|
+
*/
|
|
1931
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
1837
1932
|
/**
|
|
1838
1933
|
* This function gets back user data pointers stored via
|
|
1839
1934
|
* g_object_set_qdata().
|
|
@@ -1961,7 +2056,12 @@ export namespace Msg {
|
|
|
1961
2056
|
* @param data data to associate with that key
|
|
1962
2057
|
*/
|
|
1963
2058
|
set_data(key: string, data?: any | null): void;
|
|
1964
|
-
|
|
2059
|
+
/**
|
|
2060
|
+
* Sets a property on an object.
|
|
2061
|
+
* @param property_name The name of the property to set
|
|
2062
|
+
* @param value The value to set the property to
|
|
2063
|
+
*/
|
|
2064
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
1965
2065
|
/**
|
|
1966
2066
|
* Remove a specified datum from the object's data associations,
|
|
1967
2067
|
* without invoking the association's destroy handler.
|
|
@@ -2111,11 +2211,31 @@ export namespace Msg {
|
|
|
2111
2211
|
* @param pspec
|
|
2112
2212
|
*/
|
|
2113
2213
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
2214
|
+
/**
|
|
2215
|
+
* 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.
|
|
2216
|
+
* @param id Handler ID of the handler to be disconnected
|
|
2217
|
+
*/
|
|
2114
2218
|
disconnect(id: number): void;
|
|
2219
|
+
/**
|
|
2220
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
2221
|
+
* @param properties Object containing the properties to set
|
|
2222
|
+
*/
|
|
2115
2223
|
set(properties: { [key: string]: any }): void;
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2224
|
+
/**
|
|
2225
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
2226
|
+
* @param id Handler ID of the handler to be blocked
|
|
2227
|
+
*/
|
|
2228
|
+
block_signal_handler(id: number): void;
|
|
2229
|
+
/**
|
|
2230
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
2231
|
+
* @param id Handler ID of the handler to be unblocked
|
|
2232
|
+
*/
|
|
2233
|
+
unblock_signal_handler(id: number): void;
|
|
2234
|
+
/**
|
|
2235
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
2236
|
+
* @param detailedName Name of the signal to stop emission of
|
|
2237
|
+
*/
|
|
2238
|
+
stop_emission_by_name(detailedName: string): void;
|
|
2119
2239
|
}
|
|
2120
2240
|
|
|
2121
2241
|
namespace Service {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/msg-0",
|
|
3
|
-
"version": "0.0.0-4.0.0-beta.
|
|
3
|
+
"version": "0.0.0-4.0.0-beta.23",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "msg-0.js",
|
|
@@ -31,13 +31,14 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gio-2.0": "^2.
|
|
35
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
36
|
-
"@girs/glib-2.0": "^2.
|
|
37
|
-
"@girs/
|
|
38
|
-
"@girs/
|
|
39
|
-
"@girs/
|
|
40
|
-
"@girs/
|
|
34
|
+
"@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
|
|
35
|
+
"@girs/gjs": "^4.0.0-beta.23",
|
|
36
|
+
"@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
|
|
37
|
+
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
|
|
38
|
+
"@girs/goa-1.0": "^3.52.0-4.0.0-beta.23",
|
|
39
|
+
"@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23",
|
|
40
|
+
"@girs/json-1.0": "^1.10.7-4.0.0-beta.23",
|
|
41
|
+
"@girs/soup-3.0": "^3.6.4-4.0.0-beta.23"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"typescript": "*"
|