Type Definition libnotcurses_sys::widgets::NcMenuSection
source · pub type NcMenuSection = ncmenu_section;Expand description
Section for NcMenu.
Implementations§
source§impl NcMenuSection
impl NcMenuSection
sourcepub fn new(name: &str, items: &mut [NcMenuItem], shortcut: NcInput) -> Self
pub fn new(name: &str, items: &mut [NcMenuItem], shortcut: NcInput) -> Self
New NcMenuSection for NcMenu.
sourcepub fn new_separator() -> Self
pub fn new_separator() -> Self
New NcMenuSection separator for NcMenu.