GtkAlignment

Getting (x,y) coordinates when clicking on images

I wrote an application where the user clicks on a GtkImage, and I want to know *where* the user clicked. Here's a simple object extending GtkAlignment.

Syndicate content