• 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: notification of change?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSToolbar: notification of change?


  • Subject: NSToolbar: notification of change?
  • From: David Reitter <email@hidden>
  • Date: Mon, 1 Jun 2009 18:53:45 -0400

Having subclassed NSToolbar, I am now trying to get a notification of changes done by the user using the customization palette.
This works fine for the removal of items (toolbarDidRemoveItem:), but I can't see a way to get notified of added/moved items after the fact.
The only notification I can get is toolbarWillAddItem:, but that's obviously before the addition, which is not very helpful.


I have tried implementing insertItemWithItemIdentifier: and also setConfigurationFromDictionary:, but it seems that the palette doesn't go through these.

Short of regularly monitoring the tool bar for possible changes, I don't know what to do...

Thanks for your suggestions!

PS.: please cc me on replies.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: notification of change?
      • From: Graham Cox <email@hidden>
    • Re: NSToolbar: notification of change?
      • From: Peter Ammon <email@hidden>
    • Re: NSToolbar: notification of change?
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: NSXMLParser - howto resolve entities defined in DTD
  • Next by Date: Garbage Collection Crash using NSImage
  • Previous by thread: Re: SQL store, GC apps, "statement is still active" exception, setReturnsObjectsAsFaults:NO
  • Next by thread: Re: NSToolbar: notification of change?
  • Index(es):
    • Date
    • Thread