Skip to main content

Module object_tree

Module object_tree 

Source
Expand description

Object list and cursor data readout for a chart sidebar.

Use ObjectTreePanel with host-supplied SourceItem records and optional DataWindowInfo. Apply drawing and study actions through ObjectTreePanel::apply_to_chart. Copy each drawing’s folder into its source row. Folder paths persist with drawings. Hosts retain ObjectTreeState::folders per chart when empty folders must survive closing the panel or restarting the application.

Structs§

DataWindowInfo
Data Window information (OHLCV at cursor position)
DrawingProperties
Expandable properties for drawings
ObjectTreeConfig
Configuration for the Object Tree panel
ObjectTreePanel
Object Tree panel widget
ObjectTreeState
State for the Object Tree panel
SourceItem
A source item in the object tree (indicator or drawing)

Enums§

ObjectTreeAction
Actions that can be performed on objects in the tree
SourceType
Type of source in the tree

Functions§

show_data_window
Render the Data Window section