gi-webkit2-4.0.27: WebKit2 bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2.Objects.WebsitePolicies

Description

No description available in the introspection data.

Synopsis

Exported types

newtype WebsitePolicies Source #

Memory-managed wrapper type.

Constructors

WebsitePolicies (ManagedPtr WebsitePolicies) 

Instances

Instances details
Eq WebsitePolicies Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsitePolicies

GObject WebsitePolicies Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsitePolicies

ManagedPtrNewtype WebsitePolicies Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsitePolicies

TypedObject WebsitePolicies Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsitePolicies

Methods

glibType :: IO GType

HasParentTypes WebsitePolicies Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsitePolicies

IsGValue (Maybe WebsitePolicies) Source #

Convert WebsitePolicies to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.WebKit2.Objects.WebsitePolicies

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe WebsitePolicies -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe WebsitePolicies)

type ParentTypes WebsitePolicies Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsitePolicies

type ParentTypes WebsitePolicies = '[Object]

class (GObject o, IsDescendantOf WebsitePolicies o) => IsWebsitePolicies o Source #

Type class for types which can be safely cast to WebsitePolicies, for instance with toWebsitePolicies.

Instances

Instances details
(GObject o, IsDescendantOf WebsitePolicies o) => IsWebsitePolicies o Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsitePolicies

toWebsitePolicies :: (MonadIO m, IsWebsitePolicies o) => o -> m WebsitePolicies Source #

Cast to WebsitePolicies, for types for which this is known to be safe. For general casts, use castTo.

Methods

getAutoplayPolicy

websitePoliciesGetAutoplayPolicy Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsitePolicies a) 
=> a

policies: a WebsitePolicies

-> m AutoplayPolicy

Returns: AutoplayPolicy

Get the WebsitePolicies:autoplay property.

Since: 2.30

new

websitePoliciesNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m WebsitePolicies

Returns: the newly created WebsitePolicies

Create a new WebsitePolicies

Since: 2.30

Properties

autoplay

The AutoplayPolicy of WebsitePolicies.

Since: 2.30

constructWebsitePoliciesAutoplay :: (IsWebsitePolicies o, MonadIO m) => AutoplayPolicy -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “autoplay” property. This is rarely needed directly, but it is used by new.

getWebsitePoliciesAutoplay :: (MonadIO m, IsWebsitePolicies o) => o -> m AutoplayPolicy Source #

Get the value of the “autoplay” property. When overloading is enabled, this is equivalent to

get websitePolicies #autoplay