OK. It was my fault. I was trying to run view from an SSH session expecting that the output would show up on the main desktop. It didn't and had the error instead.
Is there a way to attach the output of R3's View component to a different desktop on Ubuntu?
Bo
I'm trying to do some things with R3-GUI that were simple in R2 VID. For instance, how do I do a 'view/new where it returns control to the script after displaying the layout?
NickA
view/no-wait
Gabriele
Bo, you want "ssh -X"
or, "export DISPLAY=:0" if you want it to appear on the local display rather than your remote one
(the latter you type *after* logging in via SSH)
Bo
NickA and Gabriele: Thanks a lot! It's amazing how much knowledge you all have. :-)
Bo
Next thing I want to try is to resize an image in R3-GUI. I'm trying the following which isn't working:
Where does `load-gui` store the loaded code? I can't find it in system/view and system/view/VID seems to be gone in R3...
Pekr
Carl's GUI is different. Not sure it will work with Saphir's code?
DocKimbel
If I say that I'm lost in the R3 GUIs ecosystem, I guess it would feel familiar to others. ;-)
Actually, I just wanted to have a look at how R3 implements a style, especially how actors are stored. In Carl's docs, they seemed to be stored in a block, I just wanted to check in the code if that was the case for real or not.
Pekr
>> source load-gui load-gui: make function! [[ "Download current GUI module from web. (Temporary)" /local data ][ print "Fetching GUI..." either error? data: try [load http://www.rebol.com/r3/gui.r] [ either data/id = 'protocol [print "Cannot load GUI from web."] [do err] ] [ do data ] exit ]] >>
ok, can feed you some docs ....
There are Carl's GUI docs, which implement actors, reactors, and then public Github repo of Saphir docs, which cancelled reactors ...
DocKimbel
I want to check the source code, not the docs.
Pekr
ah ...
DocKimbel
I decompressed the GUI sources from the rebol.com link, so at least I can have a look now. :-)