[pygtk] Pango Markup in TreeStore

jakeackermann at gmail.com jakeackermann at gmail.com
Fri Jul 25 00:26:00 WST 2008


Thanks for the tip. But I think my problem is a bit more complicated. I 
packed both a cellrendererpixbuf and a cellrenderertext in the same 
column, with the pixbuf coming before the cellrenderertext. i was 
thinking I could just do this: col = gtk.TreeViewColumn('Column') 
col.set_expand(True) render_pixbuf = gtk.CellRendererPixbuf() 
col.pack_start(render_pixbuf, expand=False) 
col.add_attribute(render_pixbuf, 'pixbuf', 0) render_text = 
gtk.CellRendererText() render_text.set_property('size-points', 10) 
render_text.set_property('markup', 0) col.pack_start(render_text, 
expand=True) col.add_attribute(render_text, 'text', 1) just setting the 
markup property but this did not work. any tips. thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080724/c00cbbdb/attachment.htm 


More information about the pygtk mailing list