On Fri, 2010-07-30 at 10:39 +1200, John Stowers wrote: > On Fri, 2010-07-30 at 00:32 +0200, Steve Frécinaux wrote: > > On 07/30/2010 12:28 AM, John Stowers wrote: > > > On Fri, 2010-07-30 at 00:23 +0200, Steve Frécinaux wrote: > > >> It's not as simple: you can't use pygtk and pygi at the same time in the > > >> same program. > > > > > > Is that still true if PyGtk+friends is built against Gtk-3.0 etc? That > > > is not my understanding. > > > > This has nothing to do with the Gtk version. It's merely that you can't > > have several C wrappers for the same gtype, so the first imported one > > wins. And they don't have exactly the same API. So if you use gtk.Window > > and Gtk.Frame, both will use the same GtkWidget wrapper, and it could be > > Gtk.Widget or gtk.Widget... > > I'm not suggesting mixing the bindings. No way. > > If a Python plugin only does "import pygtk,gedit Bah, this should have read "import gedit,gtk" ^^^
John _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
