[Q] Setting the size of the OS host window
Tim Rowledge
tim at sumeru.stanford.edu
Thu Feb 7 19:32:51 UTC 2002
Hannes Hirzel <hirzel at spw.unizh.ch> is claimed by the authorities to have written:
> Hi
>
> Is it possible to implement a message #extent: for the Display
> in a cross-platform way so that I can do something like
>
> Display extent: 800 @ 600.
>
> And get Squeak to resize it's host operating system window accordingly.
This is how I change window size on Acorn;
Display setExtent: a at b depth: foo
and I trap the ioSetDisplay() routine to remake the Host OS window. I'm
sure it could be done for most other platforms, if it hasn't already.
tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Useful random insult:- Not an idiot, but plays one in his life.
More information about the Squeak-dev
mailing list
|