pollableSourceNew
fn
glib.source.Source pollableSourceNew(gobject.object.ObjectWrap pollableStream)Utility method for #GPollableInputStream and #GPollableOutputStream implementations. Creates a new #GSource that expects a callback of type #GPollableSourceFunc. The new source does not actually do anything on its own; use [glib.source.Source.addChildSource] to add other sources to it to cause it to trigger.
Parameters
pollableStream | the stream associated with the new source |
Returns
the new #GSource.