PadActionEntryProtocol
public protocol PadActionEntryProtocol
Struct defining a pad action entry.
The PadActionEntryProtocol protocol exposes the methods and properties of an underlying GtkPadActionEntry instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see PadActionEntry.
Alternatively, use PadActionEntryRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkPadActionEntryinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
GtkPadActionEntryinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkPadActionEntryinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkPadActionEntry>! { get } -
Required Initialiser for types conforming to
PadActionEntryProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
typeExtension methodthe type of pad feature that will trigger this action entry.
Declaration
Swift
@inlinable var type: GtkPadActionType { get set } -
indexExtension methodthe 0-indexed button/ring/strip number that will trigger this action entry.
Declaration
Swift
@inlinable var index: gint { get set } -
modeExtension methodthe mode that will trigger this action entry, or -1 for all modes.
Declaration
Swift
@inlinable var mode: gint { get set } -
labelExtension methodHuman readable description of this action entry, this string should be deemed user-visible.
Declaration
Swift
@inlinable var label: UnsafePointer<CChar>! { get set } -
actionNameExtension methodaction name that will be activated in the
GActionGroup.Declaration
Swift
@inlinable var actionName: UnsafePointer<CChar>! { get set }
View on GitHub
Install in Dash
PadActionEntryProtocol Protocol Reference