Right now it seems that all the rhinoscriptsyntax listbox methods call a member of Rhino.UI.Dialogs, all of which seem to use WindowsForms at some point, all of which crash MacRhino (have to force quit)… Is there ANY method that might work for a script on a Mac that allows the user to choose an item from a list?
The only thing that works right now that I have tested is GetString with a list of strings… Kind of a kludge…
I guess you could tie in any Python UI framework and use it to create a dialog window in which a user can select a value. Use maybe wxPython or Kivy - these are cross platform and will work on Windows too. http://kivy.orghttp://www.wxpython.org
That would be a requirement and I highly doubt you are going to get any of this to work. I need to fix these functions in RhinoCommon to be cross-platform.