Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Tk_GetUserInactiveTime(3)    Tk	Library	Procedures   Tk_GetUserInactiveTime(3)

______________________________________________________________________________

NAME
       Tk_GetUserInactiveTime,	Tk_ResetUserInactiveTime - discover user inac-
       tivity time

SYNOPSIS
       #include	<tk.h>

       long
       Tk_GetUserInactiveTime(display)

       Tk_ResetUserInactiveTime(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 sup-
       port querying the user inactivity time, -1 is returned.	Tk_ResetUserI-
       nactiveTime  resets  the	 user inactivity timer of the given display to
       zero.  On windowing systems that	do not support multiple	displays  dis-
       play can	be passed as NULL.

KEYWORDS
       idle, inactive

Tk				      8.5	     Tk_GetUserInactiveTime(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | KEYWORDS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Tk_GetUserInactiveTime.tk86&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help