pub fn new(label: Label) -> Self {
        MenuItem {
            label,
            shortcut: None,
            selected: false,
            enabled: true,
        }
    }
/// Construct a new menu item builder.
Construct a new menu item builder.
Construct a new menu item builder .
pub fn new(label: Label) -> Self {
        MenuItem {
            label,
            shortcut: None,
            selected: false,
            enabled: true,
        }
    }
pub fn new ( label : Label ) -> Self { MenuItem { label , shortcut : None , selected : false , enabled : true , } }
Construct a new menu item builder.
Construct a new menu item builder .
label
Label
label
Label