GtkProgress::get_percentage_from_value

double get_percentage_from_value(double value);

If you wish to retrieve the progress percentage based on some value other than the current one, then this method should be used. It returns the desired percentage as a number between 0.0 and 1.0.