Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype UserContentFilter = UserContentFilter (ManagedPtr UserContentFilter)
- noUserContentFilter :: Maybe 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 # | |
IsGValue UserContentFilter Source # | Convert |
Defined in GI.WebKit2.Structs.UserContentFilter toGValue :: UserContentFilter -> IO GValue # fromGValue :: GValue -> IO UserContentFilter # | |
BoxedObject UserContentFilter Source # | |
Defined in GI.WebKit2.Structs.UserContentFilter boxedType :: UserContentFilter -> IO GType # |
noUserContentFilter :: Maybe UserContentFilter Source #
A convenience alias for Nothing
:: Maybe
UserContentFilter
.
Methods
Overloaded methods
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