• 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: The Toolbar Widget
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >The Toolbar Widget (From: The Amazing Llama <email@hidden>)

  • Prev by Date: Re: The Toolbar Widget
  • Next by Date: Re: The Toolbar Widget
  • Previous by thread: Re: The Toolbar Widget
  • Next by thread: Re: The Toolbar Widget
  • Index(es):
    • Date
    • Thread