Hello.
I can't understand why Gtk::TreeModelColumn<float> can not be used
with append_column_editable();
I always get this error:
dialogWindow.cc:28: instantiated from here
/usr/include/gtkmm-2.0/gtkmm/treeview.h:1272: error: `const class
Glib::ustring' used where a floating point value was expected
/usr/include/gtkmm-2.0/gtkmm/treeview.h:1272: error: aggregate value
used where a float was expected
make: *** [dialogWindow.o] Error 1
//------------------------------------------------------------------
When Gtk::TreeModelColumn is of type <int> or <Glib::ustring>
everything goes fine.
Here is my code. Can anyone give me a hint?
....
class ModelColumnsMy : public Gtk::TreeModel::ColumnRecord
{
public:
ModelColumnsMy(){
add (col_ccena);
}
Gtk::TreeModelColumn<float> col_ccena;
};
....
listStore->append_column_editable ("Title", m_ColumnsMy.col_ccena);
//------------------------------------------------------------------
Thanks in advance!
--
Igor Jovanovic, PixelThorn Studios <www.pixelthorn.com>
--
Attachment:
signature.asc
Description: This is a digitally signed message part