Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
A structure which contains a single flags value, its name, and its nickname.
- newtype FlagsValue = FlagsValue (ForeignPtr FlagsValue)
- newZeroFlagsValue :: MonadIO m => m FlagsValue
- noFlagsValue :: Maybe FlagsValue
- flagsValueReadValue :: MonadIO m => FlagsValue -> m Word32
- flagsValueValue :: AttrLabelProxy "value"
- flagsValueWriteValue :: MonadIO m => FlagsValue -> Word32 -> m ()
- flagsValueClearValueName :: MonadIO m => FlagsValue -> m ()
- flagsValueReadValueName :: MonadIO m => FlagsValue -> m (Maybe Text)
- flagsValueValueName :: AttrLabelProxy "valueName"
- flagsValueWriteValueName :: MonadIO m => FlagsValue -> CString -> m ()
- flagsValueClearValueNick :: MonadIO m => FlagsValue -> m ()
- flagsValueReadValueNick :: MonadIO m => FlagsValue -> m (Maybe Text)
- flagsValueValueNick :: AttrLabelProxy "valueNick"
- flagsValueWriteValueNick :: MonadIO m => FlagsValue -> CString -> m ()
Exported types
newtype FlagsValue Source
WrappedPtr FlagsValue | |
(~) AttrOpTag tag AttrSet => Constructible FlagsValue tag | |
((~) * info (ResolveFlagsValueMethod t FlagsValue), MethodInfo * info FlagsValue p) => IsLabelProxy t (FlagsValue -> p) | |
type AttributeList FlagsValue |
newZeroFlagsValue :: MonadIO m => m FlagsValue Source
Construct a FlagsValue
struct initialized to zero.
Properties
Value
flagsValueReadValue :: MonadIO m => FlagsValue -> m Word32 Source
flagsValueValue :: AttrLabelProxy "value" Source
flagsValueWriteValue :: MonadIO m => FlagsValue -> Word32 -> m () Source
ValueName
flagsValueClearValueName :: MonadIO m => FlagsValue -> m () Source
flagsValueReadValueName :: MonadIO m => FlagsValue -> m (Maybe Text) Source
flagsValueValueName :: AttrLabelProxy "valueName" Source
flagsValueWriteValueName :: MonadIO m => FlagsValue -> CString -> m () Source
ValueNick
flagsValueClearValueNick :: MonadIO m => FlagsValue -> m () Source
flagsValueReadValueNick :: MonadIO m => FlagsValue -> m (Maybe Text) Source
flagsValueValueNick :: AttrLabelProxy "valueNick" Source
flagsValueWriteValueNick :: MonadIO m => FlagsValue -> CString -> m () Source