Picture

Picture widgets are for displaying static images loaded from a file. Their width and height are set to the size of the image file.

Properties

Picture widgets have the following attributes/properties:

PropertyDescriptionRequiredIn templateDefaultScript
nameThe name of the widgetNoN/A_picturennRead-only
xHorizontal screen positionYesN/AN/AYes
yVertical screen positionYesN/AN/AYes
imageThe image file to displayYesN/ANoneYes
visibleWhether or not the widget is shownNoN/ATrueYes

Methods

The following methods are supported by picture widgets:

MethodDescription
reloadimage()Reloads the image file from disk.