You can override mouse rightclick in the widget if there is a canvas on the whole screen. Then you overdrive OnMouseButtonDown.
Sorry I’m no expert.