GtkImage

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.

GtkImage

This example shows how to use the GtkImage widget to display an image file in a window.

Syndicate content