Re: [gnome-love] gtk3 installation



On Sat, 2014-08-23 at 20:32 +0300, Антон Козловский wrote:
I've installed python3-gobject. When I'm trying to import gtk3 or gtk
module it fails.

You have to use:

    from gi.repository import Gtk

There is a nice tutorial available at
http://python-gtk-3-tutorial.readthedocs.org/en/latest/introduction.html

-- 
Germán Poo-Caamaño
http://calcifer.org/

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]