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

NSToolbar missing notification?


  • Subject: NSToolbar missing notification?
  • From: Ken Victor <email@hidden>
  • Date: Mon, 5 Dec 2005 11:26:47 -0800

i have a multi-doc multi-window document app. i'm saving the toolbar state for my various windows in my doc. i use the NSToolbarDidRemoveItemNotification and NSToolbarWillAddItemNotification notifications to detect changes in the toolbar and cache the toolbar state, and then i write the toolbar state to my document when the doc is saved.

this works fine for adding and deleting items from the toolbar. however, if the user moves items around on the toolbar, i don't seem to get any notifications. i sorta (naively) expected that i might get a removed notification followed by an add notification. so... how am i supposed to save the state properly?

thanx,
ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: NSToolbar missing notification?
      • From: j o a r <email@hidden>
  • Prev by Date: Do bindings "pay attention" to visibility of control?
  • Next by Date: Re: Do bindings "pay attention" to visibility of control?
  • Previous by thread: Re: Do bindings "pay attention" to visibility of control?
  • Next by thread: Re: NSToolbar missing notification?
  • Index(es):
    • Date
    • Thread