Hi Steve.
This is not at all a naive question. This is partly showned in the advance part of spec, and as it said: "ListModel can show more than just text, it can also visualize any kind of widget."
Here is how you could do a static list of checkBox:
��In your initializeWidget method, create your checkbox:
item1 := self newCheckBox label: 'label1'; help: 'help1'; yourself.
item2 := self newCheckBox label: 'label2; help: 'help2'; yourself.
item3 := self newCheckBox label: 'label3'; help: 'help3'; yourself.
You can then create and display your list:
projectList := (self instantiate: ListPresenter)
displayBlock: [ :x | x buildWithSpec ];
items: {item1 . item2 . item3};
yourself.
And your defaultSpec can be as simple as:
defaultSpec [
^ SpecLayout composed
add: #projectList;
yourself
]
Hope this helps.
Renaud