设置背景图片NSToolbar [英] Set background image NSToolbar

查看:56
本文介绍了设置背景图片NSToolbar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 OS X 应用程序开发比较陌生,我想知道是否可以将背景图像放入 NSToolbar,例如在 Game Center.app 或 Calender.app(iCal.app) 中?我环顾四周,在这里或Google上找不到任何内容.在我看来,可能没有公共API,并且可能是私有的.我的应用程序不会提交到Apple的Mac App Store,因此我可以使用私有API(如有必要).如果有人知道API,我将不胜感激!非常感谢

I am relatively new to OS X app development and I'm wondering if it possible to put a background image to a NSToolbar, such as in Game Center.app or Calender.app(iCal.app)? I have looked around and can't find anything on here or on google. It occured to me that there might not be a public API and it might be private. My app will not be submitted to Apple's Mac App Store, so I am able to use private APIs(if necessary). If anybody knows the API, I would be more than grateful! Thank you so much

~ 困惑的 Mac 开发者

~ Confused Mac Developer

推荐答案

引用 AlteringTheAppearanceOfNSToolbar 链接.希望对您有帮助.

Refer AlteringTheAppearanceOfNSToolbar link. Hope helpful.

这篇关于设置背景图片NSToolbar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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