@girs/nma-1.0 1.10.7-3.2.6 → 1.10.7-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 +1 -1
- package/nma-1.0-ambient.js +2 -0
- package/nma-1.0-import.js +3 -0
- package/nma-1.0.d.cts +57 -61
- package/nma-1.0.d.ts +57 -61
- package/package.json +25 -19
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for NMA-1.0, generated from library version 1.10.7 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for NMA-1.0, generated from library version 1.10.7 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/nma-1.0.d.cts
CHANGED
|
@@ -68,9 +68,9 @@ export enum MobileFamily {
|
|
|
68
68
|
*/
|
|
69
69
|
CDMA,
|
|
70
70
|
}
|
|
71
|
-
export const BAR_CODE_SIZE: string
|
|
72
|
-
export const BAR_CODE_TEXT: string
|
|
73
|
-
export const BAR_CODE_WIDGET_CONNECTION: string
|
|
71
|
+
export const BAR_CODE_SIZE: string
|
|
72
|
+
export const BAR_CODE_TEXT: string
|
|
73
|
+
export const BAR_CODE_WIDGET_CONNECTION: string
|
|
74
74
|
/**
|
|
75
75
|
* Evaluates to the major version number of NetworkManager which this source
|
|
76
76
|
* is compiled against.
|
|
@@ -91,7 +91,7 @@ export const MINOR_VERSION: number
|
|
|
91
91
|
* @param mccmnc input MCCMNC string.
|
|
92
92
|
* @returns %TRUE if correctly split and @mcc and @mnc are set; %FALSE otherwise.
|
|
93
93
|
*/
|
|
94
|
-
export function mobile_providers_split_3gpp_mcc_mnc(mccmnc: string
|
|
94
|
+
export function mobile_providers_split_3gpp_mcc_mnc(mccmnc: string): [ /* returnType */ boolean, /* mcc */ string | null, /* mnc */ string | null ]
|
|
95
95
|
/**
|
|
96
96
|
* Returns secret flags corresponding to the selected password storage menu
|
|
97
97
|
* in the attached icon
|
|
@@ -112,7 +112,7 @@ export function utils_menu_to_secret_flags(passwd_entry: Gtk.Widget): NM.Setting
|
|
|
112
112
|
* @param with_not_required whether to include "Not required" menu item
|
|
113
113
|
* @param ask_mode %TRUE if the entry is shown in ASK mode. That means, while prompting for a password, contrary to being inside the editor mode. If %TRUE, the entry should be sensivive on selected "always-ask" icon (this is e.f. for nm-applet asking for password), otherwise not. If %FALSE, it shall not be possible to select a different storage, because we only prompt for a password, we cannot change the password location.
|
|
114
114
|
*/
|
|
115
|
-
export function utils_setup_password_storage(passwd_entry: Gtk.Widget, initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
115
|
+
export function utils_setup_password_storage(passwd_entry: Gtk.Widget, initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string, with_not_required: boolean, ask_mode: boolean): void
|
|
116
116
|
/**
|
|
117
117
|
* Updates secret flags in the password storage popup menu and also
|
|
118
118
|
* in the `setting` (if `setting` and `password_flags_name` are not NULL).
|
|
@@ -121,7 +121,7 @@ export function utils_setup_password_storage(passwd_entry: Gtk.Widget, initial_f
|
|
|
121
121
|
* @param setting #NMSetting containing the password, or NULL
|
|
122
122
|
* @param password_flags_name name of the secret flags (like psk-flags), or NULL
|
|
123
123
|
*/
|
|
124
|
-
export function utils_update_password_storage(passwd_entry: Gtk.Widget, secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
124
|
+
export function utils_update_password_storage(passwd_entry: Gtk.Widget, secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string): void
|
|
125
125
|
export interface MobileWizardCallback {
|
|
126
126
|
(self: MobileWizard, canceled: boolean, method: MobileWizardAccessMethod): void
|
|
127
127
|
}
|
|
@@ -157,7 +157,7 @@ export interface BarCode {
|
|
|
157
157
|
* Regenerates the QR code for a different text.
|
|
158
158
|
* @param text new bar code text
|
|
159
159
|
*/
|
|
160
|
-
set_text(text: string
|
|
160
|
+
set_text(text: string): void
|
|
161
161
|
|
|
162
162
|
// Class property signals of NMA-1.0.NMA.BarCode
|
|
163
163
|
|
|
@@ -183,8 +183,8 @@ export class BarCode extends GObject.Object {
|
|
|
183
183
|
// Constructors of NMA-1.0.NMA.BarCode
|
|
184
184
|
|
|
185
185
|
constructor(config?: BarCode.ConstructorProperties)
|
|
186
|
-
constructor(text: string
|
|
187
|
-
static new(text: string
|
|
186
|
+
constructor(text: string)
|
|
187
|
+
static new(text: string): BarCode
|
|
188
188
|
_init(config?: BarCode.ConstructorProperties): void
|
|
189
189
|
}
|
|
190
190
|
|
|
@@ -220,7 +220,7 @@ export interface BarCodeWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.
|
|
|
220
220
|
* @param child the child widget
|
|
221
221
|
* @param child_property the name of a child property installed on the class of `container`
|
|
222
222
|
*/
|
|
223
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
223
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
224
224
|
|
|
225
225
|
// Overloads of child_notify
|
|
226
226
|
|
|
@@ -234,7 +234,7 @@ export interface BarCodeWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.
|
|
|
234
234
|
* Also see gtk_container_child_notify().
|
|
235
235
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
236
236
|
*/
|
|
237
|
-
child_notify(child_property: string
|
|
237
|
+
child_notify(child_property: string): void
|
|
238
238
|
/**
|
|
239
239
|
* Emits a #GtkWidget::child-notify signal for the
|
|
240
240
|
* [child property][child-properties] `child_property`
|
|
@@ -245,7 +245,7 @@ export interface BarCodeWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.
|
|
|
245
245
|
* Also see gtk_container_child_notify().
|
|
246
246
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
247
247
|
*/
|
|
248
|
-
child_notify(child_property: string
|
|
248
|
+
child_notify(child_property: string): void
|
|
249
249
|
|
|
250
250
|
// Class property signals of NMA-1.0.NMA.BarCodeWidget
|
|
251
251
|
|
|
@@ -488,7 +488,7 @@ export interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Or
|
|
|
488
488
|
* Obtains the password or a PIN that was be required to access the certificate.
|
|
489
489
|
* @returns the certificate PIN or password
|
|
490
490
|
*/
|
|
491
|
-
get_cert_password(): string
|
|
491
|
+
get_cert_password(): string
|
|
492
492
|
/**
|
|
493
493
|
* Returns secret flags corresponding to the certificate password
|
|
494
494
|
* if one is present. The chooser would typically call into
|
|
@@ -511,7 +511,7 @@ export interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Or
|
|
|
511
511
|
* Obtains the password or a PIN that was be required to access the key.
|
|
512
512
|
* @returns the key PIN or password
|
|
513
513
|
*/
|
|
514
|
-
get_key_password(): string
|
|
514
|
+
get_key_password(): string
|
|
515
515
|
/**
|
|
516
516
|
* Returns secret flags corresponding to the key password
|
|
517
517
|
* if one is present. The chooser would typically call into
|
|
@@ -530,33 +530,33 @@ export interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Or
|
|
|
530
530
|
* @param value the path or URI of a certificate
|
|
531
531
|
* @param scheme the scheme of the certificate path
|
|
532
532
|
*/
|
|
533
|
-
set_cert(value: string
|
|
533
|
+
set_cert(value: string, scheme: NM.Setting8021xCKScheme): void
|
|
534
534
|
/**
|
|
535
535
|
* Sets the password or a PIN that might be required to access the certificate.
|
|
536
536
|
* @param password the certificate PIN or password
|
|
537
537
|
*/
|
|
538
|
-
set_cert_password(password: string
|
|
538
|
+
set_cert_password(password: string): void
|
|
539
539
|
/**
|
|
540
540
|
* Sets the certificate URI for the chooser button.
|
|
541
541
|
* @param uri the path or URI of a certificate
|
|
542
542
|
*/
|
|
543
|
-
set_cert_uri(uri: string
|
|
543
|
+
set_cert_uri(uri: string): void
|
|
544
544
|
/**
|
|
545
545
|
* Sets the key location for the chooser button.
|
|
546
546
|
* @param value the path or URI of a key
|
|
547
547
|
* @param scheme the scheme of the key path
|
|
548
548
|
*/
|
|
549
|
-
set_key(value: string
|
|
549
|
+
set_key(value: string, scheme: NM.Setting8021xCKScheme): void
|
|
550
550
|
/**
|
|
551
551
|
* Sets the password or a PIN that might be required to access the key.
|
|
552
552
|
* @param password the key PIN or password
|
|
553
553
|
*/
|
|
554
|
-
set_key_password(password: string
|
|
554
|
+
set_key_password(password: string): void
|
|
555
555
|
/**
|
|
556
556
|
* Sets the key URI for the chooser button.
|
|
557
557
|
* @param uri the URI of a key
|
|
558
558
|
*/
|
|
559
|
-
set_key_uri(uri: string
|
|
559
|
+
set_key_uri(uri: string): void
|
|
560
560
|
/**
|
|
561
561
|
* This method basically calls nma_utils_setup_password_storage()
|
|
562
562
|
* on the certificate password entry, in case one is present.
|
|
@@ -566,7 +566,7 @@ export interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Or
|
|
|
566
566
|
* @param with_not_required whether to include "Not required" menu item
|
|
567
567
|
* @param ask_mode %TRUE if the entry is shown in ASK mode
|
|
568
568
|
*/
|
|
569
|
-
setup_cert_password_storage(initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
569
|
+
setup_cert_password_storage(initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string, with_not_required: boolean, ask_mode: boolean): void
|
|
570
570
|
/**
|
|
571
571
|
* This method basically calls nma_utils_setup_password_storage()
|
|
572
572
|
* on the key password entry, in case one is present.
|
|
@@ -576,7 +576,7 @@ export interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Or
|
|
|
576
576
|
* @param with_not_required whether to include "Not required" menu item
|
|
577
577
|
* @param ask_mode %TRUE if the entry is shown in ASK mode
|
|
578
578
|
*/
|
|
579
|
-
setup_key_password_storage(initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
579
|
+
setup_key_password_storage(initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string, with_not_required: boolean, ask_mode: boolean): void
|
|
580
580
|
/**
|
|
581
581
|
* This method basically calls nma_utils_update_password_storage()
|
|
582
582
|
* on the certificate password entry, in case one is present.
|
|
@@ -584,7 +584,7 @@ export interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Or
|
|
|
584
584
|
* @param setting #NMSetting containing the password, or NULL
|
|
585
585
|
* @param password_flags_name name of the secret flags (like psk-flags), or NULL
|
|
586
586
|
*/
|
|
587
|
-
update_cert_password_storage(secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
587
|
+
update_cert_password_storage(secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string): void
|
|
588
588
|
/**
|
|
589
589
|
* This method basically calls nma_utils_update_password_storage()
|
|
590
590
|
* on the key password entry, in case one is present.
|
|
@@ -592,7 +592,7 @@ export interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Or
|
|
|
592
592
|
* @param setting #NMSetting containing the password, or NULL
|
|
593
593
|
* @param password_flags_name name of the secret flags (like psk-flags), or NULL
|
|
594
594
|
*/
|
|
595
|
-
update_key_password_storage(secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
595
|
+
update_key_password_storage(secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string): void
|
|
596
596
|
/**
|
|
597
597
|
* Validates whether the chosen values make sense. The users can do further
|
|
598
598
|
* validation by subscribing to the "*-changed" signals and returning an
|
|
@@ -614,7 +614,7 @@ export interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Or
|
|
|
614
614
|
* @param child the child widget
|
|
615
615
|
* @param child_property the name of a child property installed on the class of `container`
|
|
616
616
|
*/
|
|
617
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
617
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
618
618
|
|
|
619
619
|
// Overloads of child_notify
|
|
620
620
|
|
|
@@ -628,7 +628,7 @@ export interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Or
|
|
|
628
628
|
* Also see gtk_container_child_notify().
|
|
629
629
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
630
630
|
*/
|
|
631
|
-
child_notify(child_property: string
|
|
631
|
+
child_notify(child_property: string): void
|
|
632
632
|
/**
|
|
633
633
|
* Emits a #GtkWidget::child-notify signal for the
|
|
634
634
|
* [child property][child-properties] `child_property`
|
|
@@ -639,7 +639,7 @@ export interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Or
|
|
|
639
639
|
* Also see gtk_container_child_notify().
|
|
640
640
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
641
641
|
*/
|
|
642
|
-
child_notify(child_property: string
|
|
642
|
+
child_notify(child_property: string): void
|
|
643
643
|
|
|
644
644
|
// Own signals of NMA-1.0.NMA.CertChooser
|
|
645
645
|
|
|
@@ -835,7 +835,7 @@ export class CertChooser extends Gtk.Grid {
|
|
|
835
835
|
* @param flags the flags that configure the capabilities of the button
|
|
836
836
|
* @returns the certificate chooser button instance
|
|
837
837
|
*/
|
|
838
|
-
constructor(title: string
|
|
838
|
+
constructor(title: string, flags: CertChooserFlags)
|
|
839
839
|
/**
|
|
840
840
|
* Constructs the button that is capable of selecting a certificate
|
|
841
841
|
* and a key.
|
|
@@ -844,7 +844,7 @@ export class CertChooser extends Gtk.Grid {
|
|
|
844
844
|
* @param flags the flags that configure the capabilities of the button
|
|
845
845
|
* @returns the certificate chooser button instance
|
|
846
846
|
*/
|
|
847
|
-
static new(title: string
|
|
847
|
+
static new(title: string, flags: CertChooserFlags): CertChooser
|
|
848
848
|
|
|
849
849
|
// Overloads of new
|
|
850
850
|
|
|
@@ -865,8 +865,6 @@ export module MobileProvidersDatabase {
|
|
|
865
865
|
|
|
866
866
|
// Own constructor properties of NMA-1.0.NMA.MobileProvidersDatabase
|
|
867
867
|
|
|
868
|
-
country_codes?: string | null
|
|
869
|
-
service_providers?: string | null
|
|
870
868
|
countryCodes?: string | null
|
|
871
869
|
serviceProviders?: string | null
|
|
872
870
|
}
|
|
@@ -877,9 +875,7 @@ export interface MobileProvidersDatabase extends Gio.AsyncInitable, Gio.Initable
|
|
|
877
875
|
|
|
878
876
|
// Own properties of NMA-1.0.NMA.MobileProvidersDatabase
|
|
879
877
|
|
|
880
|
-
readonly country_codes: string | null
|
|
881
878
|
readonly countryCodes: string | null
|
|
882
|
-
readonly service_providers: string | null
|
|
883
879
|
readonly serviceProviders: string | null
|
|
884
880
|
|
|
885
881
|
// Own fields of NMA-1.0.NMA.MobileProvidersDatabase
|
|
@@ -891,9 +887,9 @@ export interface MobileProvidersDatabase extends Gio.AsyncInitable, Gio.Initable
|
|
|
891
887
|
|
|
892
888
|
dump(): void
|
|
893
889
|
get_countries(): GLib.HashTable
|
|
894
|
-
lookup_3gpp_mcc_mnc(mccmnc: string
|
|
890
|
+
lookup_3gpp_mcc_mnc(mccmnc: string): MobileProvider
|
|
895
891
|
lookup_cdma_sid(sid: number): MobileProvider
|
|
896
|
-
lookup_country(country_code: string
|
|
892
|
+
lookup_country(country_code: string): CountryInfo
|
|
897
893
|
|
|
898
894
|
// Class property signals of NMA-1.0.NMA.MobileProvidersDatabase
|
|
899
895
|
|
|
@@ -986,16 +982,16 @@ export interface VpnPasswordDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
986
982
|
focus_password(): void
|
|
987
983
|
focus_password_secondary(): void
|
|
988
984
|
focus_password_ternary(): void
|
|
989
|
-
get_password(): string
|
|
990
|
-
get_password_secondary(): string
|
|
991
|
-
get_password_ternary(): string
|
|
985
|
+
get_password(): string
|
|
986
|
+
get_password_secondary(): string
|
|
987
|
+
get_password_ternary(): string
|
|
992
988
|
run_and_block(): boolean
|
|
993
|
-
set_password(password: string
|
|
994
|
-
set_password_label(label: string
|
|
995
|
-
set_password_secondary(password_secondary: string
|
|
996
|
-
set_password_secondary_label(label: string
|
|
997
|
-
set_password_ternary(password_ternary: string
|
|
998
|
-
set_password_ternary_label(label: string
|
|
989
|
+
set_password(password: string): void
|
|
990
|
+
set_password_label(label: string): void
|
|
991
|
+
set_password_secondary(password_secondary: string): void
|
|
992
|
+
set_password_secondary_label(label: string): void
|
|
993
|
+
set_password_ternary(password_ternary: string): void
|
|
994
|
+
set_password_ternary_label(label: string): void
|
|
999
995
|
set_show_password(show: boolean): void
|
|
1000
996
|
set_show_password_secondary(show: boolean): void
|
|
1001
997
|
set_show_password_ternary(show: boolean): void
|
|
@@ -1035,7 +1031,7 @@ export interface VpnPasswordDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1035
1031
|
* @param child the child widget
|
|
1036
1032
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1037
1033
|
*/
|
|
1038
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1034
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1039
1035
|
|
|
1040
1036
|
// Overloads of child_notify
|
|
1041
1037
|
|
|
@@ -1049,7 +1045,7 @@ export interface VpnPasswordDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1049
1045
|
* Also see gtk_container_child_notify().
|
|
1050
1046
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1051
1047
|
*/
|
|
1052
|
-
child_notify(child_property: string
|
|
1048
|
+
child_notify(child_property: string): void
|
|
1053
1049
|
/**
|
|
1054
1050
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1055
1051
|
* [child property][child-properties] `child_property`
|
|
@@ -1060,7 +1056,7 @@ export interface VpnPasswordDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1060
1056
|
* Also see gtk_container_child_notify().
|
|
1061
1057
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1062
1058
|
*/
|
|
1063
|
-
child_notify(child_property: string
|
|
1059
|
+
child_notify(child_property: string): void
|
|
1064
1060
|
|
|
1065
1061
|
// Class property signals of NMA-1.0.NMA.VpnPasswordDialog
|
|
1066
1062
|
|
|
@@ -1308,8 +1304,8 @@ export class VpnPasswordDialog extends Gtk.Dialog {
|
|
|
1308
1304
|
// Constructors of NMA-1.0.NMA.VpnPasswordDialog
|
|
1309
1305
|
|
|
1310
1306
|
constructor(config?: VpnPasswordDialog.ConstructorProperties)
|
|
1311
|
-
constructor(title: string
|
|
1312
|
-
static new(title: string
|
|
1307
|
+
constructor(title: string, message: string, password: string)
|
|
1308
|
+
static new(title: string, message: string, password: string): VpnPasswordDialog
|
|
1313
1309
|
|
|
1314
1310
|
// Overloads of new
|
|
1315
1311
|
|
|
@@ -1412,7 +1408,7 @@ export interface WifiDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1412
1408
|
* @param child the child widget
|
|
1413
1409
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1414
1410
|
*/
|
|
1415
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1411
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1416
1412
|
|
|
1417
1413
|
// Overloads of child_notify
|
|
1418
1414
|
|
|
@@ -1426,7 +1422,7 @@ export interface WifiDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1426
1422
|
* Also see gtk_container_child_notify().
|
|
1427
1423
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1428
1424
|
*/
|
|
1429
|
-
child_notify(child_property: string
|
|
1425
|
+
child_notify(child_property: string): void
|
|
1430
1426
|
/**
|
|
1431
1427
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1432
1428
|
* [child property][child-properties] `child_property`
|
|
@@ -1437,7 +1433,7 @@ export interface WifiDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1437
1433
|
* Also see gtk_container_child_notify().
|
|
1438
1434
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1439
1435
|
*/
|
|
1440
|
-
child_notify(child_property: string
|
|
1436
|
+
child_notify(child_property: string): void
|
|
1441
1437
|
|
|
1442
1438
|
// Class property signals of NMA-1.0.NMA.WifiDialog
|
|
1443
1439
|
|
|
@@ -1778,7 +1774,7 @@ export class WifiDialog extends Gtk.Dialog {
|
|
|
1778
1774
|
* @param secrets_hints array of setting key names within the setting given in `secrets_setting_name` which are requested or %NULL
|
|
1779
1775
|
* @returns the dialog widget or %NULL in case of error
|
|
1780
1776
|
*/
|
|
1781
|
-
static new_for_secrets(client: NM.Client, connection: NM.Connection, secrets_setting_name: string
|
|
1777
|
+
static new_for_secrets(client: NM.Client, connection: NM.Connection, secrets_setting_name: string, secrets_hints: string): WifiDialog
|
|
1782
1778
|
_init(config?: WifiDialog.ConstructorProperties): void
|
|
1783
1779
|
}
|
|
1784
1780
|
|
|
@@ -1816,8 +1812,8 @@ export interface CountryInfo {
|
|
|
1816
1812
|
|
|
1817
1813
|
// Owm methods of NMA-1.0.NMA.CountryInfo
|
|
1818
1814
|
|
|
1819
|
-
get_country_code(): string
|
|
1820
|
-
get_country_name(): string
|
|
1815
|
+
get_country_code(): string
|
|
1816
|
+
get_country_name(): string
|
|
1821
1817
|
get_providers(): MobileProvider[]
|
|
1822
1818
|
ref(): CountryInfo
|
|
1823
1819
|
unref(): void
|
|
@@ -1834,13 +1830,13 @@ export interface MobileAccessMethod {
|
|
|
1834
1830
|
|
|
1835
1831
|
// Owm methods of NMA-1.0.NMA.MobileAccessMethod
|
|
1836
1832
|
|
|
1837
|
-
get_3gpp_apn(): string
|
|
1833
|
+
get_3gpp_apn(): string
|
|
1838
1834
|
get_dns(): string[]
|
|
1839
1835
|
get_family(): MobileFamily
|
|
1840
|
-
get_gateway(): string
|
|
1841
|
-
get_name(): string
|
|
1842
|
-
get_password(): string
|
|
1843
|
-
get_username(): string
|
|
1836
|
+
get_gateway(): string
|
|
1837
|
+
get_name(): string
|
|
1838
|
+
get_password(): string
|
|
1839
|
+
get_username(): string
|
|
1844
1840
|
ref(): MobileAccessMethod
|
|
1845
1841
|
unref(): void
|
|
1846
1842
|
}
|
|
@@ -1859,7 +1855,7 @@ export interface MobileProvider {
|
|
|
1859
1855
|
get_3gpp_mcc_mnc(): string[]
|
|
1860
1856
|
get_cdma_sid(): number[]
|
|
1861
1857
|
get_methods(): MobileAccessMethod[]
|
|
1862
|
-
get_name(): string
|
|
1858
|
+
get_name(): string
|
|
1863
1859
|
ref(): MobileProvider
|
|
1864
1860
|
unref(): void
|
|
1865
1861
|
}
|
package/nma-1.0.d.ts
CHANGED
|
@@ -70,9 +70,9 @@ enum MobileFamily {
|
|
|
70
70
|
*/
|
|
71
71
|
CDMA,
|
|
72
72
|
}
|
|
73
|
-
const BAR_CODE_SIZE: string
|
|
74
|
-
const BAR_CODE_TEXT: string
|
|
75
|
-
const BAR_CODE_WIDGET_CONNECTION: string
|
|
73
|
+
const BAR_CODE_SIZE: string
|
|
74
|
+
const BAR_CODE_TEXT: string
|
|
75
|
+
const BAR_CODE_WIDGET_CONNECTION: string
|
|
76
76
|
/**
|
|
77
77
|
* Evaluates to the major version number of NetworkManager which this source
|
|
78
78
|
* is compiled against.
|
|
@@ -93,7 +93,7 @@ const MINOR_VERSION: number
|
|
|
93
93
|
* @param mccmnc input MCCMNC string.
|
|
94
94
|
* @returns %TRUE if correctly split and @mcc and @mnc are set; %FALSE otherwise.
|
|
95
95
|
*/
|
|
96
|
-
function mobile_providers_split_3gpp_mcc_mnc(mccmnc: string
|
|
96
|
+
function mobile_providers_split_3gpp_mcc_mnc(mccmnc: string): [ /* returnType */ boolean, /* mcc */ string | null, /* mnc */ string | null ]
|
|
97
97
|
/**
|
|
98
98
|
* Returns secret flags corresponding to the selected password storage menu
|
|
99
99
|
* in the attached icon
|
|
@@ -114,7 +114,7 @@ function utils_menu_to_secret_flags(passwd_entry: Gtk.Widget): NM.SettingSecretF
|
|
|
114
114
|
* @param with_not_required whether to include "Not required" menu item
|
|
115
115
|
* @param ask_mode %TRUE if the entry is shown in ASK mode. That means, while prompting for a password, contrary to being inside the editor mode. If %TRUE, the entry should be sensivive on selected "always-ask" icon (this is e.f. for nm-applet asking for password), otherwise not. If %FALSE, it shall not be possible to select a different storage, because we only prompt for a password, we cannot change the password location.
|
|
116
116
|
*/
|
|
117
|
-
function utils_setup_password_storage(passwd_entry: Gtk.Widget, initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
117
|
+
function utils_setup_password_storage(passwd_entry: Gtk.Widget, initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string, with_not_required: boolean, ask_mode: boolean): void
|
|
118
118
|
/**
|
|
119
119
|
* Updates secret flags in the password storage popup menu and also
|
|
120
120
|
* in the `setting` (if `setting` and `password_flags_name` are not NULL).
|
|
@@ -123,7 +123,7 @@ function utils_setup_password_storage(passwd_entry: Gtk.Widget, initial_flags: N
|
|
|
123
123
|
* @param setting #NMSetting containing the password, or NULL
|
|
124
124
|
* @param password_flags_name name of the secret flags (like psk-flags), or NULL
|
|
125
125
|
*/
|
|
126
|
-
function utils_update_password_storage(passwd_entry: Gtk.Widget, secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
126
|
+
function utils_update_password_storage(passwd_entry: Gtk.Widget, secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string): void
|
|
127
127
|
interface MobileWizardCallback {
|
|
128
128
|
(self: MobileWizard, canceled: boolean, method: MobileWizardAccessMethod): void
|
|
129
129
|
}
|
|
@@ -159,7 +159,7 @@ interface BarCode {
|
|
|
159
159
|
* Regenerates the QR code for a different text.
|
|
160
160
|
* @param text new bar code text
|
|
161
161
|
*/
|
|
162
|
-
set_text(text: string
|
|
162
|
+
set_text(text: string): void
|
|
163
163
|
|
|
164
164
|
// Class property signals of NMA-1.0.NMA.BarCode
|
|
165
165
|
|
|
@@ -185,8 +185,8 @@ class BarCode extends GObject.Object {
|
|
|
185
185
|
// Constructors of NMA-1.0.NMA.BarCode
|
|
186
186
|
|
|
187
187
|
constructor(config?: BarCode.ConstructorProperties)
|
|
188
|
-
constructor(text: string
|
|
189
|
-
static new(text: string
|
|
188
|
+
constructor(text: string)
|
|
189
|
+
static new(text: string): BarCode
|
|
190
190
|
_init(config?: BarCode.ConstructorProperties): void
|
|
191
191
|
}
|
|
192
192
|
|
|
@@ -222,7 +222,7 @@ interface BarCodeWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
|
|
|
222
222
|
* @param child the child widget
|
|
223
223
|
* @param child_property the name of a child property installed on the class of `container`
|
|
224
224
|
*/
|
|
225
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
225
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
226
226
|
|
|
227
227
|
// Overloads of child_notify
|
|
228
228
|
|
|
@@ -236,7 +236,7 @@ interface BarCodeWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
|
|
|
236
236
|
* Also see gtk_container_child_notify().
|
|
237
237
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
238
238
|
*/
|
|
239
|
-
child_notify(child_property: string
|
|
239
|
+
child_notify(child_property: string): void
|
|
240
240
|
/**
|
|
241
241
|
* Emits a #GtkWidget::child-notify signal for the
|
|
242
242
|
* [child property][child-properties] `child_property`
|
|
@@ -247,7 +247,7 @@ interface BarCodeWidget extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orienta
|
|
|
247
247
|
* Also see gtk_container_child_notify().
|
|
248
248
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
249
249
|
*/
|
|
250
|
-
child_notify(child_property: string
|
|
250
|
+
child_notify(child_property: string): void
|
|
251
251
|
|
|
252
252
|
// Class property signals of NMA-1.0.NMA.BarCodeWidget
|
|
253
253
|
|
|
@@ -490,7 +490,7 @@ interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
|
|
|
490
490
|
* Obtains the password or a PIN that was be required to access the certificate.
|
|
491
491
|
* @returns the certificate PIN or password
|
|
492
492
|
*/
|
|
493
|
-
get_cert_password(): string
|
|
493
|
+
get_cert_password(): string
|
|
494
494
|
/**
|
|
495
495
|
* Returns secret flags corresponding to the certificate password
|
|
496
496
|
* if one is present. The chooser would typically call into
|
|
@@ -513,7 +513,7 @@ interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
|
|
|
513
513
|
* Obtains the password or a PIN that was be required to access the key.
|
|
514
514
|
* @returns the key PIN or password
|
|
515
515
|
*/
|
|
516
|
-
get_key_password(): string
|
|
516
|
+
get_key_password(): string
|
|
517
517
|
/**
|
|
518
518
|
* Returns secret flags corresponding to the key password
|
|
519
519
|
* if one is present. The chooser would typically call into
|
|
@@ -532,33 +532,33 @@ interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
|
|
|
532
532
|
* @param value the path or URI of a certificate
|
|
533
533
|
* @param scheme the scheme of the certificate path
|
|
534
534
|
*/
|
|
535
|
-
set_cert(value: string
|
|
535
|
+
set_cert(value: string, scheme: NM.Setting8021xCKScheme): void
|
|
536
536
|
/**
|
|
537
537
|
* Sets the password or a PIN that might be required to access the certificate.
|
|
538
538
|
* @param password the certificate PIN or password
|
|
539
539
|
*/
|
|
540
|
-
set_cert_password(password: string
|
|
540
|
+
set_cert_password(password: string): void
|
|
541
541
|
/**
|
|
542
542
|
* Sets the certificate URI for the chooser button.
|
|
543
543
|
* @param uri the path or URI of a certificate
|
|
544
544
|
*/
|
|
545
|
-
set_cert_uri(uri: string
|
|
545
|
+
set_cert_uri(uri: string): void
|
|
546
546
|
/**
|
|
547
547
|
* Sets the key location for the chooser button.
|
|
548
548
|
* @param value the path or URI of a key
|
|
549
549
|
* @param scheme the scheme of the key path
|
|
550
550
|
*/
|
|
551
|
-
set_key(value: string
|
|
551
|
+
set_key(value: string, scheme: NM.Setting8021xCKScheme): void
|
|
552
552
|
/**
|
|
553
553
|
* Sets the password or a PIN that might be required to access the key.
|
|
554
554
|
* @param password the key PIN or password
|
|
555
555
|
*/
|
|
556
|
-
set_key_password(password: string
|
|
556
|
+
set_key_password(password: string): void
|
|
557
557
|
/**
|
|
558
558
|
* Sets the key URI for the chooser button.
|
|
559
559
|
* @param uri the URI of a key
|
|
560
560
|
*/
|
|
561
|
-
set_key_uri(uri: string
|
|
561
|
+
set_key_uri(uri: string): void
|
|
562
562
|
/**
|
|
563
563
|
* This method basically calls nma_utils_setup_password_storage()
|
|
564
564
|
* on the certificate password entry, in case one is present.
|
|
@@ -568,7 +568,7 @@ interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
|
|
|
568
568
|
* @param with_not_required whether to include "Not required" menu item
|
|
569
569
|
* @param ask_mode %TRUE if the entry is shown in ASK mode
|
|
570
570
|
*/
|
|
571
|
-
setup_cert_password_storage(initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
571
|
+
setup_cert_password_storage(initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string, with_not_required: boolean, ask_mode: boolean): void
|
|
572
572
|
/**
|
|
573
573
|
* This method basically calls nma_utils_setup_password_storage()
|
|
574
574
|
* on the key password entry, in case one is present.
|
|
@@ -578,7 +578,7 @@ interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
|
|
|
578
578
|
* @param with_not_required whether to include "Not required" menu item
|
|
579
579
|
* @param ask_mode %TRUE if the entry is shown in ASK mode
|
|
580
580
|
*/
|
|
581
|
-
setup_key_password_storage(initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
581
|
+
setup_key_password_storage(initial_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string, with_not_required: boolean, ask_mode: boolean): void
|
|
582
582
|
/**
|
|
583
583
|
* This method basically calls nma_utils_update_password_storage()
|
|
584
584
|
* on the certificate password entry, in case one is present.
|
|
@@ -586,7 +586,7 @@ interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
|
|
|
586
586
|
* @param setting #NMSetting containing the password, or NULL
|
|
587
587
|
* @param password_flags_name name of the secret flags (like psk-flags), or NULL
|
|
588
588
|
*/
|
|
589
|
-
update_cert_password_storage(secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
589
|
+
update_cert_password_storage(secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string): void
|
|
590
590
|
/**
|
|
591
591
|
* This method basically calls nma_utils_update_password_storage()
|
|
592
592
|
* on the key password entry, in case one is present.
|
|
@@ -594,7 +594,7 @@ interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
|
|
|
594
594
|
* @param setting #NMSetting containing the password, or NULL
|
|
595
595
|
* @param password_flags_name name of the secret flags (like psk-flags), or NULL
|
|
596
596
|
*/
|
|
597
|
-
update_key_password_storage(secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string
|
|
597
|
+
update_key_password_storage(secret_flags: NM.SettingSecretFlags, setting: NM.Setting, password_flags_name: string): void
|
|
598
598
|
/**
|
|
599
599
|
* Validates whether the chosen values make sense. The users can do further
|
|
600
600
|
* validation by subscribing to the "*-changed" signals and returning an
|
|
@@ -616,7 +616,7 @@ interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
|
|
|
616
616
|
* @param child the child widget
|
|
617
617
|
* @param child_property the name of a child property installed on the class of `container`
|
|
618
618
|
*/
|
|
619
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
619
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
620
620
|
|
|
621
621
|
// Overloads of child_notify
|
|
622
622
|
|
|
@@ -630,7 +630,7 @@ interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
|
|
|
630
630
|
* Also see gtk_container_child_notify().
|
|
631
631
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
632
632
|
*/
|
|
633
|
-
child_notify(child_property: string
|
|
633
|
+
child_notify(child_property: string): void
|
|
634
634
|
/**
|
|
635
635
|
* Emits a #GtkWidget::child-notify signal for the
|
|
636
636
|
* [child property][child-properties] `child_property`
|
|
@@ -641,7 +641,7 @@ interface CertChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientabl
|
|
|
641
641
|
* Also see gtk_container_child_notify().
|
|
642
642
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
643
643
|
*/
|
|
644
|
-
child_notify(child_property: string
|
|
644
|
+
child_notify(child_property: string): void
|
|
645
645
|
|
|
646
646
|
// Own signals of NMA-1.0.NMA.CertChooser
|
|
647
647
|
|
|
@@ -837,7 +837,7 @@ class CertChooser extends Gtk.Grid {
|
|
|
837
837
|
* @param flags the flags that configure the capabilities of the button
|
|
838
838
|
* @returns the certificate chooser button instance
|
|
839
839
|
*/
|
|
840
|
-
constructor(title: string
|
|
840
|
+
constructor(title: string, flags: CertChooserFlags)
|
|
841
841
|
/**
|
|
842
842
|
* Constructs the button that is capable of selecting a certificate
|
|
843
843
|
* and a key.
|
|
@@ -846,7 +846,7 @@ class CertChooser extends Gtk.Grid {
|
|
|
846
846
|
* @param flags the flags that configure the capabilities of the button
|
|
847
847
|
* @returns the certificate chooser button instance
|
|
848
848
|
*/
|
|
849
|
-
static new(title: string
|
|
849
|
+
static new(title: string, flags: CertChooserFlags): CertChooser
|
|
850
850
|
|
|
851
851
|
// Overloads of new
|
|
852
852
|
|
|
@@ -867,8 +867,6 @@ module MobileProvidersDatabase {
|
|
|
867
867
|
|
|
868
868
|
// Own constructor properties of NMA-1.0.NMA.MobileProvidersDatabase
|
|
869
869
|
|
|
870
|
-
country_codes?: string | null
|
|
871
|
-
service_providers?: string | null
|
|
872
870
|
countryCodes?: string | null
|
|
873
871
|
serviceProviders?: string | null
|
|
874
872
|
}
|
|
@@ -879,9 +877,7 @@ interface MobileProvidersDatabase extends Gio.AsyncInitable, Gio.Initable {
|
|
|
879
877
|
|
|
880
878
|
// Own properties of NMA-1.0.NMA.MobileProvidersDatabase
|
|
881
879
|
|
|
882
|
-
readonly country_codes: string | null
|
|
883
880
|
readonly countryCodes: string | null
|
|
884
|
-
readonly service_providers: string | null
|
|
885
881
|
readonly serviceProviders: string | null
|
|
886
882
|
|
|
887
883
|
// Own fields of NMA-1.0.NMA.MobileProvidersDatabase
|
|
@@ -893,9 +889,9 @@ interface MobileProvidersDatabase extends Gio.AsyncInitable, Gio.Initable {
|
|
|
893
889
|
|
|
894
890
|
dump(): void
|
|
895
891
|
get_countries(): GLib.HashTable
|
|
896
|
-
lookup_3gpp_mcc_mnc(mccmnc: string
|
|
892
|
+
lookup_3gpp_mcc_mnc(mccmnc: string): MobileProvider
|
|
897
893
|
lookup_cdma_sid(sid: number): MobileProvider
|
|
898
|
-
lookup_country(country_code: string
|
|
894
|
+
lookup_country(country_code: string): CountryInfo
|
|
899
895
|
|
|
900
896
|
// Class property signals of NMA-1.0.NMA.MobileProvidersDatabase
|
|
901
897
|
|
|
@@ -988,16 +984,16 @@ interface VpnPasswordDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
988
984
|
focus_password(): void
|
|
989
985
|
focus_password_secondary(): void
|
|
990
986
|
focus_password_ternary(): void
|
|
991
|
-
get_password(): string
|
|
992
|
-
get_password_secondary(): string
|
|
993
|
-
get_password_ternary(): string
|
|
987
|
+
get_password(): string
|
|
988
|
+
get_password_secondary(): string
|
|
989
|
+
get_password_ternary(): string
|
|
994
990
|
run_and_block(): boolean
|
|
995
|
-
set_password(password: string
|
|
996
|
-
set_password_label(label: string
|
|
997
|
-
set_password_secondary(password_secondary: string
|
|
998
|
-
set_password_secondary_label(label: string
|
|
999
|
-
set_password_ternary(password_ternary: string
|
|
1000
|
-
set_password_ternary_label(label: string
|
|
991
|
+
set_password(password: string): void
|
|
992
|
+
set_password_label(label: string): void
|
|
993
|
+
set_password_secondary(password_secondary: string): void
|
|
994
|
+
set_password_secondary_label(label: string): void
|
|
995
|
+
set_password_ternary(password_ternary: string): void
|
|
996
|
+
set_password_ternary_label(label: string): void
|
|
1001
997
|
set_show_password(show: boolean): void
|
|
1002
998
|
set_show_password_secondary(show: boolean): void
|
|
1003
999
|
set_show_password_ternary(show: boolean): void
|
|
@@ -1037,7 +1033,7 @@ interface VpnPasswordDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1037
1033
|
* @param child the child widget
|
|
1038
1034
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1039
1035
|
*/
|
|
1040
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1036
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1041
1037
|
|
|
1042
1038
|
// Overloads of child_notify
|
|
1043
1039
|
|
|
@@ -1051,7 +1047,7 @@ interface VpnPasswordDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1051
1047
|
* Also see gtk_container_child_notify().
|
|
1052
1048
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1053
1049
|
*/
|
|
1054
|
-
child_notify(child_property: string
|
|
1050
|
+
child_notify(child_property: string): void
|
|
1055
1051
|
/**
|
|
1056
1052
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1057
1053
|
* [child property][child-properties] `child_property`
|
|
@@ -1062,7 +1058,7 @@ interface VpnPasswordDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1062
1058
|
* Also see gtk_container_child_notify().
|
|
1063
1059
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1064
1060
|
*/
|
|
1065
|
-
child_notify(child_property: string
|
|
1061
|
+
child_notify(child_property: string): void
|
|
1066
1062
|
|
|
1067
1063
|
// Class property signals of NMA-1.0.NMA.VpnPasswordDialog
|
|
1068
1064
|
|
|
@@ -1310,8 +1306,8 @@ class VpnPasswordDialog extends Gtk.Dialog {
|
|
|
1310
1306
|
// Constructors of NMA-1.0.NMA.VpnPasswordDialog
|
|
1311
1307
|
|
|
1312
1308
|
constructor(config?: VpnPasswordDialog.ConstructorProperties)
|
|
1313
|
-
constructor(title: string
|
|
1314
|
-
static new(title: string
|
|
1309
|
+
constructor(title: string, message: string, password: string)
|
|
1310
|
+
static new(title: string, message: string, password: string): VpnPasswordDialog
|
|
1315
1311
|
|
|
1316
1312
|
// Overloads of new
|
|
1317
1313
|
|
|
@@ -1414,7 +1410,7 @@ interface WifiDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1414
1410
|
* @param child the child widget
|
|
1415
1411
|
* @param child_property the name of a child property installed on the class of `container`
|
|
1416
1412
|
*/
|
|
1417
|
-
child_notify(child: Gtk.Widget, child_property: string
|
|
1413
|
+
child_notify(child: Gtk.Widget, child_property: string): void
|
|
1418
1414
|
|
|
1419
1415
|
// Overloads of child_notify
|
|
1420
1416
|
|
|
@@ -1428,7 +1424,7 @@ interface WifiDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1428
1424
|
* Also see gtk_container_child_notify().
|
|
1429
1425
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1430
1426
|
*/
|
|
1431
|
-
child_notify(child_property: string
|
|
1427
|
+
child_notify(child_property: string): void
|
|
1432
1428
|
/**
|
|
1433
1429
|
* Emits a #GtkWidget::child-notify signal for the
|
|
1434
1430
|
* [child property][child-properties] `child_property`
|
|
@@ -1439,7 +1435,7 @@ interface WifiDialog extends Atk.ImplementorIface, Gtk.Buildable {
|
|
|
1439
1435
|
* Also see gtk_container_child_notify().
|
|
1440
1436
|
* @param child_property the name of a child property installed on the class of `widget’`s parent
|
|
1441
1437
|
*/
|
|
1442
|
-
child_notify(child_property: string
|
|
1438
|
+
child_notify(child_property: string): void
|
|
1443
1439
|
|
|
1444
1440
|
// Class property signals of NMA-1.0.NMA.WifiDialog
|
|
1445
1441
|
|
|
@@ -1780,7 +1776,7 @@ class WifiDialog extends Gtk.Dialog {
|
|
|
1780
1776
|
* @param secrets_hints array of setting key names within the setting given in `secrets_setting_name` which are requested or %NULL
|
|
1781
1777
|
* @returns the dialog widget or %NULL in case of error
|
|
1782
1778
|
*/
|
|
1783
|
-
static new_for_secrets(client: NM.Client, connection: NM.Connection, secrets_setting_name: string
|
|
1779
|
+
static new_for_secrets(client: NM.Client, connection: NM.Connection, secrets_setting_name: string, secrets_hints: string): WifiDialog
|
|
1784
1780
|
_init(config?: WifiDialog.ConstructorProperties): void
|
|
1785
1781
|
}
|
|
1786
1782
|
|
|
@@ -1818,8 +1814,8 @@ interface CountryInfo {
|
|
|
1818
1814
|
|
|
1819
1815
|
// Owm methods of NMA-1.0.NMA.CountryInfo
|
|
1820
1816
|
|
|
1821
|
-
get_country_code(): string
|
|
1822
|
-
get_country_name(): string
|
|
1817
|
+
get_country_code(): string
|
|
1818
|
+
get_country_name(): string
|
|
1823
1819
|
get_providers(): MobileProvider[]
|
|
1824
1820
|
ref(): CountryInfo
|
|
1825
1821
|
unref(): void
|
|
@@ -1836,13 +1832,13 @@ interface MobileAccessMethod {
|
|
|
1836
1832
|
|
|
1837
1833
|
// Owm methods of NMA-1.0.NMA.MobileAccessMethod
|
|
1838
1834
|
|
|
1839
|
-
get_3gpp_apn(): string
|
|
1835
|
+
get_3gpp_apn(): string
|
|
1840
1836
|
get_dns(): string[]
|
|
1841
1837
|
get_family(): MobileFamily
|
|
1842
|
-
get_gateway(): string
|
|
1843
|
-
get_name(): string
|
|
1844
|
-
get_password(): string
|
|
1845
|
-
get_username(): string
|
|
1838
|
+
get_gateway(): string
|
|
1839
|
+
get_name(): string
|
|
1840
|
+
get_password(): string
|
|
1841
|
+
get_username(): string
|
|
1846
1842
|
ref(): MobileAccessMethod
|
|
1847
1843
|
unref(): void
|
|
1848
1844
|
}
|
|
@@ -1861,7 +1857,7 @@ interface MobileProvider {
|
|
|
1861
1857
|
get_3gpp_mcc_mnc(): string[]
|
|
1862
1858
|
get_cdma_sid(): number[]
|
|
1863
1859
|
get_methods(): MobileAccessMethod[]
|
|
1864
|
-
get_name(): string
|
|
1860
|
+
get_name(): string
|
|
1865
1861
|
ref(): MobileProvider
|
|
1866
1862
|
unref(): void
|
|
1867
1863
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/nma-1.0",
|
|
3
|
-
"version": "1.10.7-3.2.
|
|
3
|
+
"version": "1.10.7-3.2.8",
|
|
4
4
|
"description": "GJS TypeScript type definitions for NMA-1.0, generated from library version 1.10.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "nma-1.0.js",
|
|
7
7
|
"main": "nma-1.0.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"./ambient":
|
|
10
|
-
|
|
9
|
+
"./ambient": {
|
|
10
|
+
"types": "./nma-1.0-ambient.d.ts",
|
|
11
|
+
"default": "./nma-1.0-ambient.js"
|
|
12
|
+
},
|
|
13
|
+
"./import": {
|
|
14
|
+
"types": "./nma-1.0-import.d.ts",
|
|
15
|
+
"default": "./nma-1.0-import.js"
|
|
16
|
+
},
|
|
11
17
|
".": {
|
|
12
18
|
"import": {
|
|
13
19
|
"types": "./nma-1.0.d.ts",
|
|
@@ -25,21 +31,21 @@
|
|
|
25
31
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit nma-1.0.d.cts"
|
|
26
32
|
},
|
|
27
33
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^2.
|
|
29
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
30
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
31
|
-
"@girs/gdk-3.0": "^3.24.
|
|
32
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
33
|
-
"@girs/gio-2.0": "^2.
|
|
34
|
-
"@girs/gjs": "^3.2.
|
|
35
|
-
"@girs/glib-2.0": "^2.
|
|
36
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
37
|
-
"@girs/gobject-2.0": "^2.
|
|
38
|
-
"@girs/gtk-3.0": "^3.24.
|
|
39
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
40
|
-
"@girs/nm-1.0": "^1.45.1-3.2.
|
|
41
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
42
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
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/gdk-3.0": "^3.24.39-3.2.8",
|
|
38
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.8",
|
|
39
|
+
"@girs/gio-2.0": "^2.77.0-3.2.8",
|
|
40
|
+
"@girs/gjs": "^3.2.8",
|
|
41
|
+
"@girs/glib-2.0": "^2.77.0-3.2.8",
|
|
42
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.8",
|
|
43
|
+
"@girs/gobject-2.0": "^2.77.0-3.2.8",
|
|
44
|
+
"@girs/gtk-3.0": "^3.24.39-3.2.8",
|
|
45
|
+
"@girs/harfbuzz-0.0": "^8.1.1-3.2.8",
|
|
46
|
+
"@girs/nm-1.0": "^1.45.1-3.2.8",
|
|
47
|
+
"@girs/pango-1.0": "^1.51.0-3.2.8",
|
|
48
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.8"
|
|
43
49
|
},
|
|
44
50
|
"devDependencies": {
|
|
45
51
|
"typescript": "*"
|
|
@@ -56,7 +62,7 @@
|
|
|
56
62
|
"license": "MIT",
|
|
57
63
|
"repository": {
|
|
58
64
|
"type": "git",
|
|
59
|
-
"url": "git+https://github.com/gjsify/
|
|
65
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
60
66
|
},
|
|
61
67
|
"bugs": {
|
|
62
68
|
"url": "https://github.com/gjsify/ts-for-gir/issues"
|