2007/4/9, Adam Tauno Williams <[EMAIL PROTECTED]>: > column = new Gtk.TreeViewColumn (); > column.Title = "Object Id"; > cell = new Gtk.CellRendererText (); > column.SetCellDataFunc(cell, new Gtk.TreeCellDataFunc(RenderObjectId)); > column.PackStart(cell, true); > toDoView.AppendColumn(column);
Hi Adam, You need add the CellRenderer to the column before you can set the CellDataFunc: column.PackStart(cell, true); column.SetCellDataFunc(cell, new Gtk.TreeCellDataFunc(RenderObjectId)); _______________________________________________ Gtk-sharp-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
