自定义窗口标题 +工具栏(例如 Mac App Store 和 Reeder for Mac)

发布于 2024-10-07 13:21:17 字数 213 浏览 0 评论 0原文

我试图弄清楚如何创建“新流行”组合窗口标题和工具栏,如 Reeder for Mac 和 Mac App Store (http://www.apple.com/mac/app-store/) 中所示。尝试过谷歌搜索,但这似乎不是一个经常讨论的话题!

基本上;它是一个带有自定义视图的无边框窗口(在这种情况下,我如何获得工作的交通灯按钮)?或者可以用 Interface Builder 来做吗?

I'm trying to figure out how to create the "new popular" combined window title and toolbar as seen in Reeder for Mac and Mac App Store (http://www.apple.com/mac/app-store/). Tried googling but this does not seem to be a very discussed topic!

Basically; is it a borderless window with custom views all the way (and in such case, how do I get working traffic-light buttons)? Or is it possible to do with Interface Builder?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

谁许谁一生繁华 2024-10-14 13:21:17

class-dumping Reeder 揭示了窗口标题栏实际上只是一个视图(所以是的,带有自定义视图的无边框窗口 - 底部栏也是一个视图)。我假设苹果也会做同样的事情,但谁知道呢?也许这种行为会在 10.7 中变得更加标准并获得官方支持?

class-dumping Reeder reveals that the window title bar is, in fact, just a view (so yes, borderless window with custom views - the bottom bar is a view as well). I'm assuming Apple does the same thing, but who knows? Maybe this behavior will become more standard in 10.7 and gain official support?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文