Skip to content

GUI Example Hello World

Christopher Ross-Gill edited this page Aug 1, 2016 · 1 revision

This example will open an R3 GUI window with a title message and a close button.

Script

view [
    title "Hello World"
    button "Close" close
]

Screenshot

Note: uses development skin, not the final skin.

Description

The TITLE face displays a title in a large bold font at the top of the panel. It also sets the window title to the same string.

The BUTTON face when clicked with execute the CLOSE reactor, which will close the window.

If no other windows are open, Rebol will quit.

Clone this wiki locally