>>>>> "Alan" == Alan Isaac <[email protected]> writes:

 Alan> While the widget documentation at
 Alan> https://github.com/NetLogo/NetLogo/wiki/Widget-Format is very
 Alan> helpful, there seems to be a problem with the Chooser
 Alan> documentation.

 Alan> 1. The attributes documented as `display` and `varname` do not
 Alan> work as these "names" suggest: `display` determines the variable
 Alan> name, and contrary to what is implicit in the documentation, it
 Alan> appears to be impossible to set a separate display name.

Yeah, see comments in the save method at the bottom of
https://github.com/NetLogo/NetLogo/blob/5.x/src/main/org/nlogo/window/ChooserWidget.scala
And note also that the load method simply ignores that line.
Feel free to update the doc to reflect reality.

 Alan> 2. Additionally, I would suggest changing the documentation of
 Alan> the final attribute from "current choice" to "index of current
 Alan> choice".  I'd be happy to make this simple change if nobody
 Alan> objects.

Yes please.

-- 
Seth Tisue | http://tisue.net

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to