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.
the stream associated with the new source
optional child source to attach
optional gio.Cancellable to attach
the new glib.Source
2.34
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.