RGtk2 (version 2.20.31)

gtkTimeoutAdd: gtkTimeoutAdd

Description

Registers a function to be called periodically. The function will be called repeatedly after interval milliseconds until it returns FALSE at which point the timeout is destroyed and will not be called again. WARNING: gtk_timeout_add has been deprecated since version 2.4 and should not be used in newly-written code. Use gTimeoutAdd instead.

Usage

gtkTimeoutAdd(interval, fun, data = NULL)

Arguments

interval
The time between calls to the function, in milliseconds (1/1000ths of a second.)
data
The data to pass to the function.

Value