简体   繁体   English

Mail.app就像源列表页脚一样

[英]Mail.app like source list footer

Is there a built in way to create a Mail like footer for a source list in a Mac app? 是否有内置的方法为Mac应用程序中的源列表创建类似于页脚的邮件?

Mail.app源列表页脚

Nothing explicit that I can think of. 没有任何明确的我能想到的。

You'll have to either subclass NSView to draw a footer (via drawRect: ) or have a subview that hangs onto the bottom edge of the parent view. 你必须要么子类NSView来绘制一个页脚(通过drawRect:或者有一个子视图挂在父视图的底边。 Then you can add in buttons with images or pop-down menus, like NSPopupButton . 然后,您可以添加带图像或弹出菜单的按钮,如NSPopupButton

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM