OS X: where to show tooltips for menu items

孤者浪人 提交于 2019-12-08 03:45:39

问题


For Windows applications it is quite common to show verbose descriptions of menu items in the status bar if hovering over them. Where to show similar information in Mac applications?


回答1:


Most Mac apps I've used don't have menu item tool tips. But if they do, they're near the menu item, and usually not that verbose. You can provide the tool tip text at design time in the menu nib, or at run time by calling -[NSMenuItem setToolTip:], and the OS determines where to place the tool tip.



来源:https://stackoverflow.com/questions/3373777/os-x-where-to-show-tooltips-for-menu-items

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