Ticket #5492 enhancement closed fixed
G(tk)Application support in gtk3reactor
| Reported by: | lucian | Owned by: | itamar |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | dobey | Branch: | branches/gtk-app-5492 |
| Author: | lucian | Launchpad Bug: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

