ShortcutScope

public extension ShortcutScope
  • Cast constructor, converting any binary integer to a ShortcutScope.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Shortcuts are handled inside the widget the controller belongs to.

    Declaration

    Swift

    static let local: GtkShortcutScope
  • Shortcuts are handled by the first ancestor that is a GtkShortcutManager

    Declaration

    Swift

    static let managed: GtkShortcutScope
  • Shortcuts are handled by the root widget.

    Declaration

    Swift

    static let global: GtkShortcutScope