package driver
import "golang.org/x/exp/shiny/driver"
Package driver provides the default driver for accessing a screen.
Index ¶
Functions ¶
func Main ¶
Main is called by the program's main function to run the graphical application.
It calls f on the Screen, possibly in a separate goroutine, as some OS- specific libraries require being on 'the main thread'. It returns when f returns.
Source Files ¶
driver.go driver_x11.go
Directories ¶
Path | Synopsis |
---|---|
driver/gldriver | Package gldriver provides an OpenGL driver for accessing a screen. |
driver/internal | |
driver/windriver | Package windriver provides the Windows driver for accessing a screen. |
driver/x11driver | Package x11driver provides the X11 driver for accessing a screen. |
- Version
- v0.0.0-20250218142911-aa4b98e5adaa (latest)
- Published
- Feb 18, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 month ago –
Tools for package owners.