Type Definition libnotcurses_sys::widgets::NcMenuSection

source ·
pub type NcMenuSection = ncmenu_section;
Expand description

Section for NcMenu.

Implementations§

source§

impl NcMenuSection

source

pub fn new(name: &str, items: &mut [NcMenuItem], shortcut: NcInput) -> Self

New NcMenuSection for NcMenu.

source

pub fn new_separator() -> Self

New NcMenuSection separator for NcMenu.