gi-gobject-2.0.2: GObject bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GObject.Structs.FlagsValue

Contents

Description

A structure which contains a single flags value, its name, and its nickname.

Synopsis

Exported types

newtype FlagsValue Source #

Constructors

FlagsValue (ForeignPtr FlagsValue) 

Instances

WrappedPtr FlagsValue Source # 

Methods

wrappedPtrCalloc :: IO (Ptr FlagsValue)

wrappedPtrCopy :: Ptr FlagsValue -> IO (Ptr FlagsValue)

wrappedPtrFree :: Maybe (FunPtr (Ptr FlagsValue -> IO ()))

(~) AttrOpTag tag AttrSet => Constructible FlagsValue tag Source # 

Methods

new :: MonadIO m => (ForeignPtr FlagsValue -> FlagsValue) -> [AttrOp FlagsValue tag] -> m FlagsValue

((~) * info (ResolveFlagsValueMethod t FlagsValue), MethodInfo * info FlagsValue p) => IsLabel t (FlagsValue -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> FlagsValue -> p

((~) * info (ResolveFlagsValueMethod t FlagsValue), MethodInfo * info FlagsValue p) => IsLabelProxy t (FlagsValue -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> FlagsValue -> p

type AttributeList FlagsValue Source # 
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

flagsValueReadValueName :: MonadIO m => FlagsValue -> m (Maybe Text) Source #

flagsValueValueName :: AttrLabelProxy "valueName" Source #

flagsValueWriteValueName :: MonadIO m => FlagsValue -> CString -> m () Source #

ValueNick

flagsValueReadValueNick :: MonadIO m => FlagsValue -> m (Maybe Text) Source #

flagsValueValueNick :: AttrLabelProxy "valueNick" Source #

flagsValueWriteValueNick :: MonadIO m => FlagsValue -> CString -> m () Source #