TuiEditor::Canvas
Inherits Tui::Panel / Tui::Widget / Tui::Reactive / Reference / Object
Constructors
new
SourceInstance methods
add_widget(widget_def : WidgetDef) : CanvasNode | Nil
Add widget to currently selected container (or root)
clipboard
Sourceclipboard_history
Sourcecut_mode?
SourceKISS event handling with capture support Flow: on_capture → children → on_event Override on_capture to intercept before children Override on_event to handle after children
Move selected widget to a different parent (reparent)
on_select
Sourceroot
Sourceroot=(node : CanvasNode | Nil) : Nil
Sourceselected
Source