• 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 items added to a toolbar not visible in Interface Builder 3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toolbar items added to a toolbar not visible in Interface Builder 3


  • Subject: Re: Toolbar items added to a toolbar not visible in Interface Builder 3
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 12 Feb 2008 16:43:59 -0800


On Feb 12, 2008, at 16:13, Timothy Mowlem wrote:

I have a project's MainMenu.nib open. I drag an NSToolbar onto the window. I can see the default toolbar items both in the design window and when I run in Simulate Interface mode. I then drag an ImageToolbarItem onto the toolbar.

Now I cannot see the newly added NSToolbarItem either in the design view or when I run Simulate Interface. Setting the toolbaritem's image to "NSPreferencesGeneral" (the lightswitch icon used for general preferences in many preferences windows, e.g. the Finder) made no difference.

There's another step involved. What happens when you add the image to the "toolbar" is that it's added to the allowable items (what's displayed when a user customizes the toolbar). You then need to drag it from the toolbar window that pops up under the toolbar into the the toolbar itself so that it's added to the current items (what's displayed in the toolbar normally).


IB's toolbar editing seems to be fairly brain dead -- as well as buggy and undocumented -- in this first implementation of it. If you need anything like selectable items, you still have to use a delegate (afaik), and you're going to have to go to some trouble to get access to IB's toolbar items in your delegate methods.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Toolbar items added to a toolbar not visible in Interface Builder 3 (From: Timothy Mowlem <email@hidden>)

  • Prev by Date: Re: Finding where an app stalls
  • Next by Date: Re: Finding where an app stalls
  • Previous by thread: Toolbar items added to a toolbar not visible in Interface Builder 3
  • Next by thread: Finding where an app stalls
  • Index(es):
    • Date
    • Thread