Class LM_ColorSwatch

Parent classes: LM_BaseWidget < LM_View

Version added: before 9.5
Image

LM_Color_Swatch


The LM_ColorSwatch class lets the user choose a color. It is filled in with the current color selection, and when the user clicks it, a color picker appears to select a new color. To create a new color swatch, you would use the LM.GUI.ColorSwatch method.

See also: LM.GUI.ShortColorSwatch

Methods of LM_ColorSwatch:

Name Returns Description Ver
SetConstantMessages void Added in version 11 11
SetModalMessages void Added in version 11 11
SetValue void < 9.5
Value rgb_color < 9.5

Methods inherited from LM_BaseWidget:

Name Returns Description Ver
Redraw void Call this function to force the widget to redraw itself < 9.5

Methods inherited from LM_View:

Name Returns Description Ver
Enable void Enables or disables a view object < 9.5
Height int32 Added in version 11 11
IsEnabled bool Tells whether the view is currently enabled < 9.5
IsMouseDragging bool Added in version 11 11
SetCursor void Change the cursor < 9.5
SetToolTip void Added in version 12 12
Width int32 Added in version 11 11