Re: [gtkmm] How to use Gtk::TreeModelSort
- From: Murray Cumming <murrayc murrayc com>
- To: Samuel Abels <spam debain org>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] How to use Gtk::TreeModelSort
- Date: Sat, 10 Apr 2004 17:34:31 +0200
On Fri, 2004-04-09 at 21:04, Samuel Abels wrote:
> Hello,
>
> While trying to create a sorted TreeModel using this:
>
> Glib::RefPtr<Gtk::TreeModelSort> sortstore;
> store = Gtk::ListStore::create(columns);
> sortstore = Gtk::TreeModelSort::create(store);
>
> (complete code appended below)
>
> the error message is:
>
> ------------------
> filelist.cc: In constructor `GtkFileList::GtkFileList()':
> filelist.cc:31: error: incomplete type 'Gtk::TreeModelSort' cannot be used to
> name a scope
You need to #include <gtkmm/treemodelsort.h>. I guess it is not in
gtkmm.h.
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]