shinygolang.org/x/exp/shiny/driver/x11driver Index | Files

package x11driver

import "golang.org/x/exp/shiny/driver/x11driver"

Package x11driver provides the X11 driver for accessing a screen.

Index

Functions

func Main

func Main(f func(screen.Screen))

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

buffer.go buffer_fallback.go screen.go shm_shmopen_syscall.go texture.go window.go x11driver.go

Version
v0.0.0-20250218142911-aa4b98e5adaa (latest)
Published
Feb 18, 2025
Platform
linux/amd64
Imports
26 packages
Last checked
1 month ago

Tools for package owners.