Sets the values for the indicated graphical percentage element and immediately updates the current shell output.
Syntax |
setGauge(uint id, uint min, uint max, uint val) |
---|---|
id |
ID of the element, obtained by the addGauge() method |
min |
Minimum value for the element |
max |
Maximum value for the element |
val |
Current value for the element |
Result |
(none) |
To change the status text for this element, use the setText() method using the same ID.