gi-glib-2.0.6: GLib 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.GLib.Structs.OptionEntry

Contents

Description

A GOptionEntry struct defines a single option. To have an effect, they must be added to a #GOptionGroup with g_option_context_add_main_entries() or g_option_group_add_entries().

Synopsis

Exported types

newtype OptionEntry Source #

Instances

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

Methods

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

((~) * info (ResolveOptionEntryMethod t OptionEntry), MethodInfo * info OptionEntry p) => IsLabel t (OptionEntry -> p) Source # 

Methods

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

((~) * info (ResolveOptionEntryMethod t OptionEntry), MethodInfo * info OptionEntry p) => IsLabelProxy t (OptionEntry -> p) Source # 
HasAttributeList * OptionEntry Source # 
type AttributeList OptionEntry Source # 
type AttributeList OptionEntry

newZeroOptionEntry :: MonadIO m => m OptionEntry Source #

Construct a OptionEntry struct initialized to zero.

Properties

Arg

optionEntryArg :: AttrLabelProxy "arg" Source #

ArgData

optionEntryArgData :: AttrLabelProxy "argData" Source #

ArgDescription

optionEntryArgDescription :: AttrLabelProxy "argDescription" Source #

Description

optionEntryDescription :: AttrLabelProxy "description" Source #

Flags

optionEntryFlags :: AttrLabelProxy "flags" Source #

LongName

optionEntryLongName :: AttrLabelProxy "longName" Source #

ShortName

optionEntryShortName :: AttrLabelProxy "shortName" Source #