• 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: NSToolbar tracking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbar tracking?


  • Subject: Re: NSToolbar tracking?
  • From: Ryan Britton <email@hidden>
  • Date: Mon, 2 Jan 2006 21:14:47 -0800

The effect you're referring to can be accomplished by implementing toolbarSelectableItemIdentifiers: in your toolbar delegate.

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSToolbar.html#//apple_ref/occ/ instm/NSObject/toolbarSelectableItemIdentifiers:

Any toolbar item identifier that is in the array you return from that method will show that selection effect.


On Jan 2, 2006, at 8:25 PM, Coleman Nitroy wrote:

I am trying to achieve the effect that so many applications use in their preferences where the current pane is shown in the toolbar by graying behind the item selected. I have gotten it all to work almost the way it should. I cannot find out how to gray the background behind a toolbar item easily (I assumed asking the list first would be a better idea then just willy-nilly subclassing NSToolbar or its items), and how to remove the top right widget that hides and shows the toolbar (I have no idea what it is called so searching the web proved useless).

If anyone has any experience with either of these issues some feedback would be greatly appreciated. So far I am very happy with my applications preference window (growing / shrinking animation, switching of panes, etc...) and these two issues I have with it are essentially just icing on the cake.

Thanks in advance,

Coleman Nitroy
cole.nitroy.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

_______________________________________________ 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
References: 
 >NSToolbar tracking? (From: Coleman Nitroy <email@hidden>)

  • Prev by Date: Re: NSToolbar tracking?
  • Next by Date: char array not terminating
  • Previous by thread: Re: NSToolbar tracking?
  • Next by thread: char array not terminating
  • Index(es):
    • Date
    • Thread