sorry if this is a FAQ. i can't find an answer.
is there any support in wx for synthesizing window system
events (button clicks, mouse move, ...)?
i'm looking for something similar to java.awt.Robot
thanks,
jeff
sorry if this is a FAQ. i can't find an answer.
is there any support in wx for synthesizing window system
events (button clicks, mouse move, ...)?
i'm looking for something similar to java.awt.Robot
thanks,
jeff
sorry if this is a FAQ. i can't find an answer.
is there any support in wx for synthesizing window system
events (button clicks, mouse move, ...)?
Not at the wx level, but you can get the window handle and do it with
lower-level, platform-specific functions.
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!
Jeff Turner wrote:
sorry if this is a FAQ. i can't find an answer.
is there any support in wx for synthesizing window system
events (button clicks, mouse move, ...)?i'm looking for something similar to java.awt.Robot
thanks,
jeff__
Has anyone done this? Would it be possible to sniff events off of the wx event handler, and then
do some kind of man in the middle attack? Has anyone synthesized events with the underlying toolkits, and if so, which ones?
Thanks in advance,
Philip Knodle
PS. I'm sorry if this is the wrong place to ask this
Are you looking for something like wxPostEvent?
A lot of events such as wxMouseEvent or wxKeyEvent would need to have their
attributes filled in once they are created if you were wanting to say test a
mouse down with the alt key down at a particular location. Also, I'm not
sure how you would do an event that isn't directed at a particular control
or window, since I think you have to supply the id of the control, perhaps
handling is different if the id is -1?
ka
-----Original Message-----
From: wxpython-users-admin@lists.wxwindows.org
[mailto:wxpython-users-admin@lists.wxwindows.org]On Behalf Of Jeff
Turner
Sent: Tuesday, December 04, 2001 7:31 AM
To: wxpython-users@lists.wxwindows.org
Subject: [wxPython] synthesizing window system eventssorry if this is a FAQ. i can't find an answer.
is there any support in wx for synthesizing window system
events (button clicks, mouse move, ...)?i'm looking for something similar to java.awt.Robot
thanks,
jeff_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users