Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype PermissionRequest = PermissionRequest (ManagedPtr 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.
PermissionRequest (ManagedPtr PermissionRequest) |
Instances
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
Click to display all available methods, including inherited ones
Methods
allow, bindProperty, bindPropertyFull, deny, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getProperty, getQdata.
Setters
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.