• 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
Swapping toolbars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Swapping toolbars


  • Subject: Swapping toolbars
  • From: Mark Alldritt <email@hidden>
  • Date: Fri, 22 Jul 2005 22:16:32 -0700

Hi,

My application windows have two modes (editing and debugging).  A number of
my users have asked to have two toolbars, one for when the window is in
editing mode and another for when its in debugging mode.  I realize that
this is poor form from an Aqua UI Guidelines perspective, but I've received
enough requests that I want to do it.

I've tried swapping instances of NSToolbar using NSWindow's setToolbar call,
but that really messes up the window.  The toolbar is drawn incorrectly, and
seems, well, broken.

Is there another way I can swap one toolbar item configuration for another?

Cheers
-Mark

------------------------------------------------------------------------
Mark Alldritt                      Late Night Software Ltd.
Phone: 250-380-1725                Script Debugger 3.0 - AppleScript IDE
WEB:  http://www.latenightsw.com/  Affrus 1.0 - Perl Debugging


 _______________________________________________
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

  • Follow-Ups:
    • Re: Swapping toolbars
      • From: James Housley <email@hidden>
  • Prev by Date: NSApplication memory bugs
  • Next by Date: Re: Coalesced updates = pain
  • Previous by thread: NSApplication memory bugs
  • Next by thread: Re: Swapping toolbars
  • Index(es):
    • Date
    • Thread