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 "mobile.Device"
mobile.Device
import "fyne.io/fyne/v2/driver/mobile"
Usage
type Device
type Device interface {
// Request that the mobile device show the touch screen keyboard (standard layout)
ShowVirtualKeyboard()
// Request that the mobile device show the touch screen keyboard (custom layout)
ShowVirtualKeyboardType(KeyboardType)
// Request that the mobile device dismiss the touch screen keyboard
HideVirtualKeyboard()
}
Device describes functionality only available on mobile