Re: treeview text



Slyder <slyder earendel org> writes:
Is there a quick and easy way to make a G_TYPE_STRING column use
text markup? I'd like to make the text bold/italic for listings
as stuff changes in the program (for example make a field bold
if a flag is set).


Sure, look at the properties available on GtkCellRendererText.  If you
want the whole text bold/italic, using the "weight" and "style"
properties is better than using markup, it'll be faster. But there's
also a "markup" property.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]