How to store a list of strings in Gtk::TreeModelColumn?
- From: Igor Gorbounov <igorbounov topazelectro ru>
- To: GTKMM Lists <gtkmm-list gnome org>
- Subject: How to store a list of strings in Gtk::TreeModelColumn?
- Date: Thu, 27 Apr 2006 09:29:01 +0400
Hi!
I'm trying to store a list of strings in a TreeView cells
in a way like this:
Gtk::TreeModelColumn<std::vector<Glib::ustring> > list_of_values.
I need this list of values for futher filling combocellrenderers with them.
I fill this column cells this way:
((std::vector<Glib::ustring> >)(row[treemodel.list_of_values])).push_back("first");
and so on.
Nevertheless, ((std::vector<Glib::ustring> >)(row[treemodel.list_of_values])).size()
returns 0.
What I do wrong?
Any hint is needed.
Igor Gorbounov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]