NM.SettingProxy

g GObject.Object GObject.Object NM.Setting NM.Setting GObject.Object->NM.Setting NM.SettingProxy NM.SettingProxy NM.Setting->NM.SettingProxy

Subclasses:

None

Methods

Inherited:

NM.Setting (21), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_browser_only ()

get_method ()

get_pac_script ()

get_pac_url ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

browser-only

bool

r/w/en

method

int

r/w/en

pac-script

str

r/w/en

pac-url

str

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingProxy(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingProxyClass

WWW Proxy Settings

classmethod new()
Returns:

the new empty NM.SettingProxy object

Return type:

NM.Setting

Creates a new NM.SettingProxy object.

New in version 1.6.

get_browser_only()
Returns:

True if this proxy configuration is only for browser clients/schemes, False otherwise.

Return type:

bool

New in version 1.6.

get_method()
Returns:

the proxy configuration method

Return type:

NM.SettingProxyMethod

Returns the proxy configuration method. By default the value is NM.SettingProxyMethod.NONE. NM.SettingProxyMethod.NONE should be selected for a connection intended for direct network access.

New in version 1.6.

get_pac_script()
Returns:

the PAC script.

Return type:

str

New in version 1.6.

get_pac_url()
Returns:

the PAC URL for obtaining PAC file

Return type:

str

New in version 1.6.

Property Details

NM.SettingProxy.props.browser_only
Name:

browser-only

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Whether the proxy configuration is for browser only.

New in version 1.6.

NM.SettingProxy.props.method
Name:

method

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Method for proxy configuration, Default is NM.SettingProxyMethod.NONE

New in version 1.6.

NM.SettingProxy.props.pac_script
Name:

pac-script

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

PAC script for the connection. This is an UTF-8 encoded javascript code that defines a FindProxyForURL() function.

New in version 1.6.

NM.SettingProxy.props.pac_url
Name:

pac-url

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

PAC URL for obtaining PAC file.

New in version 1.6.