Type Definition libnotcurses_sys::widgets::NcSelectorOptions [−][src]
pub type NcSelectorOptions = ncselector_options;Expand description
Options structure for NcSelector.
Implementations
New NcSelectorOptions with just the list of items.
pub fn with_all_options(
title: Option<&NcString>,
secondary: Option<&NcString>,
footer: Option<&NcString>,
items: &[NcSelectorItem],
default: u32,
max_display: u32,
opchannels: NcChannels,
descchannels: NcChannels,
titlechannels: NcChannels,
footchannels: NcChannels,
boxchannels: NcChannels
) -> Self
pub fn with_all_options(
title: Option<&NcString>,
secondary: Option<&NcString>,
footer: Option<&NcString>,
items: &[NcSelectorItem],
default: u32,
max_display: u32,
opchannels: NcChannels,
descchannels: NcChannels,
titlechannels: NcChannels,
footchannels: NcChannels,
boxchannels: NcChannels
) -> Self
New NcSelectorOptions with all options.
