[Gtk-sharp-list] ListStore/TreeView-question

Viktor Stansvik vstansvik@home.se
Mon, 07 Jun 2004 20:57:03 +0200


mån 2004-06-07 klockan 16.44 skrev Mike Kestner:
> On Sun, 2004-06-06 at 15:01, Viktor Stansvik wrote:
> 
> > What I want to do is to make the rows representing
> > programs that have already been showed to render differently (ie thinner
> > font, non-active toggle-button etc).
> > 
> > Can anyone please point me in the Right Direction (tm)?
> 
> You probably want to add another column to your TreeModel to expose the
> font weight for that row and bind that column to the appropriate
> attribute on the Text renderers, etc.
> 
> Mike
Thanks! Your answer made me learn how one really uses the AppendColumn()
method (I hadn't realized that one can tie CellRenderer properties to
the values in a list store column.

Viktor