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
27-Jun-2006
[4118x2]
Pekr, the SDK trick we use in RebGUI is to have the following lines 
in your script:

	#include %rebgui.r
	unless value? 'ctx-rebgui [do %rebgui.r]


These appeared in earlier versions of %tour.r but were [inadvertently] 
removed. I'll add them back in.
Gordon, the demo directory and scripts (bubble-menu, list-view & 
triggers) were part of earlier releases. The directory was removed 
when the source was migrated to SVN, and all non-stable widgets (including 
list-view, bubble-menu and a few others) were removed. There is no 
need to "do %rebgui-widgets.r" as this is included directly in the 
new merged %rebgui.r script (and invoked from %rebgui-ctx.r if you 
run from the SVN source direct). LIST-VIEW is an important widget 
which we are hoping Henrik will be able to port to RebGUI from the 
excellent work he has done on this already.
Graham
28-Jun-2006
[4120x2]
I'm trying my way of creating templates, but have come across a problem 
with the check-group.  This takes, none, true and false as values, 
these are in the global context.  If I define more local words with 
the same names as these, how I can set them to the values in the 
global context?
eg:  ... /local true ][ true: value-as-defined-in-global context 
... ]
Anton
28-Jun-2006
[4122x2]
context [true: system/words/true]
func [/local true] compose [true: (true)]
Graham
28-Jun-2006
[4124x2]
thanks.
give that a go
Volker
28-Jun-2006
[4126x3]
there are also #[none], #[true], #[false]
which are directly processe by load, giving the values, not the words.
but looks ugly.
Pekr
28-Jun-2006
[4129]
are Robert's/Cyphre's changes already checked against official archive?
Graham
28-Jun-2006
[4130x2]
Is this a rebgui error ?  There is an error in your template: make 
object! [
    code: 400
    type: 'math
    id: 'zero-divide
    arg1: none
    arg2: none
    arg3: none
    near: [visible / total]
    where: 'view
]
i'm not dividing by total anywhere, so perhaps it's part of the rebgui 
display function?
Volker
28-Jun-2006
[4132x2]
visible sounds like resizing.
maybe some face has a 0-size?
Graham
28-Jun-2006
[4134]
let me check
Volker
28-Jun-2006
[4135x2]
sometimes "echo on trace/functions on" helps, if you activatge it 
shortly before the crash.
but its hard to read.
Graham
28-Jun-2006
[4137x3]
odd .. it displays this large template, and then crashes the second 
time round
they're all anonymous widgets
i'd better make sure i'm not screwing anything up ...
Volker
28-Jun-2006
[4140]
maybe it tries to scale it down? calculates ones and does an auto-resize? 
and something gets to small?
Graham
28-Jun-2006
[4141]
I might be doing something bad when i try and restore values ....
Anton
28-Jun-2006
[4142]
visible and total are variable names I tend to use. It might be some 
of my recent code...
Pekr
28-Jun-2006
[4143]
guyyyys, pleaaaaase, when latest changes will be synced? :-) Or are 
you suggesting I should install CSV product? :-)
Graham
28-Jun-2006
[4144]
it's up to Ashley
Pekr
28-Jun-2006
[4145]
so when I install some CSV product, I will be able to reach it? What 
product do you suggest?
Volker
28-Jun-2006
[4146]
real rebolers use always the betas :)
Pekr
28-Jun-2006
[4147]
CVS I mean :-)
Graham
28-Jun-2006
[4148]
we never have anything but beta
Volker
28-Jun-2006
[4149]
svn you mean ;)
Anton
28-Jun-2006
[4150]
Indeed, area.r contains this line:
					face/pane/ratio: min 1 (visible / total)
Pekr
28-Jun-2006
[4151x2]
Volker: I think that with Rebol, we are always using beta versions 
:-)
Volker: whatever :-)
Volker
28-Jun-2006
[4153]
yup. Carl likes weird spelling. rebol, beta instead of rebel, better..
Graham
28-Jun-2006
[4154]
I've discovered that it is related to the area field
Volker
28-Jun-2006
[4155]
The rebgui-wiki suggest tprtoise, but ihave no wiki-link
Graham
28-Jun-2006
[4156x2]
if I enter some text into my area field before save the values, when 
I restore the template, it works.
but if I have an empty area field.. the template when restore crashes 
with the divide by 0 area.
Anton
28-Jun-2006
[4158]
It's when the scroller inside the area is at zero height.
Graham
28-Jun-2006
[4159]
divide by 0 error.
Anton
28-Jun-2006
[4160]
no wrong...
Volker
28-Jun-2006
[4161x3]
http://trac.geekisp.com/rebguihttp://tortoisesvn.sourceforge.net/
context-menu in explorer, svn,checkoutm, svn://svn.geekisp.com/rebgui
svn-checkout
Pekr
28-Jun-2006
[4164]
thanks
Volker
28-Jun-2006
[4165]
make a subfolder first.
Anton
28-Jun-2006
[4166]
Committed a new version of area.r which checks for zero-divide.
Graham
28-Jun-2006
[4167]
how do I see the changes?