Documentation ¶
Rendered for darwin/amd64
Index ¶
- func GetAllScreens(wailsContext unsafe.Pointer) ([]frontend.Screen, error)
- type Calloc
- type EventNotify
- type Frontend
- func (f *Frontend) BrowserOpenURL(url string)
- func (f *Frontend) Callback(message string)
- func (f *Frontend) ClipboardGetText() (string, error)
- func (f *Frontend) ClipboardSetText(text string) error
- 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
- type NSMenu
- type 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()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Calloc ¶
type Calloc struct {
// contains filtered or unexported fields
}
Calloc handles alloc/dealloc of C data
type EventNotify ¶
type EventNotify struct { Name string `json:"name"` Data []interface{} `json:"data"` }
type Frontend ¶
type Frontend struct {
// contains filtered or unexported fields
}
func NewFrontend ¶
func (*Frontend) BrowserOpenURL ¶
BrowserOpenURL Use the default browser to open the url
func (*Frontend) ClipboardGetText ¶ added in v2.4.0
func (*Frontend) ClipboardSetText ¶ added in v2.4.0
func (*Frontend) MenuSetApplicationMenu ¶
func (*Frontend) MenuUpdateApplicationMenu ¶
func (f *Frontend) MenuUpdateApplicationMenu()
func (*Frontend) MessageDialog ¶
func (f *Frontend) MessageDialog(options frontend.MessageDialogOptions) (string, error)
MessageDialog show a message dialog to the user
func (*Frontend) OpenDirectoryDialog ¶
func (f *Frontend) OpenDirectoryDialog(options frontend.OpenDialogOptions) (string, error)
OpenDirectoryDialog prompts the user to select a directory
func (*Frontend) OpenFileDialog ¶
func (f *Frontend) OpenFileDialog(options frontend.OpenDialogOptions) (string, error)
OpenFileDialog prompts the user to select a file
func (*Frontend) OpenMultipleFilesDialog ¶
func (f *Frontend) OpenMultipleFilesDialog(options frontend.OpenDialogOptions) ([]string, error)
OpenMultipleFilesDialog prompts the user to select a file
func (*Frontend) RunMainLoop ¶ added in v2.1.0
func (f *Frontend) RunMainLoop()
func (*Frontend) SaveFileDialog ¶
func (f *Frontend) SaveFileDialog(options frontend.SaveDialogOptions) (string, error)
SaveFileDialog prompts the user to select a file
func (*Frontend) WindowCenter ¶
func (f *Frontend) WindowCenter()
func (*Frontend) WindowClose ¶ added in v2.1.0
func (f *Frontend) WindowClose()
func (*Frontend) WindowFullscreen ¶
func (f *Frontend) WindowFullscreen()
func (*Frontend) WindowGetPosition ¶
func (*Frontend) WindowGetSize ¶
func (*Frontend) WindowHide ¶
func (f *Frontend) WindowHide()
func (*Frontend) WindowIsFullscreen ¶
func (*Frontend) WindowIsMaximised ¶
func (*Frontend) WindowIsMinimised ¶
func (*Frontend) WindowIsNormal ¶
func (*Frontend) WindowMaximise ¶
func (f *Frontend) WindowMaximise()
func (*Frontend) WindowMinimise ¶
func (f *Frontend) WindowMinimise()
func (*Frontend) WindowReload ¶
func (f *Frontend) WindowReload()
func (*Frontend) WindowReloadApp ¶
func (f *Frontend) WindowReloadApp()
func (*Frontend) WindowSetAlwaysOnTop ¶
func (*Frontend) WindowSetBackgroundColour ¶
func (*Frontend) WindowSetDarkTheme ¶
func (f *Frontend) WindowSetDarkTheme()
func (*Frontend) WindowSetLightTheme ¶
func (f *Frontend) WindowSetLightTheme()
func (*Frontend) WindowSetMaxSize ¶
func (*Frontend) WindowSetMinSize ¶
func (*Frontend) WindowSetPosition ¶
func (*Frontend) WindowSetSize ¶
func (*Frontend) WindowSetSystemDefaultTheme ¶
func (f *Frontend) WindowSetSystemDefaultTheme()
func (*Frontend) WindowSetTitle ¶
func (*Frontend) WindowShow ¶
func (f *Frontend) WindowShow()
func (*Frontend) WindowToggleMaximise ¶
func (f *Frontend) WindowToggleMaximise()
func (*Frontend) WindowUnfullscreen ¶
func (f *Frontend) WindowUnfullscreen()
func (*Frontend) WindowUnmaximise ¶
func (f *Frontend) WindowUnmaximise()
func (*Frontend) WindowUnminimise ¶
func (f *Frontend) WindowUnminimise()
type NSMenu ¶
type NSMenu struct {
// contains filtered or unexported fields
}
func (*NSMenu) AddSubMenu ¶
func (*NSMenu) AppendRole ¶
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
func (*Window) Fullscreen ¶
func (w *Window) Fullscreen()
func (*Window) GetPosition ¶
func (*Window) HideApplication ¶
func (w *Window) HideApplication()
func (*Window) IsFullScreen ¶
func (*Window) IsMaximised ¶
func (*Window) IsMinimised ¶
func (*Window) SetAlwaysOnTop ¶
func (*Window) SetApplicationMenu ¶
func (*Window) SetBackgroundColour ¶
func (*Window) SetMaxSize ¶
func (*Window) SetMinSize ¶
func (*Window) SetPosition ¶
func (*Window) ShowApplication ¶
func (w *Window) ShowApplication()
func (*Window) ToggleMaximise ¶
func (w *Window) ToggleMaximise()
func (*Window) UnFullscreen ¶
func (w *Window) UnFullscreen()
func (*Window) UnMaximise ¶
func (w *Window) UnMaximise()
func (*Window) UnMinimise ¶
func (w *Window) UnMinimise()
func (*Window) UpdateApplicationMenu ¶
func (w *Window) UpdateApplicationMenu()
Click to show internal directories.
Click to hide internal directories.