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.Connectionobject- Return type:
Creates a new
NM.SimpleConnectionobject with noNM.Settingobjects.
- classmethod new_clone(connection)¶
- Parameters:
connection (
NM.Connection) – theNM.Connectionto clone- Returns:
a new
NM.Connectioncontaining the same settings and properties as the sourceNM.Connection- Return type:
Clones an
NM.Connectionas anNM.SimpleConnection.
- classmethod new_from_dbus(dict)¶
- Parameters:
dict (
GLib.Variant) – aGLib.Variantof type %NM_VARIANT_TYPE_CONNECTION describing the connection- Raises:
- Returns:
the new
NM.SimpleConnectionobject, populated with settings created from the values in the hash table, orNoneif the connection failed to normalize.- Return type:
Creates a new
NM.SimpleConnectionfrom a hash table describing the connection and normalize the connection. SeeNM.Connection.to_dbus() for a description of the expected hash table.