[Gtk-sharp-list] TreeView Row BackColor ...

László Monda mondalaci at gmail.com
Wed Nov 2 18:55:47 EST 2005


> I'm wondering how can I change the back colour of some row of a TreeView ...

Use a dedicated column in your TreeModel to to store the colors and map
them using TreeViewColumn.AddAttribute(CellRenderer, string, int) with
the "background_gdk" property.

I hope it's enought to start.

Ohhh, and read a lot of documentation, dude, because it's a complex
API ;)


    Blog: http://monda.hu/~laci/blog
    Home: http://mondalaci.objectis.net

More information about the Gtk-sharp-list mailing list