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 UserContentFilter = UserContentFilter (ManagedPtr UserContentFilter)
- userContentFilterGetIdentifier :: (HasCallStack, MonadIO m) => UserContentFilter -> m Text
- userContentFilterRef :: (HasCallStack, MonadIO m) => UserContentFilter -> m UserContentFilter
- userContentFilterUnref :: (HasCallStack, MonadIO m) => UserContentFilter -> m ()
Exported types
newtype UserContentFilter Source #
Memory-managed wrapper type.
Instances
Eq UserContentFilter Source # | |
Defined in GI.WebKit2.Structs.UserContentFilter (==) :: UserContentFilter -> UserContentFilter -> Bool # (/=) :: UserContentFilter -> UserContentFilter -> Bool # | |
GBoxed UserContentFilter Source # | |
Defined in GI.WebKit2.Structs.UserContentFilter | |
ManagedPtrNewtype UserContentFilter Source # | |
TypedObject UserContentFilter Source # | |
Defined in GI.WebKit2.Structs.UserContentFilter | |
HasParentTypes UserContentFilter Source # | |
Defined in GI.WebKit2.Structs.UserContentFilter | |
IsGValue (Maybe UserContentFilter) Source # | Convert |
Defined in GI.WebKit2.Structs.UserContentFilter gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe UserContentFilter -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe UserContentFilter) # | |
type ParentTypes UserContentFilter Source # | |
Defined in GI.WebKit2.Structs.UserContentFilter |
Methods
Click to display all available methods, including inherited ones
getIdentifier
userContentFilterGetIdentifier Source #
:: (HasCallStack, MonadIO m) | |
=> UserContentFilter |
|
-> m Text | Returns: the identifier for the filter |
Obtain the identifier previously used to save the userContentFilter
in the
UserContentFilterStore
.
Since: 2.24
ref
:: (HasCallStack, MonadIO m) | |
=> UserContentFilter |
|
-> m UserContentFilter |
Atomically increments the reference count of userContentFilter
by one.
This function is MT-safe and may be called from any thread.
Since: 2.24
unref
userContentFilterUnref Source #
:: (HasCallStack, MonadIO m) | |
=> UserContentFilter |
|
-> m () |
Atomically decrements the reference count of userContentFilter
by one.
If the reference count drops to 0, all the memory allocated by the
UserContentFilter
is released. This function is MT-safe and may
be called from any thread.
Since: 2.24