Adds the glib.IOChannel into the default main loop context
with the given priority.
This internally creates a main loop source using g_io_create_watch()
and attaches it to the main loop context with Source.attach.
You can do these steps manually if you need greater control.
Adds the glib.IOChannel into the default main loop context with the given priority.
This internally creates a main loop source using g_io_create_watch() and attaches it to the main loop context with Source.attach. You can do these steps manually if you need greater control.