Prev | Current Page 902 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


Table 17-9
List Type Value Type Description
Single selection list or
drop-down list
Int Index of the selected item; starts at 0
Editable single selection list String The currently entered text, or the string
representation of the last selected item
Multiple selection list Array An array of Booleans depicting the selection
state of each item in the List
Combo box (editable) list String The currently entered text, or the string
representation of the last selected item
At present, the nGui List control provides only a subset of the functionality offered by the IUP library
List control. This may change over time as the haXe community increases its uptake of the library.
However, it is the purpose of nGui to maintain a simple interface for rapid applications development, so
any additions will be minimal, and will certainly maintain its current feature set.
The following example highlights the simplicity of the List control for complex functionality:
import neko.Lib;
import nGui.Manager;
import nGui.


Pages:
890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914