Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Overview ¶ Package x11driver provides the X11 driver for accessing a screen. Index ¶ func Main(f func(screen.Screen)) Constants ¶ This section is empty. Variables ¶ This section is empty. 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. Types ¶ This section is empty. Source Files ¶ View all Source files buffer.go buffer_fallback.go screen.go shm_shmopen_syscall.go texture.go window.go x11driver.go Click to show internal directories. Click to hide internal directories.