driver

package
v1.3.11-0...-c80e787 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 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() (_ event.Event, ok bool) // !ok = no more events

	Close() error
	WindowSetName(Name string) error
	Image() (draw.Image, error)
	ImagePut(Rect image.Rectangle) error
	ImageResize(Rect image.Rectangle) error
	CursorSet(Cursor event.Cursor) error
	PointerQuery() (image.Point, error)
	PointerWarp(P image.Point) error
	ClipboardDataGet() (string, error)
	ClipboardDataSet(str 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