Re: Changing color for a peculiar GtkCellRendererText
- From: Allin Cottrell <cottrell wfu edu>
- To: Julien Portalier <julien portalier com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Changing color for a peculiar GtkCellRendererText
- Date: Sun, 28 Jul 2002 23:50:24 -0400 (EDT)
On Mon, 29 Jul 2002, Julien Portalier wrote:
But, i'd like to be able to change the foreground color whenever i want,
and not only during creation... the best way to achieve it would be to
change properties like above, but i can't find a way to get the
GtkCellRenderer Object for a peculiar cell ... something like :
---
cell = TreeView.get_Model().get_cell_renderer_text( iter, column )
cell.set_property( "foreground-set", gtk.TRUE )
cell.set_property( "foreground", "#ff0000" )
GList *gtk_tree_view_column_get_cell_renderers
(GtkTreeViewColumn *tree_column)
Get the relevant column first, then get its cell renderers.
Allin Cottrell.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]