Re: Sort a treeview by program
- From: Jacob Georg Benz <post hauslandbibliothek de>
- To: gtkmm-list gnome org
- Subject: Re: Sort a treeview by program
- Date: Tue, 3 May 2011 18:22:29 +0200
Am Montag 02 Mai 2011, 20:30:59 schrieb Kjell Ahlstedt:
> 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.
Thank you, it works perfect, and is what I have searched.
> There is also the sorting TreeModel, Gtk::TreeModelSort, described in
> the Gtkmm tutorial that you linked to in your question.
Yeah, I know, but the TreeModelSort make ist more (and for me too ;))
complicate to get the original liststore in case of handling a selection.
Jacob
--
Bitte senden Sie mir keine Dateien in einem proprietären Dateiformat (z.B.
Microsoft Word, Excel) zu.
Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]