Lisp HUG Maillist Archive

capi: checking for pane focus

hi!

I have a capi interface where I need to check what the current focused 
pane is (or alternatively, I could do with a callback called whenever
a pane gets "unfocused").

I'm sure there must be some function for this, but so far I haven't
been able to find it.
-- 
  (espen)


Re: capi: checking for pane focus

"Dmitri Ivanov" <divanov2@postman.ru> writes:

> Perhaps change-callback can help informing that the pane gets focus by a
> mouse click. So your choice could be keeping truck of which pane was
> pane gets focus via Tab key in LWW :-(

yes, I use this trick now (whenever the change-callback is called with
a different pane, I run the function I need to run when the pane in
question gets unfocused), but as you point out, nothing happens until
the user actually _changes_ one of the other panes.
-- 
  (espen)


Re: capi: checking for pane focus

Unable to parse email body. Email id is 421

Updated at: 2020-12-10 09:02 UTC