gui

package
v1.1.23 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package gui 图形用户界面.

使用lorca和webview类库,显示图形用户界面.

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 added in v1.0.42

func NewGUI() GUI

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

Jump to

Keyboard shortcuts

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