add mouse listener to wxImage, is it possible ??

Hello guys,

I new to this mailing list and i hope i can find a solution for my
problem here, my question is, can i make wxImage object in python
listens to mouse clicks, i had no problems for that with wxPanel. but
i dont know why its not working on wxImage. Is there a way to make it
work?

Thanks for your help in advance.

Hi,

ยทยทยท

On Mon, May 31, 2010 at 3:58 AM, abdalrahman.eweiwi@googlemail.com <abdalrahman.eweiwi@googlemail.com> wrote:

Hello guys,

I new to this mailing list and i hope i can find a solution for my
problem here, my question is, can i make wxImage object in python
listens to mouse clicks, i had no problems for that with wxPanel. but
i dont know why its not working on wxImage. Is there a way to make it
work?

No, wx.Image is not a Window object it is more of a data structure.
How are you displaying the image? That is where you could listen for
mouse events.

Cody