WebKit2.WebsitePolicies

g GObject.Object GObject.Object WebKit2.WebsitePolicies WebKit2.WebsitePolicies GObject.Object->WebKit2.WebsitePolicies

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_autoplay_policy ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

autoplay

WebKit2.AutoplayPolicy

r/w/co

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class WebKit2.WebsitePolicies(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

WebKit2.WebsitePoliciesClass

View specific website policies.

WebKit2.WebsitePolicies allows you to configure per-page policies, currently only autoplay policies are supported.

New in version 2.30.

classmethod new()
Returns:

the newly created WebKit2.WebsitePolicies

Return type:

WebKit2.WebsitePolicies

Create a new WebKit2.WebsitePolicies.

New in version 2.30.

get_autoplay_policy()
Returns:

WebKit2.AutoplayPolicy

Return type:

WebKit2.AutoplayPolicy

Get the WebKit2.WebsitePolicies :autoplay property.

New in version 2.30.

Property Details

WebKit2.WebsitePolicies.props.autoplay
Name:

autoplay

Type:

WebKit2.AutoplayPolicy

Default Value:

WebKit2.AutoplayPolicy.ALLOW_WITHOUT_SOUND

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The WebKit2.AutoplayPolicy of WebKit2.WebsitePolicies.

New in version 2.30.