The above image was created running REBOL/View 22.214.171.124.2, GNU/Linux 4.0, KDE Desktop. It does not show any of the button animations, such as the blink flip.
Using the REBOL/View console, from the library with:
>> do http://www.rebol.org/download-a-script.r?script-name=buttons.ror locally with:
>> do %buttons.r
The source code:
pic: load-thru/binary http://www.rebol.com/view/palms.jpg
uses a very powerful network aware feature of REBOL/View to load the palm tree image from rebol.com. You will need an active network connection or an already cached image for this to work properly. Once cached, REBOL will use the local copy from then on.
You will need to use the window close system menu, usually an X on the title bar to close the %buttons.r sample view.
This script highlights the ease and wonder of graphical programming with REBOL/View.
You will need to run REBOL/View for this script. REBOL/Core does not know the view or layout functions. You also need an active network connection to retrieve the palm tree image, but only until it is locally cached.
|%buttons.r||Author: Carl Sassenrath|