Oh, right… I didn't realize I can do that. :)
Thanks,
Peter
On Thu, May 19, 2016 at 11:43 PM, Nicolai Hess
wrote:
> You can use a ListModel and put your Buttons in it.
>
> ListModel new
> items: ( 'Files' asPackage classes collect:[:c | ButtonModel new icon:
> c systemIcon; label: c name; a
You can use a ListModel and put your Buttons in it.
ListModel new
items: ( 'Files' asPackage classes collect:[:c | ButtonModel new icon:
c systemIcon; label: c name; action:[ UIManager default alert: c comment
title: c name]]);
displayBlock: [ :x | x buildWithSpec ];
openWithSpec
20