Upgrade to v2.5
Fyne API v2.5
app
canvas
container
data/binding
data/validation
dialog
driver
package driver
AndroidContext
AndroidWindowContext
MacWindowContext
NativeWindow
UnknownContext
WaylandWindowContext
WindowsWindowContext
X11WindowContext
driver/desktop
package desktop
App
Canvas
Cursor
Cursorable
CustomShortcut
Driver
Hoverable
Keyable
Modifier
Mouseable
MouseButton
MouseEvent
StandardCursor
driver/mobile
driver/software
lang
layout
storage
storage/repository
test
theme
widget
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