![]() |
Examples of the graphical user interface through markup | ![]() |
These documents show the elements of the graphical user interface through markup. Open one of them (a click on its link), then use its elements: each one runs a command which shows in the footer what it did (with gui-message, a secure function of the module (doc gui-markup-examples), which the documents load with use-module; the commands of the markup may only use secure functions). They are ordinary documents with the style gui-button (or a theme, or gui-keyboard): their source, shown with Document\(\rightarrow\)Source\(\rightarrow\)Edit source tree, is an example of the markup.
Buttons: action and menu buttons, with their normal, hover and pressed looks.
Toggles: form-checkbox, and a toggle-button whose command does not run.
Choice lists: choice-list, check-list and a popup of choices (input-popup).
Input fields: input-field (Return), the fields of forms (form-input-text, form-text-area).
Layout: hlist, vlist, glue, tiled, align-tiled and the styles of text.
Tabs: tabs, tabs-bar, tabs-body, active-tab and passive-tab.
Default theme: a small dialog with gui-button.
Bright theme: the same dialog with gui-bright.
Dark theme: the same dialog with gui-dark.
A virtual keyboard: keys which type at the cursor, and a modifier shown through broadcast messages.
The primitives: dynamic-case (mouse-over, broadcast messages) and relay used directly.
In a document which can be edited, some elements react to a double click only (the tabs, which are links), and the cursor may enter the elements: a click outside of them leaves them.