Salut,

I am trying to initialize an IconView. In the MonoDevelop designer I added
the IconView iconView1 to the window and did not modify any properties. In
the code-behind file in the constructor I'm trying to initialize the
ListStore:

private Gtk.ListStore store;

public MainWindow(): base(Gtk.WindowType.Toplevel)
{
  Build();
  
  this.store = new ListStore(typeof(string), typeof(string),
typeof(string));
  this.store.AppendValues("1", "2", "3");
  this.iconview1.Model = this.store;
}

though, the IconView does not display anything. How to get a three columned
IconView to work?


Thanks in advance,

Stefan
-- 
View this message in context: 
http://www.nabble.com/Having-trouble-getting-IconView-to-work-tp18489782p18489782.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to