![]() | ![]() | ![]() | ![]() |
Tcl8.5.7/Tk8.5.7 Documentation > TkLib > InactiveTcl/Tk Applications | Tcl Commands | Tk Commands | Tcl Library | Tk LibraryNAMETk_GetUserInactiveTime, Tk_ResetUserInactiveTime - discover user inactivity timeSYNOPSIS#include <tk.h>long Tk_GetUserInactiveTime(display) Tk_GetUserInactiveTime(display) ARGUMENTS
DESCRIPTIONTk_GetUserInactiveTime returns the number of milliseconds that have passed since the last user interaction (usually via keyboard or mouse) with the respective display. On systems and displays that do not support querying the user inactiviy time, -1 is returned. Tk_GetUserInactiveTime resets the user inactivity timer of the given display to zero. On windowing systems that do not support multiple displays display can be passed as NULL.KEYWORDSidle, inactiveCopyright © 1995-1997 Roger E. Critchlow Jr.
Copyright © 1998-2000 by Scriptics Corporation.
|