Versions in this module Expand all Collapse all v0 v0.0.0 May 22, 2021 Changes in this version + var AnyOrientation = orientation(wm.AnyOrientation) + var Fullscreen = windowMode(wm.Fullscreen) + var LandscapeOrientation = orientation(wm.LandscapeOrientation) + var PortraitOrientation = orientation(wm.PortraitOrientation) + var Windowed = windowMode(wm.Windowed) + func DataDir() (string, error) + func Main() + type Option func(opts *wm.Options) + func CustomRenderer(custom bool) Option + func MaxSize(w, h unit.Value) Option + func MinSize(w, h unit.Value) Option + func NavigationColor(color color.NRGBA) Option + func Size(w, h unit.Value) Option + func StatusColor(color color.NRGBA) Option + func Title(t string) Option + type ViewEvent = wm.ViewEvent + type Window struct + func NewWindow(options ...Option) *Window + func (w *Window) Close() + func (w *Window) Events() <-chan event.Event + func (w *Window) Invalidate() + func (w *Window) Option(opts ...Option) + func (w *Window) ReadClipboard() + func (w *Window) Run(f func()) + func (w *Window) SetCursorName(name pointer.CursorName) + func (w *Window) WriteClipboard(s string)