Hey all, 2010/12/10 Koen Deforche <[email protected]>
> Hey Tristan, > > 2010/12/1 Tristan Bonsall <[email protected]>: > > My application has a log-in system to enable certain areas of the > > interface. Given a period of user-inactivity, the client would like it > > to fall back to the default level of access. > > > > I need to restart a single-shot WTimer every time the user interacts > > with the interface, but I cannot find a way to single out just those > > events. The only hook I can see is WApplication::notify, but that > > receives events for reasons other than user interaction. > > In fact, the only other event that passes through notify() is a > keep-alive event used to detect when a browser was closed or the user > went off-line. > > I believe it would be a straightforward improvement to add a public > method there that allows you to differentiate between this and other > events? > Yep, it would be nice. Agree. > Regards, > koen > > > ------------------------------------------------------------------------------ > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > -- // Dmitriy.
------------------------------------------------------------------------------
_______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
