adam-gui/vendor/fyne.io/fyne/v2/driver/desktop/canvas.go

12 lines
273 B
Go
Raw Permalink Normal View History

2024-04-29 19:13:50 +02:00
package desktop
import "fyne.io/fyne/v2"
// Canvas defines the desktop specific extensions to a fyne.Canvas.
type Canvas interface {
OnKeyDown() func(*fyne.KeyEvent)
SetOnKeyDown(func(*fyne.KeyEvent))
OnKeyUp() func(*fyne.KeyEvent)
SetOnKeyUp(func(*fyne.KeyEvent))
}