• 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
Setting NSToolbarItem label when in text only mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting NSToolbarItem label when in text only mode


  • Subject: Setting NSToolbarItem label when in text only mode
  • From: Pat Garner <email@hidden>
  • Date: Fri, 26 Aug 2005 15:49:36 -0700

Anybody got any advice on the correct way to dynamically change the label text for an NSToolbarItem when the display mode for the toolbar is set to NSToolbarDisplayModeLabelOnly and the item uses a menuFormRepresentation ? The behavior I'm looking for is exactly what you get with Xcode's toolbars: when the display mode is set to text only, the items which are normally displayed as NSPopUpButtons display the current selection as part of the text label, which updates as the selection changes. It appears this label is only loaded from the menuFormRepresentation when the toolbar's mode is changed.


Thanks, Pat _______________________________________________ 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: How to access stand-alone month name with NSDateFormatter
  • Next by Date: Re: re Finding transparent pixels in an image
  • Previous by thread: AppleScript Incorporation Woes
  • Next by thread: Re: re Finding transparent pixels in an image
  • Index(es):
    • Date
    • Thread