Re: The Toolbar Widget
Re: The Toolbar Widget
- Subject: Re: The Toolbar Widget
- From: Scott Anguish <email@hidden>
- Date: Fri, 26 Sep 2003 18:51:56 -0400
On Sep 26, 2003, at 6:04 PM, The Amazing Llama wrote:
Is there any way to get rid of the toolbar widget that appears in the
upper right of windows with toolbars?
You can get the NSWindowToolbarButton by using
[theWindow standardWindowButton:NSWindowToolbarButton];
then you could either remove it, or, change it's target action so that
it called your code that handled the showing/hiding of the toolbar.
Or, better yet, just stopping it from changing the size settings of
the toolbar, and only letting it do hide/show? I know I can intercept
the clicks by subclassing NSWindow, but that's a bit much...
And better ways to do either of these?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.