Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Latest commit

 

History

History
30 lines (23 loc) · 476 Bytes

canvas.md

File metadata and controls

30 lines (23 loc) · 476 Bytes
redirect_to layout tags title
page
api
Fyne API "desktop.Canvas"

desktop.Canvas


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

Usage

type Canvas

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.