ui

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDesktop

func NewDesktop(app fyne.App, wm fynedesk.WindowManager, icons fynedesk.ApplicationProvider, screenProvider fynedesk.ScreenList) fynedesk.Desktop

NewDesktop creates a new desktop in fullscreen for main usage. The WindowManager passed in will be used to manage the screen it is loaded on. An ApplicationProvider is used to lookup application icons from the operating system.

func NewEmbeddedDesktop

func NewEmbeddedDesktop(app fyne.App, icons fynedesk.ApplicationProvider) fynedesk.Desktop

NewEmbeddedDesktop creates a new windowed desktop for test purposes. An ApplicationProvider is used to lookup application icons from the operating system. If run during CI for testing it will return an in-memory window using the fyne/test package.

func NewEmbeddedScreensProvider

func NewEmbeddedScreensProvider() fynedesk.ScreenList

NewEmbeddedScreensProvider returns a screen provider for use in embedded desktop mode

func ShowAppLauncher

func ShowAppLauncher()

ShowAppLauncher opens a new application launcher, closing an old one if it existed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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