removeByFuncsUserData

fun removeByFuncsUserData(funcs: SourceFuncs, userData: <Error class: unknown class>? = null): Boolean(source)

Removes a source from the default main loop context given the source functions and user data. If multiple sources exist with the same source functions and user data, only one will be destroyed.

Return

true if a source was found and removed.

Parameters

funcs

The @source_funcs passed to g_source_new()

userData

the user data for the callback