AppKit控件的视觉指南? [英] Visual guide of AppKit controls?
问题描述
Mac OS/X AppKit中的控件是否有直观的指南?
Is there a visual guide to the controls in Mac OS/X AppKit?
例如,以下面的控件出现在XCode UI的不同位置为例:
Take, for instance, the following control that appears at different places in XCode UI:
我不知道是哪个AppKit控件.有什么想法吗?
I don't know which AppKit control is that. Any ideas?
推荐答案
它看起来像NSMatrix
中的一系列NSRadioButton
视图.您可以使用Accessibility Inspector来确定前者,后者将告诉您这些按钮属于可访问性类AXRadioButton
.您可以使用 f脚本确定后者. (您需要使用新的 10.7注入工作流程还没进入2.1.)
It looks like a series of NSRadioButton
views in an NSMatrix
. You can determine the former using Accessibility Inspector, which will tell you that these buttons are of the accessibility class AXRadioButton
. You can determine the latter using f-script. (You'll need the new 10.7 injection workflow that isn't in 2.1 yet.)
这篇关于AppKit控件的视觉指南?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!