Re: computer keyboard input to one window?

[email protected]
Newsgroups gmane.comp.audio.supercollider.user
Message-ID <[email protected]>
Hi Chris,

I hope all is well with you.

It looks like you should be able to use the focus and canFocus methods of View to keep the desired view in focus.

The other option would be to make all your keyboard actions global.

Sorry to not be more specific, but it looks possible.

Sam


> On Mar 24, 2021, at 10:43 PM, Chris Brown <cbmus-Gr/[email protected]> wrote:
> 
> 
> I’ve got a multi-window interface for a piece and wondering if
> there is a way to make one of the windows persist as the active
> one so that computer keyboard input goes to it.   
> Or is the only way to make a window accept keyboard input to click on 
> it first ? For example, MIDI inputs can change GUIs in any window 
> without a problem, but I can’t find a way to channel computer keyboard input to 
> control interface in one window.
> 
> thanks for any help,
> 
> Chris
> 
> 
> Chris Brown
> composer-performer
> http://cbmuse.com <http://cbmuse.com/>
> 
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.