Instance Property

allowsExpansionToolTips

A Boolean value that indicates whether expansion tool tips are shown when the control is hovered over.

Declaration

@property BOOL allowsExpansionToolTips;

Discussion

When the value of this property is YES, the expansion tool tip will expand; NO means the tool tip won’t expand. The default value is NO.

Expansion tooltips are shown when the cell cannot show the full content and the user hovers the pointer over the control. This is controlled by the NSCell class method expansionFrameWithFrame:inView: and is drawn by drawWithExpansionFrame:inView:. This value is encoded along with the control.

In general, it is recommended to turn this on for NSTextField instances in a view-based NSTableView.

See Also

Managing Expansion Tool Tips

- drawWithExpansionFrame:inView:

Performs custom expansion tool tip drawing.

- expansionFrameWithFrame:

The frame in which a tool tip can be displayed, if needed.