gomobile

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2020 License: BSD-3-Clause Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 added in v1.3.0

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 ShowFolderOpenPicker added in v1.4.0

func ShowFolderOpenPicker(callback func(fyne.ListableURI, error))

ShowFolderOpenPicker loads the native folder open dialog and calls back the chosen directory path as a ListableURI.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL