Login  Register

Re: Rebinding keys in Cuis?

Posted by Juan Vuletich-4 on Jun 29, 2013; 9:29pm
URL: https://forum.world.st/Rebinding-keys-in-Cuis-tp4695848p4696332.html

Hi Casey,

On 27/06/2013 10:34 p.m., Casey Ransberger wrote:
> Hey all,
>
> I'm wondering how to bind keys (say, control-backtick) so that a
> message gets sent whenever that key combination is pressed. I've never
> really figured this part out:(

For text editors, see in class Editor the 'shortcuts' and 'cmdShortcuts'
class instance variables. For Morphic World level keystrokes, see
#focusKeyboardFor: . I'm _sure_ there's room for a better design, or at
least some cleanup there.

> I'm experimenting with some window management ideas. I can control the
> windows just fine, but I'm firing messages from an inspector presently.

Cool! Check that there is some stuff to #activateNextWindow ,
#activatePreviousWindow , #keyboardFocusNext , #keyboardFocusPrevious .
Please cleanup any remains :)

> --
> Casey Ransberger
>

Cheers,
Juan Vuletich

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org