FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EventTreeNodeBase

    struct · ferroui-diagnostics · v0.5.0

    struct EventTreeNodeBase
    

    A node of the tree of routed events of the events page: the owner of a group of events or one event, with the check box that enables the recording of the events below it.

    View source

    Members

    kind

    fn kind(self: &Self) -> &EventTreeNodeKind
    

    The part of the deriving class.

    Source

    as_event_tree_node

    fn as_event_tree_node(self: &Self) -> Option<&EventTreeNode>
    

    The node as an EventTreeNode (C# node as EventTreeNode).

    Source

    as_event_owner_tree_node

    fn as_event_owner_tree_node(self: &Self) -> Option<&EventOwnerTreeNode>
    

    The node as an EventOwnerTreeNode (C# node as EventOwnerTreeNode).

    Source

    children

    fn children(self: &Self) -> Option<FerroList<Rc<EventTreeNodeBase>>>
    

    The child nodes; None for a node without children.

    Source

    visible_children

    fn visible_children(self: &Self) -> Option<Rc<FerroList<Rc<EventTreeNodeBase>>>>
    

    The visible children, in their order: the child rows of the node in the TreeDataGrid of the events page, which follow the filter of the page (sync_visible_nodes); None for a node without children. The same list every time, so that the rows of the children are kept while the node notifies other changes.

    Deviation (DEVIATIONS.md, Developer tools): upstream's tree view hides the items of the nodes that are not visible; the rows of a TreeDataGrid are the nodes of its source.

    Source

    is_expanded

    fn is_expanded(self: &Self) -> bool
    

    Source

    set_is_expanded

    fn set_is_expanded(self: &Self, value: bool)
    

    Source

    is_enabled

    fn is_enabled(self: &Self) -> Option<bool>
    

    Whether the events of the node are recorded: None when some of the events below the node are and some are not.

    Source

    set_is_enabled

    fn set_is_enabled(self: &Self, value: Option<bool>)
    

    The virtual setter of IsEnabled: the override of the deriving class (EventOwnerTreeNode or EventTreeNode).

    Source

    is_visible

    fn is_visible(self: &Self) -> bool
    

    Source

    set_is_visible

    fn set_is_visible(self: &Self, value: bool)
    

    Source

    parent

    fn parent(self: &Self) -> Option<Rc<EventTreeNodeBase>>
    

    Source

    text

    fn text(self: &Self) -> &str
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.