Progress
From TargetWiki
A Progress is a type of widget. All widget functions can also be called on a progress. Progresses are drawn on screen using a progress style which is set in the current theme.
Since a progress is a Lua object, calls should use the object:function() syntax. Also, all Lua object functions can also be called on a progress.
[edit]
Functions
- position()
- Returns the position of the progress bar as a float between 0.0 (empty) and 1.0 (full).
- setposition( <float> )
- Sets the position of the progress bar. Valid values are between 0.0 (empty) and 1.0 (full).
- vertical()
- Returns true if the orientation is vertical.
- setvertical( <boolean> )
- Sets the orientation to vertical.
Categories: Lua | GUI | Widgets
