Progress.getPercentageFromValue

Warning gtk_progress_get_percentage_from_value is deprecated and should not be used in newly-written code. Returns the progress as a percentage calculated from the supplied absolute progress value.

class Progress
double
getPercentageFromValue
(
double value
)

Parameters

value double

an absolute progress value.

Return Value

Type: double

a number between 0.0 and 1.0 indicating the percentage complete represented by value.

Meta