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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to