GtkProgress::set_percentage

void set_percentage(double percentage);

This method sets the current percentage for a GtkProgress. Its value must be between 0.0 and 1.0.

Use this method to update a GtkProgressBar that is in percentage mode.