Thats exactly what I was looking for. Thanks! On Wed, Oct 8, 2008 at 1:12 PM, Randall Meadows <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]