RE: Comboxbox inside a TreeView



On Thu, 2005-02-03 at 09:38 +0100, Laurent Marzullo wrote:
> First, I've made an error. I'm using gtkmm-2.4.8 (and not 2.6)

The CellRendererCombo is only in 2.6. It will be much more difficult,
and not so good, in 2.4.

There is an example of the difficult way in 2.4 in
examples/cellrenderercustom.

[snip]

> > 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
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
-- 
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]