MainContext.findSourceById

Finds a GSource given a pair of context and ID.

class MainContext
findSourceById
()

Parameters

sourceId uint

the source ID, as returned by g_source_get_id().

Return Value

Type: Source

the GSource if found, otherwise, NULL. [transfer none]

Meta