Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
Access to the WebKit PolicyDecision
- data WebPolicyDecision
- class GObjectClass o => WebPolicyDecisionClass o
- webPolicyDecisionDownload :: WebPolicyDecisionClass self => self -> IO ()
- webPolicyDecisionIgnore :: WebPolicyDecisionClass self => self -> IO ()
- webPolicyDecisionUse :: WebPolicyDecisionClass self => self -> IO ()
Desciption
WebPolicyDecision
objects are given to the application on signal emissions that deal with
policy decisions, such as if a new window should be opened, or if a given navigation should be
allowed. The application uses it to tell the engine what to do.
Types
data WebPolicyDecision Source
class GObjectClass o => WebPolicyDecisionClass o Source
Methods
webPolicyDecisionDownload :: WebPolicyDecisionClass self => self -> IO () Source
Will send the DOWNLOAD decision to the policy implementer.
webPolicyDecisionIgnore :: WebPolicyDecisionClass self => self -> IO () Source
Will send the IGNORE decision to the policy implementer.
webPolicyDecisionUse :: WebPolicyDecisionClass self => self -> IO () Source
Will send the USE decision to the policy implementer.