Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

GUIKit Example:
ColorChooser

Code

In[1]:=
In[2]:=

Definition

In[4]:=
Out[4]=

Example

This example uses Widget["ColorChooser"] and includes sample code demonstrating how to

Bind a Mathematica script to execute each time the selected color changes.

Create a custom 'color well' whose background color changes with the selection.

Add a modal result binding so a Mathematica color primitive is returned to the kernel when the dialog session ends.

Define a utility wrapper function around the GUIRunModal call, demonstrating a single reusable instance of the dialog used throughout the lifetime of the kernel session.

In[3]:=
Out[3]=


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: