зеркало из https://github.com/mono/mail-archives.git
116 строки
4.5 KiB
HTML
116 строки
4.5 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [Gtk-sharp-list] Re: [MonoDevelop] VfsNodeView
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Re%3A%20%5BMonoDevelop%5D%20VfsNodeView&In-Reply-To=2b11ca9005092800303a6f0198%40mail.gmail.com">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="006415.html">
|
||
|
<LINK REL="Next" HREF="006417.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[Gtk-sharp-list] Re: [MonoDevelop] VfsNodeView</H1>
|
||
|
<B>Todd Berman</B>
|
||
|
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Re%3A%20%5BMonoDevelop%5D%20VfsNodeView&In-Reply-To=2b11ca9005092800303a6f0198%40mail.gmail.com"
|
||
|
TITLE="[Gtk-sharp-list] Re: [MonoDevelop] VfsNodeView">tberman at off.net
|
||
|
</A><BR>
|
||
|
<I>Wed Sep 28 03:47:02 EDT 2005</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="006415.html">[Gtk-sharp-list] Re: [MonoDevelop] VfsNodeView
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="006417.html">[Gtk-sharp-list] Re: [MonoDevelop] VfsNodeView
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#6416">[ date ]</a>
|
||
|
<a href="thread.html#6416">[ thread ]</a>
|
||
|
<a href="subject.html#6416">[ subject ]</a>
|
||
|
<a href="author.html#6416">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE>On Wed, 2005-09-28 at 09:30 +0200, Jeroen Zwartepoorte wrote:
|
||
|
><i> Hey Todd,
|
||
|
</I>><i>
|
||
|
</I>><i> On 9/28/05, Todd Berman <<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">tberman at off.net</A>> wrote:
|
||
|
</I>><i> > Out of curiosity, why didn't you use the NodeBuilder and TreeViewPad
|
||
|
</I>><i> > APIs?
|
||
|
</I>><i>
|
||
|
</I>><i> First off, the widget *only* depends on Gtk# atm. It doesn't use any
|
||
|
</I>><i> MonoDevelop APIs. The idea is that you have an MD addin that embeds
|
||
|
</I>><i> this widget in a VBox and adds it to the main window using a DockItem
|
||
|
</I>><i> etc. So this widget can be used out-of-the-box in any Gtk#
|
||
|
</I>><i> application.
|
||
|
</I>
|
||
|
Absolutely understood.
|
||
|
|
||
|
><i>
|
||
|
</I>><i> Second, i have no idea that those APIs exist & what they're for :)
|
||
|
</I>><i> I'll take a look at them shortly.
|
||
|
</I>><i>
|
||
|
</I>><i> > If there are problems with the api exposed there, We would like to know
|
||
|
</I>><i> > about it and get it fixed. And it would be nice if all of the TreeViews
|
||
|
</I>><i> > in MD start using this API, as it really is very nice, especially
|
||
|
</I>><i> > because of how it allows extension points relatively easily.
|
||
|
</I>><i>
|
||
|
</I>><i> See above, my main "goal" is to have a widget that can be reused in
|
||
|
</I>><i> any Gtk# application, not just MD :)
|
||
|
</I>><i>
|
||
|
</I>><i> > I understand that that would make it less portable for all to use, but
|
||
|
</I>><i> > for inclusion into MD, I somewhat see it as a must.
|
||
|
</I>><i>
|
||
|
</I>><i> What does using the APIs you mention give you extra? I'd like to keep
|
||
|
</I>><i> the widget as generic as possible.
|
||
|
</I>
|
||
|
|
||
|
I could be wrong (strike that, probably wrong) but my understanding (and
|
||
|
lluis can explain better) is that it:
|
||
|
|
||
|
1) Easily allows for extensions, like if someone wanted to extend the
|
||
|
file-pad to show external servers over sftp or something, or add a new
|
||
|
right click menu option, etc.
|
||
|
|
||
|
2) Handles all of the lovely lazyloading for you. So a lot less code
|
||
|
duplication
|
||
|
|
||
|
3) Hooks easily into our Command structure, that would allow you to
|
||
|
redirect commands (Like cut, copy, or whatever) to your pad if it has
|
||
|
focus, and do the right thing.
|
||
|
|
||
|
|
||
|
Those are the 3 bigthings, there are prolly more, but in general it is
|
||
|
pretty cool, and people that have used it seem to enjoy it.
|
||
|
|
||
|
--Todd
|
||
|
|
||
|
</PRE>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!--endarticle-->
|
||
|
<HR>
|
||
|
<P><UL>
|
||
|
<!--threads-->
|
||
|
<LI>Previous message: <A HREF="006415.html">[Gtk-sharp-list] Re: [MonoDevelop] VfsNodeView
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="006417.html">[Gtk-sharp-list] Re: [MonoDevelop] VfsNodeView
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#6416">[ date ]</a>
|
||
|
<a href="thread.html#6416">[ thread ]</a>
|
||
|
<a href="subject.html#6416">[ subject ]</a>
|
||
|
<a href="author.html#6416">[ 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>
|