在NSTableView中添加页脚 [英] Adding footer in NSTableView

查看:101
本文介绍了在NSTableView中添加页脚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Mac开发Cocoa应用程序.在应用程序中,我必须向表中添加页脚,以添加和删除行,如附件中的图像所示:

I'm developing a Cocoa application for Mac. In the application, I have to add a footer to a table for adding and deleting rows like in the attached image:

是否存在此类页脚视图的默认控件? 如果没有这样的默认控件,则必须使用该图像.

Is there any default controls present for such type of footer view? If there is no such default control, I have to use the image.

推荐答案

没有此类默认控件.您可以创建像这样的自定义控件,也可以通过拍摄图像和两个按钮来获得这种效果.

There is no such default control. you can create a custom control like this or you can get this effect by taking a image and two buttons.

这篇关于在NSTableView中添加页脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