AccessKit
Adds accessibility support to widgets via the AccessKit library
Fields
- adapter:?AdapterType()
- ?AdapterType()
- prev_focused_id:dvui.Id
- dvui.Id
- nodes:std.array_hash_map.Auto(dvui.Id, *Node)
- std.array_hash_map.Auto(dvui.Id, *Node)
- action_requests:std.ArrayList(ActionRequest)
- std.ArrayList(ActionRequest)
- text_run_parent:?dvui.Id
- ?dvui.Id
- text_runs:std.ArrayList(TextRunOptions)
- std.ArrayList(TextRunOptions)
- text_run_prev_parent_id:dvui.Id
- dvui.Id
- text_run_prev_wordbreak:bool
- bool
- grid_cell_row:dvui.Id
- dvui.Id
- prev_label_id:dvui.Id
- dvui.Id
- node_waiting_label:bool
- bool
- node_to_label:dvui.Id
- dvui.Id
- status:enum { off, starting, on, }
- enum { off, starting, on, }
- mutex:Io.Mutex
- Io.Mutex
Types
- CharPositionInfo
Character positions and lengths of rendered text.
- TextRunOptions
Created for each text run
Namespaces
Functions
- nodeCreateReal
Create a new Node for AccessKit
- nodeParent
Return the node of the nearest parent widget that has a non-null accesskit node.
- nodeIdFromNode
Convert a node pointer into a node id.
- textRunPopulate
Populate the text_run node with character position and word length details.
- textRunCreateEmpty
Creates an empty text run
- pushUpdates
Must be called at the end of each frame.
- frameTreeUpdate
Pushes all the nodes created during the current frame to AccessKit
- initialTreeUpdate
Creates the initial tree update when accessibility information is first requested by the OS
Constants
Aliases
- AccessKit
Adds accessibility support to widgets via the AccessKit library