Versions in this module Expand all Collapse all v0 v0.2.0 Aug 31, 2026 Changes in this version + type NativeControlProvider interface + NativeControls func() []toolkit.NativeControl v0.1.3 Aug 31, 2026 v0.1.2 Aug 30, 2026 v0.1.1 Aug 30, 2026 v0.1.0 Aug 30, 2026 Changes in this version + var ErrUnsupported = errors.New("application: no native window back-end on this platform") + func Bind(h Handler, scale float64) *toolkit.Surface + func BindScaled(h Handler, scaleOf func() float64) *toolkit.Surface + func Run(s Spec, cfg Config, h Handler, onReady func()) error + type A11yElement struct + H int + Name string + Role string + Value string + W int + X int + Y int + type Accessible interface + A11yElements func() []A11yElement + type AppearanceSink interface + SystemAppearance func(SystemAppearance) + type ClipboardController interface + SetSystemClipboard func(SystemClipboard) + type Config struct + Height float64 + Title string + Width float64 + type ContextMenuHost interface + ContextMenuActive func() bool + ContextMenuEvent func(ev toolkit.Event) + type Handler interface + Frame func() (buf []byte, w, h int, changed bool) + Key func(name string, r rune) + MouseDown func(x, y int) + MouseMove func(x, y int) + MouseUp func(x, y int) + Resize func(w, h int, scale float64) + Scroll func(dy int) + type SecondaryClicker interface + SecondaryClick func(x, y int) + type ShortcutSink interface + Shortcut func(r rune, ctrl, meta bool) + type Spec struct + Icon []byte + Identifier string + Name string + Tray func() *tray.Menu + Version string + type SystemAppearance struct + Accent color.RGBA + Dark bool + FontTTF []byte + HasAccent bool + type SystemClipboard interface + ClipboardText func() string + SetClipboardText func(text string)