app

package
v2.8.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDebug

func IsDebug() bool

func IsDevtoolsEnabled added in v2.6.0

func IsDevtoolsEnabled() bool

IsDevtoolsEnabled returns true if devtools should be enabled Note: devtools flag is also added in debug builds

func IsObfuscated

func IsObfuscated() bool

IsObfuscated returns false if the obfuscated build tag is not set

func PreflightChecks

func PreflightChecks(_ *options.App, _ *logger.Logger) error

Types

type App

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

App defines a Wails application structure

func CreateApp

func CreateApp(_ *options.App) (*App, error)

CreateApp creates the app!

func (*App) Run

func (a *App) Run() error

func (*App) SetApplicationMenu added in v2.1.0

func (a *App) SetApplicationMenu(menu *menu.Menu)

SetApplicationMenu sets the application menu

func (*App) Shutdown

func (a *App) Shutdown()

Shutdown the application

Jump to

Keyboard shortcuts

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