Setting NSToolbarItem label when in text only mode
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