@girs/foundrygtk-1 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/foundrygtk-1-vocabulary.d.ts +21 -0
- package/foundrygtk-1-vocabulary.js +16 -0
- package/foundrygtk-1.d.ts +15 -60
- package/package.json +22 -22
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for FoundryGtk-1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir)
|
|
7
|
+
GJS TypeScript type definitions for FoundryGtk-1 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.
|
|
@@ -308,6 +308,27 @@ export const FLAG_VALUES: Readonly<Record<string, number>>;
|
|
|
308
308
|
/** `<bitfield GType>.<nick>` -> the raw GIR `value` no number could be read from. */
|
|
309
309
|
export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
310
310
|
|
|
311
|
+
/**
|
|
312
|
+
* `<declaration GType>.<property>` -> the GType of that property's enum or bitfield.
|
|
313
|
+
*
|
|
314
|
+
* The join the value tables need and nothing else here carries. A host with no GI has a
|
|
315
|
+
* property name and a nick and needs a number; `ENUM_VALUES` is keyed by ENUM GType, and
|
|
316
|
+
* only this says which enum a property is. Keyed by DECLARATION like `OWN_PROPS`, so it is
|
|
317
|
+
* read at every link of a `DECLS` chain — `orientation` belongs to `GtkOrientable`, not
|
|
318
|
+
* to the `GtkBox` a caller starts from.
|
|
319
|
+
*
|
|
320
|
+
* Present only where the property's OWN type is the enum: an array of them, or a union that
|
|
321
|
+
* merely mentions one, would be an entry a consumer resolves wrongly.
|
|
322
|
+
*
|
|
323
|
+
* The GType named here is not always one THIS module gives numbers for. A nick vocabulary is
|
|
324
|
+
* emitted once, by the namespace that owns the enum, so `AdwComboRow.search-match-mode` names
|
|
325
|
+
* `GtkStringFilterMatchMode` and its rows are in `@girs/gtk-4.0/vocabulary` — 57 of the 438
|
|
326
|
+
* entries in a full run resolve only with the owner's vocabulary loaded beside this one. An
|
|
327
|
+
* owner with no vocabulary of its own (Gdk, Pango) is inlined here instead, so every entry
|
|
328
|
+
* resolves against SOME module.
|
|
329
|
+
*/
|
|
330
|
+
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
331
|
+
|
|
311
332
|
/** Widget GType -> slot name -> the method that may adopt a child there. */
|
|
312
333
|
export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
313
334
|
|
|
@@ -100,6 +100,22 @@ export const FLAG_VALUES = {};
|
|
|
100
100
|
// so this is the table that shape actually reaches.
|
|
101
101
|
export const FLAG_VALUES_UNREADABLE = {};
|
|
102
102
|
|
|
103
|
+
// Declaration GType + property name -> the GType of that property's enum or bitfield.
|
|
104
|
+
//
|
|
105
|
+
// Without it the value tables above are half an answer. A host with no GI knows it must set
|
|
106
|
+
// `orientation` to the number behind the nick `vertical`; `ENUM_VALUES` is keyed
|
|
107
|
+
// `GtkOrientation.vertical`, and nothing else says that `orientation` is a
|
|
108
|
+
// `GtkOrientation`. Deriving it is not available: `never` is a member of several Gtk enums,
|
|
109
|
+
// and choosing between them produces a wrong number rather than a missing one.
|
|
110
|
+
//
|
|
111
|
+
// Only where the property's OWN type is the enum. An array of them and a union that mentions
|
|
112
|
+
// one are both entries a consumer would resolve wrongly, so neither is written.
|
|
113
|
+
//
|
|
114
|
+
// A GType named here has numbers in SOME vocabulary, not necessarily this one: the namespace
|
|
115
|
+
// that OWNS an enum publishes it, so 57 of the 438 entries a full run emits want the owner's
|
|
116
|
+
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
117
|
+
export const PROP_ENUMS = {};
|
|
118
|
+
|
|
103
119
|
export const SLOT_CANDIDATES = {};
|
|
104
120
|
|
|
105
121
|
export const SINCE = {
|
package/foundrygtk-1.d.ts
CHANGED
|
@@ -149,15 +149,12 @@ export namespace FoundryGtk {
|
|
|
149
149
|
// Signals
|
|
150
150
|
/** @signal */
|
|
151
151
|
connect<K extends keyof ChangesGutterRenderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ChangesGutterRenderer.SignalSignatures[K]>): number;
|
|
152
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
153
152
|
|
|
154
153
|
/** @signal */
|
|
155
154
|
connect_after<K extends keyof ChangesGutterRenderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ChangesGutterRenderer.SignalSignatures[K]>): number;
|
|
156
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
157
155
|
|
|
158
156
|
/** @signal */
|
|
159
|
-
emit<K extends keyof ChangesGutterRenderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ChangesGutterRenderer.SignalSignatures[K]>
|
|
160
|
-
emit(signal: string, ...args: any[]): void;
|
|
157
|
+
emit<K extends keyof ChangesGutterRenderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ChangesGutterRenderer.SignalSignatures[K]>): void;
|
|
161
158
|
|
|
162
159
|
// Methods
|
|
163
160
|
get_show_overview(): boolean;
|
|
@@ -252,15 +249,12 @@ export namespace FoundryGtk {
|
|
|
252
249
|
// Signals
|
|
253
250
|
/** @signal */
|
|
254
251
|
connect<K extends keyof DiagnosticsGutterRenderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DiagnosticsGutterRenderer.SignalSignatures[K]>): number;
|
|
255
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
256
252
|
|
|
257
253
|
/** @signal */
|
|
258
254
|
connect_after<K extends keyof DiagnosticsGutterRenderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DiagnosticsGutterRenderer.SignalSignatures[K]>): number;
|
|
259
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
260
255
|
|
|
261
256
|
/** @signal */
|
|
262
|
-
emit<K extends keyof DiagnosticsGutterRenderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DiagnosticsGutterRenderer.SignalSignatures[K]>
|
|
263
|
-
emit(signal: string, ...args: any[]): void;
|
|
257
|
+
emit<K extends keyof DiagnosticsGutterRenderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DiagnosticsGutterRenderer.SignalSignatures[K]>): void;
|
|
264
258
|
|
|
265
259
|
// Methods
|
|
266
260
|
dup_diagnostics(): Foundry.OnTypeDiagnostics | null;
|
|
@@ -355,15 +349,12 @@ export namespace FoundryGtk {
|
|
|
355
349
|
// Signals
|
|
356
350
|
/** @signal */
|
|
357
351
|
connect<K extends keyof GitLanes.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, GitLanes.SignalSignatures[K]>): number;
|
|
358
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
359
352
|
|
|
360
353
|
/** @signal */
|
|
361
354
|
connect_after<K extends keyof GitLanes.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, GitLanes.SignalSignatures[K]>): number;
|
|
362
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
363
355
|
|
|
364
356
|
/** @signal */
|
|
365
|
-
emit<K extends keyof GitLanes.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<GitLanes.SignalSignatures[K]>
|
|
366
|
-
emit(signal: string, ...args: any[]): void;
|
|
357
|
+
emit<K extends keyof GitLanes.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<GitLanes.SignalSignatures[K]>): void;
|
|
367
358
|
|
|
368
359
|
// Methods
|
|
369
360
|
/**
|
|
@@ -825,15 +816,12 @@ export namespace FoundryGtk {
|
|
|
825
816
|
// Signals
|
|
826
817
|
/** @signal */
|
|
827
818
|
connect<K extends keyof MarkupView.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, MarkupView.SignalSignatures[K]>): number;
|
|
828
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
829
819
|
|
|
830
820
|
/** @signal */
|
|
831
821
|
connect_after<K extends keyof MarkupView.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, MarkupView.SignalSignatures[K]>): number;
|
|
832
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
833
822
|
|
|
834
823
|
/** @signal */
|
|
835
|
-
emit<K extends keyof MarkupView.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<MarkupView.SignalSignatures[K]>
|
|
836
|
-
emit(signal: string, ...args: any[]): void;
|
|
824
|
+
emit<K extends keyof MarkupView.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<MarkupView.SignalSignatures[K]>): void;
|
|
837
825
|
|
|
838
826
|
// Methods
|
|
839
827
|
/**
|
|
@@ -1257,15 +1245,12 @@ export namespace FoundryGtk {
|
|
|
1257
1245
|
// Signals
|
|
1258
1246
|
/** @signal */
|
|
1259
1247
|
connect<K extends keyof MenuManager.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, MenuManager.SignalSignatures[K]>): number;
|
|
1260
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1261
1248
|
|
|
1262
1249
|
/** @signal */
|
|
1263
1250
|
connect_after<K extends keyof MenuManager.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, MenuManager.SignalSignatures[K]>): number;
|
|
1264
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1265
1251
|
|
|
1266
1252
|
/** @signal */
|
|
1267
|
-
emit<K extends keyof MenuManager.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<MenuManager.SignalSignatures[K]>
|
|
1268
|
-
emit(signal: string, ...args: any[]): void;
|
|
1253
|
+
emit<K extends keyof MenuManager.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<MenuManager.SignalSignatures[K]>): void;
|
|
1269
1254
|
|
|
1270
1255
|
// Static methods
|
|
1271
1256
|
static get_default(): MenuManager;
|
|
@@ -1394,15 +1379,12 @@ export namespace FoundryGtk {
|
|
|
1394
1379
|
// Signals
|
|
1395
1380
|
/** @signal */
|
|
1396
1381
|
connect<K extends keyof MenuProxy.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, MenuProxy.SignalSignatures[K]>): number;
|
|
1397
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1398
1382
|
|
|
1399
1383
|
/** @signal */
|
|
1400
1384
|
connect_after<K extends keyof MenuProxy.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, MenuProxy.SignalSignatures[K]>): number;
|
|
1401
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1402
1385
|
|
|
1403
1386
|
/** @signal */
|
|
1404
|
-
emit<K extends keyof MenuProxy.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<MenuProxy.SignalSignatures[K]>
|
|
1405
|
-
emit(signal: string, ...args: any[]): void;
|
|
1387
|
+
emit<K extends keyof MenuProxy.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<MenuProxy.SignalSignatures[K]>): void;
|
|
1406
1388
|
|
|
1407
1389
|
// Methods
|
|
1408
1390
|
get_menu_id(): string;
|
|
@@ -1449,15 +1431,12 @@ export namespace FoundryGtk {
|
|
|
1449
1431
|
// Signals
|
|
1450
1432
|
/** @signal */
|
|
1451
1433
|
connect<K extends keyof ShortcutBundle.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ShortcutBundle.SignalSignatures[K]>): number;
|
|
1452
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1453
1434
|
|
|
1454
1435
|
/** @signal */
|
|
1455
1436
|
connect_after<K extends keyof ShortcutBundle.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ShortcutBundle.SignalSignatures[K]>): number;
|
|
1456
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1457
1437
|
|
|
1458
1438
|
/** @signal */
|
|
1459
|
-
emit<K extends keyof ShortcutBundle.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ShortcutBundle.SignalSignatures[K]>
|
|
1460
|
-
emit(signal: string, ...args: any[]): void;
|
|
1439
|
+
emit<K extends keyof ShortcutBundle.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ShortcutBundle.SignalSignatures[K]>): void;
|
|
1461
1440
|
|
|
1462
1441
|
// Methods
|
|
1463
1442
|
error(): GLib.Error;
|
|
@@ -1626,15 +1605,12 @@ export namespace FoundryGtk {
|
|
|
1626
1605
|
// Signals
|
|
1627
1606
|
/** @signal */
|
|
1628
1607
|
connect<K extends keyof ShortcutManager.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ShortcutManager.SignalSignatures[K]>): number;
|
|
1629
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1630
1608
|
|
|
1631
1609
|
/** @signal */
|
|
1632
1610
|
connect_after<K extends keyof ShortcutManager.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ShortcutManager.SignalSignatures[K]>): number;
|
|
1633
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1634
1611
|
|
|
1635
1612
|
/** @signal */
|
|
1636
|
-
emit<K extends keyof ShortcutManager.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ShortcutManager.SignalSignatures[K]>
|
|
1637
|
-
emit(signal: string, ...args: any[]): void;
|
|
1613
|
+
emit<K extends keyof ShortcutManager.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ShortcutManager.SignalSignatures[K]>): void;
|
|
1638
1614
|
|
|
1639
1615
|
// Static methods
|
|
1640
1616
|
/**
|
|
@@ -1836,15 +1812,12 @@ export namespace FoundryGtk {
|
|
|
1836
1812
|
// Signals
|
|
1837
1813
|
/** @signal */
|
|
1838
1814
|
connect<K extends keyof ShortcutObserver.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ShortcutObserver.SignalSignatures[K]>): number;
|
|
1839
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1840
1815
|
|
|
1841
1816
|
/** @signal */
|
|
1842
1817
|
connect_after<K extends keyof ShortcutObserver.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ShortcutObserver.SignalSignatures[K]>): number;
|
|
1843
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1844
1818
|
|
|
1845
1819
|
/** @signal */
|
|
1846
|
-
emit<K extends keyof ShortcutObserver.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ShortcutObserver.SignalSignatures[K]>
|
|
1847
|
-
emit(signal: string, ...args: any[]): void;
|
|
1820
|
+
emit<K extends keyof ShortcutObserver.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ShortcutObserver.SignalSignatures[K]>): void;
|
|
1848
1821
|
|
|
1849
1822
|
// Methods
|
|
1850
1823
|
/**
|
|
@@ -1942,15 +1915,12 @@ export namespace FoundryGtk {
|
|
|
1942
1915
|
// Signals
|
|
1943
1916
|
/** @signal */
|
|
1944
1917
|
connect<K extends keyof SourceBuffer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, SourceBuffer.SignalSignatures[K]>): number;
|
|
1945
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1946
1918
|
|
|
1947
1919
|
/** @signal */
|
|
1948
1920
|
connect_after<K extends keyof SourceBuffer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, SourceBuffer.SignalSignatures[K]>): number;
|
|
1949
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1950
1921
|
|
|
1951
1922
|
/** @signal */
|
|
1952
|
-
emit<K extends keyof SourceBuffer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<SourceBuffer.SignalSignatures[K]>
|
|
1953
|
-
emit(signal: string, ...args: any[]): void;
|
|
1923
|
+
emit<K extends keyof SourceBuffer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<SourceBuffer.SignalSignatures[K]>): void;
|
|
1954
1924
|
|
|
1955
1925
|
// Methods
|
|
1956
1926
|
/**
|
|
@@ -2394,15 +2364,12 @@ export namespace FoundryGtk {
|
|
|
2394
2364
|
// Signals
|
|
2395
2365
|
/** @signal */
|
|
2396
2366
|
connect<K extends keyof SourceView.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, SourceView.SignalSignatures[K]>): number;
|
|
2397
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2398
2367
|
|
|
2399
2368
|
/** @signal */
|
|
2400
2369
|
connect_after<K extends keyof SourceView.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, SourceView.SignalSignatures[K]>): number;
|
|
2401
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2402
2370
|
|
|
2403
2371
|
/** @signal */
|
|
2404
|
-
emit<K extends keyof SourceView.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<SourceView.SignalSignatures[K]>
|
|
2405
|
-
emit(signal: string, ...args: any[]): void;
|
|
2372
|
+
emit<K extends keyof SourceView.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<SourceView.SignalSignatures[K]>): void;
|
|
2406
2373
|
|
|
2407
2374
|
// Methods
|
|
2408
2375
|
/**
|
|
@@ -2554,15 +2521,12 @@ export namespace FoundryGtk {
|
|
|
2554
2521
|
// Signals
|
|
2555
2522
|
/** @signal */
|
|
2556
2523
|
connect<K extends keyof SourceViewAddin.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, SourceViewAddin.SignalSignatures[K]>): number;
|
|
2557
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2558
2524
|
|
|
2559
2525
|
/** @signal */
|
|
2560
2526
|
connect_after<K extends keyof SourceViewAddin.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, SourceViewAddin.SignalSignatures[K]>): number;
|
|
2561
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2562
2527
|
|
|
2563
2528
|
/** @signal */
|
|
2564
|
-
emit<K extends keyof SourceViewAddin.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<SourceViewAddin.SignalSignatures[K]>
|
|
2565
|
-
emit(signal: string, ...args: any[]): void;
|
|
2529
|
+
emit<K extends keyof SourceViewAddin.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<SourceViewAddin.SignalSignatures[K]>): void;
|
|
2566
2530
|
|
|
2567
2531
|
// Methods
|
|
2568
2532
|
/**
|
|
@@ -2656,15 +2620,12 @@ export namespace FoundryGtk {
|
|
|
2656
2620
|
// Signals
|
|
2657
2621
|
/** @signal */
|
|
2658
2622
|
connect<K extends keyof Terminal.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Terminal.SignalSignatures[K]>): number;
|
|
2659
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2660
2623
|
|
|
2661
2624
|
/** @signal */
|
|
2662
2625
|
connect_after<K extends keyof Terminal.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Terminal.SignalSignatures[K]>): number;
|
|
2663
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2664
2626
|
|
|
2665
2627
|
/** @signal */
|
|
2666
|
-
emit<K extends keyof Terminal.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Terminal.SignalSignatures[K]>
|
|
2667
|
-
emit(signal: string, ...args: any[]): void;
|
|
2628
|
+
emit<K extends keyof Terminal.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Terminal.SignalSignatures[K]>): void;
|
|
2668
2629
|
|
|
2669
2630
|
// Static methods
|
|
2670
2631
|
/**
|
|
@@ -3378,15 +3339,12 @@ export namespace FoundryGtk {
|
|
|
3378
3339
|
// Signals
|
|
3379
3340
|
/** @signal */
|
|
3380
3341
|
connect<K extends keyof TerminalPalette.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, TerminalPalette.SignalSignatures[K]>): number;
|
|
3381
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3382
3342
|
|
|
3383
3343
|
/** @signal */
|
|
3384
3344
|
connect_after<K extends keyof TerminalPalette.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, TerminalPalette.SignalSignatures[K]>): number;
|
|
3385
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3386
3345
|
|
|
3387
3346
|
/** @signal */
|
|
3388
|
-
emit<K extends keyof TerminalPalette.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<TerminalPalette.SignalSignatures[K]>
|
|
3389
|
-
emit(signal: string, ...args: any[]): void;
|
|
3347
|
+
emit<K extends keyof TerminalPalette.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<TerminalPalette.SignalSignatures[K]>): void;
|
|
3390
3348
|
|
|
3391
3349
|
// Methods
|
|
3392
3350
|
get_background(): Gdk.RGBA;
|
|
@@ -3462,15 +3420,12 @@ export namespace FoundryGtk {
|
|
|
3462
3420
|
// Signals
|
|
3463
3421
|
/** @signal */
|
|
3464
3422
|
connect<K extends keyof TerminalPaletteSet.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, TerminalPaletteSet.SignalSignatures[K]>): number;
|
|
3465
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3466
3423
|
|
|
3467
3424
|
/** @signal */
|
|
3468
3425
|
connect_after<K extends keyof TerminalPaletteSet.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, TerminalPaletteSet.SignalSignatures[K]>): number;
|
|
3469
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3470
3426
|
|
|
3471
3427
|
/** @signal */
|
|
3472
|
-
emit<K extends keyof TerminalPaletteSet.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<TerminalPaletteSet.SignalSignatures[K]>
|
|
3473
|
-
emit(signal: string, ...args: any[]): void;
|
|
3428
|
+
emit<K extends keyof TerminalPaletteSet.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<TerminalPaletteSet.SignalSignatures[K]>): void;
|
|
3474
3429
|
|
|
3475
3430
|
// Methods
|
|
3476
3431
|
dup_dark(): TerminalPalette;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/foundrygtk-1",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for FoundryGtk-1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "foundrygtk-1.js",
|
|
@@ -36,27 +36,27 @@
|
|
|
36
36
|
"test": "tsc --project tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@girs/gjs": "^
|
|
40
|
-
"@girs/peas-2": "^
|
|
41
|
-
"@girs/gio-2.0": "^
|
|
42
|
-
"@girs/gobject-2.0": "^
|
|
43
|
-
"@girs/glib-2.0": "^
|
|
44
|
-
"@girs/gmodule-2.0": "^
|
|
45
|
-
"@girs/json-1.0": "^
|
|
46
|
-
"@girs/gtksource-5": "^
|
|
47
|
-
"@girs/gtk-4.0": "^
|
|
48
|
-
"@girs/gsk-4.0": "^
|
|
49
|
-
"@girs/graphene-1.0": "^
|
|
50
|
-
"@girs/gdk-4.0": "^
|
|
51
|
-
"@girs/cairo-1.0": "^
|
|
52
|
-
"@girs/pangocairo-1.0": "^
|
|
53
|
-
"@girs/pango-1.0": "^
|
|
54
|
-
"@girs/harfbuzz-0.0": "^
|
|
55
|
-
"@girs/freetype2-2.0": "^
|
|
56
|
-
"@girs/gdkpixbuf-2.0": "^
|
|
57
|
-
"@girs/foundry-1": "^
|
|
58
|
-
"@girs/dex-1": "^
|
|
59
|
-
"@girs/giounix-2.0": "^
|
|
39
|
+
"@girs/gjs": "^5.0.0",
|
|
40
|
+
"@girs/peas-2": "^5.0.0",
|
|
41
|
+
"@girs/gio-2.0": "^5.0.0",
|
|
42
|
+
"@girs/gobject-2.0": "^5.0.0",
|
|
43
|
+
"@girs/glib-2.0": "^5.0.0",
|
|
44
|
+
"@girs/gmodule-2.0": "^5.0.0",
|
|
45
|
+
"@girs/json-1.0": "^5.0.0",
|
|
46
|
+
"@girs/gtksource-5": "^5.0.0",
|
|
47
|
+
"@girs/gtk-4.0": "^5.0.0",
|
|
48
|
+
"@girs/gsk-4.0": "^5.0.0",
|
|
49
|
+
"@girs/graphene-1.0": "^5.0.0",
|
|
50
|
+
"@girs/gdk-4.0": "^5.0.0",
|
|
51
|
+
"@girs/cairo-1.0": "^5.0.0",
|
|
52
|
+
"@girs/pangocairo-1.0": "^5.0.0",
|
|
53
|
+
"@girs/pango-1.0": "^5.0.0",
|
|
54
|
+
"@girs/harfbuzz-0.0": "^5.0.0",
|
|
55
|
+
"@girs/freetype2-2.0": "^5.0.0",
|
|
56
|
+
"@girs/gdkpixbuf-2.0": "^5.0.0",
|
|
57
|
+
"@girs/foundry-1": "^5.0.0",
|
|
58
|
+
"@girs/dex-1": "^5.0.0",
|
|
59
|
+
"@girs/giounix-2.0": "^5.0.0" },
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"typescript": "*"
|
|
62
62
|
},
|