ProgressBar.getText

string getText()

Retrieves the text that is displayed with the progress bar, if any, otherwise null. The return value is a reference to the text, not a copy of it, so will become invalid if you change the text in the progress bar.

Returns

text, or null; this string is owned by the widget

and should not be modified or freed.