gi-gio-2.0.10: Gio 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.Gio.Structs.ActionEntry

Contents

Description

This struct defines a single action. It is for use with g_action_map_add_action_entries().

The order of the items in the structure are intended to reflect frequency of use. It is permissible to use an incomplete initialiser in order to leave some of the later values as %NULL. All values after @name are optional. Additional optional fields may be added in the future.

See g_action_map_add_action_entries() for an example.

Synopsis

Exported types

newtype ActionEntry Source #

Constructors

ActionEntry (ManagedPtr ActionEntry) 

Instances

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

Methods

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

((~) * info (ResolveActionEntryMethod t ActionEntry), MethodInfo * info ActionEntry p) => IsLabel t (ActionEntry -> p) Source # 

Methods

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

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

newZeroActionEntry :: MonadIO m => m ActionEntry Source #

Construct a ActionEntry struct initialized to zero.

Properties

activate

actionEntry_activate :: AttrLabelProxy "activate" Source #

changeState

actionEntry_changeState :: AttrLabelProxy "changeState" Source #

name

actionEntry_name :: AttrLabelProxy "name" Source #

parameterType

actionEntry_parameterType :: AttrLabelProxy "parameterType" Source #

state

actionEntry_state :: AttrLabelProxy "state" Source #