controls.List;
import nGui.controls.Label;
import nGui.controls.Button;
import nGui.controls.Control;
import nGui.controls.containers.VBox;
import nGui.controls.containers.HBox;
import nGui.controls.containers.Dialog;
class ListSample
{
var t : Int;
public static function main()
{
var a = new ListSample();
}
public function new()
{
var mng = new Manager();
var vert : VBox = new VBox();
var horz : HBox = new HBox();
var lbl : Label = new Label( ???No items selected??? );
Chapter 17: Desktop Applications with Neko
493
var lst : nGui.controls.List = new nGui.controls.List();
var lst2 : nGui.controls.List = new nGui.controls.List();
var lst3 : nGui.controls.List = new nGui.controls.List();
var lst4 : nGui.controls.List = new nGui.controls.List();
var lst5 : nGui.controls.List = new nGui.controls.List();
for ( i in 0...10 )
{
lst.appendItem( ???item ??? + ( i + 1 ) );
lst2.appendItem( ???item ??? + ( i + 1 ) );
lst3.appendItem( ???item ??? + ( i + 1 ) );
lst4.appendItem( ???item ??? + ( i + 1 ) );
lst5.
Pages:
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915