[pygtk] Clickable image not clickable in transparent areas?

Christian Siegert christian at banipani.de
Thu Jan 17 06:37:44 WST 2008


Hi,

I want to display a clickable image which is not clickable in transparent areas.

The way I failed:
The image is child of an event box. The event box receives the button_press_event. If I click in a transparent area of the image the event box still receives an event. How can I change this behaviour? Apparently, I can only mask windows, not widgets.

Are there other ways to do what I want? Is there a way at all?

Thank you in advance
Christian


More information about the pygtk mailing list