强制NSOpenPanel视图选项(Forcing the NSOpenPanel View Option)
是否可以强制甚至限制openPanel的视图选项? 例如,我希望openPanel仅在激活时显示Cover flow视图或Icon视图。 如果无法限制 - 如何设置默认视图?
谢谢。
- 保罗。
Is it possible to force or maybe even restrict the view option of an openPanel? For example I want the openPanel to only display the Cover flow view or Icon view upon activation. If restriction is not possible - how can I set the default view?
Thanks.
-paul.
最满意答案
遗憾的是,NSSavePanel和NSOpenPanel都没有此类API,您可以考虑在http://bugreport.apple.com上提交增强请求。
Unfortunately, there is no such API available in NSSavePanel nor NSOpenPanel, you may want to consider filing an enhancement request at http://bugreport.apple.com
更多推荐
发布评论