[Gtk-sharp-list] Re: [MonoDevelop] VfsNodeView

Todd Berman tberman at off.net
Wed Sep 28 03:22:52 EDT 2005


On Wed, 2005-09-28 at 09:16 +0200, Jeroen Zwartepoorte wrote: 
> Hey guys,
> 
> I've written a little widget that creates a custom Gtk.TreeView that
> displays the same folders/drives/volumes as the FileChooser. See the
> attached code & screenshot. Feel free to use the code in other
> projects.
> 


Ooooh, hell of a sshot jeroen :). I dig the new clearlooks theme :).

> The code isn't bug free. Atm it crashes when you try to access the CD
> drive when there's no volume mounted. I plan to fix this real soon.
> This is also a good example on how to "lazy load" he nodes in a
> treeview.

Out of curiosity, why didn't you use the NodeBuilder and TreeViewPad
APIs?

If there are problems with the api exposed there, We would like to know
about it and get it fixed. And it would be nice if all of the TreeViews
in MD start using this API, as it really is very nice, especially
because of how it allows extension points relatively easily.

I understand that that would make it less portable for all to use, but
for inclusion into MD, I somewhat see it as a must.

--Todd



More information about the Gtk-sharp-list mailing list