pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

Creating an SDL (OSWindow) window without showing the pharo interface

K
kmo
Tue, Feb 2, 2021 4:27 PM

Does anyone know how to get an OSWindow window to open from Pharo without
showing the pharo IDE?

I thought the headless VM might do this.

So I downloaded the latest headless VM and Pharo 9.

Then if I issue the command line
/
pharo-ui Pharo.image eval OSWindowWorldMorph new open/

I get an SDL window but also the pharo user interface which I don't want.

But if I try

/pharo Pharo.image --no-quit eval OSWindowWorldMorph new open/

nothing happens. Pharo runs but nothing shows up. I expected just to get the
SDL window.

Can this be done in pharo? Anyone know the technique?

--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Does anyone know how to get an OSWindow window to open from Pharo without showing the pharo IDE? I thought the headless VM might do this. So I downloaded the latest headless VM and Pharo 9. Then if I issue the command line / pharo-ui Pharo.image eval OSWindowWorldMorph new open/ I get an SDL window but also the pharo user interface which I don't want. But if I try /pharo Pharo.image --no-quit eval OSWindowWorldMorph new open/ nothing happens. Pharo runs but nothing shows up. I expected just to get the SDL window. Can this be done in pharo? Anyone know the technique? -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
RW
Russ Whaley
Wed, Feb 3, 2021 3:31 PM

I am very interested as well.  If you discover the technique, can you post
it back here?
Thanks!
Russ

On Tue, Feb 2, 2021 at 11:28 AM kmo voxkmp@gmail.com wrote:

Does anyone know how to get an OSWindow window to open from Pharo without
showing the pharo IDE?

I thought the headless VM might do this.

So I downloaded the latest headless VM and Pharo 9.

Then if I issue the command line
/
pharo-ui Pharo.image eval OSWindowWorldMorph new open/

I get an SDL window but also the pharo user interface which I don't want.

But if I try

/pharo Pharo.image --no-quit eval OSWindowWorldMorph new open/

nothing happens. Pharo runs but nothing shows up. I expected just to get
the
SDL window.

Can this be done in pharo? Anyone know the technique?

--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

--
Russ Whaley
whaley.russ@gmail.com

I am very interested as well. If you discover the technique, can you post it back here? Thanks! Russ On Tue, Feb 2, 2021 at 11:28 AM kmo <voxkmp@gmail.com> wrote: > Does anyone know how to get an OSWindow window to open from Pharo without > showing the pharo IDE? > > I thought the headless VM might do this. > > So I downloaded the latest headless VM and Pharo 9. > > Then if I issue the command line > / > pharo-ui Pharo.image eval OSWindowWorldMorph new open/ > > I get an SDL window but also the pharo user interface which I don't want. > > But if I try > > /pharo Pharo.image --no-quit eval OSWindowWorldMorph new open/ > > nothing happens. Pharo runs but nothing shows up. I expected just to get > the > SDL window. > > Can this be done in pharo? Anyone know the technique? > > > > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html > -- Russ Whaley whaley.russ@gmail.com