NM.VpnEditorInterface

Fields

Name

Type

Access

Description

changed

object

r

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

g_iface

GObject.TypeInterface

r

the parent interface

get_widget

object

r

return the #GtkWidget for the VPN editor’s UI

placeholder

object

r

not currently used

update_connection

object

r

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.

Methods

None

Details

class NM.VpnEditorInterface

Interface for editing a specific NM.Connection