GUIKit`
GUIKit`

"ColorChooser"

The functionality provided by GUIKit has been superseded by the interface construction and controls functions native to the built-in Wolfram Language.

Widget["ColorChooser"]

provides a panel for making a color selection from various color model interfaces.

Details

  • To use Widget["ColorChooser"], you first need to load GUIKit using Needs["GUIKit`"].
  • An instance of Widget["ColorChooser"] can be placed within any user interface definition, and you can bind to the chooser's "selectionModel" to be notified whenever the currently selected color changes.
  • The following properties are available:
  • "selectionModel"DefaultColorSelectionModelmodel that intercedes selection operations between the user interface and the data
    "color"whitecurrently selected color
  • The "selectionModel" property allows for binding to its "change" event to know when the selected color changes.

Examples

open allclose all

Basic Examples  (1)

Generalizations & Extensions  (1)

Get a Wolfram Language style color primitive by binding to the active selected color: