driver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Window

type Window interface {
	NextEvent() interface{} // emits errors and events (util/uiutil/event)

	Close() error
	SetWindowName(string)

	Image() draw.Image
	PutImage(image.Rectangle) error
	ResizeImage(image.Rectangle) error

	SetCursor(event.Cursor)
	QueryPointer() (image.Point, error)
	WarpPointer(image.Point)

	// copypaste
	// paste func arg is called from another goroutine
	GetCPPaste(event.CopyPasteIndex, func(string, error))
	SetCPCopy(event.CopyPasteIndex, string) error
}

func NewWindow

func NewWindow() (Window, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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