Question

I am trying to set up an add-tab button in a Gtk::Notebook (gtkmm). I am doing this by drawing a pixmap to a calculated position -- that works just fine. However, when trying to receive events for it, I cannot pick up a single left click. Single middle and single right give both press and release events, and double left gives just a press event, but single left doesn't register anything. How can I properly receive events?

Was it helpful?

Solution

Did you draw your image in a GtkEventBox?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top