NM.VpnEditor

g GObject.GInterface GObject.GInterface NM.VpnEditor NM.VpnEditor GObject.GInterface->NM.VpnEditor

Implementations:

None

Methods

get_widget ()

update_connection (connection)

Virtual Methods

do_changed ()

do_get_widget ()

do_update_connection (connection)

Properties

None

Signals

Name

Short Description

changed

Fields

None

Class Details

class NM.VpnEditor
Bases:

GObject.GInterface

Structure:

NM.VpnEditorInterface

get_widget()
Return type:

GObject.Object

update_connection(connection)
Parameters:

connection (NM.Connection) –

Raises:

GLib.Error

Return type:

bool

do_changed() virtual

emitted when the value of a UI widget changes. May trigger a validity check via update_connection to write values to the connection.

do_get_widget() virtual
Return type:

GObject.Object

return the #GtkWidget for the VPN editor’s UI

do_update_connection(connection) virtual
Parameters:

connection (NM.Connection) –

Return type:

bool

called to save the user-entered options to the connection object. Should return False and set error if the current options are invalid. error should contain enough information for the plugin to determine which UI widget is invalid at a later point in time. For example, creating unique error codes for what error occurred and populating the message field of error with the name of the invalid property.

Signal Details

NM.VpnEditor.signals.changed(vpn_editor)
Signal Name:

changed

Flags:

RUN_FIRST

Parameters:

vpn_editor (NM.VpnEditor) – The object which received the signal