diff --git a/doc/en/Gtk/ComboBox.xml b/doc/en/Gtk/ComboBox.xml index 6bc5c80e1..b52fb0091 100644 --- a/doc/en/Gtk/ComboBox.xml +++ b/doc/en/Gtk/ComboBox.xml @@ -416,7 +416,23 @@ class ComboBoxSample Default constructor - + + + +Gtk.ComboBox cb = new ComboBox(); +cb.Clear(); +CellRendererText cell = new CellRendererText(); +cb.PackStart(cell, false); +cb.AddAttribute(cell, "text", 0); +ListStore store = new ListStore(typeof (string)); +cb.Model = store; + +store.AppendValues ("Hello"); +store.AppendValues ("Gtk"); +store.AppendValues ("ComboBox"); + + +