class LM_CheckBox

The LM_CheckBox class is a check box that can be marked on or off. To create a new button, you would use the following function:

LM_CheckBox LM.GUI.CheckBox(label, msg)

Creates a new LM_CheckBox object that can then be added to a dialog or toolbar.

Return value (LM_CheckBox): the newly-created check box
label (string): a text label to appear at the side of the check box
msg (int): a message value to be triggered when the button is pressed

Member Functions

void SetValue(value)

Sets the value of the check box.

Return value: none
value (bool): true to set the box checked, false for unchecked

bool Value()

Returns whether the box is checked or not.

Return value (bool): returns tru if the box is checked, false otherwise
class LM_CheckBox : public LM_BaseWidget {
  void SetValue(bool value);
  bool Value();