I want to expose some Cocoa events to my RB application. Is there a
simple way to do this? For example, if I want to expose the mouseDown
event (just an example!), which is part of NSResponder, would I create
a totally new NSResponder subclass and put it into RB somehow?


@interface MyNSResponder : NSResponder
{
        //yada yada yada
}
@end

@implementation MyNSResponder
- (void)mouseDown:(NSEvent *)theEvent {
   //put REALGetEventInstance in here?
}
@end


I can only guess since I haven't seen any example code doing anything
like this. Any suggestions are welcome.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to