Widget menu while right mouse button is down

Hi everybody

i want to achieve a widget menu that appears while the right mouse button is held down and hovered over an object.
while right mouse button is held down you should choose from 4 buttons in the widget.
if right mouse button is released the actual hovered button should be activated.

i can do the widget and the mouse over object thing, but i cant do the right mouse button down mechanic to work …
Does anybody have an idea or an link to something similar for me ?

kind regards
stucki

bump …

nobody with any hint about this ??