Skip to main content

nav_context

Function nav_context 

Source
pub fn nav_context<A: MenuAction<Message = Message>, L: Into<Cow<'static, str>> + From<&'static str> + 'static, Message: 'static + Clone>(
    key_binds: &HashMap<KeyBind, A>,
    children: Vec<Vec<MenuItem<A, L>>>,
) -> Vec<MenuTree<Message>>
Expand description

Create a menu tree from a widget and a vector of sub trees