Timeout.add

Warning gtk_timeout_add has been deprecated since version 2.4 and should not be used in newly-written code. Use g_timeout_add() instead. 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.

class Timeout
static
uint
add

Parameters

interval uint

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

data void*

The data to pass to the function.

Return Value

Type: uint

A unique id for the event source.

Meta