Some stuff I recover form Esteban and some old code:
cleanUpEnvironment
��� Smalltalk cleanUp: true.
��� ScriptLoader new cleanUpForDesktopProduction.
cleanUpForDesktopProduction
��� "This is same as cleanUpForProduction, but it does not remove DejaVu fonts"
��� SmalltalkImage
��� ��� checkChangesFileAvailability: false;
��� ��� checkSourcesFileAvailability: false.
"No user-interrupt-into-debugger"
UserInterruptHandler cmdDotEnabled: false.
"turn off shift-click editing"
StringMorph editableStringMorph: false.
"No halos, etc."
Morph cmdGesturesEnabled: false.
�"No user commands invokable via cmd-key combos in text editor"
ParagraphEditor cmdKeysInText: false.
Editor cmdKeysInText: false.
And then if you have a morphic app:
prepareMorph: aMorph
��� World color: Color lightGray lighter lighter.
��� World removeAllMorphs.
��� World layoutPolicy: ProportionalLayout new.
��� World
��� ��� addMorph: aMorph
��� ��� fullFrame: (LayoutFrame fractions: (0@0 corner: 1@1)).
��� aMorph bounds: World bounds.
��� aMorph sticky: true
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu.
But, I can't retrieve any thing related.
I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury
--
http://twitter.com/#!/NouryBouraqadi
http://www.kroobe.com/profile/noury
Afin de contribuer au respect de l'environnement,
merci de n'imprimer ce courriel qu'en cas de necessite
Please consider the environment before you print