Versions in this module Expand all Collapse all v0 v0.0.1 Jan 21, 2024 Changes in this version + type EditorState struct + Selection struct{ ... } + Snippet key.Snippet + type FocusDirection int + const FocusBackward + const FocusDown + const FocusForward + const FocusLeft + const FocusRight + const FocusUp + type Router struct + func (q *Router) ActionAt(p f32.Point) (system.Action, bool) + func (q *Router) AppendSemantics(nodes []SemanticNode) []SemanticNode + func (q *Router) ClickFocus() + func (q *Router) Cursor() pointer.Cursor + func (q *Router) EditorState() EditorState + func (q *Router) Events(k event.Tag) []event.Event + func (q *Router) Frame(frame *op.Ops) + func (q *Router) MoveFocus(dir FocusDirection) bool + func (q *Router) Profiling() bool + func (q *Router) Queue(events ...event.Event) bool + func (q *Router) QueueTopmost(events ...key.Event) bool + func (q *Router) ReadClipboard() bool + func (q *Router) RevealFocus(viewport image.Rectangle) + func (q *Router) ScrollFocus(dist image.Point) + func (q *Router) SemanticAt(pos f32.Point) (SemanticID, bool) + func (q *Router) TextInputHint() (key.InputHint, bool) + func (q *Router) TextInputState() TextInputState + func (q *Router) WakeupTime() (time.Time, bool) + func (q *Router) WriteClipboard() (string, bool) + type SemanticDesc struct + Bounds image.Rectangle + Class semantic.ClassOp + Description string + Disabled bool + Gestures SemanticGestures + Label string + Selected bool + type SemanticGestures int + const ClickGesture + const ScrollGesture + func (s SemanticGestures) String() string + type SemanticID uint64 + type SemanticNode struct + Children []SemanticNode + Desc SemanticDesc + ID SemanticID + ParentID SemanticID + type TextInputState uint8 + const TextInputClose + const TextInputKeep + const TextInputOpen + func (t TextInputState) String() string