Upgrade to v2.7
Fyne API v2.7
app
canvas
container
data/binding
data/validation
dialog
driver
package driver
AndroidContext
AndroidContext
AndroidWindowContext
AndroidWindowContext
MacWindowContext
MacWindowContext
NativeWindow
NativeWindow
UnknownContext
UnknownContext
WaylandWindowContext
WaylandWindowContext
WindowsWindowContext
WindowsWindowContext
X11WindowContext
X11WindowContext
driver/desktop
package desktop
App
App
Canvas
Canvas
Cursor
Cursor
Cursorable
Cursorable
CustomShortcut
CustomShortcut
Driver
Driver
Hoverable
Hoverable
Keyable
Keyable
Modifier
Modifier
Mouseable
Mouseable
MouseButton
MouseButton
MouseEvent
MouseEvent
StandardCursor
StandardCursor
driver/embedded
package embedded
CharacterEvent
Driver
Event
KeyDirection
KeyEvent
TouchDownEvent
TouchMoveEvent
TouchUpEvent
driver/mobile
package mobile
Device
Device
Driver
Driver
Keyboardable
Keyboardable
KeyboardType
KeyboardType
Touchable
Touchable
TouchEvent
TouchEvent
driver/software
lang
layout
storage
storage/repository
test
theme
widget
Fyne API "driver.NativeWindow"
driver.NativeWindow
import "fyne.io/fyne/v2/driver"
Usage
type NativeWindow
type NativeWindow interface {
// RunNative provides a way to execute code within the platform-specific runtime context for a window.
// The context types are defined in the `driver` package and the specific context passed will differ by platform.
RunNative(func(context any))
}
NativeWindow is an extension interface for fyne.Window that gives access to platform-native features of application windows.
Since:
2.5