18.11.2012 20:00, Christian Mallwitz wrote:
> There was a time one could do
> 
>>>> import gtk
>>>> gtk.pygtk_version
> (2, 17, 0)
> 
> How can I do the same with gi.repository.Gtk when using
> gobject-introspection from within Python 2?  How about GLib and/or
> Gio?

>>> from gi.repository import GObject
>>> GObject.pygobject_version
(3, 2, 2)

And since there is no PyGLib or PyGio, you don't do the same for those.
PyGObject provides the bindings for GObject, Gtk, GLib and any other
libraries that support gobject introspection.

-- 
Osmo Salomaa <otsal...@iki.fi>
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to