Re: Document specific menus in a multi document application
Re: Document specific menus in a multi document application
- Subject: Re: Document specific menus in a multi document application
- From: Phillip Hutchings <email@hidden>
- Date: Mon, 14 Oct 2002 09:03:12 +1300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday, Oct 14, 2002, at 03:08 Pacific/Auckland, Andreas Mayer wrote:
Am Sonntag, 13.10.02 um 11:23 Uhr schrieb Phillip Hutchings:
Is it possible to connect them in IB? Or do I have to create them in
PB?
You'll need to read about and understand the concept of 'first
responder'.
http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/
ProgrammingTopics/BasicEventHandling/Concepts/FirstResponder.html
Notice that you can connect to the first responder in InterfaceBuilder.
I understand the first responder, but my problem is linking the menu
items through to my NSWindowController subclass. As far as I can see,
first responder is the frontmost NSWindow, if it exists, but all my UI
functions are in my NSWindowController. Can I create methods in the
controller and link them in to the first responder?
There seems to be a lot not in the manuals....
- -------------------------------
Phillip Hutchings
http://www.sitharus.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)
iEYEARECAAYFAj2p0YQACgkQ1PJqI21cmKCAFwCeOsPNk65mH+fcZJlWQBGL53GY
DdEAni6fQE46bHvUI7Hb16Nk2ONs/dPE
=AMFm
-----END PGP SIGNATURE-----
_______________________________________________
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.