Package: glib

Function g-source-remove

Lambda List

g-source-remove (source)

Arguments

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

Return Value

True if the 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

*2021-12-15