@girs/gcrui-3 3.0.0-3.2.5 → 3.0.0-3.2.7

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.5.
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.7.
9
9
 
10
10
  GCR widgets
11
11
 
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
 
@@ -2400,18 +2400,34 @@ export interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buil
2400
2400
  * Whether the choice check box is visible or not.
2401
2401
  */
2402
2402
  readonly choice_visible: boolean
2403
+ /**
2404
+ * Whether the choice check box is visible or not.
2405
+ */
2406
+ readonly choiceVisible: boolean
2403
2407
  /**
2404
2408
  * Whether the password confirm entry is visible or not.
2405
2409
  */
2406
2410
  readonly confirm_visible: boolean
2411
+ /**
2412
+ * Whether the password confirm entry is visible or not.
2413
+ */
2414
+ readonly confirmVisible: boolean
2407
2415
  /**
2408
2416
  * Whether the password entry is visible or not.
2409
2417
  */
2410
2418
  readonly password_visible: boolean
2419
+ /**
2420
+ * Whether the password entry is visible or not.
2421
+ */
2422
+ readonly passwordVisible: boolean
2411
2423
  /**
2412
2424
  * Whether the warning label is visible or not.
2413
2425
  */
2414
2426
  readonly warning_visible: boolean
2427
+ /**
2428
+ * Whether the warning label is visible or not.
2429
+ */
2430
+ readonly warningVisible: boolean
2415
2431
 
2416
2432
  // Conflicting properties
2417
2433
 
@@ -2456,7 +2472,7 @@ export interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buil
2456
2472
  * @param child the child widget
2457
2473
  * @param child_property the name of a child property installed on the class of `container`
2458
2474
  */
2459
- child_notify(child: Gtk.Widget, child_property: string | null): void
2475
+ child_notify(child: Gtk.Widget, child_property: string): void
2460
2476
 
2461
2477
  // Overloads of child_notify
2462
2478
 
@@ -2470,7 +2486,7 @@ export interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buil
2470
2486
  * Also see gtk_container_child_notify().
2471
2487
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2472
2488
  */
2473
- child_notify(child_property: string | null): void
2489
+ child_notify(child_property: string): void
2474
2490
  /**
2475
2491
  * Emits a #GtkWidget::child-notify signal for the
2476
2492
  * [child property][child-properties] `child_property`
@@ -2481,7 +2497,7 @@ export interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buil
2481
2497
  * Also see gtk_container_child_notify().
2482
2498
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2483
2499
  */
2484
- child_notify(child_property: string | null): void
2500
+ child_notify(child_property: string): void
2485
2501
 
2486
2502
  // Class property signals of GcrUi-3.GcrUi.PromptDialog
2487
2503
 
@@ -2938,7 +2954,7 @@ export interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.S
2938
2954
  * @param child the child widget
2939
2955
  * @param child_property the name of a child property installed on the class of `container`
2940
2956
  */
2941
- child_notify(child: Gtk.Widget, child_property: string | null): void
2957
+ child_notify(child: Gtk.Widget, child_property: string): void
2942
2958
 
2943
2959
  // Overloads of child_notify
2944
2960
 
@@ -2952,7 +2968,7 @@ export interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.S
2952
2968
  * Also see gtk_container_child_notify().
2953
2969
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2954
2970
  */
2955
- child_notify(child_property: string | null): void
2971
+ child_notify(child_property: string): void
2956
2972
  /**
2957
2973
  * Emits a #GtkWidget::child-notify signal for the
2958
2974
  * [child property][child-properties] `child_property`
@@ -2963,7 +2979,7 @@ export interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.S
2963
2979
  * Also see gtk_container_child_notify().
2964
2980
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2965
2981
  */
2966
- child_notify(child_property: string | null): void
2982
+ child_notify(child_property: string): void
2967
2983
 
2968
2984
  // Class property signals of GcrUi-3.GcrUi.TreeSelector
2969
2985
 
@@ -3216,21 +3232,21 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3216
3232
  * Get the currently selected option, like %GCR_UNLOCK_OPTION_ALWAYS.
