gi-gobject-2.0.7: 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.EnumValue

Contents

Description

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

Synopsis

Exported types

newtype EnumValue Source #

Constructors

EnumValue (ManagedPtr EnumValue) 

Instances

WrappedPtr EnumValue Source # 
(~) AttrOpTag tag AttrSet => Constructible EnumValue tag Source # 

Methods

new :: MonadIO m => (ManagedPtr EnumValue -> EnumValue) -> [AttrOp EnumValue tag] -> m EnumValue

((~) * info (ResolveEnumValueMethod t EnumValue), MethodInfo * info EnumValue p) => IsLabel t (EnumValue -> p) Source # 

Methods

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

((~) * info (ResolveEnumValueMethod t EnumValue), MethodInfo * info EnumValue p) => IsLabelProxy t (EnumValue -> p) Source # 

Methods

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

HasAttributeList * EnumValue Source # 
type AttributeList EnumValue Source # 
type AttributeList EnumValue

newZeroEnumValue :: MonadIO m => m EnumValue Source #

Construct a EnumValue struct initialized to zero.

Properties

value

enumValue_value :: AttrLabelProxy "value" Source #

valueName

enumValue_valueName :: AttrLabelProxy "valueName" Source #

valueNick

enumValue_valueNick :: AttrLabelProxy "valueNick" Source #