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

Fwd: NSToolbar missing notification?


  • Subject: Fwd: NSToolbar missing notification?
  • From: Wain <email@hidden>
  • Date: Mon, 5 Dec 2005 19:38:37 +0000

Hi,

Have you considered using:

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSToolbar.html#//apple_ref/occ/ instm/NSToolbar/autosavesConfiguration

and related methods?

Wain


On 5 Dec 2005, at 19:26, Ken Victor wrote:

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:
40yahoo.co.uk

This email sent to email@hidden




___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
_______________________________________________
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
  • Prev by Date: Re: Do bindings "pay attention" to visibility of control?
  • Next by Date: Re: Do bindings "pay attention" to visibility of control?
  • Previous by thread: Re: NSToolbar missing notification?
  • Next by thread: Re: NSToolbar missing notification?
  • Index(es):
    • Date
    • Thread