gi-gtk-3.0.31: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Structs.PadActionEntry

Contents

Description

Struct defining a pad action entry.

Synopsis

Exported types

newZeroPadActionEntry :: MonadIO m => m PadActionEntry Source #

Construct a PadActionEntry struct initialized to zero.

Properties

actionName

action name that will be activated in the ActionGroup.

clearPadActionEntryActionName :: MonadIO m => PadActionEntry -> m () Source #

Set the value of the “action_name” field to Nothing. When overloading is enabled, this is equivalent to

clear #actionName

getPadActionEntryActionName :: MonadIO m => PadActionEntry -> m (Maybe Text) Source #

Get the value of the “action_name” field. When overloading is enabled, this is equivalent to

get padActionEntry #actionName

setPadActionEntryActionName :: MonadIO m => PadActionEntry -> CString -> m () Source #

Set the value of the “action_name” field. When overloading is enabled, this is equivalent to

set padActionEntry [ #actionName := value ]

index

the 0-indexed button/ring/strip number that will trigger this action entry.

getPadActionEntryIndex :: MonadIO m => PadActionEntry -> m Int32 Source #

Get the value of the “index” field. When overloading is enabled, this is equivalent to

get padActionEntry #index

setPadActionEntryIndex :: MonadIO m => PadActionEntry -> Int32 -> m () Source #

Set the value of the “index” field. When overloading is enabled, this is equivalent to

set padActionEntry [ #index := value ]

label

Human readable description of this action entry, this string should be deemed user-visible.

clearPadActionEntryLabel :: MonadIO m => PadActionEntry -> m () Source #

Set the value of the “label” field to Nothing. When overloading is enabled, this is equivalent to

clear #label

getPadActionEntryLabel :: MonadIO m => PadActionEntry -> m (Maybe Text) Source #

Get the value of the “label” field. When overloading is enabled, this is equivalent to

get padActionEntry #label

setPadActionEntryLabel :: MonadIO m => PadActionEntry -> CString -> m () Source #

Set the value of the “label” field. When overloading is enabled, this is equivalent to

set padActionEntry [ #label := value ]

mode

the mode that will trigger this action entry, or -1 for all modes.

getPadActionEntryMode :: MonadIO m => PadActionEntry -> m Int32 Source #

Get the value of the “mode” field. When overloading is enabled, this is equivalent to

get padActionEntry #mode

setPadActionEntryMode :: MonadIO m => PadActionEntry -> Int32 -> m () Source #

Set the value of the “mode” field. When overloading is enabled, this is equivalent to

set padActionEntry [ #mode := value ]

type

the type of pad feature that will trigger this action entry.

getPadActionEntryType :: MonadIO m => PadActionEntry -> m PadActionType Source #

Get the value of the “type” field. When overloading is enabled, this is equivalent to

get padActionEntry #type

setPadActionEntryType :: MonadIO m => PadActionEntry -> PadActionType -> m () Source #

Set the value of the “type” field. When overloading is enabled, this is equivalent to

set padActionEntry [ #type := value ]