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.EnumClass

Contents

Description

The class of an enumeration type holds information about its possible values.

Synopsis

Exported types

newtype EnumClass Source

Instances

((~) * info (ResolveEnumClassMethod t EnumClass), MethodInfo * info EnumClass p) => IsLabel t (EnumClass -> p) Source 

Methods

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

((~) * info (ResolveEnumClassMethod t EnumClass), MethodInfo * info EnumClass p) => IsLabelProxy t (EnumClass -> p) Source 

Methods

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

newZeroEnumClass :: MonadIO m => m EnumClass Source

Construct a EnumClass struct initialized to zero.

Properties

GTypeClass

Maximum

Minimum

NValues

Values