Re: [gtkmm] Treeview help needed



You have to connect some callbacks indeed. take a look at
Gtk::TreeViewColumn::signal_clicked()


Maybe you can help me the last time before I go to bed:
(you were of great help, anyway)

What is my Gtk::TreeViewColumn?

m_tree_view.m_columns.m_col_active is not correct ...



	// Tree model columns:
 	class ModelColumnsTAB : public Gtk::TreeModel::ColumnRecord
 	{
 	public:
 	  ModelColumnsTAB()
 	  {
 		add(m_col_active);
 		add(m_col_type);
 		add(m_col_id);
 		add(m_col_elements);
 		add(m_col_description);
 	  }
 	  Gtk::TreeModelColumn<Glib::ustring> m_col_active;
 	  Gtk::TreeModelColumn<Glib::ustring> m_col_type;
 	  Gtk::TreeModelColumn<Glib::ustring> m_col_id;
 	  Gtk::TreeModelColumn<Glib::ustring> m_col_elements;
 	  Gtk::TreeModelColumn<Glib::ustring> m_col_description;
 	};
 	const ModelColumnsTAB m_columns;




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]