Gtk.Entry.prototype.set_progress_fraction

function set_progress_fraction(fraction:Number):void {
    // Gjs wrapper for gtk_entry_set_progress_fraction()
}

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

Since 2.16

fraction

fraction of the task that's been completed