:right-sidebar: True IOFlags =================================================================== .. currentmodule:: gi.repository.GLib .. class:: IOFlags :no-contents-entry: Specifies properties of a :obj:`~gi.repository.GLib.IOChannel`. Some of the flags can only be read with :func:`~gi.repository.GLib.IOChannel.get_flags`, but not changed with :func:`~gi.repository.GLib.IOChannel.set_flags`. Fields ------ .. rst-class:: interim-class .. class:: IOFlags :no-index: .. attribute:: APPEND Turns on append mode, corresponds to ``%O_APPEND`` (see the documentation of the UNIX open() syscall) .. attribute:: GET_MASK The mask of the flags that are returned from :func:`~gi.repository.GLib.IOChannel.get_flags` .. attribute:: IS_READABLE Indicates that the io channel is readable. This flag cannot be changed. .. attribute:: IS_SEEKABLE Indicates that the io channel is seekable, i.e. that :func:`~gi.repository.GLib.IOChannel.seek_position` can be used on it. This flag cannot be changed. .. attribute:: IS_WRITABLE Indicates that the io channel is writable. This flag cannot be changed. .. attribute:: 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 .. attribute:: MASK The mask that specifies all the valid flags. .. attribute:: NONBLOCK Turns on nonblocking mode, corresponds to ``%O_NONBLOCK``/``%O_NDELAY`` (see the documentation of the UNIX open() syscall) .. attribute:: NONE No special flags set. Since: 2.74 .. attribute:: SET_MASK The mask of the flags that the user can modify with :func:`~gi.repository.GLib.IOChannel.set_flags`