refactor interface
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "view_info.h"
|
||||
|
||||
view_info::view_info()
|
||||
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);
|
||||
@@ -10,4 +11,11 @@ view_info::view_info()
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user