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 + func GetAllScreens(wailsContext unsafe.Pointer) ([]frontend.Screen, error) — darwin/amd64 + type Calloc struct — darwin/amd64 + func NewCalloc() Calloc + func (c Calloc) Free() + func (c Calloc) String(in string) *C.char + type EventNotify struct — darwin/amd64 + Data []interface{} + Name string + type Frontend struct — darwin/amd64 + func NewFrontend(ctx context.Context, appoptions *options.App, myLogger *logger.Logger, ...) *Frontend + func (f *Frontend) BrowserOpenURL(url string) + func (f *Frontend) Callback(message string) + func (f *Frontend) ExecJS(js string) + func (f *Frontend) Hide() + func (f *Frontend) MenuSetApplicationMenu(menu *menu.Menu) + func (f *Frontend) MenuUpdateApplicationMenu() + func (f *Frontend) MessageDialog(options frontend.MessageDialogOptions) (string, error) + func (f *Frontend) Notify(name string, data ...interface{}) + func (f *Frontend) OpenDirectoryDialog(options frontend.OpenDialogOptions) (string, error) + func (f *Frontend) OpenFileDialog(options frontend.OpenDialogOptions) (string, error) + func (f *Frontend) OpenMultipleFilesDialog(options frontend.OpenDialogOptions) ([]string, error) + func (f *Frontend) Quit() + func (f *Frontend) Run(ctx context.Context) error + func (f *Frontend) RunMainLoop() + func (f *Frontend) SaveFileDialog(options frontend.SaveDialogOptions) (string, error) + func (f *Frontend) ScreenGetAll() ([]frontend.Screen, error) + func (f *Frontend) Show() + func (f *Frontend) WindowCenter() + func (f *Frontend) WindowClose() + func (f *Frontend) WindowFullscreen() + func (f *Frontend) WindowGetPosition() (int, int) + func (f *Frontend) WindowGetSize() (int, int) + func (f *Frontend) WindowHide() + func (f *Frontend) WindowIsFullscreen() bool + func (f *Frontend) WindowIsMaximised() bool + func (f *Frontend) WindowIsMinimised() bool + func (f *Frontend) WindowIsNormal() bool + func (f *Frontend) WindowMaximise() + func (f *Frontend) WindowMinimise() + func (f *Frontend) WindowReload() + func (f *Frontend) WindowReloadApp() + func (f *Frontend) WindowSetAlwaysOnTop(onTop bool) + func (f *Frontend) WindowSetBackgroundColour(col *options.RGBA) + func (f *Frontend) WindowSetDarkTheme() + func (f *Frontend) WindowSetLightTheme() + func (f *Frontend) WindowSetMaxSize(width int, height int) + func (f *Frontend) WindowSetMinSize(width int, height int) + func (f *Frontend) WindowSetPosition(x, y int) + func (f *Frontend) WindowSetSize(width, height int) + func (f *Frontend) WindowSetSystemDefaultTheme() + func (f *Frontend) WindowSetTitle(title string) + func (f *Frontend) WindowShow() + func (f *Frontend) WindowToggleMaximise() + func (f *Frontend) WindowUnfullscreen() + func (f *Frontend) WindowUnmaximise() + func (f *Frontend) WindowUnminimise() + type MenuItem struct — darwin/amd64 + type NSMenu struct — darwin/amd64 + func NewNSMenu(context unsafe.Pointer, name string) *NSMenu + func (m *NSMenu) AddMenuItem(menuItem *menu.MenuItem) *MenuItem + func (m *NSMenu) AddSubMenu(label string) *NSMenu + func (m *NSMenu) AppendRole(role menu.Role) + type Window struct — darwin/amd64 + func NewWindow(frontendOptions *options.App, debugMode bool) *Window + func (w *Window) Center() + func (w *Window) ExecJS(js string) + func (w *Window) Fullscreen() + func (w *Window) GetPosition() (int, int) + func (w *Window) Hide() + func (w *Window) HideApplication() + func (w *Window) IsFullScreen() bool + func (w *Window) IsMaximised() bool + func (w *Window) IsMinimised() bool + func (w *Window) IsNormal() bool + func (w *Window) Maximise() + func (w *Window) Minimise() + func (w *Window) Quit() + func (w *Window) Run(url string) + func (w *Window) SetAlwaysOnTop(onTop bool) + func (w *Window) SetApplicationMenu(inMenu *menu.Menu) + func (w *Window) SetBackgroundColour(r uint8, g uint8, b uint8, a uint8) + func (w *Window) SetMaxSize(width int, height int) + func (w *Window) SetMinSize(width int, height int) + func (w *Window) SetPosition(x int, y int) + func (w *Window) SetSize(width int, height int) + func (w *Window) SetTitle(title string) + func (w *Window) Show() + func (w *Window) ShowApplication() + func (w *Window) Size() (int, int) + func (w *Window) ToggleMaximise() + func (w *Window) UnFullscreen() + func (w *Window) UnMaximise() + func (w *Window) UnMinimise() + func (w *Window) UpdateApplicationMenu()