Package: glib

Function glib:source-context

Lambda List

glib:source-context (source)

Arguments

source -- a g:source instance

Return Value

The g:main-context instance with which the source is associated, or nil if the context has not yet been added to a source.

Details

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

See also

2024-11-6