How to store a list of strings in Gtk::TreeModelColumn?



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]