:right-sidebar: True IOChannel =================================================================== .. currentmodule:: gi.repository.GObject .. class:: IOChannel(*args, **kwargs) :no-contents-entry: :Constructors: :: IOChannel() new_file(filename:str, mode:str) -> GLib.IOChannel unix_new(fd:int) -> GLib.IOChannel Methods ------- .. rst-class:: interim-class .. class:: IOChannel :no-index: .. method:: add_watch(condition, callback, *user_data, priority=0) :param condition: :param callback: :param user_data: :param priority: .. method:: read(max_count=-1) :param max_count: .. method:: readline(size_hint=-1) :param size_hint: .. method:: readlines(size_hint=-1) :param size_hint: .. method:: seek(offset, whence=0) :param offset: :param whence: .. method:: write(buf, buflen=-1) :param buf: :param buflen: .. method:: writelines(lines) :param lines: