Re: Tooltips in NSTableView
Re: Tooltips in NSTableView
- Subject: Re: Tooltips in NSTableView
- From: Ondra Cada <email@hidden>
- Date: Tue, 29 Jan 2002 14:22:01 +0100
G.,
>
>>>>> G. 'Andrew' Tapolow (GAT) wrote at Mon, 28 Jan 2002 20:34:43 -0800:
GAT> I'm trying to place tool tips on items inside one column for an
GAT> NSTableView.
Table view (through column) reuses one cell just to draw. The cell though
does not persist anywhere: the view you see (and mouse stays over to display
tooltips) is the NSTableView.
So, you have to implement an appropriate method to get tooltip (see NSView
for that, I don't remember the exact syntax) _at the TableView_ level, either
using your own subclass or by a category. The method would check which
"cell" the mouse happens to be over, and return the appropriate tip.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc