timeoutAddSecondsOnce

fun timeoutAddSecondsOnce(interval: <Error class: unknown class>, function: SourceOnceFunc): <Error class: unknown class>

This function behaves like func@GLib.timeout_add_once but with a range in seconds.

Return

the ID (greater than 0) of the event source

Since

2.78

Parameters

interval

the time after which the function will be called, in seconds

function

function to call