Label object
The Label widget displays static text
| Property |
Description |
Access |
Type |
| Label.align |
Align the Label relative to its parent |
readwrite |
boolean |
| Label.allowdrop |
Controls whether the Label is a drag and drop target |
readwrite |
boolean |
| Label.bgcolor |
Get/set the Label background color |
readwrite |
number |
| Label.cursor |
Get/set the image of the mouse cursor as it hovers over the Label |
readwrite |
string |
| Label.enabled |
Controls whether the label responds to mouse and other events |
readwrite |
boolean |
| Label.fgcolor |
Get/set the Label text color |
readwrite |
number |
| Label.font |
Get/set the Label font |
readwrite |
string |
| Label.fontsize |
Get/set the Label font size |
readwrite |
number |
| Label.fontstyle |
Get/set the label font style |
readwrite |
table |
| Label.height |
Get/set the Label's height |
readwrite |
number |
| Label.parent |
Get the Label's parent widget |
readonly |
|
| Label.text |
Get/set the Label text content |
readwrite |
string |
| Label.textalign |
Get/set the Label text alignment |
readwrite |
string |
| Label.tooltip |
Get/set the Label tooltip text |
readwrite |
string |
| Label.visible |
Controls whether the Label appears on screen |
readwrite |
boolean |
| Label.width |
Get/set the Label's width |
readwrite |
number |
| Label.x |
Get/set the Label's horizontal position |
readwrite |
number |
| Label.y |
Get/set the Label's vertical position |
readwrite |
number |