webview

package
v1.9.47 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CONF_SIZE = "var/conf/webview.size"
)

Variables

This section is empty.

Functions

func Run

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

func RunClient added in v1.9.5

func RunClient()

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