【发布时间】:2009-12-22 00:56:24
【问题描述】:
我需要以编程方式模拟 Cocoa 按钮上的按钮按下,我试图在 cocotron 上执行此操作,不幸的是它没有 NSEvent 方法:mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure : 实施的。无论如何以编程方式模拟按钮按下而不必创建事件?
【问题讨论】:
标签: windows cocoa nsbutton cocotron