Towards a native windows GUI

James Hague <>
Thu Aug 18 15:22:47 CEST 2005


On 8/18/05, Joe Armstrong (AL/EAB) <> wrote:
> 
> F is a function which returns a GUI

You might want to look at REBOL.   It has a function called "layout"
which returns a GUI.  Another function called "view" displays that
GUI.  So you write code like this:

     view layout [gui-description here]

Here are some examples, using real code.  Display two buttons in a vertical row:

     view layout [button "OK" button "Cancel"]

or horizontally:

   view layout [across button "OK" button "Cancel"]

This is by far the easiest GUI system I have run across.

Here's the GUI description overview:
http://rebol.com/docs/view-guide.html

Here's the lower-level graphics system that supports it:
http://www.rebol.com/docs/view-system.html



More information about the erlang-questions mailing list