webkit.website_policies

Module for [WebsitePolicies] class

Types 3

View specific website policies.

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

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
WebsitePolicies self() nothrowReturns `this`, for use in `with` statements.
WebsitePoliciesGidBuilder builder() static nothrowGet builder for [webkit.website_policies.WebsitePolicies] Returns: New builder object
webkit.types.AutoplayPolicy autoplay() @property nothrowGet `autoplay` property. Returns: The #WebKitAutoplayPolicy of #WebKitWebsitePolicies.
webkit.types.AutoplayPolicy getAutoplayPolicy() nothrowGet the #WebKitWebsitePolicies:autoplay property. Returns: #WebKitAutoplayPolicy
Constructors
this(void * ptr, Flag!"Take" take)
this()Create a new #WebKitWebsitePolicies. Returns: the newly created #WebKitWebsitePolicies

Fluent builder implementation template for webkit.website_policies.WebsitePolicies

Methods
T autoplay(webkit.types.AutoplayPolicy propval) nothrowSet `autoplay` property. Params: propval = The #WebKitAutoplayPolicy of #WebKitWebsitePolicies. Returns: Builder instance for fluent chaining
Methods
WebsitePolicies build() nothrowCreate object from builder. Returns: New object