• 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
NSToolbar problem in 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSToolbar problem in 10.6


  • Subject: NSToolbar problem in 10.6
  • From: John Mikros <email@hidden>
  • Date: Fri, 4 Dec 2009 14:13:26 -0800
  • Acceptlanguage: en-US
  • Thread-topic: NSToolbar problem in 10.6

Hello all,

I have a window with an NSToolbar attached.  The toolbar is created with defaultItemIdentifiers being an empty NSArray, and then we add items via insertItemWithItemIdentifier:atIndex:

All the item identifiers that are added to the toolbar are in the array returned by toolbarAllowedItemIdentifiers:

However, the first toolbar item that I add does not show up in the toolbar.  The rest show up fine.  If you click the toolbar widget in the upper right of the window to hide and then show the toolbar, then the missing item magically appears in the toolbar.

This does not happen in 10.5.8.  Is there a way to force the toolbar to refresh, as if the user hid and re-showed the toolbar?

thanks
-john
_______________________________________________

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

  • Follow-Ups:
    • Re: NSToolbar problem in 10.6
      • From: Peter Ammon <email@hidden>
  • Prev by Date: Re: [iphone] Libxml2 with a wrapper to NSArray
  • Next by Date: Re: NSRuleEditor rows binding
  • Previous by thread: Re: NSRuleEditor rows binding
  • Next by thread: Re: NSToolbar problem in 10.6
  • Index(es):
    • Date
    • Thread