Switching Toolbars a la XCode
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