On Thu, 4 Jan 2001, Edward Muller wrote:

> How do I figure out how big a string is going to be using a font?

Use the GdkFont.extents(string) method. Check the GdkFont class in
description.py (should be in /usr/doc/pygtk-xxx) for more info.  


Alexandre Fayolle
-- 
http://www.logilab.com 
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to