Re: Comboxbox inside a TreeView



On Mon, 2005-01-31 at 15:37 +0100, Laurent Marzullo wrote:
> Hello,
> 
> I'm trying to find documentation explaining how to edit a cell inside
> a TreeView as a Combobox in gtkmm-2.6 ?
> 
> Is there anyone who has already done this and could give me an example ?

There is an example already in examples/book/treeview/combo_renderer/

> I also want to add a pixbuf. I saw a CellRendererPixbuf but how may I use it
> to display a boolean column (true = one pixbuf and false another pixbuf)?

You might use set_cell_data_func() .

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]