Re: a TreeModel that's sortable and filterable?
- From: "Juan A. Moreno" <jamf gm gmail com>
- To: "José Alburquerque" <jaalburquerque cox net>
- Cc: gtkmm-list gnome org
- Subject: Re: a TreeModel that's sortable and filterable?
- Date: Mon, 16 Jun 2008 08:29:28 +0200
The patched example work fine, but try to add this two lines and then make click in the id column:
for(guint i = 0; i < 2; i++)
{
Gtk::TreeView::Column* pColumn = m_TreeView.get_column(i);
pColumn->set_reorderable();
}
+ pColumn = m_TreeView.get_column(0);
+ pColumn->set_sort_column(m_Columns.m_col_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]