Okay I see. I will propose a little refactoring of WorldState so one can change the world menu programmatically.
Hilaire > When I change > > WordState>>worldMenuPragmaKeyword > ^ 'DrGeo' > "^worldMenu' " > > I still get the default world menu > > Hilaire > > Le 09/09/2010 13:27, Marcus Denker a écrit : >> >> On Sep 9, 2010, at 12:29 PM, Stéphane Ducasse wrote: >> >>> >>> On Sep 9, 2010, at 11:49 AM, Hilaire Fernandes wrote: >>> >>>> How can I change programmatically the world menu? >>>> Which class to look at? >>> >>> PasteUpMorph? >>> Setting? >>> >> >> Check the senders of worldMenu, e.g. >> >> >> SettingsBrowser>>#menuCommandOn: aBuilder >> <worldMenu> >> (aBuilder item: #'Settings') >> parent: #System; >> order: 1; >> icon: MenuIcons smallConfigurationIcon; >> action: [SettingBrowser open]; >> help: 'Opens a SystemSettingBrowser which allows you to alter >> many system settings' >> >> >> -- >> Marcus Denker -- http://www.marcusdenker.de >> INRIA Lille -- Nord Europe. Team RMoD. > > -- Dr. Geo, to discover geometry on Linux, Windows, MAC and XO http://community.ofset.org/index.php/DrGeo _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
