carta
Tk_ResetUserInactiveTime(3tk)

Tk_ResetUserInactiveTime3tk

Discover user inactivity time

Part of Tk_GetUserInactiveTime(3tk).

Usage

long


    


    

Arguments

Display *display (in)

The display on which the user inactivity timer is to be queried or reset.


    


            

Overview

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 inactivity time, -1 is returned. Tk_ResetUserInactiveTime 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

History

  • Debian 13 (Trixie) to Debian 12 (Bookworm): the text shown here
  • Debian 11 (Bullseye) to Debian 10 (Buster)
  • Debian 9 (Stretch) to Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)

From tk8.6-doc 8.6.16-1 in Debian 13 (Trixie). Also shipped by tk9.0-doc. Parsed by carta from the page's man source.