2

I have 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!

Josh
  • 10,711
  • 11
  • 62
  • 103
awhite92
  • 85
  • 5

2 Answers2

3

You've to use the gtk treeview. This is the tutorial: http://www.mono-project.com/GtkSharp_TreeView_Tutorial

Bye

stighy
  • 7,395
  • 22
  • 82
  • 147
1

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.

Matthew
  • 25,652
  • 26
  • 93
  • 158