PadActionEntry

constructor()

Allocate a new PadActionEntry.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)

Allocate a new PadActionEntry using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(type: PadActionType, index: <Error class: unknown class>, mode: <Error class: unknown class>, label: String?, actionName: String?)

Allocate a new PadActionEntry.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

type

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

index

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

mode

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

label

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

actionName

action name that will be activated in the GActionGroup.


constructor(type: PadActionType, index: <Error class: unknown class>, mode: <Error class: unknown class>, label: String?, actionName: String?, scope: <Error class: unknown class>)

Allocate a new PadActionEntry using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

type

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

index

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

mode

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

label

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

actionName

action name that will be activated in the GActionGroup.

scope

The AutofreeScope to allocate this structure in.


constructor(gtkPadActionEntryPointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)