Versions in this module Expand all Collapse all v3 v3.0.2 Mar 8, 2026 Changes in this version type MacWindowTabbingMode + const MacWindowTabbingModeDefault v3.0.1 Feb 6, 2026 Changes in this version + const ApplicationHide + const ApplicationQuit + const ApplicationShow + const BrowserOpenURL + const CONTEXT_FILENAME + const CONTEXT_OPENED_FILES + const CONTEXT_URL + const CallBinding + const Capabilities + const ClipboardSetText + const ClipboardText + const CmdOrCtrlKey + const ContextMenuOpen + const ControlKey + const DialogError + const DialogInfo + const DialogOpenFile + const DialogQuestion + const DialogSaveFile + const DialogWarning + const Environment + const EventsEmit + const Flags + const MenuItemMsgID — windows/amd64 + const NSAlertStyleCritical — darwin/amd64 + const NSAlertStyleInformational — darwin/amd64 + const NSAlertStyleWarning — darwin/amd64 + const NSEventModifierFlagCommand — darwin/amd64 + const NSEventModifierFlagControl — darwin/amd64 + const NSEventModifierFlagOption — darwin/amd64 + const NSEventModifierFlagShift — darwin/amd64 + const NSImageAbove + const NSImageBelow + const NSImageLeading + const NSImageLeft + const NSImageNone + const NSImageOnly + const NSImageOverlaps + const NSImageRight + const NSImageTrailing + const OptionOrAltKey + const ScreensGetAll + const ScreensGetCurrent + const ScreensGetPrimary + const ShiftKey + const SuperKey + const SystemIsDarkMode + const WindowCenter + const WindowClose + const WindowDisableSizeConstraints + const WindowEnableSizeConstraints + const WindowFilesDropped + const WindowFocus + const WindowForceReload + const WindowFullscreen + const WindowGetScreen + const WindowGetZoom + const WindowHeight + const WindowHide + const WindowIsFocused + const WindowIsFullscreen + const WindowIsMaximised + const WindowIsMinimised + const WindowKey + const WindowMaximise + const WindowMinimise + const WindowName + const WindowOpenDevTools + const WindowPosition + const WindowPrint + const WindowRelativePosition + const WindowReload + const WindowResizable + const WindowRestore + const WindowSetAlwaysOnTop + const WindowSetBackgroundColour + const WindowSetFrameless + const WindowSetFullscreenButtonEnabled + const WindowSetMaxSize + const WindowSetMinSize + const WindowSetPosition + const WindowSetRelativePosition + const WindowSetResizable + const WindowSetSize + const WindowSetTitle + const WindowSetZoom + const WindowShow + const WindowSize + const WindowSnapAssist + const WindowToggleFrameless + const WindowToggleFullscreen + const WindowToggleMaximise + const WindowUnFullscreen + const WindowUnMaximise + const WindowUnMinimise + const WindowWidth + const WindowZoom + const WindowZoomIn + const WindowZoomOut + const WindowZoomReset + var AlphaAssets = AssetOptions + var BuildInfo *debug.BuildInfo + var BuildSettings map[string]string + var DefaultServiceOptions = ServiceOptions + var Disabled = u.False + var Enabled = u.True + var MacTitleBarDefault = MacTitleBar + var MacTitleBarHidden = MacTitleBar + var MacTitleBarHiddenInset = MacTitleBar + var MacTitleBarHiddenInsetUnified = MacTitleBar + var VirtualKeyCodes = map[uint]string — linux/amd64, windows/amd64 + func AssetFileServerFS(assets fs.FS) http.Handler + func BundledAssetFileServer(assets fs.FS) http.Handler + func DefaultLogger(level slog.Leveler) *slog.Logger + func Fatal(message string, args ...any) + func HandleOpenFile(filePath *C.char) — darwin/amd64 + func HandleOpenURL(urlCString *C.char) — darwin/amd64 + func InvokeAsync(fn func()) + func InvokeSync(fn func()) + func InvokeSyncWithError(fn func() error) (err error) + func InvokeSyncWithResultAndError[T any](fn func() (T, error)) (res T, err error) + func InvokeSyncWithResultAndOther[T any, U any](fn func() (T, U)) (res T, other U) + func InvokeSyncWithResult[T any](fn func() T) (res T) + func NewIconFromResource(instance w32.HINSTANCE, resId uint16) (w32.HICON, error) — windows/amd64 + func NewRGBPtr(red, green, blue uint8) *uint32 + func Path(selector PathType) string + func Paths(selector PathTypes) []string + func RegisterEvent[Data any](name string) + func ScaleWithDPI(pixels int, dpi uint) int — windows/amd64 + func ToARGB(img *image.RGBA) (int, int, []byte) + func ValidateAndSanitizeURL(rawURL string) (string, error) + type ActivationPolicy int + const ActivationPolicyAccessory + const ActivationPolicyProhibited + const ActivationPolicyRegular + type Alignment int + const BOTTOM + const LEFT + const RIGHT + const TOP + type AndroidOptions struct + BackgroundColour RGBA + DisableHardwareAcceleration bool + DisableOverscroll bool + DisableScroll bool + EnableZoom bool + UserAgent string + type App struct + Browser *BrowserManager + Clipboard *ClipboardManager + ContextMenu *ContextMenuManager + Dialog *DialogManager + Env *EnvironmentManager + Event *EventManager + KeyBinding *KeyBindingManager + Logger *slog.Logger + Menu *MenuManager + Screen *ScreenManager + SystemTray *SystemTrayManager + Window *WindowManager + func Get() *App + func New(appOptions Options) *App + func (a *App) Capabilities() capabilities.Capabilities + func (a *App) Config() Options + func (a *App) Context() context.Context + func (a *App) GetPID() int + func (a *App) Hide() + func (a *App) NewMenu() *Menu + func (a *App) OnShutdown(f func()) + func (a *App) Quit() + func (a *App) RegisterService(service Service) + func (a *App) Run() error + func (a *App) SetIcon(icon []byte) + func (a *App) Show() + type ApplicationEvent struct + Id uint + func (w *ApplicationEvent) Cancel() + func (w *ApplicationEvent) Context() *ApplicationEventContext + func (w *ApplicationEvent) IsCancelled() bool + type ApplicationEventContext struct + func (c ApplicationEventContext) Filename() string + func (c ApplicationEventContext) HasVisibleWindows() bool + func (c ApplicationEventContext) IsDarkMode() bool + func (c ApplicationEventContext) OpenedFiles() []string + func (c ApplicationEventContext) URL() string + type Args struct + func (a *Args) AsMap() *MapArgs + func (a *Args) String() string + func (a *Args) ToStruct(str any) error + func (a *Args) UnmarshalJSON(data []byte) error + type AssetOptions struct + DisableLogging bool + Handler http.Handler + Middleware Middleware + type AssetServerTransport interface + ServeAssets func(assetHandler http.Handler) error + type BackdropType int32 + const Acrylic + const Auto + const Mica + const None + const Tabbed + type BackgroundType int + const BackgroundTypeSolid + const BackgroundTypeTranslucent + const BackgroundTypeTransparent + type Bindings struct + func NewBindings(marshalError func(error) []byte, aliases map[uint32]uint32) *Bindings + func (b *Bindings) Add(service Service) error + func (b *Bindings) Get(options *CallOptions) *BoundMethod + func (b *Bindings) GetByID(id uint32) *BoundMethod + type BoundMethod struct + Comments string + FQN string + ID uint32 + Inputs []*Parameter + Method reflect.Value + Name string + Outputs []*Parameter + func (b *BoundMethod) Call(ctx context.Context, args []json.RawMessage) (result any, err error) + func (b *BoundMethod) String() string + type BrowserManager struct + func (bm *BrowserManager) OpenFile(path string) error + func (bm *BrowserManager) OpenURL(url string) error + type Button struct + Callback func() + IsCancel bool + IsDefault bool + Label string + func (b *Button) OnClick(callback func()) *Button + func (b *Button) SetAsCancel() *Button + func (b *Button) SetAsDefault() *Button + type ButtonState int + const ButtonDisabled + const ButtonEnabled + const ButtonHidden + type CallError struct + Cause any + Kind ErrorKind + Message string + func (e *CallError) Error() string + type CallOptions struct + Args []json.RawMessage + MethodID uint32 + MethodName string + type Calloc struct — linux/amd64 + func NewCalloc() Calloc + func (c Calloc) Free() + func (c Calloc) String(in string) *C.char + type Clipboard struct + func (c *Clipboard) SetText(text string) bool + func (c *Clipboard) Text() (string, bool) + type ClipboardManager struct + func (cm *ClipboardManager) SetText(text string) bool + func (cm *ClipboardManager) Text() (string, bool) + type Context struct + func (c *Context) ClickedMenuItem() *MenuItem + func (c *Context) ContextMenuData() string + func (c *Context) IsChecked() bool + type ContextMenu struct + func NewContextMenu(name string) *ContextMenu + func (m *ContextMenu) Destroy() + func (m *ContextMenu) Update() + type ContextMenuData struct + Data string + Id string + X int + Y int + type ContextMenuManager struct + func (cmm *ContextMenuManager) Add(name string, menu *ContextMenu) + func (cmm *ContextMenuManager) Get(name string) (*ContextMenu, bool) + func (cmm *ContextMenuManager) GetAll() []*ContextMenu + func (cmm *ContextMenuManager) New() *ContextMenu + func (cmm *ContextMenuManager) Remove(name string) + type CoreWebView2PermissionKind uint32 + const CoreWebView2PermissionKindCamera + const CoreWebView2PermissionKindClipboardRead + const CoreWebView2PermissionKindGeolocation + const CoreWebView2PermissionKindMicrophone + const CoreWebView2PermissionKindNotifications + const CoreWebView2PermissionKindOtherSensors + const CoreWebView2PermissionKindUnknownPermission + type CoreWebView2PermissionState uint32 + const CoreWebView2PermissionStateAllow + const CoreWebView2PermissionStateDefault + const CoreWebView2PermissionStateDeny + type CustomEvent struct + Data any + Name string + Sender string + func (e *CustomEvent) Cancel() + func (e *CustomEvent) IsCancelled() bool + func (e *CustomEvent) ToJSON() string + type DialogManager struct + func (dm *DialogManager) Error() *MessageDialog + func (dm *DialogManager) Info() *MessageDialog + func (dm *DialogManager) OpenFile() *OpenFileDialogStruct + func (dm *DialogManager) OpenFileWithOptions(options *OpenFileDialogOptions) *OpenFileDialogStruct + func (dm *DialogManager) Question() *MessageDialog + func (dm *DialogManager) SaveFile() *SaveFileDialogStruct + func (dm *DialogManager) SaveFileWithOptions(options *SaveFileDialogOptions) *SaveFileDialogStruct + func (dm *DialogManager) Warning() *MessageDialog + type DialogType int + const ErrorDialogType + const InfoDialogType + const QuestionDialogType + const WarningDialogType + type DropTargetDetails struct + Attributes map[string]string + ClassList []string + ElementID string + X int + Y int + type ElementDetailsPayload struct + Attributes map[string]string + ClassList []string + ID string + type EnvironmentInfo struct + Arch string + Debug bool + OS string + OSInfo *operatingsystem.OS + PlatformInfo map[string]any + type EnvironmentManager struct + func (em *EnvironmentManager) GetAccentColor() string + func (em *EnvironmentManager) HasFocusFollowsMouse() bool + func (em *EnvironmentManager) Info() EnvironmentInfo + func (em *EnvironmentManager) IsDarkMode() bool + func (em *EnvironmentManager) OpenFileManager(path string, selectFile bool) error + type ErrorKind string + const ReferenceError + const RuntimeError + const TypeError + type EventIPCTransport struct + func (t *EventIPCTransport) DispatchWailsEvent(event *CustomEvent) + type EventListener struct + type EventManager struct + func (em *EventManager) Emit(name string, data ...any) bool + func (em *EventManager) EmitEvent(event *CustomEvent) bool + func (em *EventManager) Off(name string) + func (em *EventManager) On(name string, callback func(event *CustomEvent)) func() + func (em *EventManager) OnApplicationEvent(eventType events.ApplicationEventType, callback func(event *ApplicationEvent)) func() + func (em *EventManager) OnMultiple(name string, callback func(event *CustomEvent), counter int) + func (em *EventManager) RegisterApplicationEventHook(eventType events.ApplicationEventType, callback func(event *ApplicationEvent)) func() + func (em *EventManager) Reset() + type EventProcessor struct + func NewWailsEventProcessor(dispatchEventToWindows func(*CustomEvent)) *EventProcessor + func (e *EventProcessor) Emit(thisEvent *CustomEvent) error + func (e *EventProcessor) Off(eventName string) + func (e *EventProcessor) OffAll() + func (e *EventProcessor) On(eventName string, callback func(event *CustomEvent)) func() + func (e *EventProcessor) OnMultiple(eventName string, callback func(event *CustomEvent), counter int) func() + func (e *EventProcessor) Once(eventName string, callback func(event *CustomEvent)) func() + func (e *EventProcessor) RegisterHook(eventName string, callback func(*CustomEvent)) func() + type FatalError struct + func (e *FatalError) Error() string + func (e *FatalError) Internal() bool + func (e *FatalError) Unwrap() error + type FileFilter struct + DisplayName string + Pattern string + type GSList C.GSList — linux/amd64 + type GSListPointer *GSList — linux/amd64 + type HTTPTransport struct + func NewHTTPTransport(opts ...HTTPTransportOption) *HTTPTransport + func (t *HTTPTransport) Handler() func(next http.Handler) http.Handler + func (t *HTTPTransport) JSClient() []byte + func (t *HTTPTransport) Start(ctx context.Context, processor *MessageProcessor) error + func (t *HTTPTransport) Stop() error + type HTTPTransportOption func(*HTTPTransport) + func HTTPTransportWithLogger(logger *slog.Logger) HTTPTransportOption + type IOSOptions struct + AppBackgroundColourSet bool + ApplicationNameForUserAgent string + BackgroundColour RGBA + DisableBounce bool + DisableInputAccessoryView bool + DisableInspectable bool + DisableLinkPreview bool + DisableScroll bool + DisableScrollIndicators bool + EnableAutoplayWithoutUserAction bool + EnableBackForwardNavigationGestures bool + EnableInlineMediaPlayback bool + EnableNativeTabs bool + NativeTabsItems []NativeTabItem + UserAgent string + type IconPosition int + type KeyBinding struct + Accelerator string + Callback func(window Window) + type KeyBindingManager struct + func (kbm *KeyBindingManager) Add(accelerator string, callback func(window Window)) + func (kbm *KeyBindingManager) GetAll() []*KeyBinding + func (kbm *KeyBindingManager) Process(accelerator string, window Window) bool + func (kbm *KeyBindingManager) Remove(accelerator string) + type LRTB struct + Bottom int + Left int + Right int + Top int + type LinuxMenuStyle int + const LinuxMenuStyleMenuBar + const LinuxMenuStylePrimaryMenu + type LinuxOptions struct + DisableQuitOnLastWindowClosed bool + ProgramName string + type LinuxWindow struct + Icon []byte + Menu *Menu + MenuStyle LinuxMenuStyle + WebviewGpuPolicy WebviewGpuPolicy + WindowDidMoveDebounceMS uint16 + WindowIsTranslucent bool + type MacAppearanceType string + const DefaultAppearance + const NSAppearanceNameAccessibilityHighContrastAqua + const NSAppearanceNameAccessibilityHighContrastDarkAqua + const NSAppearanceNameAccessibilityHighContrastVibrantDark + const NSAppearanceNameAccessibilityHighContrastVibrantLight + const NSAppearanceNameAqua + const NSAppearanceNameDarkAqua + const NSAppearanceNameVibrantLight + type MacBackdrop int + const MacBackdropLiquidGlass + const MacBackdropNormal + const MacBackdropTranslucent + const MacBackdropTransparent + type MacLiquidGlass struct + CornerRadius float64 + GroupID string + GroupSpacing float64 + Material NSVisualEffectMaterial + Style MacLiquidGlassStyle + TintColor *RGBA + type MacLiquidGlassStyle int + const LiquidGlassStyleAutomatic + const LiquidGlassStyleDark + const LiquidGlassStyleLight + const LiquidGlassStyleVibrant + type MacOptions struct + ActivationPolicy ActivationPolicy + ApplicationShouldTerminateAfterLastWindowClosed bool + type MacTitleBar struct + AppearsTransparent bool + FullSizeContent bool + Hide bool + HideTitle bool + HideToolbarSeparator bool + ShowToolbarWhenFullscreen bool + ToolbarStyle MacToolbarStyle + UseToolbar bool + type MacToolbarStyle int + const MacToolbarStyleAutomatic + const MacToolbarStyleExpanded + const MacToolbarStylePreference + const MacToolbarStyleUnified + const MacToolbarStyleUnifiedCompact + type MacWebviewPreferences struct + AllowsBackForwardNavigationGestures u.Bool + FullscreenEnabled u.Bool + TabFocusesLinks u.Bool + TextInteractionEnabled u.Bool + type MacWindow struct + Appearance MacAppearanceType + Backdrop MacBackdrop + CollectionBehavior MacWindowCollectionBehavior + DisableShadow bool + EnableFraudulentWebsiteWarnings bool + EventMapping map[events.WindowEventType]events.WindowEventType + InvisibleTitleBarHeight int + LiquidGlass MacLiquidGlass + TabbingMode MacWindowTabbingMode + TitleBar MacTitleBar + WebviewPreferences MacWebviewPreferences + WindowLevel MacWindowLevel + type MacWindowCollectionBehavior int + const MacWindowCollectionBehaviorCanJoinAllSpaces + const MacWindowCollectionBehaviorDefault + const MacWindowCollectionBehaviorFullScreenAllowsTiling + const MacWindowCollectionBehaviorFullScreenAuxiliary + const MacWindowCollectionBehaviorFullScreenDisallowsTiling + const MacWindowCollectionBehaviorFullScreenNone + const MacWindowCollectionBehaviorFullScreenPrimary + const MacWindowCollectionBehaviorIgnoresCycle + const MacWindowCollectionBehaviorManaged + const MacWindowCollectionBehaviorMoveToActiveSpace + const MacWindowCollectionBehaviorParticipatesInCycle + const MacWindowCollectionBehaviorStationary + const MacWindowCollectionBehaviorTransient + type MacWindowLevel string + const MacWindowLevelFloating + const MacWindowLevelMainMenu + const MacWindowLevelModalPanel + const MacWindowLevelNormal + const MacWindowLevelPopUpMenu + const MacWindowLevelScreenSaver + const MacWindowLevelStatus + const MacWindowLevelTornOffMenu + type MacWindowTabbingMode string + const MacWindowTabbingModeAutomatic + const MacWindowTabbingModeDisallowed + const MacWindowTabbingModePreferred + type MapArgs struct + func (a *MapArgs) Bool(s string) *bool + func (a *MapArgs) Float64(s string) *float64 + func (a *MapArgs) Int(s string) *int + func (a *MapArgs) String(key string) *string + func (a *MapArgs) UInt(s string) *uint + func (a *MapArgs) UInt8(s string) *uint8 + type Menu struct + func DefaultApplicationMenu() *Menu + func NewMenu() *Menu + func NewMenuFromItems(item *MenuItem, items ...*MenuItem) *Menu + func (m *Menu) Add(label string) *MenuItem + func (m *Menu) AddCheckbox(label string, enabled bool) *MenuItem + func (m *Menu) AddRadio(label string, enabled bool) *MenuItem + func (m *Menu) AddRole(role Role) *Menu + func (m *Menu) AddSeparator() + func (m *Menu) AddSubmenu(s string) *Menu + func (m *Menu) Append(in *Menu) + func (m *Menu) Clear() + func (m *Menu) Clone() *Menu + func (m *Menu) Destroy() + func (m *Menu) FindByLabel(label string) *MenuItem + func (m *Menu) FindByRole(role Role) *MenuItem + func (m *Menu) ItemAt(index int) *MenuItem + func (m *Menu) Prepend(in *Menu) + func (m *Menu) RemoveMenuItem(target *MenuItem) + func (m *Menu) SetLabel(label string) + func (m *Menu) Update() + type MenuBarTheme struct + Default *TextTheme + Hover *TextTheme + Selected *TextTheme + type MenuItem struct + func NewAboutMenuItem() *MenuItem + func NewAppMenu() *MenuItem + func NewBringAllToFrontMenuItem() *MenuItem + func NewCloseMenuItem() *MenuItem + func NewCopyMenuItem() *MenuItem + func NewCutMenuItem() *MenuItem + func NewDeleteMenuItem() *MenuItem + func NewEditMenu() *MenuItem + func NewFileMenu() *MenuItem + func NewFindAndReplaceMenuItem() *MenuItem + func NewFindMenuItem() *MenuItem + func NewFindNextMenuItem() *MenuItem + func NewFindPreviousMenuItem() *MenuItem + func NewForceReloadMenuItem() *MenuItem + func NewFrontMenuItem() *MenuItem + func NewFullScreenMenuItem() *MenuItem + func NewHelpMenu() *MenuItem + func NewHelpMenuItem() *MenuItem + func NewHideMenuItem() *MenuItem + func NewHideOthersMenuItem() *MenuItem + func NewMenuItem(label string) *MenuItem + func NewMenuItemCheckbox(label string, checked bool) *MenuItem + func NewMenuItemRadio(label string, checked bool) *MenuItem + func NewMenuItemSeparator() *MenuItem + func NewMinimiseMenuItem() *MenuItem + func NewNewFileMenuItem() *MenuItem + func NewOpenDevToolsMenuItem() *MenuItem + func NewOpenMenuItem() *MenuItem + func NewPageLayoutMenuItem() *MenuItem + func NewPasteAndMatchStyleMenuItem() *MenuItem + func NewPasteMenuItem() *MenuItem + func NewPrintMenuItem() *MenuItem + func NewQuitMenuItem() *MenuItem + func NewRedoMenuItem() *MenuItem + func NewReloadMenuItem() *MenuItem + func NewRevertMenuItem() *MenuItem + func NewRole(role Role) *MenuItem + func NewSaveAsMenuItem() *MenuItem + func NewSaveMenuItem() *MenuItem + func NewSelectAllMenuItem() *MenuItem + func NewServicesMenu() *MenuItem + func NewShowAllMenuItem() *MenuItem + func NewSpeechMenu() *MenuItem + func NewStartSpeakingMenuItem() *MenuItem + func NewStopSpeakingMenuItem() *MenuItem + func NewSubMenuItem(label string) *MenuItem + func NewSubmenu(s string, items *Menu) *MenuItem + func NewToggleFullscreenMenuItem() *MenuItem + func NewUndoMenuItem() *MenuItem + func NewUnhideMenuItem() *MenuItem + func NewViewMenu() *MenuItem + func NewWindowMenu() *MenuItem + func NewZoomInMenuItem() *MenuItem + func NewZoomMenuItem() *MenuItem + func NewZoomOutMenuItem() *MenuItem + func NewZoomResetMenuItem() *MenuItem + func (m *MenuItem) Checked() bool + func (m *MenuItem) Clone() *MenuItem + func (m *MenuItem) Destroy() + func (m *MenuItem) Enabled() bool + func (m *MenuItem) GetAccelerator() string + func (m *MenuItem) GetSubmenu() *Menu + func (m *MenuItem) Hidden() bool + func (m *MenuItem) IsCheckbox() bool + func (m *MenuItem) IsRadio() bool + func (m *MenuItem) IsSeparator() bool + func (m *MenuItem) IsSubmenu() bool + func (m *MenuItem) Label() string + func (m *MenuItem) OnClick(f func(*Context)) *MenuItem + func (m *MenuItem) RemoveAccelerator() + func (m *MenuItem) SetAccelerator(shortcut string) *MenuItem + func (m *MenuItem) SetBitmap(bitmap []byte) *MenuItem + func (m *MenuItem) SetChecked(checked bool) *MenuItem + func (m *MenuItem) SetEnabled(enabled bool) *MenuItem + func (m *MenuItem) SetHidden(hidden bool) *MenuItem + func (m *MenuItem) SetLabel(s string) *MenuItem + func (m *MenuItem) SetRole(role Role) *MenuItem + func (m *MenuItem) SetTooltip(s string) *MenuItem + func (m *MenuItem) Tooltip() string + type MenuManager struct + func (mm *MenuManager) GetApplicationMenu() *Menu + func (mm *MenuManager) New() *Menu + func (mm *MenuManager) Set(menu *Menu) + func (mm *MenuManager) SetApplicationMenu(menu *Menu) + func (mm *MenuManager) ShowAbout() + type MessageDialog struct + func (d *MessageDialog) AddButton(s string) *Button + func (d *MessageDialog) AddButtons(buttons []*Button) *MessageDialog + func (d *MessageDialog) AttachToWindow(window Window) *MessageDialog + func (d *MessageDialog) SetCancelButton(button *Button) *MessageDialog + func (d *MessageDialog) SetDefaultButton(button *Button) *MessageDialog + func (d *MessageDialog) SetIcon(icon []byte) *MessageDialog + func (d *MessageDialog) SetMessage(message string) *MessageDialog + func (d *MessageDialog) SetTitle(title string) *MessageDialog + func (d *MessageDialog) Show() + type MessageDialogOptions struct + Buttons []*Button + DialogType DialogType + Icon []byte + Message string + Title string + type MessageProcessor struct + func NewMessageProcessor(logger *slog.Logger) *MessageProcessor + func (m *MessageProcessor) Debug(message string, args ...any) + func (m *MessageProcessor) Error(message string, args ...any) + func (m *MessageProcessor) HandleRuntimeCallWithIDs(ctx context.Context, req *RuntimeRequest) (resp any, err error) + type Middleware func(next http.Handler) http.Handler + func ChainMiddleware(middleware ...Middleware) Middleware + type NSVisualEffectMaterial int + const NSVisualEffectMaterialAppearanceBased + const NSVisualEffectMaterialAuto + const NSVisualEffectMaterialContentBackground + const NSVisualEffectMaterialDark + const NSVisualEffectMaterialFullScreenUI + const NSVisualEffectMaterialHUDWindow + const NSVisualEffectMaterialHeaderView + const NSVisualEffectMaterialLight + const NSVisualEffectMaterialMenu + const NSVisualEffectMaterialPopover + const NSVisualEffectMaterialSelection + const NSVisualEffectMaterialSheet + const NSVisualEffectMaterialSidebar + const NSVisualEffectMaterialTitlebar + const NSVisualEffectMaterialToolTip + const NSVisualEffectMaterialUnderPageBackground + const NSVisualEffectMaterialUnderWindowBackground + const NSVisualEffectMaterialWindowBackground + type NativeTabIcon string + const NativeTabIconBell + const NativeTabIconFolder + const NativeTabIconGear + const NativeTabIconHouse + const NativeTabIconList + const NativeTabIconMagnify + const NativeTabIconNone + const NativeTabIconPerson + const NativeTabIconStar + type NativeTabItem struct + SystemImage NativeTabIcon + Title string + type OffsetReference int + const BEGIN + const END + type OpenFileDialogOptions struct + AllowsMultipleSelection bool + AllowsOtherFileTypes bool + ButtonText string + CanChooseDirectories bool + CanChooseFiles bool + CanCreateDirectories bool + CanSelectHiddenExtension bool + Directory string + Filters []FileFilter + HideExtension bool + Message string + ResolvesAliases bool + ShowHiddenFiles bool + Title string + TreatsFilePackagesAsDirectories bool + Window Window + type OpenFileDialogStruct struct + func (d *OpenFileDialogStruct) AddFilter(displayName, pattern string) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) AllowsOtherFileTypes(allowsOtherFileTypes bool) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) AttachToWindow(window Window) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) CanChooseDirectories(canChooseDirectories bool) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) CanChooseFiles(canChooseFiles bool) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) CanCreateDirectories(canCreateDirectories bool) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) CanSelectHiddenExtension(canSelectHiddenExtension bool) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) HideExtension(hideExtension bool) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) PromptForMultipleSelection() ([]string, error) + func (d *OpenFileDialogStruct) PromptForSingleSelection() (string, error) + func (d *OpenFileDialogStruct) ResolvesAliases(resolvesAliases bool) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) SetButtonText(text string) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) SetDirectory(directory string) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) SetMessage(message string) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) SetOptions(options *OpenFileDialogOptions) + func (d *OpenFileDialogStruct) SetTitle(title string) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) ShowHiddenFiles(showHiddenFiles bool) *OpenFileDialogStruct + func (d *OpenFileDialogStruct) TreatsFilePackagesAsDirectories(treatsFilePackagesAsDirectories bool) *OpenFileDialogStruct + type Options struct + Android AndroidOptions + Assets AssetOptions + BindAliases map[uint32]uint32 + Description string + DisableDefaultSignalHandler bool + ErrorHandler func(err error) + FileAssociations []string + Flags map[string]any + IOS IOSOptions + Icon []byte + KeyBindings map[string]func(window Window) + Linux LinuxOptions + LogLevel slog.Level + Logger *slog.Logger + Mac MacOptions + MarshalError func(error) []byte + Name string + OnShutdown func() + PanicHandler func(*PanicDetails) + PostShutdown func() + RawMessageHandler func(window Window, message string, originInfo *OriginInfo) + Server ServerOptions + Services []Service + ShouldQuit func() bool + SingleInstance *SingleInstanceOptions + Transport Transport + WarningHandler func(string) + Windows WindowsOptions + type OriginInfo struct + IsMainFrame bool + Origin string + TopOrigin string + type PX struct — linux/amd64 + H int + Pix []byte + W int + type PanicDetails struct + Error error + FullStackTrace string + StackTrace string + Time time.Time + type Parameter struct + Name string + ReflectType reflect.Type + TypeName string + func (p *Parameter) IsError() bool + func (p *Parameter) IsType(typename string) bool + type PathType int + const PathCacheHome + const PathConfigHome + const PathDataHome + const PathDesktop + const PathDocuments + const PathDownload + const PathHome + const PathMusic + const PathPictures + const PathPublicShare + const PathRuntimeDir + const PathStateHome + const PathTemplates + const PathVideos + type PathTypes int + const PathsApplicationDirs + const PathsConfigDirs + const PathsDataDirs + const PathsFontDirs + type Point struct + X int + Y int + func DipToPhysicalPoint(dipPoint Point) Point + func PhysicalToDipPoint(physicalPoint Point) Point + type RGBA struct + Alpha uint8 + Blue uint8 + Green uint8 + Red uint8 + func NewRGB(red, green, blue uint8) RGBA + func NewRGBA(red, green, blue, alpha uint8) RGBA + type RadioGroup []*RadioGroupMember — windows/amd64 + func (r *RadioGroup) Add(id int, item *MenuItem) + func (r *RadioGroup) Bounds() (int, int) + func (r *RadioGroup) MenuID(item *MenuItem) int + type RadioGroupMember struct — windows/amd64 + ID int + MenuItem *MenuItem + type Rect struct + Height int + Width int + X int + Y int + func DipToPhysicalRect(dipRect Rect) Rect + func PhysicalToDipRect(physicalRect Rect) Rect + func (r Rect) Contains(pt Point) bool + func (r Rect) Corner() Point + func (r Rect) InsideCorner() Point + func (r Rect) Intersect(otherRect Rect) Rect + func (r Rect) IsEmpty() bool + func (r Rect) Origin() Point + func (r Rect) Size() Size + type Role uint + const About + const AppMenu + const BringAllToFront + const CloseWindow + const Copy + const Cut + const Delete + const EditMenu + const FileMenu + const Find + const FindAndReplace + const FindNext + const FindPrevious + const ForceReload + const Front + const FullScreen + const Help + const HelpMenu + const Hide + const HideOthers + const Minimise + const NewFile + const NoRole + const Open + const OpenDevTools + const PageLayout + const Paste + const PasteAndMatchStyle + const Print + const Quit + const Redo + const Reload + const ResetZoom + const Revert + const Save + const SaveAs + const SelectAll + const ServicesMenu + const ShowAll + const SpeechMenu + const StartSpeaking + const StopSpeaking + const ToggleFullscreen + const UnHide + const Undo + const ViewMenu + const WindowMenu + const Zoom + const ZoomIn + const ZoomOut + type RuntimeRequest struct + Args *Args + ClientID string + Method int + Object int + WebviewWindowID uint32 + WebviewWindowName string + type SaveFileDialogOptions struct + AllowOtherFileTypes bool + ButtonText string + CanCreateDirectories bool + CanSelectHiddenExtension bool + Directory string + Filename string + Filters []FileFilter + HideExtension bool + Message string + ShowHiddenFiles bool + Title string + TreatsFilePackagesAsDirectories bool + Window Window + type SaveFileDialogStruct struct + func (d *SaveFileDialogStruct) AddFilter(displayName, pattern string) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) AllowsOtherFileTypes(allowOtherFileTypes bool) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) AttachToWindow(window Window) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) CanCreateDirectories(canCreateDirectories bool) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) CanSelectHiddenExtension(canSelectHiddenExtension bool) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) HideExtension(hideExtension bool) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) PromptForSingleSelection() (string, error) + func (d *SaveFileDialogStruct) SetButtonText(text string) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) SetDirectory(directory string) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) SetFilename(filename string) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) SetMessage(message string) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) SetOptions(options *SaveFileDialogOptions) + func (d *SaveFileDialogStruct) ShowHiddenFiles(showHiddenFiles bool) *SaveFileDialogStruct + func (d *SaveFileDialogStruct) TreatsFilePackagesAsDirectories(treatsFilePackagesAsDirectories bool) *SaveFileDialogStruct + type Screen struct + Bounds Rect + ID string + IsPrimary bool + Name string + PhysicalBounds Rect + PhysicalWorkArea Rect + Rotation float32 + ScaleFactor float32 + Size Size + WorkArea Rect + X int + Y int + func ScreenNearestDipPoint(dipPoint Point) *Screen + func ScreenNearestDipRect(dipRect Rect) *Screen + func ScreenNearestPhysicalPoint(physicalPoint Point) *Screen + func ScreenNearestPhysicalRect(physicalRect Rect) *Screen + func (s Screen) Origin() Point + type ScreenManager struct + func (m *ScreenManager) DipToPhysicalPoint(dipPoint Point) Point + func (m *ScreenManager) DipToPhysicalRect(dipRect Rect) Rect + func (m *ScreenManager) GetAll() []*Screen + func (m *ScreenManager) GetPrimary() *Screen + func (m *ScreenManager) LayoutScreens(screens []*Screen) error + func (m *ScreenManager) PhysicalToDipPoint(physicalPoint Point) Point + func (m *ScreenManager) PhysicalToDipRect(physicalRect Rect) Rect + func (m *ScreenManager) ScreenNearestDipPoint(dipPoint Point) *Screen + func (m *ScreenManager) ScreenNearestDipRect(dipRect Rect) *Screen + func (m *ScreenManager) ScreenNearestPhysicalPoint(physicalPoint Point) *Screen + func (m *ScreenManager) ScreenNearestPhysicalRect(physicalRect Rect) *Screen + type ScreenPlacement struct + type SecondInstanceData struct + AdditionalData map[string]string + Args []string + WorkingDir string + type ServerOptions struct + Host string + IdleTimeout time.Duration + Port int + ReadTimeout time.Duration + ShutdownTimeout time.Duration + TLS *TLSOptions + WriteTimeout time.Duration + type Service struct + func NewServiceWithOptions[T any](instance *T, options ServiceOptions) Service + func NewService[T any](instance *T) Service + func (s Service) Instance() any + type ServiceName interface + ServiceName func() string + type ServiceOptions struct + MarshalError func(error) []byte + Name string + Route string + type ServiceShutdown interface + ServiceShutdown func() error + type ServiceStartup interface + ServiceStartup func(ctx context.Context, options ServiceOptions) error + type SingleInstanceOptions struct + AdditionalData map[string]string + EncryptionKey [32]byte + ExitCode int + OnSecondInstanceLaunch func(data SecondInstanceData) + UniqueID string + type Size struct + Height int + Width int + type SystemTray struct + func (s *SystemTray) AttachWindow(window Window) *SystemTray + func (s *SystemTray) Destroy() + func (s *SystemTray) Hide() + func (s *SystemTray) HideWindow() + func (s *SystemTray) Label() string + func (s *SystemTray) OnClick(handler func()) *SystemTray + func (s *SystemTray) OnDoubleClick(handler func()) *SystemTray + func (s *SystemTray) OnMouseEnter(handler func()) *SystemTray + func (s *SystemTray) OnMouseLeave(handler func()) *SystemTray + func (s *SystemTray) OnRightClick(handler func()) *SystemTray + func (s *SystemTray) OnRightDoubleClick(handler func()) *SystemTray + func (s *SystemTray) OpenMenu() + func (s *SystemTray) PositionWindow(window Window, offset int) error + func (s *SystemTray) Run() + func (s *SystemTray) SetDarkModeIcon(icon []byte) *SystemTray + func (s *SystemTray) SetIcon(icon []byte) *SystemTray + func (s *SystemTray) SetIconPosition(iconPosition IconPosition) *SystemTray + func (s *SystemTray) SetLabel(label string) + func (s *SystemTray) SetMenu(menu *Menu) *SystemTray + func (s *SystemTray) SetTemplateIcon(icon []byte) *SystemTray + func (s *SystemTray) SetTooltip(tooltip string) + func (s *SystemTray) Show() + func (s *SystemTray) ShowMenu() + func (s *SystemTray) ShowWindow() + func (s *SystemTray) ToggleWindow() + func (s *SystemTray) WindowDebounce(debounce time.Duration) *SystemTray + func (s *SystemTray) WindowOffset(offset int) *SystemTray + type SystemTrayManager struct + func (stm *SystemTrayManager) New() *SystemTray + type TLSOptions struct + CertFile string + KeyFile string + type TextTheme struct + Background *uint32 + Text *uint32 + type Theme int + const Dark + const Light + const SystemDefault + type ThemeSettings struct + DarkModeActive *WindowTheme + DarkModeInactive *WindowTheme + DarkModeMenuBar *MenuBarTheme + LightModeActive *WindowTheme + LightModeInactive *WindowTheme + LightModeMenuBar *MenuBarTheme + type Transport interface + JSClient func() []byte + Start func(ctx context.Context, messageProcessor *MessageProcessor) error + Stop func() error + type TransportHTTPHandler interface + Handler func() func(next http.Handler) http.Handler + type Void interface + type WailsEventListener interface + DispatchWailsEvent func(event *CustomEvent) + type WebviewGpuPolicy int + const WebviewGpuPolicyAlways + const WebviewGpuPolicyNever + const WebviewGpuPolicyOnDemand + type WebviewWindow struct + func NewWindow(options WebviewWindowOptions) *WebviewWindow + func (w *WebviewWindow) Bounds() Rect + func (w *WebviewWindow) Center() + func (w *WebviewWindow) Close() + func (w *WebviewWindow) DisableSizeConstraints() + func (w *WebviewWindow) DispatchWailsEvent(event *CustomEvent) + func (w *WebviewWindow) EmitEvent(name string, data ...any) bool + func (w *WebviewWindow) EnableSizeConstraints() + func (w *WebviewWindow) Error(message string, args ...any) + func (w *WebviewWindow) ExecJS(js string) + func (w *WebviewWindow) Flash(enabled bool) + func (w *WebviewWindow) Focus() + func (w *WebviewWindow) ForceReload() + func (w *WebviewWindow) Fullscreen() Window + func (w *WebviewWindow) GetBorderSizes() *LRTB + func (w *WebviewWindow) GetScreen() (*Screen, error) + func (w *WebviewWindow) GetZoom() float64 + func (w *WebviewWindow) HandleDragEnter() + func (w *WebviewWindow) HandleDragLeave() + func (w *WebviewWindow) HandleDragOver(x int, y int) + func (w *WebviewWindow) HandleKeyEvent(acceleratorString string) + func (w *WebviewWindow) HandleMessage(message string) + func (w *WebviewWindow) HandleWindowEvent(id uint) + func (w *WebviewWindow) Height() int + func (w *WebviewWindow) Hide() Window + func (w *WebviewWindow) HideMenuBar() + func (w *WebviewWindow) ID() uint + func (w *WebviewWindow) Info(message string, args ...any) + func (w *WebviewWindow) InitiateFrontendDropProcessing(filenames []string, x int, y int) + func (w *WebviewWindow) IsFocused() bool + func (w *WebviewWindow) IsFullscreen() bool + func (w *WebviewWindow) IsIgnoreMouseEvents() bool + func (w *WebviewWindow) IsMaximised() bool + func (w *WebviewWindow) IsMinimised() bool + func (w *WebviewWindow) IsVisible() bool + func (w *WebviewWindow) Maximise() Window + func (w *WebviewWindow) Minimise() Window + func (w *WebviewWindow) Name() string + func (w *WebviewWindow) NativeWindow() unsafe.Pointer + func (w *WebviewWindow) OnWindowEvent(eventType events.WindowEventType, callback func(event *WindowEvent)) func() + func (w *WebviewWindow) OpenContextMenu(data *ContextMenuData) + func (w *WebviewWindow) OpenDevTools() + func (w *WebviewWindow) PhysicalBounds() Rect + func (w *WebviewWindow) Position() (int, int) + func (w *WebviewWindow) Print() error + func (w *WebviewWindow) RegisterHook(eventType events.WindowEventType, callback func(event *WindowEvent)) func() + func (w *WebviewWindow) RegisterKeyBinding(binding string, callback func(window Window)) *WebviewWindow + func (w *WebviewWindow) RelativePosition() (int, int) + func (w *WebviewWindow) Reload() + func (w *WebviewWindow) Resizable() bool + func (w *WebviewWindow) Restore() + func (w *WebviewWindow) Run() + func (w *WebviewWindow) SetAlwaysOnTop(b bool) Window + func (w *WebviewWindow) SetBackgroundColour(colour RGBA) Window + func (w *WebviewWindow) SetBounds(bounds Rect) + func (w *WebviewWindow) SetCloseButtonState(state ButtonState) Window + func (w *WebviewWindow) SetContentProtection(b bool) Window + func (w *WebviewWindow) SetEnabled(enabled bool) + func (w *WebviewWindow) SetFrameless(frameless bool) Window + func (w *WebviewWindow) SetHTML(html string) Window + func (w *WebviewWindow) SetIgnoreMouseEvents(ignore bool) Window + func (w *WebviewWindow) SetMaxSize(maxWidth, maxHeight int) Window + func (w *WebviewWindow) SetMaximiseButtonState(state ButtonState) Window + func (w *WebviewWindow) SetMenu(menu *Menu) + func (w *WebviewWindow) SetMinSize(minWidth, minHeight int) Window + func (w *WebviewWindow) SetMinimiseButtonState(state ButtonState) Window + func (w *WebviewWindow) SetPhysicalBounds(physicalBounds Rect) + func (w *WebviewWindow) SetPosition(x int, y int) + func (w *WebviewWindow) SetRelativePosition(x, y int) Window + func (w *WebviewWindow) SetResizable(b bool) Window + func (w *WebviewWindow) SetSize(width, height int) Window + func (w *WebviewWindow) SetTitle(title string) Window + func (w *WebviewWindow) SetURL(s string) Window + func (w *WebviewWindow) SetZoom(magnification float64) Window + func (w *WebviewWindow) Show() Window + func (w *WebviewWindow) ShowMenuBar() + func (w *WebviewWindow) Size() (int, int) + func (w *WebviewWindow) SnapAssist() + func (w *WebviewWindow) ToggleFrameless() + func (w *WebviewWindow) ToggleFullscreen() + func (w *WebviewWindow) ToggleMaximise() + func (w *WebviewWindow) ToggleMenuBar() + func (w *WebviewWindow) UnFullscreen() + func (w *WebviewWindow) UnMaximise() + func (w *WebviewWindow) UnMinimise() + func (w *WebviewWindow) Width() int + func (w *WebviewWindow) Zoom() + func (w *WebviewWindow) ZoomIn() + func (w *WebviewWindow) ZoomOut() + func (w *WebviewWindow) ZoomReset() Window + type WebviewWindowOptions struct + AlwaysOnTop bool + BackgroundColour RGBA + BackgroundType BackgroundType + CSS string + CloseButtonState ButtonState + ContentProtectionEnabled bool + DefaultContextMenuDisabled bool + DevToolsEnabled bool + DisableResize bool + EnableFileDrop bool + Frameless bool + HTML string + Height int + Hidden bool + HideOnEscape bool + HideOnFocusLost bool + IgnoreMouseEvents bool + InitialPosition WindowStartPosition + JS string + KeyBindings map[string]func(window Window) + Linux LinuxWindow + Mac MacWindow + MaxHeight int + MaxWidth int + MaximiseButtonState ButtonState + MinHeight int + MinWidth int + MinimiseButtonState ButtonState + Name string + OpenInspectorOnStartup bool + StartState WindowState + Title string + URL string + UseApplicationMenu bool + Width int + Windows WindowsWindow + X int + Y int + Zoom float64 + ZoomControlEnabled bool + type Win32Menu struct — windows/amd64 + func NewApplicationMenu(parent *windowsWebviewWindow, inputMenu *Menu) *Win32Menu + func NewPopupMenu(parent w32.HWND, inputMenu *Menu) *Win32Menu + func (p *Win32Menu) Destroy() + func (p *Win32Menu) OnMenuClose(fn func()) + func (p *Win32Menu) OnMenuOpen(fn func()) + func (p *Win32Menu) ProcessCommand(cmdMsgID int) bool + func (p *Win32Menu) ShowAt(x int, y int) + func (p *Win32Menu) ShowAtCursor() + func (p *Win32Menu) Update() + func (p *Win32Menu) UpdateMenuItem(item *MenuItem) + type Window interface + Bounds func() Rect + Center func() + Close func() + DisableSizeConstraints func() + DispatchWailsEvent func(event *CustomEvent) + EmitEvent func(name string, data ...any) bool + EnableSizeConstraints func() + Error func(message string, args ...any) + ExecJS func(js string) + Flash func(enabled bool) + Focus func() + ForceReload func() + Fullscreen func() Window + GetBorderSizes func() *LRTB + GetScreen func() (*Screen, error) + GetZoom func() float64 + HandleKeyEvent func(acceleratorString string) + HandleMessage func(message string) + HandleWindowEvent func(id uint) + Height func() int + Hide func() Window + HideMenuBar func() + ID func() uint + Info func(message string, args ...any) + InitiateFrontendDropProcessing func(filenames []string, x int, y int) + IsFocused func() bool + IsFullscreen func() bool + IsIgnoreMouseEvents func() bool + IsMaximised func() bool + IsMinimised func() bool + IsVisible func() bool + Maximise func() Window + Minimise func() Window + Name func() string + NativeWindow func() unsafe.Pointer + OnWindowEvent func(eventType events.WindowEventType, callback func(event *WindowEvent)) func() + OpenContextMenu func(data *ContextMenuData) + OpenDevTools func() + Position func() (int, int) + Print func() error + RegisterHook func(eventType events.WindowEventType, callback func(event *WindowEvent)) func() + RelativePosition func() (int, int) + Reload func() + Resizable func() bool + Restore func() + Run func() + SetAlwaysOnTop func(b bool) Window + SetBackgroundColour func(colour RGBA) Window + SetBounds func(bounds Rect) + SetCloseButtonState func(state ButtonState) Window + SetContentProtection func(protection bool) Window + SetEnabled func(enabled bool) + SetFrameless func(frameless bool) Window + SetHTML func(html string) Window + SetIgnoreMouseEvents func(ignore bool) Window + SetMaxSize func(maxWidth, maxHeight int) Window + SetMaximiseButtonState func(state ButtonState) Window + SetMenu func(menu *Menu) + SetMinSize func(minWidth, minHeight int) Window + SetMinimiseButtonState func(state ButtonState) Window + SetPosition func(x, y int) + SetRelativePosition func(x, y int) Window + SetResizable func(b bool) Window + SetSize func(width, height int) Window + SetTitle func(title string) Window + SetURL func(s string) Window + SetZoom func(magnification float64) Window + Show func() Window + ShowMenuBar func() + Size func() (width int, height int) + SnapAssist func() + ToggleFrameless func() + ToggleFullscreen func() + ToggleMaximise func() + ToggleMenuBar func() + UnFullscreen func() + UnMaximise func() + UnMinimise func() + Width func() int + Zoom func() + ZoomIn func() + ZoomOut func() + ZoomReset func() Window + func GetBrowserWindow(clientId string) Window + type WindowAttachConfig struct + Debounce time.Duration + Offset int + Window Window + type WindowEvent struct + func NewWindowEvent() *WindowEvent + func (w *WindowEvent) Cancel() + func (w *WindowEvent) Context() *WindowEventContext + func (w *WindowEvent) IsCancelled() bool + type WindowEventContext struct + func (c WindowEventContext) DropTargetDetails() *DropTargetDetails + func (c WindowEventContext) DroppedFiles() []string + type WindowEventListener struct + type WindowManager struct + func (wm *WindowManager) Add(window Window) + func (wm *WindowManager) Current() Window + func (wm *WindowManager) Get(name string) (Window, bool) + func (wm *WindowManager) GetAll() []Window + func (wm *WindowManager) GetByID(id uint) (Window, bool) + func (wm *WindowManager) GetByName(name string) (Window, bool) + func (wm *WindowManager) New() *WebviewWindow + func (wm *WindowManager) NewWithOptions(windowOptions WebviewWindowOptions) *WebviewWindow + func (wm *WindowManager) OnCreate(callback func(Window)) + func (wm *WindowManager) Remove(windowID uint) + func (wm *WindowManager) RemoveByName(name string) bool + type WindowStartPosition int + const WindowCentered + const WindowXY + type WindowState int + const WindowStateFullscreen + const WindowStateMaximised + const WindowStateMinimised + const WindowStateNormal + type WindowTheme struct + BorderColour *uint32 + TitleBarColour *uint32 + TitleTextColour *uint32 + type WindowsOptions struct + AdditionalBrowserArgs []string + DisableQuitOnLastWindowClosed bool + DisabledFeatures []string + EnabledFeatures []string + WebviewBrowserPath string + WebviewUserDataPath string + WndClass string + WndProcInterceptor func(hwnd uintptr, msg uint32, wParam, lParam uintptr) (returnCode uintptr, shouldReturn bool) + type WindowsWindow struct + BackdropType BackdropType + CustomTheme ThemeSettings + DisableFramelessWindowDecorations bool + DisableIcon bool + EnableSwipeGestures bool + EventMapping map[events.WindowEventType]events.WindowEventType + ExStyle int + GeneralAutofillEnabled bool + HiddenOnTaskbar bool + Menu *Menu + PasswordAutosaveEnabled bool + Permissions map[CoreWebView2PermissionKind]CoreWebView2PermissionState + ResizeDebounceMS uint16 + Theme Theme + WindowDidMoveDebounceMS uint16 + WindowMask []byte + WindowMaskDraggable bool