Trait WidgetNode
Source pub trait WidgetNode: LiveApply {
// Required methods
fn uid_to_widget(&self, _uid: WidgetUid) -> WidgetRef;
fn find_widgets(
&self,
_path: &[LiveId],
_cached: WidgetCache,
_results: &mut WidgetSet,
);
fn walk(&mut self, _cx: &mut Cx) -> Walk;
fn area(&self) -> Area;
fn redraw(&mut self, _cx: &mut Cx);
// Provided methods
fn widget_design(&mut self) -> Option<&mut dyn WidgetDesign> { ... }
fn set_action_data(&mut self, _data: Arc<dyn ActionTrait>) { ... }
fn action_data(&self) -> Option<Arc<dyn ActionTrait>> { ... }
fn set_visible(&mut self, _cx: &mut Cx, _visible: bool) { ... }
fn visible(&self) -> bool { ... }
}