G(tk)Application support in gtk3reactor
|Reported by:||lucian||Owned by:||itamar|
branch-diff, diff-cov, branch-cov, buildbot
GLib has a GApplication class that handles things like application uniqueness and a few other things, and provides its own .run() method. GtkApplication inherits from it and also does Gtk-specific things.
After installing the gtk3reactor, if I call reactor.run() the UI does show up, but the GApplication's 'activate' event never fires. At glyph's suggestion I explicitly set the reactor's mainloop to that of the GApplication's and 'activate' fired as expected.
The reactor also doesn't stop when I close the window, even with the hack.