3217
3233
  * @returns The currently selected option name.
3218
3234
  */
3219
- get_choice(): string | null
3235
+ get_choice(): string
3220
3236
  /**
3221
3237
  * Get the label for one of the options. Use an option name like
3222
3238
  * %GCR_UNLOCK_OPTION_ALWAYS.
3223
3239
  * @param option The option name
3224
3240
  * @returns The current label for the option.
3225
3241
  */
3226
- get_label(option: string | null): string | null
3242
+ get_label(option: string): string
3227
3243
  /**
3228
3244
  * Get the sensitivity state for one of the options. Use an option name like
3229
3245
  * %GCR_UNLOCK_OPTION_ALWAYS.
3230
3246
  * @param option The option name
3231
3247
  * @returns Whether the option is sensitive or not.
3232
3248
  */
3233
- get_sensitive(option: string | null): boolean
3249
+ get_sensitive(option: string): boolean
3234
3250
 
3235
3251
  // Overloads of get_sensitive
3236
3252
 
@@ -3255,14 +3271,14 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3255
3271
  * %GCR_UNLOCK_OPTION_ALWAYS.
3256
3272
  * @param option The option name
3257
3273
  */
3258
- set_choice(option: string | null): void
3274
+ set_choice(option: string): void
3259
3275
  /**
3260
3276
  * Set the label for one of the options. Use an option name like
3261
3277
  * %GCR_UNLOCK_OPTION_ALWAYS.
3262
3278
  * @param option The option name
3263
3279
  * @param text The new label
3264
3280
  */
3265
- set_label(option: string | null, text: string | null): void
3281
+ set_label(option: string, text: string): void
3266
3282
  /**
3267
3283
  * Set the sensitivity state for one of the options. Use an option name like
3268
3284
  * %GCR_UNLOCK_OPTION_ALWAYS. The reason will be displayed as a tooltip.
@@ -3270,7 +3286,7 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3270
3286
  * @param sensitive The sensitivity state.
3271
3287
  * @param reason A user displayable string which contains the reason for the sensitivity.
3272
3288
  */
3273
- set_sensitive(option: string | null, sensitive: boolean, reason: string | null): void
3289
+ set_sensitive(option: string, sensitive: boolean, reason: string): void
3274
3290
 
3275
3291
  // Overloads of set_sensitive
3276
3292
 
@@ -3302,7 +3318,7 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3302
3318
  * @param child the child widget
3303
3319
  * @param child_property the name of a child property installed on the class of `container`
3304
3320
  */
3305
- child_notify(child: Gtk.Widget, child_property: string | null): void
3321
+ child_notify(child: Gtk.Widget, child_property: string): void
3306
3322
 
3307
3323
  // Overloads of child_notify
3308
3324
 
@@ -3316,7 +3332,7 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3316
3332
  * Also see gtk_container_child_notify().
3317
3333
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3318
3334
  */
3319
- child_notify(child_property: string | null): void
3335
+ child_notify(child_property: string): void
3320
3336
  /**
3321
3337
  * Emits a #GtkWidget::child-notify signal for the
3322
3338
  * [child property][child-properties] `child_property`
@@ -3327,7 +3343,7 @@ export interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable
3327
3343
  * Also see gtk_container_child_notify().
3328
3344
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3329
3345
  */
3330
- child_notify(child_property: string | null): void
3346
+ child_notify(child_property: string): void
3331
3347
 
3332
3348
  // Class property signals of GcrUi-3.GcrUi.UnlockOptionsWidget
3333
3349
 
@@ -3531,6 +3547,14 @@ export module ViewerWidget {
3531
3547
  * overridden by the parsed data.
3532
3548
  */
3533
3549
  display_name?: string | null
3550
+ /**
3551
+ * Display name for data being displayed. This is automatically
3552
+ * calculated from a loaded file, or can be explicitly set.
3553
+ *
3554
+ * Used as a hint when displaying a title for the data, but may be
3555
+ * overridden by the parsed data.
3556
+ */
3557
+ displayName?: string | null
3534
3558
  }
