Gtk.ProgressBar.prototype.set_show_text
function set_show_text(show_text:Boolean):void {
// Gjs wrapper for gtk_progress_bar_set_show_text()
}Sets whether the progress bar will show text superimposed over the bar. The shown text is either the value of the Gtk.text property or, if that is null, the Gtk.fraction value, as a percentage.
To make a progress bar that is styled and sized suitably for containing text (even if the actual text is blank), set Gtk.show-text to true and Gtk.text to the empty string (not null).
Since 3.0
- show_text
whether to show superimposed text