gi-gobject-0.2.46.13: 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

Instances

((~) * 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

newZeroEnumValue :: MonadIO m => m EnumValue Source

Construct a EnumValue struct initialized to zero.

Properties

Value

ValueName

ValueNick