Archive / / / / / / ComboBoxModel.cc
2008-10-06 11:18:27 UTC
previous next
/* Echo Media Player * Copyright (C) 2008 Shane O'Connell * * [ The original file includes a copyright header in this location describing * the file as being released under the terms of the GNU General Public * License. It has been removed in order to display the file as part of the * archive. ] */ #include "ComboBoxModel.h" ComboBoxModel::ComboBoxModel() : Glib::ObjectBase(typeid(ComboBoxModel)) { set_column_types(m_columns); iterator iter = append(); Row row = *iter; row[get_columns().name] = "test1"; iter = append(); row = *iter; row[get_columns().name] = "test2"; //iter->set_value(get_columns().name, "test"); //iter = append(); //iter->set_value(get_columns().name, "test2"); }