On Wed, Nov 2, 2011 at 12:59 PM, Jasper St. Pierre
<jstpie...@mecheye.net> wrote:
> There's a good introduction over here: http://python-gtk-3-tutorial.rtfd.org
>
> The first thing that I would do is replace:
>
>    import gtk
>    import gobject
>
> with something like:
>
>    from gi.repository import Gtk as gtk, GObject as gobject
>
> and see what breaks.

You can also find a porting guide over here:
https://live.gnome.org/PyGObject/IntrospectionPorting

Indeed, the first step is just renaming stuff. There's a bunch of
that, and in some cases it might be all you need to do. Good luck!

Dylan
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to