Re: Finder's sidebar background color
Re: Finder's sidebar background color
- Subject: Re: Finder's sidebar background color
- From: "Kyle Sluder" <email@hidden>
- Date: Sat, 15 Nov 2008 16:04:05 -0500
On Sat, Nov 15, 2008 at 3:58 PM, Knut Lorenzen <email@hidden> wrote:
> is there a way to obtain the background color of Finder's sidebar
> programmatically?
If you're trying to create a sidebar, set its selection highlight
style to NSTableViewSelectionHighlightStyleSourceList. If you're not
trying to create a sidebar, why do you need this color? If you try to
extract it from an appropriately-configured NSTableView (or
NSOutlineView) is some sort of weird, funky NSColor subclass that
changes when the application gains/loses active status.
--Kyle Sluder
_______________________________________________
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