Module dom

Module dom 

Source
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§

AccessibilityInfo
Accessibility information (MSAA wrapper). See NodeData.set_accessibility_info()
AccessibilityStateVec
CallbackData
CallbackDataVec
Dom
The document model, similar to HTML. This is a create-only structure, you don’t actually read anything back
DomNodeHash
Calculated hash of a DOM node, used for identifying identical DOM nodes across frames
DomVec
IFrameNode
IdOrClassVec
NodeData
Represents one single DOM node (node type, classes, ids and callbacks are stored here)
NodeDataExt
NOTE: NOT EXPOSED IN THE API! Stores extra, not commonly used information for the NodeData.
NodeDataInlineCssPropertyVec
NodeDataVec
ScrollTagId
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§

AccessibilityRole
MSAA Accessibility role constants. For information on what each role does, see the MSDN Role Constants page.
AccessibilityState
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.
AccessibilityStateVecDestructor
ApplicationEventFilter
CallbackDataVecDestructor
ComponentEventFilter
DomVecDestructor
EventFilter
Sets the target for what events can reach the callbacks specifically.
FocusEventFilter
Event filter similar to HoverEventFilter that only fires when the element is focused
HoverEventFilter
Event filter that only fires when an element is hovered over
IdOrClass
IdOrClassVecDestructor
NodeDataInlineCssProperty
NodeDataInlineCssPropertyVecDestructor
NodeDataVecDestructor
NodeType
List of core DOM node types built-into by azul.
NotEventFilter
The inverse of an onclick event 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.
OptionDom
OptionTabIndex
TabIndex
WindowEventFilter
Event filter that fires when any action fires on the entire window (regardless of whether any element is hovered or focused over).