• 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
outlineView:willDisplayOutlineCell:... and disclosue triangles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

outlineView:willDisplayOutlineCell:... and disclosue triangles


  • Subject: outlineView:willDisplayOutlineCell:... and disclosue triangles
  • From: Keith Blount <email@hidden>
  • Date: Fri, 14 Apr 2006 14:06:26 -0700 (PDT)

Hi,

I'm using NSOutlineView's delegate method
-outlineView:willDisplayOutlineCell:forTableColumn:item:
to change the outline view's disclosure triangle
images. (I'm doing this because I have a black outline
view akin to the keywords one in Aperture, so I need
white disclosure triangles.) My code looks something
like this:

- (void)outlineView:(NSOutlineView *)ov
willDisplayOutlineCell:(id)cell
forTableColumn:(NSTableColumn *)tableColumn
item:(id)item
{
	[cell setImage:@"WhiteCollapsedArrow"];
	[cell setAlternativeImage:@"WhiteExpandedArrow"];
}

This works fine, except that I have lost the
animation. For this, I need to be know when the
intermittent image (the half-open/half closed-arrow)
should be drawn, something like an -itemIsExpanding:
method, so that I can set the image to the halfway
arrow during the animation...

Does anybody have any ideas how I can do this?

Many thanks,
Keith


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Cleaning up malformed path strings in NSURL
  • Next by Date: Re: CoreData faulting - does it rely on #self?
  • Previous by thread: Re: Cleaning up malformed path strings in NSURL
  • Next by thread: User Interface Designer; Need a coder
  • Index(es):
    • Date
    • Thread