[JdeRobot] Treeview gtkmm problem
s.rey
samuel.rey.escudero at gmail.com
Wed Sep 23 21:28:59 CEST 2015
Hello,
I'm trying to add a third column to the TreeView of visualHFSM but I have
this problem:
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;
};
ModelColumns m_Columns;
The thing is that when I discomment that two lines (the ones that represent
the third column I want to add later), I get a Segmentation fault (core
dumped) and I don't understand why.
When I comment those lines then I don't have any execution problem, and I
rather lost thinking why can that happen.
Thanks for the help :)
--
View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/Treeview-gtkmm-problem-tp4642757.html
Sent from the Jderobot Developer List mailing list archive at Nabble.com.
More information about the Jde-developers
mailing list