Fyne API fyne
fyne
import "fyne.io/fyne"
Usage
type ShortcutHandler
type ShortcutHandler struct {
}
ShortcutHandler is a default implementation of the shortcut handler for the canvasObject
func (*ShortcutHandler) AddShortcut
func (sh *ShortcutHandler) AddShortcut(shortcut Shortcut, handler func(shortcut Shortcut))
AddShortcut register an handler to be executed when the shortcut action is triggered
func (*ShortcutHandler) TypedShortcut
func (sh *ShortcutHandler) TypedShortcut(shortcut Shortcut)
TypedShortcut handle the registered shortcut