Skip to main content

focused_value

Function focused_value 

Source
pub fn focused_value<T: Clone + 'static>(name: &str) -> Option<T>
Expand description

The value published under name nearest the focus (see ViewExt::focused_value): what a menu command acts on, such as the selected note of the focused list. None if nothing near the focus publishes one of type T.