NM.VpnEditorPluginInterface

Fields

Name

Type

Access

Description

export_to_file

object

r

Export the given connection to the specified path. Return True on success. On error, return False and set error with additional error information. Note that error can be None, in which case no additional error information should be provided.

g_iface

GObject.TypeInterface

r

the parent interface

get_capabilities

object

r

returns a bitmask of capabilities.

get_editor

object

r

returns an NM.VpnEditor, pre-filled with values from connection if non-None.

get_suggested_filename

object

r

For a given connection, return a suggested file name. Returned value will be None or a suggested file name to be freed by the caller.

get_vt

object

r

return a virtual function table to implement further functions in the plugin, without requiring to update libnm. Used by NM.VpnEditorPlugin.get_vt().

import_from_file

object

r

Try to import a connection from the specified path. On success, return a partial NM.Connection object. On error, return None and set error with additional information. Note that error can be None, in which case no additional error information should be provided.

notify_plugin_info_set

object

r

A callback to be called when the plugin info is set.

Methods

None

Details

class NM.VpnEditorPluginInterface

Interface for VPN editor plugins.