ProgressBar.setShowText

Sets whether the progress bar will show text superimposed over the bar. The shown text is either the value of the "text" property or, if that is NULL, the "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 "show-text" to TRUE and "text" to the empty string (not NULL).

class ProgressBar
void
setShowText
()

Parameters

showText int

whether to show superimposed text Since 3.0

Meta