NSPopUpButton + Bindings + Show All Option

扶醉桌前 提交于 2019-11-30 23:31:19

sounds to me like you're looking for the NSContentPlacementTagBindingOption.

you edit the NSMenu that's attached to the NSPopupButton as follows

you then edit the settings on the NSMenuItem you want to have replaced with your array controller contents so that it has a meaningful tag associated with it

you then specify that tag as the content placement tag value on the NSPopupButton's bindings for the content/content* bindings.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!