uiNewSpinbox

Function uiNewSpinbox 

Source
pub unsafe extern "C" fn uiNewSpinbox(
    min: c_int,
    max: c_int,
) -> *mut uiSpinbox
Expand description

Creates a new spinbox.

The initial spinbox value equals the minimum value.

In the current implementation @p min and @p max are swapped if min>max. This may change in the future though. See TODO.

@param min Minimum value. @param max Maximum value. @returns A new uiSpinbox instance. @todo complain or disallow min>max? @memberof uiSpinbox @static