GtkProgressBar::set_fraction

void set_fraction(double fraction);

Causes the progress bar to "fill in" the given fraction of the bar. The fraction should be between 0.0 and 1.0, inclusive.

See also: get_fraction()