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?

Reply via email to