@girs/foundrygtk-1 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/foundrygtk-1-vocabulary.d.ts +39 -0
- package/foundrygtk-1-vocabulary.js +25 -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.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.
|
|
@@ -329,6 +329,45 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
329
329
|
*/
|
|
330
330
|
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
331
331
|
|
|
332
|
+
/**
|
|
333
|
+
* The kinds of value a GTK accessible property, relation or state takes.
|
|
334
|
+
*
|
|
335
|
+
* `enum` is the one that needs a second lookup: `ARIA_VALUE_ENUMS` names the enum GType,
|
|
336
|
+
* and `ENUM_NICKS` and `ENUM_VALUES` answer from there.
|
|
337
|
+
*/
|
|
338
|
+
export type AriaValueType = 'string' | 'integer' | 'double' | 'boolean' | 'reference' | 'enum';
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
342
|
+
*
|
|
343
|
+
* The one table in this file that is not a fact about a ParamSpec. A GtkBuilder or
|
|
344
|
+
* Blueprint `accessibility { … }` block is typed by GTK's ARIA table, not by the widget,
|
|
345
|
+
* and the two disagree where it costs most: `orientation` is settable on a `GtkLabel`
|
|
346
|
+
* that implements no `GtkOrientable`, and `checked` is a `GtkAccessibleTristate`, so
|
|
347
|
+
* `checked: true` is the number 1 rather than a boolean. Typing those slots from the
|
|
348
|
+
* widget's properties gets both wrong and raises nothing.
|
|
349
|
+
*
|
|
350
|
+
* Keyed like `ENUM_VALUES` because the ARIA names ARE enum members — of
|
|
351
|
+
* `GtkAccessibleProperty`, `GtkAccessibleRelation` and `GtkAccessibleState` — so
|
|
352
|
+
* `ENUM_NICKS` already lists them and one key parser reads both.
|
|
353
|
+
*
|
|
354
|
+
* Read from each member's own GIR documentation. `gtk_accessible_property_init_value()`
|
|
355
|
+
* is the C half of this table and is not introspectable; the doc sentence is, and states
|
|
356
|
+
* the type for 52 of the 53 members in gtk4 4.23.3. Complete or absent, never partial: a
|
|
357
|
+
* member the generator cannot answer for fails the build and names itself.
|
|
358
|
+
*/
|
|
359
|
+
export const ARIA_VALUE_TYPES: Readonly<Record<string, AriaValueType>>;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* The same keys, for the `'enum'` rows only -> the GType of that enum.
|
|
363
|
+
*
|
|
364
|
+
* A table of its own for the reason `PROP_ENUMS` is one: folded in, the values of
|
|
365
|
+
* `ARIA_VALUE_TYPES` would be six reserved words mixed with arbitrary GTypes and telling
|
|
366
|
+
* them apart would be the consumer's problem. Apart, `ARIA_VALUE_TYPES[k] === 'enum'` is
|
|
367
|
+
* the whole test and `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
368
|
+
*/
|
|
369
|
+
export const ARIA_VALUE_ENUMS: Readonly<Record<string, string>>;
|
|
370
|
+
|
|
332
371
|
/** Widget GType -> slot name -> the method that may adopt a child there. */
|
|
333
372
|
export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
334
373
|
|
|
@@ -116,6 +116,31 @@ export const FLAG_VALUES_UNREADABLE = {};
|
|
|
116
116
|
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
117
117
|
export const PROP_ENUMS = {};
|
|
118
118
|
|
|
119
|
+
// `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
120
|
+
//
|
|
121
|
+
// The one table here that is not about a ParamSpec. A GtkBuilder or Blueprint
|
|
122
|
+
// `accessibility { … }` block is typed by GTK's ARIA table instead, and the two disagree
|
|
123
|
+
// where it matters: `orientation` is settable on a `GtkLabel` that implements no
|
|
124
|
+
// `GtkOrientable` and has no such property, and `checked` is a `GtkAccessibleTristate`, so
|
|
125
|
+
// `checked: true` means the number 1 and not the boolean. A consumer typing those slots
|
|
126
|
+
// from the widget gets both wrong, silently.
|
|
127
|
+
//
|
|
128
|
+
// Read from each member's own documentation, which is where GTK keeps the table --
|
|
129
|
+
// `gtk_accessible_property_init_value()` is the C half and is not introspectable, the
|
|
130
|
+
// sentence is. Complete or absent, never partial: a member whose documentation states no
|
|
131
|
+
// value type fails generation and names itself, because a missing row is indistinguishable
|
|
132
|
+
// from "GTK has no such name" and the plausible fallback emits `true` where GTK means 1.
|
|
133
|
+
export const ARIA_VALUE_TYPES = {};
|
|
134
|
+
|
|
135
|
+
// The same keys, for the `'enum'` rows only -> the GType of the enum.
|
|
136
|
+
//
|
|
137
|
+
// The join on from a kind to a number, and a table of its own for the reason `PROP_ENUMS`
|
|
138
|
+
// is one: folding the GType into `ARIA_VALUE_TYPES` would make its values a mix of six
|
|
139
|
+
// reserved words and arbitrary GTypes, and telling them apart would be the consumer's
|
|
140
|
+
// problem. With this, `ARIA_VALUE_TYPES[k] === 'enum'` is the whole test, and
|
|
141
|
+
// `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
142
|
+
export const ARIA_VALUE_ENUMS = {};
|
|
143
|
+
|
|
119
144
|
export const SLOT_CANDIDATES = {};
|
|
120
145
|
|
|
121
146
|
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.1.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.1.0",
|
|
40
|
+
"@girs/peas-2": "^5.1.0",
|
|
41
|
+
"@girs/gio-2.0": "^5.1.0",
|
|
42
|
+
"@girs/gobject-2.0": "^5.1.0",
|
|
43
|
+
"@girs/glib-2.0": "^5.1.0",
|
|
44
|
+
"@girs/gmodule-2.0": "^5.1.0",
|
|
45
|
+
"@girs/json-1.0": "^5.1.0",
|
|
46
|
+
"@girs/gtksource-5": "^5.1.0",
|
|
47
|
+
"@girs/gtk-4.0": "^5.1.0",
|
|
48
|
+
"@girs/gsk-4.0": "^5.1.0",
|
|
49
|
+
"@girs/graphene-1.0": "^5.1.0",
|
|
50
|
+
"@girs/gdk-4.0": "^5.1.0",
|
|
51
|
+
"@girs/cairo-1.0": "^5.1.0",
|
|
52
|
+
"@girs/pangocairo-1.0": "^5.1.0",
|
|
53
|
+
"@girs/pango-1.0": "^5.1.0",
|
|
54
|
+
"@girs/harfbuzz-0.0": "^5.1.0",
|
|
55
|
+
"@girs/freetype2-2.0": "^5.1.0",
|
|
56
|
+
"@girs/gdkpixbuf-2.0": "^5.1.0",
|
|
57
|
+
"@girs/foundry-1": "^5.1.0",
|
|
58
|
+
"@girs/dex-1": "^5.1.0",
|
|
59
|
+
"@girs/giounix-2.0": "^5.1.0" },
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"typescript": "*"
|
|
62
62
|
},
|