8.13.22 InputColor class: A color input item.

The InputColor class has this constructor:

class InputColor( name,value)
Creates a new color input field with a label in front.

The color input field is a button displaying the current color. Clicking on the button opens a color dialog, and the returned value is set in the button.

InputColor objects have the following methods:

setColor( )

setValue( value)
Change the widget's value.