Gtk::ComboBox
- From: Alexander <rope-walker yandex ru>
- To: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Gtk::ComboBox
- Date: Wed, 01 Feb 2006 16:02:23 +0200
Please elp with using Gtk::ComboBox;
I do such in TreeView:
refptrliststore = Gtk::ListStore::create(tablemodel);
combobox.set_model(refptrliststore);
Gtk::TreeModel::iterator iter = refptrliststore->append();
Gtk::TreeModel::Row row = *(iter);
row[tablemodel.column1] = 1;
row[tablemodel.column2] = "asdfasdas";
but after that there is no data, but only clear rows.
In TreeView i use append_column() metod. What i have to use
to add columns to ComboBox.
Maybe you get some example?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]