pyGTK on Mouse over event ?

tiissa tiissa at nonfree.fr
Wed Apr 20 15:35:51 EDT 2005


Domenique.Tilleuil at gmail.com wrote:
> hello,
> 
> Is there an event simular to the java event onMouseOver ?
> I want to get the coordinates of the mouse pointer when it is over an
> image ( GTKImage widget)
> 
> I've tried using the EventBox with the motion_notify but that only
> seems to work when the mouse is pressed ?
> 
Why do you use an event box?
Image derives from Widget hence can be connected to the 
motion-notify-event just like EventBox. Did you try directly?



More information about the Python-list mailing list