I h开发者_如何学运维ave been looking for weeks for a way to do this:
Screenshot http://img229.imageshack.us/img229/2430/screenshoteor.png
I am working on a music player, and would like something like this:
Library > Music (6) Videos (2) Playlists > new playlist...
And so on. I am using mono and gtk#. I can't find a tutorial or anything, if someone could help me find one or give me an example that would be nice. Thanks!
You've to use the gtk treeview. This is the tutorial: http://www.mono-project.com/GtkSharp_TreeView_Tutorial
Bye
Since you're looking for an example, you might want to look at how Banshee (a music player written with Gtk#) does things. From a quick glance, it looks like this is the sidebar, but don't quote me on that.
精彩评论