• 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: Change Background Color of IKImageBrowserView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change Background Color of IKImageBrowserView


  • Subject: Re: Change Background Color of IKImageBrowserView
  • From: "Michael Hanna" <email@hidden>
  • Date: Sun, 13 Jan 2008 11:45:45 -0800

thanks *sigh* was one of those things where I found the solution right
*after* I pressed send heh

Michael

On Jan 13, 2008 2:58 AM, Thomas Goossens <email@hidden> wrote:
>
> Hi Michael,
>
> You don't need to subclass to do this. Just use setValue:forKey with the
> option key "IKImageBrowserBackgroundColorKey" :
>
> [_imageBrowser setValue:[NSColor blackColor]
> forKey:IKImageBrowserBackgroundColorKey];
>
> other keys are :
> extern NSString * const IKImageBrowserBackgroundColorKey; /*NSColor*/
> extern NSString * const IKImageBrowserSelectionColorKey; /*NSColor*/
> extern NSString * const IKImageBrowserCellsOutlineColorKey; /*NSColor*/
> extern NSString * const IKImageBrowserCellsTitleAttributesKey;
> /*NSDictionary*/
> extern NSString * const IKImageBrowserCellsHighlightedTitleAttributesKey;
> /*NSDictionary*/
> extern NSString * const IKImageBrowserCellsSubtitleAttributesKey;
> /*NSDictionary*/
>
> Documentation is here : http://developer.apple.com/graphicsimaging/imagekit/
>
> -- Thomas.
>
>
>
>
_______________________________________________

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

References: 
 >Change Background Color of IKImageBrowserView (From: "Michael Hanna" <email@hidden>)
 >Re: Change Background Color of IKImageBrowserView (From: Thomas Goossens <email@hidden>)

  • Prev by Date: Re: Finder/iTunes Sidebar View?
  • Next by Date: Crash in lockFocus?
  • Previous by thread: Re: Change Background Color of IKImageBrowserView
  • Next by thread: Using NSWindow in a dynamically loaded binary / memory issues
  • Index(es):
    • Date
    • Thread