Skip to content

Gio.PollableInputStreamInterface

record (struct)

The interface for pollable input streams.

The default implementation of can_poll always returns True.

The default implementation of read_nonblocking calls PollableInputStream.is_readable, and then calls InputStream.read if it returns True. This means you only need to override it if it is possible that your is_readable implementation may return True when the stream is not actually readable.

Properties

g_iface

g_iface: GObject.TypeInterface  # read/write

can_poll

can_poll: Any  # read/write

is_readable

is_readable: Any  # read/write

create_source

create_source: Any  # read/write

read_nonblocking

read_nonblocking: Any  # read/write