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.Driver"
desktop.Driver
import "fyne.io/fyne/v2/driver/desktop"
Usage
type Driver
type Driver interface {
// Create a new borderless window that is centered on screen
CreateSplashWindow() fyne.Window
// Gets the set of key modifiers that are currently active
//
// Since: 2.4
CurrentKeyModifiers() fyne.KeyModifier
}
Driver represents the extended capabilities of a desktop driver