Expand description
Dom construction, NodeData and NodeType management functions
Re-exports§
pub use crate::id_tree::Node;pub use crate::id_tree::NodeHierarchy;pub use crate::id_tree::NodeId;
Structs§
- Accessibility
Info - Accessibility information (MSAA wrapper). See
NodeData.set_accessibility_info() - Accessibility
State Vec - Callback
Data - Callback
Data Vec - Dom
- The document model, similar to HTML. This is a create-only structure, you don’t actually read anything back
- DomNode
Hash - Calculated hash of a DOM node, used for identifying identical DOM nodes across frames
- DomVec
- IFrame
Node - IdOr
Class Vec - Node
Data - Represents one single DOM node (node type, classes, ids and callbacks are stored here)
- Node
Data Ext - NOTE: NOT EXPOSED IN THE API! Stores extra, not commonly used information for the NodeData.
- Node
Data Inline CssProperty Vec - Node
Data Vec - Scroll
TagId - Same as the
TagId, but only for scrollable nodes - TagId
- Unique tag that is used to annotate which rectangles are relevant for hit-testing
Enums§
- Accessibility
Role - MSAA Accessibility role constants. For information on what each role does, see the MSDN Role Constants page.
- Accessibility
State - MSAA accessibility state. For information on what each state does, see the [MSDN State Constants](https://docs.microsoft.com/en-us/windows/win32/winauto/object-state-constants) page.
- Accessibility
State VecDestructor - Application
Event Filter - Callback
Data VecDestructor - Component
Event Filter - DomVec
Destructor - Event
Filter - Sets the target for what events can reach the callbacks specifically.
- Focus
Event Filter - Event filter similar to
HoverEventFilterthat only fires when the element is focused - Hover
Event Filter - Event filter that only fires when an element is hovered over
- IdOr
Class - IdOr
Class VecDestructor - Node
Data Inline CssProperty - Node
Data Inline CssProperty VecDestructor - Node
Data VecDestructor - Node
Type - List of core DOM node types built-into by
azul. - NotEvent
Filter - The inverse of an
onclickevent filter, fires when an item is not hovered / focused. This is useful for cleanly implementing things like popover dialogs or dropdown boxes that want to close when the user clicks any where but the item itself. - On
- When to call a callback action -
On::MouseOver,On::MouseOut, etc. - Option
Dom - Option
TabIndex - TabIndex
- Window
Event Filter - Event filter that fires when any action fires on the entire window (regardless of whether any element is hovered or focused over).