Is there an API to query the name of the currently selected toolbox action?
I’ve tried calling like
Krita.instance().action('ZoomTool').isChecked() (with ‘ZoomTool’ replaced with the action name of each tool in the toolbox) but it always returns
False, as does
Another idea was connecting to the
triggered signal of each tool, but I don’t know when or how my extension should register the listeners.