Fyne API "desktop.Cursor"


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


type Cursor

type Cursor interface {
	// Image returns the image for the given cursor, or nil if none should be shown.
	// It also returns the x and y pixels that should act as the hot-spot (measured from top left corner).
	Image() (image.Image, int, int)

Cursor interface is used for objects that desire a specific cursor.

Since: 2.0