[JdeRobot] Treeview gtkmm problem

s.rey samuel.rey.escudero at gmail.com
Thu Sep 24 01:34:48 CEST 2015


Now I am even more lost....

I have my ColumModel class:

class ModelColumns : public Gtk::TreeModel::ColumnRecord{
	public:
		ModelColumns () {
			add(m_col_id);
			add(m_col_name);
			add(m_col_color);
		}
		Gtk::TreeModelColumn<int> m_col_id;
		Gtk::TreeModelColumn<Glib::ustring> m_col_name;
		Gtk::TreeModelColumn<Glib::ustring> m_col_color;
	};
And my object ModelColumns m_Columns;

And I still get the same core fault error, BUT, if I create another object
from ModelColymns:

ModelColumns m_Columns2;     //I don't use this object

Then I don't know why but it works! Do anybody why could this be?

Thanks.



--
View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/Treeview-gtkmm-problem-tp4642757p4642758.html
Sent from the Jderobot Developer List mailing list archive at Nabble.com.


More information about the Jde-developers mailing list