[Geany-devel] geanypy again query this time :)

Michael Hall mhall119 at xxxxx
Tue Jul 24 22:59:57 UTC 2012

Yes, if you are using "from gi.repository import Gtk" you are getting
Gtk+ 3.

Michael Hall
mhall119 at ubuntu.com

On 07/24/2012 06:22 PM, Matthew Brush wrote:
> On 12-07-24 03:14 PM, Oly wrote:
>> Any one able to tell me why this line fails in plugin and in the
>> interactive console.
>> from gi.repository import Gtk as gtk,GObject as gobject,GLib as glib
>> you can still use import gtk glib and gobject but they are being
>> depricated in favour of the above and the current versions of glade
>> generate xml for the new way not the old.
> Is it maybe using GTK+ 3? AFAIK you can't load GTK+ 3 and 2 in the same
> process and Geany and GeanyPy are using GTK+ 2 already. Just a guess
> without seeing the error messages and whatnot.
> Cheers,
> Matthew Brush
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

More information about the Devel mailing list