[REBOL] Re: GUI layout
From: gerardcote::gmail at: 2-Sep-2010 8:37
Hi Emeka,
> Dne 2.9.2010 9:34, Emeka napsal(a):
> > Hello All,
> >
> > I know that in REBOL View you can use across word to direct GUI
> components.
> > Is there something like layout manager for GUI? I would like to divide
my
> > window into two, one EAST , one WEST or even SOUTH and NORTH.
> >
> > Regards,
> > Emeka
> >
For real work I suggest you to go directly at the RebGUI entry below to see
what it can offer to you
Launch REBOL/View in console mode and enter the following 2 lines of code.
do http://www.dobeash.com/RebGUI/get-rebgui.r
do view-root/public/www.dobeash.com/RebGUI/tour.r
Other reference sources about RebGUI can be found at the end of this post.
The above extract come from these sources. I simply wanted to begin by what
I found to be the most useful to you ...
For your general information about VID may be these other scripts can be
useful to you too.
==================================================================
A layout mini-editor from Carl S.:
http://www.mail-archive.com/list-rebol.com/msg07771.html
A script demo for getting a dual columns layout using across :
http://www.rebol.org/view-script.r?script=dual-col.r&sid=kd85hy
Different ways to get a layout (Static or dynamic) :
http://onlamp.com/pub/a/onlamp/2003/10/30/rebol.html
The other information I found for you is from the official Library serach
engine found here :
http://www.rebol.org/search.r
Trying to get some info from "Carl layout editor" got me these results below
:
REBOL/Layoutlayout.r<
http://www.rebol.org/view-script.r?script=layout.r&sid=ppfb454gz>
v:0.1.7
35.7 KB
13 Mar 2003Visual Layout Editor
author: Carl SassenrathGraphical Layout
Editorlayed.r<
http://www.rebol.org/view-script.r?script=layed.r&sid=ppfb454gz>
v:1.0.1
1.6 KB
13 Mar 2003Your basic 1K REBOL graphical object layout editor. Not many
features, but a good example of how to drag faces and show nubs.
author: Carl SassenrathREBOL/Layoutlayout-1.8.r<
http://www.rebol.org/view-script.r?script=layout-1.8.r&sid=ppfb454gz>
discussion <
http://www.rebol.org/discussion.r?script=layout-1.8.r>v:0.1.8
37.1 KB
13 Mar 2003Visual Layout Editor, now accepts more than 6 layouts
author: Carl Sassenrath, Ammon Johnson
This time, using the keyword "panel" as the search keyword I got :
RebGUI span Examplerebgui-sizing.r<
http://www.rebol.org/view-script.r?script=rebgui-sizing.r&sid=rcyc183kn>
documentation <
http://www.rebol.org/documentation.r?script=rebgui-sizing.r>
v:1.0.0
1.9 KB
5 Jun 2007RebGUI tutorial; display images, with widget span and window
resizing
author: Brian Tiffin
While speaking of RebGUI, I found these widgets in their widgets reference
documentation (http://www.dobeash.com/RebGUI/widgets.html)
that could be useful to you :
28- Scroll-panel : http://www.dobeash.com/RebGUI/widgets.html#section-28
32- Splitter : http://www.dobeash.com/RebGUI/widgets.html#section-32
This old discussion thread below can also be useful to you :
===========================================
http://www.mail-archive.com/rebol-bounce-rebol.com/msg03229.html
And finally - but not the least - here are some real demos about what can do
RebGUI for you :
===================================================================
Simply launch REBOL/View in console mode and type the following at the
prompt :
do http://www.dobeash.com/RebGUI/get-rebgui.r
do view-root/public/www.dobeash.com/RebGUI/tour.r
These instructions come from the following extract (taken from
http://community.livejournal.com/rebol) :
-------------------------------------------------------------
Carl's Blog Alert <http://community.livejournal.com/rebol/70435.html>
Fri, 23 Jun 2006 19:50:49
*RebGUI - REBOL/View Graphical User Interface*
RebGUI is a good way to build user interfaces in REBOL. If you've not tried
it yet, you should.
RebGUI takes many of the best concepts of VID (the visual interface dialect)
and provides a useful, smart, clean way to quickly build graphical user
interfaces in REBOL.
To see a quick tour of RebGUI click on it in the Demos folder of the REBOL
Viewtop or type this URL into your REBOL/View GoTo box (or just DO it in the
console):
http://www.rebol.com/rebgui-demo.r
The above script simply does this:
do http://www.dobeash.com/RebGUI/get-rebgui.r
do view-root/public/www.dobeash.com/RebGUI/tour.r
I should mettion that Ashley and his team at Dobeash Software have done a
nice job documenting RebGUI. Here's the main page where you can get started:
\in
RebGUI Home Page
/in
For me, RebGUI is exactly the kind of thing I've wanted to see done in
REBOL. Remember, VID was/is a prototype. Back in 2001 I expected VID to be
replaced with something better in less than a year. VID had some unique and
cool ideas (e.g. dialected interface specification, datatyped property
dispatch, extensible), but also more than a few quirks and loose ends.
Some of you have asked, "Is it ok to use RebGUI for my REBOL applications?"
I say yes! Use what works best for your needs and requirements. For many
types of applications, I think RebGUI is a good choice.
*More here:* http://www.rebol.net/article/0280.html
Even if I don't really program much using REBOL or anything else for now I
try to keep myself well informed ... for what value it can really have!
=======================================================================================================
Regards,
Gerard