pollableSourceNewFull

Utility method for #GPollableInputStream and #GPollableOutputStream implementations. Creates a new #GSource, as with gio.global.pollableSourceNew, but also attaching child_source (with a dummy callback), and cancellable, if they are non-null.

Parameters

pollableStream gobject.object.ObjectG

the stream associated with the new source

childSource glib.source.Source

optional child source to attach

cancellable gio.cancellable.Cancellable

optional #GCancellable to attach

Return Value

Type: glib.source.Source

the new #GSource.