uiProgressBarSetValue

Function uiProgressBarSetValue 

Source
pub unsafe extern "C" fn uiProgressBarSetValue(
    p: *mut uiProgressBar,
    n: c_int,
)
Expand description

Sets the progress bar value.

Valid values are [0, 100] for displaying a solid bar imitating a percent value.

Use a value of -1 to render an animated bar to convey an indeterminate value.

@param p uiProgressBar instance. @param n Value to set. Integer in the range of [-1, 100]. @memberof uiProgressBar