NMA4.WifiDialog¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Dialog (11), Gtk.Window (62), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Native (6), Gtk.Root (3)
- Structs:
class |
|
class |
|
class |
|
class |
|
class |
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Dialog (1), Gtk.Window (25), Gtk.Widget (34), Gtk.Accessible (1)
Signals¶
- Inherited:
Gtk.Dialog (2), Gtk.Window (5), Gtk.Widget (13), GObject.Object (1)
Fields¶
- Inherited:
Gtk.Dialog (2), Gtk.Window (5), Gtk.Widget (13), GObject.Object (1)
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class NMA4.WifiDialog(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(client, connection, device, ap, secrets_only)¶
- Parameters:
client (
NM.Client
) – client to retrieve list of devices or connections fromconnection (
NM.Connection
) – connection to be shown/edited orNone
device (
NM.Device
) – device to check connection compatibility againstap (
NM.AccessPoint
) – AP to check connection compatibility againstsecrets_only (
bool
) – whether to only ask for secrets for given connection
- Returns:
the dialog widget or
None
in case of error- Return type:
Creates a wifi connection dialog and populates it with settings from connection if given. If device is not given a device selection combo box will be included. If connection is not given a connection selection combo box will be included. If secrets_only is
False
a complete connection creator/editor dialog is returned, otherwise only wifi security secrets relevant to the security settings in connection are going to be shown and will be editable.
- Parameters:
client (
NM.Client
) –- Return type:
- classmethod new_for_secrets(client, connection, secrets_setting_name, secrets_hints)¶
- Parameters:
client (
NM.Client
) – client to retrieve list of devices or connections fromconnection (
NM.Connection
) – connection for which secrets are requestedsecrets_setting_name (
str
) – setting name whose secrets are requested orNone
secrets_hints (
str
) – array of setting key names within the setting given in secrets_setting_name which are requested orNone
- Returns:
the dialog widget or
None
in case of error- Return type:
Creates a wifi secrets dialog and populates it with setting values from connection. If secrets_setting_name and secrets_hints are not given this function creates an identical dialog as
NMA4.WifiDialog.new
() would create with the secrets_only parameterTrue
. Otherwise secrets_setting_name and secrets_hints determine the list of specific secrets that are being requested from the user and no editable entries are shown for any other settings.Note: only a subset of all settings and setting keys is supported as secrets_setting_name and secrets_hints.
- get_connection()¶
- Return type:
(
NM.Connection
, device:NM.Device
, ap:NM.AccessPoint
)
- nag_user()¶
- Return type: