Playbook 视图上的选项菜单
如何在 Playbook 视图上制作选项菜单?是否有标准 API 可以做到这一点,我正在使用 Air SDK
How to make option menu on Playbook view? Is there standard APIs to do that, I am using Air SDK
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在尝试 AIR 时找不到 API,但我找到了解决方法。
基本上,我在 QNXApplication 中注册了触摸事件,并使用 Tweener 手动显示和隐藏我的菜单。
假设您将菜单作为视图,那么您可以执行以下操作:
这是我记得的非常简单的示例(不再有代码),但是对此函数和对象的一些谷歌搜索可能会帮助您如果退出,则在没有 API 的情况下实现应用程序菜单。
如果您发现其他方法,请在此发布以供参考。
I couldn't find the API at the time I was experimenting with AIR, but I found a work around.
Basically I registered for touch events in QNXApplication and was manually showing and hiding my menu with the use of the Tweener.
Suppose you have you menu as a view than you could do the following:
This is very simple example that I can remember (don't have the code anymore), but a bit of google-ing on this functions and objects might help you to implement the application menu without the API if it exits.
If you find another way of doing it, please post it here for reference.