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.

Index

Package Files

doc.go other.go

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.

Package windriver imports 4 packages (graph). Updated 2 days ago. Refresh now. Tools for package owners.