gi-gtk-3.0.37: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Structs.PadActionEntry

Description

Struct defining a pad action entry.

Synopsis

Exported types

newtype PadActionEntry Source #

Memory-managed wrapper type.

Constructors

PadActionEntry (ManagedPtr PadActionEntry) 

Instances

Instances details
Eq PadActionEntry Source # 
Instance details

Defined in GI.Gtk.Structs.PadActionEntry

BoxedPtr PadActionEntry Source # 
Instance details

Defined in GI.Gtk.Structs.PadActionEntry

CallocPtr PadActionEntry Source # 
Instance details

Defined in GI.Gtk.Structs.PadActionEntry

ManagedPtrNewtype PadActionEntry Source # 
Instance details

Defined in GI.Gtk.Structs.PadActionEntry

tag ~ 'AttrSet => Constructible PadActionEntry tag Source # 
Instance details

Defined in GI.Gtk.Structs.PadActionEntry

Methods

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

newZeroPadActionEntry :: MonadIO m => m PadActionEntry Source #

Construct a PadActionEntry struct initialized to zero.

Methods

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 ]