Alan Franzoni wrote:

John Finlay on gmane.comp.gnome.gtk+.python said:
the start and end indexes must be >= 0

Please file a bug report.

I will, but:

1) I found this kind of example in the PyGTK FAQ:
http://www.async.com.br/faq/pygtk/index.py?req=all#7.8

And I thought it were OK - -1 would just mean the attribute list would
apply on the whole label.

2) The app crashes anyway, even using values end_index > start_index > 0.

The program runs OK on my system if:

k=a.get_attributes().get_iterator()

is changed to:

aa=a.get_attributes()
k=aa.get_iterator()

John


_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to