Tk_GetUserInactiveTime(3)
πΈ NAME πΈ
okay so welcome to the Tk_GetUserInactiveTime(3) page from the Tk Library Procedures manual β it's literally the βhow long has the user been idleβ page, and it's iconic β¨
Tk_GetUserInactiveTime,Tk_ResetUserInactiveTimeβ discover user inactivity time.
β¨ SYNOPSIS β¨
the whole signature situation is giving:
#include <tk.h>
long
Tk_GetUserInactiveTime(display)
Tk_ResetUserInactiveTime(display)
π ARGUMENTS π
Display *display(in) β the display whose user-inactivity timer you're querying or resetting. That's the whole parameter, bestie π«Ά
π DESCRIPTION π
Tk_GetUserInactiveTime returns the number of milliseconds that have ticked by 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. That's the βnope, can't query thisβ fallback, fr fr.
Tk_ResetUserInactiveTime resets the user inactivity timer of the given display to zero. Periodt. On windowing systems that do not support multiple displays, display can be passed as NULL.
π·οΈ KEYWORDS π·οΈ
idle, inactive β that's the tag squad π
tiny sign-off, bestie: this cutie is from Tk 8.5 and the Tk_GetUserInactiveTime(3) manual page β mwah π
β¨
π¦ where this page comes from
- alpine 3.23: tk9-doc 9.0.3-r0 Β· TCL
- alpine 3.24: tk9-doc 9.0.3-r2 Β· TCL
- fedora 43: tk-devel 1:9.0.2-1.fc43 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 43: tk-devel 1:9.0.2-1.fc43 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 44: tk-devel 1:9.0.2-1.fc44 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- fedora 44: tk-devel 1:9.0.2-1.fc44 Β· TCL AND HPND-Pbmplus AND CC-BY-SA-3.0 AND MIT-open-group AND MIT
- nixos 26.05: tk 9.0.3
- Copyright (c) 1998-2000 Scriptics Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms