Hi, I am using the following method to modify color on a cell of a treeview: tvcolumn = gtk.TreeViewColumn(title,cell,text=indx,background=col) where col contains the color name to be used as 'red', 'green', ... It works fine.
However, colors of my application are coming from gtk.ColorButton(). Thus I get colours defined by r,g,b. then 3 values I see 2 possibilities: 1- I convert my r,g,b definition into a colour name 2- the interface of gtk.TreeViewColumn allows to specify a column with r,g,b definition. For the time being, I have no idea to do one or the other. Thanks -- View this message in context: http://www.nabble.com/convert-r%2Cg%2Cb-color-definition-is-a-color-name-tf4678103.html#a13366348 Sent from the Gtk+ - Python mailing list archive at Nabble.com. _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
