Vpn
Editor
Plugin
Interface
constructor
g_
iface
name
export_
to_
file
get_
capabilities
get_
editor
get_
suggested_
filename
get_
vt
notify_
plugin_
info_
set
GJS API Reference
NM-1.0
NM
VpnEditorPluginInterface
Class VpnEditorPluginInterface
Interface for VPN editor plugins.
record
Hierarchy
VpnEditorPluginInterface
Index
Constructors
constructor
Properties
g_
iface
name
Methods
export_
to_
file
get_
capabilities
get_
editor
get_
suggested_
filename
get_
vt
notify_
plugin_
info_
set
Constructors
constructor
new
Vpn
Editor
Plugin
Interface
(
)
:
VpnEditorPluginInterface
Returns
VpnEditorPluginInterface
Properties
g_
iface
g_
iface
:
TypeInterface
the parent interface
field
Static
name
name
:
string
Methods
export_
to_
file
export_
to_
file
(
plugin
:
VpnEditorPlugin
, path
:
string
, connection
:
NM
.
Connection
)
:
boolean
Parameters
plugin:
VpnEditorPlugin
path:
string
connection:
NM
.
Connection
Returns
boolean
get_
capabilities
get_
capabilities
(
plugin
:
VpnEditorPlugin
)
:
VpnEditorPluginCapability
Parameters
plugin:
VpnEditorPlugin
Returns
VpnEditorPluginCapability
get_
editor
get_
editor
(
plugin
:
VpnEditorPlugin
, connection
:
NM
.
Connection
)
:
VpnEditor
Parameters
plugin:
VpnEditorPlugin
connection:
NM
.
Connection
Returns
VpnEditor
get_
suggested_
filename
get_
suggested_
filename
(
plugin
:
VpnEditorPlugin
, connection
:
NM
.
Connection
)
:
string
Parameters
plugin:
VpnEditorPlugin
connection:
NM
.
Connection
Returns
string
get_
vt
get_
vt
(
plugin
:
VpnEditorPlugin
, out_vt_size
:
number
)
:
VpnEditorPluginVT
Parameters
plugin:
VpnEditorPlugin
out_vt_size:
number
Returns
VpnEditorPluginVT
notify_
plugin_
info_
set
notify_
plugin_
info_
set
(
plugin
:
VpnEditorPlugin
, plugin_info
:
VpnPluginInfo
)
:
void
Parameters
plugin:
VpnEditorPlugin
plugin_info:
VpnPluginInfo
Returns
void
Vpn
Editor
Plugin
Interface
constructor
g_
iface
name
export_
to_
file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