Hello, > Has anybody used wxTimer in wxLua (lua-side) programming?
Yes, I've used it. > I can create the wxTimer, but I am not sure what > I am missing when I try to bind it to an event handler. Maybe this fragments of code will be useful for you: gstimer = wx.wxTimer(frame) frame:Connect(wx.wxEVT_TIMER, TimerTick) gstimer:Start(20) the TimerTick() function is called 50 times per second (variable frame point main window of application). near the end of program (or when needed) you should use: gstimer:Stop() Best regards Piotr Strzelczyk ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ wxlua-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxlua-users
