pub fn ov_get_node_info<L: OutlineViewer + ?Sized>(
this: &L,
pos: i32,
) -> Option<(i32, i64, u16)>Expand description
Return the (level, lines, flags) of the node at DFS position pos,
or None if pos is out of range.
level is the nesting depth (0 = root); lines is the continuation-bar
bitmask used by create_graph; flags combines OV_EXPANDED,
OV_CHILDREN, and OV_LAST.
The draw and event code uses this to retrieve graph-draw parameters for the focused node so it can determine whether a mouse click landed in the graph column. You can call it directly when you need the structural metadata of a specific DFS position.
ยงTurbo Vision heritage
Replaces TOutlineViewer::getNode, which returned a raw TNode*. Returning
(level, lines, flags) instead avoids exposing a mutable pointer into the
owned tree.