Progressbar object
Event | Description |
---|---|
Progressbar.onShow() | Event fired when the Progressbar is shown |
Progressbar.onHide() | Event fired when the Progressbar is hidden |
Progressbar.onClick() | Event fired when the user clicks on the Progressbar |
Progressbar.onContext() | Event fired when the user right click on the Progressbar |
Progressbar.onHover() | Event fired when the user moves the mouse pointer over the Progressbar |
Progressbar.onLeave() | Event fired when the mouse cursor leaves the Progressbar |
Progressbar.onCreate() | Event fired when Progressbar has just been created |
Progressbar.onMouseDown() | Event fired when the user presses a mouse button over the Progressbar |
Progressbar.onMouseUp() | Event fired when the user releases a mouse button over the Progressbar |
Progressbar.onDrop() | Event fired when the Progressbar received a drag and drop content |
Property | Description | Access | Type |
---|---|---|---|
Progressbar.x | Get/set the Progressbar's horizontal position | readwrite | number |
Progressbar.y | Get/set the Progressbar's vertical position | readwrite | number |
Progressbar.width | Get/set the Progressbar's width | readwrite | number |
Progressbar.height | Get/set the Progressbar's height | readwrite | number |
Progressbar.align | Align the Progressbar relative to its parent | readwrite | boolean |
Progressbar.enabled | Controls whether the Progressbar responds to mouse and other events | readwrite | boolean |
Progressbar.visible | Controls whether the Progressbar appears on screen | readwrite | boolean |
Progressbar.allowdrop() | Controls whether the Progressbar is a drag and drop target | readwrite | boolean |
Progressbar.themed | Controls whether the Progressbar use custom theming | readwrite | boolean |
Progressbar.position | Get/set the Progressbar progression position | readwrite | number |
Progressbar.range | Get/set the Progressbar range | readwrite | table |
Progressbar.parent | Get the Progressbar's parent widget | readonly | Window | Groupbox TabItem | Panel |
Progressbar.bgcolor | Get/set the Progressbar background color | readwrite | number |
Progressbar.fgcolor | Get/set the Progressbar text color | readwrite | number |
Method | Description | Return value |
---|---|---|
Progressbar.constructor() | Progressbar object constructor | Progressbar |
Progressbar:center() | Centers the Progressbar on the parent widget | - |
Progressbar:advance() | Advance the progression of the Progressbar | - |
Progressbar:show() | Shows the Progressbar | - |
Progressbar:hide() | Hides the Progressbar | - |
Progressbar:tofront() | Brings the widget in front | - |
Progressbar:toback() | Puts the widget to the back | - |