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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Anton
14-Jun-2005
[1446x3]
scroller: make slider [append init [append flags [arrows together]]]
(where 'together is removeable, depending if you want to default 
to amiga-style or not.)
http://www.lexicon.net/antonr/rebol/doc/create-a-rebgui-widget.r

http://www.lexicon.net/antonr/rebol/doc/create-a-rebgui-widget.html
Ashley
14-Jun-2005
[1449x2]
Anton, is the slider "stable" enough for me to integrate into the 
next build yet?
Good introductory doc BTW, I've added a link to it from the RebGUI 
Home page already. ;)
Arie
14-Jun-2005
[1451x2]
Hi. I 've had a look at REBGUI and it looks terrific!
However, when I run the tour.r script there is some kind of memory 
usage display at the bottom which increases by 6 KB every second 
even if I don't do anything. Would that mean REBGUI is eating memory 
without control??
Luc
14-Jun-2005
[1453x2]
I have seen that too
Ashley thank you for your help
Vincent
14-Jun-2005
[1455]
no more than any other /View app.

It's the memory allocation from the event system, and it's garbage 
collected later.
Luc
14-Jun-2005
[1456]
my style is working soon
Pekr
14-Jun-2005
[1457]
I objected too, but I was told it stops after some time and that 
garbage collection is invoken only once per some period or so ...
Arie
14-Jun-2005
[1458x2]
Vincent: oh, that's better. Why does it claim memory whilst nothing 
is being done however?
No events seem to happen in between ...
Vincent
14-Jun-2005
[1460]
yes, 'time events ...
Arie
14-Jun-2005
[1461x2]
OK. I understand ;-)
thx
Pekr
14-Jun-2005
[1463]
hmm, time events? Why those don't reuse the same space? :-)
Ashley
14-Jun-2005
[1464]
I think I'll add a recycle to that display timer just to avoid confusion 
...
Vincent
14-Jun-2005
[1465]
on events : I think it's because you can store them , and they are 
transmitted to various user feel funcs - so the system must wait 
to free them.

Ashley : yes - it's very confusing, as not everybody wait more than 
10 min to see the garbage collection.
Pekr
14-Jun-2005
[1466]
:-)
Ashley
14-Jun-2005
[1467]
I'm surprised no-one's asked why memory usage doubled from 0.2.4 
to 0.3.0 ;)  (before anyone does ask, it's the dictionary)
Pekr
14-Jun-2005
[1468x2]
dictionary of spell checker?
btw - is spell-checker really needed? I mean - never used it in my 
apps, and users never complained :-)
Anton
14-Jun-2005
[1470]
Ashley, slider seems ready to integrate to me. I feel I can let it 
go for a while and work on something else.
Ashley
14-Jun-2005
[1471]
If you don't need / want it then just delete the dictionary directory 
... if it can't find it then it won't be loaded. Spell-check is important 
for report generation front-ends (or at least that's where I'm using 
it).
Pekr
14-Jun-2005
[1472]
it should be mentioned in docs then (if it is not already), how to 
"disable it".
Ashley
14-Jun-2005
[1473x2]
http://www.dobeash.com/it/rebgui/edit.html#section-4

The dictionary, if present, is then loaded into the dict block.
Anton, will do.
Anton
14-Jun-2005
[1475x3]
Ashley, I just fixed a small resizing bug. Not a show stopper, but 
there is a new version anyway.
site: http://www.lexicon.net/antonr/rebol/
load-thru/check site/rebgui/slider.r 1.0.5
load-thru/check site/rebgui/pair-edit.r 1.0.1

do site/rebgui/demo-slider.r  ;<-- modify this file to point to your 
rebgui installation
load-thru/update site/rebgui/slider.r ; (just now updated slider.r 
again, same version)
Allen
14-Jun-2005
[1478]
anton: Can you take a look at the autocomplete style for me, after 
doing pair-edit you will be more in tune than me.
Graham
15-Jun-2005
[1479]
Where's the cooking-widgets page?  I get a 404 when I go to rebolfrance.org 
and use the link there...
Anton
15-Jun-2005
[1480]
Allen, auto-fill: sure, but is there something wrong with it ?
Ashley
15-Jun-2005
[1481]
Latest build available at: http://www.dobeash.com/files/RebGUI-031.zip


*** Unzip this file into your existing RebGUI 0.3.0 distribution. 
Requires View 1.3. ***

Highlights include:


 - Replaced scroller & slider widgets with Anton's new combined slider
	- Updated widgets to use same and set dragger size
	- Tab-panel now accepts actions (to enable dynamic tab displays)
	- Improved text-list selection logic
	- Prototype request-dir function added (needs a lot more work)
	- Large number of bug fixes
	- http://www.dobeash.com/it/rebgui/display.htmlupdated

Known issues:

	Unchanged.

On the drawing board

	Unchanged.
Henrik
15-Jun-2005
[1482]
where's the tour.r file?
Anton
15-Jun-2005
[1483]
Unzip into your existing rebgui 0.3.0 installation.
Henrik
15-Jun-2005
[1484x3]
ok, now it exists :-) ashley, language seems easy, so I'm gonna write 
a Danish language file for you
posted to you privately
** Script Error: scroller has no value
** Where: display
** Near: attribute-color: get arg
>>


This is all I get when I start 031 after installing it on top of 
030...
Anton
15-Jun-2005
[1487x5]
SCROLLER has not been defined in the lastest rebgui-widgets.r
I get the same error.  A quick hack is to add this before the last 
line in rebgui-widgets.r:
; hacked in by Anton
	scroller: make slider [data: [arrows]]
Having done that, though, I see weird scroller behaviour - bugs I 
should say, with the operation of the scrollers in the tour.
Maybe it's something to do with being inside a tab panel. I will 
investigate.
Pekr
15-Jun-2005
[1492]
Anton - even with your line it does not work ...
Anton
15-Jun-2005
[1493x3]
There is also a problem with   slider-face/color: colors/widget  
 which is the same as tab-panel's background color. I tend to think 
that is an inherent problem with tab-panel, it being a container 
for other widgets.
Pekr, it works for me - what's the error you get?
(note: the last line is the last end square bracket ]  )