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-Dec-2006
[5058]
Really? Even with code as simple as:

	display "Test" [label "AA:"]


The code that does the translations is nothing more than a simple 
select, which you can run manually by adding a halt to your code 
and doing the following from the console:

	select ctx-rebgui/locale*/words "AA:"
Graham
8-Dec-2006
[5059x4]
It's not the ":" .. all my labels are doing this.
I get "A:"
but BB: as the label!
well, this is very puzzling.
Ashley
8-Dec-2006
[5063]
Maybe it is something to do with the build# after all. I'm running 
on build#46 here.
Graham
8-Dec-2006
[5064]
Oh well ...
Ashley
8-Dec-2006
[5065]
In the above example it is vey important that the label was "AA:" 
not "A:" (which would explain a "BB:" result returned by select)
Graham
8-Dec-2006
[5066x2]
personalgb: group-box "Personal" 77x35 data [  
    label "AA:" ethnicfld: edit-list 50 "Caucasian" 
data [
Build 46 works okay.
Ashley
8-Dec-2006
[5068]
Nailed it ... you can reproduce the error with:

	display "Test" [
		label "AA:"
		group-box "Test" data [label "AA:"]
	]


The block handling code seems to be the culprit ... investigating.
Graham
8-Dec-2006
[5069]
Whew! :)
Ashley
8-Dec-2006
[5070]
Build#47 committed to SVN, fixes locale bug and adds new translate 
function as described above.
Graham
9-Dec-2006
[5071x5]
Regarding 'put-input, I don't think you should report an error if 
there is insufficient data ...
this is with build 47
display "" [ r: radio-group data [ "M" "F" ] button "M" [ r/select-item 
1 ] button "F" [ r/select-item 2 ] button "
Probe" [ probe r/selected] ] do-events
note that whatever the state of the radio-button, the selected value 
is always none, and the radio buttons are not mutually exclusive 
:(
The values are only 1 and 2 if the mouse is used to select the radio 
buttons
Ashley
9-Dec-2006
[5076]
Build#48 committed to SVN, incorporating Robert's/Cyphre's extensive 
changes ((including new chart, drop-tree, grid, input-grid & panel 
widgets). Panel & Input-Grid added to %tour.r.


These new widgets (apart from panel) have an impressive range of 
options/features ... but scant documentation or usage examples. If 
Robert/Cyphre could post a few examples here that would help. If 
anyone reads the source code and figures something out then an entry 
or two here would be appreciated: http://trac.geekisp.com/rebgui/wiki/WidgetList
Pekr
9-Dec-2006
[5077]
could there be a package produced from #48?
Robert
9-Dec-2006
[5078x2]
I'm going to hack in some notes/docs on the web-page. (As I'm currently 
using our changelog as documentation, and it's way to much these 
days.).
Ashley, did you incorporated all changes or are there are some left 
out?
Pekr
9-Dec-2006
[5080]
the grid released is version of grid Cyphre did for me?
Robert
9-Dec-2006
[5081]
no, it's something different. I write some docs for it.
Pekr
9-Dec-2006
[5082x2]
I am just curious if those two grids overlap in functionality?
that would be unnecessary waste of Cyphre's dev resources imo ....
Robert
9-Dec-2006
[5084x3]
It doesn't.
I just added documenation for:
- drop-list (we added a lot of functionality)
- drop-tree
- input-grid
Big ones still open are CHART and TABLE (added a lot of stuff as 
well). Other changes we did effect: group-box, field, radio-group
Graham
9-Dec-2006
[5087]
did you fix the radio-group Robert ?
Robert
9-Dec-2006
[5088]
in what sense?
Graham
9-Dec-2006
[5089]
The bug I reported at the top of this page.
Robert
9-Dec-2006
[5090]
We have reworked radio-group to support/return positional IDs. Hence 
the specification syntax in our version changed.  I never had the 
bug your reported. Give it a try.
Graham
9-Dec-2006
[5091x10]
This is odd.
I just synced to 48, and none of the native requesters work.
They flash and then disappear again.
the OS native file-requester works
radio-group is now fixed.
in #48
anyone confirm this?  I tested in tour.r
deleted my local store,and resynced.  Now works
Robert, is there a tree widget now?
Got an example of how it works?
Pekr
9-Dec-2006
[5101]
not sure there is separate tree-view, but I would like to vote for 
one. tree-list might be good code base for introduction of separate 
tree-view?
Graham
9-Dec-2006
[5102]
what does drop-tree do then?
Pekr
9-Dec-2006
[5103]
not sure. I can imagine, that it is like drop-list, but instead of 
list you have tree to chose itesm from?
Graham
9-Dec-2006
[5104]
No idea ... is Cyphre around?
Pekr
9-Dec-2006
[5105]
I can't see him on ICQ, so probably not currently ...
Graham
9-Dec-2006
[5106]
Would you ask him once he surfaces
Pekr
9-Dec-2006
[5107]
of course I will do. I am just catching back, I was away for 3 days 
- I visited Iron Maiden concert in Stuttgart and it was really an 
energy taking experience :-))