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

Raśl Moratalla raul.moratalla@ono.com
Wed, 28 Jul 2004 17:51:23 +0200


Hi, I had the same problem nad I would like how to solve it :(

Cheers,

Raul

> 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!
> 
> Greetings,
> Chris