subclassing Gtk::CellRendererCombo
- From: Thomas Sailer <t sailer alumni ethz ch>
- To: gtkmm-list gnome org
- Subject: subclassing Gtk::CellRendererCombo
- Date: Tue, 13 Feb 2007 22:09:58 +0000
I'm trying to subclass Gtk::CellRendererCombo. If I use
Gtk::CellRendererCombo, everything works. If I use
LblPlacementCellRenderer, displaying values works, but editing doesn't.
start_editing_vfunc always returns 0.
class LblPlacementCellRenderer : public Gtk::CellRendererCombo {
public:
LblPlacementCellRenderer(void);
};
LblPlacementCellRenderer::LblPlacementCellRenderer( void )
: Glib::ObjectBase(typeid(LblPlacementCellRenderer)), Gtk::CellRendererCombo()
{
}
Subclassing Gtk::CellRendererText like this works for me.
I'm using an up-to-date Fedora Core 6:
$ rpm -q gtkmm24
gtkmm24-2.10.7-1.fc6
Does anyone know why this fails?
Thanks,
Tom
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]