3535
3559
 
3536
3560
  }
@@ -3547,6 +3571,14 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3547
3571
  * overridden by the parsed data.
3548
3572
  */
3549
3573
  display_name: string | null
3574
+ /**
3575
+ * Display name for data being displayed. This is automatically
3576
+ * calculated from a loaded file, or can be explicitly set.
3577
+ *
3578
+ * Used as a hint when displaying a title for the data, but may be
3579
+ * overridden by the parsed data.
3580
+ */
3581
+ displayName: string | null
3550
3582
  /**
3551
3583
  * The parser used to parse loaded data into viewable items.
3552
3584
  */
@@ -3566,7 +3598,7 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3566
3598
  * overridden by the parsed data.
3567
3599
  * @returns the display name
3568
3600
  */
3569
- get_display_name(): string | null
3601
+ get_display_name(): string
3570
3602
  /**
3571
3603
  * Get the parser used to parse loaded data into viewable items.
3572
3604
  * @returns the parser
@@ -3610,14 +3642,14 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3610
3642
  * overridden by the parsed data.
3611
3643
  * @param display_name the display name
3612
3644
  */
3613
- set_display_name(display_name: string | null): void
3645
+ set_display_name(display_name: string): void
3614
3646
  /**
3615
3647
  * Show an error on the viewer widget. This is displayed on a info bar near
3616
3648
  * the edge of the widget.
3617
3649
  * @param message descriptive error message
3618
3650
  * @param error detailed error
3619
3651
  */
3620
- show_error(message: string | null, error: GLib.Error | null): void
3652
+ show_error(message: string, error: GLib.Error | null): void
3621
3653
 
3622
3654
  // Conflicting methods
3623
3655
 
@@ -3632,7 +3664,7 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3632
3664
  * @param child the child widget
3633
3665
  * @param child_property the name of a child property installed on the class of `container`
3634
3666
  */
3635
- child_notify(child: Gtk.Widget, child_property: string | null): void
3667
+ child_notify(child: Gtk.Widget, child_property: string): void
3636
3668
 
3637
3669
  // Overloads of child_notify
3638
3670
 
@@ -3646,7 +3678,7 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3646
3678
  * Also see gtk_container_child_notify().
3647
3679
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3648
3680
  */
3649
- child_notify(child_property: string | null): void
3681
+ child_notify(child_property: string): void
3650
3682
  /**
3651
3683
  * Emits a #GtkWidget::child-notify signal for the
3652
3684
  * [child property][child-properties] `child_property`
@@ -3657,7 +3689,7 @@ export interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.O
3657
3689
  * Also see gtk_container_child_notify().
3658
3690
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3659
3691
  */
3660
- child_notify(child_property: string | null): void
3692
+ child_notify(child_property: string): void
3661
3693
 
3662
3694
  // Own signals of GcrUi-3.GcrUi.ViewerWidget
3663
3695
 
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
 
