A PGM Interface (.pgui) or simply a GUI is a file that contains several widgets. All these widgets together form the graphical user interface. A gui ends with a
Submit button: pressing it evaluates all widgets and move on to the next step.
A click on the top right
➕ Add widget opens a pane on the left with all the available widgets. A click on a widget type adds the widget in the GUI. You can see it (if not empty for some widgets) in the middle. On the right of
➕ Add widget, a click on
↕ Re-order opens a pane on the right with the widgets already created. You can re-order widgets by dragging and dropping them.
In the main panel, you can access to any widget with a click and see all its properties. The widget can be duplicated with the button Duplicate or deleted with the trash
All widgets and their parameters are described in the Widgets page.
The preview shows how the GUI will look like in RPGM.
⚙ Options button gives the possibility to remove the
Submit button. This can be useful if the application is a dashboard with a single GUI.
It is also possible to remove the
Submitbutton and still use it programmatically with
gui.submit(), which is equivalent to a click on a
Don't forget to go on the Widgets page for the documentation about all the available widgets.