KUIML
Blue Cat's User Interface Programming Language
PARAM_TEXT_CONTROL

Description

Active element that displays text and allows the user to modify the parameter value with the mouse and the keys. The mouse and keyboard controls are the same as for a knob. See User Experience.

Inherited Attributes

See PARAM_TEXT and Attributes Common to Param Controls.

Specific Attributes

Name Value Type Default Value Description Comment V. Exp.

text_color_disabled

color

'text_color' value

Color of the text when the control is disabled.


1.0

No

text_color_hover

color

'text_color' value

Color of the text when the mouse is over the control.


1.0

No

text_color_focus

color

'text_color_hover' value

Color of the text when the control has focus.


1.0

No

text_color_pushed

color

'text_color_focus' value

Color of the text when the control is pushed (mouse down)


1.0

No

pixel_range

Positive integer

40

Range of the mouse movements to change the parameter value.

Use a larger value to improve precision of the mouse. Beware that the larger the value, the longer the mouse will have to be moved. This value also influences the number of increments available when using the arrow keys.

1.0

No

orientation

orientation

'vertical'

Orientation of the mouse control.

If set to 'horizontal', horizontal mouse movements will be taken into account instead of vertical.

1.0

No

Examples

The graphical properties of this widget are almost the same as the PARAM_TEXT widget except that you can also specify different colors depending on mouse movements, so you can also refer to the PARAM_TEXT section for examples.