MnemonicActionProtocol
public protocol MnemonicActionProtocol : ShortcutActionProtocol
A GtkShortcutAction
that calls gtk_widget_mnemonic_activate()
.
The MnemonicActionProtocol
protocol exposes the methods and properties of an underlying GtkMnemonicAction
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 MnemonicAction
.
Alternatively, use MnemonicActionRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GtkMnemonicAction
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
mnemonic_action_ptr
Default implementationTyped pointer to the underlying
GtkMnemonicAction
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GtkMnemonicAction
instance.Declaration
Swift
var mnemonic_action_ptr: UnsafeMutablePointer<GtkMnemonicAction>! { get }
-
Required Initialiser for types conforming to
MnemonicActionProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)