M.gui
The M.gui functions control the action-button window and show message boxes on the MASSO screen.
Applies to
MASSO G3 and MASSO G3 Touch
Available from
Software 5.13, API 1.0.0
Write scripts in
Action window
M.gui.action_window_title(s)
Sets the title of the action-button window.
| Input | s (string): window title |
| Returns | nothing |
M.gui.action_window_title("Job Controls")M.gui.action_window_show()
Shows the action-button window.
| Input | none |
| Returns | nothing |
M.gui.action_window_hide()
Hides the action-button window.
| Input | none |
| Returns | nothing |
Action buttons
Each button is identified by its index i (integer). Colours are hex values such as 0xFFFFFF.
Messages
M.gui.show_message(t, s)
Shows a message box with a title and body text.
| Input | t (string): title; s (string): text |
| Returns | nothing |
M.gui.show_message("Tool Change", "Insert T07 and press Cycle Start.")Related