tabcb

Type Alias tabcb 

Source
pub type tabcb = Option<unsafe extern "C" fn(t: *mut nctab, ncp: *mut ncplane, curry: *mut c_void)>;
Expand description

Tab content drawing callback. Takes the tab it was associated to, the ncplane on which tab content is to be drawn, and the user pointer of the tab. It is called during nctabbed_redraw().

Aliased Type§

pub enum tabcb {
    None,
    Some(unsafe extern "C" fn(*mut nctab, *mut ncplane, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut nctab, *mut ncplane, *mut c_void))

Some value of type T.