@girs/gtef-2 4.8.0 → 5.0.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/gtef-2-vocabulary.d.ts +21 -0
- package/gtef-2-vocabulary.js +16 -0
- package/gtef-2.d.ts +15 -60
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for Gtef-2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir)
|
|
7
|
+
GJS TypeScript type definitions for Gtef-2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.0.0.
|
|
8
8
|
|
|
9
9
|
This package contains type declarations only. It ships no runtime code, so it adds
|
|
10
10
|
nothing to your program and works with any bundler or none at all.
|
package/gtef-2-vocabulary.d.ts
CHANGED
|
@@ -240,6 +240,27 @@ export const FLAG_VALUES: Readonly<Record<string, number>>;
|
|
|
240
240
|
/** `<bitfield GType>.<nick>` -> the raw GIR `value` no number could be read from. */
|
|
241
241
|
export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
242
242
|
|
|
243
|
+
/**
|
|
244
|
+
* `<declaration GType>.<property>` -> the GType of that property's enum or bitfield.
|
|
245
|
+
*
|
|
246
|
+
* The join the value tables need and nothing else here carries. A host with no GI has a
|
|
247
|
+
* property name and a nick and needs a number; `ENUM_VALUES` is keyed by ENUM GType, and
|
|
248
|
+
* only this says which enum a property is. Keyed by DECLARATION like `OWN_PROPS`, so it is
|
|
249
|
+
* read at every link of a `DECLS` chain — `orientation` belongs to `GtkOrientable`, not
|
|
250
|
+
* to the `GtkBox` a caller starts from.
|
|
251
|
+
*
|
|
252
|
+
* Present only where the property's OWN type is the enum: an array of them, or a union that
|
|
253
|
+
* merely mentions one, would be an entry a consumer resolves wrongly.
|
|
254
|
+
*
|
|
255
|
+
* The GType named here is not always one THIS module gives numbers for. A nick vocabulary is
|
|
256
|
+
* emitted once, by the namespace that owns the enum, so `AdwComboRow.search-match-mode` names
|
|
257
|
+
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` — 57 of the 438
|
|
258
|
+
* entries in a full run resolve only with the owner's vocabulary loaded beside this one. An
|
|
259
|
+
* owner with no vocabulary of its own (Gdk, Pango) is inlined here instead, so every entry
|
|
260
|
+
* resolves against SOME module.
|
|
261
|
+
*/
|
|
262
|
+
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
263
|
+
|
|
243
264
|
/** Widget GType -> slot name -> the method that may adopt a child there. */
|
|
244
265
|
export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
245
266
|
|
package/gtef-2-vocabulary.js
CHANGED
|
@@ -114,6 +114,22 @@ export const FLAG_VALUES = {
|
|
|
114
114
|
// so this is the table that shape actually reaches.
|
|
115
115
|
export const FLAG_VALUES_UNREADABLE = {};
|
|
116
116
|
|
|
117
|
+
// Declaration GType + property name -> the GType of that property's enum or bitfield.
|
|
118
|
+
//
|
|
119
|
+
// Without it the value tables above are half an answer. A host with no GI knows it must set
|
|
120
|
+
// `orientation` to the number behind the nick `vertical`; `ENUM_VALUES` is keyed
|
|
121
|
+
// `GtkOrientation.vertical`, and nothing else says that `orientation` is a
|
|
122
|
+
// `GtkOrientation`. Deriving it is not available: `never` is a member of several Gtk enums,
|
|
123
|
+
// and choosing between them produces a wrong number rather than a missing one.
|
|
124
|
+
//
|
|
125
|
+
// Only where the property's OWN type is the enum. An array of them and a union that mentions
|
|
126
|
+
// one are both entries a consumer would resolve wrongly, so neither is written.
|
|
127
|
+
//
|
|
128
|
+
// A GType named here has numbers in SOME vocabulary, not necessarily this one: the namespace
|
|
129
|
+
// that OWNS an enum publishes it, so 57 of the 438 entries a full run emits want the owner's
|
|
130
|
+
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
131
|
+
export const PROP_ENUMS = {};
|
|
132
|
+
|
|
117
133
|
export const SLOT_CANDIDATES = {
|
|
118
134
|
GtefInfoBar: {
|
|
119
135
|
'content-widget': 'add_content_widget',
|
package/gtef-2.d.ts
CHANGED
|
@@ -396,15 +396,12 @@ export namespace Gtef {
|
|
|
396
396
|
// Signals
|
|
397
397
|
/** @signal */
|
|
398
398
|
connect<K extends keyof ActionInfoCentralStore.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ActionInfoCentralStore.SignalSignatures[K]>): number;
|
|
399
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
400
399
|
|
|
401
400
|
/** @signal */
|
|
402
401
|
connect_after<K extends keyof ActionInfoCentralStore.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ActionInfoCentralStore.SignalSignatures[K]>): number;
|
|
403
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
404
402
|
|
|
405
403
|
/** @signal */
|
|
406
|
-
emit<K extends keyof ActionInfoCentralStore.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ActionInfoCentralStore.SignalSignatures[K]>
|
|
407
|
-
emit(signal: string, ...args: any[]): void;
|
|
404
|
+
emit<K extends keyof ActionInfoCentralStore.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ActionInfoCentralStore.SignalSignatures[K]>): void;
|
|
408
405
|
|
|
409
406
|
// Static methods
|
|
410
407
|
/**
|
|
@@ -468,15 +465,12 @@ export namespace Gtef {
|
|
|
468
465
|
// Signals
|
|
469
466
|
/** @signal */
|
|
470
467
|
connect<K extends keyof ActionInfoStore.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ActionInfoStore.SignalSignatures[K]>): number;
|
|
471
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
472
468
|
|
|
473
469
|
/** @signal */
|
|
474
470
|
connect_after<K extends keyof ActionInfoStore.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ActionInfoStore.SignalSignatures[K]>): number;
|
|
475
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
476
471
|
|
|
477
472
|
/** @signal */
|
|
478
|
-
emit<K extends keyof ActionInfoStore.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ActionInfoStore.SignalSignatures[K]>
|
|
479
|
-
emit(signal: string, ...args: any[]): void;
|
|
473
|
+
emit<K extends keyof ActionInfoStore.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ActionInfoStore.SignalSignatures[K]>): void;
|
|
480
474
|
|
|
481
475
|
// Methods
|
|
482
476
|
/**
|
|
@@ -591,15 +585,12 @@ export namespace Gtef {
|
|
|
591
585
|
// Signals
|
|
592
586
|
/** @signal */
|
|
593
587
|
connect<K extends keyof Application.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Application.SignalSignatures[K]>): number;
|
|
594
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
595
588
|
|
|
596
589
|
/** @signal */
|
|
597
590
|
connect_after<K extends keyof Application.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Application.SignalSignatures[K]>): number;
|
|
598
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
599
591
|
|
|
600
592
|
/** @signal */
|
|
601
|
-
emit<K extends keyof Application.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Application.SignalSignatures[K]>
|
|
602
|
-
emit(signal: string, ...args: any[]): void;
|
|
593
|
+
emit<K extends keyof Application.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Application.SignalSignatures[K]>): void;
|
|
603
594
|
|
|
604
595
|
// Static methods
|
|
605
596
|
/**
|
|
@@ -704,15 +695,12 @@ export namespace Gtef {
|
|
|
704
695
|
// Signals
|
|
705
696
|
/** @signal */
|
|
706
697
|
connect<K extends keyof ApplicationWindow.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ApplicationWindow.SignalSignatures[K]>): number;
|
|
707
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
708
698
|
|
|
709
699
|
/** @signal */
|
|
710
700
|
connect_after<K extends keyof ApplicationWindow.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ApplicationWindow.SignalSignatures[K]>): number;
|
|
711
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
712
701
|
|
|
713
702
|
/** @signal */
|
|
714
|
-
emit<K extends keyof ApplicationWindow.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ApplicationWindow.SignalSignatures[K]>
|
|
715
|
-
emit(signal: string, ...args: any[]): void;
|
|
703
|
+
emit<K extends keyof ApplicationWindow.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ApplicationWindow.SignalSignatures[K]>): void;
|
|
716
704
|
|
|
717
705
|
// Static methods
|
|
718
706
|
/**
|
|
@@ -897,15 +885,12 @@ export namespace Gtef {
|
|
|
897
885
|
// Signals
|
|
898
886
|
/** @signal */
|
|
899
887
|
connect<K extends keyof Buffer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Buffer.SignalSignatures[K]>): number;
|
|
900
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
901
888
|
|
|
902
889
|
/** @signal */
|
|
903
890
|
connect_after<K extends keyof Buffer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Buffer.SignalSignatures[K]>): number;
|
|
904
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
905
891
|
|
|
906
892
|
/** @signal */
|
|
907
|
-
emit<K extends keyof Buffer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Buffer.SignalSignatures[K]>
|
|
908
|
-
emit(signal: string, ...args: any[]): void;
|
|
893
|
+
emit<K extends keyof Buffer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Buffer.SignalSignatures[K]>): void;
|
|
909
894
|
|
|
910
895
|
// Virtual methods
|
|
911
896
|
/**
|
|
@@ -1097,15 +1082,12 @@ export namespace Gtef {
|
|
|
1097
1082
|
// Signals
|
|
1098
1083
|
/** @signal */
|
|
1099
1084
|
connect<K extends keyof File.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, File.SignalSignatures[K]>): number;
|
|
1100
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1101
1085
|
|
|
1102
1086
|
/** @signal */
|
|
1103
1087
|
connect_after<K extends keyof File.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, File.SignalSignatures[K]>): number;
|
|
1104
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1105
1088
|
|
|
1106
1089
|
/** @signal */
|
|
1107
|
-
emit<K extends keyof File.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<File.SignalSignatures[K]>
|
|
1108
|
-
emit(signal: string, ...args: any[]): void;
|
|
1090
|
+
emit<K extends keyof File.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<File.SignalSignatures[K]>): void;
|
|
1109
1091
|
|
|
1110
1092
|
// Methods
|
|
1111
1093
|
/**
|
|
@@ -1333,15 +1315,12 @@ export namespace Gtef {
|
|
|
1333
1315
|
// Signals
|
|
1334
1316
|
/** @signal */
|
|
1335
1317
|
connect<K extends keyof FileLoader.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FileLoader.SignalSignatures[K]>): number;
|
|
1336
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1337
1318
|
|
|
1338
1319
|
/** @signal */
|
|
1339
1320
|
connect_after<K extends keyof FileLoader.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FileLoader.SignalSignatures[K]>): number;
|
|
1340
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1341
1321
|
|
|
1342
1322
|
/** @signal */
|
|
1343
|
-
emit<K extends keyof FileLoader.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FileLoader.SignalSignatures[K]>
|
|
1344
|
-
emit(signal: string, ...args: any[]): void;
|
|
1323
|
+
emit<K extends keyof FileLoader.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FileLoader.SignalSignatures[K]>): void;
|
|
1345
1324
|
|
|
1346
1325
|
// Methods
|
|
1347
1326
|
/**
|
|
@@ -1489,15 +1468,12 @@ export namespace Gtef {
|
|
|
1489
1468
|
// Signals
|
|
1490
1469
|
/** @signal */
|
|
1491
1470
|
connect<K extends keyof FileMetadata.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FileMetadata.SignalSignatures[K]>): number;
|
|
1492
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1493
1471
|
|
|
1494
1472
|
/** @signal */
|
|
1495
1473
|
connect_after<K extends keyof FileMetadata.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FileMetadata.SignalSignatures[K]>): number;
|
|
1496
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1497
1474
|
|
|
1498
1475
|
/** @signal */
|
|
1499
|
-
emit<K extends keyof FileMetadata.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FileMetadata.SignalSignatures[K]>
|
|
1500
|
-
emit(signal: string, ...args: any[]): void;
|
|
1476
|
+
emit<K extends keyof FileMetadata.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FileMetadata.SignalSignatures[K]>): void;
|
|
1501
1477
|
|
|
1502
1478
|
// Methods
|
|
1503
1479
|
/**
|
|
@@ -1792,15 +1768,12 @@ export namespace Gtef {
|
|
|
1792
1768
|
// Signals
|
|
1793
1769
|
/** @signal */
|
|
1794
1770
|
connect<K extends keyof FileSaver.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FileSaver.SignalSignatures[K]>): number;
|
|
1795
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1796
1771
|
|
|
1797
1772
|
/** @signal */
|
|
1798
1773
|
connect_after<K extends keyof FileSaver.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FileSaver.SignalSignatures[K]>): number;
|
|
1799
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1800
1774
|
|
|
1801
1775
|
/** @signal */
|
|
1802
|
-
emit<K extends keyof FileSaver.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FileSaver.SignalSignatures[K]>
|
|
1803
|
-
emit(signal: string, ...args: any[]): void;
|
|
1776
|
+
emit<K extends keyof FileSaver.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FileSaver.SignalSignatures[K]>): void;
|
|
1804
1777
|
|
|
1805
1778
|
// Methods
|
|
1806
1779
|
/**
|
|
@@ -1980,15 +1953,12 @@ export namespace Gtef {
|
|
|
1980
1953
|
// Signals
|
|
1981
1954
|
/** @signal */
|
|
1982
1955
|
connect<K extends keyof FoldRegion.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FoldRegion.SignalSignatures[K]>): number;
|
|
1983
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1984
1956
|
|
|
1985
1957
|
/** @signal */
|
|
1986
1958
|
connect_after<K extends keyof FoldRegion.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FoldRegion.SignalSignatures[K]>): number;
|
|
1987
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1988
1959
|
|
|
1989
1960
|
/** @signal */
|
|
1990
|
-
emit<K extends keyof FoldRegion.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FoldRegion.SignalSignatures[K]>
|
|
1991
|
-
emit(signal: string, ...args: any[]): void;
|
|
1961
|
+
emit<K extends keyof FoldRegion.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FoldRegion.SignalSignatures[K]>): void;
|
|
1992
1962
|
|
|
1993
1963
|
// Methods
|
|
1994
1964
|
/**
|
|
@@ -2072,15 +2042,12 @@ export namespace Gtef {
|
|
|
2072
2042
|
// Signals
|
|
2073
2043
|
/** @signal */
|
|
2074
2044
|
connect<K extends keyof GutterRendererFolds.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, GutterRendererFolds.SignalSignatures[K]>): number;
|
|
2075
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2076
2045
|
|
|
2077
2046
|
/** @signal */
|
|
2078
2047
|
connect_after<K extends keyof GutterRendererFolds.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, GutterRendererFolds.SignalSignatures[K]>): number;
|
|
2079
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2080
2048
|
|
|
2081
2049
|
/** @signal */
|
|
2082
|
-
emit<K extends keyof GutterRendererFolds.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<GutterRendererFolds.SignalSignatures[K]>
|
|
2083
|
-
emit(signal: string, ...args: any[]): void;
|
|
2050
|
+
emit<K extends keyof GutterRendererFolds.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<GutterRendererFolds.SignalSignatures[K]>): void;
|
|
2084
2051
|
|
|
2085
2052
|
// Methods
|
|
2086
2053
|
/**
|
|
@@ -2179,15 +2146,12 @@ export namespace Gtef {
|
|
|
2179
2146
|
// Signals
|
|
2180
2147
|
/** @signal */
|
|
2181
2148
|
connect<K extends keyof InfoBar.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, InfoBar.SignalSignatures[K]>): number;
|
|
2182
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2183
2149
|
|
|
2184
2150
|
/** @signal */
|
|
2185
2151
|
connect_after<K extends keyof InfoBar.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, InfoBar.SignalSignatures[K]>): number;
|
|
2186
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2187
2152
|
|
|
2188
2153
|
/** @signal */
|
|
2189
|
-
emit<K extends keyof InfoBar.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<InfoBar.SignalSignatures[K]>
|
|
2190
|
-
emit(signal: string, ...args: any[]): void;
|
|
2154
|
+
emit<K extends keyof InfoBar.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<InfoBar.SignalSignatures[K]>): void;
|
|
2191
2155
|
|
|
2192
2156
|
// Static methods
|
|
2193
2157
|
/**
|
|
@@ -2315,15 +2279,12 @@ export namespace Gtef {
|
|
|
2315
2279
|
// Signals
|
|
2316
2280
|
/** @signal */
|
|
2317
2281
|
connect<K extends keyof MenuShell.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, MenuShell.SignalSignatures[K]>): number;
|
|
2318
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2319
2282
|
|
|
2320
2283
|
/** @signal */
|
|
2321
2284
|
connect_after<K extends keyof MenuShell.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, MenuShell.SignalSignatures[K]>): number;
|
|
2322
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2323
2285
|
|
|
2324
2286
|
/** @signal */
|
|
2325
|
-
emit<K extends keyof MenuShell.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<MenuShell.SignalSignatures[K]>
|
|
2326
|
-
emit(signal: string, ...args: any[]): void;
|
|
2287
|
+
emit<K extends keyof MenuShell.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<MenuShell.SignalSignatures[K]>): void;
|
|
2327
2288
|
|
|
2328
2289
|
// Static methods
|
|
2329
2290
|
/**
|
|
@@ -2441,15 +2402,12 @@ export namespace Gtef {
|
|
|
2441
2402
|
// Signals
|
|
2442
2403
|
/** @signal */
|
|
2443
2404
|
connect<K extends keyof Tab.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Tab.SignalSignatures[K]>): number;
|
|
2444
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2445
2405
|
|
|
2446
2406
|
/** @signal */
|
|
2447
2407
|
connect_after<K extends keyof Tab.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Tab.SignalSignatures[K]>): number;
|
|
2448
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2449
2408
|
|
|
2450
2409
|
/** @signal */
|
|
2451
|
-
emit<K extends keyof Tab.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Tab.SignalSignatures[K]>
|
|
2452
|
-
emit(signal: string, ...args: any[]): void;
|
|
2410
|
+
emit<K extends keyof Tab.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Tab.SignalSignatures[K]>): void;
|
|
2453
2411
|
|
|
2454
2412
|
// Methods
|
|
2455
2413
|
/**
|
|
@@ -2601,15 +2559,12 @@ export namespace Gtef {
|
|
|
2601
2559
|
// Signals
|
|
2602
2560
|
/** @signal */
|
|
2603
2561
|
connect<K extends keyof View.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, View.SignalSignatures[K]>): number;
|
|
2604
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2605
2562
|
|
|
2606
2563
|
/** @signal */
|
|
2607
2564
|
connect_after<K extends keyof View.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, View.SignalSignatures[K]>): number;
|
|
2608
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2609
2565
|
|
|
2610
2566
|
/** @signal */
|
|
2611
|
-
emit<K extends keyof View.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<View.SignalSignatures[K]>
|
|
2612
|
-
emit(signal: string, ...args: any[]): void;
|
|
2567
|
+
emit<K extends keyof View.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<View.SignalSignatures[K]>): void;
|
|
2613
2568
|
|
|
2614
2569
|
// Methods
|
|
2615
2570
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gtef-2",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Gtef-2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gtef-2.js",
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
"test": "tsc --project tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@girs/gjs": "^
|
|
40
|
-
"@girs/gtksource-3.0": "^
|
|
41
|
-
"@girs/gtk-3.0": "^
|
|
42
|
-
"@girs/xlib-2.0": "^
|
|
43
|
-
"@girs/gdk-3.0": "^
|
|
44
|
-
"@girs/cairo-1.0": "^
|
|
45
|
-
"@girs/gobject-2.0": "^
|
|
46
|
-
"@girs/glib-2.0": "^
|
|
47
|
-
"@girs/pango-1.0": "^
|
|
48
|
-
"@girs/harfbuzz-0.0": "^
|
|
49
|
-
"@girs/freetype2-2.0": "^
|
|
50
|
-
"@girs/gio-2.0": "^
|
|
51
|
-
"@girs/gmodule-2.0": "^
|
|
52
|
-
"@girs/gdkpixbuf-2.0": "^
|
|
53
|
-
"@girs/atk-1.0": "^
|
|
39
|
+
"@girs/gjs": "^5.0.0",
|
|
40
|
+
"@girs/gtksource-3.0": "^5.0.0",
|
|
41
|
+
"@girs/gtk-3.0": "^5.0.0",
|
|
42
|
+
"@girs/xlib-2.0": "^5.0.0",
|
|
43
|
+
"@girs/gdk-3.0": "^5.0.0",
|
|
44
|
+
"@girs/cairo-1.0": "^5.0.0",
|
|
45
|
+
"@girs/gobject-2.0": "^5.0.0",
|
|
46
|
+
"@girs/glib-2.0": "^5.0.0",
|
|
47
|
+
"@girs/pango-1.0": "^5.0.0",
|
|
48
|
+
"@girs/harfbuzz-0.0": "^5.0.0",
|
|
49
|
+
"@girs/freetype2-2.0": "^5.0.0",
|
|
50
|
+
"@girs/gio-2.0": "^5.0.0",
|
|
51
|
+
"@girs/gmodule-2.0": "^5.0.0",
|
|
52
|
+
"@girs/gdkpixbuf-2.0": "^5.0.0",
|
|
53
|
+
"@girs/atk-1.0": "^5.0.0" },
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"typescript": "*"
|
|
56
56
|
},
|