Re: Where is the Computer Image ?
Re: Where is the Computer Image ?
- Subject: Re: Where is the Computer Image ?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 16 Dec 2008 00:00:24 +0700
On 15 Dec 2008, at 19:24, John C. Randolph wrote:
On Dec 14, 2008, at 8:53 PM, Gerriet M. Denkmann 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.
When I need to do this kind of thing, I use spotlight to show me
all the images in /System/Library/ in icon view.
Well, I looked at Finders Search For -> All Images (some 18000 images)
but did not see a computer.
If the documentation for [NSImage imageNamed:] would have mentioned
that image names are to be found in the Constants section, this would
have helped a lot.
But it only says that it will: "Search the Application Kit framework
for a shared image with the specified name."
So I looked in the Application Kit framework, but did not find anything.
Kind regards,
Gerriet.
_______________________________________________
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