[Geany-devel] geanypy again query this time :)
Matthew Brush
mbrush at xxxxx
Tue Jul 24 22:22:42 UTC 2012
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
More information about the Devel
mailing list