NM.SimpleConnection

g GObject.GInterface GObject.GInterface NM.Connection NM.Connection GObject.GInterface->NM.Connection GObject.Object GObject.Object NM.SimpleConnection NM.SimpleConnection GObject.Object->NM.SimpleConnection NM.Connection->NM.SimpleConnection

Subclasses:

None

Methods

Inherited:

GObject.Object (37), NM.Connection (66)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_clone (connection)

class

new_from_dbus (dict)

Virtual Methods

Inherited:

GObject.Object (7), NM.Connection (3)

Properties

None

Signals

Inherited:

GObject.Object (1), NM.Connection (3)

Fields

Inherited:

GObject.Object (1), NM.Connection (3)

Class Details

class NM.SimpleConnection(**kwargs)
Bases:

GObject.Object, NM.Connection

Abstract:

No

Structure:

NM.SimpleConnectionClass

classmethod new()
Returns:

the new empty NM.Connection object

Return type:

NM.Connection

Creates a new NM.SimpleConnection object with no NM.Setting objects.

classmethod new_clone(connection)
Parameters:

connection (NM.Connection) – the NM.Connection to clone

Returns:

a new NM.Connection containing the same settings and properties as the source NM.Connection

Return type:

NM.Connection

Clones an NM.Connection as an NM.SimpleConnection.

classmethod new_from_dbus(dict)
Parameters:

dict (GLib.Variant) – a GLib.Variant of type %NM_VARIANT_TYPE_CONNECTION describing the connection

Raises:

GLib.Error

Returns:

the new NM.SimpleConnection object, populated with settings created from the values in the hash table, or None if the connection failed to normalize.

Return type:

NM.Connection

Creates a new NM.SimpleConnection from a hash table describing the connection and normalize the connection. See NM.Connection.to_dbus() for a description of the expected hash table.