@girs/cinnamondesktop-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/cinnamondesktop-3.0.d.ts +95 -15
- 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 CinnamonDesktop-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 CinnamonDesktop-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/cinnamondesktop-3.0.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';
|
|
@@ -646,7 +648,7 @@ export namespace CinnamonDesktop {
|
|
|
646
648
|
* If the object is not initialized, or initialization returns with an
|
|
647
649
|
* error, then all operations on the object except g_object_ref() and
|
|
648
650
|
* g_object_unref() are considered to be invalid, and have undefined
|
|
649
|
-
* behaviour. See the [
|
|
651
|
+
* behaviour. See the [description][iface`Gio`.Initable#description] for more details.
|
|
650
652
|
*
|
|
651
653
|
* Callers should not assume that a class which implements #GInitable can be
|
|
652
654
|
* initialized multiple times, unless the class explicitly documents itself as
|
|
@@ -689,7 +691,7 @@ export namespace CinnamonDesktop {
|
|
|
689
691
|
* If the object is not initialized, or initialization returns with an
|
|
690
692
|
* error, then all operations on the object except g_object_ref() and
|
|
691
693
|
* g_object_unref() are considered to be invalid, and have undefined
|
|
692
|
-
* behaviour. See the [
|
|
694
|
+
* behaviour. See the [description][iface`Gio`.Initable#description] for more details.
|
|
693
695
|
*
|
|
694
696
|
* Callers should not assume that a class which implements #GInitable can be
|
|
695
697
|
* initialized multiple times, unless the class explicitly documents itself as
|
|
@@ -829,7 +831,21 @@ export namespace CinnamonDesktop {
|
|
|
829
831
|
* @returns the data if found, or %NULL if no such data exists.
|
|
830
832
|
*/
|
|
831
833
|
get_data(key: string): any | null;
|
|
832
|
-
|
|
834
|
+
/**
|
|
835
|
+
* Gets a property of an object.
|
|
836
|
+
*
|
|
837
|
+
* The value can be:
|
|
838
|
+
* - 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)
|
|
839
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
840
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
841
|
+
*
|
|
842
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
843
|
+
*
|
|
844
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
845
|
+
* @param property_name The name of the property to get
|
|
846
|
+
* @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
|
|
847
|
+
*/
|
|
848
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
833
849
|
/**
|
|
834
850
|
* This function gets back user data pointers stored via
|
|
835
851
|
* g_object_set_qdata().
|
|
@@ -957,7 +973,12 @@ export namespace CinnamonDesktop {
|
|
|
957
973
|
* @param data data to associate with that key
|
|
958
974
|
*/
|
|
959
975
|
set_data(key: string, data?: any | null): void;
|
|
960
|
-
|
|
976
|
+
/**
|
|
977
|
+
* Sets a property on an object.
|
|
978
|
+
* @param property_name The name of the property to set
|
|
979
|
+
* @param value The value to set the property to
|
|
980
|
+
*/
|
|
981
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
961
982
|
/**
|
|
962
983
|
* Remove a specified datum from the object's data associations,
|
|
963
984
|
* without invoking the association's destroy handler.
|
|
@@ -1107,11 +1128,31 @@ export namespace CinnamonDesktop {
|
|
|
1107
1128
|
* @param pspec
|
|
1108
1129
|
*/
|
|
1109
1130
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
1131
|
+
/**
|
|
1132
|
+
* 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.
|
|
1133
|
+
* @param id Handler ID of the handler to be disconnected
|
|
1134
|
+
*/
|
|
1110
1135
|
disconnect(id: number): void;
|
|
1136
|
+
/**
|
|
1137
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
1138
|
+
* @param properties Object containing the properties to set
|
|
1139
|
+
*/
|
|
1111
1140
|
set(properties: { [key: string]: any }): void;
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1141
|
+
/**
|
|
1142
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
1143
|
+
* @param id Handler ID of the handler to be blocked
|
|
1144
|
+
*/
|
|
1145
|
+
block_signal_handler(id: number): void;
|
|
1146
|
+
/**
|
|
1147
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
1148
|
+
* @param id Handler ID of the handler to be unblocked
|
|
1149
|
+
*/
|
|
1150
|
+
unblock_signal_handler(id: number): void;
|
|
1151
|
+
/**
|
|
1152
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
1153
|
+
* @param detailedName Name of the signal to stop emission of
|
|
1154
|
+
*/
|
|
1155
|
+
stop_emission_by_name(detailedName: string): void;
|
|
1115
1156
|
}
|
|
1116
1157
|
|
|
1117
1158
|
namespace PnpIds {
|
|
@@ -1406,7 +1447,7 @@ export namespace CinnamonDesktop {
|
|
|
1406
1447
|
* If the object is not initialized, or initialization returns with an
|
|
1407
1448
|
* error, then all operations on the object except g_object_ref() and
|
|
1408
1449
|
* g_object_unref() are considered to be invalid, and have undefined
|
|
1409
|
-
* behaviour. See the [
|
|
1450
|
+
* behaviour. See the [description][iface`Gio`.Initable#description] for more details.
|
|
1410
1451
|
*
|
|
1411
1452
|
* Callers should not assume that a class which implements #GInitable can be
|
|
1412
1453
|
* initialized multiple times, unless the class explicitly documents itself as
|
|
@@ -1449,7 +1490,7 @@ export namespace CinnamonDesktop {
|
|
|
1449
1490
|
* If the object is not initialized, or initialization returns with an
|
|
1450
1491
|
* error, then all operations on the object except g_object_ref() and
|
|
1451
1492
|
* g_object_unref() are considered to be invalid, and have undefined
|
|
1452
|
-
* behaviour. See the [
|
|
1493
|
+
* behaviour. See the [description][iface`Gio`.Initable#description] for more details.
|
|
1453
1494
|
*
|
|
1454
1495
|
* Callers should not assume that a class which implements #GInitable can be
|
|
1455
1496
|
* initialized multiple times, unless the class explicitly documents itself as
|
|
@@ -1589,7 +1630,21 @@ export namespace CinnamonDesktop {
|
|
|
1589
1630
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1590
1631
|
*/
|
|
1591
1632
|
get_data(key: string): any | null;
|
|
1592
|
-
|
|
1633
|
+
/**
|
|
1634
|
+
* Gets a property of an object.
|
|
1635
|
+
*
|
|
1636
|
+
* The value can be:
|
|
1637
|
+
* - 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)
|
|
1638
|
+
* - a GObject.Value initialized with the expected type of the property
|
|
1639
|
+
* - a GObject.Value initialized with a type to which the expected type of the property can be transformed
|
|
1640
|
+
*
|
|
1641
|
+
* In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling GObject.Value.unset.
|
|
1642
|
+
*
|
|
1643
|
+
* Note that GObject.Object.get_property is really intended for language bindings, GObject.Object.get is much more convenient for C programming.
|
|
1644
|
+
* @param property_name The name of the property to get
|
|
1645
|
+
* @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
|
|
1646
|
+
*/
|
|
1647
|
+
get_property(property_name: string, value: GObject.Value | any): any;
|
|
1593
1648
|
/**
|
|
1594
1649
|
* This function gets back user data pointers stored via
|
|
1595
1650
|
* g_object_set_qdata().
|
|
@@ -1717,7 +1772,12 @@ export namespace CinnamonDesktop {
|
|
|
1717
1772
|
* @param data data to associate with that key
|
|
1718
1773
|
*/
|
|
1719
1774
|
set_data(key: string, data?: any | null): void;
|
|
1720
|
-
|
|
1775
|
+
/**
|
|
1776
|
+
* Sets a property on an object.
|
|
1777
|
+
* @param property_name The name of the property to set
|
|
1778
|
+
* @param value The value to set the property to
|
|
1779
|
+
*/
|
|
1780
|
+
set_property(property_name: string, value: GObject.Value | any): void;
|
|
1721
1781
|
/**
|
|
1722
1782
|
* Remove a specified datum from the object's data associations,
|
|
1723
1783
|
* without invoking the association's destroy handler.
|
|
@@ -1867,11 +1927,31 @@ export namespace CinnamonDesktop {
|
|
|
1867
1927
|
* @param pspec
|
|
1868
1928
|
*/
|
|
1869
1929
|
vfunc_set_property(property_id: number, value: GObject.Value | any, pspec: GObject.ParamSpec): void;
|
|
1930
|
+
/**
|
|
1931
|
+
* 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.
|
|
1932
|
+
* @param id Handler ID of the handler to be disconnected
|
|
1933
|
+
*/
|
|
1870
1934
|
disconnect(id: number): void;
|
|
1935
|
+
/**
|
|
1936
|
+
* Sets multiple properties of an object at once. The properties argument should be a dictionary mapping property names to values.
|
|
1937
|
+
* @param properties Object containing the properties to set
|
|
1938
|
+
*/
|
|
1871
1939
|
set(properties: { [key: string]: any }): void;
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1940
|
+
/**
|
|
1941
|
+
* Blocks a handler of an instance so it will not be called during any signal emissions
|
|
1942
|
+
* @param id Handler ID of the handler to be blocked
|
|
1943
|
+
*/
|
|
1944
|
+
block_signal_handler(id: number): void;
|
|
1945
|
+
/**
|
|
1946
|
+
* Unblocks a handler so it will be called again during any signal emissions
|
|
1947
|
+
* @param id Handler ID of the handler to be unblocked
|
|
1948
|
+
*/
|
|
1949
|
+
unblock_signal_handler(id: number): void;
|
|
1950
|
+
/**
|
|
1951
|
+
* Stops a signal's emission by the given signal name. This will prevent the default handler and any subsequent signal handlers from being invoked.
|
|
1952
|
+
* @param detailedName Name of the signal to stop emission of
|
|
1953
|
+
*/
|
|
1954
|
+
stop_emission_by_name(detailedName: string): void;
|
|
1875
1955
|
}
|
|
1876
1956
|
|
|
1877
1957
|
namespace WallClock {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/cinnamondesktop-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 CinnamonDesktop-3.0, generated from library version 3.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "cinnamondesktop-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/cdesktopenums-3.0": "^3.0.0-4.0.0-beta.
|
|
37
|
-
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.
|
|
38
|
-
"@girs/gdk-3.0": "^3.24.
|
|
39
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.
|
|
40
|
-
"@girs/gio-2.0": "^2.
|
|
41
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
42
|
-
"@girs/glib-2.0": "^2.
|
|
43
|
-
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.
|
|
44
|
-
"@girs/gobject-2.0": "^2.
|
|
45
|
-
"@girs/gtk-3.0": "^3.24.
|
|
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/cdesktopenums-3.0": "^3.0.0-4.0.0-beta.23",
|
|
37
|
+
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.23",
|
|
38
|
+
"@girs/gdk-3.0": "^3.24.50-4.0.0-beta.23",
|
|
39
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.23",
|
|
40
|
+
"@girs/gio-2.0": "^2.84.0-4.0.0-beta.23",
|
|
41
|
+
"@girs/gjs": "^4.0.0-beta.23",
|
|
42
|
+
"@girs/glib-2.0": "^2.84.0-4.0.0-beta.23",
|
|
43
|
+
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.23",
|
|
44
|
+
"@girs/gobject-2.0": "^2.84.0-4.0.0-beta.23",
|
|
45
|
+
"@girs/gtk-3.0": "^3.24.50-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": "*"
|