@girs/xed-1.0 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/package.json +16 -16
- package/xed-1.0-vocabulary.d.ts +21 -0
- package/xed-1.0-vocabulary.js +18 -0
- package/xed-1.0.d.ts +14 -56
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for Xed-1.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir)
|
|
7
|
+
GJS TypeScript type definitions for Xed-1.0 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/xed-1.0",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Xed-1.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "xed-1.0.js",
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
"test": "tsc --project tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@girs/gjs": "^
|
|
40
|
-
"@girs/gtksource-4": "^
|
|
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-4": "^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
|
},
|
package/xed-1.0-vocabulary.d.ts
CHANGED
|
@@ -334,6 +334,27 @@ export const FLAG_VALUES: Readonly<Record<string, number>>;
|
|
|
334
334
|
/** `<bitfield GType>.<nick>` -> the raw GIR `value` no number could be read from. */
|
|
335
335
|
export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
336
336
|
|
|
337
|
+
/**
|
|
338
|
+
* `<declaration GType>.<property>` -> the GType of that property's enum or bitfield.
|
|
339
|
+
*
|
|
340
|
+
* The join the value tables need and nothing else here carries. A host with no GI has a
|
|
341
|
+
* property name and a nick and needs a number; `ENUM_VALUES` is keyed by ENUM GType, and
|
|
342
|
+
* only this says which enum a property is. Keyed by DECLARATION like `OWN_PROPS`, so it is
|
|
343
|
+
* read at every link of a `DECLS` chain — `orientation` belongs to `GtkOrientable`, not
|
|
344
|
+
* to the `GtkBox` a caller starts from.
|
|
345
|
+
*
|
|
346
|
+
* Present only where the property's OWN type is the enum: an array of them, or a union that
|
|
347
|
+
* merely mentions one, would be an entry a consumer resolves wrongly.
|
|
348
|
+
*
|
|
349
|
+
* The GType named here is not always one THIS module gives numbers for. A nick vocabulary is
|
|
350
|
+
* emitted once, by the namespace that owns the enum, so `AdwComboRow.search-match-mode` names
|
|
351
|
+
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` — 57 of the 438
|
|
352
|
+
* entries in a full run resolve only with the owner's vocabulary loaded beside this one. An
|
|
353
|
+
* owner with no vocabulary of its own (Gdk, Pango) is inlined here instead, so every entry
|
|
354
|
+
* resolves against SOME module.
|
|
355
|
+
*/
|
|
356
|
+
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
357
|
+
|
|
337
358
|
/** Widget GType -> slot name -> the method that may adopt a child there. */
|
|
338
359
|
export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
339
360
|
|
package/xed-1.0-vocabulary.js
CHANGED
|
@@ -152,6 +152,24 @@ export const FLAG_VALUES = {
|
|
|
152
152
|
// so this is the table that shape actually reaches.
|
|
153
153
|
export const FLAG_VALUES_UNREADABLE = {};
|
|
154
154
|
|
|
155
|
+
// Declaration GType + property name -> the GType of that property's enum or bitfield.
|
|
156
|
+
//
|
|
157
|
+
// Without it the value tables above are half an answer. A host with no GI knows it must set
|
|
158
|
+
// `orientation` to the number behind the nick `vertical`; `ENUM_VALUES` is keyed
|
|
159
|
+
// `GtkOrientation.vertical`, and nothing else says that `orientation` is a
|
|
160
|
+
// `GtkOrientation`. Deriving it is not available: `never` is a member of several Gtk enums,
|
|
161
|
+
// and choosing between them produces a wrong number rather than a missing one.
|
|
162
|
+
//
|
|
163
|
+
// Only where the property's OWN type is the enum. An array of them and a union that mentions
|
|
164
|
+
// one are both entries a consumer would resolve wrongly, so neither is written.
|
|
165
|
+
//
|
|
166
|
+
// A GType named here has numbers in SOME vocabulary, not necessarily this one: the namespace
|
|
167
|
+
// that OWNS an enum publishes it, so 57 of the 438 entries a full run emits want the owner's
|
|
168
|
+
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
169
|
+
export const PROP_ENUMS = {
|
|
170
|
+
'XedPanel.orientation': 'GtkOrientation',
|
|
171
|
+
};
|
|
172
|
+
|
|
155
173
|
export const SLOT_CANDIDATES = {
|
|
156
174
|
XedTab: {
|
|
157
175
|
'info-bar': 'set_info_bar',
|
package/xed-1.0.d.ts
CHANGED
|
@@ -408,15 +408,12 @@ export namespace Xed {
|
|
|
408
408
|
// Signals
|
|
409
409
|
/** @signal */
|
|
410
410
|
connect<K extends keyof App.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, App.SignalSignatures[K]>): number;
|
|
411
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
412
411
|
|
|
413
412
|
/** @signal */
|
|
414
413
|
connect_after<K extends keyof App.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, App.SignalSignatures[K]>): number;
|
|
415
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
416
414
|
|
|
417
415
|
/** @signal */
|
|
418
|
-
emit<K extends keyof App.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<App.SignalSignatures[K]>
|
|
419
|
-
emit(signal: string, ...args: any[]): void;
|
|
416
|
+
emit<K extends keyof App.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<App.SignalSignatures[K]>): void;
|
|
420
417
|
|
|
421
418
|
// Virtual methods
|
|
422
419
|
/**
|
|
@@ -653,15 +650,12 @@ export namespace Xed {
|
|
|
653
650
|
// Signals
|
|
654
651
|
/** @signal */
|
|
655
652
|
connect<K extends keyof Document.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Document.SignalSignatures[K]>): number;
|
|
656
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
657
653
|
|
|
658
654
|
/** @signal */
|
|
659
655
|
connect_after<K extends keyof Document.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Document.SignalSignatures[K]>): number;
|
|
660
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
661
656
|
|
|
662
657
|
/** @signal */
|
|
663
|
-
emit<K extends keyof Document.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Document.SignalSignatures[K]>
|
|
664
|
-
emit(signal: string, ...args: any[]): void;
|
|
658
|
+
emit<K extends keyof Document.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Document.SignalSignatures[K]>): void;
|
|
665
659
|
|
|
666
660
|
// Virtual methods
|
|
667
661
|
/**
|
|
@@ -911,15 +905,12 @@ export namespace Xed {
|
|
|
911
905
|
// Signals
|
|
912
906
|
/** @signal */
|
|
913
907
|
connect<K extends keyof EncodingsComboBox.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, EncodingsComboBox.SignalSignatures[K]>): number;
|
|
914
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
915
908
|
|
|
916
909
|
/** @signal */
|
|
917
910
|
connect_after<K extends keyof EncodingsComboBox.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, EncodingsComboBox.SignalSignatures[K]>): number;
|
|
918
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
919
911
|
|
|
920
912
|
/** @signal */
|
|
921
|
-
emit<K extends keyof EncodingsComboBox.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<EncodingsComboBox.SignalSignatures[K]>
|
|
922
|
-
emit(signal: string, ...args: any[]): void;
|
|
913
|
+
emit<K extends keyof EncodingsComboBox.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<EncodingsComboBox.SignalSignatures[K]>): void;
|
|
923
914
|
|
|
924
915
|
// Methods
|
|
925
916
|
/**
|
|
@@ -1356,15 +1347,12 @@ export namespace Xed {
|
|
|
1356
1347
|
// Signals
|
|
1357
1348
|
/** @signal */
|
|
1358
1349
|
connect<K extends keyof FileChooserDialog.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FileChooserDialog.SignalSignatures[K]>): number;
|
|
1359
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1360
1350
|
|
|
1361
1351
|
/** @signal */
|
|
1362
1352
|
connect_after<K extends keyof FileChooserDialog.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FileChooserDialog.SignalSignatures[K]>): number;
|
|
1363
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1364
1353
|
|
|
1365
1354
|
/** @signal */
|
|
1366
|
-
emit<K extends keyof FileChooserDialog.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FileChooserDialog.SignalSignatures[K]>
|
|
1367
|
-
emit(signal: string, ...args: any[]): void;
|
|
1355
|
+
emit<K extends keyof FileChooserDialog.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FileChooserDialog.SignalSignatures[K]>): void;
|
|
1368
1356
|
|
|
1369
1357
|
// Methods
|
|
1370
1358
|
get_encoding(): GtkSource.Encoding;
|
|
@@ -2321,15 +2309,12 @@ export namespace Xed {
|
|
|
2321
2309
|
// Signals
|
|
2322
2310
|
/** @signal */
|
|
2323
2311
|
connect<K extends keyof Message.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Message.SignalSignatures[K]>): number;
|
|
2324
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2325
2312
|
|
|
2326
2313
|
/** @signal */
|
|
2327
2314
|
connect_after<K extends keyof Message.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Message.SignalSignatures[K]>): number;
|
|
2328
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2329
2315
|
|
|
2330
2316
|
/** @signal */
|
|
2331
|
-
emit<K extends keyof Message.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Message.SignalSignatures[K]>
|
|
2332
|
-
emit(signal: string, ...args: any[]): void;
|
|
2317
|
+
emit<K extends keyof Message.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Message.SignalSignatures[K]>): void;
|
|
2333
2318
|
|
|
2334
2319
|
// Methods
|
|
2335
2320
|
/**
|
|
@@ -2446,15 +2431,12 @@ export namespace Xed {
|
|
|
2446
2431
|
// Signals
|
|
2447
2432
|
/** @signal */
|
|
2448
2433
|
connect<K extends keyof MessageBus.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, MessageBus.SignalSignatures[K]>): number;
|
|
2449
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2450
2434
|
|
|
2451
2435
|
/** @signal */
|
|
2452
2436
|
connect_after<K extends keyof MessageBus.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, MessageBus.SignalSignatures[K]>): number;
|
|
2453
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2454
2437
|
|
|
2455
2438
|
/** @signal */
|
|
2456
|
-
emit<K extends keyof MessageBus.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<MessageBus.SignalSignatures[K]>
|
|
2457
|
-
emit(signal: string, ...args: any[]): void;
|
|
2439
|
+
emit<K extends keyof MessageBus.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<MessageBus.SignalSignatures[K]>): void;
|
|
2458
2440
|
|
|
2459
2441
|
// Static methods
|
|
2460
2442
|
/**
|
|
@@ -2717,15 +2699,12 @@ export namespace Xed {
|
|
|
2717
2699
|
// Signals
|
|
2718
2700
|
/** @signal */
|
|
2719
2701
|
connect<K extends keyof Notebook.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Notebook.SignalSignatures[K]>): number;
|
|
2720
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2721
2702
|
|
|
2722
2703
|
/** @signal */
|
|
2723
2704
|
connect_after<K extends keyof Notebook.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Notebook.SignalSignatures[K]>): number;
|
|
2724
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2725
2705
|
|
|
2726
2706
|
/** @signal */
|
|
2727
|
-
emit<K extends keyof Notebook.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Notebook.SignalSignatures[K]>
|
|
2728
|
-
emit(signal: string, ...args: any[]): void;
|
|
2707
|
+
emit<K extends keyof Notebook.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Notebook.SignalSignatures[K]>): void;
|
|
2729
2708
|
|
|
2730
2709
|
// Virtual methods
|
|
2731
2710
|
/**
|
|
@@ -2950,15 +2929,12 @@ export namespace Xed {
|
|
|
2950
2929
|
// Signals
|
|
2951
2930
|
/** @signal */
|
|
2952
2931
|
connect<K extends keyof Panel.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Panel.SignalSignatures[K]>): number;
|
|
2953
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2954
2932
|
|
|
2955
2933
|
/** @signal */
|
|
2956
2934
|
connect_after<K extends keyof Panel.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Panel.SignalSignatures[K]>): number;
|
|
2957
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2958
2935
|
|
|
2959
2936
|
/** @signal */
|
|
2960
|
-
emit<K extends keyof Panel.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Panel.SignalSignatures[K]>
|
|
2961
|
-
emit(signal: string, ...args: any[]): void;
|
|
2937
|
+
emit<K extends keyof Panel.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Panel.SignalSignatures[K]>): void;
|
|
2962
2938
|
|
|
2963
2939
|
// Virtual methods
|
|
2964
2940
|
/**
|
|
@@ -3130,15 +3106,12 @@ export namespace Xed {
|
|
|
3130
3106
|
// Signals
|
|
3131
3107
|
/** @signal */
|
|
3132
3108
|
connect<K extends keyof ProgressInfoBar.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ProgressInfoBar.SignalSignatures[K]>): number;
|
|
3133
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3134
3109
|
|
|
3135
3110
|
/** @signal */
|
|
3136
3111
|
connect_after<K extends keyof ProgressInfoBar.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ProgressInfoBar.SignalSignatures[K]>): number;
|
|
3137
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3138
3112
|
|
|
3139
3113
|
/** @signal */
|
|
3140
|
-
emit<K extends keyof ProgressInfoBar.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ProgressInfoBar.SignalSignatures[K]>
|
|
3141
|
-
emit(signal: string, ...args: any[]): void;
|
|
3114
|
+
emit<K extends keyof ProgressInfoBar.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ProgressInfoBar.SignalSignatures[K]>): void;
|
|
3142
3115
|
|
|
3143
3116
|
// Methods
|
|
3144
3117
|
pulse(): void;
|
|
@@ -3253,15 +3226,12 @@ export namespace Xed {
|
|
|
3253
3226
|
// Signals
|
|
3254
3227
|
/** @signal */
|
|
3255
3228
|
connect<K extends keyof Searchbar.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Searchbar.SignalSignatures[K]>): number;
|
|
3256
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3257
3229
|
|
|
3258
3230
|
/** @signal */
|
|
3259
3231
|
connect_after<K extends keyof Searchbar.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Searchbar.SignalSignatures[K]>): number;
|
|
3260
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3261
3232
|
|
|
3262
3233
|
/** @signal */
|
|
3263
|
-
emit<K extends keyof Searchbar.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Searchbar.SignalSignatures[K]>
|
|
3264
|
-
emit(signal: string, ...args: any[]): void;
|
|
3234
|
+
emit<K extends keyof Searchbar.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Searchbar.SignalSignatures[K]>): void;
|
|
3265
3235
|
|
|
3266
3236
|
// Virtual methods
|
|
3267
3237
|
/**
|
|
@@ -3416,15 +3386,12 @@ export namespace Xed {
|
|
|
3416
3386
|
// Signals
|
|
3417
3387
|
/** @signal */
|
|
3418
3388
|
connect<K extends keyof Statusbar.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Statusbar.SignalSignatures[K]>): number;
|
|
3419
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3420
3389
|
|
|
3421
3390
|
/** @signal */
|
|
3422
3391
|
connect_after<K extends keyof Statusbar.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Statusbar.SignalSignatures[K]>): number;
|
|
3423
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3424
3392
|
|
|
3425
3393
|
/** @signal */
|
|
3426
|
-
emit<K extends keyof Statusbar.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Statusbar.SignalSignatures[K]>
|
|
3427
|
-
emit(signal: string, ...args: any[]): void;
|
|
3394
|
+
emit<K extends keyof Statusbar.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Statusbar.SignalSignatures[K]>): void;
|
|
3428
3395
|
|
|
3429
3396
|
// Methods
|
|
3430
3397
|
clear_overwrite(): void;
|
|
@@ -3585,15 +3552,12 @@ export namespace Xed {
|
|
|
3585
3552
|
// Signals
|
|
3586
3553
|
/** @signal */
|
|
3587
3554
|
connect<K extends keyof Tab.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Tab.SignalSignatures[K]>): number;
|
|
3588
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3589
3555
|
|
|
3590
3556
|
/** @signal */
|
|
3591
3557
|
connect_after<K extends keyof Tab.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Tab.SignalSignatures[K]>): number;
|
|
3592
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3593
3558
|
|
|
3594
3559
|
/** @signal */
|
|
3595
|
-
emit<K extends keyof Tab.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Tab.SignalSignatures[K]>
|
|
3596
|
-
emit(signal: string, ...args: any[]): void;
|
|
3560
|
+
emit<K extends keyof Tab.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Tab.SignalSignatures[K]>): void;
|
|
3597
3561
|
|
|
3598
3562
|
// Static methods
|
|
3599
3563
|
/**
|
|
@@ -3806,15 +3770,12 @@ export namespace Xed {
|
|
|
3806
3770
|
// Signals
|
|
3807
3771
|
/** @signal */
|
|
3808
3772
|
connect<K extends keyof View.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, View.SignalSignatures[K]>): number;
|
|
3809
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3810
3773
|
|
|
3811
3774
|
/** @signal */
|
|
3812
3775
|
connect_after<K extends keyof View.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, View.SignalSignatures[K]>): number;
|
|
3813
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3814
3776
|
|
|
3815
3777
|
/** @signal */
|
|
3816
|
-
emit<K extends keyof View.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<View.SignalSignatures[K]>
|
|
3817
|
-
emit(signal: string, ...args: any[]): void;
|
|
3778
|
+
emit<K extends keyof View.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<View.SignalSignatures[K]>): void;
|
|
3818
3779
|
|
|
3819
3780
|
// Virtual methods
|
|
3820
3781
|
/**
|
|
@@ -4024,15 +3985,12 @@ export namespace Xed {
|
|
|
4024
3985
|
// Signals
|
|
4025
3986
|
/** @signal */
|
|
4026
3987
|
connect<K extends keyof Window.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Window.SignalSignatures[K]>): number;
|
|
4027
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
4028
3988
|
|
|
4029
3989
|
/** @signal */
|
|
4030
3990
|
connect_after<K extends keyof Window.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Window.SignalSignatures[K]>): number;
|
|
4031
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
4032
3991
|
|
|
4033
3992
|
/** @signal */
|
|
4034
|
-
emit<K extends keyof Window.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Window.SignalSignatures[K]>
|
|
4035
|
-
emit(signal: string, ...args: any[]): void;
|
|
3993
|
+
emit<K extends keyof Window.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Window.SignalSignatures[K]>): void;
|
|
4036
3994
|
|
|
4037
3995
|
// Virtual methods
|
|
4038
3996
|
/**
|