pollableSourceNew

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.

pollableSourceNew

Parameters

pollableStream ObjectG

the stream associated with the new source

Return Value

Type: Source

the new glib.Source

Meta

Since

2.28