Utility method for GPollableInputStream and GPollableOutputStream implementations. Creates a new glib.Source that expects a callback of type GPollableSourceFunc The new source does not actually do anything on its own; use Source.addChildSource to add other sources to it to cause it to trigger.
the stream associated with the new source
the new glib.Source
2.28
Utility method for GPollableInputStream and GPollableOutputStream implementations. Creates a new glib.Source that expects a callback of type GPollableSourceFunc The new source does not actually do anything on its own; use Source.addChildSource to add other sources to it to cause it to trigger.