How do I capture a right-click or double-click event on a GtkCList row?
faq 5.4 explains the basic mechanics of capturing button presses on widgets. In our case, we attach a handler to the clist’s button_press_event and verify the event button and type. However, for right-clicks, the row you right-click on may not have been previously selected. This means the row will have to be selected first, and then right-clicked, which is bad usability (left-click then right-click).
Related Questions
- When I double click on the dollar sign in the lower right hand corner of the screen, it gives my UserID and a number. Is this the number of pages Ive printed so far?
- Can I launch the vertical row browser without having to right click and select the option?
- How do I capture a right-click or double-click event on a GtkCList row?