pub fn new(title: impl Into<LabelText<T>>) -> Menu<T> {
        Menu {
            rebuild_on: None,
            refresh_on: None,
            item: MenuItem::new(title),
            children: Vec::new(),
        }
    }
/// Create a menu with the given name.
Create a menu with the given name.
Create a menu with the given name .
pub fn new(title: impl Into<LabelText<T>>) -> Menu<T> {
        Menu {
            rebuild_on: None,
            refresh_on: None,
            item: MenuItem::new(title),
            children: Vec::new(),
        }
    }
pub fn new ( title : impl Into < LabelText < T > > ) -> Menu < T > { Menu { rebuild_on : None , refresh_on : None , item : MenuItem :: new ( title ) , children : Vec :: new ( ) , } }
Create a menu with the given name.
Create a menu with the given name .
title
impl Into<LabelText<T>>
title
impl Into<LabelText<T>>