On 23 May 2011 15:49, Benjamin Trias <[email protected]> wrote: > Dear list, > > I am using the latest version of PyGobject and Gtk+3 which I have just > re-installed (on Ubuntu 11.04). > > However, I cannot invoke Gdk.atom_intern() from the gi.repository, the > method is simply not there. > It appears however that the problem is due to my version of Gdk. > Gdk.__path__ returns: /usr/lib/girepository-1.0/Gdk-2.0.typelib > Another user (see > http://stackoverflow.com/questions/6088569/create-gtk-atom-with-pygobject-introspection-and-gtk3/6091179#6091179) > has however demonstrated that the Gdk.atom_intern() is available in > the /usr/lib/girepository-1.0/Gdk-3.0.typelib, which i do not have. > > How can i get the Gdk-3.0.typelib? I couldn't find this on Internet. > > Thanks, > Benjamin >
Solved: I managed to install GDK3 with sudo apt-get install gir1.2-gtk-3.0 Thanks. B. _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
