GtkEventbox

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.

Playing with GtkStyle

buttons widgets from scratch using GtkStyle methods Here is an example using GtkEventBox and GtkStyle to create standard Buttons. See the complete story and source code on my own site.

Syndicate content