Message-ID: From: "Bauer, Christoph" To: "'Olivier Andrieu'" , Christoph Bauer Cc: lablgtk at kaba.or.jp Subject: AW: Lablgtk under windows Date: Fri, 26 Mar 2004 11:14:30 +0100 MIME-Version: 1.0 Content-Type: text/plain Hi Olivier, > Add a boolean column in the model, indicating which of your > files are cached. Then you connect this to a renderer property : > > let renderer = GTree.cell_renderer_text [ `CELL_BACKGROUND > "green" ] in > let view_column = GTree.view_column ~title:"..." > ~renderer:(renderer, [ "text", file_name_column ; > "cell-background-set", > the_boolean_column ]) > () in > ... Thanks, that is exactly what I want! But I cannot compile my new code, because file_name_column has the type `string GTree.column' and the_boolean_column `bool GTree.column'. So the given list is invalid of course. What's wrong? Regards, Christoph