dual-monitor pharo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

dual-monitor pharo

Peter Uhnak
Hi,

has there been any effort done on running pharo on multiple monitors?

Is it something that would require deep changes to VM? Can it be done
image-side?

Thanks,
--
Peter

Reply | Threaded
Open this post in threaded view
|

Re: dual-monitor pharo

Tudor Girba-2
Hi,

Probably you need to have two different operating system windows.

In this case, the work you are probably interested in is OSWindow. For example, when you now switch to a Bloc world, you will get a separate OS window.

Cheers,
Doru


> On Dec 1, 2015, at 8:50 AM, Peter Uhnak <[hidden email]> wrote:
>
> Hi,
>
> has there been any effort done on running pharo on multiple monitors?
>
> Is it something that would require deep changes to VM? Can it be done
> image-side?
>
> Thanks,
> --
> Peter
>

--
www.tudorgirba.com

"Problem solving should be focused on describing
the problem in a way that makes the solution obvious."





Reply | Threaded
Open this post in threaded view
|

Re: dual-monitor pharo

Torsten Bergmann
Depends on how you want to use it. Two different OS Windows may be OK -
but usually you want to display one world on several monitors similar
to what for instance Window operating system itself is doing.

So when you drag a Pharo window around you move it from one monitor to the
other. For this you more work would be needed to check the monitors,
provide this info from VM into Pharo itself, ...

On Windows one could use EnumDisplayMonitors [1] that one could query (see [2])
or use during redrawing/a WM_PAINT event (see [3]). However this would require changing
the VM - at least it would be the best place to put in a portable solution.

Dont know for other platforms - but X11 should have similar support.

Thx
T.

[1] https://msdn.microsoft.com/en-us/library/windows/desktop/dd162610(v=vs.85).aspx
[2] https://www.realtimesoft.com/multimon/programming/
[3] http://www.codeproject.com/Articles/7831/Dual-Multiple-Monitor-Support-in-Win

> Gesendet: Dienstag, 01. Dezember 2015 um 09:54 Uhr
> Von: "Tudor Girba" <[hidden email]>
> An: "Pharo Development List" <[hidden email]>
> Betreff: Re: [Pharo-dev] dual-monitor pharo
>
> Hi,
>
> Probably you need to have two different operating system windows.
>
> In this case, the work you are probably interested in is OSWindow. For example, when you now switch to a Bloc world, you will get a separate OS window.
>
> Cheers,
> Doru
>
>
> > On Dec 1, 2015, at 8:50 AM, Peter Uhnak <[hidden email]> wrote:
> >
> > Hi,
> >
> > has there been any effort done on running pharo on multiple monitors?
> >
> > Is it something that would require deep changes to VM? Can it be done
> > image-side?
> >
> > Thanks,
> > --
> > Peter
> >
>
> --
> www.tudorgirba.com
>
> "Problem solving should be focused on describing
> the problem in a way that makes the solution obvious."
>
>
>
>
>
>