• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSToolbar and constrolling visible items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbar and constrolling visible items


  • Subject: Re: NSToolbar and constrolling visible items
  • From: Jerry Krinock <email@hidden>
  • Date: Sat, 31 Jan 2009 16:36:41 -0800


On 2009 Jan 31, at 8:07, Ferhat Ayaz wrote:

I need ... to control whether a toolbar item is visible or not.

How can I do this?

I don't think you can do that, and it might look kind of weird.

Use -[NSToolbar -removeItemAtIndex:] to remove the item. Retain it if desired and then later use -insertItemWithItemIdentifier:atIndex: if you want to restore it.

_______________________________________________

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


References: 
 >NSToolbar and constrolling visible items (From: Ferhat Ayaz <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 6, Issue 183
  • Next by Date: Re: Core Data relationship disappears
  • Previous by thread: NSToolbar and constrolling visible items
  • Next by thread: -stringByEvaluatingJavaScriptFromString: return value iphone
  • Index(es):
    • Date
    • Thread