Reference
Components
Module GUI
Description
The Module GUI component (MGUI for short) gives a module a front panel and allows you to use the low-level GUI components to define the
graphics and interaction capabilities.
Note that if you don’t want or need to use the GUI components then you can just use the G button on the module action panel to add a front
panel (see the Front Panel section in Chapter 4 of the main user guide).
All GUI information is sent through View connectors. These are yellow circles with a V in the middle. The MGUI has one View output.
Anything connected to this will either draw onto the front panel or handle mouse messages from it.
The two Float outputs can be used to get the size of the front panel if this is needed.
The two float inputs allow you to set the position of the module when it appears in a parent front panel. Direct placement using front panel
editing is usually preferred to explicit placement but this can sometimes be useful.
If you want to hide the grey module border then you can do this by setting the Border input to False.
Mouse move messages are suppressed by default. By mouse moves we mean movement of the mouse with no buttons held down. When a
button is held we call it a mouse drag and these are not suppressed.
The reason for suppressing mouse moves is that because of their frequency they use measurable processing as messages are passed up
and down the module hierarchy. Mouse moves are rarely used and so there is no point in having this extra processing when it isn’t needed. If
you do need to have mouse move handling then set the Mouse input to True.
Connectors
Inputs Type Outputs Type
Connector for displaying this
panel on another front panel.
Often this is connected to a
wireless input.
View Connect this to other
components in order to
display them on the
front panel or to
handle mouse
messages
View
Set the x position of the
panel in a parent panel
Float Width of the modules
front panel
Float
Set the y position of the
panel in a parent panel
Float Height of the modules
front panel
Float
236 of 494