addChildSource

fun addChildSource(childSource: Source)

Adds @child_source to @source as a "polled" source; when @source is added to a struct@GLib.MainContext, @child_source will be automatically added with the same priority, when @child_source is triggered, it will cause @source to dispatch (in addition to calling its own callback), and when @source is destroyed, it will destroy

Since

2.28

Parameters

childSource

a second #GSource that @source should "poll"