pollableSourceNewFull

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

Parameters

pollableStream ObjectG

the stream associated with the new source

childSource Source

optional child source to attach

cancellable Cancellable

optional gio.Cancellable to attach

Return Value

Type: Source

the new glib.Source

Meta

Since

2.34