GUIKIT PACKAGE TUTORIAL

GUIKit Example: ColorChooser

Code
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Definition
In[4]:=
Click for copyable input
Out[4]=

Example

This example uses and includes sample code demonstrating how to do the following.

  • Bind a Wolfram Language 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 Wolfram Language color primitive is returned to the kernel when the dialog session ends.
    • Define a utility wrapper function around the call, demonstrating a single reusable instance of the dialog used throughout the lifetime of the kernel session.
    In[3]:=
    Click for copyable input
    Out[3]=