How do I link a menu item to 'any' method in my WindowController?
How do I link a menu item to 'any' method in my WindowController?
- Subject: How do I link a menu item to 'any' method in my WindowController?
- From: Gerben Wierda <email@hidden>
- Date: Fri, 8 Mar 2002 13:22:50 +0100
Document Based Application:
Menu items go through 'first responder' and when I want to link a menu
item to a target method I can do that with IB. Say for instance, the
clear: method.
But what if I need to connect a menu item to a method that is not
already defined when I look at the possible targets when I connect the
menu item? Say, I want to connect a menu item to my window controller's
foo:(id)sender method? How do I do that?
Thanks,
G
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.