StreamGIO.setOwner

Sets whether or not stream owns the backend GIO pointer.

Note: owner should be true if the stream should close() the backend file descriptor when destroyed or false otherwise.

class StreamGIO
void
setOwner
(
bool owner
)

Parameters

owner bool

true if this stream should own the #GFile or false otherwise