NMA.WifiDialog¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Dialog (14), Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
class |
|
class |
|
class |
|
class |
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)
Style Properties¶
- Inherited:
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class NMA.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
NMA.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: