Hi there,

I'm currently developing a little game which uses a ListBox at some
point, and I've got a suggestion for them:

When you create a ListBox, the default choice is empty, which is weird to me.
I think Shoes should automatically choose the first element from the
:items parameter without having to explicitely use the :choose
parameter.
If you don't know what items you pass to the ListBox (think about
retrieving items from a file), writing

  list_box :items => some_items, :choose => some_items[0]

is boring. Even more if you have to make a collect on the array of
items you pass !

Or maybe having a :first option used like list_box :items =>
some_items, :choose => :first

Any opinion ?

François

Reply via email to