rocinantealpha

reference / interface

list

A list in a ui block with all its items showing (six rows, then it scrolls) that gives the item chosen, from a list of text: file = list "file" [ "a.png" "b.png" ]. It starts on the first item, or on the one start names.

word = "one"ui [ word = list "words" [ "one" "two" "three" ] ]draw [ text word at 40 200 size 40 ]
what it draws: the whole window, 400 by 300
What the example of list draws

How to write it

list text items [start text] [at number number] [width number]

Gives text.

Related