Fyne API "desktop.StandardCursor"
desktop.StandardCursor
import "fyne.io/fyne/v2/driver/desktop"
Usage
type StandardCursor
type StandardCursor int
StandardCursor represents a standard Fyne cursor. These values were previously of type fyne.Cursor
.
Since:
2.0
const (
// DefaultCursor is the default cursor typically an arrow
DefaultCursor StandardCursor = iota
// TextCursor is the cursor often used to indicate text selection
TextCursor
// CrosshairCursor is the cursor often used to indicate bitmaps
CrosshairCursor
// PointerCursor is the cursor often used to indicate a link
PointerCursor
// HResizeCursor is the cursor often used to indicate horizontal resize
HResizeCursor
// VResizeCursor is the cursor often used to indicate vertical resize
VResizeCursor
// HiddenCursor will cause the cursor to not be shown
HiddenCursor
)
func (StandardCursor) Image
func (d StandardCursor) Image() (image.Image, int, int)
Image is not used for any of the StandardCursor types.
Since:
2.0