On Wed, Oct 17, 2012 at 7:26 PM, Paul K <paulclin...@yahoo.com> wrote: > Hi All, > > I've been looking for a way to process events globally in the app and > saw FilterEvent > (http://docs.wxwidgets.org/2.8/wx_wxapp.html#wxappfilterevent) offered > as one of the possible options to do this. Unfortunately all the > examples I saw were for C/C++ and I don't see it being used anywhere > in wxlua. > > Is there a way to use it with wxlua or an alternative way to at least > handle EVT_KEY_DOWN and EVT_MOTION events? Thank you.
You should be able to call Connect() on the window you're interested in getting them from. window:Connect(wx.wxEVT_KEY_DOWN, Lua function) Regards, John ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users