Post #5273:  but im really not sure about custom panels, dont see anything in the UI addressing such possibilities.
Im not sure about scripts which you can add to gestures as a button. Maybe its possible to draw some custom panel UI there.