exp: golang.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

Package Files

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

func Main Uses

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.

Package x11driver imports 26 packages (graph) and is imported by 1 packages. Updated 2017-06-02. Refresh now. Tools for package owners.