Re: One more NSToolbar question
Re: One more NSToolbar question
- Subject: Re: One more NSToolbar question
- From: John Hörnkvist <email@hidden>
- Date: Wed, 9 May 2001 05:39:51 +0200
On Wednesday, May 9, 2001, at 03:19 AM, Matt Ridley wrote:
This is all true enough (I see it in NSWindow.h), but those actions
aren't listed in Interface Builder when I control-drag from my
"Hide/Show Toolbar" menu item to my window. Thus, I'm unclear as to how
to specify toggleToolbarShown: as the action for my menu item.
Then try dragging NSWindow.h into the into the interface builder
document, or just add the method name manually to the method list in
interface builder.
This isn't from experience with NSToolbar, since that is quite new, but
I'd normally prefer implementing this sort of thing over the first
responder mechanism. That's much more flexible when you have lots of
windows with tool bars about.
Regards,
John Hornkvist
--
ToastedMarshmallow, the perfect Cocoa companion
http://www.toastedmarshmallow.com