• 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
Switching Toolbars a la XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Switching Toolbars a la XCode


  • Subject: Switching Toolbars a la XCode
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 21 Mar 2006 16:35:43 -0500

List:

I've been struggling with this for awhile now. I'm trying to implement toolbar functionality like XCode (when in single-window mode). That is, depending on the different editing "modes", a different toolbar is presented in the same window.

I posted the following on cocoadev: http://www.cocoadev.com/ index.pl?MultipleToolbars ... see that post for all the lengthy details of what I've tried (and failed at).

In short, using NSWindow's -setToolbar: to change toolbars produces all manner of problems (from drawing problems to disappearing toolbar item problems). Setting it to nil first screws up the window. Setting it directly to the new toolbar produces width problems. I just can't quite get it right.

Has anybody else done this? Can you offer insight? Any Apple engineers on the XCode team listening - can you shed any light? :-)

  Many thanks for any help.

--
I.S.


_______________________________________________ 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
  • Prev by Date: Re: NSTask and authentication...I have to clarify my original question
  • Next by Date: Beginner asking: Tokens in NSTextView
  • Previous by thread: Re: folder monitoring...
  • Next by thread: Beginner asking: Tokens in NSTextView
  • Index(es):
    • Date
    • Thread