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
5-Jun-2005
[1175]
Roadmap updated. The only thing I have left to do is fill in all 
the "Features" and "To Do" entries, which I need to think on for 
a while.


shadwolf: Good work, you can get the complete widget set from the 
updated roadmap (table 3.4). With regards to the DokWiki ... build 
it and they will come, but you may want to refresh folks memory (mine 
included) with how to register / access (point form summary). Also, 
it's not just widgets that need more work ... localization could 
do with some native language assistance. ;)
shadwolf
6-Jun-2005
[1176x13]
No need to register to post .. Well it's better that's sure ... So 
to register go to this page http://www.rebolfrance.info/rebolfrance.info?do=register
you fill the form with login, Real Name and e-mail.
Once you have filled the form you need to send your password by mail 
to the administrator of the dokuwiki :) (register have some problems 
...so we make it manually ...)
* Open rebol console and type :

print next lowercase mold checksum/method "mon-password" 'md5

    * Then send an email to [webmaster-:-rebolfrance-:-info] :
          o Utilisateur:  nickname (registred one)

          o Password: {9c3f8c1d181f8d7c4d2919d801943c51} (can be the raw password 
          too)
          o Nom complet: Real Name
          o Email: [mon-email-:-mon-serveur-:-com]
That's all ;)
see the bottom of this page to have this information http://www.rebolfrance.info/utiliser_ce_site
I  completed the page I added the pending widgets  ;)
in the roadmap we have the overall widgets  informations in the dokuwiki 
we have the on cooking widgets  :)
Ashely you can make a link betwin the roadmap and the dokuwiki wiki 
this way you give too people the complete information ;)
dokuwiki  can collect the codes too ;) like I made for list-view 
 :)
Ashely if you have any widget need in plus of those yet listed just 
add them to the table  in the dokuwiki ;)
Ashley I make the spanish.dat for rebgui  you can find it there http://shadwolf.free.fr/spanish.dat
Ashley I have one little ask why the tabpanel with scrollable header 
Have not been inserted to rebgui until now  ?
Ashley how can we set global event system processing for a display 
?
Ashley
6-Jun-2005
[1189]
1) dokuwiki link: will add.

2) spanish.dat: thanks, excellent work. Added to next build and roadmap. 
Anyone for German? Robert?
3) tabpanel with scrollable header: low priority.

