[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.5 Timers

StumpWM has a timer system similar to that of Emacs.

Function: idle-time screen

Returns the time in seconds since idle according to the root window of the ‘screen’.

Function: run-with-timer secs repeat function &rest args

Perform an action after a delay of SECS seconds. Repeat the action every REPEAT seconds, if repeat is non-nil. SECS and REPEAT may be reals. The action is to call FUNCTION with arguments ARGS.

Function: cancel-timer timer

Remove TIMER from the list of active timers.

Function: timer-p timer

Return T if TIMER is a timer structure.


This document was generated on January 28, 2024 using texi2html 1.82.