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
GtkPadActionEntry
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
GtkPadActionEntry
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkPadActionEntry
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GtkPadActionEntry>! { get }
-
Required Initialiser for types conforming to
PadActionEntryProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
type
Extension methodthe type of pad feature that will trigger this action entry.
Declaration
Swift
@inlinable var type: GtkPadActionType { get set }
-
index
Extension methodthe 0-indexed button/ring/strip number that will trigger this action entry.
Declaration
Swift
@inlinable var index: gint { get set }
-
mode
Extension methodthe mode that will trigger this action entry, or -1 for all modes.
Declaration
Swift
@inlinable var mode: gint { get set }
-
label
Extension methodHuman readable description of this action entry, this string should be deemed user-visible.
Declaration
Swift
@inlinable var label: UnsafePointer<CChar>! { get set }
-
actionName
Extension methodaction name that will be activated in the
GActionGroup
.Declaration
Swift
@inlinable var actionName: UnsafePointer<CChar>! { get set }