pracro:devas_corner
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pracro:devas_corner [2010/08/10 10:52] – deva | pracro:devas_corner [2010/08/10 11:14] – deva | ||
---|---|---|---|
Line 52: | Line 52: | ||
</ | </ | ||
</ | </ | ||
+ | |||
====The Widget Events==== | ====The Widget Events==== | ||
Line 57: | Line 58: | ||
Currently the script is referred by its name, and called whenever the widget changes its value.\\ | Currently the script is referred by its name, and called whenever the widget changes its value.\\ | ||
In the new system, the script attribute is removed and replaced by event attributes. The event attributes will themselves contain lua code and not simply a name. In order to call ' | In the new system, the script attribute is removed and replaced by event attributes. The event attributes will themselves contain lua code and not simply a name. In order to call ' | ||
- | The return values will no longer be used. Instead widget methods will be added to control the validation state of each widget, eg. setValid(true|false), setInvalid(), | + | The return values will no longer be used. Instead widget methods will be added to control the validation state of each widget, eg. '' |
Since it is no longer required (due to redundancy) the '' | Since it is no longer required (due to redundancy) the '' | ||
+ | |||
====Event Handlers==== | ====Event Handlers==== | ||
* '' | * '' | ||
- | * '' | + | * more to come |
- | * and many more | + | |
====The Widget Object==== | ====The Widget Object==== | ||
Line 83: | Line 85: | ||
</ | </ | ||
A small number of methods are common to all widget types. These include are: | A small number of methods are common to all widget types. These include are: | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
Others are specific to certain widget types, such as (and many more): | Others are specific to certain widget types, such as (and many more): | ||
- | * '' | + | * '' |
- | * '' | + | |
- | * '' | + | |
=====New protocol===== | =====New protocol===== |
pracro/devas_corner.txt · Last modified: 2011/01/14 14:49 by deva