PGM Documentation

PGM Documentation

  • RCode
  • RPGM
  • Server

›RPGM Project

Getting started

  • Documentation
  • Installation
  • RPGM Software

RPGM Project

  • Introduction
  • Sequences (.pseq)
  • GUI (.pgui)
  • Widgets

Tutorials

  • Getting started
  • Dynamism & Layout
  • Plotly
  • CSS
  • CSS for Grid

API Reference

  • R GUI Functions
  • R RPGM Functions
  • R Script Functions
  • R XLSX Functions
  • CSS Reference
  • Widget Properties
  • Widget Types

GUI (.pgui)

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.

Screenshot

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 🗑️ button.

Screenshot

All widgets and their parameters are described in the Widgets page.

The preview shows how the GUI will look like in RPGM.

The ⚙ 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 Submit button and still use it programmatically with gui.submit(), which is equivalent to a click on a Submit button.

Don't forget to go on the Widgets page for the documentation about all the available widgets.

Last updated on 16/04/2020
← Sequences (.pseq)Widgets →
PGM Documentation
Docs
RPGM Server
More
Main PGM Solutions website
Copyright © 2022 PGM Solutions