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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Graham
14-Apr-2006
[3341x2]
Outlook bar control would be a good addition to rebgui.
And VID of course.
[unknown: 9]
14-Apr-2006
[3343]
Agreed.
Robert
15-Apr-2006
[3344x7]
how can I avoid that the used words in a RebGUI layout are added 
to the global context?
ok, forget it... got it.
First think, than write ;-))
But now I got a problem: I use some drop-lists that have much more 
entries than fit on the screen. When doing this I now get the following 
error, if I use any of my drop-lists:

** Script Error: Out of range or past end
** Where: action
** Near: result: pick data first picked
Any idea what the problem is?
The problem is in file: rebgui-widgets.r inside the choose function. 
I don't have a clue what I have changed in my app to trigger the 
problem.
The bad thing is... it's a show stopper at the moment.
JaimeVargas
15-Apr-2006
[3351]
Robert post the bug to the rebgui trac system. http://trac.geekisp.com/trac
Robert
16-Apr-2006
[3352x4]
I will
Has someone any hint for me what the problem could be?
BTW: That's the direct link http://trac.geekisp.com/rebgui
How can I access the SVN repository via a client? What URL do I have 
to use?
Graham
16-Apr-2006
[3356x3]
svn://svn.geekisp.com/regbui
try that.
/rebgui
Robert
16-Apr-2006
[3359]
No repository found in svn://svn.geekisp.com/regbui
Graham
16-Apr-2006
[3360]
yes ... because I spelled it wrong.
Robert
16-Apr-2006
[3361x5]
Ah ;-')
Ok, I got it. At least the source of the problem.
I'm using SLIM to handle some module loading.
Here is a short example when it fails:
rebol []

;--- Startup
if system/product == 'Link [

 attempt [call reduce ["d:\rebol\view\rebol.exe" system/script/header/file] 
 quit]

 attempt [call reduce ["c:\programme\rebol\view\rebview.exe" system/script/header/file] 
 quit]

 attempt [call reduce ["c:\rebol\view\rebol.exe" system/script/header/file] 
 quit]
	quit
]

;-- use xpeers framework structure
link-root: first split-path system/script/path
link-root: copy/part link-root index? find link-root "/xpeers/"
append link-root %xpeers/
do link-root/framework/anamonitor300.r
do link-root/framework/slim.r

;-- RebGUI stuff

#include %rebgui.r unless value? 'ctx-rebgui [do link-root/framework/libraries/rebgui.r]

;-- SLIM stuff
slim/open 'debug none ; [mark-my-words]
; mark-my-words/init

unit-size: 4
font-size: 12
tab-size: 120x55

display/min-size "CalcIT" compose/deep [
	label "Land"
	drop-list 60 data ["A" "B"] return
] 1024x768
do-events
halt
If I comment the slim/open... line it works.
Maxim
18-Apr-2006
[3366]
this is strange...  here is a stupid first  test, try to call rebgui 
after slim... does that change anything?
Graham
20-Apr-2006
[3367]
I would like to see a widget that allows scrolling of other widgets 
contained inside it.
Pekr
20-Apr-2006
[3368]
graham - do you miss tree-view with your apps? just curious ....
Graham
20-Apr-2006
[3369x2]
not so far ...
In fact I wonder if the need for a tree view indicates a poor design?
Pekr
20-Apr-2006
[3371]
not sure ... how do you want to display hierarchical structures?
Graham
20-Apr-2006
[3372]
Not at present... but I may need to later on.
Pekr
20-Apr-2006
[3373]
it is also a pity, Henrik's grid does not work with RebGUI (although 
not supporting my favourite horizontal scroll :-)
Graham
20-Apr-2006
[3374]
Henrik's aim is to get it to work with rebgui eventually.
Graham
21-Apr-2006
[3375]
Ashley, just wondering how well RebGui runs on OSX  .. any reports?
Ashley
21-Apr-2006
[3376]
Works fine here. One of my QA tests is to run %tour.r on both Mac 
and WIndows prior to each release and ensure all widgets work the 
same on both.
[unknown: 9]
21-Apr-2006
[3377]
We have a drop down in RebGUI that when we click off does not close, 
any hints?
Pekr
21-Apr-2006
[3378]
I think no hints ... it is long time reported misbehavior, but the 
trouble is, it is based upon rebol's pop-up model .... imo no chance 
getting it fixed easily enough ... although e.g. Cyphre's menu works 
.... not sure how difficult it is to change it ...
[unknown: 9]
21-Apr-2006
[3379]
Well, that is a hint, I will ask Richard.  Thanks.
Cyphre
21-Apr-2006
[3380]
I have made small fix so the drop-list behaves like Reichart wants 
under View 1.3.x. If anyone is  interested you can grab it here:
http://cyphre.mysteria.cz/stuff/rebgui-widgets.r
[unknown: 9]
21-Apr-2006
[3381]
Cool..
Ashley
21-Apr-2006
[3382]
Works well, although it stll requires a click outside the popup for 
it to be dismissed (not merely moving the mouse pointer off the list 
as some have requested). Also note that this changes the behaviour 
of clicking from one drop-list to another (you have to click the 
new drop-list button twice ... once to dismiss the old list and now 
a second time to activate the new list). Note that the first hide-popup 
in the choose function (line 405) is no longer needed with this change.
[unknown: 9]
21-Apr-2006
[3383]
Yeah, all these points do need to be addressed.  I will hold him 
[Mr. C] down, you tickle him.
Gabriele
21-Apr-2006
[3384]
View's modal system can handle closing on moving the mouse away, 
you just need to set a custom handler.
Anton
21-Apr-2006
[3385]
I think requiring a click outside is good behaviour, but it is only 
good if that click is not consumed, but passed on (so that the second 
drop-list  activates straight away)..
[unknown: 9]
21-Apr-2006
[3386x2]
Agreed.  


One more subtle point, on Windows, both in Firefox browser, and in 
products like Word, the behavior is:


Moving your mouse over Droplist-1 highlights it (this is true of 
all widgets)
Droplist-1 is clicked on, and opens.

Moving the mouse to Droplist-2 does not highlight, because the first 
widget is engaged.

Clicking on Droplist-2 closed Droplist-1, and highlights Droplist-2, 
but does not engage it (open Droplist-2).


Of note, even something as simple as a checkbox on Windows has 8 
states:

Unchecked
Checked
Unchecked highlighted
Checked highlighted
Unchecked ghosted 
Checked ghosted
Button down unchecked
Button down checked


I strongly vote copying the most used UI in the world on every little 
detail.  They might not be "right" but they are the popular vote.
RebGui has some rough edges, but over all it has been really easy 
to build stuff with.  Ashley, on our Qfile client application, we 
are putting in the Credits RebGUI, and a ink to your site.  We will 
post a beta on Qtask and if you want something changed just tell 
us.
Graham
22-Apr-2006
[3388]
It would be good if changes can be made to the svn store.
[unknown: 9]
22-Apr-2006
[3389]
What do you mean exactly, and what interface to SVN do you use? (I'm 
sort of studying iCVS vs SVN right now).
Graham
22-Apr-2006
[3390]
one uses a svn client.