gui

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: MIT Imports: 8 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 string, width, height int) (lorca.UI, error)
	// Run 运行.
	Run()
	// Close 关闭.
	Close() error
}

GUI 图形用户界面.

func NewGui

func NewGui() GUI

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

Jump to

Keyboard shortcuts

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