[pygtk] get the version of gtk / pygtk used
Yann Leboulanger
asterix at lagaule.org
Mon Jun 16 15:06:31 WST 2008
awalter1 a écrit :
> Hi,
> I'm working with Linux RedHat EL4.
> a version of gtk+ was installed with the release RedHat : "rpm -qa" returns
> this version.
> Others more recente versions of gtk+ have been installed from sources : not
> recognize from rpm.
> Same things for pygtk.
>
> My application is written in python.
>
> How to know which versions of gtk+/pygtk is used by my application ?
>>> import gtk
>>> gtk.gtk_version
(2, 10, 11)
>>> gtk.pygtk_version
(2, 10, 4)
--
Yann
More information about the pygtk
mailing list