Source.removeByUserData

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

class Source
static
bool
removeByUserData
(
void* userData
)

Parameters

userData void*

the user_data for the callback.

Return: %TRUE if a source was found and removed.

Meta