Reputation: 111
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
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