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

Default properties are not available right away #104

Closed nicolaspayette closed 9 years ago

nicolaspayette commented 10 years ago

Because they get set from the Event thread. Example:

extensions [xw]
to setup
  ca
  xw:create-tab "t1"
  show [ xw:background ] xw:of "t1"
end

Extension exception: Property BACKGROUND does not exist for widget T1. error while observer running XW:BACKGROUND called by procedure SETUP called by Command Center

nicolaspayette commented 9 years ago

They also wouldn't be available when running headless, which might be a bigger problem.