r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!RebGUI] A lightweight alternative to VID

Ashley
8-Apr-2007
[5757]
Build 74 uploaded to SVN. Includes the following additions:

1) New action object used as follows:

	box "" red
		on-click		[
			print "click"

   system/view/focal-face: face	; required to pick up scroll events
			system/view/caret: face/text	; required to pick up key events
		]
		on-alt-click	[print "alt-click"]
		on-dbl-click	[print "dbl-click"]
		on-scroll		[print scroll]
		on-key			[print ["key" event/key]]
		on-over			[print "over"]
		on-away			[print "away"]
	;	on-focus		[print "focus"]
	;	on-unfocus		[print "unfocus"]

2) New layout keywords added as follows:

	text "Test" text-color blue
	text "Test" bold
	text "Test" italic
	text "Test" underline


3) New 'examine function added to provide detailed information about 
a widget:

	>> examine table

Also a number of fixes:

1) Multi-row Shift hilight selection fixed (pekr)
2) Dialog has parent option by default (Frank)
3) Keystrokes on a button no longer passed along (Graham)
4) request-password enhanced to allow following:

		request-password/check [if (length? text) < 6 ["Problem"]]

5) /scroll option removed from display

6) /min-length & /max-length refinements removed from request-password

7) /no-action option added to select-row function of table & text-list


WARNING: These changes are wide-reaching and have not been fully 
tested ... some things may have been broken. Full documentation in 
preparation.
Pekr
8-Apr-2007
[5758]
very nice, going to SVN now  to download new build ...
btiffin
8-Apr-2007
[5759]
Ashley...you are da' man.
Pekr
8-Apr-2007
[5760]
As RebGUI is aproaching 1.0 release, I would like to know your opinion 
on following - how do you construct and optimise your GUI? So far, 
if you look at tour.r, it reminds me of one big dialog configuration 
box. Not sure what to do about it, maybe it is a given, as widgets 
we have do suggest such layouting. This debate could open discussion 
about eventual addition of potentially missing widgets. My questions 
are:


- are you missing kind of MDI application scheme? Parent window, 
containing one or more child windows, which are not able to being 
moved away from its parent. We used that design much, but I am not 
sure anymore it is vital, as with latest system, we use two monitor 
set-up, and by simple accelerator key we can navigate window being 
moved between displays. Having MDI available, we would probably need 
rebol/view native windowing system. So - is anyone missing something 
like that?


- do you somehow optimise your display? Isn't it like following? 
- with using tabs, everything is in memory, whereas it eventually 
is not needed? How do you divide your application, if you would like 
to have kind of load-on-demand aproach?


What styles do we miss, to further help us have more complete GUIs? 
I created screenshot of potentially two usefull widgets:

http://www.xidys.com/widget-drop-tab.jpg
http://www.xidys.com/widget-vertical-tab.jpg


Especially with the second one, I think it could be usefull. It is 
used by many applications. It is kind of mixture of tab and tree, 
but not necessarily with multi-level aproach, just one level of nesting, 
mostly represented by icons, text, or icons plus text. I would like 
to know your opinion.
PeterD
8-Apr-2007
[5761]
Pekr, whre can I download the new build?. No luck finding SVN
Bloodie beginner!
Pekr
8-Apr-2007
[5762]
PeterD - ok, I can zip it and send it to your email - please give 
me your email address ...
PeterD
8-Apr-2007
[5763x2]
Thanks, please send it to: [peter-:-danek-:-com]
I like the verical tab !
btiffin
8-Apr-2007
[5765]
Pekr; If this is an open question, and not just to Ashley,


I use what I'm given.  In that I build apps (not many so far) using 
the toolkits I see in front of me.  I'll definitely retrofit my existing 
Fire and Rescue Management app with a Menu once the flurry of RebGUI 
development slows down a bit (and please don't slow down, love the 
flurry).


Unless my systems crash, I spend zero time optimizing, wait I take 
that back, I try and follow my own style guides while I'm writing. 
 There is the odd backtrack to get a tab panel to line up nicely 
inside another.  Other than fixing glaring visual ugliness, no optimizing.


I design with a 'small town business model'.  I hand deliver applications.


If I go and snag a feature that goes quirky during my initial testing, 
I dump the widget and look for another.  My 0.4.0 build of RebGUI 
had sticky persistent drop-list's so I used labels and a special 
requestor.  I'm not sure I'll retrofit these.


