Fwd: NSToolbar missing notification?
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