Populating NetLogo Chooser at Run Time

I have two "Choosers" in NetLogo. Namely ( Category and Subcategory ). The "Chooser" category has meanings ("Animals" and "Birds"), and in the subcategory of choice there are all animals and birds. I want to fill out a subcategory of a selection at runtime to

1) If "Animals" is selected in the category, the sub-category selector should show only animals

2) If "Birds" is selected in the category, the sub-category selector should show only birds

Any help would be appreciated. I am starting and learning NetLogo. thank you

enter image description here

+5
source share
1 answer

You need to download the extension "Goo"

https://github.com/NetLogo/Goo-Extension/

Alternatively, there is an extension that makes this and other things more developed:

https://github.com/CRESS-Surrey/eXtraWidgets

+5
source

All Articles