Edwin Leuven wrote:
Abdelrazak Younes wrote:
However, I would be surprised to see someone come up with a
proper alternative to the general idea of polling getStatus

No but we could add an option for not polling getStatus and return
 early in case when the LFUN is disabled. The later should be done
 anyway. The only effect would be then that the icon/menu item will
not be disabled.

why not use signals: if a tabular gets focucs it sends an enabled
signal to the associated actions, and a disabled signal when it
looses focus?

That would be the best solution but we would need an "LFUN manager" that
will receive the different signals and properly enable/disable the associated LFUN. That could be LyXFunc of course :-)

Abdel.



Reply via email to