gui

package
v1.0.40 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package gui 图形用户界面.

使用lorca类库,基于chrome浏览器的图形用户界面.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GUI

type GUI interface {
	// Bind 事件绑定.
	Bind(name string, f interface{})
	// HTML html界面.
	HTML(url, html string)
	// FS 文件系统.
	FS(dir string, fsys fs.FS)
	// Handler .
	Handler(http.Handler)
	// Open 打开窗口.
	Open(url, name string, width, height int) error
	// Run 运行.
	Run()
	// Close 关闭.
	Close() error
}

GUI 图形用户界面.

func NewGui

func NewGui() GUI

NewGui 新建图形用户界面服务.

func NewWebView added in v1.0.40

func NewWebView() GUI

NewWebView 新建基于webview的用户界面.

Jump to

Keyboard shortcuts

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