开发者

How to find the window reference where a NSButton is located from its IBAction call? (Cocoa Objective-C)

How can I find the window re开发者_JAVA百科ference where the NSButton is located from its IBAction call ?


- (IBAction)someAction:(NSButton *)sender;
{
    NSWindow *theWindow = [sender window];
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