@girs/gcrui-3 3.0.0-3.2.6 → 3.0.0-3.2.8

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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gcrui-3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GcrUi-3, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for GcrUi-3, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  GCR widgets
11
11
 
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/gcrui-3.d.cts CHANGED
@@ -663,7 +663,7 @@ export interface CertificateWidget extends Atk.ImplementorIface, Gtk.Buildable {
663
663
  * @param child the child widget
664
664
  * @param child_property the name of a child property installed on the class of `container`
665
665
  */
666
- child_notify(child: Gtk.Widget, child_property: string | null): void
666
+ child_notify(child: Gtk.Widget, child_property: string): void
667
667
 
668
668
  // Overloads of child_notify
669
669
 
@@ -677,7 +677,7 @@ export interface CertificateWidget extends Atk.ImplementorIface, Gtk.Buildable {
677
677
  * Also see gtk_container_child_notify().
678
678
  * @param child_property the name of a child property installed on the class of `widget’`s parent
679
679
  */
680
- child_notify(child_property: string | null): void
680
+ child_notify(child_property: string): void
681
681
  /**
682
682
  * Emits a #GtkWidget::child-notify signal for the
683
683
  * [child property][child-properties] `child_property`
@@ -688,7 +688,7 @@ export interface CertificateWidget extends Atk.ImplementorIface, Gtk.Buildable {
688
688
  * Also see gtk_container_child_notify().
689
689
  * @param child_property the name of a child property installed on the class of `widget’`s parent
690
690
  */
691
- child_notify(child_property: string | null): void
691
+ child_notify(child_property: string): void
692
692
 
693
693
  // Class property signals of GcrUi-3.GcrUi.CertificateWidget
694
694
 
@@ -1071,7 +1071,7 @@ export interface ComboSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.
1071
1071
  * Also see gtk_container_child_notify().
1072
1072
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1073
1073
  */
1074
- child_notify(child_property: string | null): void
1074
+ child_notify(child_property: string): void
1075
1075
  /**
1076
1076
  * Emits a #GtkWidget::child-notify signal for the
1077
1077
  * [child property][child-properties]
@@ -1083,7 +1083,7 @@ export interface ComboSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.
1083
1083
  * @param child the child widget
1084
1084
  * @param child_property the name of a child property installed on the class of `container`
1085
1085
  */
1086
- child_notify(child: Gtk.Widget, child_property: string | null): void
1086
+ child_notify(child: Gtk.Widget, child_property: string): void
1087
1087
 
1088
1088
  // Overloads of child_notify
1089
1089
 
@@ -1097,7 +1097,7 @@ export interface ComboSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.
1097
1097
  * Also see gtk_container_child_notify().
1098
1098
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1099
1099
  */
1100
- child_notify(child_property: string | null): void
1100
+ child_notify(child_property: string): void
1101
1101
 
1102
1102
  // Class property signals of GcrUi-3.GcrUi.ComboSelector
1103
1103
 
@@ -1399,7 +1399,7 @@ export class FailureRenderer extends GObject.Object {
1399
1399
  * @param label the label for the failure
1400
1400
  * @returns the new renderer
1401
1401
  */
1402
- static new_unsupported(label: string | null): Renderer
1402
+ static new_unsupported(label: string): Renderer
1403
1403
  }
1404
1404
 
1405
1405
  export module ImportButton {
@@ -1454,7 +1454,7 @@ export interface ImportButton extends Atk.ImplementorIface, Gtk.Actionable, Gtk.
1454
1454
  * Also see gtk_container_child_notify().
1455
1455
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1456
1456
  */
1457
- child_notify(child_property: string | null): void
1457
+ child_notify(child_property: string): void
1458
1458
  /**
1459
1459
  * Emits a #GtkWidget::child-notify signal for the
1460
1460
  * [child property][child-properties]
@@ -1466,7 +1466,7 @@ export interface ImportButton extends Atk.ImplementorIface, Gtk.Actionable, Gtk.
1466
1466
  * @param child the child widget
1467
1467
  * @param child_property the name of a child property installed on the class of `container`
1468
1468
  */
1469
- child_notify(child: Gtk.Widget, child_property: string | null): void
1469
+ child_notify(child: Gtk.Widget, child_property: string): void
1470
1470
 
1471
1471
  // Overloads of child_notify
1472
1472
 
@@ -1480,7 +1480,7 @@ export interface ImportButton extends Atk.ImplementorIface, Gtk.Actionable, Gtk.
1480
1480
  * Also see gtk_container_child_notify().
1481
1481
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1482
1482
  */
1483
- child_notify(child_property: string | null): void
1483
+ child_notify(child_property: string): void
1484
1484
 
1485
1485
  // Own virtual methods of GcrUi-3.GcrUi.ImportButton
1486
1486
 
@@ -1847,7 +1847,7 @@ export interface KeyWidget extends Atk.ImplementorIface, Gtk.Buildable {
1847
1847
  * @param child the child widget
1848
1848
  * @param child_property the name of a child property installed on the class of `container`
1849
1849
  */
1850
- child_notify(child: Gtk.Widget, child_property: string | null): void
1850
+ child_notify(child: Gtk.Widget, child_property: string): void
1851
1851
 
1852
1852
  // Overloads of child_notify
1853
1853
 
@@ -1861,7 +1861,7 @@ export interface KeyWidget extends Atk.ImplementorIface, Gtk.Buildable {
1861
1861
  * Also see gtk_container_child_notify().
1862
1862
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1863
1863
  */
1864
- child_notify(child_property: string | null): void
1864
+ child_notify(child_property: string): void
1865
1865
  /**
1866
1866
  * Emits a #GtkWidget::child-notify signal for the
1867
1867
  * [child property][child-properties] `child_property`
@@ -1872,7 +1872,7 @@ export interface KeyWidget extends Atk.ImplementorIface, Gtk.Buildable {
1872
1872
  * Also see gtk_container_child_notify().
1873
1873
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1874
1874
  */
1875
- child_notify(child_property: string | null): void
1875
+ child_notify(child_property: string): void
1876
1876
 
1877
1877
  // Class property signals of GcrUi-3.GcrUi.KeyWidget
1878
1878
 
@@ -2111,7 +2111,7 @@ export interface ListSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.S
2111
2111
  * @param child the child widget
2112
2112
  * @param child_property the name of a child property installed on the class of `container`
2113
2113
  */
2114
- child_notify(child: Gtk.Widget, child_property: string | null): void
2114
+ child_notify(child: Gtk.Widget, child_property: string): void
2115
2115
 
2116
2116
  // Overloads of child_notify
2117
2117
 
@@ -2125,7 +2125,7 @@ export interface ListSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.S
2125
2125
  * Also see gtk_container_child_notify().
2126
2126
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2127
2127
  */
2128
- child_notify(child_property: string | null): void
2128
+ child_notify(child_property: string): void
2129
2129
  /**
2130
2130
  * Emits a #GtkWidget::child-notify signal for the
2131
2131
  * [child property][child-properties] `child_property`
@@ -2136,7 +2136,7 @@ export interface ListSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.S
2136
2136
  * Also see gtk_container_child_notify().
2137
2137
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2138
2138
  */
2139
- child_notify(child_property: string | null): void
2139
+ child_notify(child_property: string): void
2140
2140
 
2141
2141
  // Class property signals of GcrUi-3.GcrUi.ListSelector
2142
2142
 
@@ -2396,34 +2396,18 @@ export interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buil
2396
2396
 
2397
2397
  // Own properties of GcrUi-3.GcrUi.PromptDialog
2398
2398
 
2399
- /**
2400
- * Whether the choice check box is visible or not.
2401
- */
2402
- readonly choice_visible: boolean
2403
2399
  /**
2404
2400
  * Whether the choice check box is visible or not.
2405
2401
  */
2406
2402
  readonly choiceVisible: boolean
2407
- /**
2408
- * Whether the password confirm entry is visible or not.
2409
- */
2410
- readonly confirm_visible: boolean
2411
2403
  /**
2412
2404
  * Whether the password confirm entry is visible or not.
2413
2405
  */
2414
2406
  readonly confirmVisible: boolean
2415
- /**
2416
- * Whether the password entry is visible or not.
2417
- */
2418
- readonly password_visible: boolean
2419
2407
  /**
2420
2408
  * Whether the password entry is visible or not.
2421
2409
  */
2422
2410
  readonly passwordVisible: boolean
2423
- /**
2424
- * Whether the warning label is visible or not.
2425
- */
2426
- readonly warning_visible: boolean
2427
2411
  /**
2428
2412
  * Whether the warning label is visible or not.
2429
2413
  */
@@ -2472,7 +2456,7 @@ export interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buil
2472
2456
  * @param child the child widget
2473
2457
  * @param child_property the name of a child property installed on the class of `container`
2474
2458
  */
2475
- child_notify(child: Gtk.Widget, child_property: string | null): void
2459
+ child_notify(child: Gtk.Widget, child_property: string): void
2476
2460
 
2477
2461
  // Overloads of child_notify
2478
2462
 
@@ -2486,7 +2470,7 @@ export interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buil
2486
2470
  * Also see gtk_container_child_notify().
2487
2471
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2488
2472
  */
2489
- child_notify(child_property: string | null): void
2473
+ child_notify(child_property: string): void
2490
2474
  /**
2491
2475
  * Emits a #GtkWidget::child-notify signal for the
2492
2476
  * [child property][child-properties] `child_property`
@@ -2497,7 +2481,7 @@ export interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buil
2497
2481
  * Also see gtk_container_child_notify().
2498
2482
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2499
2483
  */
2500
- child_notify(child_property: string | null): void
2484
+ child_notify(child_property: string): void
2501
2485
 
2502
2486
  // Class property signals of GcrUi-3.GcrUi.PromptDialog
2503
2487
 
@@ -2954,7 +2938,7 @@ export interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.S
2954
2938
  * @param child the child widget
2955
2939
  * @param child_property the name of a child property installed on the class of `container`
2956
2940
  */
2957
- child_notify(child: Gtk.Widget, child_property: string | null): void
2941
+ child_notify(child: Gtk.Widget, child_property: string): void
2958
2942
 
2959
2943
  // Overloads of child_notify
2960
2944
 
@@ -2968,7 +2952,7 @@ export interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.S
2968
2952
  * Also see gtk_container_child_notify().
2969
2953
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2970
2954
  */
2971
- child_notify(child_property: string | null): void
2955
+ child_notify(child_property: string): void
2972
2956
  /**
2973
2957
  * Emits a #GtkWidget::child-notify signal for the
2974
2958
  * [child property][child-properties] `child_property`
@@ -2979,7 +2963,7 @@ export interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.S
2979
2963
  * Also see gtk_container_child_notify().
2980
2964
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2981
2965
  */
2982
- child_notify(child_property: string | null): void
2966
+ child_notify(child_property: string): void
2983
2967
 
2984
2968
  // Class property signals of GcrUi-3.GcrUi.TreeSelector
2985
2969
 
@@ -3232,21 +3216,21 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3232
3216
  * Get the currently selected option, like %GCR_UNLOCK_OPTION_ALWAYS.
3233
3217
  * @returns The currently selected option name.
3234
3218
  */
3235
- get_choice(): string | null
3219
+ get_choice(): string
3236
3220
  /**
3237
3221
  * Get the label for one of the options. Use an option name like
3238
3222
  * %GCR_UNLOCK_OPTION_ALWAYS.
3239
3223
  * @param option The option name
3240
3224
  * @returns The current label for the option.
3241
3225
  */
3242
- get_label(option: string | null): string | null
3226
+ get_label(option: string): string
3243
3227
  /**
3244
3228
  * Get the sensitivity state for one of the options. Use an option name like
3245
3229
  * %GCR_UNLOCK_OPTION_ALWAYS.
3246
3230
  * @param option The option name
3247
3231
  * @returns Whether the option is sensitive or not.
3248
3232
  */
3249
- get_sensitive(option: string | null): boolean
3233
+ get_sensitive(option: string): boolean
3250
3234
 
3251
3235
  // Overloads of get_sensitive
3252
3236
 
@@ -3271,14 +3255,14 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3271
3255
  * %GCR_UNLOCK_OPTION_ALWAYS.
3272
3256
  * @param option The option name
3273
3257
  */
3274
- set_choice(option: string | null): void
3258
+ set_choice(option: string): void
3275
3259
  /**
3276
3260
  * Set the label for one of the options. Use an option name like
3277
3261
  * %GCR_UNLOCK_OPTION_ALWAYS.
3278
3262
  * @param option The option name
3279
3263
  * @param text The new label
3280
3264
  */
3281
- set_label(option: string | null, text: string | null): void
3265
+ set_label(option: string, text: string): void
3282
3266
  /**
3283
3267
  * Set the sensitivity state for one of the options. Use an option name like
3284
3268
  * %GCR_UNLOCK_OPTION_ALWAYS. The reason will be displayed as a tooltip.
@@ -3286,7 +3270,7 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3286
3270
  * @param sensitive The sensitivity state.
3287
3271
  * @param reason A user displayable string which contains the reason for the sensitivity.
3288
3272
  */
3289
- set_sensitive(option: string | null, sensitive: boolean, reason: string | null): void
3273
+ set_sensitive(option: string, sensitive: boolean, reason: string): void
3290
3274
 
3291
3275
  // Overloads of set_sensitive
3292
3276
 
@@ -3318,7 +3302,7 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3318
3302
  * @param child the child widget
3319
3303
  * @param child_property the name of a child property installed on the class of `container`
3320
3304
  */
3321
- child_notify(child: Gtk.Widget, child_property: string | null): void
3305
+ child_notify(child: Gtk.Widget, child_property: string): void
3322
3306
 
3323
3307
  // Overloads of child_notify
3324
3308
 
@@ -3332,7 +3316,7 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3332
3316
  * Also see gtk_container_child_notify().
3333
3317
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3334
3318
  */
3335
- child_notify(child_property: string | null): void
3319
+ child_notify(child_property: string): void
3336
3320
  /**
3337
3321
  * Emits a #GtkWidget::child-notify signal for the
3338
3322
  * [child property][child-properties] `child_property`
@@ -3343,7 +3327,7 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3343
3327
  * Also see gtk_container_child_notify().
3344
3328
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3345
3329
  */
3346
- child_notify(child_property: string | null): void
3330
+ child_notify(child_property: string): void
3347
3331
 
3348
3332
  // Class property signals of GcrUi-3.GcrUi.UnlockOptionsWidget
3349
3333
 
@@ -3539,14 +3523,6 @@ export module ViewerWidget {
3539
3523
 
3540
3524
  // Own constructor properties of GcrUi-3.GcrUi.ViewerWidget
3541
3525
 
3542
- /**
3543
- * Display name for data being displayed. This is automatically
3544
- * calculated from a loaded file, or can be explicitly set.
3545
- *
3546
- * Used as a hint when displaying a title for the data, but may be
3547
- * overridden by the parsed data.
3548
- */
3549
- display_name?: string | null
3550
3526
  /**
3551
3527
  * Display name for data being displayed. This is automatically
3552
3528
  * calculated from a loaded file, or can be explicitly set.
@@ -3563,14 +3539,6 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3563
3539
 
3564
3540
  // Own properties of GcrUi-3.GcrUi.ViewerWidget
3565
3541
 
3566
- /**
3567
- * Display name for data being displayed. This is automatically
3568
- * calculated from a loaded file, or can be explicitly set.
3569
- *
3570
- * Used as a hint when displaying a title for the data, but may be
3571
- * overridden by the parsed data.
3572
- */
3573
- display_name: string | null
3574
3542
  /**
3575
3543
  * Display name for data being displayed. This is automatically
3576
3544
  * calculated from a loaded file, or can be explicitly set.
@@ -3598,7 +3566,7 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3598
3566
  * overridden by the parsed data.
3599
3567
  * @returns the display name
3600
3568
  */
3601
- get_display_name(): string | null
3569
+ get_display_name(): string
3602
3570
  /**
3603
3571
  * Get the parser used to parse loaded data into viewable items.
3604
3572
  * @returns the parser
@@ -3642,14 +3610,14 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3642
3610
  * overridden by the parsed data.
3643
3611
  * @param display_name the display name
3644
3612
  */
3645
- set_display_name(display_name: string | null): void
3613
+ set_display_name(display_name: string): void
3646
3614
  /**
3647
3615
  * Show an error on the viewer widget. This is displayed on a info bar near
3648
3616
  * the edge of the widget.
3649
3617
  * @param message descriptive error message
3650
3618
  * @param error detailed error
3651
3619
  */
3652
- show_error(message: string | null, error: GLib.Error | null): void
3620
+ show_error(message: string, error: GLib.Error | null): void
3653
3621
 
3654
3622
  // Conflicting methods
3655
3623
 
@@ -3664,7 +3632,7 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3664
3632
  * @param child the child widget
3665
3633
  * @param child_property the name of a child property installed on the class of `container`
3666
3634
  */
3667
- child_notify(child: Gtk.Widget, child_property: string | null): void
3635
+ child_notify(child: Gtk.Widget, child_property: string): void
3668
3636
 
3669
3637
  // Overloads of child_notify
3670
3638
 
@@ -3678,7 +3646,7 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3678
3646
  * Also see gtk_container_child_notify().
3679
3647
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3680
3648
  */
3681
- child_notify(child_property: string | null): void
3649
+ child_notify(child_property: string): void
3682
3650
  /**
3683
3651
  * Emits a #GtkWidget::child-notify signal for the
3684
3652
  * [child property][child-properties] `child_property`
@@ -3689,7 +3657,7 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3689
3657
  * Also see gtk_container_child_notify().
3690
3658
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3691
3659
  */
3692
- child_notify(child_property: string | null): void
3660
+ child_notify(child_property: string): void
3693
3661
 
3694
3662
  // Own signals of GcrUi-3.GcrUi.ViewerWidget
3695
3663
 
package/gcrui-3.d.ts CHANGED
@@ -665,7 +665,7 @@ interface CertificateWidget extends Atk.ImplementorIface, Gtk.Buildable {
665
665
  * @param child the child widget
666
666
  * @param child_property the name of a child property installed on the class of `container`
667
667
  */
668
- child_notify(child: Gtk.Widget, child_property: string | null): void
668
+ child_notify(child: Gtk.Widget, child_property: string): void
669
669
 
670
670
  // Overloads of child_notify
671
671
 
@@ -679,7 +679,7 @@ interface CertificateWidget extends Atk.ImplementorIface, Gtk.Buildable {
679
679
  * Also see gtk_container_child_notify().
680
680
  * @param child_property the name of a child property installed on the class of `widget’`s parent
681
681
  */
682
- child_notify(child_property: string | null): void
682
+ child_notify(child_property: string): void
683
683
  /**
684
684
  * Emits a #GtkWidget::child-notify signal for the
685
685
  * [child property][child-properties] `child_property`
@@ -690,7 +690,7 @@ interface CertificateWidget extends Atk.ImplementorIface, Gtk.Buildable {
690
690
  * Also see gtk_container_child_notify().
691
691
  * @param child_property the name of a child property installed on the class of `widget’`s parent
692
692
  */
693
- child_notify(child_property: string | null): void
693
+ child_notify(child_property: string): void
694
694
 
695
695
  // Class property signals of GcrUi-3.GcrUi.CertificateWidget
696
696
 
@@ -1073,7 +1073,7 @@ interface ComboSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.CellEdi
1073
1073
  * Also see gtk_container_child_notify().
1074
1074
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1075
1075
  */
1076
- child_notify(child_property: string | null): void
1076
+ child_notify(child_property: string): void
1077
1077
  /**
1078
1078
  * Emits a #GtkWidget::child-notify signal for the
1079
1079
  * [child property][child-properties]
@@ -1085,7 +1085,7 @@ interface ComboSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.CellEdi
1085
1085
  * @param child the child widget
1086
1086
  * @param child_property the name of a child property installed on the class of `container`
1087
1087
  */
1088
- child_notify(child: Gtk.Widget, child_property: string | null): void
1088
+ child_notify(child: Gtk.Widget, child_property: string): void
1089
1089
 
1090
1090
  // Overloads of child_notify
1091
1091
 
@@ -1099,7 +1099,7 @@ interface ComboSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.CellEdi
1099
1099
  * Also see gtk_container_child_notify().
1100
1100
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1101
1101
  */
1102
- child_notify(child_property: string | null): void
1102
+ child_notify(child_property: string): void
1103
1103
 
1104
1104
  // Class property signals of GcrUi-3.GcrUi.ComboSelector
1105
1105
 
@@ -1401,7 +1401,7 @@ class FailureRenderer extends GObject.Object {
1401
1401
  * @param label the label for the failure
1402
1402
  * @returns the new renderer
1403
1403
  */
1404
- static new_unsupported(label: string | null): Renderer
1404
+ static new_unsupported(label: string): Renderer
1405
1405
  }
1406
1406
 
1407
1407
  module ImportButton {
@@ -1456,7 +1456,7 @@ interface ImportButton extends Atk.ImplementorIface, Gtk.Actionable, Gtk.Activat
1456
1456
  * Also see gtk_container_child_notify().
1457
1457
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1458
1458
  */
1459
- child_notify(child_property: string | null): void
1459
+ child_notify(child_property: string): void
1460
1460
  /**
1461
1461
  * Emits a #GtkWidget::child-notify signal for the
1462
1462
  * [child property][child-properties]
@@ -1468,7 +1468,7 @@ interface ImportButton extends Atk.ImplementorIface, Gtk.Actionable, Gtk.Activat
1468
1468
  * @param child the child widget
1469
1469
  * @param child_property the name of a child property installed on the class of `container`
1470
1470
  */
1471
- child_notify(child: Gtk.Widget, child_property: string | null): void
1471
+ child_notify(child: Gtk.Widget, child_property: string): void
1472
1472
 
1473
1473
  // Overloads of child_notify
1474
1474
 
@@ -1482,7 +1482,7 @@ interface ImportButton extends Atk.ImplementorIface, Gtk.Actionable, Gtk.Activat
1482
1482
  * Also see gtk_container_child_notify().
1483
1483
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1484
1484
  */
1485
- child_notify(child_property: string | null): void
1485
+ child_notify(child_property: string): void
1486
1486
 
1487
1487
  // Own virtual methods of GcrUi-3.GcrUi.ImportButton
1488
1488
 
@@ -1849,7 +1849,7 @@ interface KeyWidget extends Atk.ImplementorIface, Gtk.Buildable {
1849
1849
  * @param child the child widget
1850
1850
  * @param child_property the name of a child property installed on the class of `container`
1851
1851
  */
1852
- child_notify(child: Gtk.Widget, child_property: string | null): void
1852
+ child_notify(child: Gtk.Widget, child_property: string): void
1853
1853
 
1854
1854
  // Overloads of child_notify
1855
1855
 
@@ -1863,7 +1863,7 @@ interface KeyWidget extends Atk.ImplementorIface, Gtk.Buildable {
1863
1863
  * Also see gtk_container_child_notify().
1864
1864
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1865
1865
  */
1866
- child_notify(child_property: string | null): void
1866
+ child_notify(child_property: string): void
1867
1867
  /**
1868
1868
  * Emits a #GtkWidget::child-notify signal for the
1869
1869
  * [child property][child-properties] `child_property`
@@ -1874,7 +1874,7 @@ interface KeyWidget extends Atk.ImplementorIface, Gtk.Buildable {
1874
1874
  * Also see gtk_container_child_notify().
1875
1875
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1876
1876
  */
1877
- child_notify(child_property: string | null): void
1877
+ child_notify(child_property: string): void
1878
1878
 
1879
1879
  // Class property signals of GcrUi-3.GcrUi.KeyWidget
1880
1880
 
@@ -2113,7 +2113,7 @@ interface ListSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollab
2113
2113
  * @param child the child widget
2114
2114
  * @param child_property the name of a child property installed on the class of `container`
2115
2115
  */
2116
- child_notify(child: Gtk.Widget, child_property: string | null): void
2116
+ child_notify(child: Gtk.Widget, child_property: string): void
2117
2117
 
2118
2118
  // Overloads of child_notify
2119
2119
 
@@ -2127,7 +2127,7 @@ interface ListSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollab
2127
2127
  * Also see gtk_container_child_notify().
2128
2128
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2129
2129
  */
2130
- child_notify(child_property: string | null): void
2130
+ child_notify(child_property: string): void
2131
2131
  /**
2132
2132
  * Emits a #GtkWidget::child-notify signal for the
2133
2133
  * [child property][child-properties] `child_property`
@@ -2138,7 +2138,7 @@ interface ListSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollab
2138
2138
  * Also see gtk_container_child_notify().
2139
2139
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2140
2140
  */
2141
- child_notify(child_property: string | null): void
2141
+ child_notify(child_property: string): void
2142
2142
 
2143
2143
  // Class property signals of GcrUi-3.GcrUi.ListSelector
2144
2144
 
@@ -2398,34 +2398,18 @@ interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buildable {
2398
2398
 
2399
2399
  // Own properties of GcrUi-3.GcrUi.PromptDialog
2400
2400
 
2401
- /**
2402
- * Whether the choice check box is visible or not.
2403
- */
2404
- readonly choice_visible: boolean
2405
2401
  /**
2406
2402
  * Whether the choice check box is visible or not.
2407
2403
  */
2408
2404
  readonly choiceVisible: boolean
2409
- /**
2410
- * Whether the password confirm entry is visible or not.
2411
- */
2412
- readonly confirm_visible: boolean
2413
2405
  /**
2414
2406
  * Whether the password confirm entry is visible or not.
2415
2407
  */
2416
2408
  readonly confirmVisible: boolean
2417
- /**
2418
- * Whether the password entry is visible or not.
2419
- */
2420
- readonly password_visible: boolean
2421
2409
  /**
2422
2410
  * Whether the password entry is visible or not.
2423
2411
  */
2424
2412
  readonly passwordVisible: boolean
2425
- /**
2426
- * Whether the warning label is visible or not.
2427
- */
2428
- readonly warning_visible: boolean
2429
2413
  /**
2430
2414
  * Whether the warning label is visible or not.
2431
2415
  */
@@ -2474,7 +2458,7 @@ interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buildable {
2474
2458
  * @param child the child widget
2475
2459
  * @param child_property the name of a child property installed on the class of `container`
2476
2460
  */
2477
- child_notify(child: Gtk.Widget, child_property: string | null): void
2461
+ child_notify(child: Gtk.Widget, child_property: string): void
2478
2462
 
2479
2463
  // Overloads of child_notify
2480
2464
 
@@ -2488,7 +2472,7 @@ interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buildable {
2488
2472
  * Also see gtk_container_child_notify().
2489
2473
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2490
2474
  */
2491
- child_notify(child_property: string | null): void
2475
+ child_notify(child_property: string): void
2492
2476
  /**
2493
2477
  * Emits a #GtkWidget::child-notify signal for the
2494
2478
  * [child property][child-properties] `child_property`
@@ -2499,7 +2483,7 @@ interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buildable {
2499
2483
  * Also see gtk_container_child_notify().
2500
2484
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2501
2485
  */
2502
- child_notify(child_property: string | null): void
2486
+ child_notify(child_property: string): void
2503
2487
 
2504
2488
  // Class property signals of GcrUi-3.GcrUi.PromptDialog
2505
2489
 
@@ -2956,7 +2940,7 @@ interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollab
2956
2940
  * @param child the child widget
2957
2941
  * @param child_property the name of a child property installed on the class of `container`
2958
2942
  */
2959
- child_notify(child: Gtk.Widget, child_property: string | null): void
2943
+ child_notify(child: Gtk.Widget, child_property: string): void
2960
2944
 
2961
2945
  // Overloads of child_notify
2962
2946
 
@@ -2970,7 +2954,7 @@ interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollab
2970
2954
  * Also see gtk_container_child_notify().
2971
2955
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2972
2956
  */
2973
- child_notify(child_property: string | null): void
2957
+ child_notify(child_property: string): void
2974
2958
  /**
2975
2959
  * Emits a #GtkWidget::child-notify signal for the
2976
2960
  * [child property][child-properties] `child_property`
@@ -2981,7 +2965,7 @@ interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollab
2981
2965
  * Also see gtk_container_child_notify().
2982
2966
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2983
2967
  */
2984
- child_notify(child_property: string | null): void
2968
+ child_notify(child_property: string): void
2985
2969
 
2986
2970
  // Class property signals of GcrUi-3.GcrUi.TreeSelector
2987
2971
 
@@ -3234,21 +3218,21 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3234
3218
  * Get the currently selected option, like %GCR_UNLOCK_OPTION_ALWAYS.
3235
3219
  * @returns The currently selected option name.
3236
3220
  */
3237
- get_choice(): string | null
3221
+ get_choice(): string
3238
3222
  /**
3239
3223
  * Get the label for one of the options. Use an option name like
3240
3224
  * %GCR_UNLOCK_OPTION_ALWAYS.
3241
3225
  * @param option The option name
3242
3226
  * @returns The current label for the option.
3243
3227
  */
3244
- get_label(option: string | null): string | null
3228
+ get_label(option: string): string
3245
3229
  /**
3246
3230
  * Get the sensitivity state for one of the options. Use an option name like
3247
3231
  * %GCR_UNLOCK_OPTION_ALWAYS.
3248
3232
  * @param option The option name
3249
3233
  * @returns Whether the option is sensitive or not.
3250
3234
  */
3251
- get_sensitive(option: string | null): boolean
3235
+ get_sensitive(option: string): boolean
3252
3236
 
3253
3237
  // Overloads of get_sensitive
3254
3238
 
@@ -3273,14 +3257,14 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3273
3257
  * %GCR_UNLOCK_OPTION_ALWAYS.
3274
3258
  * @param option The option name
3275
3259
  */
3276
- set_choice(option: string | null): void
3260
+ set_choice(option: string): void
3277
3261
  /**
3278
3262
  * Set the label for one of the options. Use an option name like
3279
3263
  * %GCR_UNLOCK_OPTION_ALWAYS.
3280
3264
  * @param option The option name
3281
3265
  * @param text The new label
3282
3266
  */
3283
- set_label(option: string | null, text: string | null): void
3267
+ set_label(option: string, text: string): void
3284
3268
  /**
3285
3269
  * Set the sensitivity state for one of the options. Use an option name like
3286
3270
  * %GCR_UNLOCK_OPTION_ALWAYS. The reason will be displayed as a tooltip.
@@ -3288,7 +3272,7 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3288
3272
  * @param sensitive The sensitivity state.
3289
3273
  * @param reason A user displayable string which contains the reason for the sensitivity.
3290
3274
  */
3291
- set_sensitive(option: string | null, sensitive: boolean, reason: string | null): void
3275
+ set_sensitive(option: string, sensitive: boolean, reason: string): void
3292
3276
 
3293
3277
  // Overloads of set_sensitive
3294
3278
 
@@ -3320,7 +3304,7 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3320
3304
  * @param child the child widget
3321
3305
  * @param child_property the name of a child property installed on the class of `container`
3322
3306
  */
3323
- child_notify(child: Gtk.Widget, child_property: string | null): void
3307
+ child_notify(child: Gtk.Widget, child_property: string): void
3324
3308
 
3325
3309
  // Overloads of child_notify
3326
3310
 
@@ -3334,7 +3318,7 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3334
3318
  * Also see gtk_container_child_notify().
3335
3319
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3336
3320
  */
3337
- child_notify(child_property: string | null): void
3321
+ child_notify(child_property: string): void
3338
3322
  /**
3339
3323
  * Emits a #GtkWidget::child-notify signal for the
3340
3324
  * [child property][child-properties] `child_property`
@@ -3345,7 +3329,7 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3345
3329
  * Also see gtk_container_child_notify().
3346
3330
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3347
3331
  */
3348
- child_notify(child_property: string | null): void
3332
+ child_notify(child_property: string): void
3349
3333
 
3350
3334
  // Class property signals of GcrUi-3.GcrUi.UnlockOptionsWidget
3351
3335
 
@@ -3541,14 +3525,6 @@ module ViewerWidget {
3541
3525
 
3542
3526
  // Own constructor properties of GcrUi-3.GcrUi.ViewerWidget
3543
3527
 
3544
- /**
3545
- * Display name for data being displayed. This is automatically
3546
- * calculated from a loaded file, or can be explicitly set.
3547
- *
3548
- * Used as a hint when displaying a title for the data, but may be
3549
- * overridden by the parsed data.
3550
- */
3551
- display_name?: string | null
3552
3528
  /**
3553
3529
  * Display name for data being displayed. This is automatically
3554
3530
  * calculated from a loaded file, or can be explicitly set.
@@ -3565,14 +3541,6 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3565
3541
 
3566
3542
  // Own properties of GcrUi-3.GcrUi.ViewerWidget
3567
3543
 
3568
- /**
3569
- * Display name for data being displayed. This is automatically
3570
- * calculated from a loaded file, or can be explicitly set.
3571
- *
3572
- * Used as a hint when displaying a title for the data, but may be
3573
- * overridden by the parsed data.
3574
- */
3575
- display_name: string | null
3576
3544
  /**
3577
3545
  * Display name for data being displayed. This is automatically
3578
3546
  * calculated from a loaded file, or can be explicitly set.
@@ -3600,7 +3568,7 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3600
3568
  * overridden by the parsed data.
3601
3569
  * @returns the display name
3602
3570
  */
3603
- get_display_name(): string | null
3571
+ get_display_name(): string
3604
3572
  /**
3605
3573
  * Get the parser used to parse loaded data into viewable items.
3606
3574
  * @returns the parser
@@ -3644,14 +3612,14 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3644
3612
  * overridden by the parsed data.
3645
3613
  * @param display_name the display name
3646
3614
  */
3647
- set_display_name(display_name: string | null): void
3615
+ set_display_name(display_name: string): void
3648
3616
  /**
3649
3617
  * Show an error on the viewer widget. This is displayed on a info bar near
3650
3618
  * the edge of the widget.
3651
3619
  * @param message descriptive error message
3652
3620
  * @param error detailed error
3653
3621
  */
3654
- show_error(message: string | null, error: GLib.Error | null): void
3622
+ show_error(message: string, error: GLib.Error | null): void
3655
3623
 
3656
3624
  // Conflicting methods
3657
3625
 
@@ -3666,7 +3634,7 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3666
3634
  * @param child the child widget
3667
3635
  * @param child_property the name of a child property installed on the class of `container`
3668
3636
  */
3669
- child_notify(child: Gtk.Widget, child_property: string | null): void
3637
+ child_notify(child: Gtk.Widget, child_property: string): void
3670
3638
 
3671
3639
  // Overloads of child_notify
3672
3640
 
@@ -3680,7 +3648,7 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3680
3648
  * Also see gtk_container_child_notify().
3681
3649
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3682
3650
  */
3683
- child_notify(child_property: string | null): void
3651
+ child_notify(child_property: string): void
3684
3652
  /**
3685
3653
  * Emits a #GtkWidget::child-notify signal for the
3686
3654
  * [child property][child-properties] `child_property`
@@ -3691,7 +3659,7 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3691
3659
  * Also see gtk_container_child_notify().
3692
3660
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3693
3661
  */
3694
- child_notify(child_property: string | null): void
3662
+ child_notify(child_property: string): void
3695
3663
 
3696
3664
  // Own signals of GcrUi-3.GcrUi.ViewerWidget
3697
3665
 
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/gcrui-3",
3
- "version": "3.0.0-3.2.6",
3
+ "version": "3.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for GcrUi-3, generated from library version 3.0.0",
5
5
  "type": "module",
6
6
  "module": "gcrui-3.js",
7
7
  "main": "gcrui-3.js",
8
8
  "exports": {
9
- "./ambient": "./gcrui-3-ambient.d.ts",
10
- "./import": "./gcrui-3-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./gcrui-3-ambient.d.ts",
11
+ "default": "./gcrui-3-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./gcrui-3-import.d.ts",
15
+ "default": "./gcrui-3-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./gcrui-3.d.ts",
@@ -25,22 +31,22 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gcrui-3.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.6",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.6",
30
- "@girs/freetype2-2.0": "^2.0.0-3.2.6",
31
- "@girs/gck-1": "^1.0.0-3.2.6",
32
- "@girs/gcr-3": "^3.41.0-3.2.6",
33
- "@girs/gdk-3.0": "^3.24.38-3.2.6",
34
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.6",
35
- "@girs/gio-2.0": "^2.78.0-3.2.6",
36
- "@girs/gjs": "^3.2.6",
37
- "@girs/glib-2.0": "^2.78.0-3.2.6",
38
- "@girs/gmodule-2.0": "^2.0.0-3.2.6",
39
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
40
- "@girs/gtk-3.0": "^3.24.38-3.2.6",
41
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.6",
42
- "@girs/pango-1.0": "^1.51.0-3.2.6",
43
- "@girs/xlib-2.0": "^2.0.0-3.2.6"
34
+ "@girs/atk-1.0": "^2.45.1-3.2.8",
35
+ "@girs/cairo-1.0": "^1.0.0-3.2.8",
36
+ "@girs/freetype2-2.0": "^2.0.0-3.2.8",
37
+ "@girs/gck-1": "^1.0.0-3.2.8",
38
+ "@girs/gcr-3": "^3.41.0-3.2.8",
39
+ "@girs/gdk-3.0": "^3.24.39-3.2.8",
40
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
41
+ "@girs/gio-2.0": "^2.77.0-3.2.8",
42
+ "@girs/gjs": "^3.2.8",
43
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
44
+ "@girs/gmodule-2.0": "^2.0.0-3.2.8",
45
+ "@girs/gobject-2.0": "^2.77.0-3.2.8",
46
+ "@girs/gtk-3.0": "^3.24.39-3.2.8",
47
+ "@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
48
+ "@girs/pango-1.0": "^1.51.0-3.2.8",
49
+ "@girs/xlib-2.0": "^2.0.0-3.2.8"
44
50
  },
45
51
  "devDependencies": {
46
52
  "typescript": "*"
@@ -57,7 +63,7 @@
57
63
  "license": "MIT",
58
64
  "repository": {
59
65
  "type": "git",
60
- "url": "git+https://github.com/gjsify/types.git"
66
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
61
67
  },
62
68
  "bugs": {
63
69
  "url": "https://github.com/gjsify/ts-for-gir/issues"