Help on NSToolbar
Help on NSToolbar
- Subject: Help on NSToolbar
- From: Karim Morsy <email@hidden>
- Date: Sun, 12 Mar 2006 18:39:52 +0100
Hi,
I'd like to create a preference window for my application in the
style of the regular mac os apps, such as itunes, i.e. a window with
a toolbar that contains various items.
the items are highlighted in grey when selected.
I've created an nstoolbar an added six items along with their images.
I haven't found a method neither in NSToolbar nor in NSToolbarItem
that does the grey highlighting when an item is selected. how can
this be achieved ?
+ for each toolbar item I'm displaying a different view. the best
approach would probably be to have a seperate nibfile for the prefs
window and for each displayed preference item. what would then be the
best way to implement this ? I have an nswindowcontroller for the
prefs window. how would I load the other windows then (depending on
the item selection), such as the window that's dsiplayed for
"Advanced" or "General".
many thanks in advance,
Karim
_______________________________________________
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