On Wed, 2009-02-18 at 23:44 -0800, dabatla wrote:
> Hi there, I'm using TreeView.SetCellDataFunc(...) quite extensively in my
> code to do my data bindings, but I just noticed that VS claims that the
> method is deprected? Is this true? I couldn't find any mention of it in the
> mono docs?

[Obsolete ("Replaced by SetCellDataFunc (CellRenderer, TreeCellDataFunc)
overload")]
public void SetCellDataFunc (Gtk.CellRenderer cell_renderer,
Gtk.TreeCellDataFunc func, IntPtr func_data, Gtk.DestroyNotify destroy)


I assume you mean this method on TreeViewColumn.  That's the only
deprecated overload I can find.  I'm surprised VS doesn't report the
"Replaced by" message we've included.  We deprecated this overload since
it exposes the func_data and destroy notification delegate which are C
persistence mechanisms which we can handle automatically in C#.

-- 
Mike Kestner <[email protected]>

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to