Fyne API "desktop.Keyable"

desktop.Keyable


import "fyne.io/fyne/driver/desktop"

Usage

type Keyable

type Keyable interface {
	fyne.Focusable

	KeyDown(*fyne.KeyEvent)
	KeyUp(*fyne.KeyEvent)
}

Keyable describes any focusable canvas object that can accept desktop key events. This is the traditional key down and up event that is not applicable to all devices.