IOChannel.getBufferCondition

glib.types.IOCondition getBufferCondition()

This function returns a #GIOCondition depending on whether there is data to be read/space to write data in the internal buffers in the #GIOChannel. Only the flags [glib.types.IOCondition.In] and [glib.types.IOCondition.Out] may be set.

Returns

A #GIOCondition