The easier things are out of the box for me, the happier.  Give me 
the tool, describe how it works and I'm satisfied (when it's as elegant 
as REBOL, RebGUI and RebDB).
Pekr
8-Apr-2007
[5766]
well, vertical tab - beware - those are not rebgui examples, just 
external apps - for inspiration :-)
PeterD
8-Apr-2007
[5767]
Understand, I like the "real estate handling" part of such a widget.
Is it http://trac.geekisp.com/rebgui/?
btiffin
8-Apr-2007
[5768]
I'm using http://svn.geekisp.com/rebgui
PeterD
8-Apr-2007
[5769]
Pekr, thanks 4 the zip
Pekr
8-Apr-2007
[5770]
you're welcomed ....
Robert
9-Apr-2007
[5771]
Petr, well I use one main window, it has one PANE (box) which will 
have all data-form specific parts. This PANE is changed dynamically 
depending on the user choice. I hope to have an english demo available 
of my application that I can provide for download. IMO the concept 
is quite simple to use, and simple to progam.
Ashley
9-Apr-2007
[5772]
Build 75 uploaded to SVN. Fixes some problems introduced in build#74 
and improves widget documentation. See here for a complete list: 
http://www.dobeash.com/RebGUI/widgets.htmland also the updated %tour.r 
Widget and Function Ref tabs.
Pekr
9-Apr-2007
[5773x3]
now if area could scroll by hiliting by mouse, most "bugs" would 
be fixed for me :-) Well, not me, it was Bobik who reported it to 
me, as for me, being keyboard guy - I am ok with ctrl + A :-)
hmm, maybe drop-list and-edit list could work with keyboard (arrows, 
scroll wheel) too, but those are all imo minor features missing ...
Do you think that it would be possible for tour.r, to include e.g. 
one tab, showing how focusing works, including buttons? E.g. by default 
some element would have focus and you would be able to tab-focus 
between most ui elemetns?
PeterD
9-Apr-2007
[5776]
Can I use multiple level sort on a table?
If yes how?
Robert
9-Apr-2007
[5777]
IIRC: No, only one column at the moment.
Pekr
9-Apr-2007
[5778]
tour.r/functions/request-font, double click some of entries:

** Script Error: action has no refinement called on-dbl-click
** Where: wake-event
** Near: p/parent-face/action/on-dbl-click p/parent-face
Ashley
9-Apr-2007
[5779]
dbl-click for table & text-list broken by build#74. On the list to 
fix.
Ashley
10-Apr-2007
[5780]
Build 76 uploaded. Fixes above problem and includes further documentation 
improvements.
PeterD
10-Apr-2007
[5781]
from where can I download ?
Graham
10-Apr-2007
[5782]
trac.geekisp.com/rebgui
Pekr
10-Apr-2007
[5783x4]
that does really not help - to anyone :-)
... and I must laugh, as we still think, that most ppl are able to 
sort out, what to actually do. That is total mistake, however, and 
prevents many from even trying rebgui.
I even don't remember, how I managed Tortoise to work, at least in 
semi-automatic mode - choosing files manually, doing "save as" ....
isn't it possible to do some automated builds to .zip file? PeterD 
- I can sedn you new version from time to time ....
Graham
10-Apr-2007
[5787x3]
http://trac.geekisp.com/rebgui/browser/get-rebgui.r?format=raw
Download and run this script .. it downloads it all for you.
Or, spend 10 mins learning how to use SVN and join the rest of us.
Pekr
10-Apr-2007
[5790x4]
that works for small group - other than that - it is not simply constructive 
aproach ...
I can't imagine sourceforge would not offer package downloads - that 
aproach simply sucks
well, I will package it for PeterD once again and send it to him 
...
noone should be forced to use some stupid helper tools suited for 
developers. We've got some users interested in RebGUI, not SVN gurus 
...
Graham
10-Apr-2007
[5794x4]
For those who are not developers, Ashley offers a download on his 
site.
the SVN site is for those contributing to the sourcecode
Where do I get it?

Just click the 'RebGUI' icon (under REBOL Demos) 
in the REBOL/View Viewtop (which can be started by typing desktop 
at the console).

If that is too hard ... well, I think someone has a problem.
Pekr
10-Apr-2007
[5798x6]
that crashed on me few days ago - going to try ...
works here. Must be some problem with my new Vista notebook then 
....
Also - did not know new betas are posted. So - please  accept my 
apology. PeterD - you can download nearly new builds from the website 
directly. It was just in the past, that website contained xy incarnation 
older builds ...
would anyone agree to make following the default rebgui coloring/look? 
Basically to achieve this it is very easy:

1) set 'over to sky
2) change rounding to 1
3) set window color to wather
4) set effect to: gradient 1x1 white water

http://www.xidys.com/new-rebgui-default-look.jpg

I would call it "white water skin" :-)
it also somehow reflects rebgui website coloring. But I think the 
look is upon each of us. It is just that it looks better to me than 
default look ...
Ashley - just small tip - look at ui.dat. There are new lines before 
the closing bracket, imo those are not necessary. That is just cosmetic 
issue, but it could make ui.dat source more readable ... also each 
"make object! ..." could start on new line ...
Henrik
10-Apr-2007
[5804]
pekr, I don't like that gradient at all :-) It's too strong and not 
symmetric.
Ashley
10-Apr-2007
[5805]
Note that the easiest way to grab the latest SVN build (without using 
any client s/w) is via a simple REBOL script like this:


 write %rebgui.r read http://trac.geekisp.com/rebgui/browser/rebgui.r?format=raw

 write %tour.r read http://trac.geekisp.com/rebgui/browser/tour.r?format=raw


%rebgui.r (the complete merged distribution sans %tour.r) is now 
regenerated and uploaded every build.
PeterD
10-Apr-2007
[5806]
Pekr,Graham,Henrik,Ashley, all of you,


Thanks for your help and interest. Everything is sooo new and there 
is a lot of it.

I am to "new" to help with the development part, however I can play 
and test.
Just want to make sure I use the "latest and greatest" 

I used to download from Ashley's site until I realized that I'm 2-3 
build behind.


I will RebolAutomize thinhs as I go and hopefully catch up with you.

Best regards
A newly Rebolized
Peter