@@ -2402,18 +2402,34 @@ interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buildable {
2402
2402
  * Whether the choice check box is visible or not.
2403
2403
  */
2404
2404
  readonly choice_visible: boolean
2405
+ /**
2406
+ * Whether the choice check box is visible or not.
2407
+ */
2408
+ readonly choiceVisible: boolean
2405
2409
  /**
2406
2410
  * Whether the password confirm entry is visible or not.
2407
2411
  */
2408
2412
  readonly confirm_visible: boolean
2413
+ /**
2414
+ * Whether the password confirm entry is visible or not.
2415
+ */
2416
+ readonly confirmVisible: boolean
2409
2417
  /**
2410
2418
  * Whether the password entry is visible or not.
2411
2419
  */
2412
2420
  readonly password_visible: boolean
2421
+ /**
2422
+ * Whether the password entry is visible or not.
2423
+ */
2424
+ readonly passwordVisible: boolean
2413
2425
  /**
2414
2426
  * Whether the warning label is visible or not.
2415
2427
  */
2416
2428
  readonly warning_visible: boolean
2429
+ /**
2430
+ * Whether the warning label is visible or not.
2431
+ */
2432
+ readonly warningVisible: boolean
2417
2433
 
2418
2434
  // Conflicting properties
2419
2435
 
@@ -2458,7 +2474,7 @@ interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buildable {
2458
2474
  * @param child the child widget
2459
2475
  * @param child_property the name of a child property installed on the class of `container`
2460
2476
  */
2461
- child_notify(child: Gtk.Widget, child_property: string | null): void
2477
+ child_notify(child: Gtk.Widget, child_property: string): void
2462
2478
 
2463
2479
  // Overloads of child_notify
2464
2480
 
@@ -2472,7 +2488,7 @@ interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buildable {
2472
2488
  * Also see gtk_container_child_notify().
2473
2489
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2474
2490
  */
2475
- child_notify(child_property: string | null): void
2491
+ child_notify(child_property: string): void
2476
2492
  /**
2477
2493
  * Emits a #GtkWidget::child-notify signal for the
2478
2494
  * [child property][child-properties] `child_property`
@@ -2483,7 +2499,7 @@ interface PromptDialog extends Atk.ImplementorIface, Gcr.Prompt, Gtk.Buildable {
2483
2499
  * Also see gtk_container_child_notify().
2484
2500
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2485
2501
  */
2486
- child_notify(child_property: string | null): void
2502
+ child_notify(child_property: string): void
2487
2503
 
2488
2504
  // Class property signals of GcrUi-3.GcrUi.PromptDialog
2489
2505
 
@@ -2940,7 +2956,7 @@ interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollab
2940
2956
  * @param child the child widget
2941
2957
  * @param child_property the name of a child property installed on the class of `container`
2942
2958
  */
2943
- child_notify(child: Gtk.Widget, child_property: string | null): void
2959
+ child_notify(child: Gtk.Widget, child_property: string): void
2944
2960
 
2945
2961
  // Overloads of child_notify
2946
2962
 
@@ -2954,7 +2970,7 @@ interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollab
2954
2970
  * Also see gtk_container_child_notify().
2955
2971
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2956
2972
  */
2957
- child_notify(child_property: string | null): void
2973
+ child_notify(child_property: string): void
2958
2974
  /**
2959
2975
  * Emits a #GtkWidget::child-notify signal for the
2960
2976
  * [child property][child-properties] `child_property`
@@ -2965,7 +2981,7 @@ interface TreeSelector extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollab
2965
2981
  * Also see gtk_container_child_notify().
2966
2982
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2967
2983
  */
2968
- child_notify(child_property: string | null): void
2984
+ child_notify(child_property: string): void
2969
2985
 
2970
2986
  // Class property signals of GcrUi-3.GcrUi.TreeSelector
2971
2987
 
@@ -3218,21 +3234,21 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3218
3234
  * Get the currently selected option, like %GCR_UNLOCK_OPTION_ALWAYS.
3219
3235
  * @returns The currently selected option name.
3220
3236
  */
3221
- get_choice(): string | null
3237
+ get_choice(): string
3222
3238
  /**
3223
3239
  * Get the label for one of the options. Use an option name like
3224
3240
  * %GCR_UNLOCK_OPTION_ALWAYS.
3225
3241
  * @param option The option name
3226
3242
  * @returns The current label for the option.
3227
3243
  */
3228
- get_label(option: string | null): string | null
3244
+ get_label(option: string): string
3229
3245
  /**
3230
3246
  * Get the sensitivity state for one of the options. Use an option name like
3231
3247
  * %GCR_UNLOCK_OPTION_ALWAYS.
3232
3248
  * @param option The option name
3233
3249
  * @returns Whether the option is sensitive or not.
3234
3250
  */
3235
- get_sensitive(option: string | null): boolean
3251
+ get_sensitive(option: string): boolean
3236
3252
 
3237
3253
  // Overloads of get_sensitive
3238
3254
 
@@ -3257,14 +3273,14 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3257
3273
  * %GCR_UNLOCK_OPTION_ALWAYS.
3258
3274
  * @param option The option name
3259
3275
  */
3260
- set_choice(option: string | null): void
3276
+ set_choice(option: string): void
3261
3277
  /**
3262
3278
  * Set the label for one of the options. Use an option name like
3263
3279
  * %GCR_UNLOCK_OPTION_ALWAYS.
3264
3280
  * @param option The option name
3265
3281
  * @param text The new label
3266
3282
  */
3267
- set_label(option: string | null, text: string | null): void
3283
+ set_label(option: string, text: string): void
3268
3284
  /**
3269
3285
  * Set the sensitivity state for one of the options. Use an option name like
3270
3286
  * %GCR_UNLOCK_OPTION_ALWAYS. The reason will be displayed as a tooltip.
@@ -3272,7 +3288,7 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3272
3288
  * @param sensitive The sensitivity state.
3273
3289
  * @param reason A user displayable string which contains the reason for the sensitivity.
3274
3290
  */
3275
- set_sensitive(option: string | null, sensitive: boolean, reason: string | null): void
3291
+ set_sensitive(option: string, sensitive: boolean, reason: string): void
3276
3292
 
3277
3293
  // Overloads of set_sensitive
3278
3294
 
@@ -3304,7 +3320,7 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3304
3320
  * @param child the child widget
3305
3321
  * @param child_property the name of a child property installed on the class of `container`
3306
3322
  */
3307
- child_notify(child: Gtk.Widget, child_property: string | null): void
3323
+ child_notify(child: Gtk.Widget, child_property: string): void
3308
3324
 
3309
3325
  // Overloads of child_notify
3310
3326
 
@@ -3318,7 +3334,7 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3318
3334
  * Also see gtk_container_child_notify().
3319
3335
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3320
3336
  */
3321
- child_notify(child_property: string | null): void
3337
+ child_notify(child_property: string): void
3322
3338
  /**
3323
3339
  * Emits a #GtkWidget::child-notify signal for the
3324
3340
  * [child property][child-properties] `child_property`
@@ -3329,7 +3345,7 @@ interface UnlockOptionsWidget extends Atk.ImplementorIface, Gtk.Buildable {
3329
3345
  * Also see gtk_container_child_notify().
3330
3346
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3331
3347
  */
3332
- child_notify(child_property: string | null): void
3348
+ child_notify(child_property: string): void
3333
3349
 
3334
3350
  // Class property signals of GcrUi-3.GcrUi.UnlockOptionsWidget
3335
3351
 
@@ -3533,6 +3549,14 @@ module ViewerWidget {
3533
3549
  * overridden by the parsed data.
3534
3550
  */
3535
3551
  display_name?: string | null
3552
+ /**
3553
+ * Display name for data being displayed. This is automatically
3554
+ * calculated from a loaded file, or can be explicitly set.
3555
+ *
3556
+ * Used as a hint when displaying a title for the data, but may be
3557
+ * overridden by the parsed data.
3558
+ */
3559
+ displayName?: string | null
3536
3560
  }
3537
3561
 
3538
3562
  }
@@ -3549,6 +3573,14 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3549
3573
  * overridden by the parsed data.
3550
3574
  */
3551
3575
  display_name: string | null
3576
+ /**
3577
+ * Display name for data being displayed. This is automatically
3578
+ * calculated from a loaded file, or can be explicitly set.
3579
+ *
3580
+ * Used as a hint when displaying a title for the data, but may be
3581
+ * overridden by the parsed data.
3582
+ */
3583
+ displayName: string | null
3552
3584
  /**
3553
3585
  * The parser used to parse loaded data into viewable items.
3554
3586
  */
@@ -3568,7 +3600,7 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3568
3600
  * overridden by the parsed data.
3569
3601
  * @returns the display name
3570
3602
  */
3571
- get_display_name(): string | null
3603
+ get_display_name(): string
3572
3604
  /**
3573
3605
  * Get the parser used to parse loaded data into viewable items.
3574
3606
  * @returns the parser
@@ -3612,14 +3644,14 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3612
3644
  * overridden by the parsed data.
3613
3645
  * @param display_name the display name
3614
3646
  */
3615
- set_display_name(display_name: string | null): void
3647
+ set_display_name(display_name: string): void
3616
3648
  /**
3617
3649
  * Show an error on the viewer widget. This is displayed on a info bar near
3618
3650
  * the edge of the widget.
3619
3651
  * @param message descriptive error message
3620
3652
  * @param error detailed error
3621
3653
  */
3622
- show_error(message: string | null, error: GLib.Error | null): void
3654
+ show_error(message: string, error: GLib.Error | null): void
3623
3655
 
3624
3656
  // Conflicting methods
3625
3657
 
@@ -3634,7 +3666,7 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3634
3666
  * @param child the child widget
3635
3667
  * @param child_property the name of a child property installed on the class of `container`
3636
3668
  */
3637
- child_notify(child: Gtk.Widget, child_property: string | null): void
3669
+ child_notify(child: Gtk.Widget, child_property: string): void
3638
3670
 
3639
3671
  // Overloads of child_notify
3640
3672
 
@@ -3648,7 +3680,7 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3648
3680
  * Also see gtk_container_child_notify().
3649
3681
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3650
3682
  */
3651
- child_notify(child_property: string | null): void
3683
+ child_notify(child_property: string): void
3652
3684
  /**
3653
3685
  * Emits a #GtkWidget::child-notify signal for the
3654
3686
  * [child property][child-properties] `child_property`
@@ -3659,7 +3691,7 @@ interface ViewerWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientab
3659
3691
  * Also see gtk_container_child_notify().
3660
3692
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3661
3693
  */
3662
- child_notify(child_property: string | null): void
3694
+ child_notify(child_property: string): void
3663
3695
 
3664
3696
  // Own signals of GcrUi-3.GcrUi.ViewerWidget
3665
3697
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gcrui-3",
3
- "version": "3.0.0-3.2.5",
3
+ "version": "3.0.0-3.2.7",
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",
@@ -25,22 +25,22 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gcrui-3.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.5",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.5",
30
- "@girs/freetype2-2.0": "^2.0.0-3.2.5",
31
- "@girs/gck-1": "^1.0.0-3.2.5",
32
- "@girs/gcr-3": "^3.41.0-3.2.5",
33
- "@girs/gdk-3.0": "^3.24.38-3.2.5",
34
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.5",
35
- "@girs/gio-2.0": "^2.78.0-3.2.5",
36
- "@girs/gjs": "^3.2.5",
37
- "@girs/glib-2.0": "^2.78.0-3.2.5",
38
- "@girs/gmodule-2.0": "^2.0.0-3.2.5",
39
- "@girs/gobject-2.0": "^2.78.0-3.2.5",
40
- "@girs/gtk-3.0": "^3.24.38-3.2.5",
41
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.5",
42
- "@girs/pango-1.0": "^1.51.0-3.2.5",
43
- "@girs/xlib-2.0": "^2.0.0-3.2.5"
28
+ "@girs/atk-1.0": "^2.50.0-3.2.7",
29
+ "@girs/cairo-1.0": "^1.0.0-3.2.7",
30
+ "@girs/freetype2-2.0": "^2.0.0-3.2.7",
31
+ "@girs/gck-1": "^1.0.0-3.2.7",
32
+ "@girs/gcr-3": "^3.41.0-3.2.7",
33
+ "@girs/gdk-3.0": "^3.24.38-3.2.7",
34
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
35
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
36
+ "@girs/gjs": "^3.2.7",
37
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
38
+ "@girs/gmodule-2.0": "^2.0.0-3.2.7",
39
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
40
+ "@girs/gtk-3.0": "^3.24.38-3.2.7",
41
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
42
+ "@girs/pango-1.0": "^1.51.0-3.2.7",
43
+ "@girs/xlib-2.0": "^2.0.0-3.2.7"
44
44
  },
45
45
  "devDependencies": {
46
46
  "typescript": "*"