pollableSourceNewFull

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

static
pollableSourceNewFull

Parameters

pollableStream void*

the stream associated with the new source. [type GObject]

childSource Source

optional child source to attach. [allow-none]

cancellable Cancellable

optional GCancellable to attach. [allow-none]

Return Value

Type: Source

the new GSource. [transfer full]

Meta