Package: glib

Function g-source-attach

Lambda List

g-source-attach (source context)

Arguments

source -- a g-source instance
context -- a g-main-context instance, if null-pointer, the default context will be used

Return Value

The unsigned integer ID greater than 0 for the source within context.

Details

Adds a source to a context so that it will be executed within that context. Remove it by calling the g-source-destroy function.
 

See also

2021-12-10