Type Definition libnotcurses_sys::widgets::NcTreeOptions

source ·
pub type NcTreeOptions = nctree_options;
Expand description

Options struct for NcTree.

Implementations§

source§

impl NcTreeOptions

source

pub fn new(items: &[NcTreeItem], indentcols: u32) -> Self

New NcTreeOptions for NcTree.

source

pub fn with_all_args( items: &[NcTreeItem], count: usize, nctreecb: Option<NcTreeItemCbUnsafe>, indentcols: u32, flags: u64 ) -> Self

New NcTreeOptions for NcTree, with all args.