Instance Method


Draws the receiver’s label in tabRect, which is the area between the curved end caps.


- (void)drawLabel:(BOOL)shouldTruncateLabel inRect:(NSRect)labelRect;


If shouldTruncateLabel is NO, draws the full label in the rectangle specified by tabRect. If shouldTruncateLabel is YES, draws the truncated label. You can override this method to perform customized label drawing. For example, you might want to add an icon to each tab in the view.

See Also

Working with Labels


Sets the label text for the receiver to label.

- sizeOfLabel:

Calculates the size of the receiver’s label.