Re: GtkTreeView: how to change font/color
- From: "James M. Cape" <jcape ignore-your tv>
- To: Romain Lievin <rlievin free fr>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView: how to change font/color
- Date: 03 Dec 2002 21:33:07 -0600
On Sat, 2002-06-29 at 02:45, Romain Lievin wrote:
Hi,
I have migrated to GTK2.0 but I don't manage to change the color and/or the
font of some lines in a GtkTreeView.
You can use gtk_tree_view_column_set_cell_data_func
to set the foreground, foreground-gdk, font, weight, style, etc.
properties of a cell in that row based on the contents of the tree
model.
More in the API docs @
http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func
Peace,
Jim Cape
http://ignore-your.tv
"Solidarity, mutual aid, collective liberation, autonomy,
empowerment, anti-hierarchy, anti-oppression, diversity,
creativity--these are the social values I think of when
I hear the word anarchy."
-- http://www.infoshop.org/rants/solstice_reflections.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]