beetlebug▾
/

tk inactive

Gives the time since the last input of the user.

tk inactive ?-displayof WINDOW?
tk inactive ?-displayof WINDOW? reset

Description

In ztk the result is always 0, and reset gives an empty string.

Returns

0, or an empty string for reset.

Examples

% tk inactive
0

% tk inactive reset

Errors

ztk accepts each word.

Differences from Tcl

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1