Documention for: view-buttons.r
Created by: btiffin
on: 15-May-2007
Last updated by: btiffin on: 17-May-2007
Format: html
Downloaded on: 17-Apr-2024

Usage document for %view-buttons.r

1. Introduction to %view-buttons.r
2. view-buttons At a Glance
3. Using %view-buttons.r
3.1. Running %view-buttons.r
4. What you can learn
5. What can break
5.1. Needs REBOL/View
6. Credits

1. Introduction to %view-buttons.r

view-buttons.r is an introduction to the ease of gui creation with REBOL/View.

gui Graphical User Interface, usually pronounced as gooey

2. view-buttons At a Glance

Not setup is required, just do it.

>> do %view-buttons.r
 

view-buttons.png

The above image was created with REBOL/View 2.7.5.4.2, Debian GNU/Linux 4.0, KDE Desktop.

3. Using %view-buttons.r

Requires REBOL/View

3.1. Running %view-buttons.r

From the library with:

 >> do http://www.rebol.org/cgi-bin/cgiwrap/rebol/download-a-script.r?script-name=view-buttons.r
 
or locally with:
 >> do %view-buttons.r
 

4. What you can learn

This script is an introduction to the view and layout functions.
Please see the REBOL/View Developer's Guide 

Both REBOL/Core and REBOL/View are available free of charge from www.rebol.com 

REBOL/View gui building is easy.

One point is that layout defaults to placing each element from top to bottom, or vertical direction. This functionality can easily be overridden with the layout keyword across, to place elements left to right, or horizontal direction. See the Developer's Guide for more information.

5. What can break

Nothing to break here.

5.1. Needs REBOL/View

REBOL/Core will not have the view or layout functions defined. You will need to start up REBOL/View.

6. Credits

%view-buttons.r Author: Unknown