pollableSourceNewFull
fn
glib.source.Source pollableSourceNewFull(gobject.object.ObjectWrap pollableStream, glib.source.Source childSource = null, gio.cancellable.Cancellable cancellable = null)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 | the stream associated with the new source |
childSource | optional child source to attach |
cancellable | optional #GCancellable to attach |
Returns
the new #GSource.