Source.getContext

Gets the GMainContext with which the source is associated. Calling this function on a destroyed source is an error.

class Source
getContext
()

Return Value

the GMainContext with which the source is associated, or NULL if the context has not yet been added to a source.

Meta