On Thu, Jul 10, 2008 at 11:35 PM, David T. Lewis <
lewis@...> wrote:
On Thu, Jul 10, 2008 at 12:02:28PM +0200, Bert Freudenberg wrote:
> >
> >But if using host windows is non-trivial or involves rebuilding the
> >VM, I'd rather find another way to solve my problem.
> >
> >Is there multiple host window support on Linux?
>
> Dave Lewis started working on it, but I do not know its current state.
> Linux is the only one of the three major platforms not supporting
> multiple windows yet. Where are the X hackers when you need them? ;)
I did make a start at it, and have gotten as far as getting windows to
open, set title and dimensions and so forth. I got distracted by other
things and set it aside, so I guess I should go back and either finish
it or post the bits that do work.
I'm no expert on X. I was just trying to work it out by reading the
book (Sheiffler & Gettys), stealing code from Ian, and experimenting.
It's not trivial, and most definitely does involve building (and
modifying) VMs.
Okay then.
For the meanwhile, I'll implement Subcanvas by BitBlting a Form inside the extent of a Morph / SystemWindow. It'll be ugly and will break Morph drawing a bit, but it will work.
As an aside, I'm hoping that one day I can make an implementation of the Subcanvas API directly to X.
Thanks,
Gulik.
--
http://people.squeakfoundation.org/person/mikevdg
http://gulik.pbwiki.com/