On Thu, 2008-04-24 at 23:27 -0400, Karthik Ganesan wrote: > Hi, > Shouldn't ComboBox/ComboBoxEntry inherit from CellEditable : The > following program verifies it (dynamic casting to CellEditable returns > NULL pointers).
It should, but this would break ABI. GtkComboBox implements GtkCellEditable since GTK+ 2.6, and we cannot add the new base class without breaking ABI. > I was trying to grab the combo box instance used by CellRendererCombo in > the editing_started signal and get a NULL pointer. Any workarounds? You can bind the ComboBox to the signal handler, like void editing_started(Gtk::CellEditable* editable, const Glib::ustring& path, Gtk::ComboBox& box) { ... } crc.signal_editing_started().connect(sigc::bind(sigc::ptr_fun(&editing_started), sigc::ref(cb))); Armin _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list