GLib.IOFlags

Specifies properties of a GLib.IOChannel. Some of the flags can only be read with GLib.IOChannel.prototype.get_flags, but not changed with GLib.IOChannel.prototype.set_flags.

IOFlags.APPEND

turns on append mode, corresponds to %O_APPEND (see the documentation of the UNIX open() syscall)

IOFlags.NONBLOCK

turns on nonblocking mode, corresponds to %O_NONBLOCK/%O_NDELAY (see the documentation of the UNIX open() syscall)

IOFlags.IS_READABLE

indicates that the io channel is readable. This flag cannot be changed.

IOFlags.IS_WRITABLE

indicates that the io channel is writable. This flag cannot be changed. G_IO_FLAG_IS_WRITEABLE: a misspelled version of @G_IO_FLAG_IS_WRITABLE that existed before the spelling was fixed in GLib 2.30. It is kept here for compatibility reasons. Deprecated since 2.30

IOFlags.IS_WRITEABLE
IOFlags.IS_SEEKABLE

indicates that the io channel is seekable, i.e. that GLib.IOChannel.prototype.seek_position can be used on it. This flag cannot be changed.

IOFlags.MASK

the mask that specifies all the valid flags.

IOFlags.GET_MASK

the mask of the flags that are returned from GLib.IOChannel.prototype.get_flags

IOFlags.SET_MASK

the mask of the flags that the user can modify with GLib.IOChannel.prototype.set_flags