application

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

Application is the main Wails application

func New

func New() *Application

New creates a new Application with the default options

func NewWithOptions

func NewWithOptions(options *options.App) *Application

NewWithOptions creates a new Application with the given options

func (*Application) Quit

func (a *Application) Quit()

Quit will shut down the application

func (*Application) Run

func (a *Application) Run() error

Run starts the application

func (*Application) SetApplicationMenu

func (a *Application) SetApplicationMenu(appMenu *menu.Menu)

SetApplicationMenu sets the application menu

Jump to

Keyboard shortcuts

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