set_show_text


Description:

public void set_show_text (bool show_text)

Sets whether the progress bar will show text next to the bar.

The shown text is either the value of the [[email protected]:text] property or, if that is null, the [[email protected]: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 [ [email protected]:show-text] to true and [[email protected]:text] to the empty string (not null).

Parameters:

this

a `GtkProgressBar`

show_text

whether to show text




2022 vala-language.org