Re: [Pharo-project] Some questions about pharo
Adrien did you have a look at Display>>startUp "DisplayScreen startUp" Display setExtent: self actualScreenSize depth: Display nativeDepth. Display beDisplay this is what is happening when an image is launched can you try to execute Display setExtent: self actualScreenSize depth: Display nativeDepth. Display beDisplay in a script? Or may be you could - avoid the headless argument when running the image and - have a flag there and make sure that you invoke Display setExtent: self actualScreenSize depth: Display nativeDepth. Display beDisplay when an error have.
On Mon, Oct 18, 2010 at 8:54 PM, Stéphane Ducasse <stephane.ducasse@inria.fr
wrote:
Adrien
did you have a look at
Display>>startUp "DisplayScreen startUp" Display setExtent: self actualScreenSize depth: Display nativeDepth. Display beDisplay
this is what is happening when an image is launched can you try to execute Display setExtent: self actualScreenSize depth: Display nativeDepth. Display beDisplay
in a script?
The problem I think that if you send -headless to the VM.....you cannot change it...I mean, It doesn't care what you do in the image side. But maybe i am wrong.
Or may be you could - avoid the headless argument when running the image and - have a flag there and make sure that you invoke Display setExtent: self actualScreenSize depth: Display nativeDepth. Display beDisplay when an error have.
Yes, I think this way should be easier. Not sure if possible, thought. Cheers mariano
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (2)
-
Mariano Martinez Peck -
Stéphane Ducasse