Basically what I want, is to prevent some event from happening. Eg. user chooses a tool - I want to know which tool user tried to choose, but actually stop from activating it. Or if user clicks on some menu item, I want to know which item user clicked, but prevent execution of that click. User tries to run an action - catch it and prevent… Etc.
I doubt it’s possible with current API, but maybe? Or it could be considered as a feature request