Re: Sort a treeview by program
- From: Kjell Ahlstedt <kjell ahlstedt bredband net>
- To: Jacob Georg Benz <post hauslandbibliothek de>
- Cc: gtkmm-list gnome org
- Subject: Re: Sort a treeview by program
- Date: Mon, 02 May 2011 20:30:59 +0200
I have not used this myself, so I'm not 100% sure it will work, but you
can try using Gtk::TreeView::Column::clicked(). (Or the equivalent
Gtk::TreeViewColumn::clicked().) I think it will have the same effect as
a user clicking the header.
There is also the sorting TreeModel, Gtk::TreeModelSort, described in
the Gtkmm tutorial that you linked to in your question.
Kjell
fre 2011-04-29 klockan 22:16 +0200 skrev Jacob Georg Benz:
> Hello everybody
>
> I have treeview, to which I have add a sort option like it is described here:
> http://developer.gnome.org/gtkmm-tutorial/2.24/sec-treeview-sort.html.en
>
> This does function really well, but the sort process has to be started by the
> user, clicking on the treeview-header. My querstion ist now, if there is any
> command to start the sorting by code line.
>
> Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]