NM.SimpleConnection¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SimpleConnection(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
the new empty
NM.Connection
object- Return type:
Creates a new
NM.SimpleConnection
object with noNM.Setting
objects.
- classmethod new_clone(connection)¶
- Parameters:
connection (
NM.Connection
) – theNM.Connection
to clone- Returns:
a new
NM.Connection
containing the same settings and properties as the sourceNM.Connection
- Return type:
Clones an
NM.Connection
as anNM.SimpleConnection
.
- classmethod new_from_dbus(dict)¶
- Parameters:
dict (
GLib.Variant
) – aGLib.Variant
of type %NM_VARIANT_TYPE_CONNECTION describing the connection- Raises:
- Returns:
the new
NM.SimpleConnection
object, populated with settings created from the values in the hash table, orNone
if the connection failed to normalize.- Return type:
Creates a new
NM.SimpleConnection
from a hash table describing the connection and normalize the connection. SeeNM.Connection.to_dbus
() for a description of the expected hash table.