Creates and displays a graphical percentage element in the current shell output.
Syntax |
addGauge(): uint |
---|---|
Result |
Returns the ID of the created element, 0 in case of errors |
The returned ID can later be used with the setText() and setGauge() functions respectively to change the text and values of the graphical percentage element an arbitrary number of times.