• 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: Randall Meadows <email@hidden>
  • Date: Wed, 8 Oct 2008 11:12:31 -0600

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


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

  • Prev by Date: Re: Optimized pixel manipulation
  • Next by Date: Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
  • Previous by thread: Where is close/cancel icon used in search field & Safari etc.
  • Next by thread: Re: Where is close/cancel icon used in search field & Safari etc.
  • Index(es):
    • Date
    • Thread