nctabbed_create

Function nctabbed_create 

Source
pub unsafe extern "C" fn nctabbed_create(
    n: *mut ncplane,
    opts: *const nctabbed_options,
) -> *mut nctabbed
Expand description

Creates a new nctabbed widget, associated with the given ncplane ‘n’, and with additional options given in ‘opts’. When ‘opts’ is NULL, it acts as if it were called with an all-zero opts. The widget takes ownership of ‘n’, and destroys it when the widget is destroyed. Returns the newly created widget. Returns NULL on failure, also destroying ‘n’.