Re: Validation of toolbaritem based on certain action is encountered?
Re: Validation of toolbaritem based on certain action is encountered?
- Subject: Re: Validation of toolbaritem based on certain action is encountered?
- From: Andrew Farmer <email@hidden>
- Date: Tue, 2 Jun 2009 19:56:26 -0700
On 2 Jun 2009, at 19:48, archana udupa wrote:
I m havin a list of toolbar.I m working on application similar to
winmerge in windows,which shows difference between 2 files.When i
click toolbar item Previous difference ma cursor ll move to previous
difference.But after it reaches the first difference, i want to
disable that toolbar item. How can do that?can i use setEnabled
method? If so for wot i should assign? whether for toolbar
itemidentifier or toolbar action?
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSToolbarItemValidation_Protocol/Reference/Reference.html
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden