tags:

views:

328

answers:

1

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?

A: 

Did you draw your image in a GtkEventBox?

eduffy
The reason that I am manually drawing the image is because it needs to be on top of another widget. Is there an easy way to put an EventBox at a specific pixel location?
c4757p
That would BE a GtkFixed widget.
eduffy