• 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: Where is close/cancel icon used in search field & Safari etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is close/cancel icon used in search field & Safari etc.


  • Subject: Re: Where is close/cancel icon used in search field & Safari etc.
  • From: David <email@hidden>
  • Date: Wed, 8 Oct 2008 13:41:16 -0400

Thats exactly what I was looking for. Thanks!

On Wed, Oct 8, 2008 at 1:12 PM, Randall Meadows <email@hidden> wrote:
> On Oct 8, 2008, at 10:24 AM, David wrote:
>
>> Hello,
>> I'd like to have a button that looks like the close or cancel icon
>> that is often present in Cocoa applications, but I can't find the
>> icon. I'm surprised it doesn't show up as a choice in interface
>> builder.
>>
>> Some places where this icon shows up includes:
>> - When you have multiple tabs in Safari, its the X in a circle by the
>> tab that you use to close the tab.
>> - In a standard Cocoa search field used in Finder, if you enter
>> something and want to cancel the search it shows up.
>>
>> In my application a user can initiate a long running activity that I'd
>> like to allow them to stop. I could put a STOP icon on the toolbar, or
>> I was thinking of using the X in a circle icon next to a spinning
>> progress indicator. I'm not sure which approach is more typical in Mac
>> OS X.
>
> You can access this via IB; you can set a view's image to
> NSStopProgressFreestandingTemplate (or NSStopProgressTemplate for just the X
> part).  I assume (although haven't tried) that you can access this also
> through NSImage by name.
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Where is close/cancel icon used in search field & Safari etc. (From: David <email@hidden>)
 >Re: Where is close/cancel icon used in search field & Safari etc. (From: Randall Meadows <email@hidden>)

  • Prev by Date: Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
  • Next by Date: Re: Cocoa-dev Digest, Vol 5, Issue 1743
  • Previous by thread: Re: Where is close/cancel icon used in search field & Safari etc.
  • Next by thread: NSIndexSet isEqual: sent to deallocated instance
  • Index(es):
    • Date
    • Thread