On Sun, Dec 14, 2008 at 8:53 PM, Gerriet M. Denkmann
<gerr...@mdenkmann.de> wrote:
> Finder.app can show in its Sidebar an image of a computer.
> I want to create a button with this same (or similar) image.
>
> I can use [ sharedWorkspace iconForFile: fullPath ] to get an image of a
> home folder, or of a disk partition.
>
> But I cannot find a computer image. Also looked at "Icon Services and
> Utilities Reference" but did not find anything there.

Try: [NSImage imageNamed: NSImageNameComputer]

-- 
Clark S. Cox III
clarkc...@gmail.com
_______________________________________________

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 arch...@mail-archive.com

Reply via email to