gi-webkit2-4.0.21: WebKit2 bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Objects.PolicyDecision

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype PolicyDecision Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf PolicyDecision o) => IsPolicyDecision o Source #

Type class for types which can be safely cast to PolicyDecision, for instance with toPolicyDecision.

toPolicyDecision :: (MonadIO m, IsPolicyDecision o) => o -> m PolicyDecision Source #

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

Methods

download

policyDecisionDownload Source #

Arguments

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

decision: a PolicyDecision

-> m () 

Spawn a download from this decision.

ignore

policyDecisionIgnore Source #

Arguments

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

decision: a PolicyDecision

-> m () 

Ignore the action which triggered this decision. For instance, for a ResponsePolicyDecision, this would cancel the request.

use

policyDecisionUse Source #

Arguments

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

decision: a PolicyDecision

-> m () 

Accept the action which triggered this decision.