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

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
GJS TypeScript type definitions for GcrUi-3 using [ts-for-gir](https://github.com/gjsify/ts-for-gir)
|
|
7
|
+
GJS TypeScript type definitions for GcrUi-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/gcrui-3-vocabulary.d.ts
CHANGED
|
@@ -413,6 +413,45 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
|
|
|
413
413
|
*/
|
|
414
414
|
export const PROP_ENUMS: Readonly<Record<string, string>>;
|
|
415
415
|
|
|
416
|
+
/**
|
|
417
|
+
* The kinds of value a GTK accessible property, relation or state takes.
|
|
418
|
+
*
|
|
419
|
+
* `enum` is the one that needs a second lookup: `ARIA_VALUE_ENUMS` names the enum GType,
|
|
420
|
+
* and `ENUM_NICKS` and `ENUM_VALUES` answer from there.
|
|
421
|
+
*/
|
|
422
|
+
export type AriaValueType = 'string' | 'integer' | 'double' | 'boolean' | 'reference' | 'enum';
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
426
|
+
*
|
|
427
|
+
* The one table in this file that is not a fact about a ParamSpec. A GtkBuilder or
|
|
428
|
+
* Blueprint `accessibility { … }` block is typed by GTK's ARIA table, not by the widget,
|
|
429
|
+
* and the two disagree where it costs most: `orientation` is settable on a `GtkLabel`
|
|
430
|
+
* that implements no `GtkOrientable`, and `checked` is a `GtkAccessibleTristate`, so
|
|
431
|
+
* `checked: true` is the number 1 rather than a boolean. Typing those slots from the
|
|
432
|
+
* widget's properties gets both wrong and raises nothing.
|
|
433
|
+
*
|
|
434
|
+
* Keyed like `ENUM_VALUES` because the ARIA names ARE enum members — of
|
|
435
|
+
* `GtkAccessibleProperty`, `GtkAccessibleRelation` and `GtkAccessibleState` — so
|
|
436
|
+
* `ENUM_NICKS` already lists them and one key parser reads both.
|
|
437
|
+
*
|
|
438
|
+
* Read from each member's own GIR documentation. `gtk_accessible_property_init_value()`
|
|
439
|
+
* is the C half of this table and is not introspectable; the doc sentence is, and states
|
|
440
|
+
* the type for 52 of the 53 members in gtk4 4.23.3. Complete or absent, never partial: a
|
|
441
|
+
* member the generator cannot answer for fails the build and names itself.
|
|
442
|
+
*/
|
|
443
|
+
export const ARIA_VALUE_TYPES: Readonly<Record<string, AriaValueType>>;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* The same keys, for the `'enum'` rows only -> the GType of that enum.
|
|
447
|
+
*
|
|
448
|
+
* A table of its own for the reason `PROP_ENUMS` is one: folded in, the values of
|
|
449
|
+
* `ARIA_VALUE_TYPES` would be six reserved words mixed with arbitrary GTypes and telling
|
|
450
|
+
* them apart would be the consumer's problem. Apart, `ARIA_VALUE_TYPES[k] === 'enum'` is
|
|
451
|
+
* the whole test and `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
452
|
+
*/
|
|
453
|
+
export const ARIA_VALUE_ENUMS: Readonly<Record<string, string>>;
|
|
454
|
+
|
|
416
455
|
/** Widget GType -> slot name -> the method that may adopt a child there. */
|
|
417
456
|
export const SLOT_CANDIDATES: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
418
457
|
|
package/gcrui-3-vocabulary.js
CHANGED
|
@@ -126,6 +126,31 @@ export const FLAG_VALUES_UNREADABLE = {};
|
|
|
126
126
|
// vocabulary loaded too. Owners that emit none (Gdk, Pango) are inlined into the tables above.
|
|
127
127
|
export const PROP_ENUMS = {};
|
|
128
128
|
|
|
129
|
+
// `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
|
|
130
|
+
//
|
|
131
|
+
// The one table here that is not about a ParamSpec. A GtkBuilder or Blueprint
|
|
132
|
+
// `accessibility { … }` block is typed by GTK's ARIA table instead, and the two disagree
|
|
133
|
+
// where it matters: `orientation` is settable on a `GtkLabel` that implements no
|
|
134
|
+
// `GtkOrientable` and has no such property, and `checked` is a `GtkAccessibleTristate`, so
|
|
135
|
+
// `checked: true` means the number 1 and not the boolean. A consumer typing those slots
|
|
136
|
+
// from the widget gets both wrong, silently.
|
|
137
|
+
//
|
|
138
|
+
// Read from each member's own documentation, which is where GTK keeps the table --
|
|
139
|
+
// `gtk_accessible_property_init_value()` is the C half and is not introspectable, the
|
|
140
|
+
// sentence is. Complete or absent, never partial: a member whose documentation states no
|
|
141
|
+
// value type fails generation and names itself, because a missing row is indistinguishable
|
|
142
|
+
// from "GTK has no such name" and the plausible fallback emits `true` where GTK means 1.
|
|
143
|
+
export const ARIA_VALUE_TYPES = {};
|
|
144
|
+
|
|
145
|
+
// The same keys, for the `'enum'` rows only -> the GType of the enum.
|
|
146
|
+
//
|
|
147
|
+
// The join on from a kind to a number, and a table of its own for the reason `PROP_ENUMS`
|
|
148
|
+
// is one: folding the GType into `ARIA_VALUE_TYPES` would make its values a mix of six
|
|
149
|
+
// reserved words and arbitrary GTypes, and telling them apart would be the consumer's
|
|
150
|
+
// problem. With this, `ARIA_VALUE_TYPES[k] === 'enum'` is the whole test, and
|
|
151
|
+
// `ENUM_NICKS[ARIA_VALUE_ENUMS[k]]` is the nick list.
|
|
152
|
+
export const ARIA_VALUE_ENUMS = {};
|
|
153
|
+
|
|
129
154
|
export const SLOT_CANDIDATES = {};
|
|
130
155
|
|
|
131
156
|
export const SINCE = {};
|
package/gcrui-3.d.ts
CHANGED
|
@@ -162,15 +162,12 @@ export namespace GcrUi {
|
|
|
162
162
|
// Signals
|
|
163
163
|
/** @signal */
|
|
164
164
|
connect<K extends keyof CertificateRenderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, CertificateRenderer.SignalSignatures[K]>): number;
|
|
165
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
166
165
|
|
|
167
166
|
/** @signal */
|
|
168
167
|
connect_after<K extends keyof CertificateRenderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, CertificateRenderer.SignalSignatures[K]>): number;
|
|
169
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
170
168
|
|
|
171
169
|
/** @signal */
|
|
172
|
-
emit<K extends keyof CertificateRenderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<CertificateRenderer.SignalSignatures[K]>
|
|
173
|
-
emit(signal: string, ...args: any[]): void;
|
|
170
|
+
emit<K extends keyof CertificateRenderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<CertificateRenderer.SignalSignatures[K]>): void;
|
|
174
171
|
|
|
175
172
|
// Methods
|
|
176
173
|
/**
|
|
@@ -608,15 +605,12 @@ export namespace GcrUi {
|
|
|
608
605
|
// Signals
|
|
609
606
|
/** @signal */
|
|
610
607
|
connect<K extends keyof CertificateWidget.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, CertificateWidget.SignalSignatures[K]>): number;
|
|
611
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
612
608
|
|
|
613
609
|
/** @signal */
|
|
614
610
|
connect_after<K extends keyof CertificateWidget.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, CertificateWidget.SignalSignatures[K]>): number;
|
|
615
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
616
611
|
|
|
617
612
|
/** @signal */
|
|
618
|
-
emit<K extends keyof CertificateWidget.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<CertificateWidget.SignalSignatures[K]>
|
|
619
|
-
emit(signal: string, ...args: any[]): void;
|
|
613
|
+
emit<K extends keyof CertificateWidget.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<CertificateWidget.SignalSignatures[K]>): void;
|
|
620
614
|
|
|
621
615
|
// Methods
|
|
622
616
|
/**
|
|
@@ -713,15 +707,12 @@ export namespace GcrUi {
|
|
|
713
707
|
// Signals
|
|
714
708
|
/** @signal */
|
|
715
709
|
connect<K extends keyof CollectionModel.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, CollectionModel.SignalSignatures[K]>): number;
|
|
716
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
717
710
|
|
|
718
711
|
/** @signal */
|
|
719
712
|
connect_after<K extends keyof CollectionModel.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, CollectionModel.SignalSignatures[K]>): number;
|
|
720
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
721
713
|
|
|
722
714
|
/** @signal */
|
|
723
|
-
emit<K extends keyof CollectionModel.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<CollectionModel.SignalSignatures[K]>
|
|
724
|
-
emit(signal: string, ...args: any[]): void;
|
|
715
|
+
emit<K extends keyof CollectionModel.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<CollectionModel.SignalSignatures[K]>): void;
|
|
725
716
|
|
|
726
717
|
// Methods
|
|
727
718
|
/**
|
|
@@ -1494,15 +1485,12 @@ export namespace GcrUi {
|
|
|
1494
1485
|
// Signals
|
|
1495
1486
|
/** @signal */
|
|
1496
1487
|
connect<K extends keyof ComboSelector.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ComboSelector.SignalSignatures[K]>): number;
|
|
1497
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1498
1488
|
|
|
1499
1489
|
/** @signal */
|
|
1500
1490
|
connect_after<K extends keyof ComboSelector.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ComboSelector.SignalSignatures[K]>): number;
|
|
1501
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1502
1491
|
|
|
1503
1492
|
/** @signal */
|
|
1504
|
-
emit<K extends keyof ComboSelector.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ComboSelector.SignalSignatures[K]>
|
|
1505
|
-
emit(signal: string, ...args: any[]): void;
|
|
1493
|
+
emit<K extends keyof ComboSelector.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ComboSelector.SignalSignatures[K]>): void;
|
|
1506
1494
|
|
|
1507
1495
|
// Methods
|
|
1508
1496
|
/**
|
|
@@ -1877,15 +1865,12 @@ export namespace GcrUi {
|
|
|
1877
1865
|
// Signals
|
|
1878
1866
|
/** @signal */
|
|
1879
1867
|
connect<K extends keyof FailureRenderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FailureRenderer.SignalSignatures[K]>): number;
|
|
1880
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1881
1868
|
|
|
1882
1869
|
/** @signal */
|
|
1883
1870
|
connect_after<K extends keyof FailureRenderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, FailureRenderer.SignalSignatures[K]>): number;
|
|
1884
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1885
1871
|
|
|
1886
1872
|
/** @signal */
|
|
1887
|
-
emit<K extends keyof FailureRenderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FailureRenderer.SignalSignatures[K]>
|
|
1888
|
-
emit(signal: string, ...args: any[]): void;
|
|
1873
|
+
emit<K extends keyof FailureRenderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<FailureRenderer.SignalSignatures[K]>): void;
|
|
1889
1874
|
|
|
1890
1875
|
// Static methods
|
|
1891
1876
|
/**
|
|
@@ -2059,15 +2044,12 @@ export namespace GcrUi {
|
|
|
2059
2044
|
// Signals
|
|
2060
2045
|
/** @signal */
|
|
2061
2046
|
connect<K extends keyof ImportButton.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ImportButton.SignalSignatures[K]>): number;
|
|
2062
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2063
2047
|
|
|
2064
2048
|
/** @signal */
|
|
2065
2049
|
connect_after<K extends keyof ImportButton.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ImportButton.SignalSignatures[K]>): number;
|
|
2066
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2067
2050
|
|
|
2068
2051
|
/** @signal */
|
|
2069
|
-
emit<K extends keyof ImportButton.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ImportButton.SignalSignatures[K]>
|
|
2070
|
-
emit(signal: string, ...args: any[]): void;
|
|
2052
|
+
emit<K extends keyof ImportButton.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ImportButton.SignalSignatures[K]>): void;
|
|
2071
2053
|
|
|
2072
2054
|
// Virtual methods
|
|
2073
2055
|
/**
|
|
@@ -2497,15 +2479,12 @@ export namespace GcrUi {
|
|
|
2497
2479
|
// Signals
|
|
2498
2480
|
/** @signal */
|
|
2499
2481
|
connect<K extends keyof KeyRenderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, KeyRenderer.SignalSignatures[K]>): number;
|
|
2500
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2501
2482
|
|
|
2502
2483
|
/** @signal */
|
|
2503
2484
|
connect_after<K extends keyof KeyRenderer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, KeyRenderer.SignalSignatures[K]>): number;
|
|
2504
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2505
2485
|
|
|
2506
2486
|
/** @signal */
|
|
2507
|
-
emit<K extends keyof KeyRenderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<KeyRenderer.SignalSignatures[K]>
|
|
2508
|
-
emit(signal: string, ...args: any[]): void;
|
|
2487
|
+
emit<K extends keyof KeyRenderer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<KeyRenderer.SignalSignatures[K]>): void;
|
|
2509
2488
|
|
|
2510
2489
|
// Methods
|
|
2511
2490
|
/**
|
|
@@ -2672,15 +2651,12 @@ export namespace GcrUi {
|
|
|
2672
2651
|
// Signals
|
|
2673
2652
|
/** @signal */
|
|
2674
2653
|
connect<K extends keyof KeyWidget.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, KeyWidget.SignalSignatures[K]>): number;
|
|
2675
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2676
2654
|
|
|
2677
2655
|
/** @signal */
|
|
2678
2656
|
connect_after<K extends keyof KeyWidget.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, KeyWidget.SignalSignatures[K]>): number;
|
|
2679
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2680
2657
|
|
|
2681
2658
|
/** @signal */
|
|
2682
|
-
emit<K extends keyof KeyWidget.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<KeyWidget.SignalSignatures[K]>
|
|
2683
|
-
emit(signal: string, ...args: any[]): void;
|
|
2659
|
+
emit<K extends keyof KeyWidget.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<KeyWidget.SignalSignatures[K]>): void;
|
|
2684
2660
|
|
|
2685
2661
|
// Methods
|
|
2686
2662
|
/**
|
|
@@ -2812,15 +2788,12 @@ export namespace GcrUi {
|
|
|
2812
2788
|
// Signals
|
|
2813
2789
|
/** @signal */
|
|
2814
2790
|
connect<K extends keyof ListSelector.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ListSelector.SignalSignatures[K]>): number;
|
|
2815
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
2816
2791
|
|
|
2817
2792
|
/** @signal */
|
|
2818
2793
|
connect_after<K extends keyof ListSelector.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ListSelector.SignalSignatures[K]>): number;
|
|
2819
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
2820
2794
|
|
|
2821
2795
|
/** @signal */
|
|
2822
|
-
emit<K extends keyof ListSelector.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ListSelector.SignalSignatures[K]>
|
|
2823
|
-
emit(signal: string, ...args: any[]): void;
|
|
2796
|
+
emit<K extends keyof ListSelector.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ListSelector.SignalSignatures[K]>): void;
|
|
2824
2797
|
|
|
2825
2798
|
// Methods
|
|
2826
2799
|
/**
|
|
@@ -3174,15 +3147,12 @@ export namespace GcrUi {
|
|
|
3174
3147
|
// Signals
|
|
3175
3148
|
/** @signal */
|
|
3176
3149
|
connect<K extends keyof PromptDialog.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, PromptDialog.SignalSignatures[K]>): number;
|
|
3177
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3178
3150
|
|
|
3179
3151
|
/** @signal */
|
|
3180
3152
|
connect_after<K extends keyof PromptDialog.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, PromptDialog.SignalSignatures[K]>): number;
|
|
3181
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3182
3153
|
|
|
3183
3154
|
/** @signal */
|
|
3184
|
-
emit<K extends keyof PromptDialog.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<PromptDialog.SignalSignatures[K]>
|
|
3185
|
-
emit(signal: string, ...args: any[]): void;
|
|
3155
|
+
emit<K extends keyof PromptDialog.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<PromptDialog.SignalSignatures[K]>): void;
|
|
3186
3156
|
|
|
3187
3157
|
/**
|
|
3188
3158
|
* The string handle of the caller's window.
|
|
@@ -3881,15 +3851,12 @@ export namespace GcrUi {
|
|
|
3881
3851
|
// Signals
|
|
3882
3852
|
/** @signal */
|
|
3883
3853
|
connect<K extends keyof SecureEntryBuffer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, SecureEntryBuffer.SignalSignatures[K]>): number;
|
|
3884
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
3885
3854
|
|
|
3886
3855
|
/** @signal */
|
|
3887
3856
|
connect_after<K extends keyof SecureEntryBuffer.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, SecureEntryBuffer.SignalSignatures[K]>): number;
|
|
3888
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
3889
3857
|
|
|
3890
3858
|
/** @signal */
|
|
3891
|
-
emit<K extends keyof SecureEntryBuffer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<SecureEntryBuffer.SignalSignatures[K]>
|
|
3892
|
-
emit(signal: string, ...args: any[]): void;
|
|
3859
|
+
emit<K extends keyof SecureEntryBuffer.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<SecureEntryBuffer.SignalSignatures[K]>): void;
|
|
3893
3860
|
}
|
|
3894
3861
|
|
|
3895
3862
|
|
|
@@ -4009,15 +3976,12 @@ export namespace GcrUi {
|
|
|
4009
3976
|
// Signals
|
|
4010
3977
|
/** @signal */
|
|
4011
3978
|
connect<K extends keyof TreeSelector.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, TreeSelector.SignalSignatures[K]>): number;
|
|
4012
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
4013
3979
|
|
|
4014
3980
|
/** @signal */
|
|
4015
3981
|
connect_after<K extends keyof TreeSelector.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, TreeSelector.SignalSignatures[K]>): number;
|
|
4016
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
4017
3982
|
|
|
4018
3983
|
/** @signal */
|
|
4019
|
-
emit<K extends keyof TreeSelector.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<TreeSelector.SignalSignatures[K]>
|
|
4020
|
-
emit(signal: string, ...args: any[]): void;
|
|
3984
|
+
emit<K extends keyof TreeSelector.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<TreeSelector.SignalSignatures[K]>): void;
|
|
4021
3985
|
|
|
4022
3986
|
// Methods
|
|
4023
3987
|
/**
|
|
@@ -4282,15 +4246,12 @@ export namespace GcrUi {
|
|
|
4282
4246
|
// Signals
|
|
4283
4247
|
/** @signal */
|
|
4284
4248
|
connect<K extends keyof UnlockOptionsWidget.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, UnlockOptionsWidget.SignalSignatures[K]>): number;
|
|
4285
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
4286
4249
|
|
|
4287
4250
|
/** @signal */
|
|
4288
4251
|
connect_after<K extends keyof UnlockOptionsWidget.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, UnlockOptionsWidget.SignalSignatures[K]>): number;
|
|
4289
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
4290
4252
|
|
|
4291
4253
|
/** @signal */
|
|
4292
|
-
emit<K extends keyof UnlockOptionsWidget.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<UnlockOptionsWidget.SignalSignatures[K]>
|
|
4293
|
-
emit(signal: string, ...args: any[]): void;
|
|
4254
|
+
emit<K extends keyof UnlockOptionsWidget.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<UnlockOptionsWidget.SignalSignatures[K]>): void;
|
|
4294
4255
|
|
|
4295
4256
|
// Methods
|
|
4296
4257
|
/**
|
|
@@ -4491,15 +4452,12 @@ export namespace GcrUi {
|
|
|
4491
4452
|
// Signals
|
|
4492
4453
|
/** @signal */
|
|
4493
4454
|
connect<K extends keyof ViewerWidget.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ViewerWidget.SignalSignatures[K]>): number;
|
|
4494
|
-
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
4495
4455
|
|
|
4496
4456
|
/** @signal */
|
|
4497
4457
|
connect_after<K extends keyof ViewerWidget.SignalSignatures>(signal: K, callback: GObject.SignalCallback<this, ViewerWidget.SignalSignatures[K]>): number;
|
|
4498
|
-
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
4499
4458
|
|
|
4500
4459
|
/** @signal */
|
|
4501
|
-
emit<K extends keyof ViewerWidget.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ViewerWidget.SignalSignatures[K]>
|
|
4502
|
-
emit(signal: string, ...args: any[]): void;
|
|
4460
|
+
emit<K extends keyof ViewerWidget.SignalSignatures>(signal: K, ...args: GObject.GjsParameters<ViewerWidget.SignalSignatures[K]>): void;
|
|
4503
4461
|
|
|
4504
4462
|
// Methods
|
|
4505
4463
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gcrui-3",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "GJS TypeScript type definitions for GcrUi-3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gcrui-3.js",
|
|
@@ -36,22 +36,22 @@
|
|
|
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": "^
|
|
53
|
-
"@girs/gcr-3": "^
|
|
54
|
-
"@girs/gck-1": "^
|
|
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
|
+
"@girs/gcr-3": "^5.1.0",
|
|
54
|
+
"@girs/gck-1": "^5.1.0" },
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"typescript": "*"
|
|
57
57
|
},
|