Opaque class for defining and scheduling IO jobs.
Sets our main struct and passes it to the parent class.
Get the main Gtk struct
the main Gtk struct as a void*
Used from an I/O job to send a callback to be run in the thread that the job was started from, waiting for the result (and thus blocking the I/O job).
Used from an I/O job to send a callback to be run asynchronously in the thread that the job was started from. The callback will be run when the main loop is available, but at that time the I/O job might have finished. The return value from the callback is ignored.
Cancels all cancellable I/O jobs.
Schedules the I/O job to run in another thread.
the main Gtk struct