[Pharo-project] need maximized windows and hotkey for world menu - pharo 2.0

Sean P. DeNigris sean at clipperadams.com
Fri Jul 27 08:50:21 EDT 2012


jhancock wrote
> 
> Is there a way to set a global hotkey to get the world menu in 1.4?
> 

Hey John :) Please ask user questions on StackOverflow (tagged with Pharo)
or the Pharo Users list, so they do not get lost/confused with the
development issues discussed here.

You can add something like this on a class side somewhere
    buildWorldMenuKeymapOn: aBuilder
	<keymap>
	
	(aBuilder shortcut: #openWorldMenu) 
		category: #WorldMenuAnywhere
		default: $k command
		do: [
			ActiveWorld worldMenu
				openInWorld;
				takeKeyboardFocus. ].

	aBuilder attachShortcutCategory: #WorldMenuAnywhere to: Morph.



--
View this message in context: http://forum.world.st/need-maximized-windows-and-hotkey-for-world-menu-pharo-2-0-tp4641758p4641810.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.




More information about the Pharo-dev mailing list