Re: [Pharo-users] Putting checkboxes in ListPresenter

2019-08-24 Thread Richard Sargent
Thank you, Renaud, for explaining that. I am so glad to see that Pharo has addressed this and made it so simple. I've seen too many UIs that fail on this kind of thing. Kudos to those people who created this. You nailed it! On Sat, Aug 24, 2019, 18:31 Renaud de Villemeur wrote: > Hi Steve. > >

Re: [Pharo-users] Putting checkboxes in ListPresenter

2019-08-24 Thread Renaud de Villemeur
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

[Pharo-users] Putting checkboxes in ListPresenter

2019-08-24 Thread Steve Quezadas
Guys, I am learning this new "spec" thing. I created a simple Spec "list" object with the following code: arbitraryList := ListPresenter new. arbitraryList items: #('one' 'two' 'three' 'four. . .'); title: 'Arbitrary list'. arbitraryList openWithSpec. Which creates a simple list like follow