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.

  • ptr

    Untyped pointer to the underlying GtkPadActionEntry instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • _ptr Default implementation

    Typed 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)

PadActionEntry Record: PadActionEntryProtocol extension (methods and fields)

  • type Extension method

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

    Declaration

    Swift

    @inlinable
    var type: GtkPadActionType { get set }
  • index Extension method

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

    Declaration

    Swift

    @inlinable
    var index: gint { get set }
  • mode Extension method

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

    Declaration

    Swift

    @inlinable
    var mode: gint { get set }
  • label Extension method

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

    Declaration

    Swift

    @inlinable
    var label: UnsafeMutablePointer<gchar>! { get set }
  • actionName Extension method

    action name that will be activated in the GActionGroup.

    Declaration

    Swift

    @inlinable
    var actionName: UnsafeMutablePointer<gchar>! { get set }