Trait guion::widget::root::Widgets [−][src]
Implemented on the root of the widget tree
Represents the root of a widget tree and being a starting point for widget resolving
Required methods
fn widget(&self, i: E::WidgetPath) -> Result<Resolved<'_, E>, GuionError<E>>
[src]
Resolve Widget by path
Implementations often can just call resolve_in_root
fn widget_mut(
&mut self,
i: E::WidgetPath
) -> Result<ResolvedMut<'_, E>, GuionError<E>>
[src]
&mut self,
i: E::WidgetPath
) -> Result<ResolvedMut<'_, E>, GuionError<E>>
Resolve Widget by path
Implementations often can just call resolve_in_root_mut
fn trace_bounds(
&self,
ctx: &mut E::Context,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
[src]
&self,
ctx: &mut E::Context,
i: E::WidgetPath,
b: &Bounds,
e: &EStyle<E>,
force: bool
) -> Result<Bounds, GuionError<E>>
👎 Deprecated
Provided methods
fn has_widget(&self, i: E::WidgetPath) -> bool
[src]
fn tune_path(&self, _i: &mut E::WidgetPath)
[src]
👎 Deprecated
fn tune_path_mut(&mut self, _i: &mut E::WidgetPath)
[src]
👎 Deprecated
fn with_env<F: Env<Storage = Self>>(&self) -> &F::Storage where
Self: Widgets<F>,
[src]
Self: Widgets<F>,