pharo-graphics / Toplo

A widget framework on top of Bloc
MIT License
18 stars 8 forks source link

Add a removeAllItems for ToList #13

Closed LouisePla closed 1 year ago

LouisePla commented 1 year ago

A removeAllItems is missing for ToList.

plantec commented 1 year ago

but there is no addItem: as well because the idea is to use the attached collection (a ToObservableCollection). A ToList is updated according to any adding or removing in the attached collection. l := ToList new. l list addAll: (bla bla)... l list removeAll: (bla bla ...)