A python API question to know which tool is active. could be something like : Krita.instance().activeTool() or in alternative to be able to do: - Krita.instance().tools() : giving the list of all tools available - boolean = Krita.instance().action( "InteractionTool" ).isChecked() : to know if a given tool is active
I think this would be useful too, along with setting the tool and subtool. Then users could more easily create different kinds of input strategies like temporary shortcuts or shortcuts that when pressed twice in a row return to the previous tool (like how Paint Tool SAI can behave).