Name

NSTableHeaderView — Mac OS X 10.0

Synopsis

This class is responsible for managing column headers in a table view. NSTableView objects use NSTableHeaderView to draw the headers, including any labeling and highlighting. NSTableHeaderView relies on NSTableHeaderCell objects to draw the individual header labels.

image with no caption

@interface NSTableHeaderView : NSView
                                  // Accessor Methods
   - (void)setTableView:(NSTableView *)tableView;
   - (NSTableView *)tableView;
                                  // Instance Methods
   - (int)columnAtPoint:(NSPoint)point;
   - (int)draggedColumn;
   - (float)draggedDistance;
   - (NSRect)headerRectOfColumn:(int)column;
   - (int)resizedColumn;

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.