Re: treeview text
- From: Havoc Pennington <hp redhat com>
- To: Slyder <slyder earendel org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: treeview text
- Date: 23 Feb 2002 17:16:37 -0500
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]