@girs/gdl-3 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/gdl-3-vocabulary.d.ts +39 -0
- package/gdl-3-vocabulary.js +25 -0
- package/gdl-3.d.ts +15 -60
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for Gdl-3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir)
|
|
7
|
+
GJS TypeScript type definitions for Gdl-3 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/gdl-3-vocabulary.d.ts
CHANGED
|
@@ -471,6 +471,45 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
471
471
|
*/
|
|
472
472
|
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
473
473
|
|
|
474
|
+
/**
|
|
475
|
+
* The kinds of value a GTK accessible property, relation or state takes.
|
|
476
|
+
*
|
|
477
|
+
* `enum` is the one that needs a second lookup: `ARIA_VALUE_ENUMS` names the enum GType,
|
|
478
|
+
* and `ENUM_NICKS` and `ENUM_VALUES` answer from there.
|
|
479
|
+
*/
|
|
480
|
+
export type AriaValueType = 'string' | 'integer' | 'double' | 'boolean' | 'reference' | 'enum';
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
484
|
+
*
|
|
485
|
+
* The one table in this file that is not a fact about a ParamSpec. A GtkBuilder or
|
|
486
|
+
* Blueprint `accessibility { … }` block is typed by GTK's ARIA table, not by the widget,
|
|
487
|
+
* and the two disagree where it costs most: `orientation` is settable on a `GtkLabel`
|
|
488
|
+
* that implements no `GtkOrientable`, and `checked` is a `GtkAccessibleTristate`, so
|
|
489
|
+
* `checked: true` is the number 1 rather than a boolean. Typing those slots from the
|
|
490
|
+
* widget's properties gets both wrong and raises nothing.
|
|
491
|
+
*
|
|
492
|
+
* Keyed like `ENUM_VALUES` because the ARIA names ARE enum members — of
|
|
493
|
+
* `GtkAccessibleProperty`, `GtkAccessibleRelation` and `GtkAccessibleState` — so
|
|
494
|
+
* `ENUM_NICKS` already lists them and one key parser reads both.
|
|
495
|
+
*
|
|
496
|
+
* Read from each member's own GIR documentation. `gtk_accessible_property_init_value()`
|
|
497
|
+
* is the C half of this table and is not introspectable; the doc sentence is, and states
|
|
498
|
+
* the type for 52 of the 53 members in gtk4 4.23.3. Complete or absent, never partial: a
|
|
499
|
+
* member the generator cannot answer for fails the build and names itself.
|
|
500
|
+
*/
|
|
501
|
+
export const ARIA_VALUE_TYPES: Readonly<Record<string, AriaValueType>>;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* The same keys, for the `'enum'` rows only -> the GType of that enum.
|
|
505
|
+
*
|
|
506
|
+
* A table of its own for the reason `PROP_ENUMS` is one: folded in, the values of
|
|
507
|
+
* `ARIA_VALUE_TYPES` would be six reserved words mixed with arbitrary GTypes and telling
|
|
508
|
+
* them apart would be the consumer's problem. Apart, `ARIA_VALUE_TYPES[k] === 'enum'` is
|
|
509
|
+
* the whole test and `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
510
|
+
*/
|
|
511
|
+
export const ARIA_VALUE_ENUMS: Readonly<Record<string, string>>;
|
|
512
|
+
|
|
474
513
|
/** Widget GType -> slot name -> the method that may adopt a child there. */
|
|
475
514
|
export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
476
515
|
|
package/gdl-3-vocabulary.js
CHANGED
|
@@ -185,6 +185,31 @@ export const PROP_ENUMS = {
|
|
|
185
185
|
'GdlSwitcher.tab-pos': 'GtkPositionType',
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
+
// `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
189
|
+
//
|
|
190
|
+
// The one table here that is not about a ParamSpec. A GtkBuilder or Blueprint
|
|
191
|
+
// `accessibility { … }` block is typed by GTK's ARIA table instead, and the two disagree
|
|
192
|
+
// where it matters: `orientation` is settable on a `GtkLabel` that implements no
|
|
193
|
+
// `GtkOrientable` and has no such property, and `checked` is a `GtkAccessibleTristate`, so
|
|
194
|
+
// `checked: true` means the number 1 and not the boolean. A consumer typing those slots
|
|
195
|
+
// from the widget gets both wrong, silently.
|
|
196
|
+
//
|
|
197
|
+
// Read from each member's own documentation, which is where GTK keeps the table --
|
|
198
|
+
// `gtk_accessible_property_init_value()` is the C half and is not introspectable, the
|
|
199
|
+
// sentence is. Complete or absent, never partial: a member whose documentation states no
|
|
200
|
+
// value type fails generation and names itself, because a missing row is indistinguishable
|
|
201
|
+
// from "GTK has no such name" and the plausible fallback emits `true` where GTK means 1.
|
|
202
|
+
export const ARIA_VALUE_TYPES = {};
|
|
203
|
+
|
|
204
|
+
// The same keys, for the `'enum'` rows only -> the GType of the enum.
|
|
205
|
+
//
|
|
206
|
+
// The join on from a kind to a number, and a table of its own for the reason `PROP_ENUMS`
|
|
207
|
+
// is one: folding the GType into `ARIA_VALUE_TYPES` would make its values a mix of six
|
|
208
|
+
// reserved words and arbitrary GTypes, and telling them apart would be the consumer's
|
|
209
|
+
// problem. With this, `ARIA_VALUE_TYPES[k] === 'enum'` is the whole test, and
|
|
210
|
+
// `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
211
|
+
export const ARIA_VALUE_ENUMS = {};
|
|
212
|
+
|
|
188
213
|
export const SLOT_CANDIDATES = {
|
|
189
214
|
GdlDockItem: {
|
|
190
215
|
'child': 'set_child',
|
package/gdl-3.d.ts
CHANGED
|
@@ -538,15 +538,12 @@ export namespace Gdl {
|
|
|
538
538
|
// Signals
|
|
539
539
|
/** @signal */
|
|
540
540
|
connect<K extends keyof Dock.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Dock.SignalSignatures[K]>): number;
|
|
541
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
542
541
|
|
|
543
542
|
/** @signal */
|
|
544
543
|
connect_after<K extends keyof Dock.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Dock.SignalSignatures[K]>): number;
|
|
545
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
546
544
|
|
|
547
545
|
/** @signal */
|
|
548
|
-
emit<K extends keyof Dock.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Dock.SignalSignatures[K]>
|
|
549
|
-
emit(signal: string, ...args: any[]): void;
|
|
546
|
+
emit<K extends keyof Dock.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Dock.SignalSignatures[K]>): void;
|
|
550
547
|
|
|
551
548
|
// Virtual methods
|
|
552
549
|
/**
|
|
@@ -754,15 +751,12 @@ export namespace Gdl {
|
|
|
754
751
|
// Signals
|
|
755
752
|
/** @signal */
|
|
756
753
|
connect<K extends keyof DockBar.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockBar.SignalSignatures[K]>): number;
|
|
757
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
758
754
|
|
|
759
755
|
/** @signal */
|
|
760
756
|
connect_after<K extends keyof DockBar.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockBar.SignalSignatures[K]>): number;
|
|
761
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
762
757
|
|
|
763
758
|
/** @signal */
|
|
764
|
-
emit<K extends keyof DockBar.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockBar.SignalSignatures[K]>
|
|
765
|
-
emit(signal: string, ...args: any[]): void;
|
|
759
|
+
emit<K extends keyof DockBar.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockBar.SignalSignatures[K]>): void;
|
|
766
760
|
|
|
767
761
|
// Methods
|
|
768
762
|
/**
|
|
@@ -1032,15 +1026,12 @@ export namespace Gdl {
|
|
|
1032
1026
|
// Signals
|
|
1033
1027
|
/** @signal */
|
|
1034
1028
|
connect<K extends keyof DockItem.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockItem.SignalSignatures[K]>): number;
|
|
1035
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1036
1029
|
|
|
1037
1030
|
/** @signal */
|
|
1038
1031
|
connect_after<K extends keyof DockItem.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockItem.SignalSignatures[K]>): number;
|
|
1039
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1040
1032
|
|
|
1041
1033
|
/** @signal */
|
|
1042
|
-
emit<K extends keyof DockItem.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockItem.SignalSignatures[K]>
|
|
1043
|
-
emit(signal: string, ...args: any[]): void;
|
|
1034
|
+
emit<K extends keyof DockItem.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockItem.SignalSignatures[K]>): void;
|
|
1044
1035
|
|
|
1045
1036
|
// Static methods
|
|
1046
1037
|
/**
|
|
@@ -1367,15 +1358,12 @@ export namespace Gdl {
|
|
|
1367
1358
|
// Signals
|
|
1368
1359
|
/** @signal */
|
|
1369
1360
|
connect<K extends keyof DockItemButtonImage.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockItemButtonImage.SignalSignatures[K]>): number;
|
|
1370
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1371
1361
|
|
|
1372
1362
|
/** @signal */
|
|
1373
1363
|
connect_after<K extends keyof DockItemButtonImage.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockItemButtonImage.SignalSignatures[K]>): number;
|
|
1374
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1375
1364
|
|
|
1376
1365
|
/** @signal */
|
|
1377
|
-
emit<K extends keyof DockItemButtonImage.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockItemButtonImage.SignalSignatures[K]>
|
|
1378
|
-
emit(signal: string, ...args: any[]): void;
|
|
1366
|
+
emit<K extends keyof DockItemButtonImage.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockItemButtonImage.SignalSignatures[K]>): void;
|
|
1379
1367
|
|
|
1380
1368
|
/**
|
|
1381
1369
|
* Adds a child to `buildable`. `type` is an optional string
|
|
@@ -1672,15 +1660,12 @@ export namespace Gdl {
|
|
|
1672
1660
|
// Signals
|
|
1673
1661
|
/** @signal */
|
|
1674
1662
|
connect<K extends keyof DockItemGrip.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockItemGrip.SignalSignatures[K]>): number;
|
|
1675
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1676
1663
|
|
|
1677
1664
|
/** @signal */
|
|
1678
1665
|
connect_after<K extends keyof DockItemGrip.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockItemGrip.SignalSignatures[K]>): number;
|
|
1679
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1680
1666
|
|
|
1681
1667
|
/** @signal */
|
|
1682
|
-
emit<K extends keyof DockItemGrip.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockItemGrip.SignalSignatures[K]>
|
|
1683
|
-
emit(signal: string, ...args: any[]): void;
|
|
1668
|
+
emit<K extends keyof DockItemGrip.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockItemGrip.SignalSignatures[K]>): void;
|
|
1684
1669
|
|
|
1685
1670
|
// Methods
|
|
1686
1671
|
/**
|
|
@@ -1769,15 +1754,12 @@ export namespace Gdl {
|
|
|
1769
1754
|
// Signals
|
|
1770
1755
|
/** @signal */
|
|
1771
1756
|
connect<K extends keyof DockLayout.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockLayout.SignalSignatures[K]>): number;
|
|
1772
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1773
1757
|
|
|
1774
1758
|
/** @signal */
|
|
1775
1759
|
connect_after<K extends keyof DockLayout.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockLayout.SignalSignatures[K]>): number;
|
|
1776
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1777
1760
|
|
|
1778
1761
|
/** @signal */
|
|
1779
|
-
emit<K extends keyof DockLayout.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockLayout.SignalSignatures[K]>
|
|
1780
|
-
emit(signal: string, ...args: any[]): void;
|
|
1762
|
+
emit<K extends keyof DockLayout.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockLayout.SignalSignatures[K]>): void;
|
|
1781
1763
|
|
|
1782
1764
|
// Methods
|
|
1783
1765
|
/**
|
|
@@ -1975,15 +1957,12 @@ export namespace Gdl {
|
|
|
1975
1957
|
// Signals
|
|
1976
1958
|
/** @signal */
|
|
1977
1959
|
connect<K extends keyof DockMaster.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockMaster.SignalSignatures[K]>): number;
|
|
1978
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1979
1960
|
|
|
1980
1961
|
/** @signal */
|
|
1981
1962
|
connect_after<K extends keyof DockMaster.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockMaster.SignalSignatures[K]>): number;
|
|
1982
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1983
1963
|
|
|
1984
1964
|
/** @signal */
|
|
1985
|
-
emit<K extends keyof DockMaster.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockMaster.SignalSignatures[K]>
|
|
1986
|
-
emit(signal: string, ...args: any[]): void;
|
|
1965
|
+
emit<K extends keyof DockMaster.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockMaster.SignalSignatures[K]>): void;
|
|
1987
1966
|
|
|
1988
1967
|
// Virtual methods
|
|
1989
1968
|
/**
|
|
@@ -2147,15 +2126,12 @@ export namespace Gdl {
|
|
|
2147
2126
|
// Signals
|
|
2148
2127
|
/** @signal */
|
|
2149
2128
|
connect<K extends keyof DockNotebook.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockNotebook.SignalSignatures[K]>): number;
|
|
2150
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2151
2129
|
|
|
2152
2130
|
/** @signal */
|
|
2153
2131
|
connect_after<K extends keyof DockNotebook.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockNotebook.SignalSignatures[K]>): number;
|
|
2154
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2155
2132
|
|
|
2156
2133
|
/** @signal */
|
|
2157
|
-
emit<K extends keyof DockNotebook.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockNotebook.SignalSignatures[K]>
|
|
2158
|
-
emit(signal: string, ...args: any[]): void;
|
|
2134
|
+
emit<K extends keyof DockNotebook.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockNotebook.SignalSignatures[K]>): void;
|
|
2159
2135
|
}
|
|
2160
2136
|
|
|
2161
2137
|
|
|
@@ -2322,15 +2298,12 @@ export namespace Gdl {
|
|
|
2322
2298
|
// Signals
|
|
2323
2299
|
/** @signal */
|
|
2324
2300
|
connect<K extends keyof DockObject.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockObject.SignalSignatures[K]>): number;
|
|
2325
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2326
2301
|
|
|
2327
2302
|
/** @signal */
|
|
2328
2303
|
connect_after<K extends keyof DockObject.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockObject.SignalSignatures[K]>): number;
|
|
2329
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2330
2304
|
|
|
2331
2305
|
/** @signal */
|
|
2332
|
-
emit<K extends keyof DockObject.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockObject.SignalSignatures[K]>
|
|
2333
|
-
emit(signal: string, ...args: any[]): void;
|
|
2306
|
+
emit<K extends keyof DockObject.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockObject.SignalSignatures[K]>): void;
|
|
2334
2307
|
|
|
2335
2308
|
// Static methods
|
|
2336
2309
|
/**
|
|
@@ -2757,15 +2730,12 @@ export namespace Gdl {
|
|
|
2757
2730
|
// Signals
|
|
2758
2731
|
/** @signal */
|
|
2759
2732
|
connect<K extends keyof DockPaned.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockPaned.SignalSignatures[K]>): number;
|
|
2760
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2761
2733
|
|
|
2762
2734
|
/** @signal */
|
|
2763
2735
|
connect_after<K extends keyof DockPaned.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockPaned.SignalSignatures[K]>): number;
|
|
2764
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2765
2736
|
|
|
2766
2737
|
/** @signal */
|
|
2767
|
-
emit<K extends keyof DockPaned.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockPaned.SignalSignatures[K]>
|
|
2768
|
-
emit(signal: string, ...args: any[]): void;
|
|
2738
|
+
emit<K extends keyof DockPaned.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockPaned.SignalSignatures[K]>): void;
|
|
2769
2739
|
}
|
|
2770
2740
|
|
|
2771
2741
|
|
|
@@ -2786,15 +2756,12 @@ export namespace Gdl {
|
|
|
2786
2756
|
// Signals
|
|
2787
2757
|
/** @signal */
|
|
2788
2758
|
connect<K extends keyof DockParam.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockParam.SignalSignatures[K]>): number;
|
|
2789
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2790
2759
|
|
|
2791
2760
|
/** @signal */
|
|
2792
2761
|
connect_after<K extends keyof DockParam.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockParam.SignalSignatures[K]>): number;
|
|
2793
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2794
2762
|
|
|
2795
2763
|
/** @signal */
|
|
2796
|
-
emit<K extends keyof DockParam.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockParam.SignalSignatures[K]>
|
|
2797
|
-
emit(signal: string, ...args: any[]): void;
|
|
2764
|
+
emit<K extends keyof DockParam.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockParam.SignalSignatures[K]>): void;
|
|
2798
2765
|
}
|
|
2799
2766
|
|
|
2800
2767
|
|
|
@@ -2951,15 +2918,12 @@ export namespace Gdl {
|
|
|
2951
2918
|
// Signals
|
|
2952
2919
|
/** @signal */
|
|
2953
2920
|
connect<K extends keyof DockPlaceholder.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockPlaceholder.SignalSignatures[K]>): number;
|
|
2954
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2955
2921
|
|
|
2956
2922
|
/** @signal */
|
|
2957
2923
|
connect_after<K extends keyof DockPlaceholder.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockPlaceholder.SignalSignatures[K]>): number;
|
|
2958
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2959
2924
|
|
|
2960
2925
|
/** @signal */
|
|
2961
|
-
emit<K extends keyof DockPlaceholder.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockPlaceholder.SignalSignatures[K]>
|
|
2962
|
-
emit(signal: string, ...args: any[]): void;
|
|
2926
|
+
emit<K extends keyof DockPlaceholder.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockPlaceholder.SignalSignatures[K]>): void;
|
|
2963
2927
|
|
|
2964
2928
|
// Methods
|
|
2965
2929
|
/**
|
|
@@ -3069,15 +3033,12 @@ export namespace Gdl {
|
|
|
3069
3033
|
// Signals
|
|
3070
3034
|
/** @signal */
|
|
3071
3035
|
connect<K extends keyof DockTablabel.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockTablabel.SignalSignatures[K]>): number;
|
|
3072
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3073
3036
|
|
|
3074
3037
|
/** @signal */
|
|
3075
3038
|
connect_after<K extends keyof DockTablabel.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, DockTablabel.SignalSignatures[K]>): number;
|
|
3076
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3077
3039
|
|
|
3078
3040
|
/** @signal */
|
|
3079
|
-
emit<K extends keyof DockTablabel.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockTablabel.SignalSignatures[K]>
|
|
3080
|
-
emit(signal: string, ...args: any[]): void;
|
|
3041
|
+
emit<K extends keyof DockTablabel.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<DockTablabel.SignalSignatures[K]>): void;
|
|
3081
3042
|
|
|
3082
3043
|
// Virtual methods
|
|
3083
3044
|
/**
|
|
@@ -3218,15 +3179,12 @@ export namespace Gdl {
|
|
|
3218
3179
|
// Signals
|
|
3219
3180
|
/** @signal */
|
|
3220
3181
|
connect<K extends keyof PreviewWindow.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, PreviewWindow.SignalSignatures[K]>): number;
|
|
3221
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3222
3182
|
|
|
3223
3183
|
/** @signal */
|
|
3224
3184
|
connect_after<K extends keyof PreviewWindow.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, PreviewWindow.SignalSignatures[K]>): number;
|
|
3225
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3226
3185
|
|
|
3227
3186
|
/** @signal */
|
|
3228
|
-
emit<K extends keyof PreviewWindow.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<PreviewWindow.SignalSignatures[K]>
|
|
3229
|
-
emit(signal: string, ...args: any[]): void;
|
|
3187
|
+
emit<K extends keyof PreviewWindow.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<PreviewWindow.SignalSignatures[K]>): void;
|
|
3230
3188
|
|
|
3231
3189
|
// Methods
|
|
3232
3190
|
/**
|
|
@@ -3368,15 +3326,12 @@ export namespace Gdl {
|
|
|
3368
3326
|
// Signals
|
|
3369
3327
|
/** @signal */
|
|
3370
3328
|
connect<K extends keyof Switcher.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Switcher.SignalSignatures[K]>): number;
|
|
3371
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3372
3329
|
|
|
3373
3330
|
/** @signal */
|
|
3374
3331
|
connect_after<K extends keyof Switcher.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, Switcher.SignalSignatures[K]>): number;
|
|
3375
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3376
3332
|
|
|
3377
3333
|
/** @signal */
|
|
3378
|
-
emit<K extends keyof Switcher.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Switcher.SignalSignatures[K]>
|
|
3379
|
-
emit(signal: string, ...args: any[]): void;
|
|
3334
|
+
emit<K extends keyof Switcher.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<Switcher.SignalSignatures[K]>): void;
|
|
3380
3335
|
|
|
3381
3336
|
// Methods
|
|
3382
3337
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gdl-3",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Gdl-3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gdl-3.js",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"test": "tsc --project tsconfig.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@girs/gjs": "^
|
|
40
|
-
"@girs/gtk-3.0": "^
|
|
41
|
-
"@girs/xlib-2.0": "^
|
|
42
|
-
"@girs/gdk-3.0": "^
|
|
43
|
-
"@girs/cairo-1.0": "^
|
|
44
|
-
"@girs/gobject-2.0": "^
|
|
45
|
-
"@girs/glib-2.0": "^
|
|
46
|
-
"@girs/pango-1.0": "^
|
|
47
|
-
"@girs/harfbuzz-0.0": "^
|
|
48
|
-
"@girs/freetype2-2.0": "^
|
|
49
|
-
"@girs/gio-2.0": "^
|
|
50
|
-
"@girs/gmodule-2.0": "^
|
|
51
|
-
"@girs/gdkpixbuf-2.0": "^
|
|
52
|
-
"@girs/atk-1.0": "^
|
|
39
|
+
"@girs/gjs": "^5.1.0",
|
|
40
|
+
"@girs/gtk-3.0": "^5.1.0",
|
|
41
|
+
"@girs/xlib-2.0": "^5.1.0",
|
|
42
|
+
"@girs/gdk-3.0": "^5.1.0",
|
|
43
|
+
"@girs/cairo-1.0": "^5.1.0",
|
|
44
|
+
"@girs/gobject-2.0": "^5.1.0",
|
|
45
|
+
"@girs/glib-2.0": "^5.1.0",
|
|
46
|
+
"@girs/pango-1.0": "^5.1.0",
|
|
47
|
+
"@girs/harfbuzz-0.0": "^5.1.0",
|
|
48
|
+
"@girs/freetype2-2.0": "^5.1.0",
|
|
49
|
+
"@girs/gio-2.0": "^5.1.0",
|
|
50
|
+
"@girs/gmodule-2.0": "^5.1.0",
|
|
51
|
+
"@girs/gdkpixbuf-2.0": "^5.1.0",
|
|
52
|
+
"@girs/atk-1.0": "^5.1.0" },
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"typescript": "*"
|
|
55
55
|
},
|