#include "view_info.h" view_info::view_info():Gtk::Box(Gtk::ORIENTATION_VERTICAL), b_remove("remove") { this->m_refTreeModel = Gtk::ListStore::create(this->m_Columns); this->tree.set_model(this->m_refTreeModel); tree.append_column("name", m_Columns.r_name); tree.append_column("date", m_Columns.r_date); tree.append_column("config", m_Columns.r_config); tree.append_column("user", m_Columns.r_user); this->add(this->tree); this->b_box.add(this->b_remove); this->add(this->b_box); } void view_info::restart_table(){ this->m_refTreeModel = Gtk::ListStore::create(this->m_Columns); this->tree.set_model(this->m_refTreeModel); }