Package: glib

Function g-source-id

Lambda List

g-source-id (source)

Arguments

source -- a g-source instance

Return Value

An unsigned integer with the ID greater than 0 for source.

Details

Returns the numeric ID for a particular source. The ID of a source is a positive integer which is unique within a particular main loop context. The reverse mapping from ID to source is done by the g-main-context-find-source-by-id function.
 

See also

2021-12-10