Re: Show/Hide Toolbar Menu Item in Document-based application
Re: Show/Hide Toolbar Menu Item in Document-based application
- Subject: Re: Show/Hide Toolbar Menu Item in Document-based application
- From: Andrew Madsen <email@hidden>
- Date: Wed, 5 Jul 2006 00:05:03 -0600
Thanks for the link. I had already read through that, but it seems
that the stuff described in that document is only for enabling/
disabling menu items. I want to switch one menu item between reading
"Show Toolbar" and "Hide Toolbar".
-Andrew
On Jul 4, 2006, at 10:51 PM, mmalc crawford wrote:
On Jul 4, 2006, at 9:46 PM, Andrew Madsen wrote:
I've connected Show/Hide Toolbar and Customize Toolbar menu items
in the View menu to these actions via FirstResponder and they work
fine. The only problem is, I can't figure out how to get the Show/
Hide Toolbar item to switch between Show Toolbar and Hide Toolbar
based on the current state of the frontmost document's toolbar.
<http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/
Tasks/EnablingMenuItems.html>
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden