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

Instances

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

newZeroActionEntry :: MonadIO m => m ActionEntry Source

Construct a ActionEntry struct initialized to zero.

Properties

Name

ParameterType

State