AltME: R3-GUI

Messages

GrahamC
Seems it didn't work with old r3-gui.r3 either . must be another issue I'm having
yoffset
I concur the original problem is fixed on 32 bit, and G must have some other problem.

Cyphre
Graham, this is not a problem of R3GUI. If you want to access 'global' words of your script you need to provide the context to the module. Like:
REBOL []
if not value? 'to-text [ load-gui ]
v: module/mixin [
    Version: 0.0.0
    type: module
    exports: [ test ]
][
    test: func [] [
        view [area]
    ]
] self
import v
test
AFAIK By default, the module imports only words defined in LIB context.
R3-GUI is not yet converted to module but once it is done we'll be able to specify something like  needs: [r3gui] in the headers.
Andreas
Hmm, I tried the MODULE/mixin approach yesterday as well, and couldn't get it to work.
Cyphre
Andreas, that example above worked for me.
Andreas
Let me try again.
Nope, same error with the public 32-bit Linux Saphir build.
Ah, but with the Atronix build it works. So I guess that's due to a fix which has been merged since.
Probably one of Ladislav's "multiple inheritance" / frame merging fixes.
Cyphre
Strange, I tested it with the Saphir version from http://development.saphirion.com/experimental/builds/win32/r3-view.exe which is quite old.
Andreas
:)
But Graham is running Windows anyway, so it should work for him as well.
Cyphre
ah, that makes sense...the linux version doesn't have 'full view'...only DRAW
Andreas
Ah, yes! Right. I forgot about that. Stupid me.
Cyphre
The only plublic R3 View for Linux is from atronix so far.
We need to get Saphir on your build farm asap ;-)
Andreas
Yes. But probably even do one manual refresh of the builds until then :)
Cyphre
yes, no problem...can do that during the next week.
Andreas
Would require an updated R3-GUI as well, right?

Last message posted 267 weeks ago.