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.

On Wed, Nov 2, 2011 at 3:55 PM, Richard Henwood <rjhenw...@yahoo.co.uk> wrote:
> hi All,
>
> My python app [1] won't run on Ubuntu 11.10 apparently because:
>
>
> "python-gnomeapplet is no longer being developed as Python developers need to 
> use GObject Introspection instead of PyGTK to work with GTK3."
>
> Please can someone point me in the direction of an example of using GObject 
> Introspection instead of PyGTK.
>
> and advise if it will be possible for me to write an app that is both Gnome 
> 2.x and 3 compatible.
>
> Many thanks,
> Richard
>
> 1. http://sites.google.com/site/richardhenwood/gnome-workspacetime
>
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list
>



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

Reply via email to