Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype PermissionRequest = PermissionRequest (ManagedPtr PermissionRequest)
- noPermissionRequest :: Maybe PermissionRequest
- class (GObject o, IsDescendantOf PermissionRequest o) => IsPermissionRequest o
- toPermissionRequest :: (MonadIO m, IsPermissionRequest o) => o -> m PermissionRequest
- permissionRequestAllow :: (HasCallStack, MonadIO m, IsPermissionRequest a) => a -> m ()
- permissionRequestDeny :: (HasCallStack, MonadIO m, IsPermissionRequest a) => a -> m ()
Exported types
newtype PermissionRequest Source #
Memory-managed wrapper type.
Instances
noPermissionRequest :: Maybe PermissionRequest Source #
A convenience alias for Nothing
:: Maybe
PermissionRequest
.
class (GObject o, IsDescendantOf PermissionRequest o) => IsPermissionRequest o Source #
Type class for types which can be safely cast to PermissionRequest
, for instance with toPermissionRequest
.
Instances
(GObject o, IsDescendantOf PermissionRequest o) => IsPermissionRequest o Source # | |
Defined in GI.WebKit2.Interfaces.PermissionRequest |
toPermissionRequest :: (MonadIO m, IsPermissionRequest o) => o -> m PermissionRequest Source #
Cast to PermissionRequest
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
allow
permissionRequestAllow Source #
:: (HasCallStack, MonadIO m, IsPermissionRequest a) | |
=> a |
|
-> m () |
Allow the action which triggered this request.
deny
permissionRequestDeny Source #
:: (HasCallStack, MonadIO m, IsPermissionRequest a) | |
=> a |
|
-> m () |
Deny the action which triggered this request.