[pygtk] Good way to determine which version of PyGObject is installed
Nox Deleo
noxdeleo at googlemail.com
Mon Nov 19 06:25:23 WST 2012
Off the top of my head you can get it using GObject._version.
On Nov 18, 2012 10:06 PM, "Christian Mallwitz" <c.mallwitz at 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 at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20121118/c8bd78e9/attachment.html>
More information about the pygtk
mailing list