开发者

How can I make a nautilus-like sidebar using mono gtk#

开发者 https://www.devze.com 2023-01-19 18:29 出处:网络
I h开发者_如何学运维ave been looking for weeks for a way to do this: Screenshot http://img229.imageshack.us/img229/2430/screenshoteor.png

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号