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

Oly olymk2 at xxxxx
Wed Jul 25 06:22:41 UTC 2012


cheers that makes sense, for some reason i thought gi.repository did gtk 2
and 3 but would make sense its just for 3

On Tue, Jul 24, 2012 at 11:59 PM, Michael Hall <mhall119 at ubuntu.com> wrote:

> 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
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20120725/f26f74e1/attachment.html>


More information about the Devel mailing list