Toolbar setSelectedItemIdentifier doesn't work
Toolbar setSelectedItemIdentifier doesn't work
- Subject: Toolbar setSelectedItemIdentifier doesn't work
- From: Jesus De Meyer <email@hidden>
- Date: Thu, 1 Jan 2004 12:16:15 +0100
I'm having a problem with the toolbar in my app. I want it to have the
same functionality as the toolbar in the System Prefs but at the same
time I want compatibility with previous versions of OS X.
Therefore I've tried to use [toolbar
setSelectedItemIdentifier:@"myIdent"] instead of its delegate method.
However, setSelectedItemIdentifier doesn't work, while the delegate
method (NSArray *)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar
does.
Am I doing something wrong?
I get my toolbar by doing this:
NSToolbar *toolbar = [window tooldbar];
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.