Trait Decorated
pub trait Decorated: Widget {
// Required method
fn decorated(&self) -> &dyn Widget;
}Expand description
The widget a Decorator stands for, as an inventory that walks widgets
by their children reaches it: a decorator’s inner widget is no child of
its own, so controls::control_action_bindings asks for it here. A
decorator that keeps its inner widget out of the tree — a sheet that is not
shown — answers nothing.