package gomobile
import "fyne.io/fyne/v2/internal/driver/gomobile"
Index ¶
- func NewCanvas() fyne.Canvas
- func NewGoMobileDriver() fyne.Driver
- func ShowFileOpenPicker(callback func(fyne.URIReadCloser, error), filter storage.FileFilter)
- func ShowFileSavePicker(callback func(fyne.URIWriteCloser, error), filter storage.FileFilter, filename string)
- func ShowFolderOpenPicker(callback func(fyne.ListableURI, error))
Functions ¶
func NewCanvas ¶
func NewCanvas() fyne.Canvas
NewCanvas creates a new gomobile mobileCanvas. This is a mobileCanvas that will render on a mobile device using OpenGL.
func NewGoMobileDriver ¶
func NewGoMobileDriver() fyne.Driver
NewGoMobileDriver sets up a new Driver instance implemented using the Go Mobile extension and OpenGL bindings.
func ShowFileOpenPicker ¶
func ShowFileOpenPicker(callback func(fyne.URIReadCloser, error), filter storage.FileFilter)
ShowFileOpenPicker loads the native file open dialog and returns the chosen file path via the callback func.
func ShowFileSavePicker ¶
func ShowFileSavePicker(callback func(fyne.URIWriteCloser, error), filter storage.FileFilter, filename string)
ShowFileSavePicker loads the native file save dialog and returns the chosen file path via the callback func.
func ShowFolderOpenPicker ¶
func ShowFolderOpenPicker(callback func(fyne.ListableURI, error))
ShowFolderOpenPicker loads the native folder open dialog and calls back the chosen directory path as a ListableURI.
Source Files ¶
animation.go canvas.go clipboard.go clipboard_desktop.go device.go device_desktop.go driver.go file.go file_desktop.go folder.go folder_desktop.go keyboard.go menu.go menubutton.go repository.go uri.go window.go
- Version
- v2.0.3-rc2
- Published
- Apr 28, 2021
- Platform
- js/wasm
- Imports
- 33 packages
- Last checked
- 52 minutes ago –
Tools for package owners.