gi-gobject-2.0.12: 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 #

Instances

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

Methods

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

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

Methods

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

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

Methods

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

HasAttributeList * EnumValue # 
type AttributeList EnumValue # 

newZeroEnumValue :: MonadIO m => m EnumValue #

Construct a EnumValue struct initialized to zero.

Properties

value

valueName

valueNick