Re: TreeViewColumn sorting capabilities
- From: Matthias Kaeppler <nospam digitalraid com>
- To: gtkmm-list gnome org
- Subject: Re: TreeViewColumn sorting capabilities
- Date: Mon, 21 Feb 2005 12:13:13 +0100
Matthias Kaeppler wrote:
I also don't really understand what all the functions are doing
(documentation is somewhat lacking). What do e.g.
1. set_sort_column
2. set_sort_column_id
do?
Add this question:
I am using ListStore and TreeView. Now where is the difference if I sort
the data using ListStore's model columns or TreeView's view columns?
Both implement the sorting functions.
E.g.:
Gtk::TreeViewColumn *pcol = m_view.get_column(0);
pcol->set_sort_column_id( m_columns.col_name );
pcol->set_sort_order( Gtk::SORT_ASCENDING );
versus:
m_model->set_sort_column_id( m_columns.col_name, Gtk::SORT_ASCENDING );
--
Matthias Kaeppler
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]