• 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
Indicator image in a Table Column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Indicator image in a Table Column


  • Subject: Indicator image in a Table Column
  • From: Alex Keresztes <email@hidden>
  • Date: Thu, 25 Oct 2001 14:02:13 -0500

I want to do something ala iTunes, so that I have an indicator image for
a table column in a table view that shows the direction that the
tableview column is being sorted as. The NSTableView has the method:

- (void)setIndicatorImage:(NSImage *)anImage
inTableColumn:(NSTableColumn *)aTableColumn

That allows you to set an indicator image for a specific table column.
So I went to look into the iTunes resources to see if the up arrow and
down arrow images were there and I could not find it. Other programs,
like stuffit deluxe also do the same kind of thing with their tableview.
And the up and down arrows look the same as the ones for iTunes. It also
doesnt have the images in its resources. Does anyone know where those
images are coming from? Is there some way to get those images
programmatically? Are they being drawn on the fly? Has anyone done a
similar kind of tableview?

Alex


  • Prev by Date: Re: Hiding a view
  • Next by Date: Saving an image without a dialog
  • Previous by thread: Re: TN2029 and headers
  • Next by thread: Re: Indicator image in a Table Column
  • Index(es):
    • Date
    • Thread