problem with treeview sorting
- From: Doug McLain <dougmclain cayf org>
- To: gtkmm <gtkmm-list gnome org>
- Subject: problem with treeview sorting
- Date: Fri, 18 Nov 2005 16:59:17 -0500
Using the code in examples/book/treeview/list, I added the following to
the constructor:
for(guint i = 0; i < 4; i++)
{
Gtk::TreeView::Column* pColumn = m_TreeView.get_column(i);
pColumn->set_reorderable();
pColumn->set_sort_column(i);
}
All columns sort correctly except for the column c reated with
append_column_numeric():
m_TreeView.append_column_numeric("Formatted number",
m_Columns.m_col_number, "%010d" /* 10 digits, using leading zeroes. */);
When clicking on this column, I get:
Gtk-WARNING **: Attempting to sort on invalid type glibmm__CustomBoxed_s
Doug
--
http://nostar.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]