CRESS-Surrey / eXtraWidgets

An extension for creating additional interface tabs in the NetLogo GUI and putting custom widgets on them.
MIT License
13 stars 4 forks source link

Add `xw:clear-all`? #40

Closed nicolaspayette closed 10 years ago

nicolaspayette commented 10 years ago

Equivalent to foreach xw:widget-keys xw:remove. So maybe not necessary?

nicolaspayette commented 10 years ago

Well, if we say yes to #22, the code above might remove the tab (and thereby its widget) before calling remove on the individual widgets, hence creating an error. So xw:clear-all is needed to avoid that.