We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Creating a Menu (Read 849 times)
Creating a Menu
Feb 25th, 2007, 9:10pm
 
Hi all,
Sorry if this has been covered before but I tried searching and could not find anything.

I'd like to create a drop-down menu within a sketch so users can select the value of a variable (there will be 24 options).

How can I do this?

Thanks in advance,
Will
Re: Creating a Menu
Reply #1 - Feb 25th, 2007, 11:14pm
 
there are several GUI packages that will handle the entire method for creating, using, and reading drop-boxes and such. check the "Learning" and "Reference" pages.

Edited:

http://processing.org/reference/libraries/index.html - scroll down to the "GUI" section.

http://www.repeatwhiletrue.com/SpringGUI - you might be able to hide this library's selection-list object until it is ready to be displayed (i.e., user clicks a button to "drop" the list) and hide it again once something is selected. just an idea.
Page Index Toggle Pages: 1