Re: Treeview, different Cell-render per row

2010-07-10 Thread Arne Pagel
Tadej Borovšak schrieb: Hi. My other Idea was to make a new column for the GtkCellRendererToggle, and just show it when needed. Is it possible to hide a one of the renderer? This is how I would do this. Just add one gboolean column to your data store and connect it to cell renderer's visible

Re: Treeview, different Cell-render per row

2010-07-10 Thread Tristan Van Berkom
On Sat, Jul 10, 2010 at 2:19 AM, Arne Pagel a...@pagelnet.de wrote: Tadej Borovšak schrieb: Hi. My other Idea was to make a new column for the GtkCellRendererToggle, and just show it when needed. Is it possible to hide a one of the renderer? This is how I would do this. Just add one

Treeview, different Cell-render per row

2010-07-06 Thread Arne Pagel
Hallo, I have a simple treeview, with three columns, all with GtkCellRendererText. Now I want, in some special row's, a GtkCellRendererToggle, is this possible? Do I have to write a custom renderer, in which I call the RendererText or the RendererToggle? My other Idea was to make a new

Re: Treeview, different Cell-render per row

2010-07-06 Thread Tadej Borovšak
Hi. My other Idea was to make a new column for the GtkCellRendererToggle, and just show it when needed. Is it possible to hide a one of the renderer? This is how I would do this. Just add one gboolean column to your data store and connect it to cell renderer's visible property. Tadej --