471,328 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

Mouse hover event in wxpython

Hi All,

Can somebody tell me if there is an event to indicate mouse hover over
a control in wxPython? EVT_MOTION does not seem to cut it.

Thanks in advance,
Sundar

Oct 26 '07 #1
2 5547
sundarvenkata wrote:
Hi All,

Can somebody tell me if there is an event to indicate mouse hover over
a control in wxPython? EVT_MOTION does not seem to cut it.

Thanks in advance,
Sundar
You might want to take a look at gmane.comp.python.wxpython for better replies
to wxPython specific questions. Looks like you might want OnEnter(self, x, y,
d) and OnLeave(self) methods of wxDropTarget class

-Larry
Oct 26 '07 #2
On Oct 26, 3:55 am, sundarvenkata <sundarvenk...@gmail.comwrote:
Hi All,

Can somebody tell me if there is an event to indicate mouse hover over
a control in wxPython? EVT_MOTION does not seem to cut it.

Thanks in advance,
Sundar
What are you trying to do? I use EVT_MOTION for mouse hovering and it
works great in my application. You might try EVT_ENTER_WINDOW too.

See also:

http://www.wxpython.org/docs/api/wx....ent-class.html

Larry is right. The wxPython mailing list would give you even more
accurate answers.

Mike

Oct 26 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by mitsura | last post: by
4 posts views Thread by Raj Chudasama | last post: by
reply views Thread by StriderBob | last post: by
3 posts views Thread by tigger | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.