package
3.0.0-alpha.9
Repository: https://github.com/wailsapp/wails.git
Documentation: pkg.go.dev

# Functions

AssetFileServerFS returns a http handler which serves the assets from the fs.FS.
BundledAssetFileServer returns a http handler which serves the assets from the fs.FS.
ChainMiddleware allows chaining multiple middlewares to one middleware.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
newRedoMenuItem creates a new menu item for redoing the last action.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewService returns a Service value wrapping the given pointer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewWindow creates a new window with the given options.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
ActivationPolicyAccessory is used for applications that do not have a main window, such as system tray applications or background applications.
No description provided by the author
ActivationPolicyRegular is used for applications that have a user interface,.
No description provided by the author
No description provided by the author
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TOP or LEFT.
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
CmdOrCtrlKey represents Command on Mac and Control on other platforms.
No description provided by the author
ControlKey represents the control key on all systems.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
Dark Mode.
DefaultAppearance uses the default system value.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DragEffectCopy is used to indicate that the data is copied to the drop target.
DragEffectLink is used to indicate that a link to the original data is established.
DragEffectMove is used to indicate that the data is removed from the drag source.
DragEffectNone is used to indicate that the drop target cannot accept the data.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
BOTTOM or RIGHT.
No description provided by the author
No description provided by the author
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
No description provided by the author
Light Mode.
MacBackdropNormal - The default value.
MacBackdropTranslucent - The window will have a translucent background, with the content underneath it being "fuzzy" or "frosted".
MacBackdropTransparent - The window will have a transparent background, with the content underneath it being visible.
MacToolbarStyleAutomatic - The default value.
MacToolbarStyleExpanded - The toolbar will appear below the window title.
MacToolbarStylePreference - The toolbar will appear below the window title and the items in the toolbar will attempt to have equal widths when possible.
MacToolbarStyleUnified - The window title will appear inline with the toolbar when visible.
MacToolbarStyleUnifiedCompact - Same as MacToolbarStyleUnified, but with reduced margins in the toolbar allowing more focus to be on the contents of the window.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
NSAppearanceNameAccessibilityHighContrastAqua - A high-contrast version of the standard light system appearance.
NSAppearanceNameAccessibilityHighContrastDarkAqua - A high-contrast version of the standard dark system appearance.
NSAppearanceNameAccessibilityHighContrastVibrantDark - A high-contrast version of the dark vibrant appearance.
NSAppearanceNameAccessibilityHighContrastVibrantLight - A high-contrast version of the light vibrant appearance.
NSAppearanceNameAqua - The standard light system appearance.
NSAppearanceNameDarkAqua - The standard dark system appearance.
NSAppearanceNameVibrantLight - The light vibrant appearance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
OptionOrAltKey represents Option on Mac and Alt on other platforms.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
PathCacheHome defines the base directory relative to which user-specific non-essential (cached) data should be written.
PathConfigHome defines the base directory relative to which user-specific configuration files should be written.
PathDataHome defines the base directory relative to which user-specific data files should be stored.
PathDesktop defines the location of the user's desktop directory.
PathDocuments defines a suitable location for user document files.
PathDownload defines a suitable location for user downloaded files.
PathHome is the user's home directory.
PathMusic defines a suitable location for user audio files.
PathPictures defines a suitable location for user image files.
PathPublicShare defines a suitable location for user shared files.
PathRuntimeDir defines the base directory relative to which user-specific non-essential runtime files and other file objects (such as sockets, named pipes, etc.) should be stored.
PathsApplicationDirs defines the common locations of applications.
PathsConfigDirs defines the preference-ordered set of base directories search for configuration files in addition to the ConfigHome base directory.
PathsDataDirs defines the preference-ordered set of base directories to search for data files in addition to the DataHome base directory.
PathsFontDirs defines the common locations where font files are stored.
PathStateHome defines the base directory relative to which user-specific state files should be stored.
PathTemplates defines a suitable location for user template files.
PathVideos defines a suitable location for user video files.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
No description provided by the author
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
ShiftKey represents the shift key on all systems.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
SuperKey represents Command on Mac and the Windows key on the other platforms.
SystemDefault will use whatever the system theme is.
No description provided by the author
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
WebviewGpuPolicyAlways Hardware acceleration is always enabled.
WebviewGpuPolicyNever Hardware acceleration is always disabled.
WebviewGpuPolicyOnDemand Hardware acceleration is enabled/disabled as request by web contents.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.
These constants need to be kept in sync with `v2/internal/frontend/desktop/darwin/Role.h`.

# Variables

AlphaAssets is the default assets for the alpha application.
BuildInfo contains the build info for the application.
BuildSettings contains the build settings for the application.
No description provided by the author
Disabled means the feature should be disabled.
Enabled means the feature should be enabled.
MacTitleBarDefault results in the default Mac MacTitleBar.
MacTitleBarHidden results in a hidden title bar and a full size content window, yet the title bar still has the standard window controls (“traffic lights”) in the top left.
MacTitleBarHiddenInset results in a hidden title bar with an alternative look where the traffic light buttons are slightly more inset from the window edge.
MacTitleBarHiddenInsetUnified results in a hidden title bar with an alternative look where the traffic light buttons are even more inset from the window edge.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AssetOptions defines the configuration of the AssetServer.
No description provided by the author
BoundMethod defines all the data related to a Go method that is bound to the Wails application.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EnvironmentInfo represents information about the current environment.
No description provided by the author
EventProcessor handles custom events.
No description provided by the author
LinuxOptions contains options for Linux applications.
LinuxWindow specific to Linux windows.
LRTB is a struct that holds Left, Right, Top, Bottom values.
MacOptions contains options for macOS applications.
MacTitleBar contains options for the Mac titlebar.
MacWebviewPreferences contains preferences for the Mac webview.
MacWindow contains macOS specific options for Webview Windows.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Options contains the options for the application.
Parameter defines a Go method parameter.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ScreenPlacement specifies where the screen (S) is placed relative to parent (P) screen.
SecondInstanceData contains information about the second instance launch.
Service wraps a bound type instance.
No description provided by the author
SingleInstanceOptions defines options for single instance functionality.
No description provided by the author
No description provided by the author
ThemeSettings defines custom colours to use in dark or light mode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WindowsOptions contains options for Windows applications.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WailsEventListener is an interface that can be implemented to listen for Wails events It is used by the RegisterListener method of the Application.
No description provided by the author

# Type aliases

ActivationPolicy is the activation policy for the application.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MacAppearanceType is a type of Appearance for Cocoa windows.
MacBackdrop is the backdrop type for macOS.
MacToolbarStyle is the style of toolbar for macOS.
No description provided by the author
Middleware defines HTTP middleware that can be applied to the AssetServer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Role is a type to identify menu roles.
No description provided by the author
WebviewGpuPolicy values used for determining the webview's hardware acceleration policy.
No description provided by the author
No description provided by the author