1Tk_GetUserInactiveTime(3)    Tk Library Procedures   Tk_GetUserInactiveTime(3)
2
3
4
5______________________________________________________________________________
6

NAME

8       Tk_GetUserInactiveTime,  Tk_ResetUserInactiveTime - discover user inac‐
9       tivity time
10

SYNOPSIS

12       #include <tk.h>
13
14       long
15       Tk_GetUserInactiveTime(display)
16
17       Tk_GetUserInactiveTime(display)
18

ARGUMENTS

20       Display *display (in)          The display on which the user inactivity
21                                      timer is to be queried or reset.
22______________________________________________________________________________
23

DESCRIPTION

25       Tk_GetUserInactiveTime  returns  the  number  of milliseconds that have
26       passed since the last user interaction (usually via keyboard or  mouse)
27       with  the  respective display. On systems and displays that do not sup‐
28       port querying the user inactiviy time, -1 is returned.  Tk_GetUserInac‐
29       tiveTime resets the user inactivity timer of the given display to zero.
30       On windowing systems that do not support multiple displays display  can
31       be passed as NULL.
32

KEYWORDS

34       idle, inactive
35
36
37
38Tk                                    8.5            Tk_GetUserInactiveTime(3)
Impressum