[pygtk] Text buffer "text_tag" not working in pyGTK 2.10.1, but work in pyGTK 2.6.3
Ryan Martin
rmartin at ilm.com
Tue Mar 2 08:35:38 WST 2010
Hey Guys,
in making the switch to pyGTK 2.10.1, something broke my
application. The below code used to change the color of text inside a
buffer red, but it no longer works. I don't get an error, it simply
doesn't do anything. In fact, in my application, I had numerous
instances of text tags that used to work in 2.6.3, but fail now on 2.10.1.
colorRedTag = someBuffer.create_tag(foreground="#AB2D00")
colorRedTag.set_data("spell", word)
someBuffer.apply_tag(colorRedTag, someStartIter, someEndIter)
Any ideas what may have changed, or what I need to do to return to
normalcy?
Thanks
Ryan
--
Ryan Martin
*Industrial Light + Magic
*Assistant Technical Director
cell: 973-632-1417 / desk: 415-746-2117
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20100301/9ab9444b/attachment-0001.htm
More information about the pygtk
mailing list