OK.
cmd-double click does nothing for me and I also get : error:
'kToolbarDesktopFolderIcon' was not declared in this scope
What am I dong wrong?
-koko
On Aug 23, 2010, at 6:20 PM, Dave DeLong wrote:
Yep! If you cmd-double click in the constant, you'll be taken to a
file with a whole bunch of similar icon constants. They're grouped
by category.
Dave
Sent from my iPhone
On Aug 23, 2010, at 6:02 PM, k...@highrolls.net wrote:
Thanks.
I "assume" I can get downloads , music et al the same way>
Am coding now!
-koko
kToolBarDownloadsFolderIcon
On Aug 23, 2010, at 4:48 PM, davedelong wrote:
Assuming that you're talking about the icon that looks like a
miniature screenshot of the desktop, that's a Toolbar icon, and
you can easily retrieve it like this:
[[NSWorkspace sharedWorkspace]
iconForFileType:NSFileTypeForHFSTypeCode(kToolbarDesktopFolderIcon)]
Enjoy!
Dave
On Aug 23, 2010, at 04:07 PM, k...@highrolls.net wrote:
I am using -iconForFile to the an icon for the Desktop.
This returns a folder like icon.
What should be used to get the Desktop icon shown by the Finder?
-koko
_______________________________________________
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