[pygtk] Enabling markup for a TreeViewColumn
735115 at gmail.com
Thu Mar 8 02:50:00 WST 2007
THANK YOU!!!! Yes, that did it. I did try setting only markup=3Dcolumn_id, =
didn't know to take the text=3Dcolumn_id out. I think I get it now -- you s=
either text if you want plain text or markup if you want Pango markup, and
you give it the column ID you want it to apply to. That's what I get for
copying and pasting without understanding what it was doing!
On 3/6/07, Kurt Symanzik <kurt at kbsymanzik.org> wrote:
> Bryant Huang wrote:
> > Hello,
> > I've spent the last 3 hours trying to figure out how to highlight text
> > in a TreeView cell. I found the example at
> > but have been unable to replicate the same behavior in my own project.
> I may have spoken too soon. You may also need to not use the text
> field. For example, change:
> column =3D gtk.TreeViewColumn(title, renderer, text=3Dcolumn_id, markup=
> to this:
> column =3D gtk.TreeViewColumn(title, renderer, markup=3Dcolumn_id)
> Hope that solves it.
> Kurt Symanzik
> kurt at kbsymanzik.org
> Skype id: ksymanzik
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pygtk