class LM_Button

The LM_Button class represents a basic push button, like the OK and Cancel buttons in a dialog box. To create a new button, you would use the following function:

LM_Button LM.GUI.Button(label, msg)

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

Return value (LM_Button): the newly-created button
label (string): the text that should appear on the button
msg (int): a message value to be triggered when the button is pressed
class LM_Button : public LM_BaseWidget {
  void SetValue(bool value);
  bool Value();