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

xw:get-<property> should return default value if not defined #74

Closed nicolaspayette closed 10 years ago

nicolaspayette commented 10 years ago

This doesn't apply anymore, since property values are written back to State upon widget initialization. Properties that are defined for a kind always have a value. And trying to get the value of a property that is not defined for a kind throws an exception.