Function libnotcurses_sys::ffi::nctabbed_del [−][src]
pub unsafe extern "C" fn nctabbed_del(nt: *mut nctabbed, t: *mut nctab) -> c_int
Expand description
Remove a tab ‘t’ from ‘nt’. Its neighboring tabs become neighbors to each other. If ‘t’ if the selected tab, the tab after ‘t’ becomes selected. Likewise if ‘t’ is the leftmost tab, the tab after ‘t’ becomes leftmost. If ‘t’ is the only tab, there will no more be a selected or leftmost tab, until a new tab is added. Returns -1 if ‘t’ is NULL, and 0 otherwise.