ActivateActionProtocol

public protocol ActivateActionProtocol : ShortcutActionProtocol

A GtkShortcutAction that calls gtk_widget_activate().

The ActivateActionProtocol protocol exposes the methods and properties of an underlying GtkActivateAction 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 ActivateAction. Alternatively, use ActivateActionRef as a lighweight, unowned reference if you already have an instance you just want to use.

  • ptr

    Untyped pointer to the underlying GtkActivateAction instance.

    Declaration

    Swift

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

    Typed pointer to the underlying GtkActivateAction instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GtkActivateAction instance.

    Declaration

    Swift

    var activate_action_ptr: UnsafeMutablePointer<GtkActivateAction>! { get }
  • Required Initialiser for types conforming to ActivateActionProtocol

    Declaration

    Swift

    init(raw: UnsafeMutableRawPointer)