[Cuis-dev] Keyboard shortcut for world menu?
Hilaire Fernandes
hfern at free.fr
Sun Apr 23 06:11:55 PDT 2023
Aha, full of windows. I manually resize the workspace to have a little
access to the workspace. One alternative is to edit the start up script
so one of the window keeps some access to the background. Another better
alternative will be to add an iconic button to the taskbar to just show
the menu.
For the keyboard short cut, I tried this without success, you need the
WorldMorph do have focus, which is unlikely if out of sight:
WorldMorph allInstances first
setProperty: #keyStroke:
toValue: [:kbdEvent |
'here we go' print.
(kbdEvent shiftPressed and: [kbdEvent controlKeyPressed and:
[kbdEvent keyCharacter = $Z] ]) ifTrue: [WorldMorph
allInstances first invokeWorldMenu] ]
I think one need to tweak KeyboardEvent>>sendEventTo: like this:
(self shiftPressed and: [self commandAltKeyPressed and: [self
keyCharacter = $Z] ])
ifTrue: [^ WorldMorph allInstances first
invokeWorldMenu] .
Le 22/04/2023 à 20:59, Bernhard Pieber via Cuis-dev a écrit :
> Following its example I neatly covered the whole world with SystemWindows. I realized that I could not access the world menu anymore. How do you do it? Is there a keyboard shortcut?
--
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230423/54f9a5e7/attachment.htm>
More information about the Cuis-dev
mailing list