[gtkada] GtkImage and mouse events?

Jacob Sparre Andersen sparre at nbi.dk
Sat Oct 16 00:03:44 CEST 2004


Manuel Op de Coul wrote:

> >How can I get an event, when a user clicks on an image?
> 
> Attach a handler for "button_press_event".

That's not enough.  But putting the image inside an
Event_Box and attaching the handler for "button_press_event"
to the Event_Box seems to work.

Jacob
-- 
»But you have to be a bit wary of a ship that collects
 snowflakes.«                                  -- Diziet Sma




More information about the gtkada mailing list