Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.ProgressBar

Method GTK2.ProgressBar()->set_fraction()


Method set_fraction

GTK2.ProgressBar set_fraction(float fraction)

Description

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