• 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 the Computer Image ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Where is the Computer Image ?
      • From: Klaus Backert <email@hidden>
    • Re: Where is the Computer Image ?
      • From: Rob Keniger <email@hidden>
    • Re: Where is the Computer Image ?
      • From: Brandon Walkin <email@hidden>
References: 
 >Where is the Computer Image ? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Where is the Computer Image ? (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: proper way to release a static NSMutableDictionary?
  • Next by Date: Re: Where is the Computer Image ?
  • Previous by thread: Re: Where is the Computer Image ?
  • Next by thread: Re: Where is the Computer Image ?
  • Index(es):
    • Date
    • Thread