[Gtk-sharp-list] Sorting a TreeView by clicking the headers

Christian Ziegner cziegner@web.de
Wed, 30 Jun 2004 23:07:36 +0200

Hi there,

i've got a question regarding the widget GtkTreeView. I simply want to
alphabetically sort a tree (or a list, doesn't matter...) with two
columns by clicking at the headers of the TreeView. The only i have
found out yet is the attribute TreeView.HeadersClickable. Setting this
to true doesn't do anything, apparently. Does anyone here know how to
implement this feature? The GUI was created using Glade and i couldn`t
find any signals corresponding to this functionality, nor do i know how
to adress the headers of the column as they are not an own widget. Many
thanks in advance!