NM.VpnConnection¶
- Subclasses:
None
Methods¶
- Inherited:
NM.ActiveConnection (18), NM.Object (2), GObject.Object (37)
- Structs:
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
|||
r |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Class Details¶
- class NM.VpnConnection(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_banner()¶
- Returns:
the VPN login banner of the VPN connection. This is the internal string used by the connection, and must not be modified.
- Return type:
Gets the VPN login banner of the active
NM.VpnConnection
.
- get_vpn_state()¶
- Returns:
the VPN state of the active VPN connection.
- Return type:
Gets the current
NM.VpnConnection
state.
Signal Details¶
- NM.VpnConnection.signals.vpn_state_changed(vpn_connection, object, p0)¶
- Signal Name:
vpn-state-changed
- Flags:
- Parameters:
vpn_connection (
NM.VpnConnection
) – The object which received the signalobject (
int
) –p0 (
int
) –
Property Details¶
- NM.VpnConnection.props.banner¶
-
The VPN login banner of the active VPN connection.
- NM.VpnConnection.props.vpn_state¶
- Name:
vpn-state
- Type:
- Default Value:
- Flags:
The VPN state of the active VPN connection.