4) global event system: more information; what is the requirement?
Robert
6-Jun-2005
[1190]
2) German: Yes, no problem. Does the current .DAT contain everything 
that needs to be translated?
Pekr
6-Jun-2005
[1191]
run trhu on-line translators and you are done :-)
Anton
6-Jun-2005
[1192x2]
Ashley, you found the issue way too. :) Chris' function looks very 
good.
Here's another way:

 edit: do either any [#do [false]] [%rebgui-edit.r][#include %rebgui-edit.r] 
 ; (false is actually not needed)
(*possible* way, I should say. I haven't tested that, and it needs 
bind in ctx-rebgui 'self.)
Ashley
6-Jun-2005
[1194x2]
I eventually solved it with:

	ctx-rebgui: context [
		...
		edit: #include %rebgui-edit.r
		if issue? edit [edit: do bind load %rebgui-edit.r 'self]
		...
	]

it's two lines as opposed to one, but *much* clearer! ;)
Robert: go with the current .DAT. Don't forget system/locale/colors 
if you feel that is important too (or are folks used to English color 
names?).


Pekr: on-line translators are good for Months / Days, but many computing 
words / phrases don't have a one-for-one literal translation
Anton
7-Jun-2005
[1196]
Ashley, I was trying to reduce the number of variable references, 
eg. in my last (possible) way, there is one instance of EDIT and 
two instances of the filename. In your last way, there are three 
instances of EDIT, and two instances of the filename. Anyway, I agree 
it's easier to understand.
Chris
7-Jun-2005
[1197]
Yep, that was my goal too -- to simulate 'load that it might be easier 
to read when going back to it.
Ashley
9-Jun-2005
[1198x2]
Fixed the problem (disappearing label text after a field scroll) 
that Colin identified. Just needed to change "para: default-para" 
to "para: make default-para []" for editable widgets (as the new 
edit feel changes "para/scroll" values).
Also fixed display/popup to work with latest view betas by adding 
"feel: make object! []" to the popup face prior to display.
Graham
9-Jun-2005
[1200x2]
on older views you need to define 'within
'within?
Pekr
9-Jun-2005
[1202x2]
what about lists, and clicking anywhere else - it should close opened 
list, but it does not, only escape works ...
list/menu imo has to disappear that way ....
Ashley
9-Jun-2005
[1204]
Graham: Next RebGUI build, 0.3.0, requires View 1.2.124 or higher.

Pekr: difficult without a global event system (as shadwolf asked 
about before). If I can achieve the same effect (i.e. close when 
mouse leaves widget) without it then I'll implement it that way instead 
(global event handling is just too expensive for the few cases it 
is required).
Graham
9-Jun-2005
[1205]
Ashley, I just encapped tour to try it out, and noticed the lack 
of a 'within?
Pekr
9-Jun-2005
[1206x3]
but it simply is not correct, but you probably know it. I think that 
once ppl are used to close menu branch, or list by clicking outside 
of it, it can become pretty annoying, as the only chance to leave 
such menu is to select some item, or press escape.
I don't know how Cyphre did it with his menu, maybe he really changed 
pop-up function, even if expensive. Once again - imo ppl can stand 
different look of UI, but not different behavior on certain platform 
- it is a big mistake to think that they can. Other thing is we don't 
have rich-text, so we can't display accelerator keys. Dunno even 
if alt key works ...
Ashley - I am not flaming here, just raising my concern about UI 
usability issues. We should not definitely depreciate it ...
Vincent
9-Jun-2005
[1209]
I agree on 'drop-list / 'edit-list usability problem : the list should 
be at least closeable when clicking on the arrow button again - escape 
key isn't enough, as it's a mouse driven GUI.
Ashley
9-Jun-2005
[1210x2]
Graham: RebGUI encap needs:
	#include %gfx-colors.r
	#include %gfx-funcs.r
I've added these to the next build.


Pekr: I've updated the choose func (used by drop-list / edit-list) 
to issue a hide-popup when the mouse leaves it. Feels pretty intuitive 
to me, but I'll see what folks think once the next build is out. 
;)

Vincent: Agree, I'll see about adding that for 0.3.0 as well.
I've also added a simple text-list widget (Robert) and fixed the 
strange table render problem (which you can see be increasing the 
horizontal width of the window *before* going to the "Table" tab 
for the first time).
Graham
9-Jun-2005
[1212]
is the text-list selectable yet?
Ashley
9-Jun-2005
[1213]
Yes, even has a scroller. It is a much simpler widget than table 
(being only one column).
Graham
9-Jun-2005
[1214]
are alerts going to be part of rebgui?
Ashley
9-Jun-2005
[1215]
display/popup "Alert" [button "OK" [hide-popup]]
Graham
9-Jun-2005
[1216]
does the "OK" have focus for the keyboard?
Ashley
9-Jun-2005
[1217]
Not yet. My priority is getting everything working with the mouse 
first before ensuring everything can be driven keyboard only (which 
for complex widgets / actions is nigh impossible anyway - how does 
one resize table columns with the keyboard?).
Graham
9-Jun-2005
[1218x2]
action select key and cursor key ?
Anyway, my pet peeve is not being able to use the space bar to activate 
an "okay" button on a rebol requester.
Ashley
9-Jun-2005
[1220]
How about an ok-button which has "Space" and "Return" keys mapped 
to it (assuming nothing else has focus), and a cancel-button / close-button 
widget which has "ESC" mapped to it (assuming nothing else has focus)?
Graham
9-Jun-2005
[1221]
sounds good
Pekr
9-Jun-2005
[1222x2]
keyboard support is really important. RT will have to be supportive 
here though, and improve keyboard handlers. I don't agree with what 
Holger stated in the past, that they need to allow only keyboard 
events, which are cross-platform. We want key-down, key-up, alt, 
ctrl tab and other events too ...
as for more complex styles - they need to work. I can imagine even 
"focus nesting". Imagine few fields, grid and buttons on screen. 
You e.g. press arrow down to move to next fields, and once you reach 
grid, I would like e.g. by pressing enter, the focus to be treated 
in terms of the grid, so that arrows, page-up, down, etc. work in 
terms of grid only ... ESC would "break" and return focus to "global" 
level, etc.
shadwolf
9-Jun-2005
[1224]
I have one recomandation to do for the menu widget http://www.rebol.org/library/scripts/menu-system-demo.r