pollableSourceNewFull

fun pollableSourceNewFull(pollableStream: <Error class: unknown class>, childSource: <Error class: unknown class>? = null, cancellable: Cancellable? = null): <Error class: unknown class>

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

Return

the new #GSource.

Since

2.34

Parameters

pollableStream

the stream associated with the new source

childSource

optional child source to attach

cancellable

optional #GCancellable to attach