• 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
Button for switching mode/tools for NSToolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Button for switching mode/tools for NSToolbar
      • From: Thomas Deniau <email@hidden>
  • Prev by Date: Re: BIG Numbers
  • Next by Date: Re: Background color for Drawers
  • Previous by thread: NSTableColumn alignment
  • Next by thread: Re: Button for switching mode/tools for NSToolbar
  • Index(es):
    • Date
    • Thread