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 |
Associates a string with a bit flag.
Used in parseDebugString
.
Synopsis
- newtype DebugKey = DebugKey (ManagedPtr DebugKey)
- newZeroDebugKey :: MonadIO m => m DebugKey
- clearDebugKeyKey :: MonadIO m => DebugKey -> m ()
- getDebugKeyKey :: MonadIO m => DebugKey -> m (Maybe Text)
- setDebugKeyKey :: MonadIO m => DebugKey -> CString -> m ()
- getDebugKeyValue :: MonadIO m => DebugKey -> m Word32
- setDebugKeyValue :: MonadIO m => DebugKey -> Word32 -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq DebugKey Source # | |
ManagedPtrNewtype DebugKey Source # | |
Defined in GI.GLib.Structs.DebugKey toManagedPtr :: DebugKey -> ManagedPtr DebugKey # | |
BoxedPtr DebugKey Source # | |
Defined in GI.GLib.Structs.DebugKey boxedPtrCopy :: DebugKey -> IO DebugKey # boxedPtrFree :: DebugKey -> IO () # | |
CallocPtr DebugKey Source # | |
Defined in GI.GLib.Structs.DebugKey boxedPtrCalloc :: IO (Ptr DebugKey) # | |
tag ~ 'AttrSet => Constructible DebugKey tag Source # | |
Defined in GI.GLib.Structs.DebugKey |
Methods
Overloaded methods
Properties
key
the string
clearDebugKeyKey :: MonadIO m => DebugKey -> m () Source #
Set the value of the “key
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#key
getDebugKeyKey :: MonadIO m => DebugKey -> m (Maybe Text) Source #
Get the value of the “key
” field.
When overloading is enabled, this is equivalent to
get
debugKey #key
setDebugKeyKey :: MonadIO m => DebugKey -> CString -> m () Source #
Set the value of the “key
” field.
When overloading is enabled, this is equivalent to
set
debugKey [ #key:=
value ]
value
the flag
getDebugKeyValue :: MonadIO m => DebugKey -> m Word32 Source #
Get the value of the “value
” field.
When overloading is enabled, this is equivalent to
get
debugKey #value
setDebugKeyValue :: MonadIO m => DebugKey -> Word32 -> m () Source #
Set the value of the “value
” field.
When overloading is enabled, this is equivalent to
set
debugKey [ #value:=
value ]