Version 3 of tk inactive

Updated 2008-01-12 15:02:44 by kostix

Get how long the mouse and keyboard have been inactive for, or reset the inactivity timer. This can be used to do things like preventing a screensaver from kicking in; tkchat uses it (in read mode) to set the user's status to "Away" when people are busy.

Other idle time tracking facilities:

  • tkinactive rip of the Tk 8.5 builtin idle tracking code for older versions of Tk.
  • tkXwin for older versions of Tk in X Window.
  • tclWinidle for older versions of Tk in Windows (including Win9x).

Category Command