Function libnotcurses_sys::ncprogbar_create[][src]

pub unsafe extern "C" fn ncprogbar_create(
    n: *mut ncplane,
    opts: *const ncprogbar_options
) -> *mut ncprogbar
Expand description

Takes ownership of the ncplane ‘n’, which will be destroyed by ncprogbar_destroy(). The progress bar is initially at 0%.