InspectDR written in Julia, so you can add interactivity if you wish.
It was not designed to hook in custom callbacks yet, but you can use “dynamic patching” (guerrilla patch/monkey patch) to “hack” in your own hooks at the moment.
You can find an example of this here:
Note that it might be more appropriate to overwrite the callback functions instead of the handleevent_mousepress()
function. I can guide you through that if you want.
Limitations
InspectDR does not support heat map or contour plots - so you probably don’t want to use it for drawing fractals. But it does work fine for 2D line plots.
Layered design
InspectDR typically is used as a plot application, but you could also instantiate an individual InspectDR plot widget within your custom, interactive Gtk application.
…But if you want to do that, you might want an overview of how the code was divided into files. I will only do that if you ask, I don’t feel like explaining this for nothing.