[PD] Window un-focus notification
Mathieu Bouchard
matju at artengine.ca
Sat Feb 21 19:37:45 CET 2009
On Sat, 21 Feb 2009, Luke Iannini wrote:
> Yo - anyone have any ideas on getting the focus state of a window in Pd?
> I want to only enable key commands when the relevant window is focused -
> I have lots of miniature applications and it makes much more sense to
> treat them independently - I think the global nature of keystroke
> handling is what keeps me from every really using it!
> (And, I know [tot] can tell me when a window is focused, but not when
> it's unfocused, meaning I'd need a [tot] in every single window. no
> good)
use bind on <FocusOut> instead of <FocusIn>.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
More information about the Pd-list
mailing list