I searched for this first.
Basically I’m wondering if there’s a way at all to pass a function to set_status or some related method to create a status that when clicked executes something.
To give more context, I’m making a plugin that shows the number of occurrences of a certain string, and it shows for example “2 strings found”. I want to be able to click that and make it jump with show_at_center in the view.
I don’t want to create additional panels or similar.
I could create a keyboard shortcut for it but it would be much more convenient if the status item was just clickable so no other shortcut needs to be memorized.