redirect_to | layout | tags | title | |
---|---|---|---|---|
page |
|
Fyne API "desktop.Canvas" |
import "fyne.io/fyne/v2/driver/desktop"
type Canvas interface {
OnKeyDown() func(*fyne.KeyEvent)
SetOnKeyDown(func(*fyne.KeyEvent))
OnKeyUp() func(*fyne.KeyEvent)
SetOnKeyUp(func(*fyne.KeyEvent))
}
Canvas defines the desktop specific extensions to a fyne.Canvas.