Context

Type Alias Context 

Source
pub type Context<T> = WidgetContext<T>;

Aliased Type§

pub struct Context<T> { /* private fields */ }

Implementations§

Source§

impl<T> Context<T>

Source

pub fn do_action(&mut self, action: <T::Flow as Flow>::Action)

Source

pub fn do_action_of<F: Flow>(&mut self, path: Path, action: F::Action)

SingleFlow mode also compatible with any other actions.

Source

pub fn rewire(&mut self, path: Path)

It unwires automatically.

Source

pub fn unwire(&mut self)

Source§

impl<T> Context<T>

Source

pub fn rewire_many(&mut self, paths: &HashSet<Path>)