зеркало из https://github.com/mono/mail-archives.git
112 строки
4.6 KiB
HTML
112 строки
4.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] Visual studio claims TreeView.SetCellDataFunc deprecated??
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Visual%20studio%20claims%20TreeView.SetCellDataFunc%0A%20deprecated%3F%3F&In-Reply-To=1235052422.11748.10.camel%40linux-teg2.site">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="009435.html">
|
|
<LINK REL="Next" HREF="009447.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] Visual studio claims TreeView.SetCellDataFunc deprecated??</H1>
|
|
<B>dabatla</B>
|
|
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Visual%20studio%20claims%20TreeView.SetCellDataFunc%0A%20deprecated%3F%3F&In-Reply-To=1235052422.11748.10.camel%40linux-teg2.site"
|
|
TITLE="[Gtk-sharp-list] Visual studio claims TreeView.SetCellDataFunc deprecated??">dabatla at gmail.com
|
|
</A><BR>
|
|
<I>Fri Feb 20 04:33:22 EST 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="009435.html">[Gtk-sharp-list] Visual studio claims TreeView.SetCellDataFunc deprecated??
|
|
</A></li>
|
|
<LI>Next message: <A HREF="009447.html">[Gtk-sharp-list] different color rows for GtkTreeView
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#9436">[ date ]</a>
|
|
<a href="thread.html#9436">[ thread ]</a>
|
|
<a href="subject.html#9436">[ subject ]</a>
|
|
<a href="author.html#9436">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>
|
|
|
|
|
|
Mike Kestner-4 wrote:
|
|
><i>
|
|
</I>><i> On Wed, 2009-02-18 at 23:44 -0800, dabatla wrote:
|
|
</I>>><i> Hi there, I'm using TreeView.SetCellDataFunc(...) quite extensively in my
|
|
</I>>><i> code to do my data bindings, but I just noticed that VS claims that the
|
|
</I>>><i> method is deprected? Is this true? I couldn't find any mention of it in
|
|
</I>>><i> the
|
|
</I>>><i> mono docs?
|
|
</I>><i>
|
|
</I>><i> [Obsolete ("Replaced by SetCellDataFunc (CellRenderer, TreeCellDataFunc)
|
|
</I>><i> overload")]
|
|
</I>><i> public void SetCellDataFunc (Gtk.CellRenderer cell_renderer,
|
|
</I>><i> Gtk.TreeCellDataFunc func, IntPtr func_data, Gtk.DestroyNotify destroy)
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i> I assume you mean this method on TreeViewColumn. That's the only
|
|
</I>><i> deprecated overload I can find. I'm surprised VS doesn't report the
|
|
</I>><i> "Replaced by" message we've included. We deprecated this overload since
|
|
</I>><i> it exposes the func_data and destroy notification delegate which are C
|
|
</I>><i> persistence mechanisms which we can handle automatically in C#.
|
|
</I>><i>
|
|
</I>><i> --
|
|
</I>><i> Mike Kestner <<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">mkestner at gmail.com</A>>
|
|
</I>><i>
|
|
</I>><i> _______________________________________________
|
|
</I>><i> Gtk-sharp-list maillist - <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">Gtk-sharp-list at lists.ximian.com</A>
|
|
</I>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>
|
|
Yes, I did mean TreeViewColumn, sorry about that....
|
|
I think VS just doesn't have a proper mechanism to indicate that it was
|
|
replaces by a overload.
|
|
Thanks, that clarifies things.
|
|
|
|
--
|
|
View this message in context: <A HREF="http://www.nabble.com/Visual-studio-claims-TreeView.SetCellDataFunc-deprecated---tp22095409p22117535.html">http://www.nabble.com/Visual-studio-claims-TreeView.SetCellDataFunc-deprecated---tp22095409p22117535.html</A>
|
|
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
|
|
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="009435.html">[Gtk-sharp-list] Visual studio claims TreeView.SetCellDataFunc deprecated??
|
|
</A></li>
|
|
<LI>Next message: <A HREF="009447.html">[Gtk-sharp-list] different color rows for GtkTreeView
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#9436">[ date ]</a>
|
|
<a href="thread.html#9436">[ thread ]</a>
|
|
<a href="subject.html#9436">[ subject ]</a>
|
|
<a href="author.html#9436">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
|
|
mailing list</a><br>
|
|
</body></html>
|