Versions in this module Expand all Collapse all v1 v1.0.0 Jun 12, 2023 Changes in this version + func FindWindowToTop(windowTitle string) webview — windows/amd64 + func LockMutex(name string) error — windows/amd64 + func MessageBox(caption, text string) — windows/amd64 + type Hint int + const HintFixed + const HintMax + const HintMin + const HintNone + type WebView interface + Bind func(name string, f interface{}) error + Destroy func() + Dispatch func(f func()) + Eval func(js string) + GetBrowser func() browser + GetHWnd func() win.HWND + Init func(js string) + MessageBox func(caption, text string) + MostTop func(isTop bool) + MoveToCenter func() + Navigate func(url string) + RestoreWindow func() + Run func() + SetHtml func(html string) + SetSize func(w int, h int, hint Hint) + SetTitle func(title string) + Start func(callback func()) + Terminate func() + ToTop func() + Webview2AutoInstall func() error + Window func() unsafe.Pointer + func New(debug bool) WebView + func NewWindow(debug bool, window unsafe.Pointer) WebView + func NewWithOptions(options WebViewOptions) WebView + type WebViewOptions struct — windows/amd64 + AutoFocus bool + DataPath string + Debug bool + Window unsafe.Pointer + WindowOptions WindowOptions + type WindowOptions struct — windows/amd64 + Center bool + Height uint + IconId uint + Title string + Width uint