| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.WebKit2.Interfaces.PermissionRequest
Contents
Description
No description available in the introspection data.
Synopsis
- newtype PermissionRequest = PermissionRequest (ManagedPtr PermissionRequest)
- noPermissionRequest :: Maybe PermissionRequest
- class GObject 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.
Constructors
| PermissionRequest (ManagedPtr PermissionRequest) |
Instances
| GObject PermissionRequest Source # | |
Methods gobjectType :: PermissionRequest -> IO GType # | |
| IsObject PermissionRequest Source # | |
| IsPermissionRequest PermissionRequest Source # | |
noPermissionRequest :: Maybe PermissionRequest Source #
A convenience alias for Nothing :: Maybe PermissionRequest.
class GObject o => IsPermissionRequest o Source #
Type class for types which can be safely cast to PermissionRequest, for instance with toPermissionRequest.
Instances
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 #
Arguments
| :: (HasCallStack, MonadIO m, IsPermissionRequest a) | |
| => a |
|
| -> m () |
Allow the action which triggered this request.
deny
permissionRequestDeny Source #
Arguments
| :: (HasCallStack, MonadIO m, IsPermissionRequest a) | |
| => a |
|
| -> m () |
Deny the action which triggered this request.