[pygtk] draw_text (without pango)

Zoltán Kovács kovzol at gmail.com
Mon Oct 23 23:36:38 WST 2006


Funny answer. Thank you, Albert, you made me laugh! :-)

An alternative solution may be to do some pre-processing and chop your
> string
> into smaller pieces, and draw each string seperately (and not drawing text
> which is completely outside the window).


I chose this alternative and it works now nicely.

The modified source is available on
http://wmi.math.u-szeged.hu/~kovzol/bottom2.py<http://wmi.math.u-szeged.hu/=
%7Ekovzol/bottom2.py>.
I'd like to contribute the final version of this code (with comments, of
course) for pygtk, if you also like it.

Regards, Zoltan

-- =

Kov=E1cs Zolt=E1n, http://particio.com/~kovzol <http://particio.com/%7Ekovz=
ol>
Part=EDci=F3 - Linux tanfolyamok, linuxos megold=E1sok
--------- k=F6vetkez=F5 r=E9sz ---------
Egy csatolt HTML ?llom?ny ?t lett konvert?lva...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20061023/9c6f05f9/at=
tachment.htm


More information about the pygtk mailing list