Button for switching mode/tools for NSToolbar
Button for switching mode/tools for NSToolbar
- Subject: Button for switching mode/tools for NSToolbar
- From: Michael Schmidt <email@hidden>
- Date: Mon, 14 Jun 2004 14:48:51 +0200
- Organization: AbsInt GmbH
Hi,
I would like to implement a special "button" in my application's toolbar
to switch between different application modes, e.g. like the tool mode
in Preview.app (scrolling, text, ...) or the mode button in the Finder
(icon view, list view, etc.).
After looking through the archive and the documentation I didn't find a
solution or some sample code. Is there a preferred way to implement this?
The solution in Preview.app looks a lot like a NSTabView with zero sized
views, but I think this might be an ugly solution when the look of NSTabViews
is changed sometimes.
Any hints?
--
Michael Schmidt
_______________________________________________
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.