tk_getuserinactivetime(3) osx man page | unix.com

Man Page: tk_getuserinactivetime

Operating Environment: osx

Section: 3

Tk_GetUserInactiveTime(3)				       Tk Library Procedures					 Tk_GetUserInactiveTime(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tk_GetUserInactiveTime, Tk_ResetUserInactiveTime - discover user inactivity time
SYNOPSIS
#include <tk.h> long Tk_GetUserInactiveTime(display) Tk_GetUserInactiveTime(display)
ARGUMENTS
Display *display (in) The display on which the user inactivity timer is to be queried or reset. _________________________________________________________________
DESCRIPTION
Tk_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_GetUserInac- tiveTime 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.
KEYWORDS
idle, inactive Tk 8.5 Tk_GetUserInactiveTime(3)
Related Man Pages
focus(n) - redhat
tk(3tk) - debian
dpmsgettimeouts(3) - x11r4
tk(n) - osx
tk_idtowindow(3tk) - opensolaris
Similar Topics in the Unix Linux Community
AIX Links
Mac OS X: Based on UNIX - Solid As a Rock
Hearing Aid for OSX 10.12.x and greater.
Syntax error in subtraction in Bash