[squeak-dev] Setting the VM window size

Rein, Patrick Patrick.Rein at hpi.de
Tue Mar 14 07:30:03 UTC 2023


You might be looking for `DisplayScreen setNewScreenSize: 1280 at 800.`?

Cheers,
Patrick
________________________________________
From: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> on behalf of Jim Rosenberg <jr at amanue.com>
Sent: Tuesday, March 14, 2023 6:43:36 AM
To: squeak-dev at lists.squeakfoundation.org
Subject: [squeak-dev] Setting the VM window size

Let's say I have some interactive artistic content developed in Squeak
which uses an interface derived from the old HyperCard model of a stack
of cards. Each card is an instance of a subclass of PasteUpMorph; all the
cards have the same origin and extent. I want to set the size of the
window in which the OS desktop-level VM runs from inside squeak based on
the "current" (at the front) card's extent. How can I set the VM window's
size to a given point from inside Squeak?



More information about the Squeak-dev mailing list