On 23 Nov 2013, at 13:58, kmo <voxkmp@gmail.com> wrote:
I have written a small Polymorph application in Pharo 2.0. I have some questions about deploying it.
My app consists of a single morph. I would like to fill the pharo window with the morph and have the morph resize when the user resizes the pharo window.
I'm pretty close to what I want. I have made my morph a subclass of FullscreenMorph and it is filling the window nicely.
I just need two things.
One - I need to change the pharo window title to the title of my application. I have tried DisplayScreen hostWindowTitle and it seems to have no effect.
In Spec, I use DisplayScreen hostWindowTitle: aString, and it works.
Two - I need to get rid of the Pharo window status bar - the one at the bottom which shows you the various windows, browsers, and workspaces you have open.
World changeProportionalLayout. World submorphs do: [:e | e delete ]. (Smalltalk at: #PolymorphSystemSettings) perform: #desktopColor: with: (Color r: 0.78 g: 0.753 b: 0.71). ((Smalltalk at: #UITheme) perform: #currentSettings) perform: #windowColor: with: (Color r: 0.745 g: 0.745 b: 0.745). (Smalltalk at: #TaskbarMorph) perform: #showTaskbar: with: false Thatâs what I do in Spec :) For more info, you can have a look at WorldModel Ben
Can anyone give me some guidance?
Thanks.
-- View this message in context: http://forum.world.st/Deploying-a-polymorph-app-two-questions-tp4724525.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.