edrichhans
edrichhans

Reputation: 111

Right Click Signal for Button gtkmm-3.0

is there any way to catch the right click signal in a button in gtkmm-3.0? If not, what widgets can catch the right click? Thank you very much.

Upvotes: 0

Views: 1425

Answers (1)

ptomato
ptomato

Reputation: 57890

Yes, connect to button-press-event. The signal handler will receive a Gdk::EventButton object, which will tell you the mouse button that was clicked.

Upvotes: 1

Related Questions