Versions in this module Expand all Collapse all v2 v2.2.2 Dec 20, 2022 v2.2.1 Dec 19, 2022 Changes in this version + var Default = &App + func MergeDefaults(appoptions *App) + type App struct + AlwaysOnTop bool + AssetServer *assetserver.Options + Assets fs.FS + AssetsHandler http.Handler + BackgroundColour *RGBA + Bind []interface{} + CSSDragProperty string + CSSDragValue string + DisableResize bool + Experimental *Experimental + Frameless bool + Fullscreen bool + Height int + HideWindowOnClose bool + Linux *linux.Options + LogLevel logger.LogLevel + LogLevelProduction logger.LogLevel + Logger logger.Logger + Mac *mac.Options + MaxHeight int + MaxWidth int + Menu *menu.Menu + MinHeight int + MinWidth int + OnBeforeClose func(ctx context.Context) (prevent bool) + OnDomReady func(ctx context.Context) + OnShutdown func(ctx context.Context) + OnStartup func(ctx context.Context) + StartHidden bool + Title string + Width int + WindowStartState WindowStartState + Windows *windows.Options + type Experimental struct + type RGBA struct + A uint8 + B uint8 + G uint8 + R uint8 + func NewRGB(r, g, b uint8) *RGBA + func NewRGBA(r, g, b, a uint8) *RGBA + type WindowStartState int + const Fullscreen + const Maximised + const Minimised + const Normal