[Gtk-sharp-list] ComboBox with two columns
Mex
meelis.lilbok at deltmar.ee
Thu Oct 16 06:50:58 EDT 2008
Hi Michael
hers my code
ListStore ls=new ListStore(typeof(int),typeof(string));
comLibraries.Model=ls;
CellRendererText cell=new CellRendererText();
comLibraries.PackStart(cell,true);
comLibraries.AddAttribute(cell,"text",1);
//Fill store from datareader
while(dr.Read()){
ls.AppendValues(dr.GetInt32(0),dr[1].ToString());
}
--
View this message in context: http://www.nabble.com/ComboBox-with-two-columns-tp19953369p20011217.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list
mailing list