Off the top of my head you can get it using GObject._version.
On Nov 18, 2012 10:06 PM, "Christian Mallwitz" <c.mallw...@gmail.com> wrote:

> Hi
>
> 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?
>
> Ubuntu claims Precise is packaged with pygobject 3.2.2-1 ...
>
> Thanks
> Christian
> _______________________________________________
> pygtk mailing list   pygtk@daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
_______________________________________________
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