Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
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.
Instances
Eq PermissionRequest Source # | |
Defined in GI.WebKit2.Interfaces.PermissionRequest (==) :: PermissionRequest -> PermissionRequest -> Bool # (/=) :: PermissionRequest -> PermissionRequest -> Bool # | |
GObject PermissionRequest Source # | |
Defined in GI.WebKit2.Interfaces.PermissionRequest | |
ManagedPtrNewtype PermissionRequest Source # | |
TypedObject PermissionRequest Source # | |
Defined in GI.WebKit2.Interfaces.PermissionRequest | |
HasParentTypes PermissionRequest Source # | |
Defined in GI.WebKit2.Interfaces.PermissionRequest | |
IsGValue (Maybe PermissionRequest) Source # | Convert |
Defined in GI.WebKit2.Interfaces.PermissionRequest gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe PermissionRequest -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe PermissionRequest) # | |
type ParentTypes PermissionRequest Source # | |
Defined in GI.WebKit2.Interfaces.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
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.