[pygtk] Bold-Face line in a TreeView with glib2.10
Nemesis
nemesis2001 at gmx.it
Sat May 27 21:26:18 WST 2006
Hi all,
I'm experimenting a strange behaviour with newer gtk release (the ones
with glib >2.10).
I need to set some lines in a treeview in bold-face and some not. So I
set the textrenderer property "weight" to pango.FONT_WEIGHT and the I
use row by row the property "weight-set" to select wich row must be
in bold face.
This approach is not working with newer gtk releases, the bold face is
not set, if there is at least one row with the property "weight-set"
set to False.
I read that Sylpheed-Claws had the same problem and they fixed it by
setting row by row the weight property. I could fix my application in
the same way but I'd like to know if this is a GTK bug or I'm using in
the wrong way the "weight" and "weight-set" properties.
What do you think?
--
|\ | |HomePage : http://nem01.altervista.org
| \|emesis |XPN (my nr): http://xpn.altervista.org
More information about the pygtk
mailing list