Hi Noury, You can implement a custom world menu to replace the existing one, see my post here for a description:
http://lists.gforge.inria.fr/pipermail/pharo-project/2010-September/032696.html You implement an own world menu by using a pragma and then switching to it. Ideally you have a secret key combination to switch between dev mode vs. runtime mode. Often it is a good idea to keep dev tools in end user apps - they can help you fixing a problem. So if size does not matter you can even use Unit tests to check that the environments fit the requirements for the app. Also check out the ImageCleaner, #cleanUpForProduction methods and friends. Regarding window size you can (for Windows) load my "OSWindows" package from config browser. There you can evaluate WinWindow pharoWindow moveWindowX: 10 y: 10 width: 400 height: 400 or WinWindow pharoWindow centerOnDesktop The idea of the OS package is to provide similar API wrappers for other OS platforms (like X-Windows/Unix or Mac) and the later add a common layer on top of it. Currently I only started with Windows since the Win32 API is the one that I know best. Feel free to motivate your students to help here, although it requires some NativeBoost knowledge. Also note the VistaCursors package in config browser - it shows you how to change cursors. This is often very handy for Games with custom cursors. Note that the size of the cursor can be very large if you like (as the Windows VM supports this, see an example here: [1] http://forum.world.st/New-Window-VM-Closures-FT2Plugin-Large-Cursors-td106792.html I'm not sure for other platforms, just try it. You can also provide an update mechanism for an application, similar to the one Pharo uses. (loading packages via scripts, ...) You can also use: http://smalltalkhub.com/#!/~hernan/ApplicationUpdater You can also build a custom VM with an own icon and an installer file. I already described all this here: http://lists.gforge.inria.fr/pipermail/pharo-project/2009-May/008774.html Hope this gives you some ideas what could be done. Possibilities are endless... Thanks Torsten > Gesendet: Dienstag, 18. Februar 2014 um 17:26 Uhr > Von: "Noury Bouraqadi" <[email protected]> > An: "Pharo Development List" <[email protected]> > Betreff: [Pharo-dev] Desktop Apps with Pharo 3 > > Hi, > > For my Pharo Lecture I want to show students how to make a desktop app in > Pharo 3.0 (Yes I'm using a Beta for my lecture, because Pharo 3 is cool :-) > > - I wonder if there are any new cool solution to strip out dev tools or at > least lock the world menu? > > - Is there any way to set the OS window size other than simply turning it > full screen? > > Thanks for your help, > Noury > Ecole des Mines de Douai > http://car.mines-douai.fr/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 > > > > >
