Public Attributes

Widget Class Reference
[User Interface]

Widget base class. More...

Inheritance diagram for Widget:
Button Image Knob Label Menu MultiStateButton NumBox OnOffButton Panel Slider Table

List of all members.

Public Attributes

number alpha
 transparency value between 0.0 and 1.0
table bounds
 widget bounding rect {x,y,width,height}
function changed
 callback function used by child widgets to be notified of changes
string displayName
 widget display name
bool enabled
 boolean flag to enable / disable the widget
int height
 widget height in pixels
string name
 widget name
bool persistent
 flag to tell if the widget values should be serialized when saving
table position
 widget position {x,y}
bool showLabel
 show widgets label if any
table size
 widget size {width, height}
string tooltip
 widget tooltip, default is name
bool visible
 boolean flag to toggle widget visibility
int width
 widget width in pixels
int x
 x position in pixels
int y
 y position in pixels

Detailed Description

Widget base class.

All widget are derived from this one and all its properties are available in child widgets.