Indicator image in a Table Column
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