ShortcutFunc

typealias ShortcutFunc = (widget: Widget, <Error class: unknown class>?) -> Boolean

Prototype for shortcuts based on user callbacks.

  • param widget The widget passed to the activation

  • param args The arguments passed to the activation

  • return true if the action was successful.