VTE and right-mouse click -> Menu

I am playing around with Ruby Vte right now, and one question that I
have
is if it is possible to open a context menu (with options I could fill
up) when someone right clicks with his mouse on the Vte terminal?