Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

on-timer

Arguments: timer

This function returns the value of the on-timer event property of the argument timer. The value should be a function object or a function name (a symbol naming a function). The function is invoked after timer's interval has elapsed (assuming that the default timer method has not been overridden). The function should take a single argument, which is the timer itself. Its returned values are not used. The default value is nil, and so a timer will not do anything when its interval has elapsed unless it is given a custom on-timer function (or a timer method is added for it).

An on-timer function can be specified with the :on-timer initarg when creating a timer instance with make-instance and setf can be used with on-timer to set or change the on-timer function of a timer.

See cg-timers.htm for more information on timers. See cg-events.htm for information about event handling in Common Graphics.


Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version