[pygtk] Determining PyGTK version

2006-04-05 Thread Thierry Lam
Is there a way to determine which version of PyGTK I'm using by writing python codes? Thierry ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Determining PyGTK version

2006-04-05 Thread Lawrence Oluyede
On 4/5/06, Thierry Lam [EMAIL PROTECTED] wrote: Is there a way to determine which version of PyGTK I'm using by writing python codes? import gtk print gtk.gtk_version print gtk.pygtk_version -- Lawrence http://www.oluyede.org/blog ___ pygtk mailing

Re: [pygtk] Determining PyGTK version

2006-04-05 Thread Frédéric Gobry
Is there a way to determine which version of PyGTK I'm using by writing python codes? import pygtk pygtk.require('2.0') import gtk print gtk.gtk_version Frédéric ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] Font problem again

2006-04-05 Thread Tom Cato Amundsen
I have attached a 40 line example that show a problem I'm experiencing, and a work-around that make my code work. Download the font http:/tcamundsen.net/feta18.ttf and place it in ~/.fonts I didn't include it in this email because of its size. Run the script, and see an empty 200x200 px window.

[pygtk] py2exe...

2006-04-05 Thread John Pye
Hi all, There seems to be a bug with using py2exe to package up a PyGTK application. I get the following error when running the .exe that py2exe generates: G:\pygtkexample\disthelloworld.exe Traceback (most recent call last): File helloworld.py, line 2, in ? File pygtk.pyc, line 73, in

[pygtk] textbuffers and iters

2006-04-05 Thread Ashi
hello, i have some problem working with textubffers as folows...GtkWarning: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created. You must use marks, character numbers, or line numbers