Re: [gtkmm] Any easy way to write a cell renderer with a combo box it it.



On Fre, 2003-01-10 at 02:05, ZHOU DX wrote:
> Hi everyone, 
> 
> Since Gtk::combo is neither a Gtk::CellEditable or
> Gtk::Editable, it is not straightforward to fit it
> into the Treeview interface as a cell renderer. I
> tried to write a new "editable" widget that wraps a
> combo, but it looks like I have to write a
> correponding widget_Class to declare the widget as
> editable which is really a pain.  
> Anyone knows a easy way to do that?

You have to implement your own cell renderer.  Luckily, it has already
been done: have a look at examples/cellrenderercustom/

--Daniel





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