Module i_slint_core::item_tree
source · Expand description
This module contains code that helps navigating the tree of item
Structs
- The
ComponentItemTreeprovides tree walking code for the physical ItemTree stored in aComponentwithout stitching any inter-Component links together! - A ItemRc is holding a reference to a component containing the item, and the index of this item
- Invariant, same as vtable::Inner: vtable and ptr has to be valid and ptr an instance matching the vtable
- Object to be passed in visit_item_children method of the Component.
- A Weak reference to an item that can be constructed from an ItemRc.
- The return value of the Component::visit_children_item function
Enums
- The item tree is an array of ItemTreeNode representing a static tree of items within a component.
Traits
- Object to be passed in visit_item_children method of the Component. Note: Was generated from the
#[vtable]macro onItemVisitorVTable
Functions
- Visit the children within an array of ItemTreeNode
- Visit each items recursively
Type Aliases
- Type alias to
vtable::VRefMut<ItemVisitorVTable>