Hi All
How to count the number of keyboard press and mouse clicks in
wxpython. can you please send me the code if anybody have. I need a
quick reply ASAP. Please help me.
Thanks in advance.
Arun
Hi All
How to count the number of keyboard press and mouse clicks in
wxpython. can you please send me the code if anybody have. I need a
quick reply ASAP. Please help me.
Thanks in advance.
Arun
One way would be to override wx.App's FilterEvent method and look at all events before they are dispatched. See the "global eventhook" thread from yesterday for an example.
On 5/12/11 11:27 PM, manoj arun wrote:
Hi All
How to count the number of keyboard press and mouse clicks in
wxpython. can you please send me the code if anybody have. I need a
quick reply ASAP. Please help me.
--
Robin Dunn
Software Craftsman
manoj arun wrote:
How to count the number of keyboard press and mouse clicks in
wxpython. can you please send me the code if anybody have. I need a
quick reply ASAP. Please help me.
Your question doesn't make much sense. What's the point of this? This
kind of information is not useful, so there is no built-in way to get
it. You can certainly bind the EVT_KEY_DOWN, EVT_LEFT_DOWN, and
EVT_RIGHT_DOWN events and count them yourself.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.