%angel

listboxexample = window {
   title = "Listbox Example";
   content = [mys,myl] };

mys = scrollbar {
   scrolls = "myl";
   orient = "vertical";
   side = "right";
   fill = "y" };

myl = listbox {
   selectmode = "browse"; 
   items = [ "blue", "red", "green", "yellow", "white" ];
   selecteditems = [ "red" ];
   height = 3;
   background = myl_selecteditems[1];
   side = "right";
   fill = "both" };

