ShortcutsShortcutRef

public struct ShortcutsShortcutRef : ShortcutsShortcutProtocol, GWeakCapturing

A GtkShortcutsShortcut represents a single keyboard shortcut or gesture with a short text.

This widget is only meant to be used with GtkShortcutsWindow.

The ShortcutsShortcutRef type acts as a lightweight Swift reference to an underlying GtkShortcutsShortcut instance. It exposes methods that can operate on this data type through ShortcutsShortcutProtocol conformance. Use ShortcutsShortcutRef only as an unowned reference to an existing GtkShortcutsShortcut instance.

  • ptr
    Untyped pointer to the underlying `GtkShortcutsShortcut` instance.
    

    For type-safe access, use the generated, typed pointer shortcuts_shortcut_ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

ShortcutsShortcut Class