ProgressBar.setShowText
void setShowText(bool showText)Sets whether the progress bar will show text next to the bar.
The shown text is either the value of the gtk.progress_bar.ProgressBar.text property or, if that is null, the gtk.progress_bar.ProgressBar.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.progress_bar.ProgressBar.showText to true and gtk.progress_bar.ProgressBar.text to the empty string (not null).
Parameters
showText | whether to show text |