[Gtk-sharp-list] Having trouble getting IconView to work

vbtricks vbtricks at gmx.net
Wed Jul 16 11:15:56 EDT 2008


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

private Gtk.ListStore store;

public MainWindow(): base(Gtk.WindowType.Toplevel)
  this.store = new ListStore(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,

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.

More information about the Gtk-sharp-list mailing list