Gtk.ProgressBar.prototype.set_fraction
function set_fraction(fraction:Number):void {
// Gjs wrapper for gtk_progress_bar_set_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.
- fraction
fraction of the task that's been completed