On Tue, 2007-05-29 at 14:37 +0200, Jef Driesen wrote:
Jef Driesen wrote:
I have a treeview that can be sorted by the user by clicking on the
column headers. But how do I sort the treeview from code? When the
application exits, I want to remember which column was sorted (and the
sort direction) and restore them when the application is started again.
Have a look at
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeSortable.html
Gtk::ListStore and Gtk::TreeStore both inherit from TreeSortable