Versions in this module Expand all Collapse all v0 v0.6.0 Mar 29, 2024 v0.5.0 Feb 5, 2024 Changes in this version + type Command interface + ImplementsCommand func() + type EditorState struct + Selection struct{ ... } + Snippet key.Snippet + 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) ClipboardRequested() bool + func (q *Router) Cursor() pointer.Cursor + func (q *Router) EditorState() EditorState + func (q *Router) Event(filters ...event.Filter) (event.Event, bool) + func (q *Router) Frame(frame *op.Ops) + func (q *Router) MoveFocus(dir key.FocusDirection) + func (q *Router) Queue(events ...event.Event) + 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) Source() Source + func (q *Router) TextInputHint() (key.InputHint, bool) + func (q *Router) TextInputState() TextInputState + func (q *Router) WakeupTime() (time.Time, bool) + func (q *Router) WriteClipboard() (mime string, content []byte, ok 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 uint + type SemanticNode struct + Children []SemanticNode + Desc SemanticDesc + ID SemanticID + ParentID SemanticID + type Source struct + func (s Source) Enabled() bool + func (s Source) Event(filters ...event.Filter) (event.Event, bool) + func (s Source) Execute(c Command) + func (s Source) Focused(tag event.Tag) bool + type SystemEvent struct + Event event.Event + func (SystemEvent) ImplementsEvent() + type TextInputState uint8 + const TextInputClose + const TextInputKeep + const TextInputOpen + func (t TextInputState) String() string