我期待着扩展我的 gtkmm 树视图列之一,这样它就可以使用所有剩余的空间,并缩小其他列......有什么办法可以做到这一点?
m_ScrolledWindow.add(m_TreeView);
m_ScrolledWindow.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
m_refTreeModel = Gtk::ListStore::create(m_Columns);
m_TreeView.set_model(m_refTreeModel);
m_TreeView.append_column("ID", m_Columns.m_col_id);
m_TreeView.append_column("Task", m_Columns.m_col_task);
/// I WANT TO EXPAND TASK COLUMN
m_TreeView.append_column("Time", m_Columns.m_col_time);
m_TreeView.append_column("Date", m_Columns.m_col_date);