现在的位置: 首页 > 综合 > 正文

acceptsFirstMouse

2013年08月28日 ⁄ 综合 ⁄ 共 453字 ⁄ 字号 评论关闭

Override this method in a subclass to allow instances to respond to click-through. This allows the user to click on a view in an inactive window, activating the view with one click, instead of clicking first to make the window active and then clicking the view. Most view objects refuse a click-through attempt, so the event simply activates the window. Many control objects, however, such as instances of NSButton and NSSlider, do accept them, so the user can immediately manipulate the control without having to release the mouse button.

 

 

抱歉!评论已关闭.