Package: glib

Function glib:source-remove

Lambda List

glib:source-remove (source)

Arguments

source -- an unsigned integer ID for the source to remove

Return Value

True if source was found and removed.

Details

Removes the source with the given ID from the default main context. The ID of a g:source instance is given by the g:source-id function, or will be returned by the g:source-attach, g:idle-add, g:timeout-add functions. You must use the g:source-destroy function for sources added to a non-default main context.
 

See also

2024-11-6