@girs/gtef-2 4.9.0 → 5.1.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 +39 -0
- package/gtef-2-vocabulary.js +25 -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.1.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
|
@@ -261,6 +261,45 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
261
261
|
*/
|
|
262
262
|
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
263
263
|
|
|
264
|
+
/**
|
|
265
|
+
* The kinds of value a GTK accessible property, relation or state takes.
|
|
266
|
+
*
|
|
267
|
+
* `enum` is the one that needs a second lookup: `ARIA_VALUE_ENUMS` names the enum GType,
|
|
268
|
+
* and `ENUM_NICKS` and `ENUM_VALUES` answer from there.
|
|
269
|
+
*/
|
|
270
|
+
export type AriaValueType = 'string' | 'integer' | 'double' | 'boolean' | 'reference' | 'enum';
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
274
|
+
*
|
|
275
|
+
* The one table in this file that is not a fact about a ParamSpec. A GtkBuilder or
|
|
276
|
+
* Blueprint `accessibility { … }` block is typed by GTK's ARIA table, not by the widget,
|
|
277
|
+
* and the two disagree where it costs most: `orientation` is settable on a `GtkLabel`
|
|
278
|
+
* that implements no `GtkOrientable`, and `checked` is a `GtkAccessibleTristate`, so
|
|
279
|
+
* `checked: true` is the number 1 rather than a boolean. Typing those slots from the
|
|
280
|
+
* widget's properties gets both wrong and raises nothing.
|
|
281
|
+
*
|
|
282
|
+
* Keyed like `ENUM_VALUES` because the ARIA names ARE enum members — of
|
|
283
|
+
* `GtkAccessibleProperty`, `GtkAccessibleRelation` and `GtkAccessibleState` — so
|
|
284
|
+
* `ENUM_NICKS` already lists them and one key parser reads both.
|
|
285
|
+
*
|
|
286
|
+
* Read from each member's own GIR documentation. `gtk_accessible_property_init_value()`
|
|
287
|
+
* is the C half of this table and is not introspectable; the doc sentence is, and states
|
|
288
|
+
* the type for 52 of the 53 members in gtk4 4.23.3. Complete or absent, never partial: a
|
|
289
|
+
* member the generator cannot answer for fails the build and names itself.
|
|
290
|
+
*/
|
|
291
|
+
export const ARIA_VALUE_TYPES: Readonly<Record<string, AriaValueType>>;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* The same keys, for the `'enum'` rows only -> the GType of that enum.
|
|
295
|
+
*
|
|
296
|
+
* A table of its own for the reason `PROP_ENUMS` is one: folded in, the values of
|
|
297
|
+
* `ARIA_VALUE_TYPES` would be six reserved words mixed with arbitrary GTypes and telling
|
|
298
|
+
* them apart would be the consumer's problem. Apart, `ARIA_VALUE_TYPES[k] === 'enum'` is
|
|
299
|
+
* the whole test and `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
300
|
+
*/
|
|
301
|
+
export const ARIA_VALUE_ENUMS: Readonly<Record<string, string>>;
|
|
302
|
+
|
|
264
303
|
/** Widget GType -> slot name -> the method that may adopt a child there. */
|
|
265
304
|
export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
266
305
|
|
package/gtef-2-vocabulary.js
CHANGED
|
@@ -130,6 +130,31 @@ export const FLAG_VALUES_UNREADABLE = {};
|
|
|
130
130
|
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
131
131
|
export const PROP_ENUMS = {};
|
|
132
132
|
|
|
133
|
+
// `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
134
|
+
//
|
|
135
|
+
// The one table here that is not about a ParamSpec. A GtkBuilder or Blueprint
|
|
136
|
+
// `accessibility { … }` block is typed by GTK's ARIA table instead, and the two disagree
|
|
137
|
+
// where it matters: `orientation` is settable on a `GtkLabel` that implements no
|
|
138
|
+
// `GtkOrientable` and has no such property, and `checked` is a `GtkAccessibleTristate`, so
|
|
139
|
+
// `checked: true` means the number 1 and not the boolean. A consumer typing those slots
|
|
140
|
+
// from the widget gets both wrong, silently.
|
|
141
|
+
//
|
|
142
|
+
// Read from each member's own documentation, which is where GTK keeps the table --
|
|
143
|
+
// `gtk_accessible_property_init_value()` is the C half and is not introspectable, the
|
|
144
|
+
// sentence is. Complete or absent, never partial: a member whose documentation states no
|
|
145
|
+
// value type fails generation and names itself, because a missing row is indistinguishable
|
|
146
|
+
// from "GTK has no such name" and the plausible fallback emits `true` where GTK means 1.
|
|
147
|
+
export const ARIA_VALUE_TYPES = {};
|
|
148
|
+
|
|
149
|
+
// The same keys, for the `'enum'` rows only -> the GType of the enum.
|
|
150
|
+
//
|
|
151
|
+
// The join on from a kind to a number, and a table of its own for the reason `PROP_ENUMS`
|
|
152
|
+
// is one: folding the GType into `ARIA_VALUE_TYPES` would make its values a mix of six
|
|
153
|
+
// reserved words and arbitrary GTypes, and telling them apart would be the consumer's
|
|
154
|
+
// problem. With this, `ARIA_VALUE_TYPES[k] === 'enum'` is the whole test, and
|
|
155
|
+
// `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
156
|
+
export const ARIA_VALUE_ENUMS = {};
|
|
157
|
+
|
|
133
158
|
export const SLOT_CANDIDATES = {
|
|
134
159
|
GtefInfoBar: {
|
|
135
160
|
'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.1.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.1.0",
|
|
40
|
+
"@girs/gtksource-3.0": "^5.1.0",
|
|
41
|
+
"@girs/gtk-3.0": "^5.1.0",
|
|
42
|
+
"@girs/xlib-2.0": "^5.1.0",
|
|
43
|
+
"@girs/gdk-3.0": "^5.1.0",
|
|
44
|
+
"@girs/cairo-1.0": "^5.1.0",
|
|
45
|
+
"@girs/gobject-2.0": "^5.1.0",
|
|
46
|
+
"@girs/glib-2.0": "^5.1.0",
|
|
47
|
+
"@girs/pango-1.0": "^5.1.0",
|
|
48
|
+
"@girs/harfbuzz-0.0": "^5.1.0",
|
|
49
|
+
"@girs/freetype2-2.0": "^5.1.0",
|
|
50
|
+
"@girs/gio-2.0": "^5.1.0",
|
|
51
|
+
"@girs/gmodule-2.0": "^5.1.0",
|
|
52
|
+
"@girs/gdkpixbuf-2.0": "^5.1.0",
|
|
53
|
+
"@girs/atk-1.0": "^5.1.0" },
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"typescript": "*"
|
|
56
56
|
},
|