Slightly evil but this works on Windows (hopefully for Mac too!)...

HostWindowProxy new
instVarNamed: #windowHandle put: 1;
windowPosition: 0 @ 0;
windowSize: 800 @ 600;
windowTitle: 'Screencast'

Regards, Gary


----- Original Message ----- From: "Tudor Girba" <[email protected]> To: "[email protected] Development" <[email protected]>
Sent: Monday, January 31, 2011 3:10 PM
Subject: [Pharo-project] how to control the native window size and position


Hi,

Is there a way to control the size and screen position of the parent window?

I would need this for controlling the size of screencasts. I am particularly interested in a solution for Mac.

Cheers,
Doru


--
www.tudorgirba.com

"Some battles are better lost than fought."





Reply via email to