exp: golang.org/x/exp/shiny/driver/windriver Index | Files

package windriver

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

Package windriver provides the Windows driver for accessing a screen.


Package Files

buffer.go doc.go screen.go syscall.go syscall_windows.go texture.go window.go windraw.go windriver.go zsyscall_windows.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 windriver imports 22 packages (graph). Updated 2020-12-30 with GOOS=windows. Refresh now. Tools for package owners.