IOChannel#
- class IOChannel(*args, **kwargs)#
- Constructors:
IOChannel()
new_file(filename:str, mode:str) -> GLib.IOChannel
unix_new(fd:int) -> GLib.IOChannel
Constructors#
Methods#
- class IOChannel
- add_watch(condition: IOCondition, callback: Callable[..., bool | None], *user_data: Any, priority: int = 0) int#
- Parameters:
condition
callback
user_data
priority
- classmethod error_from_errno() IOChannelError#
- get_buffer_condition() IOCondition#