如何使用 mono gtk 制作类似鹦鹉螺的侧边栏#
我几周来一直在寻找一种方法来做到这一点:
屏幕截图http://img229。 imageshack.us/img229/2430/screenshoteor.png
我正在开发音乐播放器,并且想要这样的东西:
Library > Music (6) Videos (2) Playlists > new playlist...
等等。我正在使用 mono 和 gtk#。我找不到教程或任何东西,如果有人可以帮助我找到一个或给我一个例子,那就太好了。谢谢!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您必须使用 gtk 树视图。
这是教程:http://www.mono-project.com/GtkSharp_TreeView_Tutorial
再见
You've to use the gtk treeview.
This is the tutorial: http://www.mono-project.com/GtkSharp_TreeView_Tutorial
Bye
既然您正在寻找示例,您可能想看看 Banshee (用 Gtk# 编写的音乐播放器)是如何做的事物。快速浏览一下,它看起来像 这是侧边栏,但不要引用我的内容。
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.