webview

package
v1.4.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cb func(*WebView) ice.Any)

Types

type WebView

type WebView struct {
	webview.WebView
	Source string
	*ice.Message
}

func (WebView) Close

func (w WebView) Close()

func (WebView) Menu

func (w WebView) Menu() bool

func (WebView) Open

func (w WebView) Open(url string)

func (WebView) OpenApp added in v1.4.4

func (w WebView) OpenApp(app string)

func (WebView) OpenCmd added in v1.4.4

func (w WebView) OpenCmd(cmd string)

func (WebView) OpenUrl added in v1.4.4

func (w WebView) OpenUrl(url string)

func (WebView) Power added in v1.4.4

func (w WebView) Power() string

func (WebView) SetSize added in v1.4.4

func (w WebView) SetSize(width, height int)

func (WebView) System added in v1.4.4

func (w WebView) System(arg ...string) string

func (WebView) Terminate

func (w WebView) Terminate()

func (WebView) Title

func (w WebView) Title(text string)

func (WebView) Webview

func (w WebView) Webview(url string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL