Type Definition libnotcurses_sys::widgets::NcTreeOptions
source · pub type NcTreeOptions = nctree_options;Expand description
Options struct for NcTree.
Implementations§
source§impl NcTreeOptions
impl NcTreeOptions
sourcepub fn new(items: &[NcTreeItem], indentcols: u32) -> Self
pub fn new(items: &[NcTreeItem], indentcols: u32) -> Self
New NcTreeOptions for NcTree.
sourcepub fn with_all_args(
items: &[NcTreeItem],
count: usize,
nctreecb: Option<NcTreeItemCbUnsafe>,
indentcols: u32,
flags: u64
) -> Self
pub fn with_all_args( items: &[NcTreeItem], count: usize, nctreecb: Option<NcTreeItemCbUnsafe>, indentcols: u32, flags: u64 ) -> Self
New NcTreeOptions for NcTree, with all args.