@girs/gcalc-2 4.3.0 → 4.4.0
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/gcalc-2.d.ts +7 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GCalc-2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.
|
|
8
|
+
GJS TypeScript type definitions for GCalc-2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.4.0.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
package/gcalc-2.d.ts
CHANGED
|
@@ -1107,6 +1107,7 @@ export namespace GCalc {
|
|
|
1107
1107
|
* The item type of a {@link Gio.ListModel} can not change during the life of the
|
|
1108
1108
|
* model.
|
|
1109
1109
|
* @returns the {@link GObject.GType} of the items contained in `list`.
|
|
1110
|
+
* @since 2.44
|
|
1110
1111
|
*/
|
|
1111
1112
|
get_item_type(): GObject.GType;
|
|
1112
1113
|
|
|
@@ -1117,6 +1118,7 @@ export namespace GCalc {
|
|
|
1117
1118
|
* less efficient than iterating the list with increasing values for
|
|
1118
1119
|
* `position` until `g_list_model_get_item()` returns `null`.
|
|
1119
1120
|
* @returns the number of items in `list`.
|
|
1121
|
+
* @since 2.44
|
|
1120
1122
|
*/
|
|
1121
1123
|
get_n_items(): number;
|
|
1122
1124
|
|
|
@@ -1135,6 +1137,7 @@ export namespace GCalc {
|
|
|
1135
1137
|
* See also: `g_list_model_get_n_items()`
|
|
1136
1138
|
* @param position the position of the item to fetch
|
|
1137
1139
|
* @returns the object at `position`.
|
|
1140
|
+
* @since 2.44
|
|
1138
1141
|
*/
|
|
1139
1142
|
get_item(position: number): A | null;
|
|
1140
1143
|
|
|
@@ -1162,6 +1165,7 @@ export namespace GCalc {
|
|
|
1162
1165
|
* @param position the position at which `list` changed
|
|
1163
1166
|
* @param removed the number of items removed
|
|
1164
1167
|
* @param added the number of items added
|
|
1168
|
+
* @since 2.44
|
|
1165
1169
|
*/
|
|
1166
1170
|
items_changed(position: number, removed: number, added: number): void;
|
|
1167
1171
|
|
|
@@ -1174,6 +1178,7 @@ export namespace GCalc {
|
|
|
1174
1178
|
*
|
|
1175
1179
|
* The same {@link GObject.Object} instance may not appear more than once in a {@link Gio.ListModel}.
|
|
1176
1180
|
* @param position the position of the item to fetch
|
|
1181
|
+
* @since 2.44
|
|
1177
1182
|
* @virtual
|
|
1178
1183
|
*/
|
|
1179
1184
|
vfunc_get_item(position: number): A | null;
|
|
@@ -1187,6 +1192,7 @@ export namespace GCalc {
|
|
|
1187
1192
|
*
|
|
1188
1193
|
* The item type of a {@link Gio.ListModel} can not change during the life of the
|
|
1189
1194
|
* model.
|
|
1195
|
+
* @since 2.44
|
|
1190
1196
|
* @virtual
|
|
1191
1197
|
*/
|
|
1192
1198
|
vfunc_get_item_type(): GObject.GType;
|
|
@@ -1197,6 +1203,7 @@ export namespace GCalc {
|
|
|
1197
1203
|
* Depending on the model implementation, calling this function may be
|
|
1198
1204
|
* less efficient than iterating the list with increasing values for
|
|
1199
1205
|
* `position` until `g_list_model_get_item()` returns `null`.
|
|
1206
|
+
* @since 2.44
|
|
1200
1207
|
* @virtual
|
|
1201
1208
|
*/
|
|
1202
1209
|
vfunc_get_n_items(): number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gcalc-2",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GCalc-2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gcalc-2.js",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^4.
|
|
35
|
-
"@girs/gio-2.0": "^4.
|
|
36
|
-
"@girs/gobject-2.0": "^4.
|
|
37
|
-
"@girs/glib-2.0": "^4.
|
|
38
|
-
"@girs/gmodule-2.0": "^4.
|
|
39
|
-
"@girs/gee-0.8": "^4.
|
|
34
|
+
"@girs/gjs": "^4.4.0",
|
|
35
|
+
"@girs/gio-2.0": "^4.4.0",
|
|
36
|
+
"@girs/gobject-2.0": "^4.4.0",
|
|
37
|
+
"@girs/glib-2.0": "^4.4.0",
|
|
38
|
+
"@girs/gmodule-2.0": "^4.4.0",
|
|
39
|
+
"@girs/gee-0.8": "^4.4.0" },
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "*"
|
|
42
42
|
},
|