class LM_View

The LM_View class is the basis for most of the user interface classes available to Moho scripts. It represents a rectangular area in the user interface where some kind of interaction takes place.

Member Functions

void Enable(enable)

Enables or disables a view object. For example, this function is used to gray out a user interface button.

Return value: none
enable (bool): true to enable the view, false to disable it

bool IsEnabled()

Tells whether the view is currently enabled.

Return value (bool): true if the view is enabled, false otherwise
class LM_View {
  void Enable(bool enable);
  bool IsEnabled();
  void SetCursor(LM_Cursor *cursor);