[pygtk] Pango and Attributes: system crash.

John Finlay finlay at moeraki.com
Fri Dec 16 01:28:28 WST 2005


Alan Franzoni wrote:

>Hello, I'd like you to try this code:
>
>#begin pangocrash.py
>import pygtk
>pygtk.require('2.0')
>import gtk
>import pango
>
>a=gtk.Label(str='Test')
>
>bold=pango.AttrList()
>bold.insert(pango.AttrWeight(pango.WEIGHT_BOLD,0,-1))
>  
>
the start and end indexes must be >= 0

Please file a bug report.

John


More information about the pygtk mailing list