On 2008.05.19 14:04:25 -0700, Mitko Haralanov wrote: > On Mon, 19 May 2008 13:20:23 -0700 > David Ripton <[EMAIL PROTECTED]> wrote: > > > $ python > > [...] > > ['check_version', 'gtk_version', 'pygtk_version', 'ver'] > > [...] > > (2, 10, 4) > > [...] > > (2, 10, 1) > > [...] > > (2, 12, 1) > > I am sorry but your reply is not very useful. Are those methods of a > module? Defined constants? I can't find them defined anywhere
Maybe Python's ">>>" interactive prompt looked too much like an email reply, and confused your mail client? Sorry. Anyway, I was trying to demonstrate how to dig around in Python modules looking for symbols, when you can't find something in the docs. Once you know the name of the symbol, then you can more easily find the details. (I didn't actually know the answer to your question, but I found it in a few seconds with the Python interactive prompt, using the dir() function and a guess that the version information would be found in something with "version" in its name.) Anyway, the version constants I found are documented here: http://www.pygtk.org/docs/pygtk/gtk-constants.html#gtk-version-constants And the function I found is documented here: http://www.pygtk.org/docs/pygtk/gtk-functions.html#function-gtk--check-version -- David Ripton [EMAIL PROTECTED] _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
