WebKit.WebsitePolicies

g GObject.Object GObject.Object WebKit.WebsitePolicies WebKit.WebsitePolicies GObject.Object->WebKit.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

WebKit.AutoplayPolicy

r/w/co

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class WebKit.WebsitePolicies(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

WebKit.WebsitePoliciesClass

View specific website policies.

WebKit.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 WebKit.WebsitePolicies

Return type:

WebKit.WebsitePolicies

Create a new WebKit.WebsitePolicies.

New in version 2.30.

get_autoplay_policy()
Returns:

WebKit.AutoplayPolicy

Return type:

WebKit.AutoplayPolicy

Get the WebKit.WebsitePolicies :autoplay property.

New in version 2.30.

Property Details

WebKit.WebsitePolicies.props.autoplay
Name:

autoplay

Type:

WebKit.AutoplayPolicy

Default Value:

WebKit.AutoplayPolicy.ALLOW_WITHOUT_SOUND

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The WebKit.AutoplayPolicy of WebKit.WebsitePolicies.

New in version 2.30.