Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Tk_GetUserInactiveTime (3tk)

Name

Tk_GetUserInactiveTime - tivity time

Synopsis

#include <tk.h>

long
Tk_GetUserInactiveTime(display)

Tk_GetUserInactiveTime(display)

Description

Tk Library Procedures                              Tk_GetUserInactiveTime(3tk)



______________________________________________________________________________

NAME
       Tk_GetUserInactiveTime,  Tk_ResetUserInactiveTime - discover user inac-
       tivity 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 sup-
       port 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



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | runtime/tk-8     |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source        was        downloaded        from         https://source-
       forge.net/projects/tcl/files/Tcl/8.6.7/tk8.6.7-src.tar.gz/download.

       Further information about this software can be found on the open source
       community website at https://www.tcl.tk/.



Tk                                    8.5
                                                   Tk_GetUserInactiveTime(3tk)