Re: Finder's sidebar background color
Re: Finder's sidebar background color
- Subject: Re: Finder's sidebar background color
- From: Markus Spoettl <email@hidden>
- Date: Sat, 15 Nov 2008 13:10:30 -0800
On Nov 15, 2008, at 12:58 PM, Knut Lorenzen wrote:
is there a way to obtain the background color of Finder's sidebar
programmatically?
Yes, if you have an NSOutlineView instance in SourceList display mode
you can just use its -backgroundColor is to get the correct color.
Refreshing whatever you draw whenever your window receives a
NSWindowDidBecomeMainNotification or NSWindowDidResignMainNotification
notification will keep it in sync with the outline view background
when the window becomes active and inactive.
Regards
Markus
--
__________________________________________
Markus Spoettl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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