Re: Possible to customize the toolbar customization sheet?
Re: Possible to customize the toolbar customization sheet?
- Subject: Re: Possible to customize the toolbar customization sheet?
- From: Conor Dearden <email@hidden>
- Date: Sat, 20 May 2006 10:06:54 +0200
- (void)setDisplayMode:(NSToolbarDisplayMode)displayMode {
[super setDisplayMode:NSToolbarDisplayModeIconOnly];
}
Another option would be to wait until the customization pallete has been
dismissed and then change the configuration. Get the dictionary with "-
(NSDictionary *)configurationDictionary" change the key "displayMode" to
NSToolbarDisplayModeIconOnly and then set it back with "-
(void)setConfigurationFromDictionary:(NSDictionary *)configDict".
I have never done this, but this is what I would try first; if none of this
works, then you have to really do some work and call your own custimization
pallete and override "-(void)runCustomizationPalette:(id)sender". In the end
more work is the better option as it allows you to remove the popup menu
control all together. Don't forget you can change the display mode directly
from the contextual menu as well, so you will have to change the menu.
Conor
http://www.bruji.com/
_______________________________________________
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