MainContext.findSourceByFuncsUserData
glib.source.Source findSourceByFuncsUserData(glib.types.SourceFuncs funcs, void * userData = null)Finds a source with the given source functions and user data. If multiple sources exist with the same source function and user data, the first one found will be returned.
Parameters
funcs | the source_funcs passed to [glib.source.Source.new_]. |
userData | the user data from the callback. |
Returns
the source, if one was found, otherwise null