I have a 3rd party library with mainloop. I want to use GLib/Gtk with the app I'm developing. Is it possible to integrate GLib mainloop into another host?
The host loop allows to register an fd and execute nonblocking callback. Does GLib mainloop expose an fd to poll on and a function to process single event?