Documentation
¶
Overview ¶
Package ui bundles the per-program rendering context — theme, key scheme, and glyph set. A Scope is immutable after construction; to change appearance, build a new Scope and swap the pointer. There is no process state to install: components read the Scope they are handed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scope ¶
Scope is one program's rendering context.
func Default ¶
func Default() *Scope
Default returns a Scope over the built-in defaults: the default theme and scheme, and the glyph set for the default mode (the one piece of process state left, by design — see glyph.SetMode).
Click to show internal directories.
Click to hide internal directories.