Lennon Cook wrote:
Is there a way to set the dimensions of a TextView in units of
characters wide, and lines high?

Eh, what is the 'unit of characters wide' with a proportional font?

For a fixed font, take any character, query its width and height, and multiply by the desired number of lines and characters seems to be the easiest solution.

Albert

_______________________________________________
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/

Reply via email to