• 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
Re: Toolbar bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toolbar bug?


  • Subject: Re: Toolbar bug?
  • From: Milton Sagen <email@hidden>
  • Date: Mon, 20 Dec 2004 19:34:54 -0800

I haven't tried this but in the delegate's

toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:

couldn't you just return Nil if the toolbar passed in isn't the delegate's toolbar?

On Dec 20, 2004, at 15:25, Glen Simmons wrote:

On 20 Dec, 2004, at 5:08 PM, Chris Giordano wrote:

Glen,

On Dec 20, 2004, at 5:07 PM, Glen Simmons wrote:

My app has several different window types with different toolbars and toolbar items. The problem is that you can drag the default set of icons from window A's Customize Toolbar pane into window B's toolbar. This results in window B having an empty toolbar. I tried this in other cocoa apps (Mail, Xcode) and the same thing happened. I'm guessing this is a known issue, is there a workaround for it?


I think you can resolve this issue by using the delegate to restrict the items that the toolbar allows.


<snip>

I'm already doing the delegate / allowed items thing. Basically, I'm doing exactly what Apple's sample code does.


Glen

_______________________________________________
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


_______________________________________________ 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: Toolbar bug?
      • From: Milton Sagen <email@hidden>
References: 
 >Toolbar bug? (From: Glen Simmons <email@hidden>)
 >Re: Toolbar bug? (From: Chris Giordano <email@hidden>)
 >Re: Toolbar bug? (From: Glen Simmons <email@hidden>)

  • Prev by Date: Re: Toolbar bug?
  • Next by Date: Re: Toolbar bug?
  • Previous by thread: Re: Toolbar bug?
  • Next by thread: Re: Toolbar bug?
  • Index(es):
    • Date
    • Thread